@xcpcio/board-app 0.52.0 → 0.52.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/404.html +1 -1
- package/dist/assets/Board-b5bf1828.js +1 -0
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-11e5a08c.js → DataSourceInput.vue_vue_type_script_setup_true_lang-47ff726d.js} +1 -1
- package/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-9cc92a14.js +1 -0
- package/dist/assets/{_...all_-905784b3.js → _...all_-80d9c58d.js} +1 -1
- package/dist/assets/{_...all_-85910c2a.js → _...all_-efc1d81f.js} +2 -2
- package/dist/assets/{_name_-203db09f.js → _name_-5f588c5c.js} +1 -1
- package/dist/assets/{about-d9d865e0.js → about-86489903.js} +1 -1
- package/dist/assets/board-428898fa.js +1 -0
- package/dist/assets/{board-layout-967802f4.js → board-layout-f4b42426.js} +1 -1
- package/dist/assets/{headless-f3f3253c.js → headless-464cd216.js} +1 -1
- package/dist/assets/{home-3d9e3102.js → home-1c2da293.js} +1 -1
- package/dist/assets/{index-b97b2d45.js → index-1426f0a6.js} +1 -1
- package/dist/assets/{index-c827bc8f.css → index-5271d2f0.css} +1 -1
- package/dist/assets/index-8a3db893.js +1 -0
- package/dist/assets/{index-43f8e0d3.css → index-ae8b398e.css} +1 -1
- package/dist/assets/index-c4a296e0.js +25 -0
- package/dist/assets/{index-1e2a1259.js → index-f813b721.js} +3 -3
- package/dist/assets/{index-0095f855.js → index-fe6090d1.js} +1 -1
- package/dist/assets/{index-layout-5a67cc99.js → index-layout-6dbef8c0.js} +1 -1
- package/dist/assets/{pagination-6eac914a.js → pagination-959b8075.js} +1 -1
- package/dist/assets/{query-ff21040c.js → query-8d6474f1.js} +1 -1
- package/dist/assets/{test-5dd32cac.js → test-ce57205f.js} +1 -1
- package/dist/assets/{user-cd9a56f6.js → user-5e4a4fb1.js} +1 -1
- package/dist/assets/{virtual_pwa-register-ff5720d1.js → virtual_pwa-register-ab60e448.js} +1 -1
- package/dist/index.html +1 -1
- package/dist/sw.js +1 -1
- package/package.json +4 -3
- package/src/components/Resolver.vue +109 -24
- package/dist/assets/Board-04b0589d.js +0 -1
- package/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-f91fd6e0.js +0 -1
- package/dist/assets/board-3f91f491.js +0 -1
- package/dist/assets/index-86ef642b.js +0 -1
- package/dist/assets/index-d51c6c02.js +0 -1
|
@@ -40,11 +40,11 @@ var ly=(t,r,s)=>{if(!r.has(t))throw TypeError("Cannot "+s)};var ut=(t,r,s)=>(ly(
|
|
|
40
40
|
* pinia v2.2.2
|
|
41
41
|
* (c) 2024 Eduardo San Martin Morote
|
|
42
42
|
* @license MIT
|
|
43
|
-
*/let Z5;const ab=t=>Z5=t,eT=Symbol();function x4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Y1;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Y1||(Y1={}));function D7(){const t=zv(!0),r=t.run(()=>er({}));let s=[],a=[];const n=Xv({install(e){ab(n),n._a=e,e.provide(eT,n),e.config.globalProperties.$pinia=n,a.forEach(f=>s.push(f)),a=[]},use(e){return!this._a&&!w7?a.push(e):s.push(e),this},_p:s,_a:null,_e:t,_s:new Map,state:r});return n}const tT=()=>{};function ND(t,r,s,a=tT){t.push(r);const n=()=>{const e=t.indexOf(r);e>-1&&(t.splice(e,1),a())};return!s&&Vv()&&n3(n),n}function z0(t,...r){t.slice().forEach(s=>{s(...r)})}const E7=t=>t(),MD=Symbol(),Ey=Symbol();function A4(t,r){t instanceof Map&&r instanceof Map?r.forEach((s,a)=>t.set(a,s)):t instanceof Set&&r instanceof Set&&r.forEach(t.add,t);for(const s in r){if(!r.hasOwnProperty(s))continue;const a=r[s],n=t[s];x4(n)&&x4(a)&&t.hasOwnProperty(s)&&!un(a)&&!jo(a)?t[s]=A4(n,a):t[s]=a}return t}const F7=Symbol();function T7(t){return!x4(t)||!t.hasOwnProperty(F7)}const{assign:Fc}=Object;function x7(t){return!!(un(t)&&t.effect)}function A7(t,r,s,a){const{state:n,actions:e,getters:f}=r,v=s.state.value[t];let b;function D(){v||(s.state.value[t]=n?n():{});const F=l6(s.state.value[t]);return Fc(F,e,Object.keys(f||{}).reduce((T,C)=>(T[C]=Xv(Sr(()=>{ab(s);const O=s._s.get(t);return f[C].call(O,O)})),T),{}))}return b=rT(t,D,r,s,a,!0),b}function rT(t,r,s={},a,n,e){let f;const v=Fc({actions:{}},s),b={deep:!0};let D,F,T=[],C=[],O;const N=a.state.value[t];!e&&!N&&(a.state.value[t]={}),er({});let B;function V(P){let I;D=F=!1,typeof P=="function"?(P(a.state.value[t]),I={type:Y1.patchFunction,storeId:t,events:O}):(A4(a.state.value[t],P),I={type:Y1.patchObject,payload:P,storeId:t,events:O});const W=B=Symbol();va().then(()=>{B===W&&(D=!0)}),F=!0,z0(T,I,a.state.value[t])}const G=e?function(){const{state:I}=s,W=I?I():{};this.$patch(ae=>{Fc(ae,W)})}:tT;function X(){f.stop(),T=[],C=[],a._s.delete(t)}const H=(P,I="")=>{if(MD in P)return P[Ey]=I,P;const W=function(){ab(a);const ae=Array.from(arguments),oe=[],be=[];function Ee(fe){oe.push(fe)}function Ue(fe){be.push(fe)}z0(C,{args:ae,name:W[Ey],store:Y,after:Ee,onError:Ue});let ve;try{ve=P.apply(this&&this.$id===t?this:Y,ae)}catch(fe){throw z0(be,fe),fe}return ve instanceof Promise?ve.then(fe=>(z0(oe,fe),fe)).catch(fe=>(z0(be,fe),Promise.reject(fe))):(z0(oe,ve),ve)};return W[MD]=!0,W[Ey]=I,W},z={_p:a,$id:t,$onAction:ND.bind(null,C),$patch:V,$reset:G,$subscribe(P,I={}){const W=ND(T,P,I.detached,()=>ae()),ae=f.run(()=>In(()=>a.state.value[t],oe=>{(I.flush==="sync"?F:D)&&P({storeId:t,type:Y1.direct,events:O},oe)},Fc({},b,I)));return W},$dispose:X},Y=qc(z);a._s.set(t,Y);const K=(a._a&&a._a.runWithContext||E7)(()=>a._e.run(()=>(f=zv()).run(()=>r({action:H}))));for(const P in K){const I=K[P];if(un(I)&&!x7(I)||jo(I))e||(N&&T7(I)&&(un(I)?I.value=N[P]:A4(I,N[P])),a.state.value[t][P]=I);else if(typeof I=="function"){const W=H(I,P);K[P]=W,v.actions[P]=I}}return Fc(Y,K),Fc(rn(Y),K),Object.defineProperty(Y,"$state",{get:()=>a.state.value[t],set:P=>{V(I=>{Fc(I,P)})}}),a._p.forEach(P=>{Fc(Y,f.run(()=>P({store:Y,app:a._a,pinia:a,options:v})))}),N&&e&&s.hydrate&&s.hydrate(Y.$state,N),D=!0,F=!0,Y}function xH(t,r,s){let a,n;const e=typeof r=="function";typeof t=="string"?(a=t,n=e?s:r):(n=t,a=t.id);function f(v,b){const D=U6();return v=v||(D?Pi(eT,null):null),v&&ab(v),v=Z5,v._s.has(a)||(e?rT(a,r,n,v):A7(a,n,v)),v._s.get(a)}return f.$id=a,f}const C7=({isClient:t,initialState:r,app:s})=>{const a=D7();s.use(a),t?a.state.value=r.pinia||{}:r.pinia=a.state.value},S7=Object.freeze(Object.defineProperty({__proto__:null,install:C7},Symbol.toStringTag,{value:"Module"})),k7=({isClient:t,router:r})=>{t&&r.isReady().then(async()=>{const{registerSW:s}=await ni(()=>import("./virtual_pwa-register-ff5720d1.js"),[],import.meta.url);s({immediate:!0})}).catch(()=>{})},O7=Object.freeze(Object.defineProperty({__proto__:null,install:k7},Symbol.toStringTag,{value:"Module"}));var nT={exports:{}};const R7=X5(zO);(function(t,r){(function(a,n){t.exports=n(R7)})(Ys,s=>(()=>{var a={113:(P,I)=>{Object.defineProperty(I,"__esModule",{value:!0}),I.default=(W,ae)=>{const oe=W.__vccOpts||W;for(const[be,Ee]of ae)oe[be]=Ee;return oe}},594:P=>{P.exports=s}},n={};function e(P){var I=n[P];if(I!==void 0)return I.exports;var W=n[P]={exports:{}};return a[P](W,W.exports,e),W.exports}e.d=(P,I)=>{for(var W in I)e.o(I,W)&&!e.o(P,W)&&Object.defineProperty(P,W,{enumerable:!0,get:I[W]})},e.o=(P,I)=>Object.prototype.hasOwnProperty.call(P,I),e.r=P=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(P,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(P,"__esModule",{value:!0})};var f={};e.r(f),e.d(f,{ToastComponent:()=>z,ToastPlugin:()=>ee,ToastPositions:()=>O,default:()=>K,useToast:()=>Y});var v=e(594);const b=["innerHTML"];function D(P,I,W,ae,oe,be){return(0,v.openBlock)(),(0,v.createBlock)(v.Transition,{"enter-active-class":P.transition.enter,"leave-active-class":P.transition.leave},{default:(0,v.withCtx)(()=>[(0,v.withDirectives)((0,v.createElementVNode)("div",{ref:"root",role:"alert",class:(0,v.normalizeClass)(["v-toast__item",[`v-toast__item--${P.type}`,`v-toast__item--${P.position}`]]),onMouseover:I[0]||(I[0]=Ee=>P.toggleTimer(!0)),onMouseleave:I[1]||(I[1]=Ee=>P.toggleTimer(!1)),onClick:I[2]||(I[2]=function(){return P.whenClicked&&P.whenClicked(...arguments)})},[I[3]||(I[3]=(0,v.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,v.createElementVNode)("p",{class:"v-toast__text",innerHTML:P.message},null,8,b)],34),[[v.vShow,P.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function F(P){var I;typeof P.remove<"u"?P.remove():(I=P.parentNode)==null||I.removeChild(P)}function T(P,I,W){let ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const oe=(0,v.h)(P,I,ae),be=document.createElement("div");return be.classList.add("v-toast--pending"),W.appendChild(be),(0,v.render)(oe,be),oe.component}class C{constructor(I,W){this.startedAt=Date.now(),this.callback=I,this.delay=W,this.timer=setTimeout(I,W)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const O=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function N(P){return{all:P=P||new Map,on:function(I,W){var ae=P.get(I);ae?ae.push(W):P.set(I,[W])},off:function(I,W){var ae=P.get(I);ae&&(W?ae.splice(ae.indexOf(W)>>>0,1):P.set(I,[]))},emit:function(I,W){var ae=P.get(I);ae&&ae.slice().map(function(oe){oe(W)}),(ae=P.get("*"))&&ae.slice().map(function(oe){oe(I,W)})}}}const V=N(),G=(0,v.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:O.BOTTOM_RIGHT,validator(P){return Object.values(O).includes(P)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),V.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const P=document.body;P.appendChild(this.parentTop),P.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const P=this.$refs.root;(0,v.render)(null,P),F(P)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const P=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),F(P),this.isActive=!0,this.duration&&(this.timer=new C(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(P){!this.pauseOnHover||!this.timer||(P?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case O.TOP:case O.TOP_RIGHT:case O.TOP_LEFT:return this.parentTop;case O.BOTTOM:case O.BOTTOM_RIGHT:case O.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case O.TOP:case O.TOP_RIGHT:case O.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case O.BOTTOM:case O.BOTTOM_RIGHT:case O.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){V.off("toast-clear",this.dismiss)}});var X=e(113);const z=(0,X.default)(G,[["render",D]]),Y=function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(I){let W=null;typeof I=="string"&&(W=I);const oe=Object.assign({},{message:W},P,I);return{dismiss:T(z,oe,document.body).ctx.dismiss}},clear(){V.emit("toast-clear")},success(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"success"},W))},error(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"error"},W))},info(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"info"},W))},warning(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"warning"},W))},default(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"default"},W))}}},ee={install:function(P){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=Y(I);P.config.globalProperties.$toast=W,P.provide("$toast",W)}},K=ee;return f})())})(nT);var I7=nT.exports;const P7=Ni(I7);const N7=({app:t})=>{t.use(P7,{position:"bottom-right"})},M7=Object.freeze(Object.defineProperty({__proto__:null,install:N7},Symbol.toStringTag,{value:"Module"}));/*!
|
|
43
|
+
*/let Z5;const ab=t=>Z5=t,eT=Symbol();function x4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Y1;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Y1||(Y1={}));function D7(){const t=zv(!0),r=t.run(()=>er({}));let s=[],a=[];const n=Xv({install(e){ab(n),n._a=e,e.provide(eT,n),e.config.globalProperties.$pinia=n,a.forEach(f=>s.push(f)),a=[]},use(e){return!this._a&&!w7?a.push(e):s.push(e),this},_p:s,_a:null,_e:t,_s:new Map,state:r});return n}const tT=()=>{};function ND(t,r,s,a=tT){t.push(r);const n=()=>{const e=t.indexOf(r);e>-1&&(t.splice(e,1),a())};return!s&&Vv()&&n3(n),n}function z0(t,...r){t.slice().forEach(s=>{s(...r)})}const E7=t=>t(),MD=Symbol(),Ey=Symbol();function A4(t,r){t instanceof Map&&r instanceof Map?r.forEach((s,a)=>t.set(a,s)):t instanceof Set&&r instanceof Set&&r.forEach(t.add,t);for(const s in r){if(!r.hasOwnProperty(s))continue;const a=r[s],n=t[s];x4(n)&&x4(a)&&t.hasOwnProperty(s)&&!un(a)&&!jo(a)?t[s]=A4(n,a):t[s]=a}return t}const F7=Symbol();function T7(t){return!x4(t)||!t.hasOwnProperty(F7)}const{assign:Fc}=Object;function x7(t){return!!(un(t)&&t.effect)}function A7(t,r,s,a){const{state:n,actions:e,getters:f}=r,v=s.state.value[t];let b;function D(){v||(s.state.value[t]=n?n():{});const F=l6(s.state.value[t]);return Fc(F,e,Object.keys(f||{}).reduce((T,C)=>(T[C]=Xv(Sr(()=>{ab(s);const O=s._s.get(t);return f[C].call(O,O)})),T),{}))}return b=rT(t,D,r,s,a,!0),b}function rT(t,r,s={},a,n,e){let f;const v=Fc({actions:{}},s),b={deep:!0};let D,F,T=[],C=[],O;const N=a.state.value[t];!e&&!N&&(a.state.value[t]={}),er({});let B;function V(P){let I;D=F=!1,typeof P=="function"?(P(a.state.value[t]),I={type:Y1.patchFunction,storeId:t,events:O}):(A4(a.state.value[t],P),I={type:Y1.patchObject,payload:P,storeId:t,events:O});const W=B=Symbol();va().then(()=>{B===W&&(D=!0)}),F=!0,z0(T,I,a.state.value[t])}const G=e?function(){const{state:I}=s,W=I?I():{};this.$patch(ae=>{Fc(ae,W)})}:tT;function X(){f.stop(),T=[],C=[],a._s.delete(t)}const H=(P,I="")=>{if(MD in P)return P[Ey]=I,P;const W=function(){ab(a);const ae=Array.from(arguments),oe=[],be=[];function Ee(fe){oe.push(fe)}function Ue(fe){be.push(fe)}z0(C,{args:ae,name:W[Ey],store:Y,after:Ee,onError:Ue});let ve;try{ve=P.apply(this&&this.$id===t?this:Y,ae)}catch(fe){throw z0(be,fe),fe}return ve instanceof Promise?ve.then(fe=>(z0(oe,fe),fe)).catch(fe=>(z0(be,fe),Promise.reject(fe))):(z0(oe,ve),ve)};return W[MD]=!0,W[Ey]=I,W},z={_p:a,$id:t,$onAction:ND.bind(null,C),$patch:V,$reset:G,$subscribe(P,I={}){const W=ND(T,P,I.detached,()=>ae()),ae=f.run(()=>In(()=>a.state.value[t],oe=>{(I.flush==="sync"?F:D)&&P({storeId:t,type:Y1.direct,events:O},oe)},Fc({},b,I)));return W},$dispose:X},Y=qc(z);a._s.set(t,Y);const K=(a._a&&a._a.runWithContext||E7)(()=>a._e.run(()=>(f=zv()).run(()=>r({action:H}))));for(const P in K){const I=K[P];if(un(I)&&!x7(I)||jo(I))e||(N&&T7(I)&&(un(I)?I.value=N[P]:A4(I,N[P])),a.state.value[t][P]=I);else if(typeof I=="function"){const W=H(I,P);K[P]=W,v.actions[P]=I}}return Fc(Y,K),Fc(rn(Y),K),Object.defineProperty(Y,"$state",{get:()=>a.state.value[t],set:P=>{V(I=>{Fc(I,P)})}}),a._p.forEach(P=>{Fc(Y,f.run(()=>P({store:Y,app:a._a,pinia:a,options:v})))}),N&&e&&s.hydrate&&s.hydrate(Y.$state,N),D=!0,F=!0,Y}function xH(t,r,s){let a,n;const e=typeof r=="function";typeof t=="string"?(a=t,n=e?s:r):(n=t,a=t.id);function f(v,b){const D=U6();return v=v||(D?Pi(eT,null):null),v&&ab(v),v=Z5,v._s.has(a)||(e?rT(a,r,n,v):A7(a,n,v)),v._s.get(a)}return f.$id=a,f}const C7=({isClient:t,initialState:r,app:s})=>{const a=D7();s.use(a),t?a.state.value=r.pinia||{}:r.pinia=a.state.value},S7=Object.freeze(Object.defineProperty({__proto__:null,install:C7},Symbol.toStringTag,{value:"Module"})),k7=({isClient:t,router:r})=>{t&&r.isReady().then(async()=>{const{registerSW:s}=await ni(()=>import("./virtual_pwa-register-ab60e448.js"),[],import.meta.url);s({immediate:!0})}).catch(()=>{})},O7=Object.freeze(Object.defineProperty({__proto__:null,install:k7},Symbol.toStringTag,{value:"Module"}));var nT={exports:{}};const R7=X5(zO);(function(t,r){(function(a,n){t.exports=n(R7)})(Ys,s=>(()=>{var a={113:(P,I)=>{Object.defineProperty(I,"__esModule",{value:!0}),I.default=(W,ae)=>{const oe=W.__vccOpts||W;for(const[be,Ee]of ae)oe[be]=Ee;return oe}},594:P=>{P.exports=s}},n={};function e(P){var I=n[P];if(I!==void 0)return I.exports;var W=n[P]={exports:{}};return a[P](W,W.exports,e),W.exports}e.d=(P,I)=>{for(var W in I)e.o(I,W)&&!e.o(P,W)&&Object.defineProperty(P,W,{enumerable:!0,get:I[W]})},e.o=(P,I)=>Object.prototype.hasOwnProperty.call(P,I),e.r=P=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(P,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(P,"__esModule",{value:!0})};var f={};e.r(f),e.d(f,{ToastComponent:()=>z,ToastPlugin:()=>ee,ToastPositions:()=>O,default:()=>K,useToast:()=>Y});var v=e(594);const b=["innerHTML"];function D(P,I,W,ae,oe,be){return(0,v.openBlock)(),(0,v.createBlock)(v.Transition,{"enter-active-class":P.transition.enter,"leave-active-class":P.transition.leave},{default:(0,v.withCtx)(()=>[(0,v.withDirectives)((0,v.createElementVNode)("div",{ref:"root",role:"alert",class:(0,v.normalizeClass)(["v-toast__item",[`v-toast__item--${P.type}`,`v-toast__item--${P.position}`]]),onMouseover:I[0]||(I[0]=Ee=>P.toggleTimer(!0)),onMouseleave:I[1]||(I[1]=Ee=>P.toggleTimer(!1)),onClick:I[2]||(I[2]=function(){return P.whenClicked&&P.whenClicked(...arguments)})},[I[3]||(I[3]=(0,v.createElementVNode)("div",{class:"v-toast__icon"},null,-1)),(0,v.createElementVNode)("p",{class:"v-toast__text",innerHTML:P.message},null,8,b)],34),[[v.vShow,P.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function F(P){var I;typeof P.remove<"u"?P.remove():(I=P.parentNode)==null||I.removeChild(P)}function T(P,I,W){let ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const oe=(0,v.h)(P,I,ae),be=document.createElement("div");return be.classList.add("v-toast--pending"),W.appendChild(be),(0,v.render)(oe,be),oe.component}class C{constructor(I,W){this.startedAt=Date.now(),this.callback=I,this.delay=W,this.timer=setTimeout(I,W)}pause(){this.stop(),this.delay-=Date.now()-this.startedAt}resume(){this.stop(),this.startedAt=Date.now(),this.timer=setTimeout(this.callback,this.delay)}stop(){clearTimeout(this.timer)}}const O=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function N(P){return{all:P=P||new Map,on:function(I,W){var ae=P.get(I);ae?ae.push(W):P.set(I,[W])},off:function(I,W){var ae=P.get(I);ae&&(W?ae.splice(ae.indexOf(W)>>>0,1):P.set(I,[]))},emit:function(I,W){var ae=P.get(I);ae&&ae.slice().map(function(oe){oe(W)}),(ae=P.get("*"))&&ae.slice().map(function(oe){oe(I,W)})}}}const V=N(),G=(0,v.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:O.BOTTOM_RIGHT,validator(P){return Object.values(O).includes(P)}},duration:{type:Number,default:3e3},dismissible:{type:Boolean,default:!0},onDismiss:{type:Function,default:()=>{}},onClick:{type:Function,default:()=>{}},queue:Boolean,pauseOnHover:{type:Boolean,default:!0}},data(){return{isActive:!1,parentTop:null,parentBottom:null,isHovered:!1}},beforeMount(){this.setupContainer()},mounted(){this.showNotice(),V.on("toast-clear",this.dismiss)},methods:{setupContainer(){if(this.parentTop=document.querySelector(".v-toast.v-toast--top"),this.parentBottom=document.querySelector(".v-toast.v-toast--bottom"),this.parentTop&&this.parentBottom)return;this.parentTop||(this.parentTop=document.createElement("div"),this.parentTop.className="v-toast v-toast--top"),this.parentBottom||(this.parentBottom=document.createElement("div"),this.parentBottom.className="v-toast v-toast--bottom");const P=document.body;P.appendChild(this.parentTop),P.appendChild(this.parentBottom)},shouldQueue(){return this.queue?this.parentTop.childElementCount>0||this.parentBottom.childElementCount>0:!1},dismiss(){this.timer&&this.timer.stop(),clearTimeout(this.queueTimer),this.isActive=!1,setTimeout(()=>{this.onDismiss.apply(null,arguments);const P=this.$refs.root;(0,v.render)(null,P),F(P)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const P=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),F(P),this.isActive=!0,this.duration&&(this.timer=new C(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(P){!this.pauseOnHover||!this.timer||(P?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case O.TOP:case O.TOP_RIGHT:case O.TOP_LEFT:return this.parentTop;case O.BOTTOM:case O.BOTTOM_RIGHT:case O.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case O.TOP:case O.TOP_RIGHT:case O.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case O.BOTTOM:case O.BOTTOM_RIGHT:case O.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){V.off("toast-clear",this.dismiss)}});var X=e(113);const z=(0,X.default)(G,[["render",D]]),Y=function(){let P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(I){let W=null;typeof I=="string"&&(W=I);const oe=Object.assign({},{message:W},P,I);return{dismiss:T(z,oe,document.body).ctx.dismiss}},clear(){V.emit("toast-clear")},success(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"success"},W))},error(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"error"},W))},info(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"info"},W))},warning(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"warning"},W))},default(I){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:I,type:"default"},W))}}},ee={install:function(P){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=Y(I);P.config.globalProperties.$toast=W,P.provide("$toast",W)}},K=ee;return f})())})(nT);var I7=nT.exports;const P7=Ni(I7);const N7=({app:t})=>{t.use(P7,{position:"bottom-right"})},M7=Object.freeze(Object.defineProperty({__proto__:null,install:N7},Symbol.toStringTag,{value:"Module"}));/*!
|
|
44
44
|
* vue-router v4.4.5
|
|
45
45
|
* (c) 2024 Eduardo San Martin Morote
|
|
46
46
|
* @license MIT
|
|
47
|
-
*/const q0=typeof document<"u";function sT(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function L7(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&sT(t.default)}const En=Object.assign;function Fy(t,r){const s={};for(const a in r){const n=r[a];s[a]=ho(n)?n.map(t):t(n)}return s}const K1=()=>{},ho=Array.isArray,iT=/#/g,B7=/&/g,U7=/\//g,H7=/=/g,$7=/\?/g,aT=/\+/g,W7=/%5B/g,z7=/%5D/g,oT=/%5E/g,V7=/%60/g,lT=/%7B/g,G7=/%7C/g,cT=/%7D/g,j7=/%20/g;function N3(t){return encodeURI(""+t).replace(G7,"|").replace(W7,"[").replace(z7,"]")}function Y7(t){return N3(t).replace(lT,"{").replace(cT,"}").replace(oT,"^")}function C4(t){return N3(t).replace(aT,"%2B").replace(j7,"+").replace(iT,"%23").replace(B7,"%26").replace(V7,"`").replace(lT,"{").replace(cT,"}").replace(oT,"^")}function K7(t){return C4(t).replace(H7,"%3D")}function q7(t){return N3(t).replace(iT,"%23").replace($7,"%3F")}function Q7(t){return t==null?"":q7(t).replace(U7,"%2F")}function gp(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const X7=/\/$/,J7=t=>t.replace(X7,"");function Ty(t,r,s="/"){let a,n={},e="",f="";const v=r.indexOf("#");let b=r.indexOf("?");return v<b&&v>=0&&(b=-1),b>-1&&(a=r.slice(0,b),e=r.slice(b+1,v>-1?v:r.length),n=t(e)),v>-1&&(a=a||r.slice(0,v),f=r.slice(v,r.length)),a=rR(a??r,s),{fullPath:a+(e&&"?")+e+f,path:a,query:n,hash:gp(f)}}function Z7(t,r){const s=r.query?t(r.query):"";return r.path+(s&&"?")+s+(r.hash||"")}function LD(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function eR(t,r,s){const a=r.matched.length-1,n=s.matched.length-1;return a>-1&&a===n&&Eh(r.matched[a],s.matched[n])&&uT(r.params,s.params)&&t(r.query)===t(s.query)&&r.hash===s.hash}function Eh(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function uT(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const s in t)if(!tR(t[s],r[s]))return!1;return!0}function tR(t,r){return ho(t)?BD(t,r):ho(r)?BD(r,t):t===r}function BD(t,r){return ho(r)?t.length===r.length&&t.every((s,a)=>s===r[a]):t.length===1&&t[0]===r}function rR(t,r){if(t.startsWith("/"))return t;if(!t)return r;const s=r.split("/"),a=t.split("/"),n=a[a.length-1];(n===".."||n===".")&&a.push("");let e=s.length-1,f,v;for(f=0;f<a.length;f++)if(v=a[f],v!==".")if(v==="..")e>1&&e--;else break;return s.slice(0,e).join("/")+"/"+a.slice(f).join("/")}const Dc={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fh;(function(t){t.pop="pop",t.push="push"})(Fh||(Fh={}));var yf;(function(t){t.back="back",t.forward="forward",t.unknown=""})(yf||(yf={}));const xy="";function fT(t){if(!t)if(q0){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),J7(t)}const nR=/^[^#]+#/;function hT(t,r){return t.replace(nR,"#")+r}function sR(t,r){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:r.behavior,left:a.left-s.left-(r.left||0),top:a.top-s.top-(r.top||0)}}const ob=()=>({left:window.scrollX,top:window.scrollY});function iR(t){let r;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),n=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!n)return;r=sR(n,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function UD(t,r){return(history.state?history.state.position-r:-1)+t}const S4=new Map;function aR(t,r){S4.set(t,r)}function oR(t){const r=S4.get(t);return S4.delete(t),r}let lR=()=>location.protocol+"//"+location.host;function dT(t,r){const{pathname:s,search:a,hash:n}=r,e=t.indexOf("#");if(e>-1){let v=n.includes(t.slice(e))?t.slice(e).length:1,b=n.slice(v);return b[0]!=="/"&&(b="/"+b),LD(b,"")}return LD(s,t)+a+n}function cR(t,r,s,a){let n=[],e=[],f=null;const v=({state:C})=>{const O=dT(t,location),N=s.value,B=r.value;let V=0;if(C){if(s.value=O,r.value=C,f&&f===N){f=null;return}V=B?C.position-B.position:0}else a(O);n.forEach(G=>{G(s.value,N,{delta:V,type:Fh.pop,direction:V?V>0?yf.forward:yf.back:yf.unknown})})};function b(){f=s.value}function D(C){n.push(C);const O=()=>{const N=n.indexOf(C);N>-1&&n.splice(N,1)};return e.push(O),O}function F(){const{history:C}=window;C.state&&C.replaceState(En({},C.state,{scroll:ob()}),"")}function T(){for(const C of e)C();e=[],window.removeEventListener("popstate",v),window.removeEventListener("beforeunload",F)}return window.addEventListener("popstate",v),window.addEventListener("beforeunload",F,{passive:!0}),{pauseListeners:b,listen:D,destroy:T}}function HD(t,r,s,a=!1,n=!1){return{back:t,current:r,forward:s,replaced:a,position:window.history.length,scroll:n?ob():null}}function uR(t){const{history:r,location:s}=window,a={value:dT(t,s)},n={value:r.state};n.value||e(a.value,{back:null,current:a.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function e(b,D,F){const T=t.indexOf("#"),C=T>-1?(s.host&&document.querySelector("base")?t:t.slice(T))+b:lR()+t+b;try{r[F?"replaceState":"pushState"](D,"",C),n.value=D}catch(O){console.error(O),s[F?"replace":"assign"](C)}}function f(b,D){const F=En({},r.state,HD(n.value.back,b,n.value.forward,!0),D,{position:n.value.position});e(b,F,!0),a.value=b}function v(b,D){const F=En({},n.value,r.state,{forward:b,scroll:ob()});e(F.current,F,!0);const T=En({},HD(a.value,b,null),{position:F.position+1},D);e(b,T,!1),a.value=b}return{location:a,state:n,push:v,replace:f}}function fR(t){t=fT(t);const r=uR(t),s=cR(t,r.state,r.location,r.replace);function a(e,f=!0){f||s.pauseListeners(),history.go(e)}const n=En({location:"",base:t,go:a,createHref:hT.bind(null,t)},r,s);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>r.state.value}),n}function hR(t=""){let r=[],s=[xy],a=0;t=fT(t);function n(v){a++,a!==s.length&&s.splice(a),s.push(v)}function e(v,b,{direction:D,delta:F}){const T={direction:D,delta:F,type:Fh.pop};for(const C of r)C(v,b,T)}const f={location:xy,state:{},base:t,createHref:hT.bind(null,t),replace(v){s.splice(a--,1),n(v)},push(v,b){n(v)},listen(v){return r.push(v),()=>{const b=r.indexOf(v);b>-1&&r.splice(b,1)}},destroy(){r=[],s=[xy],a=0},go(v,b=!0){const D=this.location,F=v<0?yf.back:yf.forward;a=Math.max(0,Math.min(a+v,s.length-1)),b&&e(this.location,D,{direction:F,delta:v})}};return Object.defineProperty(f,"location",{enumerable:!0,get:()=>s[a]}),f}function dR(t){return typeof t=="string"||t&&typeof t=="object"}function pT(t){return typeof t=="string"||typeof t=="symbol"}const mT=Symbol("");var $D;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})($D||($D={}));function Th(t,r){return En(new Error,{type:t,[mT]:!0},r)}function kl(t,r){return t instanceof Error&&mT in t&&(r==null||!!(t.type&r))}const WD="[^/]+?",pR={sensitive:!1,strict:!1,start:!0,end:!0},mR=/[.+*?^${}()[\]/\\]/g;function gR(t,r){const s=En({},pR,r),a=[];let n=s.start?"^":"";const e=[];for(const D of t){const F=D.length?[]:[90];s.strict&&!D.length&&(n+="/");for(let T=0;T<D.length;T++){const C=D[T];let O=40+(s.sensitive?.25:0);if(C.type===0)T||(n+="/"),n+=C.value.replace(mR,"\\$&"),O+=40;else if(C.type===1){const{value:N,repeatable:B,optional:V,regexp:G}=C;e.push({name:N,repeatable:B,optional:V});const X=G||WD;if(X!==WD){O+=10;try{new RegExp(`(${X})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${N}" (${X}): `+z.message)}}let H=B?`((?:${X})(?:/(?:${X}))*)`:`(${X})`;T||(H=V&&D.length<2?`(?:/${H})`:"/"+H),V&&(H+="?"),n+=H,O+=20,V&&(O+=-8),B&&(O+=-20),X===".*"&&(O+=-50)}F.push(O)}a.push(F)}if(s.strict&&s.end){const D=a.length-1;a[D][a[D].length-1]+=.7000000000000001}s.strict||(n+="/?"),s.end?n+="$":s.strict&&(n+="(?:/|$)");const f=new RegExp(n,s.sensitive?"":"i");function v(D){const F=D.match(f),T={};if(!F)return null;for(let C=1;C<F.length;C++){const O=F[C]||"",N=e[C-1];T[N.name]=O&&N.repeatable?O.split("/"):O}return T}function b(D){let F="",T=!1;for(const C of t){(!T||!F.endsWith("/"))&&(F+="/"),T=!1;for(const O of C)if(O.type===0)F+=O.value;else if(O.type===1){const{value:N,repeatable:B,optional:V}=O,G=N in D?D[N]:"";if(ho(G)&&!B)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const X=ho(G)?G.join("/"):G;if(!X)if(V)C.length<2&&(F.endsWith("/")?F=F.slice(0,-1):T=!0);else throw new Error(`Missing required param "${N}"`);F+=X}}return F||"/"}return{re:f,score:a,keys:e,parse:v,stringify:b}}function vR(t,r){let s=0;for(;s<t.length&&s<r.length;){const a=r[s]-t[s];if(a)return a;s++}return t.length<r.length?t.length===1&&t[0]===40+40?-1:1:t.length>r.length?r.length===1&&r[0]===40+40?1:-1:0}function gT(t,r){let s=0;const a=t.score,n=r.score;for(;s<a.length&&s<n.length;){const e=vR(a[s],n[s]);if(e)return e;s++}if(Math.abs(n.length-a.length)===1){if(zD(a))return 1;if(zD(n))return-1}return n.length-a.length}function zD(t){const r=t[t.length-1];return t.length>0&&r[r.length-1]<0}const bR={type:0,value:""},_R=/[a-zA-Z0-9_]/;function yR(t){if(!t)return[[]];if(t==="/")return[[bR]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(O){throw new Error(`ERR (${s})/"${D}": ${O}`)}let s=0,a=s;const n=[];let e;function f(){e&&n.push(e),e=[]}let v=0,b,D="",F="";function T(){D&&(s===0?e.push({type:0,value:D}):s===1||s===2||s===3?(e.length>1&&(b==="*"||b==="+")&&r(`A repeatable param (${D}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:D,regexp:F,repeatable:b==="*"||b==="+",optional:b==="*"||b==="?"})):r("Invalid state to consume buffer"),D="")}function C(){D+=b}for(;v<t.length;){if(b=t[v++],b==="\\"&&s!==2){a=s,s=4;continue}switch(s){case 0:b==="/"?(D&&T(),f()):b===":"?(T(),s=1):C();break;case 4:C(),s=a;break;case 1:b==="("?s=2:_R.test(b)?C():(T(),s=0,b!=="*"&&b!=="?"&&b!=="+"&&v--);break;case 2:b===")"?F[F.length-1]=="\\"?F=F.slice(0,-1)+b:s=3:F+=b;break;case 3:T(),s=0,b!=="*"&&b!=="?"&&b!=="+"&&v--,F="";break;default:r("Unknown state");break}}return s===2&&r(`Unfinished custom RegExp for param "${D}"`),T(),f(),n}function wR(t,r,s){const a=gR(yR(t.path),s),n=En(a,{record:t,parent:r,children:[],alias:[]});return r&&!n.record.aliasOf==!r.record.aliasOf&&r.children.push(n),n}function DR(t,r){const s=[],a=new Map;r=YD({strict:!1,end:!0,sensitive:!1},r);function n(T){return a.get(T)}function e(T,C,O){const N=!O,B=GD(T);B.aliasOf=O&&O.record;const V=YD(r,T),G=[B];if("alias"in T){const z=typeof T.alias=="string"?[T.alias]:T.alias;for(const Y of z)G.push(GD(En({},B,{components:O?O.record.components:B.components,path:Y,aliasOf:O?O.record:B})))}let X,H;for(const z of G){const{path:Y}=z;if(C&&Y[0]!=="/"){const ee=C.record.path,K=ee[ee.length-1]==="/"?"":"/";z.path=C.record.path+(Y&&K+Y)}if(X=wR(z,C,V),O?O.alias.push(X):(H=H||X,H!==X&&H.alias.push(X),N&&T.name&&!jD(X)&&f(T.name)),vT(X)&&b(X),B.children){const ee=B.children;for(let K=0;K<ee.length;K++)e(ee[K],X,O&&O.children[K])}O=O||X}return H?()=>{f(H)}:K1}function f(T){if(pT(T)){const C=a.get(T);C&&(a.delete(T),s.splice(s.indexOf(C),1),C.children.forEach(f),C.alias.forEach(f))}else{const C=s.indexOf(T);C>-1&&(s.splice(C,1),T.record.name&&a.delete(T.record.name),T.children.forEach(f),T.alias.forEach(f))}}function v(){return s}function b(T){const C=TR(T,s);s.splice(C,0,T),T.record.name&&!jD(T)&&a.set(T.record.name,T)}function D(T,C){let O,N={},B,V;if("name"in T&&T.name){if(O=a.get(T.name),!O)throw Th(1,{location:T});V=O.record.name,N=En(VD(C.params,O.keys.filter(H=>!H.optional).concat(O.parent?O.parent.keys.filter(H=>H.optional):[]).map(H=>H.name)),T.params&&VD(T.params,O.keys.map(H=>H.name))),B=O.stringify(N)}else if(T.path!=null)B=T.path,O=s.find(H=>H.re.test(B)),O&&(N=O.parse(B),V=O.record.name);else{if(O=C.name?a.get(C.name):s.find(H=>H.re.test(C.path)),!O)throw Th(1,{location:T,currentLocation:C});V=O.record.name,N=En({},C.params,T.params),B=O.stringify(N)}const G=[];let X=O;for(;X;)G.unshift(X.record),X=X.parent;return{name:V,path:B,params:N,matched:G,meta:FR(G)}}t.forEach(T=>e(T));function F(){s.length=0,a.clear()}return{addRoute:e,resolve:D,removeRoute:f,clearRoutes:F,getRoutes:v,getRecordMatcher:n}}function VD(t,r){const s={};for(const a of r)a in t&&(s[a]=t[a]);return s}function GD(t){const r={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:ER(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(r,"mods",{value:{}}),r}function ER(t){const r={},s=t.props||!1;if("component"in t)r.default=s;else for(const a in t.components)r[a]=typeof s=="object"?s[a]:s;return r}function jD(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function FR(t){return t.reduce((r,s)=>En(r,s.meta),{})}function YD(t,r){const s={};for(const a in t)s[a]=a in r?r[a]:t[a];return s}function TR(t,r){let s=0,a=r.length;for(;s!==a;){const e=s+a>>1;gT(t,r[e])<0?a=e:s=e+1}const n=xR(t);return n&&(a=r.lastIndexOf(n,a-1)),a}function xR(t){let r=t;for(;r=r.parent;)if(vT(r)&&gT(t,r)===0)return r}function vT({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function AR(t){const r={};if(t===""||t==="?")return r;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let n=0;n<a.length;++n){const e=a[n].replace(aT," "),f=e.indexOf("="),v=gp(f<0?e:e.slice(0,f)),b=f<0?null:gp(e.slice(f+1));if(v in r){let D=r[v];ho(D)||(D=r[v]=[D]),D.push(b)}else r[v]=b}return r}function KD(t){let r="";for(let s in t){const a=t[s];if(s=K7(s),a==null){a!==void 0&&(r+=(r.length?"&":"")+s);continue}(ho(a)?a.map(e=>e&&C4(e)):[a&&C4(a)]).forEach(e=>{e!==void 0&&(r+=(r.length?"&":"")+s,e!=null&&(r+="="+e))})}return r}function CR(t){const r={};for(const s in t){const a=t[s];a!==void 0&&(r[s]=ho(a)?a.map(n=>n==null?null:""+n):a==null?a:""+a)}return r}const SR=Symbol(""),qD=Symbol(""),lb=Symbol(""),M3=Symbol(""),k4=Symbol("");function N1(){let t=[];function r(a){return t.push(a),()=>{const n=t.indexOf(a);n>-1&&t.splice(n,1)}}function s(){t=[]}return{add:r,list:()=>t.slice(),reset:s}}function Rc(t,r,s,a,n,e=f=>f()){const f=a&&(a.enterCallbacks[n]=a.enterCallbacks[n]||[]);return()=>new Promise((v,b)=>{const D=C=>{C===!1?b(Th(4,{from:s,to:r})):C instanceof Error?b(C):dR(C)?b(Th(2,{from:r,to:C})):(f&&a.enterCallbacks[n]===f&&typeof C=="function"&&f.push(C),v())},F=e(()=>t.call(a&&a.instances[n],r,s,D));let T=Promise.resolve(F);t.length<3&&(T=T.then(D)),T.catch(C=>b(C))})}function Ay(t,r,s,a,n=e=>e()){const e=[];for(const f of t)for(const v in f.components){let b=f.components[v];if(!(r!=="beforeRouteEnter"&&!f.instances[v]))if(sT(b)){const F=(b.__vccOpts||b)[r];F&&e.push(Rc(F,s,a,f,v,n))}else{let D=b();e.push(()=>D.then(F=>{if(!F)throw new Error(`Couldn't resolve component "${v}" at "${f.path}"`);const T=L7(F)?F.default:F;f.mods[v]=F,f.components[v]=T;const O=(T.__vccOpts||T)[r];return O&&Rc(O,s,a,f,v,n)()}))}}return e}function QD(t){const r=Pi(lb),s=Pi(M3),a=Sr(()=>{const b=Zt(t.to);return r.resolve(b)}),n=Sr(()=>{const{matched:b}=a.value,{length:D}=b,F=b[D-1],T=s.matched;if(!F||!T.length)return-1;const C=T.findIndex(Eh.bind(null,F));if(C>-1)return C;const O=XD(b[D-2]);return D>1&&XD(F)===O&&T[T.length-1].path!==O?T.findIndex(Eh.bind(null,b[D-2])):C}),e=Sr(()=>n.value>-1&&IR(s.params,a.value.params)),f=Sr(()=>n.value>-1&&n.value===s.matched.length-1&&uT(s.params,a.value.params));function v(b={}){return RR(b)?r[Zt(t.replace)?"replace":"push"](Zt(t.to)).catch(K1):Promise.resolve()}return{route:a,href:Sr(()=>a.value.href),isActive:e,isExactActive:f,navigate:v}}const kR=us({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:QD,setup(t,{slots:r}){const s=qc(QD(t)),{options:a}=Pi(lb),n=Sr(()=>({[JD(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[JD(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const e=r.default&&r.default(s);return t.custom?e:Of("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:n.value},e)}}}),OR=kR;function RR(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function IR(t,r){for(const s in r){const a=r[s],n=t[s];if(typeof a=="string"){if(a!==n)return!1}else if(!ho(n)||n.length!==a.length||a.some((e,f)=>e!==n[f]))return!1}return!0}function XD(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const JD=(t,r,s)=>t??r??s,PR=us({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:s}){const a=Pi(k4),n=Sr(()=>t.route||a.value),e=Pi(qD,0),f=Sr(()=>{let D=Zt(e);const{matched:F}=n.value;let T;for(;(T=F[D])&&!T.components;)D++;return D}),v=Sr(()=>n.value.matched[f.value]);V1(qD,Sr(()=>f.value+1)),V1(SR,v),V1(k4,n);const b=er();return In(()=>[b.value,v.value,t.name],([D,F,T],[C,O,N])=>{F&&(F.instances[T]=D,O&&O!==F&&D&&D===C&&(F.leaveGuards.size||(F.leaveGuards=O.leaveGuards),F.updateGuards.size||(F.updateGuards=O.updateGuards))),D&&F&&(!O||!Eh(F,O)||!C)&&(F.enterCallbacks[T]||[]).forEach(B=>B(D))},{flush:"post"}),()=>{const D=n.value,F=t.name,T=v.value,C=T&&T.components[F];if(!C)return ZD(s.default,{Component:C,route:D});const O=T.props[F],N=O?O===!0?D.params:typeof O=="function"?O(D):O:null,V=Of(C,En({},N,r,{onVnodeUnmounted:G=>{G.component.isUnmounted&&(T.instances[F]=null)},ref:b}));return ZD(s.default,{Component:V,route:D})||V}}});function ZD(t,r){if(!t)return null;const s=t(r);return s.length===1?s[0]:s}const NR=PR;function MR(t){const r=DR(t.routes,t),s=t.parseQuery||AR,a=t.stringifyQuery||KD,n=t.history,e=N1(),f=N1(),v=N1(),b=zc(Dc);let D=Dc;q0&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const F=Fy.bind(null,se=>""+se),T=Fy.bind(null,Q7),C=Fy.bind(null,gp);function O(se,Pe){let de,Ye;return pT(se)?(de=r.getRecordMatcher(se),Ye=Pe):Ye=se,r.addRoute(Ye,de)}function N(se){const Pe=r.getRecordMatcher(se);Pe&&r.removeRoute(Pe)}function B(){return r.getRoutes().map(se=>se.record)}function V(se){return!!r.getRecordMatcher(se)}function G(se,Pe){if(Pe=En({},Pe||b.value),typeof se=="string"){const ie=Ty(s,se,Pe.path),Te=r.resolve({path:ie.path},Pe),Le=n.createHref(ie.fullPath);return En(ie,Te,{params:C(Te.params),hash:gp(ie.hash),redirectedFrom:void 0,href:Le})}let de;if(se.path!=null)de=En({},se,{path:Ty(s,se.path,Pe.path).path});else{const ie=En({},se.params);for(const Te in ie)ie[Te]==null&&delete ie[Te];de=En({},se,{params:T(ie)}),Pe.params=T(Pe.params)}const Ye=r.resolve(de,Pe),gt=se.hash||"";Ye.params=F(C(Ye.params));const nt=Z7(a,En({},se,{hash:Y7(gt),path:Ye.path})),J=n.createHref(nt);return En({fullPath:nt,hash:gt,query:a===KD?CR(se.query):se.query||{}},Ye,{redirectedFrom:void 0,href:J})}function X(se){return typeof se=="string"?Ty(s,se,b.value.path):En({},se)}function H(se,Pe){if(D!==se)return Th(8,{from:Pe,to:se})}function z(se){return K(se)}function Y(se){return z(En(X(se),{replace:!0}))}function ee(se){const Pe=se.matched[se.matched.length-1];if(Pe&&Pe.redirect){const{redirect:de}=Pe;let Ye=typeof de=="function"?de(se):de;return typeof Ye=="string"&&(Ye=Ye.includes("?")||Ye.includes("#")?Ye=X(Ye):{path:Ye},Ye.params={}),En({query:se.query,hash:se.hash,params:Ye.path!=null?{}:se.params},Ye)}}function K(se,Pe){const de=D=G(se),Ye=b.value,gt=se.state,nt=se.force,J=se.replace===!0,ie=ee(de);if(ie)return K(En(X(ie),{state:typeof ie=="object"?En({},gt,ie.state):gt,force:nt,replace:J}),Pe||de);const Te=de;Te.redirectedFrom=Pe;let Le;return!nt&&eR(a,Ye,de)&&(Le=Th(16,{to:Te,from:Ye}),ce(Ye,Ye,!0,!1)),(Le?Promise.resolve(Le):W(Te,Ye)).catch(Ne=>kl(Ne)?kl(Ne,2)?Ne:Re(Ne):Fe(Ne,Te,Ye)).then(Ne=>{if(Ne){if(kl(Ne,2))return K(En({replace:J},X(Ne.to),{state:typeof Ne.to=="object"?En({},gt,Ne.to.state):gt,force:nt}),Pe||Te)}else Ne=oe(Te,Ye,!0,J,gt);return ae(Te,Ye,Ne),Ne})}function P(se,Pe){const de=H(se,Pe);return de?Promise.reject(de):Promise.resolve()}function I(se){const Pe=ke.values().next().value;return Pe&&typeof Pe.runWithContext=="function"?Pe.runWithContext(se):se()}function W(se,Pe){let de;const[Ye,gt,nt]=LR(se,Pe);de=Ay(Ye.reverse(),"beforeRouteLeave",se,Pe);for(const ie of Ye)ie.leaveGuards.forEach(Te=>{de.push(Rc(Te,se,Pe))});const J=P.bind(null,se,Pe);return de.push(J),Ie(de).then(()=>{de=[];for(const ie of e.list())de.push(Rc(ie,se,Pe));return de.push(J),Ie(de)}).then(()=>{de=Ay(gt,"beforeRouteUpdate",se,Pe);for(const ie of gt)ie.updateGuards.forEach(Te=>{de.push(Rc(Te,se,Pe))});return de.push(J),Ie(de)}).then(()=>{de=[];for(const ie of nt)if(ie.beforeEnter)if(ho(ie.beforeEnter))for(const Te of ie.beforeEnter)de.push(Rc(Te,se,Pe));else de.push(Rc(ie.beforeEnter,se,Pe));return de.push(J),Ie(de)}).then(()=>(se.matched.forEach(ie=>ie.enterCallbacks={}),de=Ay(nt,"beforeRouteEnter",se,Pe,I),de.push(J),Ie(de))).then(()=>{de=[];for(const ie of f.list())de.push(Rc(ie,se,Pe));return de.push(J),Ie(de)}).catch(ie=>kl(ie,8)?ie:Promise.reject(ie))}function ae(se,Pe,de){v.list().forEach(Ye=>I(()=>Ye(se,Pe,de)))}function oe(se,Pe,de,Ye,gt){const nt=H(se,Pe);if(nt)return nt;const J=Pe===Dc,ie=q0?history.state:{};de&&(Ye||J?n.replace(se.fullPath,En({scroll:J&&ie&&ie.scroll},gt)):n.push(se.fullPath,gt)),b.value=se,ce(se,Pe,de,J),Re()}let be;function Ee(){be||(be=n.listen((se,Pe,de)=>{if(!ge.listening)return;const Ye=G(se),gt=ee(Ye);if(gt){K(En(gt,{replace:!0}),Ye).catch(K1);return}D=Ye;const nt=b.value;q0&&aR(UD(nt.fullPath,de.delta),ob()),W(Ye,nt).catch(J=>kl(J,12)?J:kl(J,2)?(K(J.to,Ye).then(ie=>{kl(ie,20)&&!de.delta&&de.type===Fh.pop&&n.go(-1,!1)}).catch(K1),Promise.reject()):(de.delta&&n.go(-de.delta,!1),Fe(J,Ye,nt))).then(J=>{J=J||oe(Ye,nt,!1),J&&(de.delta&&!kl(J,8)?n.go(-de.delta,!1):de.type===Fh.pop&&kl(J,20)&&n.go(-1,!1)),ae(Ye,nt,J)}).catch(K1)}))}let Ue=N1(),ve=N1(),fe;function Fe(se,Pe,de){Re(se);const Ye=ve.list();return Ye.length?Ye.forEach(gt=>gt(se,Pe,de)):console.error(se),Promise.reject(se)}function Oe(){return fe&&b.value!==Dc?Promise.resolve():new Promise((se,Pe)=>{Ue.add([se,Pe])})}function Re(se){return fe||(fe=!se,Ee(),Ue.list().forEach(([Pe,de])=>se?de(se):Pe()),Ue.reset()),se}function ce(se,Pe,de,Ye){const{scrollBehavior:gt}=t;if(!q0||!gt)return Promise.resolve();const nt=!de&&oR(UD(se.fullPath,0))||(Ye||!de)&&history.state&&history.state.scroll||null;return va().then(()=>gt(se,Pe,nt)).then(J=>J&&iR(J)).catch(J=>Fe(J,se,Pe))}const we=se=>n.go(se);let We;const ke=new Set,ge={currentRoute:b,listening:!0,addRoute:O,removeRoute:N,clearRoutes:r.clearRoutes,hasRoute:V,getRoutes:B,resolve:G,options:t,push:z,replace:Y,go:we,back:()=>we(-1),forward:()=>we(1),beforeEach:e.add,beforeResolve:f.add,afterEach:v.add,onError:ve.add,isReady:Oe,install(se){const Pe=this;se.component("RouterLink",OR),se.component("RouterView",NR),se.config.globalProperties.$router=Pe,Object.defineProperty(se.config.globalProperties,"$route",{enumerable:!0,get:()=>Zt(b)}),q0&&!We&&b.value===Dc&&(We=!0,z(n.location).catch(gt=>{}));const de={};for(const gt in Dc)Object.defineProperty(de,gt,{get:()=>b.value[gt],enumerable:!0});se.provide(lb,Pe),se.provide(M3,l3(de)),se.provide(k4,b);const Ye=se.unmount;ke.add(se),se.unmount=function(){ke.delete(se),ke.size<1&&(D=Dc,be&&be(),be=null,b.value=Dc,We=!1,fe=!1),Ye()}}};function Ie(se){return se.reduce((Pe,de)=>Pe.then(()=>I(de)),Promise.resolve())}return ge}function LR(t,r){const s=[],a=[],n=[],e=Math.max(r.matched.length,t.matched.length);for(let f=0;f<e;f++){const v=r.matched[f];v&&(t.matched.find(D=>Eh(D,v))?a.push(v):s.push(v));const b=t.matched[f];b&&(r.matched.find(D=>Eh(D,b))||n.push(b))}return[s,a,n]}function BR(){return Pi(lb)}function bT(t){return Pi(M3)}const UR=new Set(["title","titleTemplate","script","style","noscript"]),$2=new Set(["base","meta","link","style","script","noscript"]),HR=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),$R=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),_T=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),WR=typeof window<"u";function gv(t){let r=9;for(let s=0;s<t.length;)r=Math.imul(r^t.charCodeAt(s++),9**9);return((r^r>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function O4(t){if(t._h)return t._h;if(t._d)return gv(t._d);let r=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const s in t.props)r+=`${s}:${String(t.props[s])},`;return gv(r)}function zR(t,r){return t instanceof Promise?t.then(r):r(t)}function R4(t,r,s,a){const n=a||wT(typeof r=="object"&&typeof r!="function"&&!(r instanceof Promise)?{...r}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:r},t==="templateParams"||t==="titleTemplate");if(n instanceof Promise)return n.then(f=>R4(t,r,s,f));const e={tag:t,props:n};for(const f of _T){const v=e.props[f]!==void 0?e.props[f]:s[f];v!==void 0&&((!(f==="innerHTML"||f==="textContent"||f==="children")||UR.has(e.tag))&&(e[f==="children"?"innerHTML":f]=v),delete e.props[f])}return e.props.body&&(e.tagPosition="bodyClose",delete e.props.body),e.tag==="script"&&typeof e.innerHTML=="object"&&(e.innerHTML=JSON.stringify(e.innerHTML),e.props.type=e.props.type||"application/json"),Array.isArray(e.props.content)?e.props.content.map(f=>({...e,props:{...e.props,content:f}})):e}function VR(t,r){var a;const s=t==="class"?" ":";";return r&&typeof r=="object"&&!Array.isArray(r)&&(r=Object.entries(r).filter(([,n])=>n).map(([n,e])=>t==="style"?`${n}:${e}`:n)),(a=String(Array.isArray(r)?r.join(s):r))==null?void 0:a.split(s).filter(n=>!!n.trim()).join(s)}function yT(t,r,s,a){for(let n=a;n<s.length;n+=1){const e=s[n];if(e==="class"||e==="style"){t[e]=VR(e,t[e]);continue}if(t[e]instanceof Promise)return t[e].then(f=>(t[e]=f,yT(t,r,s,n)));if(!r&&!_T.has(e)){const f=String(t[e]),v=e.startsWith("data-");f==="true"||f===""?t[e]=v?"true":!0:t[e]||(v&&f==="false"?t[e]="false":delete t[e])}}}function wT(t,r=!1){const s=yT(t,r,Object.keys(t),0);return s instanceof Promise?s.then(()=>t):t}const GR=10;function DT(t,r,s){for(let a=s;a<r.length;a+=1){const n=r[a];if(n instanceof Promise)return n.then(e=>(r[a]=e,DT(t,r,a)));Array.isArray(n)?t.push(...n):t.push(n)}}function jR(t){const r=[],s=t.resolvedInput;for(const n in s){if(!Object.prototype.hasOwnProperty.call(s,n))continue;const e=s[n];if(!(e===void 0||!HR.has(n))){if(Array.isArray(e)){for(const f of e)r.push(R4(n,f,t));continue}r.push(R4(n,e,t))}}if(r.length===0)return[];const a=[];return zR(DT(a,r,0),()=>a.map((n,e)=>(n._e=t._i,t.mode&&(n._m=t.mode),n._p=(t._i<<GR)+e,n)))}const eE=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),tE={base:-10,title:10},rE={critical:-80,high:-10,low:20};function vv(t){const r=t.tagPriority;if(typeof r=="number")return r;let s=100;return t.tag==="meta"?t.props["http-equiv"]==="content-security-policy"?s=-30:t.props.charset?s=-20:t.props.name==="viewport"&&(s=-15):t.tag==="link"&&t.props.rel==="preconnect"?s=20:t.tag in tE&&(s=tE[t.tag]),r&&r in rE?s+rE[r]:s}const YR=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],KR=["name","property","http-equiv"];function ET(t){const{props:r,tag:s}=t;if($R.has(s))return s;if(s==="link"&&r.rel==="canonical")return"canonical";if(r.charset)return"charset";if(r.id)return`${s}:id:${r.id}`;for(const a of KR)if(r[a]!==void 0)return`${s}:${a}:${r[a]}`;return!1}const Ic="%separator";function qR(t,r){var a;let s;if(r==="s"||r==="pageTitle")s=t.pageTitle;else if(r.includes(".")){const n=r.indexOf(".");s=(a=t[r.substring(0,n)])==null?void 0:a[r.substring(n+1)]}else s=t[r];return s!==void 0?(s||"").replace(/"/g,'\\"'):void 0}const QR=new RegExp(`${Ic}(?:\\s*${Ic})*`,"g");function _2(t,r,s){if(typeof t!="string"||!t.includes("%"))return t;let a=t;try{a=decodeURI(t)}catch{}const n=a.match(/%\w+(?:\.\w+)?/g);if(!n)return t;const e=t.includes(Ic);return t=t.replace(/%\w+(?:\.\w+)?/g,f=>{if(f===Ic||!n.includes(f))return f;const v=qR(r,f.slice(1));return v!==void 0?v:f}).trim(),e&&(t.endsWith(Ic)&&(t=t.slice(0,-Ic.length)),t.startsWith(Ic)&&(t=t.slice(Ic.length)),t=t.replace(QR,s).trim()),t}function nE(t,r){return t==null?r||null:typeof t=="function"?t(r):t}async function XR(t,r={}){const s=r.document||t.resolvedOptions.document;if(!s||!t.dirty)return;const a={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",a),!!a.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async n=>{var T;const e=(await t.resolveTags()).map(C=>({tag:C,id:$2.has(C.tag)?O4(C):C.tag,shouldRender:!0}));let f=t._dom;if(!f){f={elMap:{htmlAttrs:s.documentElement,bodyAttrs:s.body}};const C=new Set;for(const O of["body","head"]){const N=(T=s[O])==null?void 0:T.children;for(const B of N){const V=B.tagName.toLowerCase();if(!$2.has(V))continue;const G={tag:V,props:await wT(B.getAttributeNames().reduce((Y,ee)=>({...Y,[ee]:B.getAttribute(ee)}),{})),innerHTML:B.innerHTML},X=ET(G);let H=X,z=1;for(;H&&C.has(H);)H=`${X}:${z++}`;H&&(G._d=H,C.add(H)),f.elMap[B.getAttribute("data-hid")||O4(G)]=B}}}f.pendingSideEffects={...f.sideEffects},f.sideEffects={};function v(C,O,N){const B=`${C}:${O}`;f.sideEffects[B]=N,delete f.pendingSideEffects[B]}function b({id:C,$el:O,tag:N}){const B=N.tag.endsWith("Attrs");if(f.elMap[C]=O,B||(N.textContent&&N.textContent!==O.textContent&&(O.textContent=N.textContent),N.innerHTML&&N.innerHTML!==O.innerHTML&&(O.innerHTML=N.innerHTML),v(C,"el",()=>{var V;(V=f.elMap[C])==null||V.remove(),delete f.elMap[C]})),N._eventHandlers)for(const V in N._eventHandlers)Object.prototype.hasOwnProperty.call(N._eventHandlers,V)&&O.getAttribute(`data-${V}`)!==""&&((N.tag==="bodyAttrs"?s.defaultView:O).addEventListener(V.substring(2),N._eventHandlers[V].bind(O)),O.setAttribute(`data-${V}`,""));for(const V in N.props){if(!Object.prototype.hasOwnProperty.call(N.props,V))continue;const G=N.props[V],X=`attr:${V}`;if(V==="class"){if(!G)continue;for(const H of G.split(" "))B&&v(C,`${X}:${H}`,()=>O.classList.remove(H)),!O.classList.contains(H)&&O.classList.add(H)}else if(V==="style"){if(!G)continue;for(const H of G.split(";")){const z=H.indexOf(":"),Y=H.substring(0,z).trim(),ee=H.substring(z+1).trim();v(C,`${X}:${Y}`,()=>{O.style.removeProperty(Y)}),O.style.setProperty(Y,ee)}}else O.getAttribute(V)!==G&&O.setAttribute(V,G===!0?"":String(G)),B&&v(C,X,()=>O.removeAttribute(V))}}const D=[],F={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const C of e){const{tag:O,shouldRender:N,id:B}=C;if(N){if(O.tag==="title"){s.title=O.textContent;continue}C.$el=C.$el||f.elMap[B],C.$el?b(C):$2.has(O.tag)&&D.push(C)}}for(const C of D){const O=C.tag.tagPosition||"head";C.$el=s.createElement(C.tag.tag),b(C),F[O]=F[O]||s.createDocumentFragment(),F[O].appendChild(C.$el)}for(const C of e)await t.hooks.callHook("dom:renderTag",C,s,v);F.head&&s.head.appendChild(F.head),F.bodyOpen&&s.body.insertBefore(F.bodyOpen,s.body.firstChild),F.bodyClose&&s.body.appendChild(F.bodyClose);for(const C in f.pendingSideEffects)f.pendingSideEffects[C]();t._dom=f,await t.hooks.callHook("dom:rendered",{renders:e}),n()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function JR(t,r={}){const s=r.delayFn||(a=>setTimeout(a,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(a=>s(()=>XR(t,r).then(()=>{delete t._domDebouncedUpdatePromise,a()})))}function ZR(t){return r=>{var a,n;const s=((n=(a=r.resolvedOptions.document)==null?void 0:a.head.querySelector('script[id="unhead:payload"]'))==null?void 0:n.innerHTML)||!1;return s&&r.push(JSON.parse(s)),{mode:"client",hooks:{"entries:updated":e=>{JR(e,t)}}}}}function I4(t,r={},s){for(const a in t){const n=t[a],e=s?`${s}:${a}`:a;typeof n=="object"&&n!==null?I4(n,r,e):typeof n=="function"&&(r[e]=n)}return r}const e9={run:t=>t()},t9=()=>e9,FT=typeof console.createTask<"u"?console.createTask:t9;function r9(t,r){const s=r.shift(),a=FT(s);return t.reduce((n,e)=>n.then(()=>a.run(()=>e(...r))),Promise.resolve())}function n9(t,r){const s=r.shift(),a=FT(s);return Promise.all(t.map(n=>a.run(()=>n(...r))))}function Cy(t,r){for(const s of[...t])s(r)}class s9{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(r,s,a={}){if(!r||typeof s!="function")return()=>{};const n=r;let e;for(;this._deprecatedHooks[r];)e=this._deprecatedHooks[r],r=e.to;if(e&&!a.allowDeprecated){let f=e.message;f||(f=`${n} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(f)||(console.warn(f),this._deprecatedMessages.add(f))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(s),()=>{s&&(this.removeHook(r,s),s=void 0)}}hookOnce(r,s){let a,n=(...e)=>(typeof a=="function"&&a(),a=void 0,n=void 0,s(...e));return a=this.hook(r,n),a}removeHook(r,s){if(this._hooks[r]){const a=this._hooks[r].indexOf(s);a!==-1&&this._hooks[r].splice(a,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,s){this._deprecatedHooks[r]=typeof s=="string"?{to:s}:s;const a=this._hooks[r]||[];delete this._hooks[r];for(const n of a)this.hook(r,n)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const s in r)this.deprecateHook(s,r[s])}addHooks(r){const s=I4(r),a=Object.keys(s).map(n=>this.hook(n,s[n]));return()=>{for(const n of a.splice(0,a.length))n()}}removeHooks(r){const s=I4(r);for(const a in s)this.removeHook(a,s[a])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...s){return s.unshift(r),this.callHookWith(r9,r,...s)}callHookParallel(r,...s){return s.unshift(r),this.callHookWith(n9,r,...s)}callHookWith(r,s,...a){const n=this._before||this._after?{name:s,args:a,context:{}}:void 0;this._before&&Cy(this._before,n);const e=r(s in this._hooks?[...this._hooks[s]]:[],a);return e instanceof Promise?e.finally(()=>{this._after&&n&&Cy(this._after,n)}):(this._after&&n&&Cy(this._after,n),e)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const s=this._before.indexOf(r);s!==-1&&this._before.splice(s,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const s=this._after.indexOf(r);s!==-1&&this._after.splice(s,1)}}}}function i9(){return new s9}const a9=new Set(["templateParams","htmlAttrs","bodyAttrs"]),o9={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const r=ET(t);r&&!r.startsWith("meta:og:")&&!r.startsWith("meta:twitter:")&&delete t.key;const s=r||(t.key?`${t.tag}:${t.key}`:!1);s&&(t._d=s)},"tags:resolve":t=>{const r=Object.create(null);for(const a of t.tags){const n=(a.key?`${a.tag}:${a.key}`:a._d)||O4(a),e=r[n];if(e){let v=a==null?void 0:a.tagDuplicateStrategy;if(!v&&a9.has(a.tag)&&(v="merge"),v==="merge"){const b=e.props;b.style&&a.props.style&&(b.style[b.style.length-1]!==";"&&(b.style+=";"),a.props.style=`${b.style} ${a.props.style}`),b.class&&a.props.class?a.props.class=`${b.class} ${a.props.class}`:b.class&&(a.props.class=b.class),r[n].props={...b,...a.props};continue}else if(a._e===e._e){e._duped=e._duped||[],a._d=`${e._d}:${e._duped.length+1}`,e._duped.push(a);continue}else if(vv(a)>vv(e))continue}if(!(a.innerHTML||a.textContent||Object.keys(a.props).length!==0)&&$2.has(a.tag)){delete r[n];continue}r[n]=a}const s=[];for(const a in r){const n=r[a],e=n._duped;s.push(n),e&&(delete n._duped,s.push(...e))}t.tags=s,t.tags=t.tags.filter(a=>!(a.tag==="meta"&&(a.props.name||a.props.property)&&!a.props.content))}}},l9=new Set(["script","link","bodyAttrs"]),c9=t=>({hooks:{"tags:resolve":r=>{for(const s of r.tags){if(!l9.has(s.tag))continue;const a=s.props;for(const n in a){if(n[0]!=="o"||n[1]!=="n"||!Object.prototype.hasOwnProperty.call(a,n))continue;const e=a[n];typeof e=="function"&&(t.ssr&&eE.has(n)?a[n]=`this.dataset.${n}fired = true`:delete a[n],s._eventHandlers=s._eventHandlers||{},s._eventHandlers[n]=e)}t.ssr&&s._eventHandlers&&(s.props.src||s.props.href)&&(s.key=s.key||gv(s.props.src||s.props.href))}},"dom:renderTag":({$el:r,tag:s})=>{var n,e;const a=r==null?void 0:r.dataset;if(a)for(const f in a){if(!f.endsWith("fired"))continue;const v=f.slice(0,-5);eE.has(v)&&((e=(n=s._eventHandlers)==null?void 0:n[v])==null||e.call(r,new Event(v.substring(2))))}}}}),u9=new Set(["link","style","script","noscript"]),f9={hooks:{"tag:normalise":({tag:t})=>{t.key&&u9.has(t.tag)&&(t.props["data-hid"]=t._h=gv(t.key))}}},h9={mode:"server",hooks:{"tags:beforeResolve":t=>{const r={};let s=!1;for(const a of t.tags)a._m!=="server"||a.tag!=="titleTemplate"&&a.tag!=="templateParams"&&a.tag!=="title"||(r[a.tag]=a.tag==="title"||a.tag==="titleTemplate"?a.textContent:a.props,s=!0);s&&t.tags.push({tag:"script",innerHTML:JSON.stringify(r),props:{id:"unhead:payload",type:"application/json"}})}}},d9={hooks:{"tags:resolve":t=>{var r;for(const s of t.tags)if(typeof s.tagPriority=="string")for(const{prefix:a,offset:n}of YR){if(!s.tagPriority.startsWith(a))continue;const e=s.tagPriority.substring(a.length),f=(r=t.tags.find(v=>v._d===e))==null?void 0:r._p;if(f!==void 0){s._p=f+n;break}}t.tags.sort((s,a)=>{const n=vv(s),e=vv(a);return n<e?-1:n>e?1:s._p-a._p})}}},p9={meta:"content",link:"href",htmlAttrs:"lang"},m9=["innerHTML","textContent"],g9=t=>({hooks:{"tags:resolve":r=>{var f;const{tags:s}=r;let a;for(let v=0;v<s.length;v+=1)s[v].tag==="templateParams"&&(a=r.tags.splice(v,1)[0].props,v-=1);const n=a||{},e=n.separator||"|";delete n.separator,n.pageTitle=_2(n.pageTitle||((f=s.find(v=>v.tag==="title"))==null?void 0:f.textContent)||"",n,e);for(const v of s){if(v.processTemplateParams===!1)continue;const b=p9[v.tag];if(b&&typeof v.props[b]=="string")v.props[b]=_2(v.props[b],n,e);else if(v.processTemplateParams||v.tag==="titleTemplate"||v.tag==="title")for(const D of m9)typeof v[D]=="string"&&(v[D]=_2(v[D],n,e))}t._templateParams=n,t._separator=e},"tags:afterResolve":({tags:r})=>{let s;for(let a=0;a<r.length;a+=1){const n=r[a];n.tag==="title"&&n.processTemplateParams!==!1&&(s=n)}s!=null&&s.textContent&&(s.textContent=_2(s.textContent,t._templateParams,t._separator))}}}),v9={hooks:{"tags:resolve":t=>{const{tags:r}=t;let s,a;for(let n=0;n<r.length;n+=1){const e=r[n];e.tag==="title"?s=e:e.tag==="titleTemplate"&&(a=e)}if(a&&s){const n=nE(a.textContent,s.textContent);n!==null?s.textContent=n||s.textContent:t.tags.splice(t.tags.indexOf(s),1)}else if(a){const n=nE(a.textContent);n!==null&&(a.textContent=n,a.tag="title",a=void 0)}a&&t.tags.splice(t.tags.indexOf(a),1)}}},b9={hooks:{"tags:afterResolve":t=>{for(const r of t.tags)typeof r.innerHTML=="string"&&(r.innerHTML&&(r.props.type==="application/ld+json"||r.props.type==="application/json")?r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"):r.innerHTML=r.innerHTML.replace(new RegExp(`</${r.tag}`,"g"),`<\\/${r.tag}`))}}};let TT;function _9(t={}){const r=y9(t);return r.use(ZR()),TT=r}function sE(t,r){return!t||t==="server"&&r||t==="client"&&!r}function y9(t={}){const r=i9();r.addHooks(t.hooks||{}),t.document=t.document||(WR?document:void 0);const s=!t.document,a=()=>{v.dirty=!0,r.callHook("entries:updated",v)};let n=0,e=[];const f=[],v={plugins:f,dirty:!1,resolvedOptions:t,hooks:r,headEntries(){return e},use(b){const D=typeof b=="function"?b(v):b;(!D.key||!f.some(F=>F.key===D.key))&&(f.push(D),sE(D.mode,s)&&r.addHooks(D.hooks||{}))},push(b,D){D==null||delete D.head;const F={_i:n++,input:b,...D};return sE(F.mode,s)&&(e.push(F),a()),{dispose(){e=e.filter(T=>T._i!==F._i),a()},patch(T){for(const C of e)C._i===F._i&&(C.input=F.input=T);a()}}},async resolveTags(){const b={tags:[],entries:[...e]};await r.callHook("entries:resolve",b);for(const D of b.entries){const F=D.resolvedInput||D.input;if(D.resolvedInput=await(D.transform?D.transform(F):F),D.resolvedInput)for(const T of await jR(D)){const C={tag:T,entry:D,resolvedOptions:v.resolvedOptions};await r.callHook("tag:normalise",C),b.tags.push(C.tag)}}return await r.callHook("tags:beforeResolve",b),await r.callHook("tags:resolve",b),await r.callHook("tags:afterResolve",b),b.tags},ssr:s};return[o9,h9,c9,f9,d9,g9,v9,b9,...(t==null?void 0:t.plugins)||[]].forEach(b=>v.use(b)),v.hooks.callHook("init",v),v}function w9(){return TT}const D9=S3[0]==="3";function E9(t){return typeof t=="function"?t():Zt(t)}function bv(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const r=E9(t);if(!t||!r)return r;if(Array.isArray(r))return r.map(s=>bv(s));if(typeof r=="object"){const s={};for(const a in r)if(Object.prototype.hasOwnProperty.call(r,a)){if(a==="titleTemplate"||a[0]==="o"&&a[1]==="n"){s[a]=Zt(r[a]);continue}s[a]=bv(r[a])}return s}return r}const F9={hooks:{"entries:resolve":t=>{for(const r of t.entries)r.resolvedInput=bv(r.input)}}},xT="usehead";function T9(t){return{install(s){D9&&(s.config.globalProperties.$unhead=t,s.config.globalProperties.$head=t,s.provide(xT,t))}}.install}function x9(t={}){t.domDelayFn=t.domDelayFn||(s=>va(()=>setTimeout(()=>s(),0)));const r=_9(t);return r.use(F9),r.install=T9(r),r}const iE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},aE="__unhead_injection_handler__";function A9(){if(aE in iE)return iE[aE]();const t=Pi(xT);return t||w9()}function C9(t,r={}){const s=r.head||A9();if(s)return s.ssr?s.push(t,r):S9(s,t,r)}function S9(t,r,s={}){const a=er(!1),n=er({});T3(()=>{n.value=a.value?{}:bv(r)});const e=t.push(n.value,s);return In(n,v=>{e.patch(v)}),xs()&&(Ph(()=>{e.dispose()}),v3(()=>{a.value=!0}),g3(()=>{a.value=!1})),e}function k9(t){try{return JSON.parse(t||"{}")}catch(r){return console.error("[SSG] On state deserialization -",r,t),{}}}function O9(t){return document.readyState==="loading"?new Promise(r=>{document.addEventListener("DOMContentLoaded",()=>r(t))}):Promise.resolve(t)}const R9=us({setup(t,{slots:r}){const s=er(!1);return mo(()=>s.value=!0),()=>s.value?r.default&&r.default({}):r.placeholder&&r.placeholder({})}});function I9(t,r,s,a={}){const{transformState:n,registerComponents:e=!0,useHead:f=!0,rootContainer:v="#app"}=a,b=typeof window<"u";async function D(F=!1,T){const C=F?pp(t):R3(t);let O;f&&(O=x9(),C.use(O));const N=MR({history:F?fR(r.base):hR(r.base),...r}),{routes:B}=r;e&&C.component("ClientOnly",R9);const V=[],H={app:C,head:O,isClient:b,router:N,routes:B,onSSRAppRendered:F?()=>{}:K=>V.push(K),triggerOnSSRAppRendered:()=>Promise.all(V.map(K=>K())),initialState:{},transformState:n,routePath:T};F&&(await O9(),H.initialState=(n==null?void 0:n(window.__INITIAL_STATE__||{}))||k9(window.__INITIAL_STATE__)),await(s==null?void 0:s(H)),C.use(N);let z,Y=!0;if(N.beforeEach((K,P,I)=>{(Y||z&&z===K.path)&&(Y=!1,z=K.path,K.meta.state=H.initialState),I()}),!F){const K=H.routePath??"/";N.push(K),await N.isReady(),H.initialState=N.currentRoute.value.meta.state||{}}const ee=H.initialState;return{...H,initialState:ee}}return b&&(async()=>{const{app:F,router:T}=await D(!0);await T.isReady(),F.mount(v,!0)})(),D}var P9=function(){function t(r,s){s===void 0&&(s=[]),this._eventType=r,this._eventFunctions=s}return t.prototype.init=function(){var r=this;this._eventFunctions.forEach(function(s){typeof window<"u"&&window.addEventListener(r._eventType,s)})},t}(),_v=globalThis&&globalThis.__assign||function(){return _v=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},_v.apply(this,arguments)},yv={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},AT=function(){function t(r,s){r===void 0&&(r=[]),s===void 0&&(s=yv),this._items=r,this._options=_v(_v({},yv),s),this._init()}return t.prototype._init=function(){var r=this;this._items.length&&this._items.map(function(s){s.active&&r.open(s.id),s.triggerEl.addEventListener("click",function(){r.toggle(s.id)})})},t.prototype.getItem=function(r){return this._items.filter(function(s){return s.id===r})[0]},t.prototype.open=function(r){var s,a,n=this,e=this.getItem(r);this._options.alwaysOpen||this._items.map(function(f){var v,b;f!==e&&((v=f.triggerEl.classList).remove.apply(v,n._options.activeClasses.split(" ")),(b=f.triggerEl.classList).add.apply(b,n._options.inactiveClasses.split(" ")),f.targetEl.classList.add("hidden"),f.triggerEl.setAttribute("aria-expanded","false"),f.active=!1,f.iconEl&&f.iconEl.classList.remove("rotate-180"))}),(s=e.triggerEl.classList).add.apply(s,this._options.activeClasses.split(" ")),(a=e.triggerEl.classList).remove.apply(a,this._options.inactiveClasses.split(" ")),e.triggerEl.setAttribute("aria-expanded","true"),e.targetEl.classList.remove("hidden"),e.active=!0,e.iconEl&&e.iconEl.classList.add("rotate-180"),this._options.onOpen(this,e)},t.prototype.toggle=function(r){var s=this.getItem(r);s.active?this.close(r):this.open(r),this._options.onToggle(this,s)},t.prototype.close=function(r){var s,a,n=this.getItem(r);(s=n.triggerEl.classList).remove.apply(s,this._options.activeClasses.split(" ")),(a=n.triggerEl.classList).add.apply(a,this._options.inactiveClasses.split(" ")),n.targetEl.classList.add("hidden"),n.triggerEl.setAttribute("aria-expanded","false"),n.active=!1,n.iconEl&&n.iconEl.classList.remove("rotate-180"),this._options.onClose(this,n)},t}();function L3(){document.querySelectorAll("[data-accordion]").forEach(function(t){var r=t.getAttribute("data-accordion"),s=t.getAttribute("data-active-classes"),a=t.getAttribute("data-inactive-classes"),n=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var f={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),iconEl:e.querySelector("[data-accordion-icon]"),active:e.getAttribute("aria-expanded")==="true"};n.push(f)}}),new AT(n,{alwaysOpen:r==="open",activeClasses:s||yv.activeClasses,inactiveClasses:a||yv.inactiveClasses})})}typeof window<"u"&&(window.Accordion=AT,window.initAccordions=L3);var wv=globalThis&&globalThis.__assign||function(){return wv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},wv.apply(this,arguments)},oE={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},CT=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=oE),this._targetEl=r,this._triggerEl=s,this._options=wv(wv({},oE),a),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){r.toggle()}))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function B3(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var r=t.getAttribute("data-collapse-toggle"),s=document.getElementById(r);s?new CT(s,t):console.error('The target element with id "'.concat(r,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=CT,window.initCollapses=B3);var ff=globalThis&&globalThis.__assign||function(){return ff=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ff.apply(this,arguments)},W2={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},ST=function(){function t(r,s){r===void 0&&(r=[]),s===void 0&&(s=W2),this._items=r,this._options=ff(ff(ff({},W2),s),{indicators:ff(ff({},W2.indicators),s.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return t.prototype._init=function(){var r=this;this._items.map(function(s){s.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(s,a){s.el.addEventListener("click",function(){r.slideTo(a)})})},t.prototype.getItem=function(r){return this._items[r]},t.prototype.slideTo=function(r){var s=this._items[r],a={left:s.position===0?this._items[this._items.length-1]:this._items[s.position-1],middle:s,right:s.position===this._items.length-1?this._items[0]:this._items[s.position+1]};this._rotate(a),this._setActiveItem(s),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var r=this._getActiveItem(),s=null;r.position===this._items.length-1?s=this._items[0]:s=this._items[r.position+1],this.slideTo(s.position),this._options.onNext(this)},t.prototype.prev=function(){var r=this._getActiveItem(),s=null;r.position===0?s=this._items[this._items.length-1]:s=this._items[r.position-1],this.slideTo(s.position),this._options.onPrev(this)},t.prototype._rotate=function(r){this._items.map(function(s){s.el.classList.add("hidden")}),r.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),r.left.el.classList.add("-translate-x-full","z-10"),r.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),r.middle.el.classList.add("translate-x-0","z-20"),r.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),r.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var r=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){r.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(r){var s,a,n=this;this._activeItem=r;var e=r.position;this._indicators.length&&(this._indicators.map(function(f){var v,b;f.el.setAttribute("aria-current","false"),(v=f.el.classList).remove.apply(v,n._options.indicators.activeClasses.split(" ")),(b=f.el.classList).add.apply(b,n._options.indicators.inactiveClasses.split(" "))}),(s=this._indicators[e].el.classList).add.apply(s,this._options.indicators.activeClasses.split(" ")),(a=this._indicators[e].el.classList).remove.apply(a,this._options.indicators.inactiveClasses.split(" ")),this._indicators[e].el.setAttribute("aria-current","true"))},t}();function U3(){document.querySelectorAll("[data-carousel]").forEach(function(t){var r=t.getAttribute("data-carousel-interval"),s=t.getAttribute("data-carousel")==="slide",a=[],n=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(D,F){a.push({position:F,el:D}),D.getAttribute("data-carousel-item")==="active"&&(n=F)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(D){e.push({position:parseInt(D.getAttribute("data-carousel-slide-to")),el:D})});var f=new ST(a,{defaultPosition:n,indicators:{items:e},interval:r||W2.interval});s&&f.cycle();var v=t.querySelector("[data-carousel-next]"),b=t.querySelector("[data-carousel-prev]");v&&v.addEventListener("click",function(){f.next()}),b&&b.addEventListener("click",function(){f.prev()})})}typeof window<"u"&&(window.Carousel=ST,window.initCarousels=U3);var Dv=globalThis&&globalThis.__assign||function(){return Dv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Dv.apply(this,arguments)},lE={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},kT=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=lE),this._targetEl=r,this._triggerEl=s,this._options=Dv(Dv({},lE),a),this._init()}return t.prototype._init=function(){var r=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){r.hide()})},t.prototype.hide=function(){var r=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){r._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function H3(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var r=t.getAttribute("data-dismiss-target"),s=document.querySelector(r);s?new kT(s,t):console.error('The dismiss element with id "'.concat(r,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=kT,window.initDismisses=H3);var Qi="top",$a="bottom",Wa="right",Xi="left",$3="auto",Lp=[Qi,$a,Wa,Xi],xh="start",vp="end",N9="clippingParents",OT="viewport",M1="popper",M9="reference",cE=Lp.reduce(function(t,r){return t.concat([r+"-"+xh,r+"-"+vp])},[]),RT=[].concat(Lp,[$3]).reduce(function(t,r){return t.concat([r,r+"-"+xh,r+"-"+vp])},[]),L9="beforeRead",B9="read",U9="afterRead",H9="beforeMain",$9="main",W9="afterMain",z9="beforeWrite",V9="write",G9="afterWrite",j9=[L9,B9,U9,H9,$9,W9,z9,V9,G9];function Zo(t){return t?(t.nodeName||"").toLowerCase():null}function ga(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function Tf(t){var r=ga(t).Element;return t instanceof r||t instanceof Element}function La(t){var r=ga(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function W3(t){if(typeof ShadowRoot>"u")return!1;var r=ga(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function Y9(t){var r=t.state;Object.keys(r.elements).forEach(function(s){var a=r.styles[s]||{},n=r.attributes[s]||{},e=r.elements[s];!La(e)||!Zo(e)||(Object.assign(e.style,a),Object.keys(n).forEach(function(f){var v=n[f];v===!1?e.removeAttribute(f):e.setAttribute(f,v===!0?"":v)}))})}function K9(t){var r=t.state,s={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,s.popper),r.styles=s,r.elements.arrow&&Object.assign(r.elements.arrow.style,s.arrow),function(){Object.keys(r.elements).forEach(function(a){var n=r.elements[a],e=r.attributes[a]||{},f=Object.keys(r.styles.hasOwnProperty(a)?r.styles[a]:s[a]),v=f.reduce(function(b,D){return b[D]="",b},{});!La(n)||!Zo(n)||(Object.assign(n.style,v),Object.keys(e).forEach(function(b){n.removeAttribute(b)}))})}}const q9={name:"applyStyles",enabled:!0,phase:"write",fn:Y9,effect:K9,requires:["computeStyles"]};function Yo(t){return t.split("-")[0]}var wf=Math.max,Ev=Math.min,Ah=Math.round;function P4(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function IT(){return!/^((?!chrome|android).)*safari/i.test(P4())}function Ch(t,r,s){r===void 0&&(r=!1),s===void 0&&(s=!1);var a=t.getBoundingClientRect(),n=1,e=1;r&&La(t)&&(n=t.offsetWidth>0&&Ah(a.width)/t.offsetWidth||1,e=t.offsetHeight>0&&Ah(a.height)/t.offsetHeight||1);var f=Tf(t)?ga(t):window,v=f.visualViewport,b=!IT()&&s,D=(a.left+(b&&v?v.offsetLeft:0))/n,F=(a.top+(b&&v?v.offsetTop:0))/e,T=a.width/n,C=a.height/e;return{width:T,height:C,top:F,right:D+T,bottom:F+C,left:D,x:D,y:F}}function z3(t){var r=Ch(t),s=t.offsetWidth,a=t.offsetHeight;return Math.abs(r.width-s)<=1&&(s=r.width),Math.abs(r.height-a)<=1&&(a=r.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:a}}function PT(t,r){var s=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(s&&W3(s)){var a=r;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Yl(t){return ga(t).getComputedStyle(t)}function Q9(t){return["table","td","th"].indexOf(Zo(t))>=0}function nu(t){return((Tf(t)?t.ownerDocument:t.document)||window.document).documentElement}function cb(t){return Zo(t)==="html"?t:t.assignedSlot||t.parentNode||(W3(t)?t.host:null)||nu(t)}function uE(t){return!La(t)||Yl(t).position==="fixed"?null:t.offsetParent}function X9(t){var r=/firefox/i.test(P4()),s=/Trident/i.test(P4());if(s&&La(t)){var a=Yl(t);if(a.position==="fixed")return null}var n=cb(t);for(W3(n)&&(n=n.host);La(n)&&["html","body"].indexOf(Zo(n))<0;){var e=Yl(n);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||r&&e.willChange==="filter"||r&&e.filter&&e.filter!=="none")return n;n=n.parentNode}return null}function Bp(t){for(var r=ga(t),s=uE(t);s&&Q9(s)&&Yl(s).position==="static";)s=uE(s);return s&&(Zo(s)==="html"||Zo(s)==="body"&&Yl(s).position==="static")?r:s||X9(t)||r}function V3(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function q1(t,r,s){return wf(t,Ev(r,s))}function J9(t,r,s){var a=q1(t,r,s);return a>s?s:a}function NT(){return{top:0,right:0,bottom:0,left:0}}function MT(t){return Object.assign({},NT(),t)}function LT(t,r){return r.reduce(function(s,a){return s[a]=t,s},{})}var Z9=function(r,s){return r=typeof r=="function"?r(Object.assign({},s.rects,{placement:s.placement})):r,MT(typeof r!="number"?r:LT(r,Lp))};function eI(t){var r,s=t.state,a=t.name,n=t.options,e=s.elements.arrow,f=s.modifiersData.popperOffsets,v=Yo(s.placement),b=V3(v),D=[Xi,Wa].indexOf(v)>=0,F=D?"height":"width";if(!(!e||!f)){var T=Z9(n.padding,s),C=z3(e),O=b==="y"?Qi:Xi,N=b==="y"?$a:Wa,B=s.rects.reference[F]+s.rects.reference[b]-f[b]-s.rects.popper[F],V=f[b]-s.rects.reference[b],G=Bp(e),X=G?b==="y"?G.clientHeight||0:G.clientWidth||0:0,H=B/2-V/2,z=T[O],Y=X-C[F]-T[N],ee=X/2-C[F]/2+H,K=q1(z,ee,Y),P=b;s.modifiersData[a]=(r={},r[P]=K,r.centerOffset=K-ee,r)}}function tI(t){var r=t.state,s=t.options,a=s.element,n=a===void 0?"[data-popper-arrow]":a;n!=null&&(typeof n=="string"&&(n=r.elements.popper.querySelector(n),!n)||PT(r.elements.popper,n)&&(r.elements.arrow=n))}const rI={name:"arrow",enabled:!0,phase:"main",fn:eI,effect:tI,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Sh(t){return t.split("-")[1]}var nI={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sI(t,r){var s=t.x,a=t.y,n=r.devicePixelRatio||1;return{x:Ah(s*n)/n||0,y:Ah(a*n)/n||0}}function fE(t){var r,s=t.popper,a=t.popperRect,n=t.placement,e=t.variation,f=t.offsets,v=t.position,b=t.gpuAcceleration,D=t.adaptive,F=t.roundOffsets,T=t.isFixed,C=f.x,O=C===void 0?0:C,N=f.y,B=N===void 0?0:N,V=typeof F=="function"?F({x:O,y:B}):{x:O,y:B};O=V.x,B=V.y;var G=f.hasOwnProperty("x"),X=f.hasOwnProperty("y"),H=Xi,z=Qi,Y=window;if(D){var ee=Bp(s),K="clientHeight",P="clientWidth";if(ee===ga(s)&&(ee=nu(s),Yl(ee).position!=="static"&&v==="absolute"&&(K="scrollHeight",P="scrollWidth")),ee=ee,n===Qi||(n===Xi||n===Wa)&&e===vp){z=$a;var I=T&&ee===Y&&Y.visualViewport?Y.visualViewport.height:ee[K];B-=I-a.height,B*=b?1:-1}if(n===Xi||(n===Qi||n===$a)&&e===vp){H=Wa;var W=T&&ee===Y&&Y.visualViewport?Y.visualViewport.width:ee[P];O-=W-a.width,O*=b?1:-1}}var ae=Object.assign({position:v},D&&nI),oe=F===!0?sI({x:O,y:B},ga(s)):{x:O,y:B};if(O=oe.x,B=oe.y,b){var be;return Object.assign({},ae,(be={},be[z]=X?"0":"",be[H]=G?"0":"",be.transform=(Y.devicePixelRatio||1)<=1?"translate("+O+"px, "+B+"px)":"translate3d("+O+"px, "+B+"px, 0)",be))}return Object.assign({},ae,(r={},r[z]=X?B+"px":"",r[H]=G?O+"px":"",r.transform="",r))}function iI(t){var r=t.state,s=t.options,a=s.gpuAcceleration,n=a===void 0?!0:a,e=s.adaptive,f=e===void 0?!0:e,v=s.roundOffsets,b=v===void 0?!0:v,D={placement:Yo(r.placement),variation:Sh(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:n,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,fE(Object.assign({},D,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:f,roundOffsets:b})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,fE(Object.assign({},D,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const aI={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:iI,data:{}};var y2={passive:!0};function oI(t){var r=t.state,s=t.instance,a=t.options,n=a.scroll,e=n===void 0?!0:n,f=a.resize,v=f===void 0?!0:f,b=ga(r.elements.popper),D=[].concat(r.scrollParents.reference,r.scrollParents.popper);return e&&D.forEach(function(F){F.addEventListener("scroll",s.update,y2)}),v&&b.addEventListener("resize",s.update,y2),function(){e&&D.forEach(function(F){F.removeEventListener("scroll",s.update,y2)}),v&&b.removeEventListener("resize",s.update,y2)}}const lI={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:oI,data:{}};var cI={left:"right",right:"left",bottom:"top",top:"bottom"};function z2(t){return t.replace(/left|right|bottom|top/g,function(r){return cI[r]})}var uI={start:"end",end:"start"};function hE(t){return t.replace(/start|end/g,function(r){return uI[r]})}function G3(t){var r=ga(t),s=r.pageXOffset,a=r.pageYOffset;return{scrollLeft:s,scrollTop:a}}function j3(t){return Ch(nu(t)).left+G3(t).scrollLeft}function fI(t,r){var s=ga(t),a=nu(t),n=s.visualViewport,e=a.clientWidth,f=a.clientHeight,v=0,b=0;if(n){e=n.width,f=n.height;var D=IT();(D||!D&&r==="fixed")&&(v=n.offsetLeft,b=n.offsetTop)}return{width:e,height:f,x:v+j3(t),y:b}}function hI(t){var r,s=nu(t),a=G3(t),n=(r=t.ownerDocument)==null?void 0:r.body,e=wf(s.scrollWidth,s.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),f=wf(s.scrollHeight,s.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),v=-a.scrollLeft+j3(t),b=-a.scrollTop;return Yl(n||s).direction==="rtl"&&(v+=wf(s.clientWidth,n?n.clientWidth:0)-e),{width:e,height:f,x:v,y:b}}function Y3(t){var r=Yl(t),s=r.overflow,a=r.overflowX,n=r.overflowY;return/auto|scroll|overlay|hidden/.test(s+n+a)}function BT(t){return["html","body","#document"].indexOf(Zo(t))>=0?t.ownerDocument.body:La(t)&&Y3(t)?t:BT(cb(t))}function Q1(t,r){var s;r===void 0&&(r=[]);var a=BT(t),n=a===((s=t.ownerDocument)==null?void 0:s.body),e=ga(a),f=n?[e].concat(e.visualViewport||[],Y3(a)?a:[]):a,v=r.concat(f);return n?v:v.concat(Q1(cb(f)))}function N4(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function dI(t,r){var s=Ch(t,!1,r==="fixed");return s.top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s}function dE(t,r,s){return r===OT?N4(fI(t,s)):Tf(r)?dI(r,s):N4(hI(nu(t)))}function pI(t){var r=Q1(cb(t)),s=["absolute","fixed"].indexOf(Yl(t).position)>=0,a=s&&La(t)?Bp(t):t;return Tf(a)?r.filter(function(n){return Tf(n)&&PT(n,a)&&Zo(n)!=="body"}):[]}function mI(t,r,s,a){var n=r==="clippingParents"?pI(t):[].concat(r),e=[].concat(n,[s]),f=e[0],v=e.reduce(function(b,D){var F=dE(t,D,a);return b.top=wf(F.top,b.top),b.right=Ev(F.right,b.right),b.bottom=Ev(F.bottom,b.bottom),b.left=wf(F.left,b.left),b},dE(t,f,a));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function UT(t){var r=t.reference,s=t.element,a=t.placement,n=a?Yo(a):null,e=a?Sh(a):null,f=r.x+r.width/2-s.width/2,v=r.y+r.height/2-s.height/2,b;switch(n){case Qi:b={x:f,y:r.y-s.height};break;case $a:b={x:f,y:r.y+r.height};break;case Wa:b={x:r.x+r.width,y:v};break;case Xi:b={x:r.x-s.width,y:v};break;default:b={x:r.x,y:r.y}}var D=n?V3(n):null;if(D!=null){var F=D==="y"?"height":"width";switch(e){case xh:b[D]=b[D]-(r[F]/2-s[F]/2);break;case vp:b[D]=b[D]+(r[F]/2-s[F]/2);break}}return b}function bp(t,r){r===void 0&&(r={});var s=r,a=s.placement,n=a===void 0?t.placement:a,e=s.strategy,f=e===void 0?t.strategy:e,v=s.boundary,b=v===void 0?N9:v,D=s.rootBoundary,F=D===void 0?OT:D,T=s.elementContext,C=T===void 0?M1:T,O=s.altBoundary,N=O===void 0?!1:O,B=s.padding,V=B===void 0?0:B,G=MT(typeof V!="number"?V:LT(V,Lp)),X=C===M1?M9:M1,H=t.rects.popper,z=t.elements[N?X:C],Y=mI(Tf(z)?z:z.contextElement||nu(t.elements.popper),b,F,f),ee=Ch(t.elements.reference),K=UT({reference:ee,element:H,strategy:"absolute",placement:n}),P=N4(Object.assign({},H,K)),I=C===M1?P:ee,W={top:Y.top-I.top+G.top,bottom:I.bottom-Y.bottom+G.bottom,left:Y.left-I.left+G.left,right:I.right-Y.right+G.right},ae=t.modifiersData.offset;if(C===M1&&ae){var oe=ae[n];Object.keys(W).forEach(function(be){var Ee=[Wa,$a].indexOf(be)>=0?1:-1,Ue=[Qi,$a].indexOf(be)>=0?"y":"x";W[be]+=oe[Ue]*Ee})}return W}function gI(t,r){r===void 0&&(r={});var s=r,a=s.placement,n=s.boundary,e=s.rootBoundary,f=s.padding,v=s.flipVariations,b=s.allowedAutoPlacements,D=b===void 0?RT:b,F=Sh(a),T=F?v?cE:cE.filter(function(N){return Sh(N)===F}):Lp,C=T.filter(function(N){return D.indexOf(N)>=0});C.length===0&&(C=T);var O=C.reduce(function(N,B){return N[B]=bp(t,{placement:B,boundary:n,rootBoundary:e,padding:f})[Yo(B)],N},{});return Object.keys(O).sort(function(N,B){return O[N]-O[B]})}function vI(t){if(Yo(t)===$3)return[];var r=z2(t);return[hE(t),r,hE(r)]}function bI(t){var r=t.state,s=t.options,a=t.name;if(!r.modifiersData[a]._skip){for(var n=s.mainAxis,e=n===void 0?!0:n,f=s.altAxis,v=f===void 0?!0:f,b=s.fallbackPlacements,D=s.padding,F=s.boundary,T=s.rootBoundary,C=s.altBoundary,O=s.flipVariations,N=O===void 0?!0:O,B=s.allowedAutoPlacements,V=r.options.placement,G=Yo(V),X=G===V,H=b||(X||!N?[z2(V)]:vI(V)),z=[V].concat(H).reduce(function(ke,ge){return ke.concat(Yo(ge)===$3?gI(r,{placement:ge,boundary:F,rootBoundary:T,padding:D,flipVariations:N,allowedAutoPlacements:B}):ge)},[]),Y=r.rects.reference,ee=r.rects.popper,K=new Map,P=!0,I=z[0],W=0;W<z.length;W++){var ae=z[W],oe=Yo(ae),be=Sh(ae)===xh,Ee=[Qi,$a].indexOf(oe)>=0,Ue=Ee?"width":"height",ve=bp(r,{placement:ae,boundary:F,rootBoundary:T,altBoundary:C,padding:D}),fe=Ee?be?Wa:Xi:be?$a:Qi;Y[Ue]>ee[Ue]&&(fe=z2(fe));var Fe=z2(fe),Oe=[];if(e&&Oe.push(ve[oe]<=0),v&&Oe.push(ve[fe]<=0,ve[Fe]<=0),Oe.every(function(ke){return ke})){I=ae,P=!1;break}K.set(ae,Oe)}if(P)for(var Re=N?3:1,ce=function(ge){var Ie=z.find(function(se){var Pe=K.get(se);if(Pe)return Pe.slice(0,ge).every(function(de){return de})});if(Ie)return I=Ie,"break"},we=Re;we>0;we--){var We=ce(we);if(We==="break")break}r.placement!==I&&(r.modifiersData[a]._skip=!0,r.placement=I,r.reset=!0)}}const _I={name:"flip",enabled:!0,phase:"main",fn:bI,requiresIfExists:["offset"],data:{_skip:!1}};function pE(t,r,s){return s===void 0&&(s={x:0,y:0}),{top:t.top-r.height-s.y,right:t.right-r.width+s.x,bottom:t.bottom-r.height+s.y,left:t.left-r.width-s.x}}function mE(t){return[Qi,Wa,$a,Xi].some(function(r){return t[r]>=0})}function yI(t){var r=t.state,s=t.name,a=r.rects.reference,n=r.rects.popper,e=r.modifiersData.preventOverflow,f=bp(r,{elementContext:"reference"}),v=bp(r,{altBoundary:!0}),b=pE(f,a),D=pE(v,n,e),F=mE(b),T=mE(D);r.modifiersData[s]={referenceClippingOffsets:b,popperEscapeOffsets:D,isReferenceHidden:F,hasPopperEscaped:T},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":F,"data-popper-escaped":T})}const wI={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:yI};function DI(t,r,s){var a=Yo(t),n=[Xi,Qi].indexOf(a)>=0?-1:1,e=typeof s=="function"?s(Object.assign({},r,{placement:t})):s,f=e[0],v=e[1];return f=f||0,v=(v||0)*n,[Xi,Wa].indexOf(a)>=0?{x:v,y:f}:{x:f,y:v}}function EI(t){var r=t.state,s=t.options,a=t.name,n=s.offset,e=n===void 0?[0,0]:n,f=RT.reduce(function(F,T){return F[T]=DI(T,r.rects,e),F},{}),v=f[r.placement],b=v.x,D=v.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=b,r.modifiersData.popperOffsets.y+=D),r.modifiersData[a]=f}const FI={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:EI};function TI(t){var r=t.state,s=t.name;r.modifiersData[s]=UT({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const xI={name:"popperOffsets",enabled:!0,phase:"read",fn:TI,data:{}};function AI(t){return t==="x"?"y":"x"}function CI(t){var r=t.state,s=t.options,a=t.name,n=s.mainAxis,e=n===void 0?!0:n,f=s.altAxis,v=f===void 0?!1:f,b=s.boundary,D=s.rootBoundary,F=s.altBoundary,T=s.padding,C=s.tether,O=C===void 0?!0:C,N=s.tetherOffset,B=N===void 0?0:N,V=bp(r,{boundary:b,rootBoundary:D,padding:T,altBoundary:F}),G=Yo(r.placement),X=Sh(r.placement),H=!X,z=V3(G),Y=AI(z),ee=r.modifiersData.popperOffsets,K=r.rects.reference,P=r.rects.popper,I=typeof B=="function"?B(Object.assign({},r.rects,{placement:r.placement})):B,W=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),ae=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,oe={x:0,y:0};if(ee){if(e){var be,Ee=z==="y"?Qi:Xi,Ue=z==="y"?$a:Wa,ve=z==="y"?"height":"width",fe=ee[z],Fe=fe+V[Ee],Oe=fe-V[Ue],Re=O?-P[ve]/2:0,ce=X===xh?K[ve]:P[ve],we=X===xh?-P[ve]:-K[ve],We=r.elements.arrow,ke=O&&We?z3(We):{width:0,height:0},ge=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:NT(),Ie=ge[Ee],se=ge[Ue],Pe=q1(0,K[ve],ke[ve]),de=H?K[ve]/2-Re-Pe-Ie-W.mainAxis:ce-Pe-Ie-W.mainAxis,Ye=H?-K[ve]/2+Re+Pe+se+W.mainAxis:we+Pe+se+W.mainAxis,gt=r.elements.arrow&&Bp(r.elements.arrow),nt=gt?z==="y"?gt.clientTop||0:gt.clientLeft||0:0,J=(be=ae==null?void 0:ae[z])!=null?be:0,ie=fe+de-J-nt,Te=fe+Ye-J,Le=q1(O?Ev(Fe,ie):Fe,fe,O?wf(Oe,Te):Oe);ee[z]=Le,oe[z]=Le-fe}if(v){var Ne,tt=z==="x"?Qi:Xi,yt=z==="x"?$a:Wa,lt=ee[Y],rt=Y==="y"?"height":"width",qe=lt+V[tt],pt=lt-V[yt],vt=[Qi,Xi].indexOf(G)!==-1,it=(Ne=ae==null?void 0:ae[Y])!=null?Ne:0,Ae=vt?qe:lt-K[rt]-P[rt]-it+W.altAxis,ze=vt?lt+K[rt]+P[rt]-it-W.altAxis:pt,Rt=O&&vt?J9(Ae,lt,ze):q1(O?Ae:qe,lt,O?ze:pt);ee[Y]=Rt,oe[Y]=Rt-lt}r.modifiersData[a]=oe}}const SI={name:"preventOverflow",enabled:!0,phase:"main",fn:CI,requiresIfExists:["offset"]};function kI(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function OI(t){return t===ga(t)||!La(t)?G3(t):kI(t)}function RI(t){var r=t.getBoundingClientRect(),s=Ah(r.width)/t.offsetWidth||1,a=Ah(r.height)/t.offsetHeight||1;return s!==1||a!==1}function II(t,r,s){s===void 0&&(s=!1);var a=La(r),n=La(r)&&RI(r),e=nu(r),f=Ch(t,n,s),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(a||!a&&!s)&&((Zo(r)!=="body"||Y3(e))&&(v=OI(r)),La(r)?(b=Ch(r,!0),b.x+=r.clientLeft,b.y+=r.clientTop):e&&(b.x=j3(e))),{x:f.left+v.scrollLeft-b.x,y:f.top+v.scrollTop-b.y,width:f.width,height:f.height}}function PI(t){var r=new Map,s=new Set,a=[];t.forEach(function(e){r.set(e.name,e)});function n(e){s.add(e.name);var f=[].concat(e.requires||[],e.requiresIfExists||[]);f.forEach(function(v){if(!s.has(v)){var b=r.get(v);b&&n(b)}}),a.push(e)}return t.forEach(function(e){s.has(e.name)||n(e)}),a}function NI(t){var r=PI(t);return j9.reduce(function(s,a){return s.concat(r.filter(function(n){return n.phase===a}))},[])}function MI(t){var r;return function(){return r||(r=new Promise(function(s){Promise.resolve().then(function(){r=void 0,s(t())})})),r}}function LI(t){var r=t.reduce(function(s,a){var n=s[a.name];return s[a.name]=n?Object.assign({},n,a,{options:Object.assign({},n.options,a.options),data:Object.assign({},n.data,a.data)}):a,s},{});return Object.keys(r).map(function(s){return r[s]})}var gE={placement:"bottom",modifiers:[],strategy:"absolute"};function vE(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return!r.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function BI(t){t===void 0&&(t={});var r=t,s=r.defaultModifiers,a=s===void 0?[]:s,n=r.defaultOptions,e=n===void 0?gE:n;return function(v,b,D){D===void 0&&(D=e);var F={placement:"bottom",orderedModifiers:[],options:Object.assign({},gE,e),modifiersData:{},elements:{reference:v,popper:b},attributes:{},styles:{}},T=[],C=!1,O={state:F,setOptions:function(G){var X=typeof G=="function"?G(F.options):G;B(),F.options=Object.assign({},e,F.options,X),F.scrollParents={reference:Tf(v)?Q1(v):v.contextElement?Q1(v.contextElement):[],popper:Q1(b)};var H=NI(LI([].concat(a,F.options.modifiers)));return F.orderedModifiers=H.filter(function(z){return z.enabled}),N(),O.update()},forceUpdate:function(){if(!C){var G=F.elements,X=G.reference,H=G.popper;if(vE(X,H)){F.rects={reference:II(X,Bp(H),F.options.strategy==="fixed"),popper:z3(H)},F.reset=!1,F.placement=F.options.placement,F.orderedModifiers.forEach(function(W){return F.modifiersData[W.name]=Object.assign({},W.data)});for(var z=0;z<F.orderedModifiers.length;z++){if(F.reset===!0){F.reset=!1,z=-1;continue}var Y=F.orderedModifiers[z],ee=Y.fn,K=Y.options,P=K===void 0?{}:K,I=Y.name;typeof ee=="function"&&(F=ee({state:F,options:P,name:I,instance:O})||F)}}}},update:MI(function(){return new Promise(function(V){O.forceUpdate(),V(F)})}),destroy:function(){B(),C=!0}};if(!vE(v,b))return O;O.setOptions(D).then(function(V){!C&&D.onFirstUpdate&&D.onFirstUpdate(V)});function N(){F.orderedModifiers.forEach(function(V){var G=V.name,X=V.options,H=X===void 0?{}:X,z=V.effect;if(typeof z=="function"){var Y=z({state:F,name:G,instance:O,options:H}),ee=function(){};T.push(Y||ee)}})}function B(){T.forEach(function(V){return V()}),T=[]}return O}}var UI=[lI,xI,aI,q9,FI,_I,SI,rI,wI],K3=BI({defaultModifiers:UI}),Pc=globalThis&&globalThis.__assign||function(){return Pc=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Pc.apply(this,arguments)},w2=globalThis&&globalThis.__spreadArray||function(t,r,s){if(s||arguments.length===2)for(var a=0,n=r.length,e;a<n;a++)(e||!(a in r))&&(e||(e=Array.prototype.slice.call(r,0,a)),e[a]=r[a]);return t.concat(e||Array.prototype.slice.call(r))},Nc={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},HT=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=Nc),this._targetEl=r,this._triggerEl=s,this._options=Pc(Pc({},Nc),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,s=this._getTriggerEvents();this._options.triggerType==="click"&&s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.toggle()})}),this._options.triggerType==="hover"&&(s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){a==="click"?r.toggle():setTimeout(function(){r.show()},r._options.delay)}),r._targetEl.addEventListener(a,function(){r.show()})}),s.hideEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){setTimeout(function(){r._targetEl.matches(":hover")||r.hide()},r._options.delay)}),r._targetEl.addEventListener(a,function(){setTimeout(function(){r._triggerEl.matches(":hover")||r.hide()},r._options.delay)})}))},t.prototype._createPopperInstance=function(){return K3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(s){r._handleClickOutside(s,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,s){var a=r.target,n=this._options.ignoreClickOutsideClass,e=!1;if(n){var f=document.querySelectorAll(".".concat(n));f.forEach(function(v){if(v.contains(a)){e=!0;return}})}a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&!e&&this.isVisible()&&this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(r){return Pc(Pc({},r),{modifiers:w2(w2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(r){return Pc(Pc({},r),{modifiers:w2(w2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function q3(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var r=t.getAttribute("data-dropdown-toggle"),s=document.getElementById(r);if(s){var a=t.getAttribute("data-dropdown-placement"),n=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),f=t.getAttribute("data-dropdown-trigger"),v=t.getAttribute("data-dropdown-delay"),b=t.getAttribute("data-dropdown-ignore-click-outside-class");new HT(s,t,{placement:a||Nc.placement,triggerType:f||Nc.triggerType,offsetSkidding:n?parseInt(n):Nc.offsetSkidding,offsetDistance:e?parseInt(e):Nc.offsetDistance,delay:v?parseInt(v):Nc.delay,ignoreClickOutsideClass:b||Nc.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(r,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=HT,window.initDropdowns=q3);var Fv=globalThis&&globalThis.__assign||function(){return Fv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Fv.apply(this,arguments)},J0={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},M4=function(){function t(r,s){r===void 0&&(r=null),s===void 0&&(s=J0),this._targetEl=r,this._options=Fv(Fv({},J0),s),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var r=this;this._targetEl&&this._getPlacementClasses().map(function(s){r._targetEl.classList.add(s)})},t.prototype._createBackdrop=function(){var r;if(this._isHidden){var s=document.createElement("div");s.setAttribute("modal-backdrop",""),(r=s.classList).add.apply(r,this._options.backdropClasses.split(" ")),document.querySelector("body").append(s),this._backdropEl=s}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var r=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(s){r._handleOutsideClick(s.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(s){s.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(r){(r===this._targetEl||r===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),D2=function(t,r){return r.some(function(s){return s.id===t})?r.find(function(s){return s.id===t}):null};function Q3(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(r){var s=r.getAttribute("data-modal-target"),a=document.getElementById(s);if(a){var n=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop");D2(s,t)||t.push({id:s,object:new M4(a,{placement:n||J0.placement,backdrop:e||J0.backdrop})})}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(r){var s=r.getAttribute("data-modal-toggle"),a=document.getElementById(s);if(a){var n=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop"),f=D2(s,t);f||(f={id:s,object:new M4(a,{placement:n||J0.placement,backdrop:e||J0.backdrop})},t.push(f)),r.addEventListener("click",function(){f.object.toggle()})}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(r){var s=r.getAttribute("data-modal-show"),a=document.getElementById(s);if(a){var n=D2(s,t);n?r.addEventListener("click",function(){n.object.isHidden&&n.object.show()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(r){var s=r.getAttribute("data-modal-hide"),a=document.getElementById(s);if(a){var n=D2(s,t);n?r.addEventListener("click",function(){n.object.isVisible&&n.object.hide()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=M4,window.initModals=Q3);var Tv=globalThis&&globalThis.__assign||function(){return Tv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Tv.apply(this,arguments)},hf={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},$T=function(){function t(r,s){r===void 0&&(r=null),s===void 0&&(s=hf),this._targetEl=r,this._options=Tv(Tv({},hf),s),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(s){r._targetEl.classList.add(s)}),document.addEventListener("keydown",function(s){s.key==="Escape"&&r.isVisible()&&r.hide()})},t.prototype.hide=function(){var r=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){r._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){r._targetEl.classList.add(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){r._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){r._targetEl.classList.add(s)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var r=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){r._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){r._targetEl.classList.remove(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){r._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){r._targetEl.classList.remove(s)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var r,s=this;if(!this._visible){var a=document.createElement("div");a.setAttribute("drawer-backdrop",""),(r=a.classList).add.apply(r,this._options.backdropClasses.split(" ")),document.querySelector("body").append(a),a.addEventListener("click",function(){s.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(r){switch(r){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),E2=function(t,r){if(r.some(function(s){return s.id===t}))return r.find(function(s){return s.id===t})};function X3(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(r){var s=r.getAttribute("data-drawer-target"),a=document.getElementById(s);if(a){var n=r.getAttribute("data-drawer-placement"),e=r.getAttribute("data-drawer-body-scrolling"),f=r.getAttribute("data-drawer-backdrop"),v=r.getAttribute("data-drawer-edge"),b=r.getAttribute("data-drawer-edge-offset");E2(s,t)||t.push({id:s,object:new $T(a,{placement:n||hf.placement,bodyScrolling:e?e==="true":hf.bodyScrolling,backdrop:f?f==="true":hf.backdrop,edge:v?v==="true":hf.edge,edgeOffset:b||hf.edgeOffset})})}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(r){var s=r.getAttribute("data-drawer-toggle"),a=document.getElementById(s);if(a){var n=E2(s,t);n?r.addEventListener("click",function(){n.object.toggle()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(r){var s=r.getAttribute("data-drawer-dismiss")?r.getAttribute("data-drawer-dismiss"):r.getAttribute("data-drawer-hide"),a=document.getElementById(s);if(a){var n=E2(s,t);n?r.addEventListener("click",function(){n.object.hide()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(r){var s=r.getAttribute("data-drawer-show"),a=document.getElementById(s);if(a){var n=E2(s,t);n?r.addEventListener("click",function(){n.object.show()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=$T,window.initDrawers=X3);var xv=globalThis&&globalThis.__assign||function(){return xv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},xv.apply(this,arguments)},bE={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},WT=function(){function t(r,s){r===void 0&&(r=[]),s===void 0&&(s=bE),this._items=r,this._activeTab=s?this.getTab(s.defaultTabId):null,this._options=xv(xv({},bE),s),this._init()}return t.prototype._init=function(){var r=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(s){s.triggerEl.addEventListener("click",function(){r.show(s.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(r){this._activeTab=r},t.prototype.getTab=function(r){return this._items.filter(function(s){return s.id===r})[0]},t.prototype.show=function(r,s){var a,n,e=this;s===void 0&&(s=!1);var f=this.getTab(r);f===this._activeTab&&!s||(this._items.map(function(v){var b,D;v!==f&&((b=v.triggerEl.classList).remove.apply(b,e._options.activeClasses.split(" ")),(D=v.triggerEl.classList).add.apply(D,e._options.inactiveClasses.split(" ")),v.targetEl.classList.add("hidden"),v.triggerEl.setAttribute("aria-selected","false"))}),(a=f.triggerEl.classList).add.apply(a,this._options.activeClasses.split(" ")),(n=f.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),f.triggerEl.setAttribute("aria-selected","true"),f.targetEl.classList.remove("hidden"),this._setActiveTab(f),this._options.onShow(this,f))},t}();function J3(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var r=[],s=null;t.querySelectorAll('[role="tab"]').forEach(function(a){var n=a.getAttribute("aria-selected")==="true",e={id:a.getAttribute("data-tabs-target"),triggerEl:a,targetEl:document.querySelector(a.getAttribute("data-tabs-target"))};r.push(e),n&&(s=e.id)}),new WT(r,{defaultTabId:s})})}typeof window<"u"&&(window.Tabs=WT,window.initTabs=J3);var Mc=globalThis&&globalThis.__assign||function(){return Mc=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Mc.apply(this,arguments)},F2=globalThis&&globalThis.__spreadArray||function(t,r,s){if(s||arguments.length===2)for(var a=0,n=r.length,e;a<n;a++)(e||!(a in r))&&(e||(e=Array.prototype.slice.call(r,0,a)),e[a]=r[a]);return t.concat(e||Array.prototype.slice.call(r))},Av={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Z3=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=Av),this._targetEl=r,this._triggerEl=s,this._options=Mc(Mc({},Av),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.show()})}),s.hideEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.hide()})})},t.prototype._createPopperInstance=function(){return K3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var r=this;this._keydownEventListener=function(s){s.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(s){r._handleClickOutside(s,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,s){var a=r.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(r){return Mc(Mc({},r),{modifiers:F2(F2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(r){return Mc(Mc({},r),{modifiers:F2(F2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function ew(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var r=t.getAttribute("data-tooltip-target"),s=document.getElementById(r);if(s){var a=t.getAttribute("data-tooltip-trigger"),n=t.getAttribute("data-tooltip-placement");new Z3(s,t,{placement:n||Av.placement,triggerType:a||Av.triggerType})}else console.error('The tooltip element with id "'.concat(r,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=Z3,window.initTooltips=ew);var Lc=globalThis&&globalThis.__assign||function(){return Lc=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Lc.apply(this,arguments)},T2=globalThis&&globalThis.__spreadArray||function(t,r,s){if(s||arguments.length===2)for(var a=0,n=r.length,e;a<n;a++)(e||!(a in r))&&(e||(e=Array.prototype.slice.call(r,0,a)),e[a]=r[a]);return t.concat(e||Array.prototype.slice.call(r))},X1={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},zT=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=X1),this._targetEl=r,this._triggerEl=s,this._options=Lc(Lc({},X1),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.show()}),r._targetEl.addEventListener(a,function(){r.show()})}),s.hideEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){setTimeout(function(){r._targetEl.matches(":hover")||r.hide()},100)}),r._targetEl.addEventListener(a,function(){setTimeout(function(){r._triggerEl.matches(":hover")||r.hide()},100)})})},t.prototype._createPopperInstance=function(){return K3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var r=this;this._keydownEventListener=function(s){s.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(s){r._handleClickOutside(s,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,s){var a=r.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(r){return Lc(Lc({},r),{modifiers:T2(T2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(r){return Lc(Lc({},r),{modifiers:T2(T2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function tw(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var r=t.getAttribute("data-popover-target"),s=document.getElementById(r);if(s){var a=t.getAttribute("data-popover-trigger"),n=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new zT(s,t,{placement:n||X1.placement,offset:e?parseInt(e):X1.offset,triggerType:a||X1.triggerType})}else console.error('The popover element with id "'.concat(r,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=zT,window.initPopovers=tw);var Cv=globalThis&&globalThis.__assign||function(){return Cv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Cv.apply(this,arguments)},L4={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},VT=function(){function t(r,s,a,n){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=null),n===void 0&&(n=L4),this._parentEl=r,this._triggerEl=s,this._targetEl=a,this._options=Cv(Cv({},L4),n),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;if(this._triggerEl){var s=this._getTriggerEventTypes(this._options.triggerType);s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.show()}),r._targetEl.addEventListener(a,function(){r.show()})}),s.hideEvents.forEach(function(a){r._parentEl.addEventListener(a,function(){r._parentEl.matches(":hover")||r.hide()})})}},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this._visible?this.hide():this.show()},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype._getTriggerEventTypes=function(r){switch(r){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t}();function rw(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var r=t.querySelector("[data-dial-toggle]");if(r){var s=r.getAttribute("data-dial-toggle"),a=document.getElementById(s);if(a){var n=r.getAttribute("data-dial-trigger");new VT(t,r,a,{triggerType:n||L4.triggerType})}else console.error("Dial with id ".concat(s," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}typeof window<"u"&&(window.Dial=VT,window.initDials=rw);function HI(){L3(),B3(),U3(),H3(),q3(),Q3(),X3(),J3(),ew(),tw(),rw()}typeof window<"u"&&(window.initFlowbite=HI);var $I=new P9("load",[L3,B3,U3,H3,q3,Q3,X3,J3,ew,tw,rw]);$I.init();const GT=us({__name:"Tooltip",props:{placement:null},setup(t){const r=t,s=er(null),a=er(null),n=Sr(()=>r.placement??"auto");return mo(()=>{if(s.value&&a.value){const e={placement:n.value,triggerType:"hover"};new Z3(s.value,a.value,e)}}),(e,f)=>(Hr(),Fn("div",null,[It("div",{ref_key:"tooltipTriggerEl",ref:a},[Df(e.$slots,"default")],512),It("div",{ref_key:"tooltipTargetEl",ref:s,role:"tooltip",class:"tooltip inline-block absolute invisible px-3 py-2 transition-opacity duration-300 shadow-sm opacity-0","z-99999":"",rounded:"","text-base":"","text-white":"","font-medium":"","bg-gray-900":"","dark:bg-gray-700":""},[It("div",null,[Df(e.$slots,"popper")]),f[0]||(f[0]=It("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1))],512)]))}}),WI="Board - XCPCIO",AH="Rating - XCPCIO",CH="Balloon - XCPCIO",SH="Resolver - XCPCIO",kH="Countdown - XCPCIO",zI=Sr(()=>window?window.CDN_HOST:""),jT=Sr(()=>window?window.DATA_HOST:""),OH=Sr(()=>jT.value.replace("/data/","/rating-data/")),VI=Sr(()=>window?window.DATA_REGION:""),GI="0.52.0",YT="https://github.com/xcpcio/xcpcio",jI="b8c966194b",YI="https://xcpcio.com";var so=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(so||{}),Ot=(t=>(t.PENDING="PENDING",t.WAITING="WAITING",t.PREPARING="PREPARING",t.COMPILING="COMPILING",t.RUNNING="RUNNING",t.JUDGING="JUDGING",t.FROZEN="FROZEN",t.ACCEPTED="ACCEPTED",t.CORRECT="CORRECT",t.PARTIALLY_CORRECT="PARTIALLY_CORRECT",t.REJECTED="REJECTED",t.WRONG_ANSWER="WRONG_ANSWER",t.NO_OUTPUT="NO_OUTPUT",t.COMPILATION_ERROR="COMPILATION_ERROR",t.PRESENTATION_ERROR="PRESENTATION_ERROR",t.RUNTIME_ERROR="RUNTIME_ERROR",t.TIME_LIMIT_EXCEEDED="TIME_LIMIT_EXCEEDED",t.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",t.OUTPUT_LIMIT_EXCEEDED="OUTPUT_LIMIT_EXCEEDED",t.IDLENESS_LIMIT_EXCEEDED="IDLENESS_LIMIT_EXCEEDED",t.HACKED="HACKED",t.JUDGEMENT_FAILED="JUDGEMENT_FAILED",t.CONFIGURATION_ERROR="CONFIGURATION_ERROR",t.FILE_ERROR="FILE_ERROR",t.SYSTEM_ERROR="SYSTEM_ERROR",t.CANCELED="CANCELED",t.SKIPPED="SKIPPED",t.SECURITY_VIOLATED="SECURITY_VIOLATED",t.DENIAL_OF_JUDGEMENT="DENIAL_OF_JUDGEMENT",t.UNKNOWN="UNKNOWN",t.UNDEFINED="UNDEFINED",t))(Ot||{});const RH={PENDING:"Pending",WAITING:"Waiting",PREPARING:"Preparing",COMPILING:"Compiling",RUNNING:"Running",JUDGING:"Judging",FROZEN:"Frozen",ACCEPTED:"Accepted",CORRECT:"Correct",PARTIALLY_CORRECT:"Partially Correct",REJECTED:"Rejected",WRONG_ANSWER:"Wrong Answer",NO_OUTPUT:"No Output",COMPILATION_ERROR:"Compilation Error",PRESENTATION_ERROR:"Presentation Error",RUNTIME_ERROR:"Runtime Error",TIME_LIMIT_EXCEEDED:"Time Limit Exceeded",MEMORY_LIMIT_EXCEEDED:"Memory Limit Exceeded",OUTPUT_LIMIT_EXCEEDED:"Output Limit Exceeded",IDLENESS_LIMIT_EXCEEDED:"Idleness Limit Exceeded",HACKED:"Hacked",JUDGEMENT_FAILED:"Judgement Failed",CONFIGURATION_ERROR:"Configuration Error",FILE_ERROR:"File Error",SYSTEM_ERROR:"System Error",CANCELED:"Canceled",SKIPPED:"Skipped",SECURITY_VIOLATED:"Security Violated",DENIAL_OF_JUDGEMENT:"Denial Of Judgement",UNKNOWN:"Unknown",UNDEFINED:"Undefined"},IH={PENDING:"PD",WAITING:"PD",PREPARING:"PD",COMPILING:"PD",RUNNING:"PD",JUDGING:"PD",FROZEN:"?",ACCEPTED:"AC",CORRECT:"AC",PARTIALLY_CORRECT:"RJ",REJECTED:"RJ",WRONG_ANSWER:"WA",NO_OUTPUT:"NO",COMPILATION_ERROR:"CE",PRESENTATION_ERROR:"PE",RUNTIME_ERROR:"RTE",TIME_LIMIT_EXCEEDED:"TLE",MEMORY_LIMIT_EXCEEDED:"MLE",OUTPUT_LIMIT_EXCEEDED:"OLE",IDLENESS_LIMIT_EXCEEDED:"ILE",HACKED:"RJ",JUDGEMENT_FAILED:"RJ",CONFIGURATION_ERROR:"RJ",FILE_ERROR:"RJ",SYSTEM_ERROR:"RJ",CANCELED:"RJ",SKIPPED:"RJ",SECURITY_VIOLATED:"RJ",DENIAL_OF_JUDGEMENT:"RJ",UNKNOWN:"RJ",UNDEFINED:"RJ"},KI={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},qI={"text-center":"","w-full":""},QI={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},XI={"mr-4":"","md:mr-6":""},JI=["href"],ZI={flex:"","justify-center":"","items-start":"","flex-col":""},eP={"mr-4":"","md:mr-6":""},tP={flex:"","justify-center":"","items-start":"","flex-col":""},rP={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},nP=us({__name:"Footer",setup(t){return(r,s)=>{const a=uo("RouterLink"),n=GT;return Hr(),Fn("footer",KI,[It("div",qI,[Cr(a,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:Gs(()=>s[0]||(s[0]=[It("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),Vo(" Get more balloons ")])),_:1}),s[6]||(s[6]=It("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1)),It("ul",QI,[It("li",null,[Cr(a,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:Gs(()=>s[1]||(s[1]=[Vo(" Home ")])),_:1})]),It("li",null,[It("div",XI,[Cr(n,null,{popper:Gs(()=>[It("div",ZI,[It("div",null,"Tag: "+vs(Zt(GI)),1),It("div",null,"Sha: "+vs(Zt(jI)),1)])]),default:Gs(()=>[It("a",{href:Zt(YT),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,JI)]),_:1})])]),It("li",null,[It("div",eP,[Cr(n,null,{popper:Gs(()=>[It("div",tP,[It("div",null,"CDN Host: "+vs("CDN_HOST"in r?r.CDN_HOST:Zt(zI)),1),It("div",null,"DATA Host: "+vs("DATA_HOST"in r?r.DATA_HOST:Zt(jT)),1),It("div",null,"Data Region: "+vs("DATA_REGION"in r?r.DATA_REGION:Zt(VI)),1)])]),default:Gs(()=>[s[2]||(s[2]=It("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1))]),_:1})])])]),It("span",rP,[s[4]||(s[4]=Vo("© 2020-PRESENT ")),Cr(a,{to:"/","hover:underline":""},{default:Gs(()=>s[3]||(s[3]=[Vo("XCPCIO™")])),_:1}),s[5]||(s[5]=Vo(". All Rights Reserved."))])])])}}});function el(t){return Vv()?(n3(t),!0):!1}function Sy(){const t=new Set,r=n=>{t.delete(n)};return{on:n=>{t.add(n);const e=()=>r(n);return el(e),{off:e}},off:r,trigger:(...n)=>Promise.all(Array.from(t).map(e=>e(...n)))}}function Hn(t){return typeof t=="function"?t():Zt(t)}const kh=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const sP=t=>typeof t<"u",KT=t=>t!=null,iP=Object.prototype.toString,aP=t=>iP.call(t)==="[object Object]",Gc=()=>{};function qT(t,r){function s(...a){return new Promise((n,e)=>{Promise.resolve(t(()=>r.apply(this,a),{fn:r,thisArg:this,args:a})).then(n).catch(e)})}return s}const QT=t=>t();function oP(...t){let r=0,s,a=!0,n=Gc,e,f,v,b,D;!un(t[0])&&typeof t[0]=="object"?{delay:f,trailing:v=!0,leading:b=!0,rejectOnCancel:D=!1}=t[0]:[f,v=!0,b=!0,D=!1]=t;const F=()=>{s&&(clearTimeout(s),s=void 0,n(),n=Gc)};return C=>{const O=Hn(f),N=Date.now()-r,B=()=>e=C();return F(),O<=0?(r=Date.now(),B()):(N>O&&(b||!a)?(r=Date.now(),B()):v&&(e=new Promise((V,G)=>{n=D?G:V,s=setTimeout(()=>{r=Date.now(),a=!0,V(B()),F()},Math.max(0,O-N))})),!b&&!s&&(s=setTimeout(()=>a=!0,O)),a=!1,e)}}function lP(t=QT){const r=er(!0);function s(){r.value=!1}function a(){r.value=!0}const n=(...e)=>{r.value&&t(...e)};return{isActive:Vl(r),pause:s,resume:a,eventFilter:n}}function _E(t,r=!1,s="Timeout"){return new Promise((a,n)=>{setTimeout(r?()=>n(s):a,t)})}function cP(t){let r;function s(){return r||(r=t()),r}return s.reset=async()=>{const a=r;r=void 0,a&&await a},s}function uP(t,...r){return r.some(s=>s in t)}function XT(t){return t||xs()}function J1(...t){if(t.length!==1)return c6(...t);const r=t[0];return typeof r=="function"?Vl(Jv(()=>({get:r,set:Gc}))):er(r)}function PH(t,r=200,s=!1,a=!0,n=!1){return qT(oP(r,s,a,n),t)}function fP(t,r,s={}){const{eventFilter:a=QT,...n}=s;return In(t,qT(a,r),n)}function hP(t,r,s={}){const{eventFilter:a,...n}=s,{eventFilter:e,pause:f,resume:v,isActive:b}=lP(a);return{stop:fP(t,r,{...n,eventFilter:e}),pause:f,resume:v,isActive:b}}function dP(t,r){XT(r)&&Ph(t,r)}function JT(t,r=!0,s){XT()?mo(t,s):r?t():va(t)}function B4(t,r=!1){function s(T,{flush:C="sync",deep:O=!1,timeout:N,throwOnTimeout:B}={}){let V=null;const X=[new Promise(H=>{V=In(t,z=>{T(z)!==r&&(V==null||V(),H(z))},{flush:C,deep:O,immediate:!0})})];return N!=null&&X.push(_E(N,B).then(()=>Hn(t)).finally(()=>V==null?void 0:V())),Promise.race(X)}function a(T,C){if(!un(T))return s(z=>z===T,C);const{flush:O="sync",deep:N=!1,timeout:B,throwOnTimeout:V}=C??{};let G=null;const H=[new Promise(z=>{G=In([t,T],([Y,ee])=>{r!==(Y===ee)&&(G==null||G(),z(Y))},{flush:O,deep:N,immediate:!0})})];return B!=null&&H.push(_E(B,V).then(()=>Hn(t)).finally(()=>(G==null||G(),Hn(t)))),Promise.race(H)}function n(T){return s(C=>!!C,T)}function e(T){return a(null,T)}function f(T){return a(void 0,T)}function v(T){return s(Number.isNaN,T)}function b(T,C){return s(O=>{const N=Array.from(O);return N.includes(T)||N.includes(Hn(T))},C)}function D(T){return F(1,T)}function F(T=1,C){let O=-1;return s(()=>(O+=1,O>=T),C)}return Array.isArray(Hn(t))?{toMatch:s,toContains:b,changed:D,changedTimes:F,get not(){return B4(t,!r)}}:{toMatch:s,toBe:a,toBeTruthy:n,toBeNull:e,toBeNaN:v,toBeUndefined:f,changed:D,changedTimes:F,get not(){return B4(t,!r)}}}function pP(t){return B4(t)}function mP(t,r=1e3,s={}){const{immediate:a=!0,immediateCallback:n=!1}=s;let e=null;const f=er(!1);function v(){e&&(clearInterval(e),e=null)}function b(){f.value=!1,v()}function D(){const F=Hn(r);F<=0||(f.value=!0,n&&t(),v(),e=setInterval(t,F))}if(a&&kh&&D(),un(r)||typeof r=="function"){const F=In(r,()=>{f.value&&kh&&D()});el(F)}return el(b),{isActive:f,pause:b,resume:D}}function ZT(t,r,s={}){const{immediate:a=!0}=s,n=er(!1);let e=null;function f(){e&&(clearTimeout(e),e=null)}function v(){n.value=!1,f()}function b(...D){f(),n.value=!0,e=setTimeout(()=>{n.value=!1,e=null,t(...D)},Hn(r))}return a&&(n.value=!0,kh&&b()),el(v),{isPending:Vl(n),start:b,stop:v}}function gP(t=!1,r={}){const{truthyValue:s=!0,falsyValue:a=!1}=r,n=un(t),e=er(t);function f(v){if(arguments.length)return e.value=v,e.value;{const b=Hn(s);return e.value=e.value===b?Hn(a):b,e.value}}return n?f:[e,f]}function ah(t){var r;const s=Hn(t);return(r=s==null?void 0:s.$el)!=null?r:s}const Zi=kh?window:void 0,ex=kh?window.document:void 0,tx=kh?window.navigator:void 0;function io(...t){let r,s,a,n;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,a,n]=t,r=Zi):[r,s,a,n]=t,!r)return Gc;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const e=[],f=()=>{e.forEach(F=>F()),e.length=0},v=(F,T,C,O)=>(F.addEventListener(T,C,O),()=>F.removeEventListener(T,C,O)),b=In(()=>[ah(r),Hn(n)],([F,T])=>{if(f(),!F)return;const C=aP(T)?{...T}:T;e.push(...s.flatMap(O=>a.map(N=>v(F,O,N,C))))},{immediate:!0,flush:"post"}),D=()=>{b(),f()};return el(D),D}function vP(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function bP(...t){let r,s,a={};t.length===3?(r=t[0],s=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,s=t[0],a=t[1]):(r=t[0],s=t[1]):(r=!0,s=t[0]);const{target:n=Zi,eventName:e="keydown",passive:f=!1,dedupe:v=!1}=a,b=vP(r);return io(n,e,F=>{F.repeat&&Hn(v)||b(F)&&s(F)},f)}function NH(t,r,s={}){return bP(t,r,{...s,eventName:"keyup"})}function _P(){const t=er(!1),r=xs();return r&&mo(()=>{t.value=!0},r),t}function Up(t){const r=_P();return Sr(()=>(r.value,!!t()))}function yP(t,r,s={}){const{window:a=Zi,...n}=s;let e;const f=Up(()=>a&&"MutationObserver"in a),v=()=>{e&&(e.disconnect(),e=void 0)},b=Sr(()=>{const C=Hn(t),O=(Array.isArray(C)?C:[C]).map(ah).filter(KT);return new Set(O)}),D=In(()=>b.value,C=>{v(),f.value&&C.size&&(e=new MutationObserver(r),C.forEach(O=>e.observe(O,n)))},{immediate:!0,flush:"post"}),F=()=>e==null?void 0:e.takeRecords(),T=()=>{v(),D()};return el(T),{isSupported:f,stop:T,takeRecords:F}}function wP(t,r={}){const{immediate:s=!0,fpsLimit:a=void 0,window:n=Zi}=r,e=er(!1),f=a?1e3/a:null;let v=0,b=null;function D(C){if(!e.value||!n)return;v||(v=C);const O=C-v;if(f&&O<f){b=n.requestAnimationFrame(D);return}v=C,t({delta:O,timestamp:C}),b=n.requestAnimationFrame(D)}function F(){!e.value&&n&&(e.value=!0,v=0,b=n.requestAnimationFrame(D))}function T(){e.value=!1,b!=null&&n&&(n.cancelAnimationFrame(b),b=null)}return s&&F(),el(T),{isActive:Vl(e),pause:T,resume:F}}function DP(t,r={}){const{window:s=Zi}=r,a=Up(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function");let n;const e=er(!1),f=D=>{e.value=D.matches},v=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",f):n.removeListener(f))},b=T3(()=>{a.value&&(v(),n=s.matchMedia(Hn(t)),"addEventListener"in n?n.addEventListener("change",f):n.addListener(f),e.value=n.matches)});return el(()=>{b(),v(),n=void 0}),e}function yE(t,r={}){const{controls:s=!1,navigator:a=tx}=r,n=Up(()=>a&&"permissions"in a);let e;const f=typeof t=="string"?{name:t}:t,v=er(),b=()=>{e&&(v.value=e.state)},D=cP(async()=>{if(n.value){if(!e)try{e=await a.permissions.query(f),io(e,"change",b),b()}catch{v.value="prompt"}return e}});return D(),s?{state:v,isSupported:n,query:D}:v}function MH(t={}){const{navigator:r=tx,read:s=!1,source:a,copiedDuring:n=1500,legacy:e=!1}=t,f=Up(()=>r&&"clipboard"in r),v=yE("clipboard-read"),b=yE("clipboard-write"),D=Sr(()=>f.value||e),F=er(""),T=er(!1),C=ZT(()=>T.value=!1,n);function O(){f.value&&G(v.value)?r.clipboard.readText().then(X=>{F.value=X}):F.value=V()}D.value&&s&&io(["copy","cut"],O);async function N(X=Hn(a)){D.value&&X!=null&&(f.value&&G(b.value)?await r.clipboard.writeText(X):B(X),F.value=X,T.value=!0,C.start())}function B(X){const H=document.createElement("textarea");H.value=X??"",H.style.position="absolute",H.style.opacity="0",document.body.appendChild(H),H.select(),document.execCommand("copy"),H.remove()}function V(){var X,H,z;return(z=(H=(X=document==null?void 0:document.getSelection)==null?void 0:X.call(document))==null?void 0:H.toString())!=null?z:""}function G(X){return X==="granted"||X==="prompt"}return{isSupported:D,text:F,copied:T,copy:N}}function EP(t){return JSON.parse(JSON.stringify(t))}const x2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},A2="__vueuse_ssr_handlers__",FP=TP();function TP(){return A2 in x2||(x2[A2]=x2[A2]||{}),x2[A2]}function rx(t,r){return FP[t]||r}function xP(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const AP={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},wE="vueuse-storage";function CP(t,r,s,a={}){var n;const{flush:e="pre",deep:f=!0,listenToStorageChanges:v=!0,writeDefaults:b=!0,mergeDefaults:D=!1,shallow:F,window:T=Zi,eventFilter:C,onError:O=W=>{console.error(W)},initOnMounted:N}=a,B=(F?zc:er)(typeof r=="function"?r():r);if(!s)try{s=rx("getDefaultStorage",()=>{var W;return(W=Zi)==null?void 0:W.localStorage})()}catch(W){O(W)}if(!s)return B;const V=Hn(r),G=xP(V),X=(n=a.serializer)!=null?n:AP[G],{pause:H,resume:z}=hP(B,()=>ee(B.value),{flush:e,deep:f,eventFilter:C});T&&v&&JT(()=>{io(T,"storage",P),io(T,wE,I),N&&P()}),N||P();function Y(W,ae){T&&T.dispatchEvent(new CustomEvent(wE,{detail:{key:t,oldValue:W,newValue:ae,storageArea:s}}))}function ee(W){try{const ae=s.getItem(t);if(W==null)Y(ae,null),s.removeItem(t);else{const oe=X.write(W);ae!==oe&&(s.setItem(t,oe),Y(ae,oe))}}catch(ae){O(ae)}}function K(W){const ae=W?W.newValue:s.getItem(t);if(ae==null)return b&&V!=null&&s.setItem(t,X.write(V)),V;if(!W&&D){const oe=X.read(ae);return typeof D=="function"?D(oe,V):G==="object"&&!Array.isArray(oe)?{...V,...oe}:oe}else return typeof ae!="string"?ae:X.read(ae)}function P(W){if(!(W&&W.storageArea!==s)){if(W&&W.key==null){B.value=V;return}if(!(W&&W.key!==t)){H();try{(W==null?void 0:W.newValue)!==X.write(B.value)&&(B.value=K(W))}catch(ae){O(ae)}finally{W?va(z):z()}}}}function I(W){P(W.detail)}return B}function nw(t){return DP("(prefers-color-scheme: dark)",t)}function SP(t={}){const{selector:r="html",attribute:s="class",initialValue:a="auto",window:n=Zi,storage:e,storageKey:f="vueuse-color-scheme",listenToStorageChanges:v=!0,storageRef:b,emitAuto:D,disableTransition:F=!0}=t,T={auto:"",light:"light",dark:"dark",...t.modes||{}},C=nw({window:n}),O=Sr(()=>C.value?"dark":"light"),N=b||(f==null?J1(a):CP(f,a,e,{window:n,listenToStorageChanges:v})),B=Sr(()=>N.value==="auto"?O.value:N.value),V=rx("updateHTMLAttrs",(z,Y,ee)=>{const K=typeof z=="string"?n==null?void 0:n.document.querySelector(z):ah(z);if(!K)return;let P;if(F){P=n.document.createElement("style");const I="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";P.appendChild(document.createTextNode(I)),n.document.head.appendChild(P)}if(Y==="class"){const I=ee.split(/\s/g);Object.values(T).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{I.includes(W)?K.classList.add(W):K.classList.remove(W)})}else K.setAttribute(Y,ee);F&&(n.getComputedStyle(P).opacity,document.head.removeChild(P))});function G(z){var Y;V(r,s,(Y=T[z])!=null?Y:z)}function X(z){t.onChanged?t.onChanged(z,G):G(z)}In(B,X,{flush:"post",immediate:!0}),JT(()=>X(B.value));const H=Sr({get(){return D?N.value:B.value},set(z){N.value=z}});try{return Object.assign(H,{store:N,system:O,state:B})}catch{return H}}function kP(t={}){const{valueDark:r="dark",valueLight:s="",window:a=Zi}=t,n=SP({...t,onChanged:(v,b)=>{var D;t.onChanged?(D=t.onChanged)==null||D.call(t,v==="dark",b,v):b(v)},modes:{dark:r,light:s}}),e=Sr(()=>n.system?n.system.value:nw({window:a}).value?"dark":"light");return Sr({get(){return n.value==="dark"},set(v){const b=v?"dark":"light";e.value===b?n.value="auto":n.value=b}})}function LH(t={}){const{document:r=ex}=t;if(!r)return er("visible");const s=er(r.visibilityState);return io(r,"visibilitychange",()=>{s.value=r.visibilityState}),s}function OP(t,r,s={}){const{root:a,rootMargin:n="0px",threshold:e=.1,window:f=Zi,immediate:v=!0}=s,b=Up(()=>f&&"IntersectionObserver"in f),D=Sr(()=>{const N=Hn(t);return(Array.isArray(N)?N:[N]).map(ah).filter(KT)});let F=Gc;const T=er(v),C=b.value?In(()=>[D.value,ah(a),T.value],([N,B])=>{if(F(),!T.value||!N.length)return;const V=new IntersectionObserver(r,{root:ah(B),rootMargin:n,threshold:e});N.forEach(G=>G&&V.observe(G)),F=()=>{V.disconnect(),F=Gc}},{immediate:v,flush:"post"}):Gc,O=()=>{F(),C(),T.value=!1};return el(O),{isSupported:b,isActive:T,pause(){F(),T.value=!1},resume(){T.value=!0},stop:O}}function RP(t,r={}){const{window:s=Zi,scrollTarget:a,threshold:n=0}=r,e=er(!1);return OP(t,f=>{let v=e.value,b=0;for(const D of f)D.time>=b&&(b=D.time,v=D.isIntersecting);e.value=v},{root:a,window:s,threshold:n}),e}const IP={json:"application/json",text:"text/plain"};function DE(t){return t&&uP(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function ky(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries(t.entries()):t}function PP(t,...r){var s;const a=typeof AbortController=="function";let n={},e={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const f={method:"GET",type:"text",payload:void 0};r.length>0&&(DE(r[0])?e={...e,...r[0]}:n=r[0]),r.length>1&&DE(r[1])&&(e={...e,...r[1]});const{fetch:v=(s=Zi)==null?void 0:s.fetch,initialData:b,timeout:D}=e,F=Sy(),T=Sy(),C=Sy(),O=er(!1),N=er(!1),B=er(!1),V=er(null),G=zc(null),X=zc(null),H=zc(b||null),z=Sr(()=>a&&N.value);let Y,ee;const K=()=>{a&&(Y==null||Y.abort(),Y=new AbortController,Y.signal.onabort=()=>B.value=!0,n={...n,signal:Y.signal})},P=ve=>{N.value=ve,O.value=!ve};D&&(ee=ZT(K,D,{immediate:!1}));let I=0;const W=async(ve=!1)=>{var fe,Fe;K(),P(!0),X.value=null,V.value=null,B.value=!1,I+=1;const Oe=I,Re={method:f.method,headers:{}};if(f.payload){const ke=ky(Re.headers),ge=Hn(f.payload);!f.payloadType&&ge&&Object.getPrototypeOf(ge)===Object.prototype&&!(ge instanceof FormData)&&(f.payloadType="json"),f.payloadType&&(ke["Content-Type"]=(fe=IP[f.payloadType])!=null?fe:f.payloadType),Re.body=f.payloadType==="json"?JSON.stringify(ge):ge}let ce=!1;const we={url:Hn(t),options:{...Re,...n},cancel:()=>{ce=!0}};if(e.beforeFetch&&Object.assign(we,await e.beforeFetch(we)),ce||!v)return P(!1),Promise.resolve(null);let We=null;return ee&&ee.start(),v(we.url,{...Re,...we.options,headers:{...ky(Re.headers),...ky((Fe=we.options)==null?void 0:Fe.headers)}}).then(async ke=>{if(G.value=ke,V.value=ke.status,We=await ke.clone()[f.type](),!ke.ok)throw H.value=b||null,new Error(ke.statusText);return e.afterFetch&&({data:We}=await e.afterFetch({data:We,response:ke})),H.value=We,F.trigger(ke),ke}).catch(async ke=>{let ge=ke.message||ke.name;if(e.onFetchError&&({error:ge,data:We}=await e.onFetchError({data:We,error:ke,response:G.value})),X.value=ge,e.updateDataOnError&&(H.value=We),T.trigger(ke),ve)throw ke;return null}).finally(()=>{Oe===I&&P(!1),ee&&ee.stop(),C.trigger(null)})},ae=J1(e.refetch);In([ae,J1(t)],([ve])=>ve&&W(),{deep:!0});const oe={isFinished:Vl(O),isFetching:Vl(N),statusCode:V,response:G,error:X,data:H,canAbort:z,aborted:B,abort:K,execute:W,onFetchResponse:F.on,onFetchError:T.on,onFetchFinally:C.on,get:be("GET"),put:be("PUT"),post:be("POST"),delete:be("DELETE"),patch:be("PATCH"),head:be("HEAD"),options:be("OPTIONS"),json:Ue("json"),text:Ue("text"),blob:Ue("blob"),arrayBuffer:Ue("arrayBuffer"),formData:Ue("formData")};function be(ve){return(fe,Fe)=>{if(!N.value)return f.method=ve,f.payload=fe,f.payloadType=Fe,un(f.payload)&&In([ae,J1(f.payload)],([Oe])=>Oe&&W(),{deep:!0}),{...oe,then(Oe,Re){return Ee().then(Oe,Re)}}}}function Ee(){return new Promise((ve,fe)=>{pP(O).toBe(!0).then(()=>ve(oe)).catch(Fe=>fe(Fe))})}function Ue(ve){return()=>{if(!N.value)return f.type=ve,{...oe,then(fe,Fe){return Ee().then(fe,Fe)}}}}return e.immediate&&Promise.resolve().then(()=>W()),{...oe,then(ve,fe){return Ee().then(ve,fe)}}}const NP={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function BH(t={}){const{reactive:r=!1,target:s=Zi,aliasMap:a=NP,passive:n=!0,onEventFired:e=Gc}=t,f=qc(new Set),v={toJSON(){return{}},current:f},b=r?qc(v):v,D=new Set,F=new Set;function T(B,V){B in b&&(r?b[B]=V:b[B].value=V)}function C(){f.clear();for(const B of F)T(B,!1)}function O(B,V){var G,X;const H=(G=B.key)==null?void 0:G.toLowerCase(),Y=[(X=B.code)==null?void 0:X.toLowerCase(),H].filter(Boolean);H&&(V?f.add(H):f.delete(H));for(const ee of Y)F.add(ee),T(ee,V);H==="meta"&&!V?(D.forEach(ee=>{f.delete(ee),T(ee,!1)}),D.clear()):typeof B.getModifierState=="function"&&B.getModifierState("Meta")&&V&&[...f,...Y].forEach(ee=>D.add(ee))}io(s,"keydown",B=>(O(B,!0),e(B)),{passive:n}),io(s,"keyup",B=>(O(B,!1),e(B)),{passive:n}),io("blur",C,{passive:!0}),io("focus",C,{passive:!0});const N=new Proxy(b,{get(B,V,G){if(typeof V!="string")return Reflect.get(B,V,G);if(V=V.toLowerCase(),V in a&&(V=a[V]),!(V in b))if(/[+_-]/.test(V)){const H=V.split(/[+_-]/g).map(z=>z.trim());b[V]=Sr(()=>H.every(z=>Hn(N[z])))}else b[V]=er(!1);const X=Reflect.get(B,V,G);return r?Hn(X):X}});return N}function nx(t={}){const{controls:r=!1,interval:s="requestAnimationFrame"}=t,a=er(new Date),n=()=>a.value=new Date,e=s==="requestAnimationFrame"?wP(n,{immediate:!0}):mP(n,s,{immediate:!0});return r?{now:a,...e}:a}function MP(t=null,r={}){var s,a,n;const{document:e=ex,restoreOnUnmount:f=T=>T}=r,v=(s=e==null?void 0:e.title)!=null?s:"",b=J1((a=t??(e==null?void 0:e.title))!=null?a:null),D=t&&typeof t=="function";function F(T){if(!("titleTemplate"in r))return T;const C=r.titleTemplate||"%s";return typeof C=="function"?C(T):Hn(C).replace(/%s/g,T)}return In(b,(T,C)=>{T!==C&&e&&(e.title=F(typeof T=="string"?T:""))},{immediate:!0}),r.observe&&!r.titleTemplate&&e&&!D&&yP((n=e.head)==null?void 0:n.querySelector("title"),()=>{e&&e.title!==b.value&&(b.value=F(e.title))},{childList:!0}),dP(()=>{if(f){const T=f(v,b.value||"");T!=null&&e&&(e.title=T)}}),b}function EE(t,r,s,a={}){var n,e,f;const{clone:v=!1,passive:b=!1,eventName:D,deep:F=!1,defaultValue:T,shouldEmit:C}=a,O=xs(),N=s||(O==null?void 0:O.emit)||((n=O==null?void 0:O.$emit)==null?void 0:n.bind(O))||((f=(e=O==null?void 0:O.proxy)==null?void 0:e.$emit)==null?void 0:f.bind(O==null?void 0:O.proxy));let B=D;r||(r="modelValue"),B=B||`update:${r.toString()}`;const V=H=>v?typeof v=="function"?v(H):EP(H):H,G=()=>sP(t[r])?V(t[r]):T,X=H=>{C?C(H)&&N(B,H):N(B,H)};if(b){const H=G(),z=er(H);let Y=!1;return In(()=>t[r],ee=>{Y||(Y=!0,z.value=V(ee),va(()=>Y=!1))}),In(z,ee=>{!Y&&(ee!==t[r]||F)&&X(ee)},{deep:F}),z}else return Sr({get(){return G()},set(H){X(H)}})}function LP(t={}){const{window:r=Zi,behavior:s="auto"}=t;if(!r)return{x:er(0),y:er(0)};const a=er(r.scrollX),n=er(r.scrollY),e=Sr({get(){return a.value},set(v){scrollTo({left:v,behavior:s})}}),f=Sr({get(){return n.value},set(v){scrollTo({top:v,behavior:s})}});return io(r,"scroll",()=>{a.value=r.scrollX,n.value=r.scrollY},{capture:!1,passive:!0}),{x:e,y:f}}const sx=kP(),BP=gP(sx),UP=nw(),HP={class:"right","print:op0":""},$P=["title"],WP=["title"],zP=["href"],VP=["href"],GP=us({__name:"NavBar",props:{width:null},setup(t){const r=t,{t:s,locale:a}=Nh(),{y:n}=LP(),e=bT();function f(){window.scrollTo({top:0,behavior:"smooth"})}async function v(){const D=Q5,F=D[(D.indexOf(a.value)+1)%D.length];await P3(F),a.value=F}const b=Sr(()=>e.fullPath.startsWith("/rating")?"/rating":"/");return(D,F)=>{const T=uo("RouterLink");return Hr(),Fn("header",{class:Ii(["header z-40",[(r==null?void 0:r.width)??""]])},[It("button",{title:"Scroll to top",fixed:"","bottom-6":"","right-6":"","z-100":"","h-10":"","w-10":"","rounded-full":"",transition:"","duration-300":"","print:hidden":"","hover-bg-hex-8883":"","hover:op100":"",class:Ii(Zt(n)>300?"op30":"op0! pointer-events-none"),onClick:F[0]||(F[0]=C=>f())},F[3]||(F[3]=[It("div",{"i-ri-arrow-up-line":""},null,-1)]),2),It("nav",{class:Ii(["nav",[r!=null&&r.width?"":"fixed"]]),"text-xl":""},[F[9]||(F[9]=It("div",{class:"spacer"},null,-1)),It("div",HP,[Cr(T,{"icon-btn":"",title:Zt(s)("button.home"),to:Zt(b),focusable:"false"},{default:Gs(()=>F[4]||(F[4]=[It("div",{"i-ion-balloon-sharp":""},null,-1)])),_:1},8,["title","to"]),It("a",{"icon-btn":"",title:Zt(s)("button.toggle_langs"),onClick:F[1]||(F[1]=C=>v())},F[5]||(F[5]=[It("div",{"i-carbon-language":""},null,-1)]),8,$P),It("a",{"icon-btn":"",title:Zt(s)("button.toggle_dark"),onClick:F[2]||(F[2]=C=>("toggleDark"in D?D.toggleDark:Zt(BP))())},F[6]||(F[6]=[It("div",{i:"carbon-sun dark:carbon-moon"},null,-1)]),8,WP),It("a",{"icon-btn":"",rel:"noreferrer",href:Zt(YT),target:"_blank",title:"GitHub"},F[7]||(F[7]=[It("div",{"i-carbon-logo-github":""},null,-1)]),8,zP),It("a",{"icon-btn":"",rel:"noreferrer",href:Zt(YI),target:"_blank",title:"GitHub"},F[8]||(F[8]=[It("div",{"i-simple-icons-githubsponsors":""},null,-1)]),8,VP)])],2)],2)}}});const Mh=(t,r)=>{const s=t.__vccOpts||t;for(const[a,n]of r)s[a]=n;return s},jP=Mh(GP,[["__scopeId","data-v-e157f5ef"]]),YP={},KP={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function qP(t,r){const s=jP,a=uo("RouterView"),n=nP;return Hr(),Fn(Yn,null,[Cr(s),It("main",KP,[Cr(a),Cr(n)])],64)}const QP=Mh(YP,[["render",qP]]),XP={"board-layout":()=>ni(()=>import("./board-layout-967802f4.js"),[],import.meta.url),default:QP,headless:()=>ni(()=>import("./headless-f3f3253c.js"),[],import.meta.url),home:()=>ni(()=>import("./home-3d9e3102.js"),[],import.meta.url),"index-layout":()=>ni(()=>import("./index-layout-5a67cc99.js"),[],import.meta.url)};function JP(t){return t.map(r=>{var s;return{path:r.path,meta:r.meta,component:XP[((s=r.meta)==null?void 0:s.layout)||"default"],children:r.path==="/"?[r]:[{...r,path:""}]}})}const ZP=["top","right","bottom","left"],FE=["start","end"],TE=ZP.reduce((t,r)=>t.concat(r,r+"-"+FE[0],r+"-"+FE[1]),[]),_p=Math.min,uf=Math.max,eN={left:"right",right:"left",bottom:"top",top:"bottom"},tN={start:"end",end:"start"};function U4(t,r,s){return uf(t,_p(r,s))}function Rf(t,r){return typeof t=="function"?t(r):t}function tl(t){return t.split("-")[0]}function co(t){return t.split("-")[1]}function ix(t){return t==="x"?"y":"x"}function sw(t){return t==="y"?"height":"width"}function xf(t){return["top","bottom"].includes(tl(t))?"y":"x"}function iw(t){return ix(xf(t))}function ax(t,r,s){s===void 0&&(s=!1);const a=co(t),n=iw(t),e=sw(n);let f=n==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[e]>r.floating[e]&&(f=kv(f)),[f,kv(f)]}function rN(t){const r=kv(t);return[Sv(t),r,Sv(r)]}function Sv(t){return t.replace(/start|end/g,r=>tN[r])}function nN(t,r,s){const a=["left","right"],n=["right","left"],e=["top","bottom"],f=["bottom","top"];switch(t){case"top":case"bottom":return s?r?n:a:r?a:n;case"left":case"right":return r?e:f;default:return[]}}function sN(t,r,s,a){const n=co(t);let e=nN(tl(t),s==="start",a);return n&&(e=e.map(f=>f+"-"+n),r&&(e=e.concat(e.map(Sv)))),e}function kv(t){return t.replace(/left|right|bottom|top/g,r=>eN[r])}function iN(t){return{top:0,right:0,bottom:0,left:0,...t}}function ox(t){return typeof t!="number"?iN(t):{top:t,right:t,bottom:t,left:t}}function Z1(t){const{x:r,y:s,width:a,height:n}=t;return{width:a,height:n,top:s,left:r,right:r+a,bottom:s+n,x:r,y:s}}function xE(t,r,s){let{reference:a,floating:n}=t;const e=xf(r),f=iw(r),v=sw(f),b=tl(r),D=e==="y",F=a.x+a.width/2-n.width/2,T=a.y+a.height/2-n.height/2,C=a[v]/2-n[v]/2;let O;switch(b){case"top":O={x:F,y:a.y-n.height};break;case"bottom":O={x:F,y:a.y+a.height};break;case"right":O={x:a.x+a.width,y:T};break;case"left":O={x:a.x-n.width,y:T};break;default:O={x:a.x,y:a.y}}switch(co(r)){case"start":O[f]-=C*(s&&D?-1:1);break;case"end":O[f]+=C*(s&&D?-1:1);break}return O}const aN=async(t,r,s)=>{const{placement:a="bottom",strategy:n="absolute",middleware:e=[],platform:f}=s,v=e.filter(Boolean),b=await(f.isRTL==null?void 0:f.isRTL(r));let D=await f.getElementRects({reference:t,floating:r,strategy:n}),{x:F,y:T}=xE(D,a,b),C=a,O={},N=0;for(let B=0;B<v.length;B++){const{name:V,fn:G}=v[B],{x:X,y:H,data:z,reset:Y}=await G({x:F,y:T,initialPlacement:a,placement:C,strategy:n,middlewareData:O,rects:D,platform:f,elements:{reference:t,floating:r}});F=X??F,T=H??T,O={...O,[V]:{...O[V],...z}},Y&&N<=50&&(N++,typeof Y=="object"&&(Y.placement&&(C=Y.placement),Y.rects&&(D=Y.rects===!0?await f.getElementRects({reference:t,floating:r,strategy:n}):Y.rects),{x:F,y:T}=xE(D,C,b)),B=-1)}return{x:F,y:T,placement:C,strategy:n,middlewareData:O}};async function ub(t,r){var s;r===void 0&&(r={});const{x:a,y:n,platform:e,rects:f,elements:v,strategy:b}=t,{boundary:D="clippingAncestors",rootBoundary:F="viewport",elementContext:T="floating",altBoundary:C=!1,padding:O=0}=Rf(r,t),N=ox(O),V=v[C?T==="floating"?"reference":"floating":T],G=Z1(await e.getClippingRect({element:(s=await(e.isElement==null?void 0:e.isElement(V)))==null||s?V:V.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(v.floating)),boundary:D,rootBoundary:F,strategy:b})),X=T==="floating"?{x:a,y:n,width:f.floating.width,height:f.floating.height}:f.reference,H=await(e.getOffsetParent==null?void 0:e.getOffsetParent(v.floating)),z=await(e.isElement==null?void 0:e.isElement(H))?await(e.getScale==null?void 0:e.getScale(H))||{x:1,y:1}:{x:1,y:1},Y=Z1(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:X,offsetParent:H,strategy:b}):X);return{top:(G.top-Y.top+N.top)/z.y,bottom:(Y.bottom-G.bottom+N.bottom)/z.y,left:(G.left-Y.left+N.left)/z.x,right:(Y.right-G.right+N.right)/z.x}}const oN=t=>({name:"arrow",options:t,async fn(r){const{x:s,y:a,placement:n,rects:e,platform:f,elements:v,middlewareData:b}=r,{element:D,padding:F=0}=Rf(t,r)||{};if(D==null)return{};const T=ox(F),C={x:s,y:a},O=iw(n),N=sw(O),B=await f.getDimensions(D),V=O==="y",G=V?"top":"left",X=V?"bottom":"right",H=V?"clientHeight":"clientWidth",z=e.reference[N]+e.reference[O]-C[O]-e.floating[N],Y=C[O]-e.reference[O],ee=await(f.getOffsetParent==null?void 0:f.getOffsetParent(D));let K=ee?ee[H]:0;(!K||!await(f.isElement==null?void 0:f.isElement(ee)))&&(K=v.floating[H]||e.floating[N]);const P=z/2-Y/2,I=K/2-B[N]/2-1,W=_p(T[G],I),ae=_p(T[X],I),oe=W,be=K-B[N]-ae,Ee=K/2-B[N]/2+P,Ue=U4(oe,Ee,be),ve=!b.arrow&&co(n)!=null&&Ee!==Ue&&e.reference[N]/2-(Ee<oe?W:ae)-B[N]/2<0,fe=ve?Ee<oe?Ee-oe:Ee-be:0;return{[O]:C[O]+fe,data:{[O]:Ue,centerOffset:Ee-Ue-fe,...ve&&{alignmentOffset:fe}},reset:ve}}});function lN(t,r,s){return(t?[...s.filter(n=>co(n)===t),...s.filter(n=>co(n)!==t)]:s.filter(n=>tl(n)===n)).filter(n=>t?co(n)===t||(r?Sv(n)!==n:!1):!0)}const cN=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(r){var s,a,n;const{rects:e,middlewareData:f,placement:v,platform:b,elements:D}=r,{crossAxis:F=!1,alignment:T,allowedPlacements:C=TE,autoAlignment:O=!0,...N}=Rf(t,r),B=T!==void 0||C===TE?lN(T||null,O,C):C,V=await ub(r,N),G=((s=f.autoPlacement)==null?void 0:s.index)||0,X=B[G];if(X==null)return{};const H=ax(X,e,await(b.isRTL==null?void 0:b.isRTL(D.floating)));if(v!==X)return{reset:{placement:B[0]}};const z=[V[tl(X)],V[H[0]],V[H[1]]],Y=[...((a=f.autoPlacement)==null?void 0:a.overflows)||[],{placement:X,overflows:z}],ee=B[G+1];if(ee)return{data:{index:G+1,overflows:Y},reset:{placement:ee}};const K=Y.map(W=>{const ae=co(W.placement);return[W.placement,ae&&F?W.overflows.slice(0,2).reduce((oe,be)=>oe+be,0):W.overflows[0],W.overflows]}).sort((W,ae)=>W[1]-ae[1]),I=((n=K.filter(W=>W[2].slice(0,co(W[0])?2:3).every(ae=>ae<=0))[0])==null?void 0:n[0])||K[0][0];return I!==v?{data:{index:G+1,overflows:Y},reset:{placement:I}}:{}}}},uN=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var s,a;const{placement:n,middlewareData:e,rects:f,initialPlacement:v,platform:b,elements:D}=r,{mainAxis:F=!0,crossAxis:T=!0,fallbackPlacements:C,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:B=!0,...V}=Rf(t,r);if((s=e.arrow)!=null&&s.alignmentOffset)return{};const G=tl(n),X=xf(v),H=tl(v)===v,z=await(b.isRTL==null?void 0:b.isRTL(D.floating)),Y=C||(H||!B?[kv(v)]:rN(v)),ee=N!=="none";!C&&ee&&Y.push(...sN(v,B,N,z));const K=[v,...Y],P=await ub(r,V),I=[];let W=((a=e.flip)==null?void 0:a.overflows)||[];if(F&&I.push(P[G]),T){const Ee=ax(n,f,z);I.push(P[Ee[0]],P[Ee[1]])}if(W=[...W,{placement:n,overflows:I}],!I.every(Ee=>Ee<=0)){var ae,oe;const Ee=(((ae=e.flip)==null?void 0:ae.index)||0)+1,Ue=K[Ee];if(Ue)return{data:{index:Ee,overflows:W},reset:{placement:Ue}};let ve=(oe=W.filter(fe=>fe.overflows[0]<=0).sort((fe,Fe)=>fe.overflows[1]-Fe.overflows[1])[0])==null?void 0:oe.placement;if(!ve)switch(O){case"bestFit":{var be;const fe=(be=W.filter(Fe=>{if(ee){const Oe=xf(Fe.placement);return Oe===X||Oe==="y"}return!0}).map(Fe=>[Fe.placement,Fe.overflows.filter(Oe=>Oe>0).reduce((Oe,Re)=>Oe+Re,0)]).sort((Fe,Oe)=>Fe[1]-Oe[1])[0])==null?void 0:be[0];fe&&(ve=fe);break}case"initialPlacement":ve=v;break}if(n!==ve)return{reset:{placement:ve}}}return{}}}};async function fN(t,r){const{placement:s,platform:a,elements:n}=t,e=await(a.isRTL==null?void 0:a.isRTL(n.floating)),f=tl(s),v=co(s),b=xf(s)==="y",D=["left","top"].includes(f)?-1:1,F=e&&b?-1:1,T=Rf(r,t);let{mainAxis:C,crossAxis:O,alignmentAxis:N}=typeof T=="number"?{mainAxis:T,crossAxis:0,alignmentAxis:null}:{mainAxis:T.mainAxis||0,crossAxis:T.crossAxis||0,alignmentAxis:T.alignmentAxis};return v&&typeof N=="number"&&(O=v==="end"?N*-1:N),b?{x:O*F,y:C*D}:{x:C*D,y:O*F}}const hN=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){var s,a;const{x:n,y:e,placement:f,middlewareData:v}=r,b=await fN(r,t);return f===((s=v.offset)==null?void 0:s.placement)&&(a=v.arrow)!=null&&a.alignmentOffset?{}:{x:n+b.x,y:e+b.y,data:{...b,placement:f}}}}},dN=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:s,y:a,placement:n}=r,{mainAxis:e=!0,crossAxis:f=!1,limiter:v={fn:V=>{let{x:G,y:X}=V;return{x:G,y:X}}},...b}=Rf(t,r),D={x:s,y:a},F=await ub(r,b),T=xf(tl(n)),C=ix(T);let O=D[C],N=D[T];if(e){const V=C==="y"?"top":"left",G=C==="y"?"bottom":"right",X=O+F[V],H=O-F[G];O=U4(X,O,H)}if(f){const V=T==="y"?"top":"left",G=T==="y"?"bottom":"right",X=N+F[V],H=N-F[G];N=U4(X,N,H)}const B=v.fn({...r,[C]:O,[T]:N});return{...B,data:{x:B.x-s,y:B.y-a,enabled:{[C]:e,[T]:f}}}}}},pN=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(r){var s,a;const{placement:n,rects:e,platform:f,elements:v}=r,{apply:b=()=>{},...D}=Rf(t,r),F=await ub(r,D),T=tl(n),C=co(n),O=xf(n)==="y",{width:N,height:B}=e.floating;let V,G;T==="top"||T==="bottom"?(V=T,G=C===(await(f.isRTL==null?void 0:f.isRTL(v.floating))?"start":"end")?"left":"right"):(G=T,V=C==="end"?"top":"bottom");const X=B-F.top-F.bottom,H=N-F.left-F.right,z=_p(B-F[V],X),Y=_p(N-F[G],H),ee=!r.middlewareData.shift;let K=z,P=Y;if((s=r.middlewareData.shift)!=null&&s.enabled.x&&(P=H),(a=r.middlewareData.shift)!=null&&a.enabled.y&&(K=X),ee&&!C){const W=uf(F.left,0),ae=uf(F.right,0),oe=uf(F.top,0),be=uf(F.bottom,0);O?P=N-2*(W!==0||ae!==0?W+ae:uf(F.left,F.right)):K=B-2*(oe!==0||be!==0?oe+be:uf(F.top,F.bottom))}await b({...r,availableWidth:P,availableHeight:K});const I=await f.getDimensions(v.floating);return N!==I.width||B!==I.height?{reset:{rects:!0}}:{}}}};function Pa(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function Ko(t){return Pa(t).getComputedStyle(t)}const AE=Math.min,ep=Math.max,Ov=Math.round;function lx(t){const r=Ko(t);let s=parseFloat(r.width),a=parseFloat(r.height);const n=t.offsetWidth,e=t.offsetHeight,f=Ov(s)!==n||Ov(a)!==e;return f&&(s=n,a=e),{width:s,height:a,fallback:f}}function Jc(t){return ux(t)?(t.nodeName||"").toLowerCase():""}let C2;function cx(){if(C2)return C2;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(C2=t.brands.map(r=>r.brand+"/"+r.version).join(" "),C2):navigator.userAgent}function qo(t){return t instanceof Pa(t).HTMLElement}function jc(t){return t instanceof Pa(t).Element}function ux(t){return t instanceof Pa(t).Node}function CE(t){return typeof ShadowRoot>"u"?!1:t instanceof Pa(t).ShadowRoot||t instanceof ShadowRoot}function fb(t){const{overflow:r,overflowX:s,overflowY:a,display:n}=Ko(t);return/auto|scroll|overlay|hidden|clip/.test(r+a+s)&&!["inline","contents"].includes(n)}function mN(t){return["table","td","th"].includes(Jc(t))}function H4(t){const r=/firefox/i.test(cx()),s=Ko(t),a=s.backdropFilter||s.WebkitBackdropFilter;return s.transform!=="none"||s.perspective!=="none"||!!a&&a!=="none"||r&&s.willChange==="filter"||r&&!!s.filter&&s.filter!=="none"||["transform","perspective"].some(n=>s.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const e=s.contain;return e!=null&&e.includes(n)})}function fx(){return!/^((?!chrome|android).)*safari/i.test(cx())}function aw(t){return["html","body","#document"].includes(Jc(t))}function hx(t){return jc(t)?t:t.contextElement}const dx={x:1,y:1};function oh(t){const r=hx(t);if(!qo(r))return dx;const s=r.getBoundingClientRect(),{width:a,height:n,fallback:e}=lx(r);let f=(e?Ov(s.width):s.width)/a,v=(e?Ov(s.height):s.height)/n;return f&&Number.isFinite(f)||(f=1),v&&Number.isFinite(v)||(v=1),{x:f,y:v}}function yp(t,r,s,a){var n,e;r===void 0&&(r=!1),s===void 0&&(s=!1);const f=t.getBoundingClientRect(),v=hx(t);let b=dx;r&&(a?jc(a)&&(b=oh(a)):b=oh(t));const D=v?Pa(v):window,F=!fx()&&s;let T=(f.left+(F&&((n=D.visualViewport)==null?void 0:n.offsetLeft)||0))/b.x,C=(f.top+(F&&((e=D.visualViewport)==null?void 0:e.offsetTop)||0))/b.y,O=f.width/b.x,N=f.height/b.y;if(v){const B=Pa(v),V=a&&jc(a)?Pa(a):a;let G=B.frameElement;for(;G&&a&&V!==B;){const X=oh(G),H=G.getBoundingClientRect(),z=getComputedStyle(G);H.x+=(G.clientLeft+parseFloat(z.paddingLeft))*X.x,H.y+=(G.clientTop+parseFloat(z.paddingTop))*X.y,T*=X.x,C*=X.y,O*=X.x,N*=X.y,T+=H.x,C+=H.y,G=Pa(G).frameElement}}return{width:O,height:N,top:C,right:T+O,bottom:C+N,left:T,x:T,y:C}}function Yc(t){return((ux(t)?t.ownerDocument:t.document)||window.document).documentElement}function hb(t){return jc(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function px(t){return yp(Yc(t)).left+hb(t).scrollLeft}function wp(t){if(Jc(t)==="html")return t;const r=t.assignedSlot||t.parentNode||CE(t)&&t.host||Yc(t);return CE(r)?r.host:r}function mx(t){const r=wp(t);return aw(r)?r.ownerDocument.body:qo(r)&&fb(r)?r:mx(r)}function Rv(t,r){var s;r===void 0&&(r=[]);const a=mx(t),n=a===((s=t.ownerDocument)==null?void 0:s.body),e=Pa(a);return n?r.concat(e,e.visualViewport||[],fb(a)?a:[]):r.concat(a,Rv(a))}function SE(t,r,s){return r==="viewport"?Z1(function(a,n){const e=Pa(a),f=Yc(a),v=e.visualViewport;let b=f.clientWidth,D=f.clientHeight,F=0,T=0;if(v){b=v.width,D=v.height;const C=fx();(C||!C&&n==="fixed")&&(F=v.offsetLeft,T=v.offsetTop)}return{width:b,height:D,x:F,y:T}}(t,s)):jc(r)?Z1(function(a,n){const e=yp(a,!0,n==="fixed"),f=e.top+a.clientTop,v=e.left+a.clientLeft,b=qo(a)?oh(a):{x:1,y:1};return{width:a.clientWidth*b.x,height:a.clientHeight*b.y,x:v*b.x,y:f*b.y}}(r,s)):Z1(function(a){const n=Yc(a),e=hb(a),f=a.ownerDocument.body,v=ep(n.scrollWidth,n.clientWidth,f.scrollWidth,f.clientWidth),b=ep(n.scrollHeight,n.clientHeight,f.scrollHeight,f.clientHeight);let D=-e.scrollLeft+px(a);const F=-e.scrollTop;return Ko(f).direction==="rtl"&&(D+=ep(n.clientWidth,f.clientWidth)-v),{width:v,height:b,x:D,y:F}}(Yc(t)))}function kE(t){return qo(t)&&Ko(t).position!=="fixed"?t.offsetParent:null}function OE(t){const r=Pa(t);let s=kE(t);for(;s&&mN(s)&&Ko(s).position==="static";)s=kE(s);return s&&(Jc(s)==="html"||Jc(s)==="body"&&Ko(s).position==="static"&&!H4(s))?r:s||function(a){let n=wp(a);for(;qo(n)&&!aw(n);){if(H4(n))return n;n=wp(n)}return null}(t)||r}function gN(t,r,s){const a=qo(r),n=Yc(r),e=yp(t,!0,s==="fixed",r);let f={scrollLeft:0,scrollTop:0};const v={x:0,y:0};if(a||!a&&s!=="fixed")if((Jc(r)!=="body"||fb(n))&&(f=hb(r)),qo(r)){const b=yp(r,!0);v.x=b.x+r.clientLeft,v.y=b.y+r.clientTop}else n&&(v.x=px(n));return{x:e.left+f.scrollLeft-v.x,y:e.top+f.scrollTop-v.y,width:e.width,height:e.height}}const vN={getClippingRect:function(t){let{element:r,boundary:s,rootBoundary:a,strategy:n}=t;const e=s==="clippingAncestors"?function(D,F){const T=F.get(D);if(T)return T;let C=Rv(D).filter(V=>jc(V)&&Jc(V)!=="body"),O=null;const N=Ko(D).position==="fixed";let B=N?wp(D):D;for(;jc(B)&&!aw(B);){const V=Ko(B),G=H4(B);(N?G||O:G||V.position!=="static"||!O||!["absolute","fixed"].includes(O.position))?O=V:C=C.filter(X=>X!==B),B=wp(B)}return F.set(D,C),C}(r,this._c):[].concat(s),f=[...e,a],v=f[0],b=f.reduce((D,F)=>{const T=SE(r,F,n);return D.top=ep(T.top,D.top),D.right=AE(T.right,D.right),D.bottom=AE(T.bottom,D.bottom),D.left=ep(T.left,D.left),D},SE(r,v,n));return{width:b.right-b.left,height:b.bottom-b.top,x:b.left,y:b.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:r,offsetParent:s,strategy:a}=t;const n=qo(s),e=Yc(s);if(s===e)return r;let f={scrollLeft:0,scrollTop:0},v={x:1,y:1};const b={x:0,y:0};if((n||!n&&a!=="fixed")&&((Jc(s)!=="body"||fb(e))&&(f=hb(s)),qo(s))){const D=yp(s);v=oh(s),b.x=D.x+s.clientLeft,b.y=D.y+s.clientTop}return{width:r.width*v.x,height:r.height*v.y,x:r.x*v.x-f.scrollLeft*v.x+b.x,y:r.y*v.y-f.scrollTop*v.y+b.y}},isElement:jc,getDimensions:function(t){return qo(t)?lx(t):t.getBoundingClientRect()},getOffsetParent:OE,getDocumentElement:Yc,getScale:oh,async getElementRects(t){let{reference:r,floating:s,strategy:a}=t;const n=this.getOffsetParent||OE,e=this.getDimensions;return{reference:gN(r,await n(s),a),floating:{x:0,y:0,...await e(s)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Ko(t).direction==="rtl"},bN=(t,r,s)=>{const a=new Map,n={platform:vN,...s},e={...n.platform,_c:a};return aN(t,r,{...n,platform:e})};function gx(t,r){for(const s in r)Object.prototype.hasOwnProperty.call(r,s)&&(typeof r[s]=="object"&&t[s]?gx(t[s],r[s]):t[s]=r[s])}const Wl={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Dp(t,r){let s=Wl.themes[t]||{},a;do a=s[r],typeof a>"u"?s.$extend?s=Wl.themes[s.$extend]||{}:(s=null,a=Wl[r]):s=null;while(s);return a}function _N(t){const r=[t];let s=Wl.themes[t]||{};do s.$extend&&!s.$resetCss?(r.push(s.$extend),s=Wl.themes[s.$extend]||{}):s=null;while(s);return r.map(a=>`v-popper--theme-${a}`)}function RE(t){const r=[t];let s=Wl.themes[t]||{};do s.$extend?(r.push(s.$extend),s=Wl.themes[s.$extend]||{}):s=null;while(s);return r}let Af=!1;if(typeof window<"u"){Af=!1;try{const t=Object.defineProperty({},"passive",{get(){Af=!0}});window.addEventListener("test",null,t)}catch{}}let vx=!1;typeof window<"u"&&typeof navigator<"u"&&(vx=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const bx=["auto","top","bottom","left","right"].reduce((t,r)=>t.concat([r,`${r}-start`,`${r}-end`]),[]),IE={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},PE={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function NE(t,r){const s=t.indexOf(r);s!==-1&&t.splice(s,1)}function Oy(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const no=[];let cf=null;const ME={};function LE(t){let r=ME[t];return r||(r=ME[t]=[]),r}let $4=function(){};typeof window<"u"&&($4=window.Element);function an(t){return function(r){return Dp(r.theme,t)}}const Ry="__floating-vue__popper",_x=()=>us({name:"VPopper",provide(){return{[Ry]:{parentPopper:this}}},inject:{[Ry]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:an("disabled")},positioningDisabled:{type:Boolean,default:an("positioningDisabled")},placement:{type:String,default:an("placement"),validator:t=>bx.includes(t)},delay:{type:[String,Number,Object],default:an("delay")},distance:{type:[Number,String],default:an("distance")},skidding:{type:[Number,String],default:an("skidding")},triggers:{type:Array,default:an("triggers")},showTriggers:{type:[Array,Function],default:an("showTriggers")},hideTriggers:{type:[Array,Function],default:an("hideTriggers")},popperTriggers:{type:Array,default:an("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:an("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:an("popperHideTriggers")},container:{type:[String,Object,$4,Boolean],default:an("container")},boundary:{type:[String,$4],default:an("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:an("strategy")},autoHide:{type:[Boolean,Function],default:an("autoHide")},handleResize:{type:Boolean,default:an("handleResize")},instantMove:{type:Boolean,default:an("instantMove")},eagerMount:{type:Boolean,default:an("eagerMount")},popperClass:{type:[String,Array,Object],default:an("popperClass")},computeTransformOrigin:{type:Boolean,default:an("computeTransformOrigin")},autoMinSize:{type:Boolean,default:an("autoMinSize")},autoSize:{type:[Boolean,String],default:an("autoSize")},autoMaxSize:{type:Boolean,default:an("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:an("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:an("preventOverflow")},overflowPadding:{type:[Number,String],default:an("overflowPadding")},arrowPadding:{type:[Number,String],default:an("arrowPadding")},arrowOverflow:{type:Boolean,default:an("arrowOverflow")},flip:{type:Boolean,default:an("flip")},shift:{type:Boolean,default:an("shift")},shiftCrossAxis:{type:Boolean,default:an("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:an("noAutoFocus")},disposeTimeout:{type:Number,default:an("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[Ry])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,r;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((r=this.popperShowTriggers)==null?void 0:r.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,r)=>(t[r]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,r)=>(t[r]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:r=!1,force:s=!1}={}){var a,n;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,r),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:r=!1}={}){var s;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:r}),this.parentPopper.lockedChild=null)},1e3));return}((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,r),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(r=>r.nodeType===r.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(hN({mainAxis:this.distance,crossAxis:this.skidding}));const r=this.placement.startsWith("auto");if(r?t.middleware.push(cN({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(dN({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!r&&this.flip&&t.middleware.push(uN({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(oN({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:a,rects:n,middlewareData:e})=>{let f;const{centerOffset:v}=e.arrow;return a.startsWith("top")||a.startsWith("bottom")?f=Math.abs(v)>n.reference.width/2:f=Math.abs(v)>n.reference.height/2,{data:{overflow:f}}}}),this.autoMinSize||this.autoSize){const a=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:n,placement:e,middlewareData:f})=>{var v;if((v=f.autoSize)!=null&&v.skip)return{};let b,D;return e.startsWith("top")||e.startsWith("bottom")?b=n.reference.width:D=n.reference.height,this.$_innerNode.style[a==="min"?"minWidth":a==="max"?"maxWidth":"width"]=b!=null?`${b}px`:null,this.$_innerNode.style[a==="min"?"minHeight":a==="max"?"maxHeight":"height"]=D!=null?`${D}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(pN({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:a,availableHeight:n})=>{this.$_innerNode.style.maxWidth=a!=null?`${a}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const s=await bN(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:s.x,y:s.y,placement:s.placement,strategy:s.strategy,arrow:{...s.middlewareData.arrow,...s.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,r=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),cf&&this.instantMove&&cf.instantMove&&cf!==this.parentPopper){cf.$_applyHide(!0),this.$_applyShow(!0);return}r?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(cf=this),r?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const r=this.delay;return parseInt(r&&r[t]||r||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Oy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Rv(this.$_referenceNode),...Rv(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const r=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),n=r.x+r.width/2-(a.left+s.offsetLeft),e=r.y+r.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${n}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let r;for(let s=0;s<no.length;s++)r=no[s],r.showGroup!==t&&(r.hide(),r.$emit("close-group"))}no.push(this),document.body.classList.add("v-popper--some-open");for(const r of RE(this.theme))LE(r).push(this),document.body.classList.add(`v-popper--some-open--${r}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Oy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,NE(no,this),no.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of RE(this.theme)){const a=LE(s);NE(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}cf===this&&(cf=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const r=this.disposeTimeout;r!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},r)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Oy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=s=>{this.isShown&&!this.$_hideInProgress||(s.usedByTooltip=!0,!this.$_preventShow&&this.show({event:s}))};this.$_registerTriggerListeners(this.$_targetNodes,IE,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],IE,this.popperTriggers,this.popperShowTriggers,t);const r=s=>{s.usedByTooltip||this.hide({event:s})};this.$_registerTriggerListeners(this.$_targetNodes,PE,this.triggers,this.hideTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],PE,this.popperTriggers,this.popperHideTriggers,r)},$_registerEventListeners(t,r,s){this.$_events.push({targetNodes:t,eventType:r,handler:s}),t.forEach(a=>a.addEventListener(r,s,Af?{passive:!0}:void 0))},$_registerTriggerListeners(t,r,s,a,n){let e=s;a!=null&&(e=typeof a=="function"?a(e):a),e.forEach(f=>{const v=r[f];v&&this.$_registerEventListeners(t,v,n)})},$_removeEventListeners(t){const r=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:n,handler:e}=s;!t||t===n?a.forEach(f=>f.removeEventListener(n,e)):r.push(s)}),this.$_events=r},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,r=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),r&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,r){for(const s of this.$_targetNodes){const a=s.getAttribute(t);a&&(s.removeAttribute(t),s.setAttribute(r,a))}},$_applyAttrsToTarget(t){for(const r of this.$_targetNodes)for(const s in t){const a=t[s];a==null?r.removeAttribute(s):r.setAttribute(s,a)}},$_updateParentShownChildren(t){let r=this.parentPopper;for(;r;)t?r.shownChildren.add(this.randomId):(r.shownChildren.delete(this.randomId),r.$_pendingHide&&r.hide()),r=r.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(tp>=t.left&&tp<=t.right&&rp>=t.top&&rp<=t.bottom){const r=this.$_popperNode.getBoundingClientRect(),s=tp-Tc,a=rp-xc,n=r.left+r.width/2-Tc+(r.top+r.height/2)-xc+r.width+r.height,e=Tc+s*n,f=xc+a*n;return S2(Tc,xc,e,f,r.left,r.top,r.left,r.bottom)||S2(Tc,xc,e,f,r.left,r.top,r.right,r.top)||S2(Tc,xc,e,f,r.right,r.top,r.right,r.bottom)||S2(Tc,xc,e,f,r.left,r.bottom,r.right,r.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(vx?(document.addEventListener("touchstart",BE,Af?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",wN,Af?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",BE,!0),window.addEventListener("click",yN,!0)),window.addEventListener("resize",FN));function BE(t){for(let r=0;r<no.length;r++){const s=no[r];try{const a=s.popperNode();s.$_mouseDownContains=a.contains(t.target)}catch{}}}function yN(t){yx(t)}function wN(t){yx(t,!0)}function yx(t,r=!1){const s={};for(let a=no.length-1;a>=0;a--){const n=no[a];try{const e=n.$_containsGlobalTarget=DN(n,t);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!s[n.randomId]&&UE(n,e,t)){if(n.$_handleGlobalClose(t,r),!t.closeAllPopover&&t.closePopover&&e){let v=n.parentPopper;for(;v;)s[v.randomId]=!0,v=v.parentPopper;return}let f=n.parentPopper;for(;f&&UE(f,f.$_containsGlobalTarget,t);)f.$_handleGlobalClose(t,r),f=f.parentPopper}})}catch{}}}function DN(t,r){const s=t.popperNode();return t.$_mouseDownContains||s.contains(r.target)}function UE(t,r,s){return s.closeAllPopover||s.closePopover&&r||EN(t,s)&&!r}function EN(t,r){if(typeof t.autoHide=="function"){const s=t.autoHide(r);return t.lastAutoHide=s,s}return t.autoHide}function FN(t){for(let r=0;r<no.length;r++)no[r].$_computePosition(t)}let Tc=0,xc=0,tp=0,rp=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Tc=tp,xc=rp,tp=t.clientX,rp=t.clientY},Af?{passive:!0}:void 0);function S2(t,r,s,a,n,e,f,v){const b=((f-n)*(r-e)-(v-e)*(t-n))/((v-e)*(s-t)-(f-n)*(a-r)),D=((s-t)*(r-e)-(a-r)*(t-n))/((v-e)*(s-t)-(f-n)*(a-r));return b>=0&&b<=1&&D>=0&&D<=1}const TN={extends:_x()},db=(t,r)=>{const s=t.__vccOpts||t;for(const[a,n]of r)s[a]=n;return s};function xN(t,r,s,a,n,e){return Hr(),Fn("div",{ref:"reference",class:Ii(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Df(t.$slots,"default",WF(A3(t.slotData)))],2)}const AN=db(TN,[["render",xN]]);function CN(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);var s=t.indexOf("Trident/");if(s>0){var a=t.indexOf("rv:");return parseInt(t.substring(a+3,t.indexOf(".",a)),10)}var n=t.indexOf("Edge/");return n>0?parseInt(t.substring(n+5,t.indexOf(".",n)),10):-1}let V2;function W4(){W4.init||(W4.init=!0,V2=CN()!==-1)}var pb={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){W4(),va(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",V2&&this.$el.appendChild(t),t.data="about:blank",V2||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!V2&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const SN=_6();v6("data-v-b329ee4c");const kN={class:"resize-observer",tabindex:"-1"};b6();const ON=SN((t,r,s,a,n,e)=>(Hr(),Xo("div",kN)));pb.render=ON;pb.__scopeId="data-v-b329ee4c";pb.__file="src/components/ResizeObserver.vue";const wx=(t="theme")=>({computed:{themeClass(){return _N(this[t])}}}),RN=us({name:"VPopperContent",components:{ResizeObserver:pb},mixins:[wx()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),IN=["id","aria-hidden","tabindex","data-popper-placement"],PN={ref:"inner",class:"v-popper__inner"},NN=It("div",{class:"v-popper__arrow-outer"},null,-1),MN=It("div",{class:"v-popper__arrow-inner"},null,-1),LN=[NN,MN];function BN(t,r,s,a,n,e){const f=uo("ResizeObserver");return Hr(),Fn("div",{id:t.popperId,ref:"popover",class:Ii(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:oo(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:r[2]||(r[2]=N5(v=>t.autoHide&&t.$emit("hide"),["esc"]))},[It("div",{class:"v-popper__backdrop",onClick:r[0]||(r[0]=v=>t.autoHide&&t.$emit("hide"))}),It("div",{class:"v-popper__wrapper",style:oo(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[It("div",PN,[t.mounted?(Hr(),Fn(Yn,{key:0},[It("div",null,[Df(t.$slots,"default")]),t.handleResize?(Hr(),Xo(f,{key:0,onNotify:r[1]||(r[1]=v=>t.$emit("resize",v))})):pa("",!0)],64)):pa("",!0)],512),It("div",{ref:"arrow",class:"v-popper__arrow-container",style:oo(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},LN,4)],4)],46,IN)}const Dx=db(RN,[["render",BN]]),Ex={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},UN=us({name:"VPopperWrapper",components:{Popper:AN,PopperContent:Dx},mixins:[Ex,wx("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function HN(t,r,s,a,n,e){const f=uo("PopperContent"),v=uo("Popper");return Hr(),Xo(v,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:Ii([t.themeClass])},{default:Gs(({popperId:b,isShown:D,shouldMountContent:F,skipTransition:T,autoHide:C,show:O,hide:N,handleResize:B,onResize:V,classes:G,result:X})=>[Df(t.$slots,"default",{shown:D,show:O,hide:N}),Cr(f,{ref:"popperContent","popper-id":b,theme:t.finalTheme,shown:D,mounted:F,"skip-transition":T,"auto-hide":C,"handle-resize":B,classes:G,result:X,onHide:N,onResize:V},{default:Gs(()=>[Df(t.$slots,"popper",{shown:D,hide:N})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const ow=db(UN,[["render",HN]]),$N={...ow,name:"VDropdown",vPopperTheme:"dropdown"},WN={...ow,name:"VMenu",vPopperTheme:"menu"},zN={...ow,name:"VTooltip",vPopperTheme:"tooltip"},VN=us({name:"VTooltipDirective",components:{Popper:_x(),PopperContent:Dx},mixins:[Ex],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Dp(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Dp(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const r=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(r,a)):this.onResult(r,s)}},onResult(t,r){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=r)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),GN=["innerHTML"],jN=["textContent"];function YN(t,r,s,a,n,e){const f=uo("PopperContent"),v=uo("Popper");return Hr(),Xo(v,sb({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Gs(({popperId:b,isShown:D,shouldMountContent:F,skipTransition:T,autoHide:C,hide:O,handleResize:N,onResize:B,classes:V,result:G})=>[Cr(f,{ref:"popperContent",class:Ii({"v-popper--tooltip-loading":t.loading}),"popper-id":b,theme:t.theme,shown:D,mounted:F,"skip-transition":T,"auto-hide":C,"handle-resize":N,classes:V,result:G,onHide:O,onResize:B},{default:Gs(()=>[t.html?(Hr(),Fn("div",{key:0,innerHTML:t.finalContent},null,8,GN)):(Hr(),Fn("div",{key:1,textContent:vs(t.finalContent)},null,8,jN))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const KN=db(VN,[["render",YN]]),Fx="v-popper--has-tooltip";function qN(t,r){let s=t.placement;if(!s&&r)for(const a of bx)r[a]&&(s=a);return s||(s=Dp(t.theme||"tooltip","placement")),s}function Tx(t,r,s){let a;const n=typeof r;return n==="string"?a={content:r}:r&&n==="object"?a=r:a={content:!1},a.placement=qN(a,s),a.targetNodes=()=>[t],a.referenceNode=()=>t,a}let Iy,Ep,QN=0;function XN(){if(Iy)return;Ep=er([]),Iy=pp({name:"VTooltipDirectiveApp",setup(){return{directives:Ep}},render(){return this.directives.map(r=>Of(KN,{...r.options,shown:r.shown||r.options.shown,key:r.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Iy.mount(t)}function JN(t,r,s){XN();const a=er(Tx(t,r,s)),n=er(!1),e={id:QN++,options:a,shown:n};return Ep.value.push(e),t.classList&&t.classList.add(Fx),t.$_popper={options:a,item:e,show(){n.value=!0},hide(){n.value=!1}}}function xx(t){if(t.$_popper){const r=Ep.value.indexOf(t.$_popper.item);r!==-1&&Ep.value.splice(r,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(Fx)}function HE(t,{value:r,modifiers:s}){const a=Tx(t,r,s);if(!a.content||Dp(a.theme||"tooltip","disabled"))xx(t);else{let n;t.$_popper?(n=t.$_popper,n.options.value=a):n=JN(t,r,s),typeof r.shown<"u"&&r.shown!==t.$_popperOldShown&&(t.$_popperOldShown=r.shown,r.shown?n.show():n.hide())}}const ZN={beforeMount:HE,updated:HE,beforeUnmount(t){xx(t)}};function $E(t){t.addEventListener("click",Ax),t.addEventListener("touchstart",Cx,Af?{passive:!0}:!1)}function WE(t){t.removeEventListener("click",Ax),t.removeEventListener("touchstart",Cx),t.removeEventListener("touchend",Sx),t.removeEventListener("touchcancel",kx)}function Ax(t){const r=t.currentTarget;t.closePopover=!r.$_vclosepopover_touch,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}function Cx(t){if(t.changedTouches.length===1){const r=t.currentTarget;r.$_vclosepopover_touch=!0;const s=t.changedTouches[0];r.$_vclosepopover_touchPoint=s,r.addEventListener("touchend",Sx),r.addEventListener("touchcancel",kx)}}function Sx(t){const r=t.currentTarget;if(r.$_vclosepopover_touch=!1,t.changedTouches.length===1){const s=t.changedTouches[0],a=r.$_vclosepopover_touchPoint;t.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}}function kx(t){const r=t.currentTarget;r.$_vclosepopover_touch=!1}const eM={beforeMount(t,{value:r,modifiers:s}){t.$_closePopoverModifiers=s,(typeof r>"u"||r)&&$E(t)},updated(t,{value:r,oldValue:s,modifiers:a}){t.$_closePopoverModifiers=a,r!==s&&(typeof r>"u"||r?$E(t):WE(t))},beforeUnmount(t){WE(t)}};function tM(t,r={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,gx(Wl,r),t.directive("tooltip",ZN),t.directive("close-popper",eM),t.component("VTooltip",zN),t.component("VDropdown",$N),t.component("VMenu",WN))}const rM={version:"2.0.0-beta.24",install:tM,options:Wl};var mb=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Hp=typeof window>"u"||"Deno"in globalThis;function eo(){}function nM(t,r){return typeof t=="function"?t(r):t}function sM(t){return typeof t=="number"&&t>=0&&t!==1/0}function iM(t,r){return Math.max(t+(r||0)-Date.now(),0)}function zE(t,r){return typeof t=="function"?t(r):t}function aM(t,r){return typeof t=="function"?t(r):t}function VE(t,r){const{type:s="all",exact:a,fetchStatus:n,predicate:e,queryKey:f,stale:v}=t;if(f){if(a){if(r.queryHash!==lw(f,r.options))return!1}else if(!Tp(r.queryKey,f))return!1}if(s!=="all"){const b=r.isActive();if(s==="active"&&!b||s==="inactive"&&b)return!1}return!(typeof v=="boolean"&&r.isStale()!==v||n&&n!==r.state.fetchStatus||e&&!e(r))}function GE(t,r){const{exact:s,status:a,predicate:n,mutationKey:e}=t;if(e){if(!r.options.mutationKey)return!1;if(s){if(Fp(r.options.mutationKey)!==Fp(e))return!1}else if(!Tp(r.options.mutationKey,e))return!1}return!(a&&r.state.status!==a||n&&!n(r))}function lw(t,r){return((r==null?void 0:r.queryKeyHashFn)||Fp)(t)}function Fp(t){return JSON.stringify(t,(r,s)=>z4(s)?Object.keys(s).sort().reduce((a,n)=>(a[n]=s[n],a),{}):s)}function Tp(t,r){return t===r?!0:typeof t!=typeof r?!1:t&&r&&typeof t=="object"&&typeof r=="object"?!Object.keys(r).some(s=>!Tp(t[s],r[s])):!1}function Ox(t,r){if(t===r)return t;const s=jE(t)&&jE(r);if(s||z4(t)&&z4(r)){const a=s?t:Object.keys(t),n=a.length,e=s?r:Object.keys(r),f=e.length,v=s?[]:{};let b=0;for(let D=0;D<f;D++){const F=s?D:e[D];(!s&&a.includes(F)||s)&&t[F]===void 0&&r[F]===void 0?(v[F]=void 0,b++):(v[F]=Ox(t[F],r[F]),v[F]===t[F]&&t[F]!==void 0&&b++)}return n===f&&b===n?t:v}return r}function UH(t,r){if(!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(const s in t)if(t[s]!==r[s])return!1;return!0}function jE(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function z4(t){if(!YE(t))return!1;const r=t.constructor;if(r===void 0)return!0;const s=r.prototype;return!(!YE(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function YE(t){return Object.prototype.toString.call(t)==="[object Object]"}function oM(t){return new Promise(r=>{setTimeout(r,t)})}function lM(t,r,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,r):s.structuralSharing!==!1?Ox(t,r):r}function cM(t,r,s=0){const a=[...t,r];return s&&a.length>s?a.slice(1):a}function uM(t,r,s=0){const a=[r,...t];return s&&a.length>s?a.slice(0,-1):a}var Rx=Symbol();function Ix(t,r){return!t.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!t.queryFn||t.queryFn===Rx?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var df,Bc,uh,vF,fM=(vF=class extends mb{constructor(){super();wn(this,df,void 0);wn(this,Bc,void 0);wn(this,uh,void 0);Mr(this,uh,r=>{if(!Hp&&window.addEventListener){const s=()=>r();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){ut(this,Bc)||this.setEventListener(ut(this,uh))}onUnsubscribe(){var r;this.hasListeners()||((r=ut(this,Bc))==null||r.call(this),Mr(this,Bc,void 0))}setEventListener(r){var s;Mr(this,uh,r),(s=ut(this,Bc))==null||s.call(this),Mr(this,Bc,r(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(r){ut(this,df)!==r&&(Mr(this,df,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(s=>{s(r)})}isFocused(){var r;return typeof ut(this,df)=="boolean"?ut(this,df):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},df=new WeakMap,Bc=new WeakMap,uh=new WeakMap,vF),Px=new fM,fh,Uc,hh,bF,hM=(bF=class extends mb{constructor(){super();wn(this,fh,!0);wn(this,Uc,void 0);wn(this,hh,void 0);Mr(this,hh,r=>{if(!Hp&&window.addEventListener){const s=()=>r(!0),a=()=>r(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",a)}}})}onSubscribe(){ut(this,Uc)||this.setEventListener(ut(this,hh))}onUnsubscribe(){var r;this.hasListeners()||((r=ut(this,Uc))==null||r.call(this),Mr(this,Uc,void 0))}setEventListener(r){var s;Mr(this,hh,r),(s=ut(this,Uc))==null||s.call(this),Mr(this,Uc,r(this.setOnline.bind(this)))}setOnline(r){ut(this,fh)!==r&&(Mr(this,fh,r),this.listeners.forEach(a=>{a(r)}))}isOnline(){return ut(this,fh)}},fh=new WeakMap,Uc=new WeakMap,hh=new WeakMap,bF),Iv=new hM;function dM(t){return Math.min(1e3*2**t,3e4)}function Nx(t){return(t??"online")==="online"?Iv.isOnline():!0}var Mx=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function Py(t){return t instanceof Mx}function Lx(t){let r=!1,s=0,a=!1,n,e,f;const v=new Promise((G,X)=>{e=G,f=X}),b=G=>{var X;a||(N(new Mx(G)),(X=t.abort)==null||X.call(t))},D=()=>{r=!0},F=()=>{r=!1},T=()=>Px.isFocused()&&(t.networkMode==="always"||Iv.isOnline())&&t.canRun(),C=()=>Nx(t.networkMode)&&t.canRun(),O=G=>{var X;a||(a=!0,(X=t.onSuccess)==null||X.call(t,G),n==null||n(),e(G))},N=G=>{var X;a||(a=!0,(X=t.onError)==null||X.call(t,G),n==null||n(),f(G))},B=()=>new Promise(G=>{var X;n=H=>{(a||T())&&G(H)},(X=t.onPause)==null||X.call(t)}).then(()=>{var G;n=void 0,a||(G=t.onContinue)==null||G.call(t)}),V=()=>{if(a)return;let G;const X=s===0?t.initialPromise:void 0;try{G=X??t.fn()}catch(H){G=Promise.reject(H)}Promise.resolve(G).then(O).catch(H=>{var P;if(a)return;const z=t.retry??(Hp?0:3),Y=t.retryDelay??dM,ee=typeof Y=="function"?Y(s,H):Y,K=z===!0||typeof z=="number"&&s<z||typeof z=="function"&&z(s,H);if(r||!K){N(H);return}s++,(P=t.onFail)==null||P.call(t,s,H),oM(ee).then(()=>T()?void 0:B()).then(()=>{r?N(H):V()})})};return{promise:v,cancel:b,continue:()=>(n==null||n(),v),cancelRetry:D,continueRetry:F,canStart:C,start:()=>(C()?V():B().then(V),v)}}function pM(){let t=[],r=0,s=v=>{v()},a=v=>{v()},n=v=>setTimeout(v,0);const e=v=>{r?t.push(v):n(()=>{s(v)})},f=()=>{const v=t;t=[],v.length&&n(()=>{a(()=>{v.forEach(b=>{s(b)})})})};return{batch:v=>{let b;r++;try{b=v()}finally{r--,r||f()}return b},batchCalls:v=>(...b)=>{e(()=>{v(...b)})},schedule:e,setNotifyFunction:v=>{s=v},setBatchNotifyFunction:v=>{a=v},setScheduler:v=>{n=v}}}var Ri=pM(),pf,_F,Bx=(_F=class{constructor(){wn(this,pf,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),sM(this.gcTime)&&Mr(this,pf,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Hp?1/0:5*60*1e3))}clearGcTimeout(){ut(this,pf)&&(clearTimeout(ut(this,pf)),Mr(this,pf,void 0))}},pf=new WeakMap,_F),dh,ph,Ra,ui,Sp,mf,to,Il,yF,mM=(yF=class extends Bx{constructor(r){super();wn(this,to);wn(this,dh,void 0);wn(this,ph,void 0);wn(this,Ra,void 0);wn(this,ui,void 0);wn(this,Sp,void 0);wn(this,mf,void 0);Mr(this,mf,!1),Mr(this,Sp,r.defaultOptions),this.setOptions(r.options),this.observers=[],Mr(this,Ra,r.cache),this.queryKey=r.queryKey,this.queryHash=r.queryHash,Mr(this,dh,vM(this.options)),this.state=r.state??ut(this,dh),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=ut(this,ui))==null?void 0:r.promise}setOptions(r){this.options={...ut(this,Sp),...r},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&ut(this,Ra).remove(this)}setData(r,s){const a=lM(this.state.data,r,this.options);return ci(this,to,Il).call(this,{data:a,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),a}setState(r,s){ci(this,to,Il).call(this,{type:"setState",state:r,setStateOptions:s})}cancel(r){var a,n;const s=(a=ut(this,ui))==null?void 0:a.promise;return(n=ut(this,ui))==null||n.cancel(r),s?s.then(eo).catch(eo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(ut(this,dh))}isActive(){return this.observers.some(r=>aM(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(r=0){return this.state.isInvalidated||this.state.data===void 0||!iM(this.state.dataUpdatedAt,r)}onFocus(){var s;const r=this.observers.find(a=>a.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(s=ut(this,ui))==null||s.continue()}onOnline(){var s;const r=this.observers.find(a=>a.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(s=ut(this,ui))==null||s.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),ut(this,Ra).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(s=>s!==r),this.observers.length||(ut(this,ui)&&(ut(this,mf)?ut(this,ui).cancel({revert:!0}):ut(this,ui).cancelRetry()),this.scheduleGc()),ut(this,Ra).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ci(this,to,Il).call(this,{type:"invalidate"})}fetch(r,s){var b,D,F;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(ut(this,ui))return ut(this,ui).continueRetry(),ut(this,ui).promise}if(r&&this.setOptions(r),!this.options.queryFn){const T=this.observers.find(C=>C.options.queryFn);T&&this.setOptions(T.options)}const a=new AbortController,n=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(Mr(this,mf,!0),a.signal)})},e=()=>{const T=Ix(this.options,s),C={queryKey:this.queryKey,meta:this.meta};return n(C),Mr(this,mf,!1),this.options.persister?this.options.persister(T,C,this):T(C)},f={fetchOptions:s,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:e};n(f),(b=this.options.behavior)==null||b.onFetch(f,this),Mr(this,ph,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((D=f.fetchOptions)==null?void 0:D.meta))&&ci(this,to,Il).call(this,{type:"fetch",meta:(F=f.fetchOptions)==null?void 0:F.meta});const v=T=>{var C,O,N,B;Py(T)&&T.silent||ci(this,to,Il).call(this,{type:"error",error:T}),Py(T)||((O=(C=ut(this,Ra).config).onError)==null||O.call(C,T,this),(B=(N=ut(this,Ra).config).onSettled)==null||B.call(N,this.state.data,T,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Mr(this,ui,Lx({initialPromise:s==null?void 0:s.initialPromise,fn:f.fetchFn,abort:a.abort.bind(a),onSuccess:T=>{var C,O,N,B;if(T===void 0){v(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(T)}catch(V){v(V);return}(O=(C=ut(this,Ra).config).onSuccess)==null||O.call(C,T,this),(B=(N=ut(this,Ra).config).onSettled)==null||B.call(N,T,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:v,onFail:(T,C)=>{ci(this,to,Il).call(this,{type:"failed",failureCount:T,error:C})},onPause:()=>{ci(this,to,Il).call(this,{type:"pause"})},onContinue:()=>{ci(this,to,Il).call(this,{type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0})),ut(this,ui).start()}},dh=new WeakMap,ph=new WeakMap,Ra=new WeakMap,ui=new WeakMap,Sp=new WeakMap,mf=new WeakMap,to=new WeakSet,Il=function(r){const s=a=>{switch(r.type){case"failed":return{...a,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...gM(a.data,this.options),fetchMeta:r.meta??null};case"success":return{...a,data:r.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:r.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=r.error;return Py(n)&&n.revert&&ut(this,ph)?{...ut(this,ph),fetchStatus:"idle"}:{...a,error:n,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...r.state}}};this.state=s(this.state),Ri.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),ut(this,Ra).notify({query:this,type:"updated",action:r})})},yF);function gM(t,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Nx(r.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function vM(t){const r=typeof t.initialData=="function"?t.initialData():t.initialData,s=r!==void 0,a=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:s?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var $o,wF,Ux=(wF=class extends mb{constructor(s={}){super();wn(this,$o,void 0);this.config=s,Mr(this,$o,new Map)}build(s,a,n){const e=a.queryKey,f=a.queryHash??lw(e,a);let v=this.get(f);return v||(v=new mM({cache:this,queryKey:e,queryHash:f,options:s.defaultQueryOptions(a),state:n,defaultOptions:s.getQueryDefaults(e)}),this.add(v)),v}add(s){ut(this,$o).has(s.queryHash)||(ut(this,$o).set(s.queryHash,s),this.notify({type:"added",query:s}))}remove(s){const a=ut(this,$o).get(s.queryHash);a&&(s.destroy(),a===s&&ut(this,$o).delete(s.queryHash),this.notify({type:"removed",query:s}))}clear(){Ri.batch(()=>{this.getAll().forEach(s=>{this.remove(s)})})}get(s){return ut(this,$o).get(s)}getAll(){return[...ut(this,$o).values()]}find(s){const a={exact:!0,...s};return this.getAll().find(n=>VE(a,n))}findAll(s={}){const a=this.getAll();return Object.keys(s).length>0?a.filter(n=>VE(s,n)):a}notify(s){Ri.batch(()=>{this.listeners.forEach(a=>{a(s)})})}onFocus(){Ri.batch(()=>{this.getAll().forEach(s=>{s.onFocus()})})}onOnline(){Ri.batch(()=>{this.getAll().forEach(s=>{s.onOnline()})})}},$o=new WeakMap,wF),Wo,Ci,gf,zo,Ac,DF,bM=(DF=class extends Bx{constructor(r){super();wn(this,zo);wn(this,Wo,void 0);wn(this,Ci,void 0);wn(this,gf,void 0);this.mutationId=r.mutationId,Mr(this,Ci,r.mutationCache),Mr(this,Wo,[]),this.state=r.state||_M(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){ut(this,Wo).includes(r)||(ut(this,Wo).push(r),this.clearGcTimeout(),ut(this,Ci).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){Mr(this,Wo,ut(this,Wo).filter(s=>s!==r)),this.scheduleGc(),ut(this,Ci).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){ut(this,Wo).length||(this.state.status==="pending"?this.scheduleGc():ut(this,Ci).remove(this))}continue(){var r;return((r=ut(this,gf))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var n,e,f,v,b,D,F,T,C,O,N,B,V,G,X,H,z,Y,ee,K;Mr(this,gf,Lx({fn:()=>this.options.mutationFn?this.options.mutationFn(r):Promise.reject(new Error("No mutationFn found")),onFail:(P,I)=>{ci(this,zo,Ac).call(this,{type:"failed",failureCount:P,error:I})},onPause:()=>{ci(this,zo,Ac).call(this,{type:"pause"})},onContinue:()=>{ci(this,zo,Ac).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>ut(this,Ci).canRun(this)}));const s=this.state.status==="pending",a=!ut(this,gf).canStart();try{if(!s){ci(this,zo,Ac).call(this,{type:"pending",variables:r,isPaused:a}),await((e=(n=ut(this,Ci).config).onMutate)==null?void 0:e.call(n,r,this));const I=await((v=(f=this.options).onMutate)==null?void 0:v.call(f,r));I!==this.state.context&&ci(this,zo,Ac).call(this,{type:"pending",context:I,variables:r,isPaused:a})}const P=await ut(this,gf).start();return await((D=(b=ut(this,Ci).config).onSuccess)==null?void 0:D.call(b,P,r,this.state.context,this)),await((T=(F=this.options).onSuccess)==null?void 0:T.call(F,P,r,this.state.context)),await((O=(C=ut(this,Ci).config).onSettled)==null?void 0:O.call(C,P,null,this.state.variables,this.state.context,this)),await((B=(N=this.options).onSettled)==null?void 0:B.call(N,P,null,r,this.state.context)),ci(this,zo,Ac).call(this,{type:"success",data:P}),P}catch(P){try{throw await((G=(V=ut(this,Ci).config).onError)==null?void 0:G.call(V,P,r,this.state.context,this)),await((H=(X=this.options).onError)==null?void 0:H.call(X,P,r,this.state.context)),await((Y=(z=ut(this,Ci).config).onSettled)==null?void 0:Y.call(z,void 0,P,this.state.variables,this.state.context,this)),await((K=(ee=this.options).onSettled)==null?void 0:K.call(ee,void 0,P,r,this.state.context)),P}finally{ci(this,zo,Ac).call(this,{type:"error",error:P})}}finally{ut(this,Ci).runNext(this)}}},Wo=new WeakMap,Ci=new WeakMap,gf=new WeakMap,zo=new WeakSet,Ac=function(r){const s=a=>{switch(r.type){case"failed":return{...a,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...a,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:r.error,failureCount:a.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=s(this.state),Ri.batch(()=>{ut(this,Wo).forEach(a=>{a.onMutationUpdate(r)}),ut(this,Ci).notify({mutation:this,type:"updated",action:r})})},DF);function _M(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var da,kp,EF,Hx=(EF=class extends mb{constructor(s={}){super();wn(this,da,void 0);wn(this,kp,void 0);this.config=s,Mr(this,da,new Map),Mr(this,kp,Date.now())}build(s,a,n){const e=new bM({mutationCache:this,mutationId:++s2(this,kp)._,options:s.defaultMutationOptions(a),state:n});return this.add(e),e}add(s){const a=k2(s),n=ut(this,da).get(a)??[];n.push(s),ut(this,da).set(a,n),this.notify({type:"added",mutation:s})}remove(s){var n;const a=k2(s);if(ut(this,da).has(a)){const e=(n=ut(this,da).get(a))==null?void 0:n.filter(f=>f!==s);e&&(e.length===0?ut(this,da).delete(a):ut(this,da).set(a,e))}this.notify({type:"removed",mutation:s})}canRun(s){var n;const a=(n=ut(this,da).get(k2(s)))==null?void 0:n.find(e=>e.state.status==="pending");return!a||a===s}runNext(s){var n;const a=(n=ut(this,da).get(k2(s)))==null?void 0:n.find(e=>e!==s&&e.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}clear(){Ri.batch(()=>{this.getAll().forEach(s=>{this.remove(s)})})}getAll(){return[...ut(this,da).values()].flat()}find(s){const a={exact:!0,...s};return this.getAll().find(n=>GE(a,n))}findAll(s={}){return this.getAll().filter(a=>GE(s,a))}notify(s){Ri.batch(()=>{this.listeners.forEach(a=>{a(s)})})}resumePausedMutations(){const s=this.getAll().filter(a=>a.state.isPaused);return Ri.batch(()=>Promise.all(s.map(a=>a.continue().catch(eo))))}},da=new WeakMap,kp=new WeakMap,EF);function k2(t){var r;return((r=t.options.scope)==null?void 0:r.id)??String(t.mutationId)}function KE(t){return{onFetch:(r,s)=>{var F,T,C,O,N;const a=r.options,n=(C=(T=(F=r.fetchOptions)==null?void 0:F.meta)==null?void 0:T.fetchMore)==null?void 0:C.direction,e=((O=r.state.data)==null?void 0:O.pages)||[],f=((N=r.state.data)==null?void 0:N.pageParams)||[];let v={pages:[],pageParams:[]},b=0;const D=async()=>{let B=!1;const V=H=>{Object.defineProperty(H,"signal",{enumerable:!0,get:()=>(r.signal.aborted?B=!0:r.signal.addEventListener("abort",()=>{B=!0}),r.signal)})},G=Ix(r.options,r.fetchOptions),X=async(H,z,Y)=>{if(B)return Promise.reject();if(z==null&&H.pages.length)return Promise.resolve(H);const ee={queryKey:r.queryKey,pageParam:z,direction:Y?"backward":"forward",meta:r.options.meta};V(ee);const K=await G(ee),{maxPages:P}=r.options,I=Y?uM:cM;return{pages:I(H.pages,K,P),pageParams:I(H.pageParams,z,P)}};if(n&&e.length){const H=n==="backward",z=H?yM:qE,Y={pages:e,pageParams:f},ee=z(a,Y);v=await X(Y,ee,H)}else{const H=t??e.length;do{const z=b===0?f[0]??a.initialPageParam:qE(a,v);if(b>0&&z==null)break;v=await X(v,z),b++}while(b<H)}return v};r.options.persister?r.fetchFn=()=>{var B,V;return(V=(B=r.options).persister)==null?void 0:V.call(B,D,{queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},s)}:r.fetchFn=D}}}function qE(t,{pages:r,pageParams:s}){const a=r.length-1;return r.length>0?t.getNextPageParam(r[a],r,s[a],s):void 0}function yM(t,{pages:r,pageParams:s}){var a;return r.length>0?(a=t.getPreviousPageParam)==null?void 0:a.call(t,r[0],r,s[0],s):void 0}var os,Hc,$c,mh,gh,Wc,vh,bh,FF,wM=(FF=class{constructor(r={}){wn(this,os,void 0);wn(this,Hc,void 0);wn(this,$c,void 0);wn(this,mh,void 0);wn(this,gh,void 0);wn(this,Wc,void 0);wn(this,vh,void 0);wn(this,bh,void 0);Mr(this,os,r.queryCache||new Ux),Mr(this,Hc,r.mutationCache||new Hx),Mr(this,$c,r.defaultOptions||{}),Mr(this,mh,new Map),Mr(this,gh,new Map),Mr(this,Wc,0)}mount(){s2(this,Wc)._++,ut(this,Wc)===1&&(Mr(this,vh,Px.subscribe(async r=>{r&&(await this.resumePausedMutations(),ut(this,os).onFocus())})),Mr(this,bh,Iv.subscribe(async r=>{r&&(await this.resumePausedMutations(),ut(this,os).onOnline())})))}unmount(){var r,s;s2(this,Wc)._--,ut(this,Wc)===0&&((r=ut(this,vh))==null||r.call(this),Mr(this,vh,void 0),(s=ut(this,bh))==null||s.call(this),Mr(this,bh,void 0))}isFetching(r){return ut(this,os).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return ut(this,Hc).findAll({...r,status:"pending"}).length}getQueryData(r){var a;const s=this.defaultQueryOptions({queryKey:r});return(a=ut(this,os).get(s.queryHash))==null?void 0:a.state.data}ensureQueryData(r){const s=this.getQueryData(r.queryKey);if(s===void 0)return this.fetchQuery(r);{const a=this.defaultQueryOptions(r),n=ut(this,os).build(this,a);return r.revalidateIfStale&&n.isStaleByTime(zE(a.staleTime,n))&&this.prefetchQuery(a),Promise.resolve(s)}}getQueriesData(r){return ut(this,os).findAll(r).map(({queryKey:s,state:a})=>{const n=a.data;return[s,n]})}setQueryData(r,s,a){const n=this.defaultQueryOptions({queryKey:r}),e=ut(this,os).get(n.queryHash),f=e==null?void 0:e.state.data,v=nM(s,f);if(v!==void 0)return ut(this,os).build(this,n).setData(v,{...a,manual:!0})}setQueriesData(r,s,a){return Ri.batch(()=>ut(this,os).findAll(r).map(({queryKey:n})=>[n,this.setQueryData(n,s,a)]))}getQueryState(r){var a;const s=this.defaultQueryOptions({queryKey:r});return(a=ut(this,os).get(s.queryHash))==null?void 0:a.state}removeQueries(r){const s=ut(this,os);Ri.batch(()=>{s.findAll(r).forEach(a=>{s.remove(a)})})}resetQueries(r,s){const a=ut(this,os),n={type:"active",...r};return Ri.batch(()=>(a.findAll(r).forEach(e=>{e.reset()}),this.refetchQueries(n,s)))}cancelQueries(r={},s={}){const a={revert:!0,...s},n=Ri.batch(()=>ut(this,os).findAll(r).map(e=>e.cancel(a)));return Promise.all(n).then(eo).catch(eo)}invalidateQueries(r={},s={}){return Ri.batch(()=>{if(ut(this,os).findAll(r).forEach(n=>{n.invalidate()}),r.refetchType==="none")return Promise.resolve();const a={...r,type:r.refetchType??r.type??"active"};return this.refetchQueries(a,s)})}refetchQueries(r={},s){const a={...s,cancelRefetch:(s==null?void 0:s.cancelRefetch)??!0},n=Ri.batch(()=>ut(this,os).findAll(r).filter(e=>!e.isDisabled()).map(e=>{let f=e.fetch(void 0,a);return a.throwOnError||(f=f.catch(eo)),e.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(n).then(eo)}fetchQuery(r){const s=this.defaultQueryOptions(r);s.retry===void 0&&(s.retry=!1);const a=ut(this,os).build(this,s);return a.isStaleByTime(zE(s.staleTime,a))?a.fetch(s):Promise.resolve(a.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(eo).catch(eo)}fetchInfiniteQuery(r){return r.behavior=KE(r.pages),this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(eo).catch(eo)}ensureInfiniteQueryData(r){return r.behavior=KE(r.pages),this.ensureQueryData(r)}resumePausedMutations(){return Iv.isOnline()?ut(this,Hc).resumePausedMutations():Promise.resolve()}getQueryCache(){return ut(this,os)}getMutationCache(){return ut(this,Hc)}getDefaultOptions(){return ut(this,$c)}setDefaultOptions(r){Mr(this,$c,r)}setQueryDefaults(r,s){ut(this,mh).set(Fp(r),{queryKey:r,defaultOptions:s})}getQueryDefaults(r){const s=[...ut(this,mh).values()];let a={};return s.forEach(n=>{Tp(r,n.queryKey)&&(a={...a,...n.defaultOptions})}),a}setMutationDefaults(r,s){ut(this,gh).set(Fp(r),{mutationKey:r,defaultOptions:s})}getMutationDefaults(r){const s=[...ut(this,gh).values()];let a={};return s.forEach(n=>{Tp(r,n.mutationKey)&&(a={...a,...n.defaultOptions})}),a}defaultQueryOptions(r){if(r._defaulted)return r;const s={...ut(this,$c).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return s.queryHash||(s.queryHash=lw(s.queryKey,s)),s.refetchOnReconnect===void 0&&(s.refetchOnReconnect=s.networkMode!=="always"),s.throwOnError===void 0&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.enabled!==!0&&s.queryFn===Rx&&(s.enabled=!1),s}defaultMutationOptions(r){return r!=null&&r._defaulted?r:{...ut(this,$c).mutations,...(r==null?void 0:r.mutationKey)&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){ut(this,os).clear(),ut(this,Hc).clear()}},os=new WeakMap,Hc=new WeakMap,$c=new WeakMap,mh=new WeakMap,gh=new WeakMap,Wc=new WeakMap,vh=new WeakMap,bh=new WeakMap,FF),DM="VUE_QUERY_CLIENT";function EM(t){const r=t?`:${t}`:"";return`${DM}${r}`}function zH(t,r){Object.keys(t).forEach(s=>{t[s]=r[s]})}function V4(t,r,s="",a=0){if(r){const n=r(t,s,a);if(n===void 0&&un(t)||n!==void 0)return n}if(Array.isArray(t))return t.map((n,e)=>V4(n,r,String(e),a+1));if(typeof t=="object"&&TM(t)){const n=Object.entries(t).map(([e,f])=>[e,V4(f,r,e,a+1)]);return Object.fromEntries(n)}return t}function FM(t,r){return V4(t,r)}function qr(t,r=!1){return FM(t,(s,a,n)=>{if(n===1&&a==="queryKey")return qr(s,!0);if(r&&xM(s))return qr(s(),r);if(un(s))return qr(Zt(s),r)})}function TM(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const r=Object.getPrototypeOf(t);return r===null||r===Object.prototype}function xM(t){return typeof t=="function"}function VH(t,r){return typeof t=="function"?t(...r):!!t}var AM=class extends Ux{find(t){return super.find(qr(t))}findAll(t={}){return super.findAll(qr(t))}},CM=class extends Hx{find(t){return super.find(qr(t))}findAll(t={}){return super.findAll(qr(t))}},SM=class extends wM{constructor(t={}){const r={defaultOptions:t.defaultOptions,queryCache:t.queryCache||new AM,mutationCache:t.mutationCache||new CM};super(r),this.isRestoring=er(!1)}isFetching(t={}){return super.isFetching(qr(t))}isMutating(t={}){return super.isMutating(qr(t))}getQueryData(t){return super.getQueryData(qr(t))}ensureQueryData(t){return super.ensureQueryData(qr(t))}getQueriesData(t){return super.getQueriesData(qr(t))}setQueryData(t,r,s={}){return super.setQueryData(qr(t),r,qr(s))}setQueriesData(t,r,s={}){return super.setQueriesData(qr(t),r,qr(s))}getQueryState(t){return super.getQueryState(qr(t))}removeQueries(t={}){return super.removeQueries(qr(t))}resetQueries(t={},r={}){return super.resetQueries(qr(t),qr(r))}cancelQueries(t={},r={}){return super.cancelQueries(qr(t),qr(r))}invalidateQueries(t={},r={}){const s=qr(t),a=qr(r);if(super.invalidateQueries({...s,refetchType:"none"},a),s.refetchType==="none")return Promise.resolve();const n={...s,type:s.refetchType??s.type??"active"};return va().then(()=>super.refetchQueries(n,a))}refetchQueries(t={},r={}){return super.refetchQueries(qr(t),qr(r))}fetchQuery(t){return super.fetchQuery(qr(t))}prefetchQuery(t){return super.prefetchQuery(qr(t))}fetchInfiniteQuery(t){return super.fetchInfiniteQuery(qr(t))}prefetchInfiniteQuery(t){return super.prefetchInfiniteQuery(qr(t))}setDefaultOptions(t){super.setDefaultOptions(qr(t))}setQueryDefaults(t,r){super.setQueryDefaults(qr(t),qr(r))}getQueryDefaults(t){return super.getQueryDefaults(qr(t))}setMutationDefaults(t,r){super.setMutationDefaults(qr(t),qr(r))}getMutationDefaults(t){return super.getMutationDefaults(qr(t))}},kM={install:(t,r={})=>{const s=EM(r.queryClientKey);let a;if("queryClient"in r&&r.queryClient)a=r.queryClient;else{const f="queryClientConfig"in r?r.queryClientConfig:void 0;a=new SM(f)}Hp||a.mount();let n=()=>{};if(r.clientPersister){a.isRestoring.value=!0;const[f,v]=r.clientPersister(a);n=f,v.then(()=>{var b;a.isRestoring.value=!1,(b=r.clientPersisterOnSuccess)==null||b.call(r,a)})}const e=()=>{a.unmount(),n()};if(t.onUnmount)t.onUnmount(e);else{const f=t.unmount;t.unmount=function(){e(),f()}}t.provide(s,a)}};const OM=us({__name:"App",setup(t){return C9({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>sx.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>UP.value?"/favicon-dark.svg":"/favicon.svg"}]}),(r,s)=>{const a=uo("RouterView");return Hr(),Xo(a)}}}),Ny=new WeakMap;function $x(t,r,s={}){const{mode:a="replace",route:n=bT(),router:e=BR(),transform:f=T=>T}=s;Ny.has(e)||Ny.set(e,new Map);const v=Ny.get(e);let b=n.query[t];el(()=>{b=void 0});let D;const F=Jv((T,C)=>(D=C,{get(){return T(),f(b!==void 0?b:Hn(r))},set(O){b!==O&&(b=O===r||O===null?void 0:O,v.set(t,O===r||O===null?void 0:O),C(),va(()=>{if(v.size===0)return;const N=Object.fromEntries(v.entries());v.clear();const{params:B,query:V,hash:G}=n;e[Hn(a)]({params:B,query:{...V,...N},hash:G})}))}}));return In(()=>n.query[t],T=>{b=T,D()},{flush:"sync"}),F}var Wx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){var s=1e3,a=6e4,n=36e5,e="millisecond",f="second",v="minute",b="hour",D="day",F="week",T="month",C="quarter",O="year",N="date",B="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,G=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ee){var Ue=["th","st","nd","rd"],ve=Ee%100;return"["+Ee+(Ue[(ve-20)%10]||Ue[ve]||Ue[0])+"]"}},H=function(Ee,Ue,ve){var fe=String(Ee);return!fe||fe.length>=Ue?Ee:""+Array(Ue+1-fe.length).join(ve)+Ee},z={s:H,z:function(Ee){var Ue=-Ee.utcOffset(),ve=Math.abs(Ue),fe=Math.floor(ve/60),Fe=ve%60;return(Ue<=0?"+":"-")+H(fe,2,"0")+":"+H(Fe,2,"0")},m:function Ee(Ue,ve){if(Ue.date()<ve.date())return-Ee(ve,Ue);var fe=12*(ve.year()-Ue.year())+(ve.month()-Ue.month()),Fe=Ue.clone().add(fe,T),Oe=ve-Fe<0,Re=Ue.clone().add(fe+(Oe?-1:1),T);return+(-(fe+(ve-Fe)/(Oe?Fe-Re:Re-Fe))||0)},a:function(Ee){return Ee<0?Math.ceil(Ee)||0:Math.floor(Ee)},p:function(Ee){return{M:T,y:O,w:F,d:D,D:N,h:b,m:v,s:f,ms:e,Q:C}[Ee]||String(Ee||"").toLowerCase().replace(/s$/,"")},u:function(Ee){return Ee===void 0}},Y="en",ee={};ee[Y]=X;var K="$isDayjsObject",P=function(Ee){return Ee instanceof oe||!(!Ee||!Ee[K])},I=function Ee(Ue,ve,fe){var Fe;if(!Ue)return Y;if(typeof Ue=="string"){var Oe=Ue.toLowerCase();ee[Oe]&&(Fe=Oe),ve&&(ee[Oe]=ve,Fe=Oe);var Re=Ue.split("-");if(!Fe&&Re.length>1)return Ee(Re[0])}else{var ce=Ue.name;ee[ce]=Ue,Fe=ce}return!fe&&Fe&&(Y=Fe),Fe||!fe&&Y},W=function(Ee,Ue){if(P(Ee))return Ee.clone();var ve=typeof Ue=="object"?Ue:{};return ve.date=Ee,ve.args=arguments,new oe(ve)},ae=z;ae.l=I,ae.i=P,ae.w=function(Ee,Ue){return W(Ee,{locale:Ue.$L,utc:Ue.$u,x:Ue.$x,$offset:Ue.$offset})};var oe=function(){function Ee(ve){this.$L=I(ve.locale,null,!0),this.parse(ve),this.$x=this.$x||ve.x||{},this[K]=!0}var Ue=Ee.prototype;return Ue.parse=function(ve){this.$d=function(fe){var Fe=fe.date,Oe=fe.utc;if(Fe===null)return new Date(NaN);if(ae.u(Fe))return new Date;if(Fe instanceof Date)return new Date(Fe);if(typeof Fe=="string"&&!/Z$/i.test(Fe)){var Re=Fe.match(V);if(Re){var ce=Re[2]-1||0,we=(Re[7]||"0").substring(0,3);return Oe?new Date(Date.UTC(Re[1],ce,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,we)):new Date(Re[1],ce,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,we)}}return new Date(Fe)}(ve),this.init()},Ue.init=function(){var ve=this.$d;this.$y=ve.getFullYear(),this.$M=ve.getMonth(),this.$D=ve.getDate(),this.$W=ve.getDay(),this.$H=ve.getHours(),this.$m=ve.getMinutes(),this.$s=ve.getSeconds(),this.$ms=ve.getMilliseconds()},Ue.$utils=function(){return ae},Ue.isValid=function(){return this.$d.toString()!==B},Ue.isSame=function(ve,fe){var Fe=W(ve);return this.startOf(fe)<=Fe&&Fe<=this.endOf(fe)},Ue.isAfter=function(ve,fe){return W(ve)<this.startOf(fe)},Ue.isBefore=function(ve,fe){return this.endOf(fe)<W(ve)},Ue.$g=function(ve,fe,Fe){return ae.u(ve)?this[fe]:this.set(Fe,ve)},Ue.unix=function(){return Math.floor(this.valueOf()/1e3)},Ue.valueOf=function(){return this.$d.getTime()},Ue.startOf=function(ve,fe){var Fe=this,Oe=!!ae.u(fe)||fe,Re=ae.p(ve),ce=function(de,Ye){var gt=ae.w(Fe.$u?Date.UTC(Fe.$y,Ye,de):new Date(Fe.$y,Ye,de),Fe);return Oe?gt:gt.endOf(D)},we=function(de,Ye){return ae.w(Fe.toDate()[de].apply(Fe.toDate("s"),(Oe?[0,0,0,0]:[23,59,59,999]).slice(Ye)),Fe)},We=this.$W,ke=this.$M,ge=this.$D,Ie="set"+(this.$u?"UTC":"");switch(Re){case O:return Oe?ce(1,0):ce(31,11);case T:return Oe?ce(1,ke):ce(0,ke+1);case F:var se=this.$locale().weekStart||0,Pe=(We<se?We+7:We)-se;return ce(Oe?ge-Pe:ge+(6-Pe),ke);case D:case N:return we(Ie+"Hours",0);case b:return we(Ie+"Minutes",1);case v:return we(Ie+"Seconds",2);case f:return we(Ie+"Milliseconds",3);default:return this.clone()}},Ue.endOf=function(ve){return this.startOf(ve,!1)},Ue.$set=function(ve,fe){var Fe,Oe=ae.p(ve),Re="set"+(this.$u?"UTC":""),ce=(Fe={},Fe[D]=Re+"Date",Fe[N]=Re+"Date",Fe[T]=Re+"Month",Fe[O]=Re+"FullYear",Fe[b]=Re+"Hours",Fe[v]=Re+"Minutes",Fe[f]=Re+"Seconds",Fe[e]=Re+"Milliseconds",Fe)[Oe],we=Oe===D?this.$D+(fe-this.$W):fe;if(Oe===T||Oe===O){var We=this.clone().set(N,1);We.$d[ce](we),We.init(),this.$d=We.set(N,Math.min(this.$D,We.daysInMonth())).$d}else ce&&this.$d[ce](we);return this.init(),this},Ue.set=function(ve,fe){return this.clone().$set(ve,fe)},Ue.get=function(ve){return this[ae.p(ve)]()},Ue.add=function(ve,fe){var Fe,Oe=this;ve=Number(ve);var Re=ae.p(fe),ce=function(ke){var ge=W(Oe);return ae.w(ge.date(ge.date()+Math.round(ke*ve)),Oe)};if(Re===T)return this.set(T,this.$M+ve);if(Re===O)return this.set(O,this.$y+ve);if(Re===D)return ce(1);if(Re===F)return ce(7);var we=(Fe={},Fe[v]=a,Fe[b]=n,Fe[f]=s,Fe)[Re]||1,We=this.$d.getTime()+ve*we;return ae.w(We,this)},Ue.subtract=function(ve,fe){return this.add(-1*ve,fe)},Ue.format=function(ve){var fe=this,Fe=this.$locale();if(!this.isValid())return Fe.invalidDate||B;var Oe=ve||"YYYY-MM-DDTHH:mm:ssZ",Re=ae.z(this),ce=this.$H,we=this.$m,We=this.$M,ke=Fe.weekdays,ge=Fe.months,Ie=Fe.meridiem,se=function(Ye,gt,nt,J){return Ye&&(Ye[gt]||Ye(fe,Oe))||nt[gt].slice(0,J)},Pe=function(Ye){return ae.s(ce%12||12,Ye,"0")},de=Ie||function(Ye,gt,nt){var J=Ye<12?"AM":"PM";return nt?J.toLowerCase():J};return Oe.replace(G,function(Ye,gt){return gt||function(nt){switch(nt){case"YY":return String(fe.$y).slice(-2);case"YYYY":return ae.s(fe.$y,4,"0");case"M":return We+1;case"MM":return ae.s(We+1,2,"0");case"MMM":return se(Fe.monthsShort,We,ge,3);case"MMMM":return se(ge,We);case"D":return fe.$D;case"DD":return ae.s(fe.$D,2,"0");case"d":return String(fe.$W);case"dd":return se(Fe.weekdaysMin,fe.$W,ke,2);case"ddd":return se(Fe.weekdaysShort,fe.$W,ke,3);case"dddd":return ke[fe.$W];case"H":return String(ce);case"HH":return ae.s(ce,2,"0");case"h":return Pe(1);case"hh":return Pe(2);case"a":return de(ce,we,!0);case"A":return de(ce,we,!1);case"m":return String(we);case"mm":return ae.s(we,2,"0");case"s":return String(fe.$s);case"ss":return ae.s(fe.$s,2,"0");case"SSS":return ae.s(fe.$ms,3,"0");case"Z":return Re}return null}(Ye)||Re.replace(":","")})},Ue.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ue.diff=function(ve,fe,Fe){var Oe,Re=this,ce=ae.p(fe),we=W(ve),We=(we.utcOffset()-this.utcOffset())*a,ke=this-we,ge=function(){return ae.m(Re,we)};switch(ce){case O:Oe=ge()/12;break;case T:Oe=ge();break;case C:Oe=ge()/3;break;case F:Oe=(ke-We)/6048e5;break;case D:Oe=(ke-We)/864e5;break;case b:Oe=ke/n;break;case v:Oe=ke/a;break;case f:Oe=ke/s;break;default:Oe=ke}return Fe?Oe:ae.a(Oe)},Ue.daysInMonth=function(){return this.endOf(T).$D},Ue.$locale=function(){return ee[this.$L]},Ue.locale=function(ve,fe){if(!ve)return this.$L;var Fe=this.clone(),Oe=I(ve,fe,!0);return Oe&&(Fe.$L=Oe),Fe},Ue.clone=function(){return ae.w(this.$d,this)},Ue.toDate=function(){return new Date(this.valueOf())},Ue.toJSON=function(){return this.isValid()?this.toISOString():null},Ue.toISOString=function(){return this.$d.toISOString()},Ue.toString=function(){return this.$d.toUTCString()},Ee}(),be=oe.prototype;return W.prototype=be,[["$ms",e],["$s",f],["$m",v],["$H",b],["$W",D],["$M",T],["$y",O],["$D",N]].forEach(function(Ee){be[Ee[1]]=function(Ue){return this.$g(Ue,Ee[0],Ee[1])}}),W.extend=function(Ee,Ue){return Ee.$i||(Ee(Ue,oe,W),Ee.$i=!0),W},W.locale=I,W.isDayjs=P,W.unix=function(Ee){return W(1e3*Ee)},W.en=ee[Y],W.Ls=ee,W.p={},W})})(Wx);var RM=Wx.exports;const di=Ni(RM);var zx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){var s,a,n=1e3,e=6e4,f=36e5,v=864e5,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D=31536e6,F=2628e6,T=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,C={years:D,months:F,days:v,hours:f,minutes:e,seconds:n,milliseconds:1,weeks:6048e5},O=function(ee){return ee instanceof z},N=function(ee,K,P){return new z(ee,P,K.$l)},B=function(ee){return a.p(ee)+"s"},V=function(ee){return ee<0},G=function(ee){return V(ee)?Math.ceil(ee):Math.floor(ee)},X=function(ee){return Math.abs(ee)},H=function(ee,K){return ee?V(ee)?{negative:!0,format:""+X(ee)+K}:{negative:!1,format:""+ee+K}:{negative:!1,format:""}},z=function(){function ee(P,I,W){var ae=this;if(this.$d={},this.$l=W,P===void 0&&(this.$ms=0,this.parseFromMilliseconds()),I)return N(P*C[B(I)],this);if(typeof P=="number")return this.$ms=P,this.parseFromMilliseconds(),this;if(typeof P=="object")return Object.keys(P).forEach(function(Ee){ae.$d[B(Ee)]=P[Ee]}),this.calMilliseconds(),this;if(typeof P=="string"){var oe=P.match(T);if(oe){var be=oe.slice(2).map(function(Ee){return Ee!=null?Number(Ee):0});return this.$d.years=be[0],this.$d.months=be[1],this.$d.weeks=be[2],this.$d.days=be[3],this.$d.hours=be[4],this.$d.minutes=be[5],this.$d.seconds=be[6],this.calMilliseconds(),this}}return this}var K=ee.prototype;return K.calMilliseconds=function(){var P=this;this.$ms=Object.keys(this.$d).reduce(function(I,W){return I+(P.$d[W]||0)*C[W]},0)},K.parseFromMilliseconds=function(){var P=this.$ms;this.$d.years=G(P/D),P%=D,this.$d.months=G(P/F),P%=F,this.$d.days=G(P/v),P%=v,this.$d.hours=G(P/f),P%=f,this.$d.minutes=G(P/e),P%=e,this.$d.seconds=G(P/n),P%=n,this.$d.milliseconds=P},K.toISOString=function(){var P=H(this.$d.years,"Y"),I=H(this.$d.months,"M"),W=+this.$d.days||0;this.$d.weeks&&(W+=7*this.$d.weeks);var ae=H(W,"D"),oe=H(this.$d.hours,"H"),be=H(this.$d.minutes,"M"),Ee=this.$d.seconds||0;this.$d.milliseconds&&(Ee+=this.$d.milliseconds/1e3,Ee=Math.round(1e3*Ee)/1e3);var Ue=H(Ee,"S"),ve=P.negative||I.negative||ae.negative||oe.negative||be.negative||Ue.negative,fe=oe.format||be.format||Ue.format?"T":"",Fe=(ve?"-":"")+"P"+P.format+I.format+ae.format+fe+oe.format+be.format+Ue.format;return Fe==="P"||Fe==="-P"?"P0D":Fe},K.toJSON=function(){return this.toISOString()},K.format=function(P){var I=P||"YYYY-MM-DDTHH:mm:ss",W={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return I.replace(b,function(ae,oe){return oe||String(W[ae])})},K.as=function(P){return this.$ms/C[B(P)]},K.get=function(P){var I=this.$ms,W=B(P);return W==="milliseconds"?I%=1e3:I=W==="weeks"?G(I/C[W]):this.$d[W],I||0},K.add=function(P,I,W){var ae;return ae=I?P*C[B(I)]:O(P)?P.$ms:N(P,this).$ms,N(this.$ms+ae*(W?-1:1),this)},K.subtract=function(P,I){return this.add(P,I,!0)},K.locale=function(P){var I=this.clone();return I.$l=P,I},K.clone=function(){return N(this.$ms,this)},K.humanize=function(P){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!P)},K.valueOf=function(){return this.asMilliseconds()},K.milliseconds=function(){return this.get("milliseconds")},K.asMilliseconds=function(){return this.as("milliseconds")},K.seconds=function(){return this.get("seconds")},K.asSeconds=function(){return this.as("seconds")},K.minutes=function(){return this.get("minutes")},K.asMinutes=function(){return this.as("minutes")},K.hours=function(){return this.get("hours")},K.asHours=function(){return this.as("hours")},K.days=function(){return this.get("days")},K.asDays=function(){return this.as("days")},K.weeks=function(){return this.get("weeks")},K.asWeeks=function(){return this.as("weeks")},K.months=function(){return this.get("months")},K.asMonths=function(){return this.as("months")},K.years=function(){return this.get("years")},K.asYears=function(){return this.as("years")},ee}(),Y=function(ee,K,P){return ee.add(K.years()*P,"y").add(K.months()*P,"M").add(K.days()*P,"d").add(K.hours()*P,"h").add(K.minutes()*P,"m").add(K.seconds()*P,"s").add(K.milliseconds()*P,"ms")};return function(ee,K,P){s=P,a=P().$utils(),P.duration=function(ae,oe){var be=P.locale();return N(ae,{$l:be},oe)},P.isDuration=O;var I=K.prototype.add,W=K.prototype.subtract;K.prototype.add=function(ae,oe){return O(ae)?Y(this,ae,1):I.bind(this)(ae,oe)},K.prototype.subtract=function(ae,oe){return O(ae)?Y(this,ae,-1):W.bind(this)(ae,oe)}}})})(zx);var IM=zx.exports;const PM=Ni(IM);var Vx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){var s="minute",a=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(e,f,v){var b=f.prototype;v.utc=function(B){var V={date:B,utc:!0,args:arguments};return new f(V)},b.utc=function(B){var V=v(this.toDate(),{locale:this.$L,utc:!0});return B?V.add(this.utcOffset(),s):V},b.local=function(){return v(this.toDate(),{locale:this.$L,utc:!1})};var D=b.parse;b.parse=function(B){B.utc&&(this.$u=!0),this.$utils().u(B.$offset)||(this.$offset=B.$offset),D.call(this,B)};var F=b.init;b.init=function(){if(this.$u){var B=this.$d;this.$y=B.getUTCFullYear(),this.$M=B.getUTCMonth(),this.$D=B.getUTCDate(),this.$W=B.getUTCDay(),this.$H=B.getUTCHours(),this.$m=B.getUTCMinutes(),this.$s=B.getUTCSeconds(),this.$ms=B.getUTCMilliseconds()}else F.call(this)};var T=b.utcOffset;b.utcOffset=function(B,V){var G=this.$utils().u;if(G(B))return this.$u?0:G(this.$offset)?T.call(this):this.$offset;if(typeof B=="string"&&(B=function(Y){Y===void 0&&(Y="");var ee=Y.match(a);if(!ee)return null;var K=(""+ee[0]).match(n)||["-",0,0],P=K[0],I=60*+K[1]+ +K[2];return I===0?0:P==="+"?I:-I}(B),B===null))return this;var X=Math.abs(B)<=16?60*B:B,H=this;if(V)return H.$offset=X,H.$u=B===0,H;if(B!==0){var z=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(H=this.local().add(X+z,s)).$offset=X,H.$x.$localOffset=z}else H=this.utc();return H};var C=b.format;b.format=function(B){var V=B||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return C.call(this,V)},b.valueOf=function(){var B=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*B},b.isUTC=function(){return!!this.$u},b.toISOString=function(){return this.toDate().toISOString()},b.toString=function(){return this.toDate().toUTCString()};var O=b.toDate;b.toDate=function(B){return B==="s"&&this.$offset?v(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():O.call(this)};var N=b.diff;b.diff=function(B,V,G){if(B&&this.$u===B.$u)return N.call(this,B,V,G);var X=this.local(),H=v(B).local();return N.call(X,H,V,G)}}})})(Vx);var NM=Vx.exports;const MM=Ni(NM);var Gx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){var s={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(n,e,f){var v,b=function(C,O,N){N===void 0&&(N={});var B=new Date(C),V=function(G,X){X===void 0&&(X={});var H=X.timeZoneName||"short",z=G+"|"+H,Y=a[z];return Y||(Y=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:G,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:H}),a[z]=Y),Y}(O,N);return V.formatToParts(B)},D=function(C,O){for(var N=b(C,O),B=[],V=0;V<N.length;V+=1){var G=N[V],X=G.type,H=G.value,z=s[X];z>=0&&(B[z]=parseInt(H,10))}var Y=B[3],ee=Y===24?0:Y,K=B[0]+"-"+B[1]+"-"+B[2]+" "+ee+":"+B[4]+":"+B[5]+":000",P=+C;return(f.utc(K).valueOf()-(P-=P%1e3))/6e4},F=e.prototype;F.tz=function(C,O){C===void 0&&(C=v);var N,B=this.utcOffset(),V=this.toDate(),G=V.toLocaleString("en-US",{timeZone:C}),X=Math.round((V-new Date(G))/1e3/60),H=15*-Math.round(V.getTimezoneOffset()/15)-X;if(!Number(H))N=this.utcOffset(0,O);else if(N=f(G,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(H,!0),O){var z=N.utcOffset();N=N.add(B-z,"minute")}return N.$x.$timezone=C,N},F.offsetName=function(C){var O=this.$x.$timezone||f.tz.guess(),N=b(this.valueOf(),O,{timeZoneName:C}).find(function(B){return B.type.toLowerCase()==="timezonename"});return N&&N.value};var T=F.startOf;F.startOf=function(C,O){if(!this.$x||!this.$x.$timezone)return T.call(this,C,O);var N=f(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return T.call(N,C,O).tz(this.$x.$timezone,!0)},f.tz=function(C,O,N){var B=N&&O,V=N||O||v,G=D(+f(),V);if(typeof C!="string")return f(C).tz(V);var X=function(ee,K,P){var I=ee-60*K*1e3,W=D(I,P);if(K===W)return[I,K];var ae=D(I-=60*(W-K)*1e3,P);return W===ae?[I,W]:[ee-60*Math.min(W,ae)*1e3,Math.max(W,ae)]}(f.utc(C,B).valueOf(),G,V),H=X[0],z=X[1],Y=f(H).utcOffset(z);return Y.$x.$timezone=V,Y},f.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},f.tz.setDefault=function(C){v=C}}})})(Gx);var LM=Gx.exports;const BM=Ni(LM);var jx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a){var n=a.prototype,e=n.format;n.format=function(f){var v=this,b=this.$locale();if(!this.isValid())return e.bind(this)(f);var D=this.$utils(),F=(f||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(T){switch(T){case"Q":return Math.ceil((v.$M+1)/3);case"Do":return b.ordinal(v.$D);case"gggg":return v.weekYear();case"GGGG":return v.isoWeekYear();case"wo":return b.ordinal(v.week(),"W");case"w":case"ww":return D.s(v.week(),T==="w"?1:2,"0");case"W":case"WW":return D.s(v.isoWeek(),T==="W"?1:2,"0");case"k":case"kk":return D.s(String(v.$H===0?24:v.$H),T==="k"?1:2,"0");case"X":return Math.floor(v.$d.getTime()/1e3);case"x":return v.$d.getTime();case"z":return"["+v.offsetName()+"]";case"zzz":return"["+v.offsetName("long")+"]";default:return T}});return e.bind(this)(F)}}})})(jx);var UM=jx.exports;const HM=Ni(UM);var Yx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a){a.prototype.isSameOrBefore=function(n,e){return this.isSame(n,e)||this.isBefore(n,e)}}})})(Yx);var $M=Yx.exports;const WM=Ni($M);var Kx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a){a.prototype.isSameOrAfter=function(n,e){return this.isSame(n,e)||this.isAfter(n,e)}}})})(Kx);var zM=Kx.exports;const VM=Ni(zM);var qx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a,n){var e=function(f,v){if(!v||!v.length||v.length===1&&!v[0]||v.length===1&&Array.isArray(v[0])&&!v[0].length)return null;var b;v.length===1&&v[0].length>0&&(v=v[0]),b=(v=v.filter(function(F){return F}))[0];for(var D=1;D<v.length;D+=1)v[D].isValid()&&!v[D][f](b)||(b=v[D]);return b};n.max=function(){var f=[].slice.call(arguments,0);return e("isAfter",f)},n.min=function(){var f=[].slice.call(arguments,0);return e("isBefore",f)}}})})(qx);var GM=qx.exports;const jM=Ni(GM);var Qx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a,n){s=s||{};var e=a.prototype,f={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function v(D,F,T,C){return e.fromToBase(D,F,T,C)}n.en.relativeTime=f,e.fromToBase=function(D,F,T,C,O){for(var N,B,V,G=T.$locale().relativeTime||f,X=s.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],H=X.length,z=0;z<H;z+=1){var Y=X[z];Y.d&&(N=C?n(D).diff(T,Y.d,!0):T.diff(D,Y.d,!0));var ee=(s.rounding||Math.round)(Math.abs(N));if(V=N>0,ee<=Y.r||!Y.r){ee<=1&&z>0&&(Y=X[z-1]);var K=G[Y.l];O&&(ee=O(""+ee)),B=typeof K=="string"?K.replace("%d",ee):K(ee,F,Y.l,V);break}}if(F)return B;var P=V?G.future:G.past;return typeof P=="function"?P(B):P.replace("%s",B)},e.to=function(D,F){return v(D,F,this,!0)},e.from=function(D,F){return v(D,F,this)};var b=function(D){return D.$u?n.utc():n()};e.toNow=function(D){return this.to(b(this),D)},e.fromNow=function(D){return this.from(b(this),D)}}})})(Qx);var YM=Qx.exports;const KM=Ni(YM);var Pv={exports:{}};/**
|
|
47
|
+
*/const q0=typeof document<"u";function sT(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function L7(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&sT(t.default)}const En=Object.assign;function Fy(t,r){const s={};for(const a in r){const n=r[a];s[a]=ho(n)?n.map(t):t(n)}return s}const K1=()=>{},ho=Array.isArray,iT=/#/g,B7=/&/g,U7=/\//g,H7=/=/g,$7=/\?/g,aT=/\+/g,W7=/%5B/g,z7=/%5D/g,oT=/%5E/g,V7=/%60/g,lT=/%7B/g,G7=/%7C/g,cT=/%7D/g,j7=/%20/g;function N3(t){return encodeURI(""+t).replace(G7,"|").replace(W7,"[").replace(z7,"]")}function Y7(t){return N3(t).replace(lT,"{").replace(cT,"}").replace(oT,"^")}function C4(t){return N3(t).replace(aT,"%2B").replace(j7,"+").replace(iT,"%23").replace(B7,"%26").replace(V7,"`").replace(lT,"{").replace(cT,"}").replace(oT,"^")}function K7(t){return C4(t).replace(H7,"%3D")}function q7(t){return N3(t).replace(iT,"%23").replace($7,"%3F")}function Q7(t){return t==null?"":q7(t).replace(U7,"%2F")}function gp(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const X7=/\/$/,J7=t=>t.replace(X7,"");function Ty(t,r,s="/"){let a,n={},e="",f="";const v=r.indexOf("#");let b=r.indexOf("?");return v<b&&v>=0&&(b=-1),b>-1&&(a=r.slice(0,b),e=r.slice(b+1,v>-1?v:r.length),n=t(e)),v>-1&&(a=a||r.slice(0,v),f=r.slice(v,r.length)),a=rR(a??r,s),{fullPath:a+(e&&"?")+e+f,path:a,query:n,hash:gp(f)}}function Z7(t,r){const s=r.query?t(r.query):"";return r.path+(s&&"?")+s+(r.hash||"")}function LD(t,r){return!r||!t.toLowerCase().startsWith(r.toLowerCase())?t:t.slice(r.length)||"/"}function eR(t,r,s){const a=r.matched.length-1,n=s.matched.length-1;return a>-1&&a===n&&Eh(r.matched[a],s.matched[n])&&uT(r.params,s.params)&&t(r.query)===t(s.query)&&r.hash===s.hash}function Eh(t,r){return(t.aliasOf||t)===(r.aliasOf||r)}function uT(t,r){if(Object.keys(t).length!==Object.keys(r).length)return!1;for(const s in t)if(!tR(t[s],r[s]))return!1;return!0}function tR(t,r){return ho(t)?BD(t,r):ho(r)?BD(r,t):t===r}function BD(t,r){return ho(r)?t.length===r.length&&t.every((s,a)=>s===r[a]):t.length===1&&t[0]===r}function rR(t,r){if(t.startsWith("/"))return t;if(!t)return r;const s=r.split("/"),a=t.split("/"),n=a[a.length-1];(n===".."||n===".")&&a.push("");let e=s.length-1,f,v;for(f=0;f<a.length;f++)if(v=a[f],v!==".")if(v==="..")e>1&&e--;else break;return s.slice(0,e).join("/")+"/"+a.slice(f).join("/")}const Dc={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fh;(function(t){t.pop="pop",t.push="push"})(Fh||(Fh={}));var yf;(function(t){t.back="back",t.forward="forward",t.unknown=""})(yf||(yf={}));const xy="";function fT(t){if(!t)if(q0){const r=document.querySelector("base");t=r&&r.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),J7(t)}const nR=/^[^#]+#/;function hT(t,r){return t.replace(nR,"#")+r}function sR(t,r){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:r.behavior,left:a.left-s.left-(r.left||0),top:a.top-s.top-(r.top||0)}}const ob=()=>({left:window.scrollX,top:window.scrollY});function iR(t){let r;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),n=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!n)return;r=sR(n,t)}else r=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(r):window.scrollTo(r.left!=null?r.left:window.scrollX,r.top!=null?r.top:window.scrollY)}function UD(t,r){return(history.state?history.state.position-r:-1)+t}const S4=new Map;function aR(t,r){S4.set(t,r)}function oR(t){const r=S4.get(t);return S4.delete(t),r}let lR=()=>location.protocol+"//"+location.host;function dT(t,r){const{pathname:s,search:a,hash:n}=r,e=t.indexOf("#");if(e>-1){let v=n.includes(t.slice(e))?t.slice(e).length:1,b=n.slice(v);return b[0]!=="/"&&(b="/"+b),LD(b,"")}return LD(s,t)+a+n}function cR(t,r,s,a){let n=[],e=[],f=null;const v=({state:C})=>{const O=dT(t,location),N=s.value,B=r.value;let V=0;if(C){if(s.value=O,r.value=C,f&&f===N){f=null;return}V=B?C.position-B.position:0}else a(O);n.forEach(G=>{G(s.value,N,{delta:V,type:Fh.pop,direction:V?V>0?yf.forward:yf.back:yf.unknown})})};function b(){f=s.value}function D(C){n.push(C);const O=()=>{const N=n.indexOf(C);N>-1&&n.splice(N,1)};return e.push(O),O}function F(){const{history:C}=window;C.state&&C.replaceState(En({},C.state,{scroll:ob()}),"")}function T(){for(const C of e)C();e=[],window.removeEventListener("popstate",v),window.removeEventListener("beforeunload",F)}return window.addEventListener("popstate",v),window.addEventListener("beforeunload",F,{passive:!0}),{pauseListeners:b,listen:D,destroy:T}}function HD(t,r,s,a=!1,n=!1){return{back:t,current:r,forward:s,replaced:a,position:window.history.length,scroll:n?ob():null}}function uR(t){const{history:r,location:s}=window,a={value:dT(t,s)},n={value:r.state};n.value||e(a.value,{back:null,current:a.value,forward:null,position:r.length-1,replaced:!0,scroll:null},!0);function e(b,D,F){const T=t.indexOf("#"),C=T>-1?(s.host&&document.querySelector("base")?t:t.slice(T))+b:lR()+t+b;try{r[F?"replaceState":"pushState"](D,"",C),n.value=D}catch(O){console.error(O),s[F?"replace":"assign"](C)}}function f(b,D){const F=En({},r.state,HD(n.value.back,b,n.value.forward,!0),D,{position:n.value.position});e(b,F,!0),a.value=b}function v(b,D){const F=En({},n.value,r.state,{forward:b,scroll:ob()});e(F.current,F,!0);const T=En({},HD(a.value,b,null),{position:F.position+1},D);e(b,T,!1),a.value=b}return{location:a,state:n,push:v,replace:f}}function fR(t){t=fT(t);const r=uR(t),s=cR(t,r.state,r.location,r.replace);function a(e,f=!0){f||s.pauseListeners(),history.go(e)}const n=En({location:"",base:t,go:a,createHref:hT.bind(null,t)},r,s);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>r.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>r.state.value}),n}function hR(t=""){let r=[],s=[xy],a=0;t=fT(t);function n(v){a++,a!==s.length&&s.splice(a),s.push(v)}function e(v,b,{direction:D,delta:F}){const T={direction:D,delta:F,type:Fh.pop};for(const C of r)C(v,b,T)}const f={location:xy,state:{},base:t,createHref:hT.bind(null,t),replace(v){s.splice(a--,1),n(v)},push(v,b){n(v)},listen(v){return r.push(v),()=>{const b=r.indexOf(v);b>-1&&r.splice(b,1)}},destroy(){r=[],s=[xy],a=0},go(v,b=!0){const D=this.location,F=v<0?yf.back:yf.forward;a=Math.max(0,Math.min(a+v,s.length-1)),b&&e(this.location,D,{direction:F,delta:v})}};return Object.defineProperty(f,"location",{enumerable:!0,get:()=>s[a]}),f}function dR(t){return typeof t=="string"||t&&typeof t=="object"}function pT(t){return typeof t=="string"||typeof t=="symbol"}const mT=Symbol("");var $D;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})($D||($D={}));function Th(t,r){return En(new Error,{type:t,[mT]:!0},r)}function kl(t,r){return t instanceof Error&&mT in t&&(r==null||!!(t.type&r))}const WD="[^/]+?",pR={sensitive:!1,strict:!1,start:!0,end:!0},mR=/[.+*?^${}()[\]/\\]/g;function gR(t,r){const s=En({},pR,r),a=[];let n=s.start?"^":"";const e=[];for(const D of t){const F=D.length?[]:[90];s.strict&&!D.length&&(n+="/");for(let T=0;T<D.length;T++){const C=D[T];let O=40+(s.sensitive?.25:0);if(C.type===0)T||(n+="/"),n+=C.value.replace(mR,"\\$&"),O+=40;else if(C.type===1){const{value:N,repeatable:B,optional:V,regexp:G}=C;e.push({name:N,repeatable:B,optional:V});const X=G||WD;if(X!==WD){O+=10;try{new RegExp(`(${X})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${N}" (${X}): `+z.message)}}let H=B?`((?:${X})(?:/(?:${X}))*)`:`(${X})`;T||(H=V&&D.length<2?`(?:/${H})`:"/"+H),V&&(H+="?"),n+=H,O+=20,V&&(O+=-8),B&&(O+=-20),X===".*"&&(O+=-50)}F.push(O)}a.push(F)}if(s.strict&&s.end){const D=a.length-1;a[D][a[D].length-1]+=.7000000000000001}s.strict||(n+="/?"),s.end?n+="$":s.strict&&(n+="(?:/|$)");const f=new RegExp(n,s.sensitive?"":"i");function v(D){const F=D.match(f),T={};if(!F)return null;for(let C=1;C<F.length;C++){const O=F[C]||"",N=e[C-1];T[N.name]=O&&N.repeatable?O.split("/"):O}return T}function b(D){let F="",T=!1;for(const C of t){(!T||!F.endsWith("/"))&&(F+="/"),T=!1;for(const O of C)if(O.type===0)F+=O.value;else if(O.type===1){const{value:N,repeatable:B,optional:V}=O,G=N in D?D[N]:"";if(ho(G)&&!B)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const X=ho(G)?G.join("/"):G;if(!X)if(V)C.length<2&&(F.endsWith("/")?F=F.slice(0,-1):T=!0);else throw new Error(`Missing required param "${N}"`);F+=X}}return F||"/"}return{re:f,score:a,keys:e,parse:v,stringify:b}}function vR(t,r){let s=0;for(;s<t.length&&s<r.length;){const a=r[s]-t[s];if(a)return a;s++}return t.length<r.length?t.length===1&&t[0]===40+40?-1:1:t.length>r.length?r.length===1&&r[0]===40+40?1:-1:0}function gT(t,r){let s=0;const a=t.score,n=r.score;for(;s<a.length&&s<n.length;){const e=vR(a[s],n[s]);if(e)return e;s++}if(Math.abs(n.length-a.length)===1){if(zD(a))return 1;if(zD(n))return-1}return n.length-a.length}function zD(t){const r=t[t.length-1];return t.length>0&&r[r.length-1]<0}const bR={type:0,value:""},_R=/[a-zA-Z0-9_]/;function yR(t){if(!t)return[[]];if(t==="/")return[[bR]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function r(O){throw new Error(`ERR (${s})/"${D}": ${O}`)}let s=0,a=s;const n=[];let e;function f(){e&&n.push(e),e=[]}let v=0,b,D="",F="";function T(){D&&(s===0?e.push({type:0,value:D}):s===1||s===2||s===3?(e.length>1&&(b==="*"||b==="+")&&r(`A repeatable param (${D}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:D,regexp:F,repeatable:b==="*"||b==="+",optional:b==="*"||b==="?"})):r("Invalid state to consume buffer"),D="")}function C(){D+=b}for(;v<t.length;){if(b=t[v++],b==="\\"&&s!==2){a=s,s=4;continue}switch(s){case 0:b==="/"?(D&&T(),f()):b===":"?(T(),s=1):C();break;case 4:C(),s=a;break;case 1:b==="("?s=2:_R.test(b)?C():(T(),s=0,b!=="*"&&b!=="?"&&b!=="+"&&v--);break;case 2:b===")"?F[F.length-1]=="\\"?F=F.slice(0,-1)+b:s=3:F+=b;break;case 3:T(),s=0,b!=="*"&&b!=="?"&&b!=="+"&&v--,F="";break;default:r("Unknown state");break}}return s===2&&r(`Unfinished custom RegExp for param "${D}"`),T(),f(),n}function wR(t,r,s){const a=gR(yR(t.path),s),n=En(a,{record:t,parent:r,children:[],alias:[]});return r&&!n.record.aliasOf==!r.record.aliasOf&&r.children.push(n),n}function DR(t,r){const s=[],a=new Map;r=YD({strict:!1,end:!0,sensitive:!1},r);function n(T){return a.get(T)}function e(T,C,O){const N=!O,B=GD(T);B.aliasOf=O&&O.record;const V=YD(r,T),G=[B];if("alias"in T){const z=typeof T.alias=="string"?[T.alias]:T.alias;for(const Y of z)G.push(GD(En({},B,{components:O?O.record.components:B.components,path:Y,aliasOf:O?O.record:B})))}let X,H;for(const z of G){const{path:Y}=z;if(C&&Y[0]!=="/"){const ee=C.record.path,K=ee[ee.length-1]==="/"?"":"/";z.path=C.record.path+(Y&&K+Y)}if(X=wR(z,C,V),O?O.alias.push(X):(H=H||X,H!==X&&H.alias.push(X),N&&T.name&&!jD(X)&&f(T.name)),vT(X)&&b(X),B.children){const ee=B.children;for(let K=0;K<ee.length;K++)e(ee[K],X,O&&O.children[K])}O=O||X}return H?()=>{f(H)}:K1}function f(T){if(pT(T)){const C=a.get(T);C&&(a.delete(T),s.splice(s.indexOf(C),1),C.children.forEach(f),C.alias.forEach(f))}else{const C=s.indexOf(T);C>-1&&(s.splice(C,1),T.record.name&&a.delete(T.record.name),T.children.forEach(f),T.alias.forEach(f))}}function v(){return s}function b(T){const C=TR(T,s);s.splice(C,0,T),T.record.name&&!jD(T)&&a.set(T.record.name,T)}function D(T,C){let O,N={},B,V;if("name"in T&&T.name){if(O=a.get(T.name),!O)throw Th(1,{location:T});V=O.record.name,N=En(VD(C.params,O.keys.filter(H=>!H.optional).concat(O.parent?O.parent.keys.filter(H=>H.optional):[]).map(H=>H.name)),T.params&&VD(T.params,O.keys.map(H=>H.name))),B=O.stringify(N)}else if(T.path!=null)B=T.path,O=s.find(H=>H.re.test(B)),O&&(N=O.parse(B),V=O.record.name);else{if(O=C.name?a.get(C.name):s.find(H=>H.re.test(C.path)),!O)throw Th(1,{location:T,currentLocation:C});V=O.record.name,N=En({},C.params,T.params),B=O.stringify(N)}const G=[];let X=O;for(;X;)G.unshift(X.record),X=X.parent;return{name:V,path:B,params:N,matched:G,meta:FR(G)}}t.forEach(T=>e(T));function F(){s.length=0,a.clear()}return{addRoute:e,resolve:D,removeRoute:f,clearRoutes:F,getRoutes:v,getRecordMatcher:n}}function VD(t,r){const s={};for(const a of r)a in t&&(s[a]=t[a]);return s}function GD(t){const r={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:ER(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(r,"mods",{value:{}}),r}function ER(t){const r={},s=t.props||!1;if("component"in t)r.default=s;else for(const a in t.components)r[a]=typeof s=="object"?s[a]:s;return r}function jD(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function FR(t){return t.reduce((r,s)=>En(r,s.meta),{})}function YD(t,r){const s={};for(const a in t)s[a]=a in r?r[a]:t[a];return s}function TR(t,r){let s=0,a=r.length;for(;s!==a;){const e=s+a>>1;gT(t,r[e])<0?a=e:s=e+1}const n=xR(t);return n&&(a=r.lastIndexOf(n,a-1)),a}function xR(t){let r=t;for(;r=r.parent;)if(vT(r)&&gT(t,r)===0)return r}function vT({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function AR(t){const r={};if(t===""||t==="?")return r;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let n=0;n<a.length;++n){const e=a[n].replace(aT," "),f=e.indexOf("="),v=gp(f<0?e:e.slice(0,f)),b=f<0?null:gp(e.slice(f+1));if(v in r){let D=r[v];ho(D)||(D=r[v]=[D]),D.push(b)}else r[v]=b}return r}function KD(t){let r="";for(let s in t){const a=t[s];if(s=K7(s),a==null){a!==void 0&&(r+=(r.length?"&":"")+s);continue}(ho(a)?a.map(e=>e&&C4(e)):[a&&C4(a)]).forEach(e=>{e!==void 0&&(r+=(r.length?"&":"")+s,e!=null&&(r+="="+e))})}return r}function CR(t){const r={};for(const s in t){const a=t[s];a!==void 0&&(r[s]=ho(a)?a.map(n=>n==null?null:""+n):a==null?a:""+a)}return r}const SR=Symbol(""),qD=Symbol(""),lb=Symbol(""),M3=Symbol(""),k4=Symbol("");function N1(){let t=[];function r(a){return t.push(a),()=>{const n=t.indexOf(a);n>-1&&t.splice(n,1)}}function s(){t=[]}return{add:r,list:()=>t.slice(),reset:s}}function Rc(t,r,s,a,n,e=f=>f()){const f=a&&(a.enterCallbacks[n]=a.enterCallbacks[n]||[]);return()=>new Promise((v,b)=>{const D=C=>{C===!1?b(Th(4,{from:s,to:r})):C instanceof Error?b(C):dR(C)?b(Th(2,{from:r,to:C})):(f&&a.enterCallbacks[n]===f&&typeof C=="function"&&f.push(C),v())},F=e(()=>t.call(a&&a.instances[n],r,s,D));let T=Promise.resolve(F);t.length<3&&(T=T.then(D)),T.catch(C=>b(C))})}function Ay(t,r,s,a,n=e=>e()){const e=[];for(const f of t)for(const v in f.components){let b=f.components[v];if(!(r!=="beforeRouteEnter"&&!f.instances[v]))if(sT(b)){const F=(b.__vccOpts||b)[r];F&&e.push(Rc(F,s,a,f,v,n))}else{let D=b();e.push(()=>D.then(F=>{if(!F)throw new Error(`Couldn't resolve component "${v}" at "${f.path}"`);const T=L7(F)?F.default:F;f.mods[v]=F,f.components[v]=T;const O=(T.__vccOpts||T)[r];return O&&Rc(O,s,a,f,v,n)()}))}}return e}function QD(t){const r=Pi(lb),s=Pi(M3),a=Sr(()=>{const b=Zt(t.to);return r.resolve(b)}),n=Sr(()=>{const{matched:b}=a.value,{length:D}=b,F=b[D-1],T=s.matched;if(!F||!T.length)return-1;const C=T.findIndex(Eh.bind(null,F));if(C>-1)return C;const O=XD(b[D-2]);return D>1&&XD(F)===O&&T[T.length-1].path!==O?T.findIndex(Eh.bind(null,b[D-2])):C}),e=Sr(()=>n.value>-1&&IR(s.params,a.value.params)),f=Sr(()=>n.value>-1&&n.value===s.matched.length-1&&uT(s.params,a.value.params));function v(b={}){return RR(b)?r[Zt(t.replace)?"replace":"push"](Zt(t.to)).catch(K1):Promise.resolve()}return{route:a,href:Sr(()=>a.value.href),isActive:e,isExactActive:f,navigate:v}}const kR=us({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:QD,setup(t,{slots:r}){const s=qc(QD(t)),{options:a}=Pi(lb),n=Sr(()=>({[JD(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[JD(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const e=r.default&&r.default(s);return t.custom?e:Of("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:n.value},e)}}}),OR=kR;function RR(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const r=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(r))return}return t.preventDefault&&t.preventDefault(),!0}}function IR(t,r){for(const s in r){const a=r[s],n=t[s];if(typeof a=="string"){if(a!==n)return!1}else if(!ho(n)||n.length!==a.length||a.some((e,f)=>e!==n[f]))return!1}return!0}function XD(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const JD=(t,r,s)=>t??r??s,PR=us({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:r,slots:s}){const a=Pi(k4),n=Sr(()=>t.route||a.value),e=Pi(qD,0),f=Sr(()=>{let D=Zt(e);const{matched:F}=n.value;let T;for(;(T=F[D])&&!T.components;)D++;return D}),v=Sr(()=>n.value.matched[f.value]);V1(qD,Sr(()=>f.value+1)),V1(SR,v),V1(k4,n);const b=er();return In(()=>[b.value,v.value,t.name],([D,F,T],[C,O,N])=>{F&&(F.instances[T]=D,O&&O!==F&&D&&D===C&&(F.leaveGuards.size||(F.leaveGuards=O.leaveGuards),F.updateGuards.size||(F.updateGuards=O.updateGuards))),D&&F&&(!O||!Eh(F,O)||!C)&&(F.enterCallbacks[T]||[]).forEach(B=>B(D))},{flush:"post"}),()=>{const D=n.value,F=t.name,T=v.value,C=T&&T.components[F];if(!C)return ZD(s.default,{Component:C,route:D});const O=T.props[F],N=O?O===!0?D.params:typeof O=="function"?O(D):O:null,V=Of(C,En({},N,r,{onVnodeUnmounted:G=>{G.component.isUnmounted&&(T.instances[F]=null)},ref:b}));return ZD(s.default,{Component:V,route:D})||V}}});function ZD(t,r){if(!t)return null;const s=t(r);return s.length===1?s[0]:s}const NR=PR;function MR(t){const r=DR(t.routes,t),s=t.parseQuery||AR,a=t.stringifyQuery||KD,n=t.history,e=N1(),f=N1(),v=N1(),b=zc(Dc);let D=Dc;q0&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const F=Fy.bind(null,se=>""+se),T=Fy.bind(null,Q7),C=Fy.bind(null,gp);function O(se,Pe){let de,Ye;return pT(se)?(de=r.getRecordMatcher(se),Ye=Pe):Ye=se,r.addRoute(Ye,de)}function N(se){const Pe=r.getRecordMatcher(se);Pe&&r.removeRoute(Pe)}function B(){return r.getRoutes().map(se=>se.record)}function V(se){return!!r.getRecordMatcher(se)}function G(se,Pe){if(Pe=En({},Pe||b.value),typeof se=="string"){const ie=Ty(s,se,Pe.path),Te=r.resolve({path:ie.path},Pe),Le=n.createHref(ie.fullPath);return En(ie,Te,{params:C(Te.params),hash:gp(ie.hash),redirectedFrom:void 0,href:Le})}let de;if(se.path!=null)de=En({},se,{path:Ty(s,se.path,Pe.path).path});else{const ie=En({},se.params);for(const Te in ie)ie[Te]==null&&delete ie[Te];de=En({},se,{params:T(ie)}),Pe.params=T(Pe.params)}const Ye=r.resolve(de,Pe),gt=se.hash||"";Ye.params=F(C(Ye.params));const nt=Z7(a,En({},se,{hash:Y7(gt),path:Ye.path})),J=n.createHref(nt);return En({fullPath:nt,hash:gt,query:a===KD?CR(se.query):se.query||{}},Ye,{redirectedFrom:void 0,href:J})}function X(se){return typeof se=="string"?Ty(s,se,b.value.path):En({},se)}function H(se,Pe){if(D!==se)return Th(8,{from:Pe,to:se})}function z(se){return K(se)}function Y(se){return z(En(X(se),{replace:!0}))}function ee(se){const Pe=se.matched[se.matched.length-1];if(Pe&&Pe.redirect){const{redirect:de}=Pe;let Ye=typeof de=="function"?de(se):de;return typeof Ye=="string"&&(Ye=Ye.includes("?")||Ye.includes("#")?Ye=X(Ye):{path:Ye},Ye.params={}),En({query:se.query,hash:se.hash,params:Ye.path!=null?{}:se.params},Ye)}}function K(se,Pe){const de=D=G(se),Ye=b.value,gt=se.state,nt=se.force,J=se.replace===!0,ie=ee(de);if(ie)return K(En(X(ie),{state:typeof ie=="object"?En({},gt,ie.state):gt,force:nt,replace:J}),Pe||de);const Te=de;Te.redirectedFrom=Pe;let Le;return!nt&&eR(a,Ye,de)&&(Le=Th(16,{to:Te,from:Ye}),ce(Ye,Ye,!0,!1)),(Le?Promise.resolve(Le):W(Te,Ye)).catch(Ne=>kl(Ne)?kl(Ne,2)?Ne:Re(Ne):Fe(Ne,Te,Ye)).then(Ne=>{if(Ne){if(kl(Ne,2))return K(En({replace:J},X(Ne.to),{state:typeof Ne.to=="object"?En({},gt,Ne.to.state):gt,force:nt}),Pe||Te)}else Ne=oe(Te,Ye,!0,J,gt);return ae(Te,Ye,Ne),Ne})}function P(se,Pe){const de=H(se,Pe);return de?Promise.reject(de):Promise.resolve()}function I(se){const Pe=ke.values().next().value;return Pe&&typeof Pe.runWithContext=="function"?Pe.runWithContext(se):se()}function W(se,Pe){let de;const[Ye,gt,nt]=LR(se,Pe);de=Ay(Ye.reverse(),"beforeRouteLeave",se,Pe);for(const ie of Ye)ie.leaveGuards.forEach(Te=>{de.push(Rc(Te,se,Pe))});const J=P.bind(null,se,Pe);return de.push(J),Ie(de).then(()=>{de=[];for(const ie of e.list())de.push(Rc(ie,se,Pe));return de.push(J),Ie(de)}).then(()=>{de=Ay(gt,"beforeRouteUpdate",se,Pe);for(const ie of gt)ie.updateGuards.forEach(Te=>{de.push(Rc(Te,se,Pe))});return de.push(J),Ie(de)}).then(()=>{de=[];for(const ie of nt)if(ie.beforeEnter)if(ho(ie.beforeEnter))for(const Te of ie.beforeEnter)de.push(Rc(Te,se,Pe));else de.push(Rc(ie.beforeEnter,se,Pe));return de.push(J),Ie(de)}).then(()=>(se.matched.forEach(ie=>ie.enterCallbacks={}),de=Ay(nt,"beforeRouteEnter",se,Pe,I),de.push(J),Ie(de))).then(()=>{de=[];for(const ie of f.list())de.push(Rc(ie,se,Pe));return de.push(J),Ie(de)}).catch(ie=>kl(ie,8)?ie:Promise.reject(ie))}function ae(se,Pe,de){v.list().forEach(Ye=>I(()=>Ye(se,Pe,de)))}function oe(se,Pe,de,Ye,gt){const nt=H(se,Pe);if(nt)return nt;const J=Pe===Dc,ie=q0?history.state:{};de&&(Ye||J?n.replace(se.fullPath,En({scroll:J&&ie&&ie.scroll},gt)):n.push(se.fullPath,gt)),b.value=se,ce(se,Pe,de,J),Re()}let be;function Ee(){be||(be=n.listen((se,Pe,de)=>{if(!ge.listening)return;const Ye=G(se),gt=ee(Ye);if(gt){K(En(gt,{replace:!0}),Ye).catch(K1);return}D=Ye;const nt=b.value;q0&&aR(UD(nt.fullPath,de.delta),ob()),W(Ye,nt).catch(J=>kl(J,12)?J:kl(J,2)?(K(J.to,Ye).then(ie=>{kl(ie,20)&&!de.delta&&de.type===Fh.pop&&n.go(-1,!1)}).catch(K1),Promise.reject()):(de.delta&&n.go(-de.delta,!1),Fe(J,Ye,nt))).then(J=>{J=J||oe(Ye,nt,!1),J&&(de.delta&&!kl(J,8)?n.go(-de.delta,!1):de.type===Fh.pop&&kl(J,20)&&n.go(-1,!1)),ae(Ye,nt,J)}).catch(K1)}))}let Ue=N1(),ve=N1(),fe;function Fe(se,Pe,de){Re(se);const Ye=ve.list();return Ye.length?Ye.forEach(gt=>gt(se,Pe,de)):console.error(se),Promise.reject(se)}function Oe(){return fe&&b.value!==Dc?Promise.resolve():new Promise((se,Pe)=>{Ue.add([se,Pe])})}function Re(se){return fe||(fe=!se,Ee(),Ue.list().forEach(([Pe,de])=>se?de(se):Pe()),Ue.reset()),se}function ce(se,Pe,de,Ye){const{scrollBehavior:gt}=t;if(!q0||!gt)return Promise.resolve();const nt=!de&&oR(UD(se.fullPath,0))||(Ye||!de)&&history.state&&history.state.scroll||null;return va().then(()=>gt(se,Pe,nt)).then(J=>J&&iR(J)).catch(J=>Fe(J,se,Pe))}const we=se=>n.go(se);let We;const ke=new Set,ge={currentRoute:b,listening:!0,addRoute:O,removeRoute:N,clearRoutes:r.clearRoutes,hasRoute:V,getRoutes:B,resolve:G,options:t,push:z,replace:Y,go:we,back:()=>we(-1),forward:()=>we(1),beforeEach:e.add,beforeResolve:f.add,afterEach:v.add,onError:ve.add,isReady:Oe,install(se){const Pe=this;se.component("RouterLink",OR),se.component("RouterView",NR),se.config.globalProperties.$router=Pe,Object.defineProperty(se.config.globalProperties,"$route",{enumerable:!0,get:()=>Zt(b)}),q0&&!We&&b.value===Dc&&(We=!0,z(n.location).catch(gt=>{}));const de={};for(const gt in Dc)Object.defineProperty(de,gt,{get:()=>b.value[gt],enumerable:!0});se.provide(lb,Pe),se.provide(M3,l3(de)),se.provide(k4,b);const Ye=se.unmount;ke.add(se),se.unmount=function(){ke.delete(se),ke.size<1&&(D=Dc,be&&be(),be=null,b.value=Dc,We=!1,fe=!1),Ye()}}};function Ie(se){return se.reduce((Pe,de)=>Pe.then(()=>I(de)),Promise.resolve())}return ge}function LR(t,r){const s=[],a=[],n=[],e=Math.max(r.matched.length,t.matched.length);for(let f=0;f<e;f++){const v=r.matched[f];v&&(t.matched.find(D=>Eh(D,v))?a.push(v):s.push(v));const b=t.matched[f];b&&(r.matched.find(D=>Eh(D,b))||n.push(b))}return[s,a,n]}function BR(){return Pi(lb)}function bT(t){return Pi(M3)}const UR=new Set(["title","titleTemplate","script","style","noscript"]),$2=new Set(["base","meta","link","style","script","noscript"]),HR=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),$R=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),_T=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),WR=typeof window<"u";function gv(t){let r=9;for(let s=0;s<t.length;)r=Math.imul(r^t.charCodeAt(s++),9**9);return((r^r>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function O4(t){if(t._h)return t._h;if(t._d)return gv(t._d);let r=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const s in t.props)r+=`${s}:${String(t.props[s])},`;return gv(r)}function zR(t,r){return t instanceof Promise?t.then(r):r(t)}function R4(t,r,s,a){const n=a||wT(typeof r=="object"&&typeof r!="function"&&!(r instanceof Promise)?{...r}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:r},t==="templateParams"||t==="titleTemplate");if(n instanceof Promise)return n.then(f=>R4(t,r,s,f));const e={tag:t,props:n};for(const f of _T){const v=e.props[f]!==void 0?e.props[f]:s[f];v!==void 0&&((!(f==="innerHTML"||f==="textContent"||f==="children")||UR.has(e.tag))&&(e[f==="children"?"innerHTML":f]=v),delete e.props[f])}return e.props.body&&(e.tagPosition="bodyClose",delete e.props.body),e.tag==="script"&&typeof e.innerHTML=="object"&&(e.innerHTML=JSON.stringify(e.innerHTML),e.props.type=e.props.type||"application/json"),Array.isArray(e.props.content)?e.props.content.map(f=>({...e,props:{...e.props,content:f}})):e}function VR(t,r){var a;const s=t==="class"?" ":";";return r&&typeof r=="object"&&!Array.isArray(r)&&(r=Object.entries(r).filter(([,n])=>n).map(([n,e])=>t==="style"?`${n}:${e}`:n)),(a=String(Array.isArray(r)?r.join(s):r))==null?void 0:a.split(s).filter(n=>!!n.trim()).join(s)}function yT(t,r,s,a){for(let n=a;n<s.length;n+=1){const e=s[n];if(e==="class"||e==="style"){t[e]=VR(e,t[e]);continue}if(t[e]instanceof Promise)return t[e].then(f=>(t[e]=f,yT(t,r,s,n)));if(!r&&!_T.has(e)){const f=String(t[e]),v=e.startsWith("data-");f==="true"||f===""?t[e]=v?"true":!0:t[e]||(v&&f==="false"?t[e]="false":delete t[e])}}}function wT(t,r=!1){const s=yT(t,r,Object.keys(t),0);return s instanceof Promise?s.then(()=>t):t}const GR=10;function DT(t,r,s){for(let a=s;a<r.length;a+=1){const n=r[a];if(n instanceof Promise)return n.then(e=>(r[a]=e,DT(t,r,a)));Array.isArray(n)?t.push(...n):t.push(n)}}function jR(t){const r=[],s=t.resolvedInput;for(const n in s){if(!Object.prototype.hasOwnProperty.call(s,n))continue;const e=s[n];if(!(e===void 0||!HR.has(n))){if(Array.isArray(e)){for(const f of e)r.push(R4(n,f,t));continue}r.push(R4(n,e,t))}}if(r.length===0)return[];const a=[];return zR(DT(a,r,0),()=>a.map((n,e)=>(n._e=t._i,t.mode&&(n._m=t.mode),n._p=(t._i<<GR)+e,n)))}const eE=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),tE={base:-10,title:10},rE={critical:-80,high:-10,low:20};function vv(t){const r=t.tagPriority;if(typeof r=="number")return r;let s=100;return t.tag==="meta"?t.props["http-equiv"]==="content-security-policy"?s=-30:t.props.charset?s=-20:t.props.name==="viewport"&&(s=-15):t.tag==="link"&&t.props.rel==="preconnect"?s=20:t.tag in tE&&(s=tE[t.tag]),r&&r in rE?s+rE[r]:s}const YR=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],KR=["name","property","http-equiv"];function ET(t){const{props:r,tag:s}=t;if($R.has(s))return s;if(s==="link"&&r.rel==="canonical")return"canonical";if(r.charset)return"charset";if(r.id)return`${s}:id:${r.id}`;for(const a of KR)if(r[a]!==void 0)return`${s}:${a}:${r[a]}`;return!1}const Ic="%separator";function qR(t,r){var a;let s;if(r==="s"||r==="pageTitle")s=t.pageTitle;else if(r.includes(".")){const n=r.indexOf(".");s=(a=t[r.substring(0,n)])==null?void 0:a[r.substring(n+1)]}else s=t[r];return s!==void 0?(s||"").replace(/"/g,'\\"'):void 0}const QR=new RegExp(`${Ic}(?:\\s*${Ic})*`,"g");function _2(t,r,s){if(typeof t!="string"||!t.includes("%"))return t;let a=t;try{a=decodeURI(t)}catch{}const n=a.match(/%\w+(?:\.\w+)?/g);if(!n)return t;const e=t.includes(Ic);return t=t.replace(/%\w+(?:\.\w+)?/g,f=>{if(f===Ic||!n.includes(f))return f;const v=qR(r,f.slice(1));return v!==void 0?v:f}).trim(),e&&(t.endsWith(Ic)&&(t=t.slice(0,-Ic.length)),t.startsWith(Ic)&&(t=t.slice(Ic.length)),t=t.replace(QR,s).trim()),t}function nE(t,r){return t==null?r||null:typeof t=="function"?t(r):t}async function XR(t,r={}){const s=r.document||t.resolvedOptions.document;if(!s||!t.dirty)return;const a={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",a),!!a.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async n=>{var T;const e=(await t.resolveTags()).map(C=>({tag:C,id:$2.has(C.tag)?O4(C):C.tag,shouldRender:!0}));let f=t._dom;if(!f){f={elMap:{htmlAttrs:s.documentElement,bodyAttrs:s.body}};const C=new Set;for(const O of["body","head"]){const N=(T=s[O])==null?void 0:T.children;for(const B of N){const V=B.tagName.toLowerCase();if(!$2.has(V))continue;const G={tag:V,props:await wT(B.getAttributeNames().reduce((Y,ee)=>({...Y,[ee]:B.getAttribute(ee)}),{})),innerHTML:B.innerHTML},X=ET(G);let H=X,z=1;for(;H&&C.has(H);)H=`${X}:${z++}`;H&&(G._d=H,C.add(H)),f.elMap[B.getAttribute("data-hid")||O4(G)]=B}}}f.pendingSideEffects={...f.sideEffects},f.sideEffects={};function v(C,O,N){const B=`${C}:${O}`;f.sideEffects[B]=N,delete f.pendingSideEffects[B]}function b({id:C,$el:O,tag:N}){const B=N.tag.endsWith("Attrs");if(f.elMap[C]=O,B||(N.textContent&&N.textContent!==O.textContent&&(O.textContent=N.textContent),N.innerHTML&&N.innerHTML!==O.innerHTML&&(O.innerHTML=N.innerHTML),v(C,"el",()=>{var V;(V=f.elMap[C])==null||V.remove(),delete f.elMap[C]})),N._eventHandlers)for(const V in N._eventHandlers)Object.prototype.hasOwnProperty.call(N._eventHandlers,V)&&O.getAttribute(`data-${V}`)!==""&&((N.tag==="bodyAttrs"?s.defaultView:O).addEventListener(V.substring(2),N._eventHandlers[V].bind(O)),O.setAttribute(`data-${V}`,""));for(const V in N.props){if(!Object.prototype.hasOwnProperty.call(N.props,V))continue;const G=N.props[V],X=`attr:${V}`;if(V==="class"){if(!G)continue;for(const H of G.split(" "))B&&v(C,`${X}:${H}`,()=>O.classList.remove(H)),!O.classList.contains(H)&&O.classList.add(H)}else if(V==="style"){if(!G)continue;for(const H of G.split(";")){const z=H.indexOf(":"),Y=H.substring(0,z).trim(),ee=H.substring(z+1).trim();v(C,`${X}:${Y}`,()=>{O.style.removeProperty(Y)}),O.style.setProperty(Y,ee)}}else O.getAttribute(V)!==G&&O.setAttribute(V,G===!0?"":String(G)),B&&v(C,X,()=>O.removeAttribute(V))}}const D=[],F={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const C of e){const{tag:O,shouldRender:N,id:B}=C;if(N){if(O.tag==="title"){s.title=O.textContent;continue}C.$el=C.$el||f.elMap[B],C.$el?b(C):$2.has(O.tag)&&D.push(C)}}for(const C of D){const O=C.tag.tagPosition||"head";C.$el=s.createElement(C.tag.tag),b(C),F[O]=F[O]||s.createDocumentFragment(),F[O].appendChild(C.$el)}for(const C of e)await t.hooks.callHook("dom:renderTag",C,s,v);F.head&&s.head.appendChild(F.head),F.bodyOpen&&s.body.insertBefore(F.bodyOpen,s.body.firstChild),F.bodyClose&&s.body.appendChild(F.bodyClose);for(const C in f.pendingSideEffects)f.pendingSideEffects[C]();t._dom=f,await t.hooks.callHook("dom:rendered",{renders:e}),n()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function JR(t,r={}){const s=r.delayFn||(a=>setTimeout(a,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(a=>s(()=>XR(t,r).then(()=>{delete t._domDebouncedUpdatePromise,a()})))}function ZR(t){return r=>{var a,n;const s=((n=(a=r.resolvedOptions.document)==null?void 0:a.head.querySelector('script[id="unhead:payload"]'))==null?void 0:n.innerHTML)||!1;return s&&r.push(JSON.parse(s)),{mode:"client",hooks:{"entries:updated":e=>{JR(e,t)}}}}}function I4(t,r={},s){for(const a in t){const n=t[a],e=s?`${s}:${a}`:a;typeof n=="object"&&n!==null?I4(n,r,e):typeof n=="function"&&(r[e]=n)}return r}const e9={run:t=>t()},t9=()=>e9,FT=typeof console.createTask<"u"?console.createTask:t9;function r9(t,r){const s=r.shift(),a=FT(s);return t.reduce((n,e)=>n.then(()=>a.run(()=>e(...r))),Promise.resolve())}function n9(t,r){const s=r.shift(),a=FT(s);return Promise.all(t.map(n=>a.run(()=>n(...r))))}function Cy(t,r){for(const s of[...t])s(r)}class s9{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(r,s,a={}){if(!r||typeof s!="function")return()=>{};const n=r;let e;for(;this._deprecatedHooks[r];)e=this._deprecatedHooks[r],r=e.to;if(e&&!a.allowDeprecated){let f=e.message;f||(f=`${n} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(f)||(console.warn(f),this._deprecatedMessages.add(f))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+r.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[r]=this._hooks[r]||[],this._hooks[r].push(s),()=>{s&&(this.removeHook(r,s),s=void 0)}}hookOnce(r,s){let a,n=(...e)=>(typeof a=="function"&&a(),a=void 0,n=void 0,s(...e));return a=this.hook(r,n),a}removeHook(r,s){if(this._hooks[r]){const a=this._hooks[r].indexOf(s);a!==-1&&this._hooks[r].splice(a,1),this._hooks[r].length===0&&delete this._hooks[r]}}deprecateHook(r,s){this._deprecatedHooks[r]=typeof s=="string"?{to:s}:s;const a=this._hooks[r]||[];delete this._hooks[r];for(const n of a)this.hook(r,n)}deprecateHooks(r){Object.assign(this._deprecatedHooks,r);for(const s in r)this.deprecateHook(s,r[s])}addHooks(r){const s=I4(r),a=Object.keys(s).map(n=>this.hook(n,s[n]));return()=>{for(const n of a.splice(0,a.length))n()}}removeHooks(r){const s=I4(r);for(const a in s)this.removeHook(a,s[a])}removeAllHooks(){for(const r in this._hooks)delete this._hooks[r]}callHook(r,...s){return s.unshift(r),this.callHookWith(r9,r,...s)}callHookParallel(r,...s){return s.unshift(r),this.callHookWith(n9,r,...s)}callHookWith(r,s,...a){const n=this._before||this._after?{name:s,args:a,context:{}}:void 0;this._before&&Cy(this._before,n);const e=r(s in this._hooks?[...this._hooks[s]]:[],a);return e instanceof Promise?e.finally(()=>{this._after&&n&&Cy(this._after,n)}):(this._after&&n&&Cy(this._after,n),e)}beforeEach(r){return this._before=this._before||[],this._before.push(r),()=>{if(this._before!==void 0){const s=this._before.indexOf(r);s!==-1&&this._before.splice(s,1)}}}afterEach(r){return this._after=this._after||[],this._after.push(r),()=>{if(this._after!==void 0){const s=this._after.indexOf(r);s!==-1&&this._after.splice(s,1)}}}}function i9(){return new s9}const a9=new Set(["templateParams","htmlAttrs","bodyAttrs"]),o9={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const r=ET(t);r&&!r.startsWith("meta:og:")&&!r.startsWith("meta:twitter:")&&delete t.key;const s=r||(t.key?`${t.tag}:${t.key}`:!1);s&&(t._d=s)},"tags:resolve":t=>{const r=Object.create(null);for(const a of t.tags){const n=(a.key?`${a.tag}:${a.key}`:a._d)||O4(a),e=r[n];if(e){let v=a==null?void 0:a.tagDuplicateStrategy;if(!v&&a9.has(a.tag)&&(v="merge"),v==="merge"){const b=e.props;b.style&&a.props.style&&(b.style[b.style.length-1]!==";"&&(b.style+=";"),a.props.style=`${b.style} ${a.props.style}`),b.class&&a.props.class?a.props.class=`${b.class} ${a.props.class}`:b.class&&(a.props.class=b.class),r[n].props={...b,...a.props};continue}else if(a._e===e._e){e._duped=e._duped||[],a._d=`${e._d}:${e._duped.length+1}`,e._duped.push(a);continue}else if(vv(a)>vv(e))continue}if(!(a.innerHTML||a.textContent||Object.keys(a.props).length!==0)&&$2.has(a.tag)){delete r[n];continue}r[n]=a}const s=[];for(const a in r){const n=r[a],e=n._duped;s.push(n),e&&(delete n._duped,s.push(...e))}t.tags=s,t.tags=t.tags.filter(a=>!(a.tag==="meta"&&(a.props.name||a.props.property)&&!a.props.content))}}},l9=new Set(["script","link","bodyAttrs"]),c9=t=>({hooks:{"tags:resolve":r=>{for(const s of r.tags){if(!l9.has(s.tag))continue;const a=s.props;for(const n in a){if(n[0]!=="o"||n[1]!=="n"||!Object.prototype.hasOwnProperty.call(a,n))continue;const e=a[n];typeof e=="function"&&(t.ssr&&eE.has(n)?a[n]=`this.dataset.${n}fired = true`:delete a[n],s._eventHandlers=s._eventHandlers||{},s._eventHandlers[n]=e)}t.ssr&&s._eventHandlers&&(s.props.src||s.props.href)&&(s.key=s.key||gv(s.props.src||s.props.href))}},"dom:renderTag":({$el:r,tag:s})=>{var n,e;const a=r==null?void 0:r.dataset;if(a)for(const f in a){if(!f.endsWith("fired"))continue;const v=f.slice(0,-5);eE.has(v)&&((e=(n=s._eventHandlers)==null?void 0:n[v])==null||e.call(r,new Event(v.substring(2))))}}}}),u9=new Set(["link","style","script","noscript"]),f9={hooks:{"tag:normalise":({tag:t})=>{t.key&&u9.has(t.tag)&&(t.props["data-hid"]=t._h=gv(t.key))}}},h9={mode:"server",hooks:{"tags:beforeResolve":t=>{const r={};let s=!1;for(const a of t.tags)a._m!=="server"||a.tag!=="titleTemplate"&&a.tag!=="templateParams"&&a.tag!=="title"||(r[a.tag]=a.tag==="title"||a.tag==="titleTemplate"?a.textContent:a.props,s=!0);s&&t.tags.push({tag:"script",innerHTML:JSON.stringify(r),props:{id:"unhead:payload",type:"application/json"}})}}},d9={hooks:{"tags:resolve":t=>{var r;for(const s of t.tags)if(typeof s.tagPriority=="string")for(const{prefix:a,offset:n}of YR){if(!s.tagPriority.startsWith(a))continue;const e=s.tagPriority.substring(a.length),f=(r=t.tags.find(v=>v._d===e))==null?void 0:r._p;if(f!==void 0){s._p=f+n;break}}t.tags.sort((s,a)=>{const n=vv(s),e=vv(a);return n<e?-1:n>e?1:s._p-a._p})}}},p9={meta:"content",link:"href",htmlAttrs:"lang"},m9=["innerHTML","textContent"],g9=t=>({hooks:{"tags:resolve":r=>{var f;const{tags:s}=r;let a;for(let v=0;v<s.length;v+=1)s[v].tag==="templateParams"&&(a=r.tags.splice(v,1)[0].props,v-=1);const n=a||{},e=n.separator||"|";delete n.separator,n.pageTitle=_2(n.pageTitle||((f=s.find(v=>v.tag==="title"))==null?void 0:f.textContent)||"",n,e);for(const v of s){if(v.processTemplateParams===!1)continue;const b=p9[v.tag];if(b&&typeof v.props[b]=="string")v.props[b]=_2(v.props[b],n,e);else if(v.processTemplateParams||v.tag==="titleTemplate"||v.tag==="title")for(const D of m9)typeof v[D]=="string"&&(v[D]=_2(v[D],n,e))}t._templateParams=n,t._separator=e},"tags:afterResolve":({tags:r})=>{let s;for(let a=0;a<r.length;a+=1){const n=r[a];n.tag==="title"&&n.processTemplateParams!==!1&&(s=n)}s!=null&&s.textContent&&(s.textContent=_2(s.textContent,t._templateParams,t._separator))}}}),v9={hooks:{"tags:resolve":t=>{const{tags:r}=t;let s,a;for(let n=0;n<r.length;n+=1){const e=r[n];e.tag==="title"?s=e:e.tag==="titleTemplate"&&(a=e)}if(a&&s){const n=nE(a.textContent,s.textContent);n!==null?s.textContent=n||s.textContent:t.tags.splice(t.tags.indexOf(s),1)}else if(a){const n=nE(a.textContent);n!==null&&(a.textContent=n,a.tag="title",a=void 0)}a&&t.tags.splice(t.tags.indexOf(a),1)}}},b9={hooks:{"tags:afterResolve":t=>{for(const r of t.tags)typeof r.innerHTML=="string"&&(r.innerHTML&&(r.props.type==="application/ld+json"||r.props.type==="application/json")?r.innerHTML=r.innerHTML.replace(/</g,"\\u003C"):r.innerHTML=r.innerHTML.replace(new RegExp(`</${r.tag}`,"g"),`<\\/${r.tag}`))}}};let TT;function _9(t={}){const r=y9(t);return r.use(ZR()),TT=r}function sE(t,r){return!t||t==="server"&&r||t==="client"&&!r}function y9(t={}){const r=i9();r.addHooks(t.hooks||{}),t.document=t.document||(WR?document:void 0);const s=!t.document,a=()=>{v.dirty=!0,r.callHook("entries:updated",v)};let n=0,e=[];const f=[],v={plugins:f,dirty:!1,resolvedOptions:t,hooks:r,headEntries(){return e},use(b){const D=typeof b=="function"?b(v):b;(!D.key||!f.some(F=>F.key===D.key))&&(f.push(D),sE(D.mode,s)&&r.addHooks(D.hooks||{}))},push(b,D){D==null||delete D.head;const F={_i:n++,input:b,...D};return sE(F.mode,s)&&(e.push(F),a()),{dispose(){e=e.filter(T=>T._i!==F._i),a()},patch(T){for(const C of e)C._i===F._i&&(C.input=F.input=T);a()}}},async resolveTags(){const b={tags:[],entries:[...e]};await r.callHook("entries:resolve",b);for(const D of b.entries){const F=D.resolvedInput||D.input;if(D.resolvedInput=await(D.transform?D.transform(F):F),D.resolvedInput)for(const T of await jR(D)){const C={tag:T,entry:D,resolvedOptions:v.resolvedOptions};await r.callHook("tag:normalise",C),b.tags.push(C.tag)}}return await r.callHook("tags:beforeResolve",b),await r.callHook("tags:resolve",b),await r.callHook("tags:afterResolve",b),b.tags},ssr:s};return[o9,h9,c9,f9,d9,g9,v9,b9,...(t==null?void 0:t.plugins)||[]].forEach(b=>v.use(b)),v.hooks.callHook("init",v),v}function w9(){return TT}const D9=S3[0]==="3";function E9(t){return typeof t=="function"?t():Zt(t)}function bv(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const r=E9(t);if(!t||!r)return r;if(Array.isArray(r))return r.map(s=>bv(s));if(typeof r=="object"){const s={};for(const a in r)if(Object.prototype.hasOwnProperty.call(r,a)){if(a==="titleTemplate"||a[0]==="o"&&a[1]==="n"){s[a]=Zt(r[a]);continue}s[a]=bv(r[a])}return s}return r}const F9={hooks:{"entries:resolve":t=>{for(const r of t.entries)r.resolvedInput=bv(r.input)}}},xT="usehead";function T9(t){return{install(s){D9&&(s.config.globalProperties.$unhead=t,s.config.globalProperties.$head=t,s.provide(xT,t))}}.install}function x9(t={}){t.domDelayFn=t.domDelayFn||(s=>va(()=>setTimeout(()=>s(),0)));const r=_9(t);return r.use(F9),r.install=T9(r),r}const iE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},aE="__unhead_injection_handler__";function A9(){if(aE in iE)return iE[aE]();const t=Pi(xT);return t||w9()}function C9(t,r={}){const s=r.head||A9();if(s)return s.ssr?s.push(t,r):S9(s,t,r)}function S9(t,r,s={}){const a=er(!1),n=er({});T3(()=>{n.value=a.value?{}:bv(r)});const e=t.push(n.value,s);return In(n,v=>{e.patch(v)}),xs()&&(Ph(()=>{e.dispose()}),v3(()=>{a.value=!0}),g3(()=>{a.value=!1})),e}function k9(t){try{return JSON.parse(t||"{}")}catch(r){return console.error("[SSG] On state deserialization -",r,t),{}}}function O9(t){return document.readyState==="loading"?new Promise(r=>{document.addEventListener("DOMContentLoaded",()=>r(t))}):Promise.resolve(t)}const R9=us({setup(t,{slots:r}){const s=er(!1);return mo(()=>s.value=!0),()=>s.value?r.default&&r.default({}):r.placeholder&&r.placeholder({})}});function I9(t,r,s,a={}){const{transformState:n,registerComponents:e=!0,useHead:f=!0,rootContainer:v="#app"}=a,b=typeof window<"u";async function D(F=!1,T){const C=F?pp(t):R3(t);let O;f&&(O=x9(),C.use(O));const N=MR({history:F?fR(r.base):hR(r.base),...r}),{routes:B}=r;e&&C.component("ClientOnly",R9);const V=[],H={app:C,head:O,isClient:b,router:N,routes:B,onSSRAppRendered:F?()=>{}:K=>V.push(K),triggerOnSSRAppRendered:()=>Promise.all(V.map(K=>K())),initialState:{},transformState:n,routePath:T};F&&(await O9(),H.initialState=(n==null?void 0:n(window.__INITIAL_STATE__||{}))||k9(window.__INITIAL_STATE__)),await(s==null?void 0:s(H)),C.use(N);let z,Y=!0;if(N.beforeEach((K,P,I)=>{(Y||z&&z===K.path)&&(Y=!1,z=K.path,K.meta.state=H.initialState),I()}),!F){const K=H.routePath??"/";N.push(K),await N.isReady(),H.initialState=N.currentRoute.value.meta.state||{}}const ee=H.initialState;return{...H,initialState:ee}}return b&&(async()=>{const{app:F,router:T}=await D(!0);await T.isReady(),F.mount(v,!0)})(),D}var P9=function(){function t(r,s){s===void 0&&(s=[]),this._eventType=r,this._eventFunctions=s}return t.prototype.init=function(){var r=this;this._eventFunctions.forEach(function(s){typeof window<"u"&&window.addEventListener(r._eventType,s)})},t}(),_v=globalThis&&globalThis.__assign||function(){return _v=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},_v.apply(this,arguments)},yv={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},AT=function(){function t(r,s){r===void 0&&(r=[]),s===void 0&&(s=yv),this._items=r,this._options=_v(_v({},yv),s),this._init()}return t.prototype._init=function(){var r=this;this._items.length&&this._items.map(function(s){s.active&&r.open(s.id),s.triggerEl.addEventListener("click",function(){r.toggle(s.id)})})},t.prototype.getItem=function(r){return this._items.filter(function(s){return s.id===r})[0]},t.prototype.open=function(r){var s,a,n=this,e=this.getItem(r);this._options.alwaysOpen||this._items.map(function(f){var v,b;f!==e&&((v=f.triggerEl.classList).remove.apply(v,n._options.activeClasses.split(" ")),(b=f.triggerEl.classList).add.apply(b,n._options.inactiveClasses.split(" ")),f.targetEl.classList.add("hidden"),f.triggerEl.setAttribute("aria-expanded","false"),f.active=!1,f.iconEl&&f.iconEl.classList.remove("rotate-180"))}),(s=e.triggerEl.classList).add.apply(s,this._options.activeClasses.split(" ")),(a=e.triggerEl.classList).remove.apply(a,this._options.inactiveClasses.split(" ")),e.triggerEl.setAttribute("aria-expanded","true"),e.targetEl.classList.remove("hidden"),e.active=!0,e.iconEl&&e.iconEl.classList.add("rotate-180"),this._options.onOpen(this,e)},t.prototype.toggle=function(r){var s=this.getItem(r);s.active?this.close(r):this.open(r),this._options.onToggle(this,s)},t.prototype.close=function(r){var s,a,n=this.getItem(r);(s=n.triggerEl.classList).remove.apply(s,this._options.activeClasses.split(" ")),(a=n.triggerEl.classList).add.apply(a,this._options.inactiveClasses.split(" ")),n.targetEl.classList.add("hidden"),n.triggerEl.setAttribute("aria-expanded","false"),n.active=!1,n.iconEl&&n.iconEl.classList.remove("rotate-180"),this._options.onClose(this,n)},t}();function L3(){document.querySelectorAll("[data-accordion]").forEach(function(t){var r=t.getAttribute("data-accordion"),s=t.getAttribute("data-active-classes"),a=t.getAttribute("data-inactive-classes"),n=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var f={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),iconEl:e.querySelector("[data-accordion-icon]"),active:e.getAttribute("aria-expanded")==="true"};n.push(f)}}),new AT(n,{alwaysOpen:r==="open",activeClasses:s||yv.activeClasses,inactiveClasses:a||yv.inactiveClasses})})}typeof window<"u"&&(window.Accordion=AT,window.initAccordions=L3);var wv=globalThis&&globalThis.__assign||function(){return wv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},wv.apply(this,arguments)},oE={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},CT=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=oE),this._targetEl=r,this._triggerEl=s,this._options=wv(wv({},oE),a),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){r.toggle()}))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function B3(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var r=t.getAttribute("data-collapse-toggle"),s=document.getElementById(r);s?new CT(s,t):console.error('The target element with id "'.concat(r,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=CT,window.initCollapses=B3);var ff=globalThis&&globalThis.__assign||function(){return ff=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},ff.apply(this,arguments)},W2={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},ST=function(){function t(r,s){r===void 0&&(r=[]),s===void 0&&(s=W2),this._items=r,this._options=ff(ff(ff({},W2),s),{indicators:ff(ff({},W2.indicators),s.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return t.prototype._init=function(){var r=this;this._items.map(function(s){s.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(s,a){s.el.addEventListener("click",function(){r.slideTo(a)})})},t.prototype.getItem=function(r){return this._items[r]},t.prototype.slideTo=function(r){var s=this._items[r],a={left:s.position===0?this._items[this._items.length-1]:this._items[s.position-1],middle:s,right:s.position===this._items.length-1?this._items[0]:this._items[s.position+1]};this._rotate(a),this._setActiveItem(s),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var r=this._getActiveItem(),s=null;r.position===this._items.length-1?s=this._items[0]:s=this._items[r.position+1],this.slideTo(s.position),this._options.onNext(this)},t.prototype.prev=function(){var r=this._getActiveItem(),s=null;r.position===0?s=this._items[this._items.length-1]:s=this._items[r.position-1],this.slideTo(s.position),this._options.onPrev(this)},t.prototype._rotate=function(r){this._items.map(function(s){s.el.classList.add("hidden")}),r.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),r.left.el.classList.add("-translate-x-full","z-10"),r.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),r.middle.el.classList.add("translate-x-0","z-20"),r.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),r.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var r=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){r.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(r){var s,a,n=this;this._activeItem=r;var e=r.position;this._indicators.length&&(this._indicators.map(function(f){var v,b;f.el.setAttribute("aria-current","false"),(v=f.el.classList).remove.apply(v,n._options.indicators.activeClasses.split(" ")),(b=f.el.classList).add.apply(b,n._options.indicators.inactiveClasses.split(" "))}),(s=this._indicators[e].el.classList).add.apply(s,this._options.indicators.activeClasses.split(" ")),(a=this._indicators[e].el.classList).remove.apply(a,this._options.indicators.inactiveClasses.split(" ")),this._indicators[e].el.setAttribute("aria-current","true"))},t}();function U3(){document.querySelectorAll("[data-carousel]").forEach(function(t){var r=t.getAttribute("data-carousel-interval"),s=t.getAttribute("data-carousel")==="slide",a=[],n=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(D,F){a.push({position:F,el:D}),D.getAttribute("data-carousel-item")==="active"&&(n=F)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(D){e.push({position:parseInt(D.getAttribute("data-carousel-slide-to")),el:D})});var f=new ST(a,{defaultPosition:n,indicators:{items:e},interval:r||W2.interval});s&&f.cycle();var v=t.querySelector("[data-carousel-next]"),b=t.querySelector("[data-carousel-prev]");v&&v.addEventListener("click",function(){f.next()}),b&&b.addEventListener("click",function(){f.prev()})})}typeof window<"u"&&(window.Carousel=ST,window.initCarousels=U3);var Dv=globalThis&&globalThis.__assign||function(){return Dv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Dv.apply(this,arguments)},lE={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},kT=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=lE),this._targetEl=r,this._triggerEl=s,this._options=Dv(Dv({},lE),a),this._init()}return t.prototype._init=function(){var r=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){r.hide()})},t.prototype.hide=function(){var r=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){r._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function H3(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var r=t.getAttribute("data-dismiss-target"),s=document.querySelector(r);s?new kT(s,t):console.error('The dismiss element with id "'.concat(r,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=kT,window.initDismisses=H3);var Qi="top",$a="bottom",Wa="right",Xi="left",$3="auto",Lp=[Qi,$a,Wa,Xi],xh="start",vp="end",N9="clippingParents",OT="viewport",M1="popper",M9="reference",cE=Lp.reduce(function(t,r){return t.concat([r+"-"+xh,r+"-"+vp])},[]),RT=[].concat(Lp,[$3]).reduce(function(t,r){return t.concat([r,r+"-"+xh,r+"-"+vp])},[]),L9="beforeRead",B9="read",U9="afterRead",H9="beforeMain",$9="main",W9="afterMain",z9="beforeWrite",V9="write",G9="afterWrite",j9=[L9,B9,U9,H9,$9,W9,z9,V9,G9];function Zo(t){return t?(t.nodeName||"").toLowerCase():null}function ga(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var r=t.ownerDocument;return r&&r.defaultView||window}return t}function Tf(t){var r=ga(t).Element;return t instanceof r||t instanceof Element}function La(t){var r=ga(t).HTMLElement;return t instanceof r||t instanceof HTMLElement}function W3(t){if(typeof ShadowRoot>"u")return!1;var r=ga(t).ShadowRoot;return t instanceof r||t instanceof ShadowRoot}function Y9(t){var r=t.state;Object.keys(r.elements).forEach(function(s){var a=r.styles[s]||{},n=r.attributes[s]||{},e=r.elements[s];!La(e)||!Zo(e)||(Object.assign(e.style,a),Object.keys(n).forEach(function(f){var v=n[f];v===!1?e.removeAttribute(f):e.setAttribute(f,v===!0?"":v)}))})}function K9(t){var r=t.state,s={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,s.popper),r.styles=s,r.elements.arrow&&Object.assign(r.elements.arrow.style,s.arrow),function(){Object.keys(r.elements).forEach(function(a){var n=r.elements[a],e=r.attributes[a]||{},f=Object.keys(r.styles.hasOwnProperty(a)?r.styles[a]:s[a]),v=f.reduce(function(b,D){return b[D]="",b},{});!La(n)||!Zo(n)||(Object.assign(n.style,v),Object.keys(e).forEach(function(b){n.removeAttribute(b)}))})}}const q9={name:"applyStyles",enabled:!0,phase:"write",fn:Y9,effect:K9,requires:["computeStyles"]};function Yo(t){return t.split("-")[0]}var wf=Math.max,Ev=Math.min,Ah=Math.round;function P4(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(r){return r.brand+"/"+r.version}).join(" "):navigator.userAgent}function IT(){return!/^((?!chrome|android).)*safari/i.test(P4())}function Ch(t,r,s){r===void 0&&(r=!1),s===void 0&&(s=!1);var a=t.getBoundingClientRect(),n=1,e=1;r&&La(t)&&(n=t.offsetWidth>0&&Ah(a.width)/t.offsetWidth||1,e=t.offsetHeight>0&&Ah(a.height)/t.offsetHeight||1);var f=Tf(t)?ga(t):window,v=f.visualViewport,b=!IT()&&s,D=(a.left+(b&&v?v.offsetLeft:0))/n,F=(a.top+(b&&v?v.offsetTop:0))/e,T=a.width/n,C=a.height/e;return{width:T,height:C,top:F,right:D+T,bottom:F+C,left:D,x:D,y:F}}function z3(t){var r=Ch(t),s=t.offsetWidth,a=t.offsetHeight;return Math.abs(r.width-s)<=1&&(s=r.width),Math.abs(r.height-a)<=1&&(a=r.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:a}}function PT(t,r){var s=r.getRootNode&&r.getRootNode();if(t.contains(r))return!0;if(s&&W3(s)){var a=r;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Yl(t){return ga(t).getComputedStyle(t)}function Q9(t){return["table","td","th"].indexOf(Zo(t))>=0}function nu(t){return((Tf(t)?t.ownerDocument:t.document)||window.document).documentElement}function cb(t){return Zo(t)==="html"?t:t.assignedSlot||t.parentNode||(W3(t)?t.host:null)||nu(t)}function uE(t){return!La(t)||Yl(t).position==="fixed"?null:t.offsetParent}function X9(t){var r=/firefox/i.test(P4()),s=/Trident/i.test(P4());if(s&&La(t)){var a=Yl(t);if(a.position==="fixed")return null}var n=cb(t);for(W3(n)&&(n=n.host);La(n)&&["html","body"].indexOf(Zo(n))<0;){var e=Yl(n);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||r&&e.willChange==="filter"||r&&e.filter&&e.filter!=="none")return n;n=n.parentNode}return null}function Bp(t){for(var r=ga(t),s=uE(t);s&&Q9(s)&&Yl(s).position==="static";)s=uE(s);return s&&(Zo(s)==="html"||Zo(s)==="body"&&Yl(s).position==="static")?r:s||X9(t)||r}function V3(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function q1(t,r,s){return wf(t,Ev(r,s))}function J9(t,r,s){var a=q1(t,r,s);return a>s?s:a}function NT(){return{top:0,right:0,bottom:0,left:0}}function MT(t){return Object.assign({},NT(),t)}function LT(t,r){return r.reduce(function(s,a){return s[a]=t,s},{})}var Z9=function(r,s){return r=typeof r=="function"?r(Object.assign({},s.rects,{placement:s.placement})):r,MT(typeof r!="number"?r:LT(r,Lp))};function eI(t){var r,s=t.state,a=t.name,n=t.options,e=s.elements.arrow,f=s.modifiersData.popperOffsets,v=Yo(s.placement),b=V3(v),D=[Xi,Wa].indexOf(v)>=0,F=D?"height":"width";if(!(!e||!f)){var T=Z9(n.padding,s),C=z3(e),O=b==="y"?Qi:Xi,N=b==="y"?$a:Wa,B=s.rects.reference[F]+s.rects.reference[b]-f[b]-s.rects.popper[F],V=f[b]-s.rects.reference[b],G=Bp(e),X=G?b==="y"?G.clientHeight||0:G.clientWidth||0:0,H=B/2-V/2,z=T[O],Y=X-C[F]-T[N],ee=X/2-C[F]/2+H,K=q1(z,ee,Y),P=b;s.modifiersData[a]=(r={},r[P]=K,r.centerOffset=K-ee,r)}}function tI(t){var r=t.state,s=t.options,a=s.element,n=a===void 0?"[data-popper-arrow]":a;n!=null&&(typeof n=="string"&&(n=r.elements.popper.querySelector(n),!n)||PT(r.elements.popper,n)&&(r.elements.arrow=n))}const rI={name:"arrow",enabled:!0,phase:"main",fn:eI,effect:tI,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Sh(t){return t.split("-")[1]}var nI={top:"auto",right:"auto",bottom:"auto",left:"auto"};function sI(t,r){var s=t.x,a=t.y,n=r.devicePixelRatio||1;return{x:Ah(s*n)/n||0,y:Ah(a*n)/n||0}}function fE(t){var r,s=t.popper,a=t.popperRect,n=t.placement,e=t.variation,f=t.offsets,v=t.position,b=t.gpuAcceleration,D=t.adaptive,F=t.roundOffsets,T=t.isFixed,C=f.x,O=C===void 0?0:C,N=f.y,B=N===void 0?0:N,V=typeof F=="function"?F({x:O,y:B}):{x:O,y:B};O=V.x,B=V.y;var G=f.hasOwnProperty("x"),X=f.hasOwnProperty("y"),H=Xi,z=Qi,Y=window;if(D){var ee=Bp(s),K="clientHeight",P="clientWidth";if(ee===ga(s)&&(ee=nu(s),Yl(ee).position!=="static"&&v==="absolute"&&(K="scrollHeight",P="scrollWidth")),ee=ee,n===Qi||(n===Xi||n===Wa)&&e===vp){z=$a;var I=T&&ee===Y&&Y.visualViewport?Y.visualViewport.height:ee[K];B-=I-a.height,B*=b?1:-1}if(n===Xi||(n===Qi||n===$a)&&e===vp){H=Wa;var W=T&&ee===Y&&Y.visualViewport?Y.visualViewport.width:ee[P];O-=W-a.width,O*=b?1:-1}}var ae=Object.assign({position:v},D&&nI),oe=F===!0?sI({x:O,y:B},ga(s)):{x:O,y:B};if(O=oe.x,B=oe.y,b){var be;return Object.assign({},ae,(be={},be[z]=X?"0":"",be[H]=G?"0":"",be.transform=(Y.devicePixelRatio||1)<=1?"translate("+O+"px, "+B+"px)":"translate3d("+O+"px, "+B+"px, 0)",be))}return Object.assign({},ae,(r={},r[z]=X?B+"px":"",r[H]=G?O+"px":"",r.transform="",r))}function iI(t){var r=t.state,s=t.options,a=s.gpuAcceleration,n=a===void 0?!0:a,e=s.adaptive,f=e===void 0?!0:e,v=s.roundOffsets,b=v===void 0?!0:v,D={placement:Yo(r.placement),variation:Sh(r.placement),popper:r.elements.popper,popperRect:r.rects.popper,gpuAcceleration:n,isFixed:r.options.strategy==="fixed"};r.modifiersData.popperOffsets!=null&&(r.styles.popper=Object.assign({},r.styles.popper,fE(Object.assign({},D,{offsets:r.modifiersData.popperOffsets,position:r.options.strategy,adaptive:f,roundOffsets:b})))),r.modifiersData.arrow!=null&&(r.styles.arrow=Object.assign({},r.styles.arrow,fE(Object.assign({},D,{offsets:r.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:b})))),r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-placement":r.placement})}const aI={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:iI,data:{}};var y2={passive:!0};function oI(t){var r=t.state,s=t.instance,a=t.options,n=a.scroll,e=n===void 0?!0:n,f=a.resize,v=f===void 0?!0:f,b=ga(r.elements.popper),D=[].concat(r.scrollParents.reference,r.scrollParents.popper);return e&&D.forEach(function(F){F.addEventListener("scroll",s.update,y2)}),v&&b.addEventListener("resize",s.update,y2),function(){e&&D.forEach(function(F){F.removeEventListener("scroll",s.update,y2)}),v&&b.removeEventListener("resize",s.update,y2)}}const lI={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:oI,data:{}};var cI={left:"right",right:"left",bottom:"top",top:"bottom"};function z2(t){return t.replace(/left|right|bottom|top/g,function(r){return cI[r]})}var uI={start:"end",end:"start"};function hE(t){return t.replace(/start|end/g,function(r){return uI[r]})}function G3(t){var r=ga(t),s=r.pageXOffset,a=r.pageYOffset;return{scrollLeft:s,scrollTop:a}}function j3(t){return Ch(nu(t)).left+G3(t).scrollLeft}function fI(t,r){var s=ga(t),a=nu(t),n=s.visualViewport,e=a.clientWidth,f=a.clientHeight,v=0,b=0;if(n){e=n.width,f=n.height;var D=IT();(D||!D&&r==="fixed")&&(v=n.offsetLeft,b=n.offsetTop)}return{width:e,height:f,x:v+j3(t),y:b}}function hI(t){var r,s=nu(t),a=G3(t),n=(r=t.ownerDocument)==null?void 0:r.body,e=wf(s.scrollWidth,s.clientWidth,n?n.scrollWidth:0,n?n.clientWidth:0),f=wf(s.scrollHeight,s.clientHeight,n?n.scrollHeight:0,n?n.clientHeight:0),v=-a.scrollLeft+j3(t),b=-a.scrollTop;return Yl(n||s).direction==="rtl"&&(v+=wf(s.clientWidth,n?n.clientWidth:0)-e),{width:e,height:f,x:v,y:b}}function Y3(t){var r=Yl(t),s=r.overflow,a=r.overflowX,n=r.overflowY;return/auto|scroll|overlay|hidden/.test(s+n+a)}function BT(t){return["html","body","#document"].indexOf(Zo(t))>=0?t.ownerDocument.body:La(t)&&Y3(t)?t:BT(cb(t))}function Q1(t,r){var s;r===void 0&&(r=[]);var a=BT(t),n=a===((s=t.ownerDocument)==null?void 0:s.body),e=ga(a),f=n?[e].concat(e.visualViewport||[],Y3(a)?a:[]):a,v=r.concat(f);return n?v:v.concat(Q1(cb(f)))}function N4(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function dI(t,r){var s=Ch(t,!1,r==="fixed");return s.top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s}function dE(t,r,s){return r===OT?N4(fI(t,s)):Tf(r)?dI(r,s):N4(hI(nu(t)))}function pI(t){var r=Q1(cb(t)),s=["absolute","fixed"].indexOf(Yl(t).position)>=0,a=s&&La(t)?Bp(t):t;return Tf(a)?r.filter(function(n){return Tf(n)&&PT(n,a)&&Zo(n)!=="body"}):[]}function mI(t,r,s,a){var n=r==="clippingParents"?pI(t):[].concat(r),e=[].concat(n,[s]),f=e[0],v=e.reduce(function(b,D){var F=dE(t,D,a);return b.top=wf(F.top,b.top),b.right=Ev(F.right,b.right),b.bottom=Ev(F.bottom,b.bottom),b.left=wf(F.left,b.left),b},dE(t,f,a));return v.width=v.right-v.left,v.height=v.bottom-v.top,v.x=v.left,v.y=v.top,v}function UT(t){var r=t.reference,s=t.element,a=t.placement,n=a?Yo(a):null,e=a?Sh(a):null,f=r.x+r.width/2-s.width/2,v=r.y+r.height/2-s.height/2,b;switch(n){case Qi:b={x:f,y:r.y-s.height};break;case $a:b={x:f,y:r.y+r.height};break;case Wa:b={x:r.x+r.width,y:v};break;case Xi:b={x:r.x-s.width,y:v};break;default:b={x:r.x,y:r.y}}var D=n?V3(n):null;if(D!=null){var F=D==="y"?"height":"width";switch(e){case xh:b[D]=b[D]-(r[F]/2-s[F]/2);break;case vp:b[D]=b[D]+(r[F]/2-s[F]/2);break}}return b}function bp(t,r){r===void 0&&(r={});var s=r,a=s.placement,n=a===void 0?t.placement:a,e=s.strategy,f=e===void 0?t.strategy:e,v=s.boundary,b=v===void 0?N9:v,D=s.rootBoundary,F=D===void 0?OT:D,T=s.elementContext,C=T===void 0?M1:T,O=s.altBoundary,N=O===void 0?!1:O,B=s.padding,V=B===void 0?0:B,G=MT(typeof V!="number"?V:LT(V,Lp)),X=C===M1?M9:M1,H=t.rects.popper,z=t.elements[N?X:C],Y=mI(Tf(z)?z:z.contextElement||nu(t.elements.popper),b,F,f),ee=Ch(t.elements.reference),K=UT({reference:ee,element:H,strategy:"absolute",placement:n}),P=N4(Object.assign({},H,K)),I=C===M1?P:ee,W={top:Y.top-I.top+G.top,bottom:I.bottom-Y.bottom+G.bottom,left:Y.left-I.left+G.left,right:I.right-Y.right+G.right},ae=t.modifiersData.offset;if(C===M1&&ae){var oe=ae[n];Object.keys(W).forEach(function(be){var Ee=[Wa,$a].indexOf(be)>=0?1:-1,Ue=[Qi,$a].indexOf(be)>=0?"y":"x";W[be]+=oe[Ue]*Ee})}return W}function gI(t,r){r===void 0&&(r={});var s=r,a=s.placement,n=s.boundary,e=s.rootBoundary,f=s.padding,v=s.flipVariations,b=s.allowedAutoPlacements,D=b===void 0?RT:b,F=Sh(a),T=F?v?cE:cE.filter(function(N){return Sh(N)===F}):Lp,C=T.filter(function(N){return D.indexOf(N)>=0});C.length===0&&(C=T);var O=C.reduce(function(N,B){return N[B]=bp(t,{placement:B,boundary:n,rootBoundary:e,padding:f})[Yo(B)],N},{});return Object.keys(O).sort(function(N,B){return O[N]-O[B]})}function vI(t){if(Yo(t)===$3)return[];var r=z2(t);return[hE(t),r,hE(r)]}function bI(t){var r=t.state,s=t.options,a=t.name;if(!r.modifiersData[a]._skip){for(var n=s.mainAxis,e=n===void 0?!0:n,f=s.altAxis,v=f===void 0?!0:f,b=s.fallbackPlacements,D=s.padding,F=s.boundary,T=s.rootBoundary,C=s.altBoundary,O=s.flipVariations,N=O===void 0?!0:O,B=s.allowedAutoPlacements,V=r.options.placement,G=Yo(V),X=G===V,H=b||(X||!N?[z2(V)]:vI(V)),z=[V].concat(H).reduce(function(ke,ge){return ke.concat(Yo(ge)===$3?gI(r,{placement:ge,boundary:F,rootBoundary:T,padding:D,flipVariations:N,allowedAutoPlacements:B}):ge)},[]),Y=r.rects.reference,ee=r.rects.popper,K=new Map,P=!0,I=z[0],W=0;W<z.length;W++){var ae=z[W],oe=Yo(ae),be=Sh(ae)===xh,Ee=[Qi,$a].indexOf(oe)>=0,Ue=Ee?"width":"height",ve=bp(r,{placement:ae,boundary:F,rootBoundary:T,altBoundary:C,padding:D}),fe=Ee?be?Wa:Xi:be?$a:Qi;Y[Ue]>ee[Ue]&&(fe=z2(fe));var Fe=z2(fe),Oe=[];if(e&&Oe.push(ve[oe]<=0),v&&Oe.push(ve[fe]<=0,ve[Fe]<=0),Oe.every(function(ke){return ke})){I=ae,P=!1;break}K.set(ae,Oe)}if(P)for(var Re=N?3:1,ce=function(ge){var Ie=z.find(function(se){var Pe=K.get(se);if(Pe)return Pe.slice(0,ge).every(function(de){return de})});if(Ie)return I=Ie,"break"},we=Re;we>0;we--){var We=ce(we);if(We==="break")break}r.placement!==I&&(r.modifiersData[a]._skip=!0,r.placement=I,r.reset=!0)}}const _I={name:"flip",enabled:!0,phase:"main",fn:bI,requiresIfExists:["offset"],data:{_skip:!1}};function pE(t,r,s){return s===void 0&&(s={x:0,y:0}),{top:t.top-r.height-s.y,right:t.right-r.width+s.x,bottom:t.bottom-r.height+s.y,left:t.left-r.width-s.x}}function mE(t){return[Qi,Wa,$a,Xi].some(function(r){return t[r]>=0})}function yI(t){var r=t.state,s=t.name,a=r.rects.reference,n=r.rects.popper,e=r.modifiersData.preventOverflow,f=bp(r,{elementContext:"reference"}),v=bp(r,{altBoundary:!0}),b=pE(f,a),D=pE(v,n,e),F=mE(b),T=mE(D);r.modifiersData[s]={referenceClippingOffsets:b,popperEscapeOffsets:D,isReferenceHidden:F,hasPopperEscaped:T},r.attributes.popper=Object.assign({},r.attributes.popper,{"data-popper-reference-hidden":F,"data-popper-escaped":T})}const wI={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:yI};function DI(t,r,s){var a=Yo(t),n=[Xi,Qi].indexOf(a)>=0?-1:1,e=typeof s=="function"?s(Object.assign({},r,{placement:t})):s,f=e[0],v=e[1];return f=f||0,v=(v||0)*n,[Xi,Wa].indexOf(a)>=0?{x:v,y:f}:{x:f,y:v}}function EI(t){var r=t.state,s=t.options,a=t.name,n=s.offset,e=n===void 0?[0,0]:n,f=RT.reduce(function(F,T){return F[T]=DI(T,r.rects,e),F},{}),v=f[r.placement],b=v.x,D=v.y;r.modifiersData.popperOffsets!=null&&(r.modifiersData.popperOffsets.x+=b,r.modifiersData.popperOffsets.y+=D),r.modifiersData[a]=f}const FI={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:EI};function TI(t){var r=t.state,s=t.name;r.modifiersData[s]=UT({reference:r.rects.reference,element:r.rects.popper,strategy:"absolute",placement:r.placement})}const xI={name:"popperOffsets",enabled:!0,phase:"read",fn:TI,data:{}};function AI(t){return t==="x"?"y":"x"}function CI(t){var r=t.state,s=t.options,a=t.name,n=s.mainAxis,e=n===void 0?!0:n,f=s.altAxis,v=f===void 0?!1:f,b=s.boundary,D=s.rootBoundary,F=s.altBoundary,T=s.padding,C=s.tether,O=C===void 0?!0:C,N=s.tetherOffset,B=N===void 0?0:N,V=bp(r,{boundary:b,rootBoundary:D,padding:T,altBoundary:F}),G=Yo(r.placement),X=Sh(r.placement),H=!X,z=V3(G),Y=AI(z),ee=r.modifiersData.popperOffsets,K=r.rects.reference,P=r.rects.popper,I=typeof B=="function"?B(Object.assign({},r.rects,{placement:r.placement})):B,W=typeof I=="number"?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),ae=r.modifiersData.offset?r.modifiersData.offset[r.placement]:null,oe={x:0,y:0};if(ee){if(e){var be,Ee=z==="y"?Qi:Xi,Ue=z==="y"?$a:Wa,ve=z==="y"?"height":"width",fe=ee[z],Fe=fe+V[Ee],Oe=fe-V[Ue],Re=O?-P[ve]/2:0,ce=X===xh?K[ve]:P[ve],we=X===xh?-P[ve]:-K[ve],We=r.elements.arrow,ke=O&&We?z3(We):{width:0,height:0},ge=r.modifiersData["arrow#persistent"]?r.modifiersData["arrow#persistent"].padding:NT(),Ie=ge[Ee],se=ge[Ue],Pe=q1(0,K[ve],ke[ve]),de=H?K[ve]/2-Re-Pe-Ie-W.mainAxis:ce-Pe-Ie-W.mainAxis,Ye=H?-K[ve]/2+Re+Pe+se+W.mainAxis:we+Pe+se+W.mainAxis,gt=r.elements.arrow&&Bp(r.elements.arrow),nt=gt?z==="y"?gt.clientTop||0:gt.clientLeft||0:0,J=(be=ae==null?void 0:ae[z])!=null?be:0,ie=fe+de-J-nt,Te=fe+Ye-J,Le=q1(O?Ev(Fe,ie):Fe,fe,O?wf(Oe,Te):Oe);ee[z]=Le,oe[z]=Le-fe}if(v){var Ne,tt=z==="x"?Qi:Xi,yt=z==="x"?$a:Wa,lt=ee[Y],rt=Y==="y"?"height":"width",qe=lt+V[tt],pt=lt-V[yt],vt=[Qi,Xi].indexOf(G)!==-1,it=(Ne=ae==null?void 0:ae[Y])!=null?Ne:0,Ae=vt?qe:lt-K[rt]-P[rt]-it+W.altAxis,ze=vt?lt+K[rt]+P[rt]-it-W.altAxis:pt,Rt=O&&vt?J9(Ae,lt,ze):q1(O?Ae:qe,lt,O?ze:pt);ee[Y]=Rt,oe[Y]=Rt-lt}r.modifiersData[a]=oe}}const SI={name:"preventOverflow",enabled:!0,phase:"main",fn:CI,requiresIfExists:["offset"]};function kI(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function OI(t){return t===ga(t)||!La(t)?G3(t):kI(t)}function RI(t){var r=t.getBoundingClientRect(),s=Ah(r.width)/t.offsetWidth||1,a=Ah(r.height)/t.offsetHeight||1;return s!==1||a!==1}function II(t,r,s){s===void 0&&(s=!1);var a=La(r),n=La(r)&&RI(r),e=nu(r),f=Ch(t,n,s),v={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(a||!a&&!s)&&((Zo(r)!=="body"||Y3(e))&&(v=OI(r)),La(r)?(b=Ch(r,!0),b.x+=r.clientLeft,b.y+=r.clientTop):e&&(b.x=j3(e))),{x:f.left+v.scrollLeft-b.x,y:f.top+v.scrollTop-b.y,width:f.width,height:f.height}}function PI(t){var r=new Map,s=new Set,a=[];t.forEach(function(e){r.set(e.name,e)});function n(e){s.add(e.name);var f=[].concat(e.requires||[],e.requiresIfExists||[]);f.forEach(function(v){if(!s.has(v)){var b=r.get(v);b&&n(b)}}),a.push(e)}return t.forEach(function(e){s.has(e.name)||n(e)}),a}function NI(t){var r=PI(t);return j9.reduce(function(s,a){return s.concat(r.filter(function(n){return n.phase===a}))},[])}function MI(t){var r;return function(){return r||(r=new Promise(function(s){Promise.resolve().then(function(){r=void 0,s(t())})})),r}}function LI(t){var r=t.reduce(function(s,a){var n=s[a.name];return s[a.name]=n?Object.assign({},n,a,{options:Object.assign({},n.options,a.options),data:Object.assign({},n.data,a.data)}):a,s},{});return Object.keys(r).map(function(s){return r[s]})}var gE={placement:"bottom",modifiers:[],strategy:"absolute"};function vE(){for(var t=arguments.length,r=new Array(t),s=0;s<t;s++)r[s]=arguments[s];return!r.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function BI(t){t===void 0&&(t={});var r=t,s=r.defaultModifiers,a=s===void 0?[]:s,n=r.defaultOptions,e=n===void 0?gE:n;return function(v,b,D){D===void 0&&(D=e);var F={placement:"bottom",orderedModifiers:[],options:Object.assign({},gE,e),modifiersData:{},elements:{reference:v,popper:b},attributes:{},styles:{}},T=[],C=!1,O={state:F,setOptions:function(G){var X=typeof G=="function"?G(F.options):G;B(),F.options=Object.assign({},e,F.options,X),F.scrollParents={reference:Tf(v)?Q1(v):v.contextElement?Q1(v.contextElement):[],popper:Q1(b)};var H=NI(LI([].concat(a,F.options.modifiers)));return F.orderedModifiers=H.filter(function(z){return z.enabled}),N(),O.update()},forceUpdate:function(){if(!C){var G=F.elements,X=G.reference,H=G.popper;if(vE(X,H)){F.rects={reference:II(X,Bp(H),F.options.strategy==="fixed"),popper:z3(H)},F.reset=!1,F.placement=F.options.placement,F.orderedModifiers.forEach(function(W){return F.modifiersData[W.name]=Object.assign({},W.data)});for(var z=0;z<F.orderedModifiers.length;z++){if(F.reset===!0){F.reset=!1,z=-1;continue}var Y=F.orderedModifiers[z],ee=Y.fn,K=Y.options,P=K===void 0?{}:K,I=Y.name;typeof ee=="function"&&(F=ee({state:F,options:P,name:I,instance:O})||F)}}}},update:MI(function(){return new Promise(function(V){O.forceUpdate(),V(F)})}),destroy:function(){B(),C=!0}};if(!vE(v,b))return O;O.setOptions(D).then(function(V){!C&&D.onFirstUpdate&&D.onFirstUpdate(V)});function N(){F.orderedModifiers.forEach(function(V){var G=V.name,X=V.options,H=X===void 0?{}:X,z=V.effect;if(typeof z=="function"){var Y=z({state:F,name:G,instance:O,options:H}),ee=function(){};T.push(Y||ee)}})}function B(){T.forEach(function(V){return V()}),T=[]}return O}}var UI=[lI,xI,aI,q9,FI,_I,SI,rI,wI],K3=BI({defaultModifiers:UI}),Pc=globalThis&&globalThis.__assign||function(){return Pc=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Pc.apply(this,arguments)},w2=globalThis&&globalThis.__spreadArray||function(t,r,s){if(s||arguments.length===2)for(var a=0,n=r.length,e;a<n;a++)(e||!(a in r))&&(e||(e=Array.prototype.slice.call(r,0,a)),e[a]=r[a]);return t.concat(e||Array.prototype.slice.call(r))},Nc={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},HT=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=Nc),this._targetEl=r,this._triggerEl=s,this._options=Pc(Pc({},Nc),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,s=this._getTriggerEvents();this._options.triggerType==="click"&&s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.toggle()})}),this._options.triggerType==="hover"&&(s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){a==="click"?r.toggle():setTimeout(function(){r.show()},r._options.delay)}),r._targetEl.addEventListener(a,function(){r.show()})}),s.hideEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){setTimeout(function(){r._targetEl.matches(":hover")||r.hide()},r._options.delay)}),r._targetEl.addEventListener(a,function(){setTimeout(function(){r._triggerEl.matches(":hover")||r.hide()},r._options.delay)})}))},t.prototype._createPopperInstance=function(){return K3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(s){r._handleClickOutside(s,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,s){var a=r.target,n=this._options.ignoreClickOutsideClass,e=!1;if(n){var f=document.querySelectorAll(".".concat(n));f.forEach(function(v){if(v.contains(a)){e=!0;return}})}a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&!e&&this.isVisible()&&this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(r){return Pc(Pc({},r),{modifiers:w2(w2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(r){return Pc(Pc({},r),{modifiers:w2(w2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function q3(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var r=t.getAttribute("data-dropdown-toggle"),s=document.getElementById(r);if(s){var a=t.getAttribute("data-dropdown-placement"),n=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),f=t.getAttribute("data-dropdown-trigger"),v=t.getAttribute("data-dropdown-delay"),b=t.getAttribute("data-dropdown-ignore-click-outside-class");new HT(s,t,{placement:a||Nc.placement,triggerType:f||Nc.triggerType,offsetSkidding:n?parseInt(n):Nc.offsetSkidding,offsetDistance:e?parseInt(e):Nc.offsetDistance,delay:v?parseInt(v):Nc.delay,ignoreClickOutsideClass:b||Nc.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(r,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=HT,window.initDropdowns=q3);var Fv=globalThis&&globalThis.__assign||function(){return Fv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Fv.apply(this,arguments)},J0={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},M4=function(){function t(r,s){r===void 0&&(r=null),s===void 0&&(s=J0),this._targetEl=r,this._options=Fv(Fv({},J0),s),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var r=this;this._targetEl&&this._getPlacementClasses().map(function(s){r._targetEl.classList.add(s)})},t.prototype._createBackdrop=function(){var r;if(this._isHidden){var s=document.createElement("div");s.setAttribute("modal-backdrop",""),(r=s.classList).add.apply(r,this._options.backdropClasses.split(" ")),document.querySelector("body").append(s),this._backdropEl=s}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var r=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(s){r._handleOutsideClick(s.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(s){s.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(r){(r===this._targetEl||r===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),D2=function(t,r){return r.some(function(s){return s.id===t})?r.find(function(s){return s.id===t}):null};function Q3(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(r){var s=r.getAttribute("data-modal-target"),a=document.getElementById(s);if(a){var n=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop");D2(s,t)||t.push({id:s,object:new M4(a,{placement:n||J0.placement,backdrop:e||J0.backdrop})})}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(r){var s=r.getAttribute("data-modal-toggle"),a=document.getElementById(s);if(a){var n=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop"),f=D2(s,t);f||(f={id:s,object:new M4(a,{placement:n||J0.placement,backdrop:e||J0.backdrop})},t.push(f)),r.addEventListener("click",function(){f.object.toggle()})}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(r){var s=r.getAttribute("data-modal-show"),a=document.getElementById(s);if(a){var n=D2(s,t);n?r.addEventListener("click",function(){n.object.isHidden&&n.object.show()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(r){var s=r.getAttribute("data-modal-hide"),a=document.getElementById(s);if(a){var n=D2(s,t);n?r.addEventListener("click",function(){n.object.isVisible&&n.object.hide()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=M4,window.initModals=Q3);var Tv=globalThis&&globalThis.__assign||function(){return Tv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Tv.apply(this,arguments)},hf={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},$T=function(){function t(r,s){r===void 0&&(r=null),s===void 0&&(s=hf),this._targetEl=r,this._options=Tv(Tv({},hf),s),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(s){r._targetEl.classList.add(s)}),document.addEventListener("keydown",function(s){s.key==="Escape"&&r.isVisible()&&r.hide()})},t.prototype.hide=function(){var r=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){r._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){r._targetEl.classList.add(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){r._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){r._targetEl.classList.add(s)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var r=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){r._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){r._targetEl.classList.remove(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){r._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){r._targetEl.classList.remove(s)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var r,s=this;if(!this._visible){var a=document.createElement("div");a.setAttribute("drawer-backdrop",""),(r=a.classList).add.apply(r,this._options.backdropClasses.split(" ")),document.querySelector("body").append(a),a.addEventListener("click",function(){s.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(r){switch(r){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),E2=function(t,r){if(r.some(function(s){return s.id===t}))return r.find(function(s){return s.id===t})};function X3(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(r){var s=r.getAttribute("data-drawer-target"),a=document.getElementById(s);if(a){var n=r.getAttribute("data-drawer-placement"),e=r.getAttribute("data-drawer-body-scrolling"),f=r.getAttribute("data-drawer-backdrop"),v=r.getAttribute("data-drawer-edge"),b=r.getAttribute("data-drawer-edge-offset");E2(s,t)||t.push({id:s,object:new $T(a,{placement:n||hf.placement,bodyScrolling:e?e==="true":hf.bodyScrolling,backdrop:f?f==="true":hf.backdrop,edge:v?v==="true":hf.edge,edgeOffset:b||hf.edgeOffset})})}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(r){var s=r.getAttribute("data-drawer-toggle"),a=document.getElementById(s);if(a){var n=E2(s,t);n?r.addEventListener("click",function(){n.object.toggle()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(r){var s=r.getAttribute("data-drawer-dismiss")?r.getAttribute("data-drawer-dismiss"):r.getAttribute("data-drawer-hide"),a=document.getElementById(s);if(a){var n=E2(s,t);n?r.addEventListener("click",function(){n.object.hide()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(r){var s=r.getAttribute("data-drawer-show"),a=document.getElementById(s);if(a){var n=E2(s,t);n?r.addEventListener("click",function(){n.object.show()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=$T,window.initDrawers=X3);var xv=globalThis&&globalThis.__assign||function(){return xv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},xv.apply(this,arguments)},bE={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},WT=function(){function t(r,s){r===void 0&&(r=[]),s===void 0&&(s=bE),this._items=r,this._activeTab=s?this.getTab(s.defaultTabId):null,this._options=xv(xv({},bE),s),this._init()}return t.prototype._init=function(){var r=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(s){s.triggerEl.addEventListener("click",function(){r.show(s.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(r){this._activeTab=r},t.prototype.getTab=function(r){return this._items.filter(function(s){return s.id===r})[0]},t.prototype.show=function(r,s){var a,n,e=this;s===void 0&&(s=!1);var f=this.getTab(r);f===this._activeTab&&!s||(this._items.map(function(v){var b,D;v!==f&&((b=v.triggerEl.classList).remove.apply(b,e._options.activeClasses.split(" ")),(D=v.triggerEl.classList).add.apply(D,e._options.inactiveClasses.split(" ")),v.targetEl.classList.add("hidden"),v.triggerEl.setAttribute("aria-selected","false"))}),(a=f.triggerEl.classList).add.apply(a,this._options.activeClasses.split(" ")),(n=f.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),f.triggerEl.setAttribute("aria-selected","true"),f.targetEl.classList.remove("hidden"),this._setActiveTab(f),this._options.onShow(this,f))},t}();function J3(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var r=[],s=null;t.querySelectorAll('[role="tab"]').forEach(function(a){var n=a.getAttribute("aria-selected")==="true",e={id:a.getAttribute("data-tabs-target"),triggerEl:a,targetEl:document.querySelector(a.getAttribute("data-tabs-target"))};r.push(e),n&&(s=e.id)}),new WT(r,{defaultTabId:s})})}typeof window<"u"&&(window.Tabs=WT,window.initTabs=J3);var Mc=globalThis&&globalThis.__assign||function(){return Mc=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Mc.apply(this,arguments)},F2=globalThis&&globalThis.__spreadArray||function(t,r,s){if(s||arguments.length===2)for(var a=0,n=r.length,e;a<n;a++)(e||!(a in r))&&(e||(e=Array.prototype.slice.call(r,0,a)),e[a]=r[a]);return t.concat(e||Array.prototype.slice.call(r))},Av={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Z3=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=Av),this._targetEl=r,this._triggerEl=s,this._options=Mc(Mc({},Av),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.show()})}),s.hideEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.hide()})})},t.prototype._createPopperInstance=function(){return K3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var r=this;this._keydownEventListener=function(s){s.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(s){r._handleClickOutside(s,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,s){var a=r.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(r){return Mc(Mc({},r),{modifiers:F2(F2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(r){return Mc(Mc({},r),{modifiers:F2(F2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function ew(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var r=t.getAttribute("data-tooltip-target"),s=document.getElementById(r);if(s){var a=t.getAttribute("data-tooltip-trigger"),n=t.getAttribute("data-tooltip-placement");new Z3(s,t,{placement:n||Av.placement,triggerType:a||Av.triggerType})}else console.error('The tooltip element with id "'.concat(r,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=Z3,window.initTooltips=ew);var Lc=globalThis&&globalThis.__assign||function(){return Lc=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Lc.apply(this,arguments)},T2=globalThis&&globalThis.__spreadArray||function(t,r,s){if(s||arguments.length===2)for(var a=0,n=r.length,e;a<n;a++)(e||!(a in r))&&(e||(e=Array.prototype.slice.call(r,0,a)),e[a]=r[a]);return t.concat(e||Array.prototype.slice.call(r))},X1={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},zT=function(){function t(r,s,a){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=X1),this._targetEl=r,this._triggerEl=s,this._options=Lc(Lc({},X1),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var r=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.show()}),r._targetEl.addEventListener(a,function(){r.show()})}),s.hideEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){setTimeout(function(){r._targetEl.matches(":hover")||r.hide()},100)}),r._targetEl.addEventListener(a,function(){setTimeout(function(){r._triggerEl.matches(":hover")||r.hide()},100)})})},t.prototype._createPopperInstance=function(){return K3(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var r=this;this._keydownEventListener=function(s){s.key==="Escape"&&r.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var r=this;this._clickOutsideEventListener=function(s){r._handleClickOutside(s,r._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(r,s){var a=r.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(r){return Lc(Lc({},r),{modifiers:T2(T2([],r.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(r){return Lc(Lc({},r),{modifiers:T2(T2([],r.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function tw(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var r=t.getAttribute("data-popover-target"),s=document.getElementById(r);if(s){var a=t.getAttribute("data-popover-trigger"),n=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new zT(s,t,{placement:n||X1.placement,offset:e?parseInt(e):X1.offset,triggerType:a||X1.triggerType})}else console.error('The popover element with id "'.concat(r,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=zT,window.initPopovers=tw);var Cv=globalThis&&globalThis.__assign||function(){return Cv=Object.assign||function(t){for(var r,s=1,a=arguments.length;s<a;s++){r=arguments[s];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},Cv.apply(this,arguments)},L4={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},VT=function(){function t(r,s,a,n){r===void 0&&(r=null),s===void 0&&(s=null),a===void 0&&(a=null),n===void 0&&(n=L4),this._parentEl=r,this._triggerEl=s,this._targetEl=a,this._options=Cv(Cv({},L4),n),this._visible=!1,this._init()}return t.prototype._init=function(){var r=this;if(this._triggerEl){var s=this._getTriggerEventTypes(this._options.triggerType);s.showEvents.forEach(function(a){r._triggerEl.addEventListener(a,function(){r.show()}),r._targetEl.addEventListener(a,function(){r.show()})}),s.hideEvents.forEach(function(a){r._parentEl.addEventListener(a,function(){r._parentEl.matches(":hover")||r.hide()})})}},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this._visible?this.hide():this.show()},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype._getTriggerEventTypes=function(r){switch(r){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t}();function rw(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var r=t.querySelector("[data-dial-toggle]");if(r){var s=r.getAttribute("data-dial-toggle"),a=document.getElementById(s);if(a){var n=r.getAttribute("data-dial-trigger");new VT(t,r,a,{triggerType:n||L4.triggerType})}else console.error("Dial with id ".concat(s," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}typeof window<"u"&&(window.Dial=VT,window.initDials=rw);function HI(){L3(),B3(),U3(),H3(),q3(),Q3(),X3(),J3(),ew(),tw(),rw()}typeof window<"u"&&(window.initFlowbite=HI);var $I=new P9("load",[L3,B3,U3,H3,q3,Q3,X3,J3,ew,tw,rw]);$I.init();const GT=us({__name:"Tooltip",props:{placement:null},setup(t){const r=t,s=er(null),a=er(null),n=Sr(()=>r.placement??"auto");return mo(()=>{if(s.value&&a.value){const e={placement:n.value,triggerType:"hover"};new Z3(s.value,a.value,e)}}),(e,f)=>(Hr(),Fn("div",null,[It("div",{ref_key:"tooltipTriggerEl",ref:a},[Df(e.$slots,"default")],512),It("div",{ref_key:"tooltipTargetEl",ref:s,role:"tooltip",class:"tooltip inline-block absolute invisible px-3 py-2 transition-opacity duration-300 shadow-sm opacity-0","z-99999":"",rounded:"","text-base":"","text-white":"","font-medium":"","bg-gray-900":"","dark:bg-gray-700":""},[It("div",null,[Df(e.$slots,"popper")]),f[0]||(f[0]=It("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1))],512)]))}}),WI="Board - XCPCIO",AH="Rating - XCPCIO",CH="Balloon - XCPCIO",SH="Resolver - XCPCIO",kH="Countdown - XCPCIO",zI=Sr(()=>window?window.CDN_HOST:""),jT=Sr(()=>window?window.DATA_HOST:""),OH=Sr(()=>jT.value.replace("/data/","/rating-data/")),VI=Sr(()=>window?window.DATA_REGION:""),GI="0.52.1",YT="https://github.com/xcpcio/xcpcio",jI="2807a80f76",YI="https://xcpcio.com";var so=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(so||{}),Ot=(t=>(t.PENDING="PENDING",t.WAITING="WAITING",t.PREPARING="PREPARING",t.COMPILING="COMPILING",t.RUNNING="RUNNING",t.JUDGING="JUDGING",t.FROZEN="FROZEN",t.ACCEPTED="ACCEPTED",t.CORRECT="CORRECT",t.PARTIALLY_CORRECT="PARTIALLY_CORRECT",t.REJECTED="REJECTED",t.WRONG_ANSWER="WRONG_ANSWER",t.NO_OUTPUT="NO_OUTPUT",t.COMPILATION_ERROR="COMPILATION_ERROR",t.PRESENTATION_ERROR="PRESENTATION_ERROR",t.RUNTIME_ERROR="RUNTIME_ERROR",t.TIME_LIMIT_EXCEEDED="TIME_LIMIT_EXCEEDED",t.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",t.OUTPUT_LIMIT_EXCEEDED="OUTPUT_LIMIT_EXCEEDED",t.IDLENESS_LIMIT_EXCEEDED="IDLENESS_LIMIT_EXCEEDED",t.HACKED="HACKED",t.JUDGEMENT_FAILED="JUDGEMENT_FAILED",t.CONFIGURATION_ERROR="CONFIGURATION_ERROR",t.FILE_ERROR="FILE_ERROR",t.SYSTEM_ERROR="SYSTEM_ERROR",t.CANCELED="CANCELED",t.SKIPPED="SKIPPED",t.SECURITY_VIOLATED="SECURITY_VIOLATED",t.DENIAL_OF_JUDGEMENT="DENIAL_OF_JUDGEMENT",t.UNKNOWN="UNKNOWN",t.UNDEFINED="UNDEFINED",t))(Ot||{});const RH={PENDING:"Pending",WAITING:"Waiting",PREPARING:"Preparing",COMPILING:"Compiling",RUNNING:"Running",JUDGING:"Judging",FROZEN:"Frozen",ACCEPTED:"Accepted",CORRECT:"Correct",PARTIALLY_CORRECT:"Partially Correct",REJECTED:"Rejected",WRONG_ANSWER:"Wrong Answer",NO_OUTPUT:"No Output",COMPILATION_ERROR:"Compilation Error",PRESENTATION_ERROR:"Presentation Error",RUNTIME_ERROR:"Runtime Error",TIME_LIMIT_EXCEEDED:"Time Limit Exceeded",MEMORY_LIMIT_EXCEEDED:"Memory Limit Exceeded",OUTPUT_LIMIT_EXCEEDED:"Output Limit Exceeded",IDLENESS_LIMIT_EXCEEDED:"Idleness Limit Exceeded",HACKED:"Hacked",JUDGEMENT_FAILED:"Judgement Failed",CONFIGURATION_ERROR:"Configuration Error",FILE_ERROR:"File Error",SYSTEM_ERROR:"System Error",CANCELED:"Canceled",SKIPPED:"Skipped",SECURITY_VIOLATED:"Security Violated",DENIAL_OF_JUDGEMENT:"Denial Of Judgement",UNKNOWN:"Unknown",UNDEFINED:"Undefined"},IH={PENDING:"PD",WAITING:"PD",PREPARING:"PD",COMPILING:"PD",RUNNING:"PD",JUDGING:"PD",FROZEN:"?",ACCEPTED:"AC",CORRECT:"AC",PARTIALLY_CORRECT:"RJ",REJECTED:"RJ",WRONG_ANSWER:"WA",NO_OUTPUT:"NO",COMPILATION_ERROR:"CE",PRESENTATION_ERROR:"PE",RUNTIME_ERROR:"RTE",TIME_LIMIT_EXCEEDED:"TLE",MEMORY_LIMIT_EXCEEDED:"MLE",OUTPUT_LIMIT_EXCEEDED:"OLE",IDLENESS_LIMIT_EXCEEDED:"ILE",HACKED:"RJ",JUDGEMENT_FAILED:"RJ",CONFIGURATION_ERROR:"RJ",FILE_ERROR:"RJ",SYSTEM_ERROR:"RJ",CANCELED:"RJ",SKIPPED:"RJ",SECURITY_VIOLATED:"RJ",DENIAL_OF_JUDGEMENT:"RJ",UNKNOWN:"RJ",UNDEFINED:"RJ"},KI={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},qI={"text-center":"","w-full":""},QI={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},XI={"mr-4":"","md:mr-6":""},JI=["href"],ZI={flex:"","justify-center":"","items-start":"","flex-col":""},eP={"mr-4":"","md:mr-6":""},tP={flex:"","justify-center":"","items-start":"","flex-col":""},rP={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},nP=us({__name:"Footer",setup(t){return(r,s)=>{const a=uo("RouterLink"),n=GT;return Hr(),Fn("footer",KI,[It("div",qI,[Cr(a,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:Gs(()=>s[0]||(s[0]=[It("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),Vo(" Get more balloons ")])),_:1}),s[6]||(s[6]=It("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1)),It("ul",QI,[It("li",null,[Cr(a,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:Gs(()=>s[1]||(s[1]=[Vo(" Home ")])),_:1})]),It("li",null,[It("div",XI,[Cr(n,null,{popper:Gs(()=>[It("div",ZI,[It("div",null,"Tag: "+vs(Zt(GI)),1),It("div",null,"Sha: "+vs(Zt(jI)),1)])]),default:Gs(()=>[It("a",{href:Zt(YT),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,JI)]),_:1})])]),It("li",null,[It("div",eP,[Cr(n,null,{popper:Gs(()=>[It("div",tP,[It("div",null,"CDN Host: "+vs("CDN_HOST"in r?r.CDN_HOST:Zt(zI)),1),It("div",null,"DATA Host: "+vs("DATA_HOST"in r?r.DATA_HOST:Zt(jT)),1),It("div",null,"Data Region: "+vs("DATA_REGION"in r?r.DATA_REGION:Zt(VI)),1)])]),default:Gs(()=>[s[2]||(s[2]=It("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1))]),_:1})])])]),It("span",rP,[s[4]||(s[4]=Vo("© 2020-PRESENT ")),Cr(a,{to:"/","hover:underline":""},{default:Gs(()=>s[3]||(s[3]=[Vo("XCPCIO™")])),_:1}),s[5]||(s[5]=Vo(". All Rights Reserved."))])])])}}});function el(t){return Vv()?(n3(t),!0):!1}function Sy(){const t=new Set,r=n=>{t.delete(n)};return{on:n=>{t.add(n);const e=()=>r(n);return el(e),{off:e}},off:r,trigger:(...n)=>Promise.all(Array.from(t).map(e=>e(...n)))}}function Hn(t){return typeof t=="function"?t():Zt(t)}const kh=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const sP=t=>typeof t<"u",KT=t=>t!=null,iP=Object.prototype.toString,aP=t=>iP.call(t)==="[object Object]",Gc=()=>{};function qT(t,r){function s(...a){return new Promise((n,e)=>{Promise.resolve(t(()=>r.apply(this,a),{fn:r,thisArg:this,args:a})).then(n).catch(e)})}return s}const QT=t=>t();function oP(...t){let r=0,s,a=!0,n=Gc,e,f,v,b,D;!un(t[0])&&typeof t[0]=="object"?{delay:f,trailing:v=!0,leading:b=!0,rejectOnCancel:D=!1}=t[0]:[f,v=!0,b=!0,D=!1]=t;const F=()=>{s&&(clearTimeout(s),s=void 0,n(),n=Gc)};return C=>{const O=Hn(f),N=Date.now()-r,B=()=>e=C();return F(),O<=0?(r=Date.now(),B()):(N>O&&(b||!a)?(r=Date.now(),B()):v&&(e=new Promise((V,G)=>{n=D?G:V,s=setTimeout(()=>{r=Date.now(),a=!0,V(B()),F()},Math.max(0,O-N))})),!b&&!s&&(s=setTimeout(()=>a=!0,O)),a=!1,e)}}function lP(t=QT){const r=er(!0);function s(){r.value=!1}function a(){r.value=!0}const n=(...e)=>{r.value&&t(...e)};return{isActive:Vl(r),pause:s,resume:a,eventFilter:n}}function _E(t,r=!1,s="Timeout"){return new Promise((a,n)=>{setTimeout(r?()=>n(s):a,t)})}function cP(t){let r;function s(){return r||(r=t()),r}return s.reset=async()=>{const a=r;r=void 0,a&&await a},s}function uP(t,...r){return r.some(s=>s in t)}function XT(t){return t||xs()}function J1(...t){if(t.length!==1)return c6(...t);const r=t[0];return typeof r=="function"?Vl(Jv(()=>({get:r,set:Gc}))):er(r)}function PH(t,r=200,s=!1,a=!0,n=!1){return qT(oP(r,s,a,n),t)}function fP(t,r,s={}){const{eventFilter:a=QT,...n}=s;return In(t,qT(a,r),n)}function hP(t,r,s={}){const{eventFilter:a,...n}=s,{eventFilter:e,pause:f,resume:v,isActive:b}=lP(a);return{stop:fP(t,r,{...n,eventFilter:e}),pause:f,resume:v,isActive:b}}function dP(t,r){XT(r)&&Ph(t,r)}function JT(t,r=!0,s){XT()?mo(t,s):r?t():va(t)}function B4(t,r=!1){function s(T,{flush:C="sync",deep:O=!1,timeout:N,throwOnTimeout:B}={}){let V=null;const X=[new Promise(H=>{V=In(t,z=>{T(z)!==r&&(V==null||V(),H(z))},{flush:C,deep:O,immediate:!0})})];return N!=null&&X.push(_E(N,B).then(()=>Hn(t)).finally(()=>V==null?void 0:V())),Promise.race(X)}function a(T,C){if(!un(T))return s(z=>z===T,C);const{flush:O="sync",deep:N=!1,timeout:B,throwOnTimeout:V}=C??{};let G=null;const H=[new Promise(z=>{G=In([t,T],([Y,ee])=>{r!==(Y===ee)&&(G==null||G(),z(Y))},{flush:O,deep:N,immediate:!0})})];return B!=null&&H.push(_E(B,V).then(()=>Hn(t)).finally(()=>(G==null||G(),Hn(t)))),Promise.race(H)}function n(T){return s(C=>!!C,T)}function e(T){return a(null,T)}function f(T){return a(void 0,T)}function v(T){return s(Number.isNaN,T)}function b(T,C){return s(O=>{const N=Array.from(O);return N.includes(T)||N.includes(Hn(T))},C)}function D(T){return F(1,T)}function F(T=1,C){let O=-1;return s(()=>(O+=1,O>=T),C)}return Array.isArray(Hn(t))?{toMatch:s,toContains:b,changed:D,changedTimes:F,get not(){return B4(t,!r)}}:{toMatch:s,toBe:a,toBeTruthy:n,toBeNull:e,toBeNaN:v,toBeUndefined:f,changed:D,changedTimes:F,get not(){return B4(t,!r)}}}function pP(t){return B4(t)}function mP(t,r=1e3,s={}){const{immediate:a=!0,immediateCallback:n=!1}=s;let e=null;const f=er(!1);function v(){e&&(clearInterval(e),e=null)}function b(){f.value=!1,v()}function D(){const F=Hn(r);F<=0||(f.value=!0,n&&t(),v(),e=setInterval(t,F))}if(a&&kh&&D(),un(r)||typeof r=="function"){const F=In(r,()=>{f.value&&kh&&D()});el(F)}return el(b),{isActive:f,pause:b,resume:D}}function ZT(t,r,s={}){const{immediate:a=!0}=s,n=er(!1);let e=null;function f(){e&&(clearTimeout(e),e=null)}function v(){n.value=!1,f()}function b(...D){f(),n.value=!0,e=setTimeout(()=>{n.value=!1,e=null,t(...D)},Hn(r))}return a&&(n.value=!0,kh&&b()),el(v),{isPending:Vl(n),start:b,stop:v}}function gP(t=!1,r={}){const{truthyValue:s=!0,falsyValue:a=!1}=r,n=un(t),e=er(t);function f(v){if(arguments.length)return e.value=v,e.value;{const b=Hn(s);return e.value=e.value===b?Hn(a):b,e.value}}return n?f:[e,f]}function ah(t){var r;const s=Hn(t);return(r=s==null?void 0:s.$el)!=null?r:s}const Zi=kh?window:void 0,ex=kh?window.document:void 0,tx=kh?window.navigator:void 0;function io(...t){let r,s,a,n;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,a,n]=t,r=Zi):[r,s,a,n]=t,!r)return Gc;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const e=[],f=()=>{e.forEach(F=>F()),e.length=0},v=(F,T,C,O)=>(F.addEventListener(T,C,O),()=>F.removeEventListener(T,C,O)),b=In(()=>[ah(r),Hn(n)],([F,T])=>{if(f(),!F)return;const C=aP(T)?{...T}:T;e.push(...s.flatMap(O=>a.map(N=>v(F,O,N,C))))},{immediate:!0,flush:"post"}),D=()=>{b(),f()};return el(D),D}function vP(t){return typeof t=="function"?t:typeof t=="string"?r=>r.key===t:Array.isArray(t)?r=>t.includes(r.key):()=>!0}function bP(...t){let r,s,a={};t.length===3?(r=t[0],s=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(r=!0,s=t[0],a=t[1]):(r=t[0],s=t[1]):(r=!0,s=t[0]);const{target:n=Zi,eventName:e="keydown",passive:f=!1,dedupe:v=!1}=a,b=vP(r);return io(n,e,F=>{F.repeat&&Hn(v)||b(F)&&s(F)},f)}function NH(t,r,s={}){return bP(t,r,{...s,eventName:"keyup"})}function _P(){const t=er(!1),r=xs();return r&&mo(()=>{t.value=!0},r),t}function Up(t){const r=_P();return Sr(()=>(r.value,!!t()))}function yP(t,r,s={}){const{window:a=Zi,...n}=s;let e;const f=Up(()=>a&&"MutationObserver"in a),v=()=>{e&&(e.disconnect(),e=void 0)},b=Sr(()=>{const C=Hn(t),O=(Array.isArray(C)?C:[C]).map(ah).filter(KT);return new Set(O)}),D=In(()=>b.value,C=>{v(),f.value&&C.size&&(e=new MutationObserver(r),C.forEach(O=>e.observe(O,n)))},{immediate:!0,flush:"post"}),F=()=>e==null?void 0:e.takeRecords(),T=()=>{v(),D()};return el(T),{isSupported:f,stop:T,takeRecords:F}}function wP(t,r={}){const{immediate:s=!0,fpsLimit:a=void 0,window:n=Zi}=r,e=er(!1),f=a?1e3/a:null;let v=0,b=null;function D(C){if(!e.value||!n)return;v||(v=C);const O=C-v;if(f&&O<f){b=n.requestAnimationFrame(D);return}v=C,t({delta:O,timestamp:C}),b=n.requestAnimationFrame(D)}function F(){!e.value&&n&&(e.value=!0,v=0,b=n.requestAnimationFrame(D))}function T(){e.value=!1,b!=null&&n&&(n.cancelAnimationFrame(b),b=null)}return s&&F(),el(T),{isActive:Vl(e),pause:T,resume:F}}function DP(t,r={}){const{window:s=Zi}=r,a=Up(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function");let n;const e=er(!1),f=D=>{e.value=D.matches},v=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",f):n.removeListener(f))},b=T3(()=>{a.value&&(v(),n=s.matchMedia(Hn(t)),"addEventListener"in n?n.addEventListener("change",f):n.addListener(f),e.value=n.matches)});return el(()=>{b(),v(),n=void 0}),e}function yE(t,r={}){const{controls:s=!1,navigator:a=tx}=r,n=Up(()=>a&&"permissions"in a);let e;const f=typeof t=="string"?{name:t}:t,v=er(),b=()=>{e&&(v.value=e.state)},D=cP(async()=>{if(n.value){if(!e)try{e=await a.permissions.query(f),io(e,"change",b),b()}catch{v.value="prompt"}return e}});return D(),s?{state:v,isSupported:n,query:D}:v}function MH(t={}){const{navigator:r=tx,read:s=!1,source:a,copiedDuring:n=1500,legacy:e=!1}=t,f=Up(()=>r&&"clipboard"in r),v=yE("clipboard-read"),b=yE("clipboard-write"),D=Sr(()=>f.value||e),F=er(""),T=er(!1),C=ZT(()=>T.value=!1,n);function O(){f.value&&G(v.value)?r.clipboard.readText().then(X=>{F.value=X}):F.value=V()}D.value&&s&&io(["copy","cut"],O);async function N(X=Hn(a)){D.value&&X!=null&&(f.value&&G(b.value)?await r.clipboard.writeText(X):B(X),F.value=X,T.value=!0,C.start())}function B(X){const H=document.createElement("textarea");H.value=X??"",H.style.position="absolute",H.style.opacity="0",document.body.appendChild(H),H.select(),document.execCommand("copy"),H.remove()}function V(){var X,H,z;return(z=(H=(X=document==null?void 0:document.getSelection)==null?void 0:X.call(document))==null?void 0:H.toString())!=null?z:""}function G(X){return X==="granted"||X==="prompt"}return{isSupported:D,text:F,copied:T,copy:N}}function EP(t){return JSON.parse(JSON.stringify(t))}const x2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},A2="__vueuse_ssr_handlers__",FP=TP();function TP(){return A2 in x2||(x2[A2]=x2[A2]||{}),x2[A2]}function rx(t,r){return FP[t]||r}function xP(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}const AP={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},wE="vueuse-storage";function CP(t,r,s,a={}){var n;const{flush:e="pre",deep:f=!0,listenToStorageChanges:v=!0,writeDefaults:b=!0,mergeDefaults:D=!1,shallow:F,window:T=Zi,eventFilter:C,onError:O=W=>{console.error(W)},initOnMounted:N}=a,B=(F?zc:er)(typeof r=="function"?r():r);if(!s)try{s=rx("getDefaultStorage",()=>{var W;return(W=Zi)==null?void 0:W.localStorage})()}catch(W){O(W)}if(!s)return B;const V=Hn(r),G=xP(V),X=(n=a.serializer)!=null?n:AP[G],{pause:H,resume:z}=hP(B,()=>ee(B.value),{flush:e,deep:f,eventFilter:C});T&&v&&JT(()=>{io(T,"storage",P),io(T,wE,I),N&&P()}),N||P();function Y(W,ae){T&&T.dispatchEvent(new CustomEvent(wE,{detail:{key:t,oldValue:W,newValue:ae,storageArea:s}}))}function ee(W){try{const ae=s.getItem(t);if(W==null)Y(ae,null),s.removeItem(t);else{const oe=X.write(W);ae!==oe&&(s.setItem(t,oe),Y(ae,oe))}}catch(ae){O(ae)}}function K(W){const ae=W?W.newValue:s.getItem(t);if(ae==null)return b&&V!=null&&s.setItem(t,X.write(V)),V;if(!W&&D){const oe=X.read(ae);return typeof D=="function"?D(oe,V):G==="object"&&!Array.isArray(oe)?{...V,...oe}:oe}else return typeof ae!="string"?ae:X.read(ae)}function P(W){if(!(W&&W.storageArea!==s)){if(W&&W.key==null){B.value=V;return}if(!(W&&W.key!==t)){H();try{(W==null?void 0:W.newValue)!==X.write(B.value)&&(B.value=K(W))}catch(ae){O(ae)}finally{W?va(z):z()}}}}function I(W){P(W.detail)}return B}function nw(t){return DP("(prefers-color-scheme: dark)",t)}function SP(t={}){const{selector:r="html",attribute:s="class",initialValue:a="auto",window:n=Zi,storage:e,storageKey:f="vueuse-color-scheme",listenToStorageChanges:v=!0,storageRef:b,emitAuto:D,disableTransition:F=!0}=t,T={auto:"",light:"light",dark:"dark",...t.modes||{}},C=nw({window:n}),O=Sr(()=>C.value?"dark":"light"),N=b||(f==null?J1(a):CP(f,a,e,{window:n,listenToStorageChanges:v})),B=Sr(()=>N.value==="auto"?O.value:N.value),V=rx("updateHTMLAttrs",(z,Y,ee)=>{const K=typeof z=="string"?n==null?void 0:n.document.querySelector(z):ah(z);if(!K)return;let P;if(F){P=n.document.createElement("style");const I="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";P.appendChild(document.createTextNode(I)),n.document.head.appendChild(P)}if(Y==="class"){const I=ee.split(/\s/g);Object.values(T).flatMap(W=>(W||"").split(/\s/g)).filter(Boolean).forEach(W=>{I.includes(W)?K.classList.add(W):K.classList.remove(W)})}else K.setAttribute(Y,ee);F&&(n.getComputedStyle(P).opacity,document.head.removeChild(P))});function G(z){var Y;V(r,s,(Y=T[z])!=null?Y:z)}function X(z){t.onChanged?t.onChanged(z,G):G(z)}In(B,X,{flush:"post",immediate:!0}),JT(()=>X(B.value));const H=Sr({get(){return D?N.value:B.value},set(z){N.value=z}});try{return Object.assign(H,{store:N,system:O,state:B})}catch{return H}}function kP(t={}){const{valueDark:r="dark",valueLight:s="",window:a=Zi}=t,n=SP({...t,onChanged:(v,b)=>{var D;t.onChanged?(D=t.onChanged)==null||D.call(t,v==="dark",b,v):b(v)},modes:{dark:r,light:s}}),e=Sr(()=>n.system?n.system.value:nw({window:a}).value?"dark":"light");return Sr({get(){return n.value==="dark"},set(v){const b=v?"dark":"light";e.value===b?n.value="auto":n.value=b}})}function LH(t={}){const{document:r=ex}=t;if(!r)return er("visible");const s=er(r.visibilityState);return io(r,"visibilitychange",()=>{s.value=r.visibilityState}),s}function OP(t,r,s={}){const{root:a,rootMargin:n="0px",threshold:e=.1,window:f=Zi,immediate:v=!0}=s,b=Up(()=>f&&"IntersectionObserver"in f),D=Sr(()=>{const N=Hn(t);return(Array.isArray(N)?N:[N]).map(ah).filter(KT)});let F=Gc;const T=er(v),C=b.value?In(()=>[D.value,ah(a),T.value],([N,B])=>{if(F(),!T.value||!N.length)return;const V=new IntersectionObserver(r,{root:ah(B),rootMargin:n,threshold:e});N.forEach(G=>G&&V.observe(G)),F=()=>{V.disconnect(),F=Gc}},{immediate:v,flush:"post"}):Gc,O=()=>{F(),C(),T.value=!1};return el(O),{isSupported:b,isActive:T,pause(){F(),T.value=!1},resume(){T.value=!0},stop:O}}function RP(t,r={}){const{window:s=Zi,scrollTarget:a,threshold:n=0}=r,e=er(!1);return OP(t,f=>{let v=e.value,b=0;for(const D of f)D.time>=b&&(b=D.time,v=D.isIntersecting);e.value=v},{root:a,window:s,threshold:n}),e}const IP={json:"application/json",text:"text/plain"};function DE(t){return t&&uP(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch","updateDataOnError")}function ky(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries(t.entries()):t}function PP(t,...r){var s;const a=typeof AbortController=="function";let n={},e={immediate:!0,refetch:!1,timeout:0,updateDataOnError:!1};const f={method:"GET",type:"text",payload:void 0};r.length>0&&(DE(r[0])?e={...e,...r[0]}:n=r[0]),r.length>1&&DE(r[1])&&(e={...e,...r[1]});const{fetch:v=(s=Zi)==null?void 0:s.fetch,initialData:b,timeout:D}=e,F=Sy(),T=Sy(),C=Sy(),O=er(!1),N=er(!1),B=er(!1),V=er(null),G=zc(null),X=zc(null),H=zc(b||null),z=Sr(()=>a&&N.value);let Y,ee;const K=()=>{a&&(Y==null||Y.abort(),Y=new AbortController,Y.signal.onabort=()=>B.value=!0,n={...n,signal:Y.signal})},P=ve=>{N.value=ve,O.value=!ve};D&&(ee=ZT(K,D,{immediate:!1}));let I=0;const W=async(ve=!1)=>{var fe,Fe;K(),P(!0),X.value=null,V.value=null,B.value=!1,I+=1;const Oe=I,Re={method:f.method,headers:{}};if(f.payload){const ke=ky(Re.headers),ge=Hn(f.payload);!f.payloadType&&ge&&Object.getPrototypeOf(ge)===Object.prototype&&!(ge instanceof FormData)&&(f.payloadType="json"),f.payloadType&&(ke["Content-Type"]=(fe=IP[f.payloadType])!=null?fe:f.payloadType),Re.body=f.payloadType==="json"?JSON.stringify(ge):ge}let ce=!1;const we={url:Hn(t),options:{...Re,...n},cancel:()=>{ce=!0}};if(e.beforeFetch&&Object.assign(we,await e.beforeFetch(we)),ce||!v)return P(!1),Promise.resolve(null);let We=null;return ee&&ee.start(),v(we.url,{...Re,...we.options,headers:{...ky(Re.headers),...ky((Fe=we.options)==null?void 0:Fe.headers)}}).then(async ke=>{if(G.value=ke,V.value=ke.status,We=await ke.clone()[f.type](),!ke.ok)throw H.value=b||null,new Error(ke.statusText);return e.afterFetch&&({data:We}=await e.afterFetch({data:We,response:ke})),H.value=We,F.trigger(ke),ke}).catch(async ke=>{let ge=ke.message||ke.name;if(e.onFetchError&&({error:ge,data:We}=await e.onFetchError({data:We,error:ke,response:G.value})),X.value=ge,e.updateDataOnError&&(H.value=We),T.trigger(ke),ve)throw ke;return null}).finally(()=>{Oe===I&&P(!1),ee&&ee.stop(),C.trigger(null)})},ae=J1(e.refetch);In([ae,J1(t)],([ve])=>ve&&W(),{deep:!0});const oe={isFinished:Vl(O),isFetching:Vl(N),statusCode:V,response:G,error:X,data:H,canAbort:z,aborted:B,abort:K,execute:W,onFetchResponse:F.on,onFetchError:T.on,onFetchFinally:C.on,get:be("GET"),put:be("PUT"),post:be("POST"),delete:be("DELETE"),patch:be("PATCH"),head:be("HEAD"),options:be("OPTIONS"),json:Ue("json"),text:Ue("text"),blob:Ue("blob"),arrayBuffer:Ue("arrayBuffer"),formData:Ue("formData")};function be(ve){return(fe,Fe)=>{if(!N.value)return f.method=ve,f.payload=fe,f.payloadType=Fe,un(f.payload)&&In([ae,J1(f.payload)],([Oe])=>Oe&&W(),{deep:!0}),{...oe,then(Oe,Re){return Ee().then(Oe,Re)}}}}function Ee(){return new Promise((ve,fe)=>{pP(O).toBe(!0).then(()=>ve(oe)).catch(Fe=>fe(Fe))})}function Ue(ve){return()=>{if(!N.value)return f.type=ve,{...oe,then(fe,Fe){return Ee().then(fe,Fe)}}}}return e.immediate&&Promise.resolve().then(()=>W()),{...oe,then(ve,fe){return Ee().then(ve,fe)}}}const NP={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function BH(t={}){const{reactive:r=!1,target:s=Zi,aliasMap:a=NP,passive:n=!0,onEventFired:e=Gc}=t,f=qc(new Set),v={toJSON(){return{}},current:f},b=r?qc(v):v,D=new Set,F=new Set;function T(B,V){B in b&&(r?b[B]=V:b[B].value=V)}function C(){f.clear();for(const B of F)T(B,!1)}function O(B,V){var G,X;const H=(G=B.key)==null?void 0:G.toLowerCase(),Y=[(X=B.code)==null?void 0:X.toLowerCase(),H].filter(Boolean);H&&(V?f.add(H):f.delete(H));for(const ee of Y)F.add(ee),T(ee,V);H==="meta"&&!V?(D.forEach(ee=>{f.delete(ee),T(ee,!1)}),D.clear()):typeof B.getModifierState=="function"&&B.getModifierState("Meta")&&V&&[...f,...Y].forEach(ee=>D.add(ee))}io(s,"keydown",B=>(O(B,!0),e(B)),{passive:n}),io(s,"keyup",B=>(O(B,!1),e(B)),{passive:n}),io("blur",C,{passive:!0}),io("focus",C,{passive:!0});const N=new Proxy(b,{get(B,V,G){if(typeof V!="string")return Reflect.get(B,V,G);if(V=V.toLowerCase(),V in a&&(V=a[V]),!(V in b))if(/[+_-]/.test(V)){const H=V.split(/[+_-]/g).map(z=>z.trim());b[V]=Sr(()=>H.every(z=>Hn(N[z])))}else b[V]=er(!1);const X=Reflect.get(B,V,G);return r?Hn(X):X}});return N}function nx(t={}){const{controls:r=!1,interval:s="requestAnimationFrame"}=t,a=er(new Date),n=()=>a.value=new Date,e=s==="requestAnimationFrame"?wP(n,{immediate:!0}):mP(n,s,{immediate:!0});return r?{now:a,...e}:a}function MP(t=null,r={}){var s,a,n;const{document:e=ex,restoreOnUnmount:f=T=>T}=r,v=(s=e==null?void 0:e.title)!=null?s:"",b=J1((a=t??(e==null?void 0:e.title))!=null?a:null),D=t&&typeof t=="function";function F(T){if(!("titleTemplate"in r))return T;const C=r.titleTemplate||"%s";return typeof C=="function"?C(T):Hn(C).replace(/%s/g,T)}return In(b,(T,C)=>{T!==C&&e&&(e.title=F(typeof T=="string"?T:""))},{immediate:!0}),r.observe&&!r.titleTemplate&&e&&!D&&yP((n=e.head)==null?void 0:n.querySelector("title"),()=>{e&&e.title!==b.value&&(b.value=F(e.title))},{childList:!0}),dP(()=>{if(f){const T=f(v,b.value||"");T!=null&&e&&(e.title=T)}}),b}function EE(t,r,s,a={}){var n,e,f;const{clone:v=!1,passive:b=!1,eventName:D,deep:F=!1,defaultValue:T,shouldEmit:C}=a,O=xs(),N=s||(O==null?void 0:O.emit)||((n=O==null?void 0:O.$emit)==null?void 0:n.bind(O))||((f=(e=O==null?void 0:O.proxy)==null?void 0:e.$emit)==null?void 0:f.bind(O==null?void 0:O.proxy));let B=D;r||(r="modelValue"),B=B||`update:${r.toString()}`;const V=H=>v?typeof v=="function"?v(H):EP(H):H,G=()=>sP(t[r])?V(t[r]):T,X=H=>{C?C(H)&&N(B,H):N(B,H)};if(b){const H=G(),z=er(H);let Y=!1;return In(()=>t[r],ee=>{Y||(Y=!0,z.value=V(ee),va(()=>Y=!1))}),In(z,ee=>{!Y&&(ee!==t[r]||F)&&X(ee)},{deep:F}),z}else return Sr({get(){return G()},set(H){X(H)}})}function LP(t={}){const{window:r=Zi,behavior:s="auto"}=t;if(!r)return{x:er(0),y:er(0)};const a=er(r.scrollX),n=er(r.scrollY),e=Sr({get(){return a.value},set(v){scrollTo({left:v,behavior:s})}}),f=Sr({get(){return n.value},set(v){scrollTo({top:v,behavior:s})}});return io(r,"scroll",()=>{a.value=r.scrollX,n.value=r.scrollY},{capture:!1,passive:!0}),{x:e,y:f}}const sx=kP(),BP=gP(sx),UP=nw(),HP={class:"right","print:op0":""},$P=["title"],WP=["title"],zP=["href"],VP=["href"],GP=us({__name:"NavBar",props:{width:null},setup(t){const r=t,{t:s,locale:a}=Nh(),{y:n}=LP(),e=bT();function f(){window.scrollTo({top:0,behavior:"smooth"})}async function v(){const D=Q5,F=D[(D.indexOf(a.value)+1)%D.length];await P3(F),a.value=F}const b=Sr(()=>e.fullPath.startsWith("/rating")?"/rating":"/");return(D,F)=>{const T=uo("RouterLink");return Hr(),Fn("header",{class:Ii(["header z-40",[(r==null?void 0:r.width)??""]])},[It("button",{title:"Scroll to top",fixed:"","bottom-6":"","right-6":"","z-100":"","h-10":"","w-10":"","rounded-full":"",transition:"","duration-300":"","print:hidden":"","hover-bg-hex-8883":"","hover:op100":"",class:Ii(Zt(n)>300?"op30":"op0! pointer-events-none"),onClick:F[0]||(F[0]=C=>f())},F[3]||(F[3]=[It("div",{"i-ri-arrow-up-line":""},null,-1)]),2),It("nav",{class:Ii(["nav",[r!=null&&r.width?"":"fixed"]]),"text-xl":""},[F[9]||(F[9]=It("div",{class:"spacer"},null,-1)),It("div",HP,[Cr(T,{"icon-btn":"",title:Zt(s)("button.home"),to:Zt(b),focusable:"false"},{default:Gs(()=>F[4]||(F[4]=[It("div",{"i-ion-balloon-sharp":""},null,-1)])),_:1},8,["title","to"]),It("a",{"icon-btn":"",title:Zt(s)("button.toggle_langs"),onClick:F[1]||(F[1]=C=>v())},F[5]||(F[5]=[It("div",{"i-carbon-language":""},null,-1)]),8,$P),It("a",{"icon-btn":"",title:Zt(s)("button.toggle_dark"),onClick:F[2]||(F[2]=C=>("toggleDark"in D?D.toggleDark:Zt(BP))())},F[6]||(F[6]=[It("div",{i:"carbon-sun dark:carbon-moon"},null,-1)]),8,WP),It("a",{"icon-btn":"",rel:"noreferrer",href:Zt(YT),target:"_blank",title:"GitHub"},F[7]||(F[7]=[It("div",{"i-carbon-logo-github":""},null,-1)]),8,zP),It("a",{"icon-btn":"",rel:"noreferrer",href:Zt(YI),target:"_blank",title:"GitHub"},F[8]||(F[8]=[It("div",{"i-simple-icons-githubsponsors":""},null,-1)]),8,VP)])],2)],2)}}});const Mh=(t,r)=>{const s=t.__vccOpts||t;for(const[a,n]of r)s[a]=n;return s},jP=Mh(GP,[["__scopeId","data-v-e157f5ef"]]),YP={},KP={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function qP(t,r){const s=jP,a=uo("RouterView"),n=nP;return Hr(),Fn(Yn,null,[Cr(s),It("main",KP,[Cr(a),Cr(n)])],64)}const QP=Mh(YP,[["render",qP]]),XP={"board-layout":()=>ni(()=>import("./board-layout-f4b42426.js"),[],import.meta.url),default:QP,headless:()=>ni(()=>import("./headless-464cd216.js"),[],import.meta.url),home:()=>ni(()=>import("./home-1c2da293.js"),[],import.meta.url),"index-layout":()=>ni(()=>import("./index-layout-6dbef8c0.js"),[],import.meta.url)};function JP(t){return t.map(r=>{var s;return{path:r.path,meta:r.meta,component:XP[((s=r.meta)==null?void 0:s.layout)||"default"],children:r.path==="/"?[r]:[{...r,path:""}]}})}const ZP=["top","right","bottom","left"],FE=["start","end"],TE=ZP.reduce((t,r)=>t.concat(r,r+"-"+FE[0],r+"-"+FE[1]),[]),_p=Math.min,uf=Math.max,eN={left:"right",right:"left",bottom:"top",top:"bottom"},tN={start:"end",end:"start"};function U4(t,r,s){return uf(t,_p(r,s))}function Rf(t,r){return typeof t=="function"?t(r):t}function tl(t){return t.split("-")[0]}function co(t){return t.split("-")[1]}function ix(t){return t==="x"?"y":"x"}function sw(t){return t==="y"?"height":"width"}function xf(t){return["top","bottom"].includes(tl(t))?"y":"x"}function iw(t){return ix(xf(t))}function ax(t,r,s){s===void 0&&(s=!1);const a=co(t),n=iw(t),e=sw(n);let f=n==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return r.reference[e]>r.floating[e]&&(f=kv(f)),[f,kv(f)]}function rN(t){const r=kv(t);return[Sv(t),r,Sv(r)]}function Sv(t){return t.replace(/start|end/g,r=>tN[r])}function nN(t,r,s){const a=["left","right"],n=["right","left"],e=["top","bottom"],f=["bottom","top"];switch(t){case"top":case"bottom":return s?r?n:a:r?a:n;case"left":case"right":return r?e:f;default:return[]}}function sN(t,r,s,a){const n=co(t);let e=nN(tl(t),s==="start",a);return n&&(e=e.map(f=>f+"-"+n),r&&(e=e.concat(e.map(Sv)))),e}function kv(t){return t.replace(/left|right|bottom|top/g,r=>eN[r])}function iN(t){return{top:0,right:0,bottom:0,left:0,...t}}function ox(t){return typeof t!="number"?iN(t):{top:t,right:t,bottom:t,left:t}}function Z1(t){const{x:r,y:s,width:a,height:n}=t;return{width:a,height:n,top:s,left:r,right:r+a,bottom:s+n,x:r,y:s}}function xE(t,r,s){let{reference:a,floating:n}=t;const e=xf(r),f=iw(r),v=sw(f),b=tl(r),D=e==="y",F=a.x+a.width/2-n.width/2,T=a.y+a.height/2-n.height/2,C=a[v]/2-n[v]/2;let O;switch(b){case"top":O={x:F,y:a.y-n.height};break;case"bottom":O={x:F,y:a.y+a.height};break;case"right":O={x:a.x+a.width,y:T};break;case"left":O={x:a.x-n.width,y:T};break;default:O={x:a.x,y:a.y}}switch(co(r)){case"start":O[f]-=C*(s&&D?-1:1);break;case"end":O[f]+=C*(s&&D?-1:1);break}return O}const aN=async(t,r,s)=>{const{placement:a="bottom",strategy:n="absolute",middleware:e=[],platform:f}=s,v=e.filter(Boolean),b=await(f.isRTL==null?void 0:f.isRTL(r));let D=await f.getElementRects({reference:t,floating:r,strategy:n}),{x:F,y:T}=xE(D,a,b),C=a,O={},N=0;for(let B=0;B<v.length;B++){const{name:V,fn:G}=v[B],{x:X,y:H,data:z,reset:Y}=await G({x:F,y:T,initialPlacement:a,placement:C,strategy:n,middlewareData:O,rects:D,platform:f,elements:{reference:t,floating:r}});F=X??F,T=H??T,O={...O,[V]:{...O[V],...z}},Y&&N<=50&&(N++,typeof Y=="object"&&(Y.placement&&(C=Y.placement),Y.rects&&(D=Y.rects===!0?await f.getElementRects({reference:t,floating:r,strategy:n}):Y.rects),{x:F,y:T}=xE(D,C,b)),B=-1)}return{x:F,y:T,placement:C,strategy:n,middlewareData:O}};async function ub(t,r){var s;r===void 0&&(r={});const{x:a,y:n,platform:e,rects:f,elements:v,strategy:b}=t,{boundary:D="clippingAncestors",rootBoundary:F="viewport",elementContext:T="floating",altBoundary:C=!1,padding:O=0}=Rf(r,t),N=ox(O),V=v[C?T==="floating"?"reference":"floating":T],G=Z1(await e.getClippingRect({element:(s=await(e.isElement==null?void 0:e.isElement(V)))==null||s?V:V.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(v.floating)),boundary:D,rootBoundary:F,strategy:b})),X=T==="floating"?{x:a,y:n,width:f.floating.width,height:f.floating.height}:f.reference,H=await(e.getOffsetParent==null?void 0:e.getOffsetParent(v.floating)),z=await(e.isElement==null?void 0:e.isElement(H))?await(e.getScale==null?void 0:e.getScale(H))||{x:1,y:1}:{x:1,y:1},Y=Z1(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:X,offsetParent:H,strategy:b}):X);return{top:(G.top-Y.top+N.top)/z.y,bottom:(Y.bottom-G.bottom+N.bottom)/z.y,left:(G.left-Y.left+N.left)/z.x,right:(Y.right-G.right+N.right)/z.x}}const oN=t=>({name:"arrow",options:t,async fn(r){const{x:s,y:a,placement:n,rects:e,platform:f,elements:v,middlewareData:b}=r,{element:D,padding:F=0}=Rf(t,r)||{};if(D==null)return{};const T=ox(F),C={x:s,y:a},O=iw(n),N=sw(O),B=await f.getDimensions(D),V=O==="y",G=V?"top":"left",X=V?"bottom":"right",H=V?"clientHeight":"clientWidth",z=e.reference[N]+e.reference[O]-C[O]-e.floating[N],Y=C[O]-e.reference[O],ee=await(f.getOffsetParent==null?void 0:f.getOffsetParent(D));let K=ee?ee[H]:0;(!K||!await(f.isElement==null?void 0:f.isElement(ee)))&&(K=v.floating[H]||e.floating[N]);const P=z/2-Y/2,I=K/2-B[N]/2-1,W=_p(T[G],I),ae=_p(T[X],I),oe=W,be=K-B[N]-ae,Ee=K/2-B[N]/2+P,Ue=U4(oe,Ee,be),ve=!b.arrow&&co(n)!=null&&Ee!==Ue&&e.reference[N]/2-(Ee<oe?W:ae)-B[N]/2<0,fe=ve?Ee<oe?Ee-oe:Ee-be:0;return{[O]:C[O]+fe,data:{[O]:Ue,centerOffset:Ee-Ue-fe,...ve&&{alignmentOffset:fe}},reset:ve}}});function lN(t,r,s){return(t?[...s.filter(n=>co(n)===t),...s.filter(n=>co(n)!==t)]:s.filter(n=>tl(n)===n)).filter(n=>t?co(n)===t||(r?Sv(n)!==n:!1):!0)}const cN=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(r){var s,a,n;const{rects:e,middlewareData:f,placement:v,platform:b,elements:D}=r,{crossAxis:F=!1,alignment:T,allowedPlacements:C=TE,autoAlignment:O=!0,...N}=Rf(t,r),B=T!==void 0||C===TE?lN(T||null,O,C):C,V=await ub(r,N),G=((s=f.autoPlacement)==null?void 0:s.index)||0,X=B[G];if(X==null)return{};const H=ax(X,e,await(b.isRTL==null?void 0:b.isRTL(D.floating)));if(v!==X)return{reset:{placement:B[0]}};const z=[V[tl(X)],V[H[0]],V[H[1]]],Y=[...((a=f.autoPlacement)==null?void 0:a.overflows)||[],{placement:X,overflows:z}],ee=B[G+1];if(ee)return{data:{index:G+1,overflows:Y},reset:{placement:ee}};const K=Y.map(W=>{const ae=co(W.placement);return[W.placement,ae&&F?W.overflows.slice(0,2).reduce((oe,be)=>oe+be,0):W.overflows[0],W.overflows]}).sort((W,ae)=>W[1]-ae[1]),I=((n=K.filter(W=>W[2].slice(0,co(W[0])?2:3).every(ae=>ae<=0))[0])==null?void 0:n[0])||K[0][0];return I!==v?{data:{index:G+1,overflows:Y},reset:{placement:I}}:{}}}},uN=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(r){var s,a;const{placement:n,middlewareData:e,rects:f,initialPlacement:v,platform:b,elements:D}=r,{mainAxis:F=!0,crossAxis:T=!0,fallbackPlacements:C,fallbackStrategy:O="bestFit",fallbackAxisSideDirection:N="none",flipAlignment:B=!0,...V}=Rf(t,r);if((s=e.arrow)!=null&&s.alignmentOffset)return{};const G=tl(n),X=xf(v),H=tl(v)===v,z=await(b.isRTL==null?void 0:b.isRTL(D.floating)),Y=C||(H||!B?[kv(v)]:rN(v)),ee=N!=="none";!C&&ee&&Y.push(...sN(v,B,N,z));const K=[v,...Y],P=await ub(r,V),I=[];let W=((a=e.flip)==null?void 0:a.overflows)||[];if(F&&I.push(P[G]),T){const Ee=ax(n,f,z);I.push(P[Ee[0]],P[Ee[1]])}if(W=[...W,{placement:n,overflows:I}],!I.every(Ee=>Ee<=0)){var ae,oe;const Ee=(((ae=e.flip)==null?void 0:ae.index)||0)+1,Ue=K[Ee];if(Ue)return{data:{index:Ee,overflows:W},reset:{placement:Ue}};let ve=(oe=W.filter(fe=>fe.overflows[0]<=0).sort((fe,Fe)=>fe.overflows[1]-Fe.overflows[1])[0])==null?void 0:oe.placement;if(!ve)switch(O){case"bestFit":{var be;const fe=(be=W.filter(Fe=>{if(ee){const Oe=xf(Fe.placement);return Oe===X||Oe==="y"}return!0}).map(Fe=>[Fe.placement,Fe.overflows.filter(Oe=>Oe>0).reduce((Oe,Re)=>Oe+Re,0)]).sort((Fe,Oe)=>Fe[1]-Oe[1])[0])==null?void 0:be[0];fe&&(ve=fe);break}case"initialPlacement":ve=v;break}if(n!==ve)return{reset:{placement:ve}}}return{}}}};async function fN(t,r){const{placement:s,platform:a,elements:n}=t,e=await(a.isRTL==null?void 0:a.isRTL(n.floating)),f=tl(s),v=co(s),b=xf(s)==="y",D=["left","top"].includes(f)?-1:1,F=e&&b?-1:1,T=Rf(r,t);let{mainAxis:C,crossAxis:O,alignmentAxis:N}=typeof T=="number"?{mainAxis:T,crossAxis:0,alignmentAxis:null}:{mainAxis:T.mainAxis||0,crossAxis:T.crossAxis||0,alignmentAxis:T.alignmentAxis};return v&&typeof N=="number"&&(O=v==="end"?N*-1:N),b?{x:O*F,y:C*D}:{x:C*D,y:O*F}}const hN=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(r){var s,a;const{x:n,y:e,placement:f,middlewareData:v}=r,b=await fN(r,t);return f===((s=v.offset)==null?void 0:s.placement)&&(a=v.arrow)!=null&&a.alignmentOffset?{}:{x:n+b.x,y:e+b.y,data:{...b,placement:f}}}}},dN=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(r){const{x:s,y:a,placement:n}=r,{mainAxis:e=!0,crossAxis:f=!1,limiter:v={fn:V=>{let{x:G,y:X}=V;return{x:G,y:X}}},...b}=Rf(t,r),D={x:s,y:a},F=await ub(r,b),T=xf(tl(n)),C=ix(T);let O=D[C],N=D[T];if(e){const V=C==="y"?"top":"left",G=C==="y"?"bottom":"right",X=O+F[V],H=O-F[G];O=U4(X,O,H)}if(f){const V=T==="y"?"top":"left",G=T==="y"?"bottom":"right",X=N+F[V],H=N-F[G];N=U4(X,N,H)}const B=v.fn({...r,[C]:O,[T]:N});return{...B,data:{x:B.x-s,y:B.y-a,enabled:{[C]:e,[T]:f}}}}}},pN=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(r){var s,a;const{placement:n,rects:e,platform:f,elements:v}=r,{apply:b=()=>{},...D}=Rf(t,r),F=await ub(r,D),T=tl(n),C=co(n),O=xf(n)==="y",{width:N,height:B}=e.floating;let V,G;T==="top"||T==="bottom"?(V=T,G=C===(await(f.isRTL==null?void 0:f.isRTL(v.floating))?"start":"end")?"left":"right"):(G=T,V=C==="end"?"top":"bottom");const X=B-F.top-F.bottom,H=N-F.left-F.right,z=_p(B-F[V],X),Y=_p(N-F[G],H),ee=!r.middlewareData.shift;let K=z,P=Y;if((s=r.middlewareData.shift)!=null&&s.enabled.x&&(P=H),(a=r.middlewareData.shift)!=null&&a.enabled.y&&(K=X),ee&&!C){const W=uf(F.left,0),ae=uf(F.right,0),oe=uf(F.top,0),be=uf(F.bottom,0);O?P=N-2*(W!==0||ae!==0?W+ae:uf(F.left,F.right)):K=B-2*(oe!==0||be!==0?oe+be:uf(F.top,F.bottom))}await b({...r,availableWidth:P,availableHeight:K});const I=await f.getDimensions(v.floating);return N!==I.width||B!==I.height?{reset:{rects:!0}}:{}}}};function Pa(t){var r;return((r=t.ownerDocument)==null?void 0:r.defaultView)||window}function Ko(t){return Pa(t).getComputedStyle(t)}const AE=Math.min,ep=Math.max,Ov=Math.round;function lx(t){const r=Ko(t);let s=parseFloat(r.width),a=parseFloat(r.height);const n=t.offsetWidth,e=t.offsetHeight,f=Ov(s)!==n||Ov(a)!==e;return f&&(s=n,a=e),{width:s,height:a,fallback:f}}function Jc(t){return ux(t)?(t.nodeName||"").toLowerCase():""}let C2;function cx(){if(C2)return C2;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(C2=t.brands.map(r=>r.brand+"/"+r.version).join(" "),C2):navigator.userAgent}function qo(t){return t instanceof Pa(t).HTMLElement}function jc(t){return t instanceof Pa(t).Element}function ux(t){return t instanceof Pa(t).Node}function CE(t){return typeof ShadowRoot>"u"?!1:t instanceof Pa(t).ShadowRoot||t instanceof ShadowRoot}function fb(t){const{overflow:r,overflowX:s,overflowY:a,display:n}=Ko(t);return/auto|scroll|overlay|hidden|clip/.test(r+a+s)&&!["inline","contents"].includes(n)}function mN(t){return["table","td","th"].includes(Jc(t))}function H4(t){const r=/firefox/i.test(cx()),s=Ko(t),a=s.backdropFilter||s.WebkitBackdropFilter;return s.transform!=="none"||s.perspective!=="none"||!!a&&a!=="none"||r&&s.willChange==="filter"||r&&!!s.filter&&s.filter!=="none"||["transform","perspective"].some(n=>s.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const e=s.contain;return e!=null&&e.includes(n)})}function fx(){return!/^((?!chrome|android).)*safari/i.test(cx())}function aw(t){return["html","body","#document"].includes(Jc(t))}function hx(t){return jc(t)?t:t.contextElement}const dx={x:1,y:1};function oh(t){const r=hx(t);if(!qo(r))return dx;const s=r.getBoundingClientRect(),{width:a,height:n,fallback:e}=lx(r);let f=(e?Ov(s.width):s.width)/a,v=(e?Ov(s.height):s.height)/n;return f&&Number.isFinite(f)||(f=1),v&&Number.isFinite(v)||(v=1),{x:f,y:v}}function yp(t,r,s,a){var n,e;r===void 0&&(r=!1),s===void 0&&(s=!1);const f=t.getBoundingClientRect(),v=hx(t);let b=dx;r&&(a?jc(a)&&(b=oh(a)):b=oh(t));const D=v?Pa(v):window,F=!fx()&&s;let T=(f.left+(F&&((n=D.visualViewport)==null?void 0:n.offsetLeft)||0))/b.x,C=(f.top+(F&&((e=D.visualViewport)==null?void 0:e.offsetTop)||0))/b.y,O=f.width/b.x,N=f.height/b.y;if(v){const B=Pa(v),V=a&&jc(a)?Pa(a):a;let G=B.frameElement;for(;G&&a&&V!==B;){const X=oh(G),H=G.getBoundingClientRect(),z=getComputedStyle(G);H.x+=(G.clientLeft+parseFloat(z.paddingLeft))*X.x,H.y+=(G.clientTop+parseFloat(z.paddingTop))*X.y,T*=X.x,C*=X.y,O*=X.x,N*=X.y,T+=H.x,C+=H.y,G=Pa(G).frameElement}}return{width:O,height:N,top:C,right:T+O,bottom:C+N,left:T,x:T,y:C}}function Yc(t){return((ux(t)?t.ownerDocument:t.document)||window.document).documentElement}function hb(t){return jc(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function px(t){return yp(Yc(t)).left+hb(t).scrollLeft}function wp(t){if(Jc(t)==="html")return t;const r=t.assignedSlot||t.parentNode||CE(t)&&t.host||Yc(t);return CE(r)?r.host:r}function mx(t){const r=wp(t);return aw(r)?r.ownerDocument.body:qo(r)&&fb(r)?r:mx(r)}function Rv(t,r){var s;r===void 0&&(r=[]);const a=mx(t),n=a===((s=t.ownerDocument)==null?void 0:s.body),e=Pa(a);return n?r.concat(e,e.visualViewport||[],fb(a)?a:[]):r.concat(a,Rv(a))}function SE(t,r,s){return r==="viewport"?Z1(function(a,n){const e=Pa(a),f=Yc(a),v=e.visualViewport;let b=f.clientWidth,D=f.clientHeight,F=0,T=0;if(v){b=v.width,D=v.height;const C=fx();(C||!C&&n==="fixed")&&(F=v.offsetLeft,T=v.offsetTop)}return{width:b,height:D,x:F,y:T}}(t,s)):jc(r)?Z1(function(a,n){const e=yp(a,!0,n==="fixed"),f=e.top+a.clientTop,v=e.left+a.clientLeft,b=qo(a)?oh(a):{x:1,y:1};return{width:a.clientWidth*b.x,height:a.clientHeight*b.y,x:v*b.x,y:f*b.y}}(r,s)):Z1(function(a){const n=Yc(a),e=hb(a),f=a.ownerDocument.body,v=ep(n.scrollWidth,n.clientWidth,f.scrollWidth,f.clientWidth),b=ep(n.scrollHeight,n.clientHeight,f.scrollHeight,f.clientHeight);let D=-e.scrollLeft+px(a);const F=-e.scrollTop;return Ko(f).direction==="rtl"&&(D+=ep(n.clientWidth,f.clientWidth)-v),{width:v,height:b,x:D,y:F}}(Yc(t)))}function kE(t){return qo(t)&&Ko(t).position!=="fixed"?t.offsetParent:null}function OE(t){const r=Pa(t);let s=kE(t);for(;s&&mN(s)&&Ko(s).position==="static";)s=kE(s);return s&&(Jc(s)==="html"||Jc(s)==="body"&&Ko(s).position==="static"&&!H4(s))?r:s||function(a){let n=wp(a);for(;qo(n)&&!aw(n);){if(H4(n))return n;n=wp(n)}return null}(t)||r}function gN(t,r,s){const a=qo(r),n=Yc(r),e=yp(t,!0,s==="fixed",r);let f={scrollLeft:0,scrollTop:0};const v={x:0,y:0};if(a||!a&&s!=="fixed")if((Jc(r)!=="body"||fb(n))&&(f=hb(r)),qo(r)){const b=yp(r,!0);v.x=b.x+r.clientLeft,v.y=b.y+r.clientTop}else n&&(v.x=px(n));return{x:e.left+f.scrollLeft-v.x,y:e.top+f.scrollTop-v.y,width:e.width,height:e.height}}const vN={getClippingRect:function(t){let{element:r,boundary:s,rootBoundary:a,strategy:n}=t;const e=s==="clippingAncestors"?function(D,F){const T=F.get(D);if(T)return T;let C=Rv(D).filter(V=>jc(V)&&Jc(V)!=="body"),O=null;const N=Ko(D).position==="fixed";let B=N?wp(D):D;for(;jc(B)&&!aw(B);){const V=Ko(B),G=H4(B);(N?G||O:G||V.position!=="static"||!O||!["absolute","fixed"].includes(O.position))?O=V:C=C.filter(X=>X!==B),B=wp(B)}return F.set(D,C),C}(r,this._c):[].concat(s),f=[...e,a],v=f[0],b=f.reduce((D,F)=>{const T=SE(r,F,n);return D.top=ep(T.top,D.top),D.right=AE(T.right,D.right),D.bottom=AE(T.bottom,D.bottom),D.left=ep(T.left,D.left),D},SE(r,v,n));return{width:b.right-b.left,height:b.bottom-b.top,x:b.left,y:b.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:r,offsetParent:s,strategy:a}=t;const n=qo(s),e=Yc(s);if(s===e)return r;let f={scrollLeft:0,scrollTop:0},v={x:1,y:1};const b={x:0,y:0};if((n||!n&&a!=="fixed")&&((Jc(s)!=="body"||fb(e))&&(f=hb(s)),qo(s))){const D=yp(s);v=oh(s),b.x=D.x+s.clientLeft,b.y=D.y+s.clientTop}return{width:r.width*v.x,height:r.height*v.y,x:r.x*v.x-f.scrollLeft*v.x+b.x,y:r.y*v.y-f.scrollTop*v.y+b.y}},isElement:jc,getDimensions:function(t){return qo(t)?lx(t):t.getBoundingClientRect()},getOffsetParent:OE,getDocumentElement:Yc,getScale:oh,async getElementRects(t){let{reference:r,floating:s,strategy:a}=t;const n=this.getOffsetParent||OE,e=this.getDimensions;return{reference:gN(r,await n(s),a),floating:{x:0,y:0,...await e(s)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Ko(t).direction==="rtl"},bN=(t,r,s)=>{const a=new Map,n={platform:vN,...s},e={...n.platform,_c:a};return aN(t,r,{...n,platform:e})};function gx(t,r){for(const s in r)Object.prototype.hasOwnProperty.call(r,s)&&(typeof r[s]=="object"&&t[s]?gx(t[s],r[s]):t[s]=r[s])}const Wl={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Dp(t,r){let s=Wl.themes[t]||{},a;do a=s[r],typeof a>"u"?s.$extend?s=Wl.themes[s.$extend]||{}:(s=null,a=Wl[r]):s=null;while(s);return a}function _N(t){const r=[t];let s=Wl.themes[t]||{};do s.$extend&&!s.$resetCss?(r.push(s.$extend),s=Wl.themes[s.$extend]||{}):s=null;while(s);return r.map(a=>`v-popper--theme-${a}`)}function RE(t){const r=[t];let s=Wl.themes[t]||{};do s.$extend?(r.push(s.$extend),s=Wl.themes[s.$extend]||{}):s=null;while(s);return r}let Af=!1;if(typeof window<"u"){Af=!1;try{const t=Object.defineProperty({},"passive",{get(){Af=!0}});window.addEventListener("test",null,t)}catch{}}let vx=!1;typeof window<"u"&&typeof navigator<"u"&&(vx=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const bx=["auto","top","bottom","left","right"].reduce((t,r)=>t.concat([r,`${r}-start`,`${r}-end`]),[]),IE={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},PE={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function NE(t,r){const s=t.indexOf(r);s!==-1&&t.splice(s,1)}function Oy(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const no=[];let cf=null;const ME={};function LE(t){let r=ME[t];return r||(r=ME[t]=[]),r}let $4=function(){};typeof window<"u"&&($4=window.Element);function an(t){return function(r){return Dp(r.theme,t)}}const Ry="__floating-vue__popper",_x=()=>us({name:"VPopper",provide(){return{[Ry]:{parentPopper:this}}},inject:{[Ry]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:an("disabled")},positioningDisabled:{type:Boolean,default:an("positioningDisabled")},placement:{type:String,default:an("placement"),validator:t=>bx.includes(t)},delay:{type:[String,Number,Object],default:an("delay")},distance:{type:[Number,String],default:an("distance")},skidding:{type:[Number,String],default:an("skidding")},triggers:{type:Array,default:an("triggers")},showTriggers:{type:[Array,Function],default:an("showTriggers")},hideTriggers:{type:[Array,Function],default:an("hideTriggers")},popperTriggers:{type:Array,default:an("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:an("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:an("popperHideTriggers")},container:{type:[String,Object,$4,Boolean],default:an("container")},boundary:{type:[String,$4],default:an("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:an("strategy")},autoHide:{type:[Boolean,Function],default:an("autoHide")},handleResize:{type:Boolean,default:an("handleResize")},instantMove:{type:Boolean,default:an("instantMove")},eagerMount:{type:Boolean,default:an("eagerMount")},popperClass:{type:[String,Array,Object],default:an("popperClass")},computeTransformOrigin:{type:Boolean,default:an("computeTransformOrigin")},autoMinSize:{type:Boolean,default:an("autoMinSize")},autoSize:{type:[Boolean,String],default:an("autoSize")},autoMaxSize:{type:Boolean,default:an("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:an("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:an("preventOverflow")},overflowPadding:{type:[Number,String],default:an("overflowPadding")},arrowPadding:{type:[Number,String],default:an("arrowPadding")},arrowOverflow:{type:Boolean,default:an("arrowOverflow")},flip:{type:Boolean,default:an("flip")},shift:{type:Boolean,default:an("shift")},shiftCrossAxis:{type:Boolean,default:an("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:an("noAutoFocus")},disposeTimeout:{type:Number,default:an("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[Ry])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,r;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((r=this.popperShowTriggers)==null?void 0:r.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,r)=>(t[r]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,r)=>(t[r]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:r=!1,force:s=!1}={}){var a,n;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,r),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:r=!1}={}){var s;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:r}),this.parentPopper.lockedChild=null)},1e3));return}((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,r),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(r=>r.nodeType===r.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(hN({mainAxis:this.distance,crossAxis:this.skidding}));const r=this.placement.startsWith("auto");if(r?t.middleware.push(cN({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(dN({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!r&&this.flip&&t.middleware.push(uN({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(oN({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:a,rects:n,middlewareData:e})=>{let f;const{centerOffset:v}=e.arrow;return a.startsWith("top")||a.startsWith("bottom")?f=Math.abs(v)>n.reference.width/2:f=Math.abs(v)>n.reference.height/2,{data:{overflow:f}}}}),this.autoMinSize||this.autoSize){const a=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:n,placement:e,middlewareData:f})=>{var v;if((v=f.autoSize)!=null&&v.skip)return{};let b,D;return e.startsWith("top")||e.startsWith("bottom")?b=n.reference.width:D=n.reference.height,this.$_innerNode.style[a==="min"?"minWidth":a==="max"?"maxWidth":"width"]=b!=null?`${b}px`:null,this.$_innerNode.style[a==="min"?"minHeight":a==="max"?"maxHeight":"height"]=D!=null?`${D}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(pN({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:a,availableHeight:n})=>{this.$_innerNode.style.maxWidth=a!=null?`${a}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const s=await bN(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:s.x,y:s.y,placement:s.placement,strategy:s.strategy,arrow:{...s.middlewareData.arrow,...s.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,r=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),cf&&this.instantMove&&cf.instantMove&&cf!==this.parentPopper){cf.$_applyHide(!0),this.$_applyShow(!0);return}r?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(cf=this),r?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const r=this.delay;return parseInt(r&&r[t]||r||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Oy(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Rv(this.$_referenceNode),...Rv(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const r=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),n=r.x+r.width/2-(a.left+s.offsetLeft),e=r.y+r.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${n}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let r;for(let s=0;s<no.length;s++)r=no[s],r.showGroup!==t&&(r.hide(),r.$emit("close-group"))}no.push(this),document.body.classList.add("v-popper--some-open");for(const r of RE(this.theme))LE(r).push(this),document.body.classList.add(`v-popper--some-open--${r}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Oy(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,NE(no,this),no.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of RE(this.theme)){const a=LE(s);NE(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}cf===this&&(cf=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const r=this.disposeTimeout;r!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},r)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Oy(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=s=>{this.isShown&&!this.$_hideInProgress||(s.usedByTooltip=!0,!this.$_preventShow&&this.show({event:s}))};this.$_registerTriggerListeners(this.$_targetNodes,IE,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],IE,this.popperTriggers,this.popperShowTriggers,t);const r=s=>{s.usedByTooltip||this.hide({event:s})};this.$_registerTriggerListeners(this.$_targetNodes,PE,this.triggers,this.hideTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],PE,this.popperTriggers,this.popperHideTriggers,r)},$_registerEventListeners(t,r,s){this.$_events.push({targetNodes:t,eventType:r,handler:s}),t.forEach(a=>a.addEventListener(r,s,Af?{passive:!0}:void 0))},$_registerTriggerListeners(t,r,s,a,n){let e=s;a!=null&&(e=typeof a=="function"?a(e):a),e.forEach(f=>{const v=r[f];v&&this.$_registerEventListeners(t,v,n)})},$_removeEventListeners(t){const r=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:n,handler:e}=s;!t||t===n?a.forEach(f=>f.removeEventListener(n,e)):r.push(s)}),this.$_events=r},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,r=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),r&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,r){for(const s of this.$_targetNodes){const a=s.getAttribute(t);a&&(s.removeAttribute(t),s.setAttribute(r,a))}},$_applyAttrsToTarget(t){for(const r of this.$_targetNodes)for(const s in t){const a=t[s];a==null?r.removeAttribute(s):r.setAttribute(s,a)}},$_updateParentShownChildren(t){let r=this.parentPopper;for(;r;)t?r.shownChildren.add(this.randomId):(r.shownChildren.delete(this.randomId),r.$_pendingHide&&r.hide()),r=r.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(tp>=t.left&&tp<=t.right&&rp>=t.top&&rp<=t.bottom){const r=this.$_popperNode.getBoundingClientRect(),s=tp-Tc,a=rp-xc,n=r.left+r.width/2-Tc+(r.top+r.height/2)-xc+r.width+r.height,e=Tc+s*n,f=xc+a*n;return S2(Tc,xc,e,f,r.left,r.top,r.left,r.bottom)||S2(Tc,xc,e,f,r.left,r.top,r.right,r.top)||S2(Tc,xc,e,f,r.right,r.top,r.right,r.bottom)||S2(Tc,xc,e,f,r.left,r.bottom,r.right,r.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(vx?(document.addEventListener("touchstart",BE,Af?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",wN,Af?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",BE,!0),window.addEventListener("click",yN,!0)),window.addEventListener("resize",FN));function BE(t){for(let r=0;r<no.length;r++){const s=no[r];try{const a=s.popperNode();s.$_mouseDownContains=a.contains(t.target)}catch{}}}function yN(t){yx(t)}function wN(t){yx(t,!0)}function yx(t,r=!1){const s={};for(let a=no.length-1;a>=0;a--){const n=no[a];try{const e=n.$_containsGlobalTarget=DN(n,t);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!s[n.randomId]&&UE(n,e,t)){if(n.$_handleGlobalClose(t,r),!t.closeAllPopover&&t.closePopover&&e){let v=n.parentPopper;for(;v;)s[v.randomId]=!0,v=v.parentPopper;return}let f=n.parentPopper;for(;f&&UE(f,f.$_containsGlobalTarget,t);)f.$_handleGlobalClose(t,r),f=f.parentPopper}})}catch{}}}function DN(t,r){const s=t.popperNode();return t.$_mouseDownContains||s.contains(r.target)}function UE(t,r,s){return s.closeAllPopover||s.closePopover&&r||EN(t,s)&&!r}function EN(t,r){if(typeof t.autoHide=="function"){const s=t.autoHide(r);return t.lastAutoHide=s,s}return t.autoHide}function FN(t){for(let r=0;r<no.length;r++)no[r].$_computePosition(t)}let Tc=0,xc=0,tp=0,rp=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Tc=tp,xc=rp,tp=t.clientX,rp=t.clientY},Af?{passive:!0}:void 0);function S2(t,r,s,a,n,e,f,v){const b=((f-n)*(r-e)-(v-e)*(t-n))/((v-e)*(s-t)-(f-n)*(a-r)),D=((s-t)*(r-e)-(a-r)*(t-n))/((v-e)*(s-t)-(f-n)*(a-r));return b>=0&&b<=1&&D>=0&&D<=1}const TN={extends:_x()},db=(t,r)=>{const s=t.__vccOpts||t;for(const[a,n]of r)s[a]=n;return s};function xN(t,r,s,a,n,e){return Hr(),Fn("div",{ref:"reference",class:Ii(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Df(t.$slots,"default",WF(A3(t.slotData)))],2)}const AN=db(TN,[["render",xN]]);function CN(){var t=window.navigator.userAgent,r=t.indexOf("MSIE ");if(r>0)return parseInt(t.substring(r+5,t.indexOf(".",r)),10);var s=t.indexOf("Trident/");if(s>0){var a=t.indexOf("rv:");return parseInt(t.substring(a+3,t.indexOf(".",a)),10)}var n=t.indexOf("Edge/");return n>0?parseInt(t.substring(n+5,t.indexOf(".",n)),10):-1}let V2;function W4(){W4.init||(W4.init=!0,V2=CN()!==-1)}var pb={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){W4(),va(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",V2&&this.$el.appendChild(t),t.data="about:blank",V2||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!V2&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const SN=_6();v6("data-v-b329ee4c");const kN={class:"resize-observer",tabindex:"-1"};b6();const ON=SN((t,r,s,a,n,e)=>(Hr(),Xo("div",kN)));pb.render=ON;pb.__scopeId="data-v-b329ee4c";pb.__file="src/components/ResizeObserver.vue";const wx=(t="theme")=>({computed:{themeClass(){return _N(this[t])}}}),RN=us({name:"VPopperContent",components:{ResizeObserver:pb},mixins:[wx()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),IN=["id","aria-hidden","tabindex","data-popper-placement"],PN={ref:"inner",class:"v-popper__inner"},NN=It("div",{class:"v-popper__arrow-outer"},null,-1),MN=It("div",{class:"v-popper__arrow-inner"},null,-1),LN=[NN,MN];function BN(t,r,s,a,n,e){const f=uo("ResizeObserver");return Hr(),Fn("div",{id:t.popperId,ref:"popover",class:Ii(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:oo(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:r[2]||(r[2]=N5(v=>t.autoHide&&t.$emit("hide"),["esc"]))},[It("div",{class:"v-popper__backdrop",onClick:r[0]||(r[0]=v=>t.autoHide&&t.$emit("hide"))}),It("div",{class:"v-popper__wrapper",style:oo(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[It("div",PN,[t.mounted?(Hr(),Fn(Yn,{key:0},[It("div",null,[Df(t.$slots,"default")]),t.handleResize?(Hr(),Xo(f,{key:0,onNotify:r[1]||(r[1]=v=>t.$emit("resize",v))})):pa("",!0)],64)):pa("",!0)],512),It("div",{ref:"arrow",class:"v-popper__arrow-container",style:oo(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},LN,4)],4)],46,IN)}const Dx=db(RN,[["render",BN]]),Ex={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},UN=us({name:"VPopperWrapper",components:{Popper:AN,PopperContent:Dx},mixins:[Ex,wx("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function HN(t,r,s,a,n,e){const f=uo("PopperContent"),v=uo("Popper");return Hr(),Xo(v,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:Ii([t.themeClass])},{default:Gs(({popperId:b,isShown:D,shouldMountContent:F,skipTransition:T,autoHide:C,show:O,hide:N,handleResize:B,onResize:V,classes:G,result:X})=>[Df(t.$slots,"default",{shown:D,show:O,hide:N}),Cr(f,{ref:"popperContent","popper-id":b,theme:t.finalTheme,shown:D,mounted:F,"skip-transition":T,"auto-hide":C,"handle-resize":B,classes:G,result:X,onHide:N,onResize:V},{default:Gs(()=>[Df(t.$slots,"popper",{shown:D,hide:N})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const ow=db(UN,[["render",HN]]),$N={...ow,name:"VDropdown",vPopperTheme:"dropdown"},WN={...ow,name:"VMenu",vPopperTheme:"menu"},zN={...ow,name:"VTooltip",vPopperTheme:"tooltip"},VN=us({name:"VTooltipDirective",components:{Popper:_x(),PopperContent:Dx},mixins:[Ex],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Dp(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Dp(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const r=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(r,a)):this.onResult(r,s)}},onResult(t,r){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=r)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),GN=["innerHTML"],jN=["textContent"];function YN(t,r,s,a,n,e){const f=uo("PopperContent"),v=uo("Popper");return Hr(),Xo(v,sb({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Gs(({popperId:b,isShown:D,shouldMountContent:F,skipTransition:T,autoHide:C,hide:O,handleResize:N,onResize:B,classes:V,result:G})=>[Cr(f,{ref:"popperContent",class:Ii({"v-popper--tooltip-loading":t.loading}),"popper-id":b,theme:t.theme,shown:D,mounted:F,"skip-transition":T,"auto-hide":C,"handle-resize":N,classes:V,result:G,onHide:O,onResize:B},{default:Gs(()=>[t.html?(Hr(),Fn("div",{key:0,innerHTML:t.finalContent},null,8,GN)):(Hr(),Fn("div",{key:1,textContent:vs(t.finalContent)},null,8,jN))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const KN=db(VN,[["render",YN]]),Fx="v-popper--has-tooltip";function qN(t,r){let s=t.placement;if(!s&&r)for(const a of bx)r[a]&&(s=a);return s||(s=Dp(t.theme||"tooltip","placement")),s}function Tx(t,r,s){let a;const n=typeof r;return n==="string"?a={content:r}:r&&n==="object"?a=r:a={content:!1},a.placement=qN(a,s),a.targetNodes=()=>[t],a.referenceNode=()=>t,a}let Iy,Ep,QN=0;function XN(){if(Iy)return;Ep=er([]),Iy=pp({name:"VTooltipDirectiveApp",setup(){return{directives:Ep}},render(){return this.directives.map(r=>Of(KN,{...r.options,shown:r.shown||r.options.shown,key:r.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Iy.mount(t)}function JN(t,r,s){XN();const a=er(Tx(t,r,s)),n=er(!1),e={id:QN++,options:a,shown:n};return Ep.value.push(e),t.classList&&t.classList.add(Fx),t.$_popper={options:a,item:e,show(){n.value=!0},hide(){n.value=!1}}}function xx(t){if(t.$_popper){const r=Ep.value.indexOf(t.$_popper.item);r!==-1&&Ep.value.splice(r,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(Fx)}function HE(t,{value:r,modifiers:s}){const a=Tx(t,r,s);if(!a.content||Dp(a.theme||"tooltip","disabled"))xx(t);else{let n;t.$_popper?(n=t.$_popper,n.options.value=a):n=JN(t,r,s),typeof r.shown<"u"&&r.shown!==t.$_popperOldShown&&(t.$_popperOldShown=r.shown,r.shown?n.show():n.hide())}}const ZN={beforeMount:HE,updated:HE,beforeUnmount(t){xx(t)}};function $E(t){t.addEventListener("click",Ax),t.addEventListener("touchstart",Cx,Af?{passive:!0}:!1)}function WE(t){t.removeEventListener("click",Ax),t.removeEventListener("touchstart",Cx),t.removeEventListener("touchend",Sx),t.removeEventListener("touchcancel",kx)}function Ax(t){const r=t.currentTarget;t.closePopover=!r.$_vclosepopover_touch,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}function Cx(t){if(t.changedTouches.length===1){const r=t.currentTarget;r.$_vclosepopover_touch=!0;const s=t.changedTouches[0];r.$_vclosepopover_touchPoint=s,r.addEventListener("touchend",Sx),r.addEventListener("touchcancel",kx)}}function Sx(t){const r=t.currentTarget;if(r.$_vclosepopover_touch=!1,t.changedTouches.length===1){const s=t.changedTouches[0],a=r.$_vclosepopover_touchPoint;t.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,t.closeAllPopover=r.$_closePopoverModifiers&&!!r.$_closePopoverModifiers.all}}function kx(t){const r=t.currentTarget;r.$_vclosepopover_touch=!1}const eM={beforeMount(t,{value:r,modifiers:s}){t.$_closePopoverModifiers=s,(typeof r>"u"||r)&&$E(t)},updated(t,{value:r,oldValue:s,modifiers:a}){t.$_closePopoverModifiers=a,r!==s&&(typeof r>"u"||r?$E(t):WE(t))},beforeUnmount(t){WE(t)}};function tM(t,r={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,gx(Wl,r),t.directive("tooltip",ZN),t.directive("close-popper",eM),t.component("VTooltip",zN),t.component("VDropdown",$N),t.component("VMenu",WN))}const rM={version:"2.0.0-beta.24",install:tM,options:Wl};var mb=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Hp=typeof window>"u"||"Deno"in globalThis;function eo(){}function nM(t,r){return typeof t=="function"?t(r):t}function sM(t){return typeof t=="number"&&t>=0&&t!==1/0}function iM(t,r){return Math.max(t+(r||0)-Date.now(),0)}function zE(t,r){return typeof t=="function"?t(r):t}function aM(t,r){return typeof t=="function"?t(r):t}function VE(t,r){const{type:s="all",exact:a,fetchStatus:n,predicate:e,queryKey:f,stale:v}=t;if(f){if(a){if(r.queryHash!==lw(f,r.options))return!1}else if(!Tp(r.queryKey,f))return!1}if(s!=="all"){const b=r.isActive();if(s==="active"&&!b||s==="inactive"&&b)return!1}return!(typeof v=="boolean"&&r.isStale()!==v||n&&n!==r.state.fetchStatus||e&&!e(r))}function GE(t,r){const{exact:s,status:a,predicate:n,mutationKey:e}=t;if(e){if(!r.options.mutationKey)return!1;if(s){if(Fp(r.options.mutationKey)!==Fp(e))return!1}else if(!Tp(r.options.mutationKey,e))return!1}return!(a&&r.state.status!==a||n&&!n(r))}function lw(t,r){return((r==null?void 0:r.queryKeyHashFn)||Fp)(t)}function Fp(t){return JSON.stringify(t,(r,s)=>z4(s)?Object.keys(s).sort().reduce((a,n)=>(a[n]=s[n],a),{}):s)}function Tp(t,r){return t===r?!0:typeof t!=typeof r?!1:t&&r&&typeof t=="object"&&typeof r=="object"?!Object.keys(r).some(s=>!Tp(t[s],r[s])):!1}function Ox(t,r){if(t===r)return t;const s=jE(t)&&jE(r);if(s||z4(t)&&z4(r)){const a=s?t:Object.keys(t),n=a.length,e=s?r:Object.keys(r),f=e.length,v=s?[]:{};let b=0;for(let D=0;D<f;D++){const F=s?D:e[D];(!s&&a.includes(F)||s)&&t[F]===void 0&&r[F]===void 0?(v[F]=void 0,b++):(v[F]=Ox(t[F],r[F]),v[F]===t[F]&&t[F]!==void 0&&b++)}return n===f&&b===n?t:v}return r}function UH(t,r){if(!r||Object.keys(t).length!==Object.keys(r).length)return!1;for(const s in t)if(t[s]!==r[s])return!1;return!0}function jE(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function z4(t){if(!YE(t))return!1;const r=t.constructor;if(r===void 0)return!0;const s=r.prototype;return!(!YE(s)||!s.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(t)!==Object.prototype)}function YE(t){return Object.prototype.toString.call(t)==="[object Object]"}function oM(t){return new Promise(r=>{setTimeout(r,t)})}function lM(t,r,s){return typeof s.structuralSharing=="function"?s.structuralSharing(t,r):s.structuralSharing!==!1?Ox(t,r):r}function cM(t,r,s=0){const a=[...t,r];return s&&a.length>s?a.slice(1):a}function uM(t,r,s=0){const a=[r,...t];return s&&a.length>s?a.slice(0,-1):a}var Rx=Symbol();function Ix(t,r){return!t.queryFn&&(r!=null&&r.initialPromise)?()=>r.initialPromise:!t.queryFn||t.queryFn===Rx?()=>Promise.reject(new Error(`Missing queryFn: '${t.queryHash}'`)):t.queryFn}var df,Bc,uh,vF,fM=(vF=class extends mb{constructor(){super();wn(this,df,void 0);wn(this,Bc,void 0);wn(this,uh,void 0);Mr(this,uh,r=>{if(!Hp&&window.addEventListener){const s=()=>r();return window.addEventListener("visibilitychange",s,!1),()=>{window.removeEventListener("visibilitychange",s)}}})}onSubscribe(){ut(this,Bc)||this.setEventListener(ut(this,uh))}onUnsubscribe(){var r;this.hasListeners()||((r=ut(this,Bc))==null||r.call(this),Mr(this,Bc,void 0))}setEventListener(r){var s;Mr(this,uh,r),(s=ut(this,Bc))==null||s.call(this),Mr(this,Bc,r(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()}))}setFocused(r){ut(this,df)!==r&&(Mr(this,df,r),this.onFocus())}onFocus(){const r=this.isFocused();this.listeners.forEach(s=>{s(r)})}isFocused(){var r;return typeof ut(this,df)=="boolean"?ut(this,df):((r=globalThis.document)==null?void 0:r.visibilityState)!=="hidden"}},df=new WeakMap,Bc=new WeakMap,uh=new WeakMap,vF),Px=new fM,fh,Uc,hh,bF,hM=(bF=class extends mb{constructor(){super();wn(this,fh,!0);wn(this,Uc,void 0);wn(this,hh,void 0);Mr(this,hh,r=>{if(!Hp&&window.addEventListener){const s=()=>r(!0),a=()=>r(!1);return window.addEventListener("online",s,!1),window.addEventListener("offline",a,!1),()=>{window.removeEventListener("online",s),window.removeEventListener("offline",a)}}})}onSubscribe(){ut(this,Uc)||this.setEventListener(ut(this,hh))}onUnsubscribe(){var r;this.hasListeners()||((r=ut(this,Uc))==null||r.call(this),Mr(this,Uc,void 0))}setEventListener(r){var s;Mr(this,hh,r),(s=ut(this,Uc))==null||s.call(this),Mr(this,Uc,r(this.setOnline.bind(this)))}setOnline(r){ut(this,fh)!==r&&(Mr(this,fh,r),this.listeners.forEach(a=>{a(r)}))}isOnline(){return ut(this,fh)}},fh=new WeakMap,Uc=new WeakMap,hh=new WeakMap,bF),Iv=new hM;function dM(t){return Math.min(1e3*2**t,3e4)}function Nx(t){return(t??"online")==="online"?Iv.isOnline():!0}var Mx=class extends Error{constructor(t){super("CancelledError"),this.revert=t==null?void 0:t.revert,this.silent=t==null?void 0:t.silent}};function Py(t){return t instanceof Mx}function Lx(t){let r=!1,s=0,a=!1,n,e,f;const v=new Promise((G,X)=>{e=G,f=X}),b=G=>{var X;a||(N(new Mx(G)),(X=t.abort)==null||X.call(t))},D=()=>{r=!0},F=()=>{r=!1},T=()=>Px.isFocused()&&(t.networkMode==="always"||Iv.isOnline())&&t.canRun(),C=()=>Nx(t.networkMode)&&t.canRun(),O=G=>{var X;a||(a=!0,(X=t.onSuccess)==null||X.call(t,G),n==null||n(),e(G))},N=G=>{var X;a||(a=!0,(X=t.onError)==null||X.call(t,G),n==null||n(),f(G))},B=()=>new Promise(G=>{var X;n=H=>{(a||T())&&G(H)},(X=t.onPause)==null||X.call(t)}).then(()=>{var G;n=void 0,a||(G=t.onContinue)==null||G.call(t)}),V=()=>{if(a)return;let G;const X=s===0?t.initialPromise:void 0;try{G=X??t.fn()}catch(H){G=Promise.reject(H)}Promise.resolve(G).then(O).catch(H=>{var P;if(a)return;const z=t.retry??(Hp?0:3),Y=t.retryDelay??dM,ee=typeof Y=="function"?Y(s,H):Y,K=z===!0||typeof z=="number"&&s<z||typeof z=="function"&&z(s,H);if(r||!K){N(H);return}s++,(P=t.onFail)==null||P.call(t,s,H),oM(ee).then(()=>T()?void 0:B()).then(()=>{r?N(H):V()})})};return{promise:v,cancel:b,continue:()=>(n==null||n(),v),cancelRetry:D,continueRetry:F,canStart:C,start:()=>(C()?V():B().then(V),v)}}function pM(){let t=[],r=0,s=v=>{v()},a=v=>{v()},n=v=>setTimeout(v,0);const e=v=>{r?t.push(v):n(()=>{s(v)})},f=()=>{const v=t;t=[],v.length&&n(()=>{a(()=>{v.forEach(b=>{s(b)})})})};return{batch:v=>{let b;r++;try{b=v()}finally{r--,r||f()}return b},batchCalls:v=>(...b)=>{e(()=>{v(...b)})},schedule:e,setNotifyFunction:v=>{s=v},setBatchNotifyFunction:v=>{a=v},setScheduler:v=>{n=v}}}var Ri=pM(),pf,_F,Bx=(_F=class{constructor(){wn(this,pf,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),sM(this.gcTime)&&Mr(this,pf,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(t){this.gcTime=Math.max(this.gcTime||0,t??(Hp?1/0:5*60*1e3))}clearGcTimeout(){ut(this,pf)&&(clearTimeout(ut(this,pf)),Mr(this,pf,void 0))}},pf=new WeakMap,_F),dh,ph,Ra,ui,Sp,mf,to,Il,yF,mM=(yF=class extends Bx{constructor(r){super();wn(this,to);wn(this,dh,void 0);wn(this,ph,void 0);wn(this,Ra,void 0);wn(this,ui,void 0);wn(this,Sp,void 0);wn(this,mf,void 0);Mr(this,mf,!1),Mr(this,Sp,r.defaultOptions),this.setOptions(r.options),this.observers=[],Mr(this,Ra,r.cache),this.queryKey=r.queryKey,this.queryHash=r.queryHash,Mr(this,dh,vM(this.options)),this.state=r.state??ut(this,dh),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var r;return(r=ut(this,ui))==null?void 0:r.promise}setOptions(r){this.options={...ut(this,Sp),...r},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&ut(this,Ra).remove(this)}setData(r,s){const a=lM(this.state.data,r,this.options);return ci(this,to,Il).call(this,{data:a,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),a}setState(r,s){ci(this,to,Il).call(this,{type:"setState",state:r,setStateOptions:s})}cancel(r){var a,n;const s=(a=ut(this,ui))==null?void 0:a.promise;return(n=ut(this,ui))==null||n.cancel(r),s?s.then(eo).catch(eo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(ut(this,dh))}isActive(){return this.observers.some(r=>aM(r.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(r=>r.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(r=0){return this.state.isInvalidated||this.state.data===void 0||!iM(this.state.dataUpdatedAt,r)}onFocus(){var s;const r=this.observers.find(a=>a.shouldFetchOnWindowFocus());r==null||r.refetch({cancelRefetch:!1}),(s=ut(this,ui))==null||s.continue()}onOnline(){var s;const r=this.observers.find(a=>a.shouldFetchOnReconnect());r==null||r.refetch({cancelRefetch:!1}),(s=ut(this,ui))==null||s.continue()}addObserver(r){this.observers.includes(r)||(this.observers.push(r),this.clearGcTimeout(),ut(this,Ra).notify({type:"observerAdded",query:this,observer:r}))}removeObserver(r){this.observers.includes(r)&&(this.observers=this.observers.filter(s=>s!==r),this.observers.length||(ut(this,ui)&&(ut(this,mf)?ut(this,ui).cancel({revert:!0}):ut(this,ui).cancelRetry()),this.scheduleGc()),ut(this,Ra).notify({type:"observerRemoved",query:this,observer:r}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ci(this,to,Il).call(this,{type:"invalidate"})}fetch(r,s){var b,D,F;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(s!=null&&s.cancelRefetch))this.cancel({silent:!0});else if(ut(this,ui))return ut(this,ui).continueRetry(),ut(this,ui).promise}if(r&&this.setOptions(r),!this.options.queryFn){const T=this.observers.find(C=>C.options.queryFn);T&&this.setOptions(T.options)}const a=new AbortController,n=T=>{Object.defineProperty(T,"signal",{enumerable:!0,get:()=>(Mr(this,mf,!0),a.signal)})},e=()=>{const T=Ix(this.options,s),C={queryKey:this.queryKey,meta:this.meta};return n(C),Mr(this,mf,!1),this.options.persister?this.options.persister(T,C,this):T(C)},f={fetchOptions:s,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:e};n(f),(b=this.options.behavior)==null||b.onFetch(f,this),Mr(this,ph,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((D=f.fetchOptions)==null?void 0:D.meta))&&ci(this,to,Il).call(this,{type:"fetch",meta:(F=f.fetchOptions)==null?void 0:F.meta});const v=T=>{var C,O,N,B;Py(T)&&T.silent||ci(this,to,Il).call(this,{type:"error",error:T}),Py(T)||((O=(C=ut(this,Ra).config).onError)==null||O.call(C,T,this),(B=(N=ut(this,Ra).config).onSettled)==null||B.call(N,this.state.data,T,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Mr(this,ui,Lx({initialPromise:s==null?void 0:s.initialPromise,fn:f.fetchFn,abort:a.abort.bind(a),onSuccess:T=>{var C,O,N,B;if(T===void 0){v(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(T)}catch(V){v(V);return}(O=(C=ut(this,Ra).config).onSuccess)==null||O.call(C,T,this),(B=(N=ut(this,Ra).config).onSettled)==null||B.call(N,T,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:v,onFail:(T,C)=>{ci(this,to,Il).call(this,{type:"failed",failureCount:T,error:C})},onPause:()=>{ci(this,to,Il).call(this,{type:"pause"})},onContinue:()=>{ci(this,to,Il).call(this,{type:"continue"})},retry:f.options.retry,retryDelay:f.options.retryDelay,networkMode:f.options.networkMode,canRun:()=>!0})),ut(this,ui).start()}},dh=new WeakMap,ph=new WeakMap,Ra=new WeakMap,ui=new WeakMap,Sp=new WeakMap,mf=new WeakMap,to=new WeakSet,Il=function(r){const s=a=>{switch(r.type){case"failed":return{...a,fetchFailureCount:r.failureCount,fetchFailureReason:r.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,...gM(a.data,this.options),fetchMeta:r.meta??null};case"success":return{...a,data:r.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:r.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!r.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=r.error;return Py(n)&&n.revert&&ut(this,ph)?{...ut(this,ph),fetchStatus:"idle"}:{...a,error:n,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...r.state}}};this.state=s(this.state),Ri.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate()}),ut(this,Ra).notify({query:this,type:"updated",action:r})})},yF);function gM(t,r){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Nx(r.networkMode)?"fetching":"paused",...t===void 0&&{error:null,status:"pending"}}}function vM(t){const r=typeof t.initialData=="function"?t.initialData():t.initialData,s=r!==void 0,a=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:r,dataUpdateCount:0,dataUpdatedAt:s?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"pending",fetchStatus:"idle"}}var $o,wF,Ux=(wF=class extends mb{constructor(s={}){super();wn(this,$o,void 0);this.config=s,Mr(this,$o,new Map)}build(s,a,n){const e=a.queryKey,f=a.queryHash??lw(e,a);let v=this.get(f);return v||(v=new mM({cache:this,queryKey:e,queryHash:f,options:s.defaultQueryOptions(a),state:n,defaultOptions:s.getQueryDefaults(e)}),this.add(v)),v}add(s){ut(this,$o).has(s.queryHash)||(ut(this,$o).set(s.queryHash,s),this.notify({type:"added",query:s}))}remove(s){const a=ut(this,$o).get(s.queryHash);a&&(s.destroy(),a===s&&ut(this,$o).delete(s.queryHash),this.notify({type:"removed",query:s}))}clear(){Ri.batch(()=>{this.getAll().forEach(s=>{this.remove(s)})})}get(s){return ut(this,$o).get(s)}getAll(){return[...ut(this,$o).values()]}find(s){const a={exact:!0,...s};return this.getAll().find(n=>VE(a,n))}findAll(s={}){const a=this.getAll();return Object.keys(s).length>0?a.filter(n=>VE(s,n)):a}notify(s){Ri.batch(()=>{this.listeners.forEach(a=>{a(s)})})}onFocus(){Ri.batch(()=>{this.getAll().forEach(s=>{s.onFocus()})})}onOnline(){Ri.batch(()=>{this.getAll().forEach(s=>{s.onOnline()})})}},$o=new WeakMap,wF),Wo,Ci,gf,zo,Ac,DF,bM=(DF=class extends Bx{constructor(r){super();wn(this,zo);wn(this,Wo,void 0);wn(this,Ci,void 0);wn(this,gf,void 0);this.mutationId=r.mutationId,Mr(this,Ci,r.mutationCache),Mr(this,Wo,[]),this.state=r.state||_M(),this.setOptions(r.options),this.scheduleGc()}setOptions(r){this.options=r,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(r){ut(this,Wo).includes(r)||(ut(this,Wo).push(r),this.clearGcTimeout(),ut(this,Ci).notify({type:"observerAdded",mutation:this,observer:r}))}removeObserver(r){Mr(this,Wo,ut(this,Wo).filter(s=>s!==r)),this.scheduleGc(),ut(this,Ci).notify({type:"observerRemoved",mutation:this,observer:r})}optionalRemove(){ut(this,Wo).length||(this.state.status==="pending"?this.scheduleGc():ut(this,Ci).remove(this))}continue(){var r;return((r=ut(this,gf))==null?void 0:r.continue())??this.execute(this.state.variables)}async execute(r){var n,e,f,v,b,D,F,T,C,O,N,B,V,G,X,H,z,Y,ee,K;Mr(this,gf,Lx({fn:()=>this.options.mutationFn?this.options.mutationFn(r):Promise.reject(new Error("No mutationFn found")),onFail:(P,I)=>{ci(this,zo,Ac).call(this,{type:"failed",failureCount:P,error:I})},onPause:()=>{ci(this,zo,Ac).call(this,{type:"pause"})},onContinue:()=>{ci(this,zo,Ac).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>ut(this,Ci).canRun(this)}));const s=this.state.status==="pending",a=!ut(this,gf).canStart();try{if(!s){ci(this,zo,Ac).call(this,{type:"pending",variables:r,isPaused:a}),await((e=(n=ut(this,Ci).config).onMutate)==null?void 0:e.call(n,r,this));const I=await((v=(f=this.options).onMutate)==null?void 0:v.call(f,r));I!==this.state.context&&ci(this,zo,Ac).call(this,{type:"pending",context:I,variables:r,isPaused:a})}const P=await ut(this,gf).start();return await((D=(b=ut(this,Ci).config).onSuccess)==null?void 0:D.call(b,P,r,this.state.context,this)),await((T=(F=this.options).onSuccess)==null?void 0:T.call(F,P,r,this.state.context)),await((O=(C=ut(this,Ci).config).onSettled)==null?void 0:O.call(C,P,null,this.state.variables,this.state.context,this)),await((B=(N=this.options).onSettled)==null?void 0:B.call(N,P,null,r,this.state.context)),ci(this,zo,Ac).call(this,{type:"success",data:P}),P}catch(P){try{throw await((G=(V=ut(this,Ci).config).onError)==null?void 0:G.call(V,P,r,this.state.context,this)),await((H=(X=this.options).onError)==null?void 0:H.call(X,P,r,this.state.context)),await((Y=(z=ut(this,Ci).config).onSettled)==null?void 0:Y.call(z,void 0,P,this.state.variables,this.state.context,this)),await((K=(ee=this.options).onSettled)==null?void 0:K.call(ee,void 0,P,r,this.state.context)),P}finally{ci(this,zo,Ac).call(this,{type:"error",error:P})}}finally{ut(this,Ci).runNext(this)}}},Wo=new WeakMap,Ci=new WeakMap,gf=new WeakMap,zo=new WeakSet,Ac=function(r){const s=a=>{switch(r.type){case"failed":return{...a,failureCount:r.failureCount,failureReason:r.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"pending":return{...a,context:r.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:r.isPaused,status:"pending",variables:r.variables,submittedAt:Date.now()};case"success":return{...a,data:r.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:r.error,failureCount:a.failureCount+1,failureReason:r.error,isPaused:!1,status:"error"}}};this.state=s(this.state),Ri.batch(()=>{ut(this,Wo).forEach(a=>{a.onMutationUpdate(r)}),ut(this,Ci).notify({mutation:this,type:"updated",action:r})})},DF);function _M(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var da,kp,EF,Hx=(EF=class extends mb{constructor(s={}){super();wn(this,da,void 0);wn(this,kp,void 0);this.config=s,Mr(this,da,new Map),Mr(this,kp,Date.now())}build(s,a,n){const e=new bM({mutationCache:this,mutationId:++s2(this,kp)._,options:s.defaultMutationOptions(a),state:n});return this.add(e),e}add(s){const a=k2(s),n=ut(this,da).get(a)??[];n.push(s),ut(this,da).set(a,n),this.notify({type:"added",mutation:s})}remove(s){var n;const a=k2(s);if(ut(this,da).has(a)){const e=(n=ut(this,da).get(a))==null?void 0:n.filter(f=>f!==s);e&&(e.length===0?ut(this,da).delete(a):ut(this,da).set(a,e))}this.notify({type:"removed",mutation:s})}canRun(s){var n;const a=(n=ut(this,da).get(k2(s)))==null?void 0:n.find(e=>e.state.status==="pending");return!a||a===s}runNext(s){var n;const a=(n=ut(this,da).get(k2(s)))==null?void 0:n.find(e=>e!==s&&e.state.isPaused);return(a==null?void 0:a.continue())??Promise.resolve()}clear(){Ri.batch(()=>{this.getAll().forEach(s=>{this.remove(s)})})}getAll(){return[...ut(this,da).values()].flat()}find(s){const a={exact:!0,...s};return this.getAll().find(n=>GE(a,n))}findAll(s={}){return this.getAll().filter(a=>GE(s,a))}notify(s){Ri.batch(()=>{this.listeners.forEach(a=>{a(s)})})}resumePausedMutations(){const s=this.getAll().filter(a=>a.state.isPaused);return Ri.batch(()=>Promise.all(s.map(a=>a.continue().catch(eo))))}},da=new WeakMap,kp=new WeakMap,EF);function k2(t){var r;return((r=t.options.scope)==null?void 0:r.id)??String(t.mutationId)}function KE(t){return{onFetch:(r,s)=>{var F,T,C,O,N;const a=r.options,n=(C=(T=(F=r.fetchOptions)==null?void 0:F.meta)==null?void 0:T.fetchMore)==null?void 0:C.direction,e=((O=r.state.data)==null?void 0:O.pages)||[],f=((N=r.state.data)==null?void 0:N.pageParams)||[];let v={pages:[],pageParams:[]},b=0;const D=async()=>{let B=!1;const V=H=>{Object.defineProperty(H,"signal",{enumerable:!0,get:()=>(r.signal.aborted?B=!0:r.signal.addEventListener("abort",()=>{B=!0}),r.signal)})},G=Ix(r.options,r.fetchOptions),X=async(H,z,Y)=>{if(B)return Promise.reject();if(z==null&&H.pages.length)return Promise.resolve(H);const ee={queryKey:r.queryKey,pageParam:z,direction:Y?"backward":"forward",meta:r.options.meta};V(ee);const K=await G(ee),{maxPages:P}=r.options,I=Y?uM:cM;return{pages:I(H.pages,K,P),pageParams:I(H.pageParams,z,P)}};if(n&&e.length){const H=n==="backward",z=H?yM:qE,Y={pages:e,pageParams:f},ee=z(a,Y);v=await X(Y,ee,H)}else{const H=t??e.length;do{const z=b===0?f[0]??a.initialPageParam:qE(a,v);if(b>0&&z==null)break;v=await X(v,z),b++}while(b<H)}return v};r.options.persister?r.fetchFn=()=>{var B,V;return(V=(B=r.options).persister)==null?void 0:V.call(B,D,{queryKey:r.queryKey,meta:r.options.meta,signal:r.signal},s)}:r.fetchFn=D}}}function qE(t,{pages:r,pageParams:s}){const a=r.length-1;return r.length>0?t.getNextPageParam(r[a],r,s[a],s):void 0}function yM(t,{pages:r,pageParams:s}){var a;return r.length>0?(a=t.getPreviousPageParam)==null?void 0:a.call(t,r[0],r,s[0],s):void 0}var os,Hc,$c,mh,gh,Wc,vh,bh,FF,wM=(FF=class{constructor(r={}){wn(this,os,void 0);wn(this,Hc,void 0);wn(this,$c,void 0);wn(this,mh,void 0);wn(this,gh,void 0);wn(this,Wc,void 0);wn(this,vh,void 0);wn(this,bh,void 0);Mr(this,os,r.queryCache||new Ux),Mr(this,Hc,r.mutationCache||new Hx),Mr(this,$c,r.defaultOptions||{}),Mr(this,mh,new Map),Mr(this,gh,new Map),Mr(this,Wc,0)}mount(){s2(this,Wc)._++,ut(this,Wc)===1&&(Mr(this,vh,Px.subscribe(async r=>{r&&(await this.resumePausedMutations(),ut(this,os).onFocus())})),Mr(this,bh,Iv.subscribe(async r=>{r&&(await this.resumePausedMutations(),ut(this,os).onOnline())})))}unmount(){var r,s;s2(this,Wc)._--,ut(this,Wc)===0&&((r=ut(this,vh))==null||r.call(this),Mr(this,vh,void 0),(s=ut(this,bh))==null||s.call(this),Mr(this,bh,void 0))}isFetching(r){return ut(this,os).findAll({...r,fetchStatus:"fetching"}).length}isMutating(r){return ut(this,Hc).findAll({...r,status:"pending"}).length}getQueryData(r){var a;const s=this.defaultQueryOptions({queryKey:r});return(a=ut(this,os).get(s.queryHash))==null?void 0:a.state.data}ensureQueryData(r){const s=this.getQueryData(r.queryKey);if(s===void 0)return this.fetchQuery(r);{const a=this.defaultQueryOptions(r),n=ut(this,os).build(this,a);return r.revalidateIfStale&&n.isStaleByTime(zE(a.staleTime,n))&&this.prefetchQuery(a),Promise.resolve(s)}}getQueriesData(r){return ut(this,os).findAll(r).map(({queryKey:s,state:a})=>{const n=a.data;return[s,n]})}setQueryData(r,s,a){const n=this.defaultQueryOptions({queryKey:r}),e=ut(this,os).get(n.queryHash),f=e==null?void 0:e.state.data,v=nM(s,f);if(v!==void 0)return ut(this,os).build(this,n).setData(v,{...a,manual:!0})}setQueriesData(r,s,a){return Ri.batch(()=>ut(this,os).findAll(r).map(({queryKey:n})=>[n,this.setQueryData(n,s,a)]))}getQueryState(r){var a;const s=this.defaultQueryOptions({queryKey:r});return(a=ut(this,os).get(s.queryHash))==null?void 0:a.state}removeQueries(r){const s=ut(this,os);Ri.batch(()=>{s.findAll(r).forEach(a=>{s.remove(a)})})}resetQueries(r,s){const a=ut(this,os),n={type:"active",...r};return Ri.batch(()=>(a.findAll(r).forEach(e=>{e.reset()}),this.refetchQueries(n,s)))}cancelQueries(r={},s={}){const a={revert:!0,...s},n=Ri.batch(()=>ut(this,os).findAll(r).map(e=>e.cancel(a)));return Promise.all(n).then(eo).catch(eo)}invalidateQueries(r={},s={}){return Ri.batch(()=>{if(ut(this,os).findAll(r).forEach(n=>{n.invalidate()}),r.refetchType==="none")return Promise.resolve();const a={...r,type:r.refetchType??r.type??"active"};return this.refetchQueries(a,s)})}refetchQueries(r={},s){const a={...s,cancelRefetch:(s==null?void 0:s.cancelRefetch)??!0},n=Ri.batch(()=>ut(this,os).findAll(r).filter(e=>!e.isDisabled()).map(e=>{let f=e.fetch(void 0,a);return a.throwOnError||(f=f.catch(eo)),e.state.fetchStatus==="paused"?Promise.resolve():f}));return Promise.all(n).then(eo)}fetchQuery(r){const s=this.defaultQueryOptions(r);s.retry===void 0&&(s.retry=!1);const a=ut(this,os).build(this,s);return a.isStaleByTime(zE(s.staleTime,a))?a.fetch(s):Promise.resolve(a.state.data)}prefetchQuery(r){return this.fetchQuery(r).then(eo).catch(eo)}fetchInfiniteQuery(r){return r.behavior=KE(r.pages),this.fetchQuery(r)}prefetchInfiniteQuery(r){return this.fetchInfiniteQuery(r).then(eo).catch(eo)}ensureInfiniteQueryData(r){return r.behavior=KE(r.pages),this.ensureQueryData(r)}resumePausedMutations(){return Iv.isOnline()?ut(this,Hc).resumePausedMutations():Promise.resolve()}getQueryCache(){return ut(this,os)}getMutationCache(){return ut(this,Hc)}getDefaultOptions(){return ut(this,$c)}setDefaultOptions(r){Mr(this,$c,r)}setQueryDefaults(r,s){ut(this,mh).set(Fp(r),{queryKey:r,defaultOptions:s})}getQueryDefaults(r){const s=[...ut(this,mh).values()];let a={};return s.forEach(n=>{Tp(r,n.queryKey)&&(a={...a,...n.defaultOptions})}),a}setMutationDefaults(r,s){ut(this,gh).set(Fp(r),{mutationKey:r,defaultOptions:s})}getMutationDefaults(r){const s=[...ut(this,gh).values()];let a={};return s.forEach(n=>{Tp(r,n.mutationKey)&&(a={...a,...n.defaultOptions})}),a}defaultQueryOptions(r){if(r._defaulted)return r;const s={...ut(this,$c).queries,...this.getQueryDefaults(r.queryKey),...r,_defaulted:!0};return s.queryHash||(s.queryHash=lw(s.queryKey,s)),s.refetchOnReconnect===void 0&&(s.refetchOnReconnect=s.networkMode!=="always"),s.throwOnError===void 0&&(s.throwOnError=!!s.suspense),!s.networkMode&&s.persister&&(s.networkMode="offlineFirst"),s.enabled!==!0&&s.queryFn===Rx&&(s.enabled=!1),s}defaultMutationOptions(r){return r!=null&&r._defaulted?r:{...ut(this,$c).mutations,...(r==null?void 0:r.mutationKey)&&this.getMutationDefaults(r.mutationKey),...r,_defaulted:!0}}clear(){ut(this,os).clear(),ut(this,Hc).clear()}},os=new WeakMap,Hc=new WeakMap,$c=new WeakMap,mh=new WeakMap,gh=new WeakMap,Wc=new WeakMap,vh=new WeakMap,bh=new WeakMap,FF),DM="VUE_QUERY_CLIENT";function EM(t){const r=t?`:${t}`:"";return`${DM}${r}`}function zH(t,r){Object.keys(t).forEach(s=>{t[s]=r[s]})}function V4(t,r,s="",a=0){if(r){const n=r(t,s,a);if(n===void 0&&un(t)||n!==void 0)return n}if(Array.isArray(t))return t.map((n,e)=>V4(n,r,String(e),a+1));if(typeof t=="object"&&TM(t)){const n=Object.entries(t).map(([e,f])=>[e,V4(f,r,e,a+1)]);return Object.fromEntries(n)}return t}function FM(t,r){return V4(t,r)}function qr(t,r=!1){return FM(t,(s,a,n)=>{if(n===1&&a==="queryKey")return qr(s,!0);if(r&&xM(s))return qr(s(),r);if(un(s))return qr(Zt(s),r)})}function TM(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const r=Object.getPrototypeOf(t);return r===null||r===Object.prototype}function xM(t){return typeof t=="function"}function VH(t,r){return typeof t=="function"?t(...r):!!t}var AM=class extends Ux{find(t){return super.find(qr(t))}findAll(t={}){return super.findAll(qr(t))}},CM=class extends Hx{find(t){return super.find(qr(t))}findAll(t={}){return super.findAll(qr(t))}},SM=class extends wM{constructor(t={}){const r={defaultOptions:t.defaultOptions,queryCache:t.queryCache||new AM,mutationCache:t.mutationCache||new CM};super(r),this.isRestoring=er(!1)}isFetching(t={}){return super.isFetching(qr(t))}isMutating(t={}){return super.isMutating(qr(t))}getQueryData(t){return super.getQueryData(qr(t))}ensureQueryData(t){return super.ensureQueryData(qr(t))}getQueriesData(t){return super.getQueriesData(qr(t))}setQueryData(t,r,s={}){return super.setQueryData(qr(t),r,qr(s))}setQueriesData(t,r,s={}){return super.setQueriesData(qr(t),r,qr(s))}getQueryState(t){return super.getQueryState(qr(t))}removeQueries(t={}){return super.removeQueries(qr(t))}resetQueries(t={},r={}){return super.resetQueries(qr(t),qr(r))}cancelQueries(t={},r={}){return super.cancelQueries(qr(t),qr(r))}invalidateQueries(t={},r={}){const s=qr(t),a=qr(r);if(super.invalidateQueries({...s,refetchType:"none"},a),s.refetchType==="none")return Promise.resolve();const n={...s,type:s.refetchType??s.type??"active"};return va().then(()=>super.refetchQueries(n,a))}refetchQueries(t={},r={}){return super.refetchQueries(qr(t),qr(r))}fetchQuery(t){return super.fetchQuery(qr(t))}prefetchQuery(t){return super.prefetchQuery(qr(t))}fetchInfiniteQuery(t){return super.fetchInfiniteQuery(qr(t))}prefetchInfiniteQuery(t){return super.prefetchInfiniteQuery(qr(t))}setDefaultOptions(t){super.setDefaultOptions(qr(t))}setQueryDefaults(t,r){super.setQueryDefaults(qr(t),qr(r))}getQueryDefaults(t){return super.getQueryDefaults(qr(t))}setMutationDefaults(t,r){super.setMutationDefaults(qr(t),qr(r))}getMutationDefaults(t){return super.getMutationDefaults(qr(t))}},kM={install:(t,r={})=>{const s=EM(r.queryClientKey);let a;if("queryClient"in r&&r.queryClient)a=r.queryClient;else{const f="queryClientConfig"in r?r.queryClientConfig:void 0;a=new SM(f)}Hp||a.mount();let n=()=>{};if(r.clientPersister){a.isRestoring.value=!0;const[f,v]=r.clientPersister(a);n=f,v.then(()=>{var b;a.isRestoring.value=!1,(b=r.clientPersisterOnSuccess)==null||b.call(r,a)})}const e=()=>{a.unmount(),n()};if(t.onUnmount)t.onUnmount(e);else{const f=t.unmount;t.unmount=function(){e(),f()}}t.provide(s,a)}};const OM=us({__name:"App",setup(t){return C9({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>sx.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>UP.value?"/favicon-dark.svg":"/favicon.svg"}]}),(r,s)=>{const a=uo("RouterView");return Hr(),Xo(a)}}}),Ny=new WeakMap;function $x(t,r,s={}){const{mode:a="replace",route:n=bT(),router:e=BR(),transform:f=T=>T}=s;Ny.has(e)||Ny.set(e,new Map);const v=Ny.get(e);let b=n.query[t];el(()=>{b=void 0});let D;const F=Jv((T,C)=>(D=C,{get(){return T(),f(b!==void 0?b:Hn(r))},set(O){b!==O&&(b=O===r||O===null?void 0:O,v.set(t,O===r||O===null?void 0:O),C(),va(()=>{if(v.size===0)return;const N=Object.fromEntries(v.entries());v.clear();const{params:B,query:V,hash:G}=n;e[Hn(a)]({params:B,query:{...V,...N},hash:G})}))}}));return In(()=>n.query[t],T=>{b=T,D()},{flush:"sync"}),F}var Wx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){var s=1e3,a=6e4,n=36e5,e="millisecond",f="second",v="minute",b="hour",D="day",F="week",T="month",C="quarter",O="year",N="date",B="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,G=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,X={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Ee){var Ue=["th","st","nd","rd"],ve=Ee%100;return"["+Ee+(Ue[(ve-20)%10]||Ue[ve]||Ue[0])+"]"}},H=function(Ee,Ue,ve){var fe=String(Ee);return!fe||fe.length>=Ue?Ee:""+Array(Ue+1-fe.length).join(ve)+Ee},z={s:H,z:function(Ee){var Ue=-Ee.utcOffset(),ve=Math.abs(Ue),fe=Math.floor(ve/60),Fe=ve%60;return(Ue<=0?"+":"-")+H(fe,2,"0")+":"+H(Fe,2,"0")},m:function Ee(Ue,ve){if(Ue.date()<ve.date())return-Ee(ve,Ue);var fe=12*(ve.year()-Ue.year())+(ve.month()-Ue.month()),Fe=Ue.clone().add(fe,T),Oe=ve-Fe<0,Re=Ue.clone().add(fe+(Oe?-1:1),T);return+(-(fe+(ve-Fe)/(Oe?Fe-Re:Re-Fe))||0)},a:function(Ee){return Ee<0?Math.ceil(Ee)||0:Math.floor(Ee)},p:function(Ee){return{M:T,y:O,w:F,d:D,D:N,h:b,m:v,s:f,ms:e,Q:C}[Ee]||String(Ee||"").toLowerCase().replace(/s$/,"")},u:function(Ee){return Ee===void 0}},Y="en",ee={};ee[Y]=X;var K="$isDayjsObject",P=function(Ee){return Ee instanceof oe||!(!Ee||!Ee[K])},I=function Ee(Ue,ve,fe){var Fe;if(!Ue)return Y;if(typeof Ue=="string"){var Oe=Ue.toLowerCase();ee[Oe]&&(Fe=Oe),ve&&(ee[Oe]=ve,Fe=Oe);var Re=Ue.split("-");if(!Fe&&Re.length>1)return Ee(Re[0])}else{var ce=Ue.name;ee[ce]=Ue,Fe=ce}return!fe&&Fe&&(Y=Fe),Fe||!fe&&Y},W=function(Ee,Ue){if(P(Ee))return Ee.clone();var ve=typeof Ue=="object"?Ue:{};return ve.date=Ee,ve.args=arguments,new oe(ve)},ae=z;ae.l=I,ae.i=P,ae.w=function(Ee,Ue){return W(Ee,{locale:Ue.$L,utc:Ue.$u,x:Ue.$x,$offset:Ue.$offset})};var oe=function(){function Ee(ve){this.$L=I(ve.locale,null,!0),this.parse(ve),this.$x=this.$x||ve.x||{},this[K]=!0}var Ue=Ee.prototype;return Ue.parse=function(ve){this.$d=function(fe){var Fe=fe.date,Oe=fe.utc;if(Fe===null)return new Date(NaN);if(ae.u(Fe))return new Date;if(Fe instanceof Date)return new Date(Fe);if(typeof Fe=="string"&&!/Z$/i.test(Fe)){var Re=Fe.match(V);if(Re){var ce=Re[2]-1||0,we=(Re[7]||"0").substring(0,3);return Oe?new Date(Date.UTC(Re[1],ce,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,we)):new Date(Re[1],ce,Re[3]||1,Re[4]||0,Re[5]||0,Re[6]||0,we)}}return new Date(Fe)}(ve),this.init()},Ue.init=function(){var ve=this.$d;this.$y=ve.getFullYear(),this.$M=ve.getMonth(),this.$D=ve.getDate(),this.$W=ve.getDay(),this.$H=ve.getHours(),this.$m=ve.getMinutes(),this.$s=ve.getSeconds(),this.$ms=ve.getMilliseconds()},Ue.$utils=function(){return ae},Ue.isValid=function(){return this.$d.toString()!==B},Ue.isSame=function(ve,fe){var Fe=W(ve);return this.startOf(fe)<=Fe&&Fe<=this.endOf(fe)},Ue.isAfter=function(ve,fe){return W(ve)<this.startOf(fe)},Ue.isBefore=function(ve,fe){return this.endOf(fe)<W(ve)},Ue.$g=function(ve,fe,Fe){return ae.u(ve)?this[fe]:this.set(Fe,ve)},Ue.unix=function(){return Math.floor(this.valueOf()/1e3)},Ue.valueOf=function(){return this.$d.getTime()},Ue.startOf=function(ve,fe){var Fe=this,Oe=!!ae.u(fe)||fe,Re=ae.p(ve),ce=function(de,Ye){var gt=ae.w(Fe.$u?Date.UTC(Fe.$y,Ye,de):new Date(Fe.$y,Ye,de),Fe);return Oe?gt:gt.endOf(D)},we=function(de,Ye){return ae.w(Fe.toDate()[de].apply(Fe.toDate("s"),(Oe?[0,0,0,0]:[23,59,59,999]).slice(Ye)),Fe)},We=this.$W,ke=this.$M,ge=this.$D,Ie="set"+(this.$u?"UTC":"");switch(Re){case O:return Oe?ce(1,0):ce(31,11);case T:return Oe?ce(1,ke):ce(0,ke+1);case F:var se=this.$locale().weekStart||0,Pe=(We<se?We+7:We)-se;return ce(Oe?ge-Pe:ge+(6-Pe),ke);case D:case N:return we(Ie+"Hours",0);case b:return we(Ie+"Minutes",1);case v:return we(Ie+"Seconds",2);case f:return we(Ie+"Milliseconds",3);default:return this.clone()}},Ue.endOf=function(ve){return this.startOf(ve,!1)},Ue.$set=function(ve,fe){var Fe,Oe=ae.p(ve),Re="set"+(this.$u?"UTC":""),ce=(Fe={},Fe[D]=Re+"Date",Fe[N]=Re+"Date",Fe[T]=Re+"Month",Fe[O]=Re+"FullYear",Fe[b]=Re+"Hours",Fe[v]=Re+"Minutes",Fe[f]=Re+"Seconds",Fe[e]=Re+"Milliseconds",Fe)[Oe],we=Oe===D?this.$D+(fe-this.$W):fe;if(Oe===T||Oe===O){var We=this.clone().set(N,1);We.$d[ce](we),We.init(),this.$d=We.set(N,Math.min(this.$D,We.daysInMonth())).$d}else ce&&this.$d[ce](we);return this.init(),this},Ue.set=function(ve,fe){return this.clone().$set(ve,fe)},Ue.get=function(ve){return this[ae.p(ve)]()},Ue.add=function(ve,fe){var Fe,Oe=this;ve=Number(ve);var Re=ae.p(fe),ce=function(ke){var ge=W(Oe);return ae.w(ge.date(ge.date()+Math.round(ke*ve)),Oe)};if(Re===T)return this.set(T,this.$M+ve);if(Re===O)return this.set(O,this.$y+ve);if(Re===D)return ce(1);if(Re===F)return ce(7);var we=(Fe={},Fe[v]=a,Fe[b]=n,Fe[f]=s,Fe)[Re]||1,We=this.$d.getTime()+ve*we;return ae.w(We,this)},Ue.subtract=function(ve,fe){return this.add(-1*ve,fe)},Ue.format=function(ve){var fe=this,Fe=this.$locale();if(!this.isValid())return Fe.invalidDate||B;var Oe=ve||"YYYY-MM-DDTHH:mm:ssZ",Re=ae.z(this),ce=this.$H,we=this.$m,We=this.$M,ke=Fe.weekdays,ge=Fe.months,Ie=Fe.meridiem,se=function(Ye,gt,nt,J){return Ye&&(Ye[gt]||Ye(fe,Oe))||nt[gt].slice(0,J)},Pe=function(Ye){return ae.s(ce%12||12,Ye,"0")},de=Ie||function(Ye,gt,nt){var J=Ye<12?"AM":"PM";return nt?J.toLowerCase():J};return Oe.replace(G,function(Ye,gt){return gt||function(nt){switch(nt){case"YY":return String(fe.$y).slice(-2);case"YYYY":return ae.s(fe.$y,4,"0");case"M":return We+1;case"MM":return ae.s(We+1,2,"0");case"MMM":return se(Fe.monthsShort,We,ge,3);case"MMMM":return se(ge,We);case"D":return fe.$D;case"DD":return ae.s(fe.$D,2,"0");case"d":return String(fe.$W);case"dd":return se(Fe.weekdaysMin,fe.$W,ke,2);case"ddd":return se(Fe.weekdaysShort,fe.$W,ke,3);case"dddd":return ke[fe.$W];case"H":return String(ce);case"HH":return ae.s(ce,2,"0");case"h":return Pe(1);case"hh":return Pe(2);case"a":return de(ce,we,!0);case"A":return de(ce,we,!1);case"m":return String(we);case"mm":return ae.s(we,2,"0");case"s":return String(fe.$s);case"ss":return ae.s(fe.$s,2,"0");case"SSS":return ae.s(fe.$ms,3,"0");case"Z":return Re}return null}(Ye)||Re.replace(":","")})},Ue.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},Ue.diff=function(ve,fe,Fe){var Oe,Re=this,ce=ae.p(fe),we=W(ve),We=(we.utcOffset()-this.utcOffset())*a,ke=this-we,ge=function(){return ae.m(Re,we)};switch(ce){case O:Oe=ge()/12;break;case T:Oe=ge();break;case C:Oe=ge()/3;break;case F:Oe=(ke-We)/6048e5;break;case D:Oe=(ke-We)/864e5;break;case b:Oe=ke/n;break;case v:Oe=ke/a;break;case f:Oe=ke/s;break;default:Oe=ke}return Fe?Oe:ae.a(Oe)},Ue.daysInMonth=function(){return this.endOf(T).$D},Ue.$locale=function(){return ee[this.$L]},Ue.locale=function(ve,fe){if(!ve)return this.$L;var Fe=this.clone(),Oe=I(ve,fe,!0);return Oe&&(Fe.$L=Oe),Fe},Ue.clone=function(){return ae.w(this.$d,this)},Ue.toDate=function(){return new Date(this.valueOf())},Ue.toJSON=function(){return this.isValid()?this.toISOString():null},Ue.toISOString=function(){return this.$d.toISOString()},Ue.toString=function(){return this.$d.toUTCString()},Ee}(),be=oe.prototype;return W.prototype=be,[["$ms",e],["$s",f],["$m",v],["$H",b],["$W",D],["$M",T],["$y",O],["$D",N]].forEach(function(Ee){be[Ee[1]]=function(Ue){return this.$g(Ue,Ee[0],Ee[1])}}),W.extend=function(Ee,Ue){return Ee.$i||(Ee(Ue,oe,W),Ee.$i=!0),W},W.locale=I,W.isDayjs=P,W.unix=function(Ee){return W(1e3*Ee)},W.en=ee[Y],W.Ls=ee,W.p={},W})})(Wx);var RM=Wx.exports;const di=Ni(RM);var zx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){var s,a,n=1e3,e=6e4,f=36e5,v=864e5,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D=31536e6,F=2628e6,T=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,C={years:D,months:F,days:v,hours:f,minutes:e,seconds:n,milliseconds:1,weeks:6048e5},O=function(ee){return ee instanceof z},N=function(ee,K,P){return new z(ee,P,K.$l)},B=function(ee){return a.p(ee)+"s"},V=function(ee){return ee<0},G=function(ee){return V(ee)?Math.ceil(ee):Math.floor(ee)},X=function(ee){return Math.abs(ee)},H=function(ee,K){return ee?V(ee)?{negative:!0,format:""+X(ee)+K}:{negative:!1,format:""+ee+K}:{negative:!1,format:""}},z=function(){function ee(P,I,W){var ae=this;if(this.$d={},this.$l=W,P===void 0&&(this.$ms=0,this.parseFromMilliseconds()),I)return N(P*C[B(I)],this);if(typeof P=="number")return this.$ms=P,this.parseFromMilliseconds(),this;if(typeof P=="object")return Object.keys(P).forEach(function(Ee){ae.$d[B(Ee)]=P[Ee]}),this.calMilliseconds(),this;if(typeof P=="string"){var oe=P.match(T);if(oe){var be=oe.slice(2).map(function(Ee){return Ee!=null?Number(Ee):0});return this.$d.years=be[0],this.$d.months=be[1],this.$d.weeks=be[2],this.$d.days=be[3],this.$d.hours=be[4],this.$d.minutes=be[5],this.$d.seconds=be[6],this.calMilliseconds(),this}}return this}var K=ee.prototype;return K.calMilliseconds=function(){var P=this;this.$ms=Object.keys(this.$d).reduce(function(I,W){return I+(P.$d[W]||0)*C[W]},0)},K.parseFromMilliseconds=function(){var P=this.$ms;this.$d.years=G(P/D),P%=D,this.$d.months=G(P/F),P%=F,this.$d.days=G(P/v),P%=v,this.$d.hours=G(P/f),P%=f,this.$d.minutes=G(P/e),P%=e,this.$d.seconds=G(P/n),P%=n,this.$d.milliseconds=P},K.toISOString=function(){var P=H(this.$d.years,"Y"),I=H(this.$d.months,"M"),W=+this.$d.days||0;this.$d.weeks&&(W+=7*this.$d.weeks);var ae=H(W,"D"),oe=H(this.$d.hours,"H"),be=H(this.$d.minutes,"M"),Ee=this.$d.seconds||0;this.$d.milliseconds&&(Ee+=this.$d.milliseconds/1e3,Ee=Math.round(1e3*Ee)/1e3);var Ue=H(Ee,"S"),ve=P.negative||I.negative||ae.negative||oe.negative||be.negative||Ue.negative,fe=oe.format||be.format||Ue.format?"T":"",Fe=(ve?"-":"")+"P"+P.format+I.format+ae.format+fe+oe.format+be.format+Ue.format;return Fe==="P"||Fe==="-P"?"P0D":Fe},K.toJSON=function(){return this.toISOString()},K.format=function(P){var I=P||"YYYY-MM-DDTHH:mm:ss",W={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return I.replace(b,function(ae,oe){return oe||String(W[ae])})},K.as=function(P){return this.$ms/C[B(P)]},K.get=function(P){var I=this.$ms,W=B(P);return W==="milliseconds"?I%=1e3:I=W==="weeks"?G(I/C[W]):this.$d[W],I||0},K.add=function(P,I,W){var ae;return ae=I?P*C[B(I)]:O(P)?P.$ms:N(P,this).$ms,N(this.$ms+ae*(W?-1:1),this)},K.subtract=function(P,I){return this.add(P,I,!0)},K.locale=function(P){var I=this.clone();return I.$l=P,I},K.clone=function(){return N(this.$ms,this)},K.humanize=function(P){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!P)},K.valueOf=function(){return this.asMilliseconds()},K.milliseconds=function(){return this.get("milliseconds")},K.asMilliseconds=function(){return this.as("milliseconds")},K.seconds=function(){return this.get("seconds")},K.asSeconds=function(){return this.as("seconds")},K.minutes=function(){return this.get("minutes")},K.asMinutes=function(){return this.as("minutes")},K.hours=function(){return this.get("hours")},K.asHours=function(){return this.as("hours")},K.days=function(){return this.get("days")},K.asDays=function(){return this.as("days")},K.weeks=function(){return this.get("weeks")},K.asWeeks=function(){return this.as("weeks")},K.months=function(){return this.get("months")},K.asMonths=function(){return this.as("months")},K.years=function(){return this.get("years")},K.asYears=function(){return this.as("years")},ee}(),Y=function(ee,K,P){return ee.add(K.years()*P,"y").add(K.months()*P,"M").add(K.days()*P,"d").add(K.hours()*P,"h").add(K.minutes()*P,"m").add(K.seconds()*P,"s").add(K.milliseconds()*P,"ms")};return function(ee,K,P){s=P,a=P().$utils(),P.duration=function(ae,oe){var be=P.locale();return N(ae,{$l:be},oe)},P.isDuration=O;var I=K.prototype.add,W=K.prototype.subtract;K.prototype.add=function(ae,oe){return O(ae)?Y(this,ae,1):I.bind(this)(ae,oe)},K.prototype.subtract=function(ae,oe){return O(ae)?Y(this,ae,-1):W.bind(this)(ae,oe)}}})})(zx);var IM=zx.exports;const PM=Ni(IM);var Vx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){var s="minute",a=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(e,f,v){var b=f.prototype;v.utc=function(B){var V={date:B,utc:!0,args:arguments};return new f(V)},b.utc=function(B){var V=v(this.toDate(),{locale:this.$L,utc:!0});return B?V.add(this.utcOffset(),s):V},b.local=function(){return v(this.toDate(),{locale:this.$L,utc:!1})};var D=b.parse;b.parse=function(B){B.utc&&(this.$u=!0),this.$utils().u(B.$offset)||(this.$offset=B.$offset),D.call(this,B)};var F=b.init;b.init=function(){if(this.$u){var B=this.$d;this.$y=B.getUTCFullYear(),this.$M=B.getUTCMonth(),this.$D=B.getUTCDate(),this.$W=B.getUTCDay(),this.$H=B.getUTCHours(),this.$m=B.getUTCMinutes(),this.$s=B.getUTCSeconds(),this.$ms=B.getUTCMilliseconds()}else F.call(this)};var T=b.utcOffset;b.utcOffset=function(B,V){var G=this.$utils().u;if(G(B))return this.$u?0:G(this.$offset)?T.call(this):this.$offset;if(typeof B=="string"&&(B=function(Y){Y===void 0&&(Y="");var ee=Y.match(a);if(!ee)return null;var K=(""+ee[0]).match(n)||["-",0,0],P=K[0],I=60*+K[1]+ +K[2];return I===0?0:P==="+"?I:-I}(B),B===null))return this;var X=Math.abs(B)<=16?60*B:B,H=this;if(V)return H.$offset=X,H.$u=B===0,H;if(B!==0){var z=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(H=this.local().add(X+z,s)).$offset=X,H.$x.$localOffset=z}else H=this.utc();return H};var C=b.format;b.format=function(B){var V=B||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return C.call(this,V)},b.valueOf=function(){var B=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*B},b.isUTC=function(){return!!this.$u},b.toISOString=function(){return this.toDate().toISOString()},b.toString=function(){return this.toDate().toUTCString()};var O=b.toDate;b.toDate=function(B){return B==="s"&&this.$offset?v(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():O.call(this)};var N=b.diff;b.diff=function(B,V,G){if(B&&this.$u===B.$u)return N.call(this,B,V,G);var X=this.local(),H=v(B).local();return N.call(X,H,V,G)}}})})(Vx);var NM=Vx.exports;const MM=Ni(NM);var Gx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){var s={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(n,e,f){var v,b=function(C,O,N){N===void 0&&(N={});var B=new Date(C),V=function(G,X){X===void 0&&(X={});var H=X.timeZoneName||"short",z=G+"|"+H,Y=a[z];return Y||(Y=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:G,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:H}),a[z]=Y),Y}(O,N);return V.formatToParts(B)},D=function(C,O){for(var N=b(C,O),B=[],V=0;V<N.length;V+=1){var G=N[V],X=G.type,H=G.value,z=s[X];z>=0&&(B[z]=parseInt(H,10))}var Y=B[3],ee=Y===24?0:Y,K=B[0]+"-"+B[1]+"-"+B[2]+" "+ee+":"+B[4]+":"+B[5]+":000",P=+C;return(f.utc(K).valueOf()-(P-=P%1e3))/6e4},F=e.prototype;F.tz=function(C,O){C===void 0&&(C=v);var N,B=this.utcOffset(),V=this.toDate(),G=V.toLocaleString("en-US",{timeZone:C}),X=Math.round((V-new Date(G))/1e3/60),H=15*-Math.round(V.getTimezoneOffset()/15)-X;if(!Number(H))N=this.utcOffset(0,O);else if(N=f(G,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(H,!0),O){var z=N.utcOffset();N=N.add(B-z,"minute")}return N.$x.$timezone=C,N},F.offsetName=function(C){var O=this.$x.$timezone||f.tz.guess(),N=b(this.valueOf(),O,{timeZoneName:C}).find(function(B){return B.type.toLowerCase()==="timezonename"});return N&&N.value};var T=F.startOf;F.startOf=function(C,O){if(!this.$x||!this.$x.$timezone)return T.call(this,C,O);var N=f(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return T.call(N,C,O).tz(this.$x.$timezone,!0)},f.tz=function(C,O,N){var B=N&&O,V=N||O||v,G=D(+f(),V);if(typeof C!="string")return f(C).tz(V);var X=function(ee,K,P){var I=ee-60*K*1e3,W=D(I,P);if(K===W)return[I,K];var ae=D(I-=60*(W-K)*1e3,P);return W===ae?[I,W]:[ee-60*Math.min(W,ae)*1e3,Math.max(W,ae)]}(f.utc(C,B).valueOf(),G,V),H=X[0],z=X[1],Y=f(H).utcOffset(z);return Y.$x.$timezone=V,Y},f.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},f.tz.setDefault=function(C){v=C}}})})(Gx);var LM=Gx.exports;const BM=Ni(LM);var jx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a){var n=a.prototype,e=n.format;n.format=function(f){var v=this,b=this.$locale();if(!this.isValid())return e.bind(this)(f);var D=this.$utils(),F=(f||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(T){switch(T){case"Q":return Math.ceil((v.$M+1)/3);case"Do":return b.ordinal(v.$D);case"gggg":return v.weekYear();case"GGGG":return v.isoWeekYear();case"wo":return b.ordinal(v.week(),"W");case"w":case"ww":return D.s(v.week(),T==="w"?1:2,"0");case"W":case"WW":return D.s(v.isoWeek(),T==="W"?1:2,"0");case"k":case"kk":return D.s(String(v.$H===0?24:v.$H),T==="k"?1:2,"0");case"X":return Math.floor(v.$d.getTime()/1e3);case"x":return v.$d.getTime();case"z":return"["+v.offsetName()+"]";case"zzz":return"["+v.offsetName("long")+"]";default:return T}});return e.bind(this)(F)}}})})(jx);var UM=jx.exports;const HM=Ni(UM);var Yx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a){a.prototype.isSameOrBefore=function(n,e){return this.isSame(n,e)||this.isBefore(n,e)}}})})(Yx);var $M=Yx.exports;const WM=Ni($M);var Kx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a){a.prototype.isSameOrAfter=function(n,e){return this.isSame(n,e)||this.isAfter(n,e)}}})})(Kx);var zM=Kx.exports;const VM=Ni(zM);var qx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a,n){var e=function(f,v){if(!v||!v.length||v.length===1&&!v[0]||v.length===1&&Array.isArray(v[0])&&!v[0].length)return null;var b;v.length===1&&v[0].length>0&&(v=v[0]),b=(v=v.filter(function(F){return F}))[0];for(var D=1;D<v.length;D+=1)v[D].isValid()&&!v[D][f](b)||(b=v[D]);return b};n.max=function(){var f=[].slice.call(arguments,0);return e("isAfter",f)},n.min=function(){var f=[].slice.call(arguments,0);return e("isBefore",f)}}})})(qx);var GM=qx.exports;const jM=Ni(GM);var Qx={exports:{}};(function(t,r){(function(s,a){t.exports=a()})(Ys,function(){return function(s,a,n){s=s||{};var e=a.prototype,f={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function v(D,F,T,C){return e.fromToBase(D,F,T,C)}n.en.relativeTime=f,e.fromToBase=function(D,F,T,C,O){for(var N,B,V,G=T.$locale().relativeTime||f,X=s.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],H=X.length,z=0;z<H;z+=1){var Y=X[z];Y.d&&(N=C?n(D).diff(T,Y.d,!0):T.diff(D,Y.d,!0));var ee=(s.rounding||Math.round)(Math.abs(N));if(V=N>0,ee<=Y.r||!Y.r){ee<=1&&z>0&&(Y=X[z-1]);var K=G[Y.l];O&&(ee=O(""+ee)),B=typeof K=="string"?K.replace("%d",ee):K(ee,F,Y.l,V);break}}if(F)return B;var P=V?G.future:G.past;return typeof P=="function"?P(B):P.replace("%s",B)},e.to=function(D,F){return v(D,F,this,!0)},e.from=function(D,F){return v(D,F,this)};var b=function(D){return D.$u?n.utc():n()};e.toNow=function(D){return this.to(b(this),D)},e.fromNow=function(D){return this.from(b(this),D)}}})})(Qx);var YM=Qx.exports;const KM=Ni(YM);var Pv={exports:{}};/**
|
|
48
48
|
* @license
|
|
49
49
|
* Lodash <https://lodash.com/>
|
|
50
50
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -233,4 +233,4 @@ License: MIT
|
|
|
233
233
|
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
|
|
234
234
|
`,t}function MU(){const t={};return t.base64=String.raw`
|
|
235
235
|
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
|
|
236
|
-
`,t}function LU(){const t={};return t.url="/logos/hunan_cpc.png",t}function BU(t){if(!t.preset)return t;const r=t.preset.toUpperCase();return r==="ICPC"?NU():r==="CCPC"?MU():r==="HUNAN_CPC"?LU():t}const UU={"h-32":""},HU={key:0},$U={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},WU={"w-full":"",flex:""},zU={key:0,class:"logo"},VU=["src"],GU={class:"title","w-inherit":""},jU={"overflow-hidden":"","text-2xl":"",truncate:""},YU={"text-lg":""},KU={flex:"","items-end":""},qU={"float-left":"","font-mono":"","text-base":""},QU={class:"pl-0.5"},XU={"flex-1":""},JU={flex:"","items-center":"","justify-center":""},ZU={"font-bold":"","font-mono":"",class:"w-[68%]"},eH={"float-right":""},tH={class:"MuiIconButton-label"},rH=us({__name:"ContestIndexUI",props:{data:null},setup(t){const r=t,{t:s}=Nh(),a=Sr(()=>r.data.contest),n=nx(),e=er(null),f=RP(e),v=Sr(()=>{if(a.value.logo)return BU(a.value.logo)});return(b,D)=>{const F=GT,T=PU,C=SU,O=AU,N=uo("RouterLink");return Hr(),Fn("div",{ref_key:"el",ref:e},[It("div",UU,[Zt(f)?(Hr(),Fn("div",HU,[It("div",$U,[It("div",WU,[Zt(v)!==void 0?(Hr(),Fn("div",zU,[It("img",{class:"h-10 w-10",src:Zt(gU)(Zt(v)),alt:"logo"},null,8,VU)])):pa("",!0),It("div",GU,[Cr(F,null,{popper:Gs(()=>[It("div",YU,vs(Zt(a).name),1)]),default:Gs(()=>[It("div",jU,vs(Zt(a).name),1)]),_:1})])]),It("div",KU,[It("div",qU,[Vo(vs(Zt(s)("index.start"))+": "+vs(Zt(a).startTime.format("YYYY-MM-DD HH:mm:ss")),1),It("sup",QU,vs(Zt(a).startTime.format("z")),1),D[0]||(D[0]=It("br",null,null,-1)),Vo(" "+vs(Zt(s)("index.duration"))+": "+vs(Zt(a).getContestDuration()),1)]),It("div",XU,[It("div",JU,[It("div",ZU,[It("div",null,[Cr(T,{state:Zt(a).getContestState(Zt(n)),"pending-time":Zt(a).getContestPendingTime(Zt(n))},null,8,["state","pending-time"])]),Cr(C,{width:Zt(a).getContestProgressRatio(Zt(n)),state:Zt(a).getContestState(Zt(n))},null,8,["width","state"])])])]),It("div",eH,[Cr(N,{class:"go MuiIconButton-root",to:r.data.boardLink},{default:Gs(()=>[It("span",tH,[Cr(O)])]),_:1},8,["to"])])])])])):pa("",!0)])],512)}}});const nH=Mh(rH,[["__scopeId","data-v-32fa4e5c"]]),sH={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},iH={key:0,"mt-4":"","mb-4":"",class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":"","items-center":""},aH={key:0},oH={key:1},lH={key:1,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},cH={"w-240":""},uH={key:0,"mt-4":""},fH={key:1,p10:""},hH={row:"","justify-center":""},mF=1e3*60*5,YA=us({__name:"index",setup(t){const{t:r}=Nh();MP(WI);const s=nx(),a=Sr(()=>Math.floor(s.value.getTime()/mF));function n(){return`${window.DATA_HOST}index/contest_list.json?t=${a.value}`}const e=er(n()),f=$x("s","",{transform:String}),v=er(f.value),b=er(null),D=er([]),F=er([]);function T(){F.value=D.value.filter(G=>{var X;return((X=v.value)==null?void 0:X.length)===0&&(v.value=null),v.value===null?(f.value=void 0,!0):(f.value=v.value,!!(G.contest.name.includes(v.value)||G.contest.name.toLowerCase().includes(v.value.toLowerCase())||G.boardLink.toLocaleLowerCase().includes(v.value.toLowerCase())))})}function C(){var G;v.value=null,(G=b.value)==null||G.focus()}const{error:O,isFetching:N,isFinished:B}=PP(e,{refetch:!0,afterFetch:G=>(D.value=mU(JSON.parse(G.data)),F.value=D.value.map(X=>X),T(),G)}).get();In(v,()=>{T()});const V=setInterval(()=>{e.value=n()},mF);return kf(()=>{clearInterval(V)}),(G,X)=>(Hr(),Fn("div",sH,[It("div",null,[Zt(N)||Zt(O)?(Hr(),Fn("div",iH,[Zt(N)?(Hr(),Fn("div",aH,vs(Zt(r)("common.loading"))+"... ",1)):pa("",!0),Zt(O)?(Hr(),Fn("div",oH,vs(Zt(O)),1)):pa("",!0)])):pa("",!0),Zt(B)?(Hr(),Fn("div",lH,[It("div",cH,[Cr(EU,{ref_key:"searchInputRef",ref:b,modelValue:Zt(v),"onUpdate:modelValue":X[0]||(X[0]=H=>un(v)?v.value=H:null)},null,8,["modelValue"])]),Zt(F).length?(Hr(),Fn("div",uH,[(Hr(!0),Fn(Yn,null,N6(Zt(F),H=>(Hr(),Xo(nH,{key:H.boardLink,data:H},null,8,["data"]))),128))])):(Hr(),Fn("div",fH,[X[2]||(X[2]=It("div",{op40:"",italic:"",mb5:""}," No result found ",-1)),It("div",hH,[It("button",{btn:"",onClick:X[1]||(X[1]=H=>C())}," Clear search ")])]))])):pa("",!0)])]))}}),gF={};typeof gF=="function"&&gF(YA);const dH=()=>ni(()=>import("./index-86ef642b.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/index-86ef642b.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/query-ff21040c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-11e5a08c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-f91fd6e0.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/index-c827bc8f.css"],import.meta.url),pH=()=>ni(()=>import("./index-0095f855.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/index-0095f855.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/index-241beb5a.css"],import.meta.url),mH=()=>ni(()=>import("./index-b97b2d45.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/index-b97b2d45.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/query-ff21040c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-11e5a08c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-f91fd6e0.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/index-accb347c.css"],import.meta.url),gH=()=>ni(()=>import("./index-d51c6c02.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/index-d51c6c02.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/query-ff21040c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-11e5a08c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-f91fd6e0.js"],import.meta.url),vH=()=>ni(()=>import("./test-5dd32cac.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/test-5dd32cac.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-f91fd6e0.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/user-cd9a56f6.js"],import.meta.url),bH=()=>ni(()=>import("./board-3f91f491.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/board-3f91f491.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/Board-04b0589d.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/pagination-6eac914a.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-f91fd6e0.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/query-ff21040c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/Board-f05c0366.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-11e5a08c.js"],import.meta.url),_H=()=>ni(()=>import("./about-d9d865e0.js"),[],import.meta.url),yH=()=>ni(()=>import("./_...all_-905784b3.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/_...all_-905784b3.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/Board-04b0589d.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/pagination-6eac914a.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-f91fd6e0.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/query-ff21040c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/Board-f05c0366.css"],import.meta.url),wH=()=>ni(()=>import("./_name_-203db09f.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/_name_-203db09f.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/user-cd9a56f6.js"],import.meta.url),DH=()=>ni(()=>import("./_...all_-85910c2a.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/_...all_-85910c2a.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/pagination-6eac914a.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.0/dist/assets/_...all_-c60acc8c.css"],import.meta.url),EH=[{name:"resolver",path:"/resolver",component:dH,props:!0,meta:{layout:"headless"}},{name:"rating",path:"/rating",component:pH,props:!0,meta:{layout:"index-layout"}},{name:"countdown",path:"/countdown",component:mH,props:!0,meta:{layout:"headless"}},{name:"balloon",path:"/balloon",component:gH,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:vH,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:YA,props:!0,meta:{layout:"index-layout"}},{name:"board",path:"/board",component:bH,props:!0,meta:{layout:"board-layout"}},{name:"about",path:"/about",component:_H,props:!0},{name:"all",path:"/:all(.*)*",component:yH,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:wH,props:!0},{name:"rating-all",path:"/rating/:all(.*)",component:DH,props:!0}];const FH=JP(EH);I9(OM,{routes:FH,base:"/"},t=>{Object.values(Object.assign({"./modules/i18n.ts":v7,"./modules/nprogress.ts":y7,"./modules/pinia.ts":S7,"./modules/pwa.ts":O7,"./modules/toast.ts":M7})).forEach(r=>{var s;return(s=r.install)==null?void 0:s.call(r,t)}),t.app.use(rM),t.app.use(kM)});export{wU as $,bP as A,NH as B,JH as C,gF as D,RP as E,Yn as F,AU as G,AH as H,PP as I,Xo as J,OH as K,kH as L,so as M,oo as N,CH as O,lU as P,pF as Q,SH as R,BR as S,SO as T,un as U,N5 as V,bT as W,C9 as X,Mk as Y,cU as Z,ni as _,Mh as a,dp as a$,y6 as a0,k3 as a1,Df as a2,CP as a3,Ba as a4,va as a5,Ul as a6,IH as a7,Cp as a8,Ys as a9,zE as aA,eo as aB,Hp as aC,sM as aD,iM as aE,Px as aF,gM as aG,lM as aH,Ri as aI,U6 as aJ,Pi as aK,EM as aL,qr as aM,l3 as aN,zH as aO,n3 as aP,VH as aQ,l6 as aR,VI as aS,I5 as aT,sb as aU,T3 as aV,xH as aW,KH as aX,qH as aY,VA as aZ,BH as a_,Ni as aa,I7 as ab,MH as ac,GH as ad,jH as ae,YH as af,q2 as ag,BO as ah,RH as ai,gU as aj,ao as ak,$x as al,mo as am,HT as an,WI as ao,bU as ap,mP as aq,PH as ar,LH as as,kf as at,jT as au,PU as av,SU as aw,mb as ax,aM as ay,UH as az,Cr as b,R7 as b0,Fn as c,It as d,jP as e,nP as f,us as g,Sr as h,er as i,N6 as j,Vo as k,pa as l,GT as m,Ii as n,Hr as o,MP as p,Nh as q,uo as r,nx as s,vs as t,Zt as u,In as v,Gs as w,hU as x,QH as y,XH as z};
|
|
236
|
+
`,t}function LU(){const t={};return t.url="/logos/hunan_cpc.png",t}function BU(t){if(!t.preset)return t;const r=t.preset.toUpperCase();return r==="ICPC"?NU():r==="CCPC"?MU():r==="HUNAN_CPC"?LU():t}const UU={"h-32":""},HU={key:0},$U={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},WU={"w-full":"",flex:""},zU={key:0,class:"logo"},VU=["src"],GU={class:"title","w-inherit":""},jU={"overflow-hidden":"","text-2xl":"",truncate:""},YU={"text-lg":""},KU={flex:"","items-end":""},qU={"float-left":"","font-mono":"","text-base":""},QU={class:"pl-0.5"},XU={"flex-1":""},JU={flex:"","items-center":"","justify-center":""},ZU={"font-bold":"","font-mono":"",class:"w-[68%]"},eH={"float-right":""},tH={class:"MuiIconButton-label"},rH=us({__name:"ContestIndexUI",props:{data:null},setup(t){const r=t,{t:s}=Nh(),a=Sr(()=>r.data.contest),n=nx(),e=er(null),f=RP(e),v=Sr(()=>{if(a.value.logo)return BU(a.value.logo)});return(b,D)=>{const F=GT,T=PU,C=SU,O=AU,N=uo("RouterLink");return Hr(),Fn("div",{ref_key:"el",ref:e},[It("div",UU,[Zt(f)?(Hr(),Fn("div",HU,[It("div",$U,[It("div",WU,[Zt(v)!==void 0?(Hr(),Fn("div",zU,[It("img",{class:"h-10 w-10",src:Zt(gU)(Zt(v)),alt:"logo"},null,8,VU)])):pa("",!0),It("div",GU,[Cr(F,null,{popper:Gs(()=>[It("div",YU,vs(Zt(a).name),1)]),default:Gs(()=>[It("div",jU,vs(Zt(a).name),1)]),_:1})])]),It("div",KU,[It("div",qU,[Vo(vs(Zt(s)("index.start"))+": "+vs(Zt(a).startTime.format("YYYY-MM-DD HH:mm:ss")),1),It("sup",QU,vs(Zt(a).startTime.format("z")),1),D[0]||(D[0]=It("br",null,null,-1)),Vo(" "+vs(Zt(s)("index.duration"))+": "+vs(Zt(a).getContestDuration()),1)]),It("div",XU,[It("div",JU,[It("div",ZU,[It("div",null,[Cr(T,{state:Zt(a).getContestState(Zt(n)),"pending-time":Zt(a).getContestPendingTime(Zt(n))},null,8,["state","pending-time"])]),Cr(C,{width:Zt(a).getContestProgressRatio(Zt(n)),state:Zt(a).getContestState(Zt(n))},null,8,["width","state"])])])]),It("div",eH,[Cr(N,{class:"go MuiIconButton-root",to:r.data.boardLink},{default:Gs(()=>[It("span",tH,[Cr(O)])]),_:1},8,["to"])])])])])):pa("",!0)])],512)}}});const nH=Mh(rH,[["__scopeId","data-v-32fa4e5c"]]),sH={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},iH={key:0,"mt-4":"","mb-4":"",class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":"","items-center":""},aH={key:0},oH={key:1},lH={key:1,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},cH={"w-240":""},uH={key:0,"mt-4":""},fH={key:1,p10:""},hH={row:"","justify-center":""},mF=1e3*60*5,YA=us({__name:"index",setup(t){const{t:r}=Nh();MP(WI);const s=nx(),a=Sr(()=>Math.floor(s.value.getTime()/mF));function n(){return`${window.DATA_HOST}index/contest_list.json?t=${a.value}`}const e=er(n()),f=$x("s","",{transform:String}),v=er(f.value),b=er(null),D=er([]),F=er([]);function T(){F.value=D.value.filter(G=>{var X;return((X=v.value)==null?void 0:X.length)===0&&(v.value=null),v.value===null?(f.value=void 0,!0):(f.value=v.value,!!(G.contest.name.includes(v.value)||G.contest.name.toLowerCase().includes(v.value.toLowerCase())||G.boardLink.toLocaleLowerCase().includes(v.value.toLowerCase())))})}function C(){var G;v.value=null,(G=b.value)==null||G.focus()}const{error:O,isFetching:N,isFinished:B}=PP(e,{refetch:!0,afterFetch:G=>(D.value=mU(JSON.parse(G.data)),F.value=D.value.map(X=>X),T(),G)}).get();In(v,()=>{T()});const V=setInterval(()=>{e.value=n()},mF);return kf(()=>{clearInterval(V)}),(G,X)=>(Hr(),Fn("div",sH,[It("div",null,[Zt(N)||Zt(O)?(Hr(),Fn("div",iH,[Zt(N)?(Hr(),Fn("div",aH,vs(Zt(r)("common.loading"))+"... ",1)):pa("",!0),Zt(O)?(Hr(),Fn("div",oH,vs(Zt(O)),1)):pa("",!0)])):pa("",!0),Zt(B)?(Hr(),Fn("div",lH,[It("div",cH,[Cr(EU,{ref_key:"searchInputRef",ref:b,modelValue:Zt(v),"onUpdate:modelValue":X[0]||(X[0]=H=>un(v)?v.value=H:null)},null,8,["modelValue"])]),Zt(F).length?(Hr(),Fn("div",uH,[(Hr(!0),Fn(Yn,null,N6(Zt(F),H=>(Hr(),Xo(nH,{key:H.boardLink,data:H},null,8,["data"]))),128))])):(Hr(),Fn("div",fH,[X[2]||(X[2]=It("div",{op40:"",italic:"",mb5:""}," No result found ",-1)),It("div",hH,[It("button",{btn:"",onClick:X[1]||(X[1]=H=>C())}," Clear search ")])]))])):pa("",!0)])]))}}),gF={};typeof gF=="function"&&gF(YA);const dH=()=>ni(()=>import("./index-c4a296e0.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/index-c4a296e0.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/query-8d6474f1.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-47ff726d.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-9cc92a14.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/index-5271d2f0.css"],import.meta.url),pH=()=>ni(()=>import("./index-fe6090d1.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/index-fe6090d1.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/index-241beb5a.css"],import.meta.url),mH=()=>ni(()=>import("./index-1426f0a6.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/index-1426f0a6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/query-8d6474f1.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-47ff726d.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-9cc92a14.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/index-accb347c.css"],import.meta.url),gH=()=>ni(()=>import("./index-8a3db893.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/index-8a3db893.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/query-8d6474f1.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-47ff726d.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-9cc92a14.js"],import.meta.url),vH=()=>ni(()=>import("./test-ce57205f.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/test-ce57205f.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-9cc92a14.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/user-5e4a4fb1.js"],import.meta.url),bH=()=>ni(()=>import("./board-428898fa.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/board-428898fa.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/Board-b5bf1828.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/pagination-959b8075.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-9cc92a14.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/query-8d6474f1.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/Board-f05c0366.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-47ff726d.js"],import.meta.url),_H=()=>ni(()=>import("./about-86489903.js"),[],import.meta.url),yH=()=>ni(()=>import("./_...all_-80d9c58d.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/_...all_-80d9c58d.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/Board-b5bf1828.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/pagination-959b8075.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-9cc92a14.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/query-8d6474f1.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/Board-f05c0366.css"],import.meta.url),wH=()=>ni(()=>import("./_name_-5f588c5c.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/_name_-5f588c5c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/user-5e4a4fb1.js"],import.meta.url),DH=()=>ni(()=>import("./_...all_-efc1d81f.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/_...all_-efc1d81f.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/pagination-959b8075.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.52.1/dist/assets/_...all_-c60acc8c.css"],import.meta.url),EH=[{name:"resolver",path:"/resolver",component:dH,props:!0,meta:{layout:"headless"}},{name:"rating",path:"/rating",component:pH,props:!0,meta:{layout:"index-layout"}},{name:"countdown",path:"/countdown",component:mH,props:!0,meta:{layout:"headless"}},{name:"balloon",path:"/balloon",component:gH,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:vH,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:YA,props:!0,meta:{layout:"index-layout"}},{name:"board",path:"/board",component:bH,props:!0,meta:{layout:"board-layout"}},{name:"about",path:"/about",component:_H,props:!0},{name:"all",path:"/:all(.*)*",component:yH,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:wH,props:!0},{name:"rating-all",path:"/rating/:all(.*)",component:DH,props:!0}];const FH=JP(EH);I9(OM,{routes:FH,base:"/"},t=>{Object.values(Object.assign({"./modules/i18n.ts":v7,"./modules/nprogress.ts":y7,"./modules/pinia.ts":S7,"./modules/pwa.ts":O7,"./modules/toast.ts":M7})).forEach(r=>{var s;return(s=r.install)==null?void 0:s.call(r,t)}),t.app.use(rM),t.app.use(kM)});export{cU as $,bP as A,NH as B,mo as C,JH as D,gF as E,Yn as F,RP as G,AU as H,AH as I,PP as J,Xo as K,OH as L,kH as M,so as N,oo as O,CH as P,lU as Q,SH as R,pF as S,SO as T,BR as U,un as V,N5 as W,bT as X,C9 as Y,Mk as Z,ni as _,Mh as a,dp as a$,wU as a0,y6 as a1,k3 as a2,Df as a3,CP as a4,Ba as a5,va as a6,Ul as a7,IH as a8,Cp as a9,zE as aA,eo as aB,Hp as aC,sM as aD,iM as aE,Px as aF,gM as aG,lM as aH,Ri as aI,U6 as aJ,Pi as aK,EM as aL,qr as aM,l3 as aN,zH as aO,n3 as aP,VH as aQ,l6 as aR,VI as aS,I5 as aT,sb as aU,T3 as aV,xH as aW,KH as aX,qH as aY,VA as aZ,BH as a_,Ys as aa,Ni as ab,I7 as ac,MH as ad,GH as ae,jH as af,YH as ag,q2 as ah,BO as ai,RH as aj,gU as ak,ao as al,$x as am,HT as an,WI as ao,bU as ap,mP as aq,PH as ar,LH as as,kf as at,jT as au,PU as av,SU as aw,mb as ax,aM as ay,UH as az,Cr as b,R7 as b0,Fn as c,It as d,jP as e,nP as f,us as g,Sr as h,er as i,N6 as j,Vo as k,pa as l,GT as m,Ii as n,Hr as o,MP as p,Nh as q,uo as r,nx as s,vs as t,Zt as u,In as v,Gs as w,hU as x,QH as y,XH as z};
|