@xcpcio/board-app 0.28.0 → 0.30.0
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/assets/Board-1cb5a052.js +3 -0
- package/dist/assets/Board-3c31679a.css +1 -0
- package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-983c0ef5.js → DataSourceInput.vue_vue_type_script_setup_true_lang-c6907218.js} +1 -1
- package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-6ed50735.js → TheInput.vue_vue_type_script_setup_true_lang-bd490116.js} +1 -1
- package/dist/assets/{_...all_-51e55631.js → _...all_-b2ba251c.js} +1 -1
- package/dist/assets/{_name_-735452d1.js → _name_-abd07bc1.js} +1 -1
- package/dist/assets/{about-c67fc7ea.js → about-64b5108b.js} +1 -1
- package/dist/assets/{board-55f2cfd1.js → board-85ce205a.js} +1 -1
- package/dist/assets/{board-layout-9c68b45b.js → board-layout-1eaf73df.js} +1 -1
- package/dist/assets/{headless-a3c0debd.js → headless-e800ef5b.js} +1 -1
- package/dist/assets/{home-45ae8111.js → home-2a74cabc.js} +1 -1
- package/dist/assets/{index-a0a089d2.css → index-184e36da.css} +1 -1
- package/dist/assets/{index-1418cfa7.js → index-6578287f.js} +5 -5
- package/dist/assets/{index-65e6de07.js → index-78001918.js} +1 -1
- package/dist/assets/{index-layout-3ce68075.js → index-layout-a0249ba4.js} +1 -1
- package/dist/assets/{test-09be4a74.js → test-c0da21d8.js} +1 -1
- package/dist/assets/{useQueryBoardData-5ec632a5.js → useQueryBoardData-3b8a91d5.js} +1 -1
- package/dist/assets/{user-901b4c74.js → user-69e7d90e.js} +1 -1
- package/dist/assets/{virtual_pwa-register-033c41ee.js → virtual_pwa-register-7796129c.js} +1 -1
- package/dist/index.html +3 -3
- package/dist/sw.js +1 -1
- package/package.json +3 -3
- package/src/components/board/Board.vue +6 -0
- package/src/components/board/ProblemBlock.vue +57 -0
- package/src/components/board/ProblemInfoModal.vue +117 -0
- package/src/components/board/Standings.vue +7 -13
- package/src/components/board/SubmissionsTable.vue +260 -58
- package/src/components/board/TeamInfoModal.vue +23 -7
- package/src/components/flowbite/Tooltip.vue +1 -1
- package/src/components.d.ts +2 -0
- package/src/composables/statistics.ts +3 -3
- package/src/styles/submission-status-filter.css +123 -0
- package/dist/assets/Board-96bc5ecc.css +0 -1
- package/dist/assets/Board-ebc7d2d2.js +0 -3
|
@@ -23,11 +23,11 @@
|
|
|
23
23
|
* pinia v2.1.6
|
|
24
24
|
* (c) 2023 Eduardo San Martin Morote
|
|
25
25
|
* @license MIT
|
|
26
|
-
*/let JF;const p2=t=>JF=t,ZF=Symbol();function p4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Pd;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Pd||(Pd={}));function HA(){const t=qg(!0),i=t.run(()=>Yt({}));let s=[],a=[];const r=f1({install(e){p2(r),r._a=e,e.provide(ZF,r),e.config.globalProperties.$pinia=r,a.forEach(p=>s.push(p)),a=[]},use(e){return!this._a&&!UA?a.push(e):s.push(e),this},_p:s,_a:null,_e:t,_s:new Map,state:i});return r}const eE=()=>{};function dD(t,i,s,a=eE){t.push(i);const r=()=>{const e=t.indexOf(i);e>-1&&(t.splice(e,1),a())};return!s&&Qg()&&V4(r),r}function zf(t,...i){t.slice().forEach(s=>{s(...i)})}const $A=t=>t();function m4(t,i){t instanceof Map&&i instanceof Map&&i.forEach((s,a)=>t.set(a,s)),t instanceof Set&&i instanceof Set&&i.forEach(t.add,t);for(const s in i){if(!i.hasOwnProperty(s))continue;const a=i[s],r=t[s];p4(r)&&p4(a)&&t.hasOwnProperty(s)&&!rn(a)&&!Qo(a)?t[s]=m4(r,a):t[s]=a}return t}const WA=Symbol();function zA(t){return!p4(t)||!t.hasOwnProperty(WA)}const{assign:Ml}=Object;function jA(t){return!!(rn(t)&&t.effect)}function VA(t,i,s,a){const{state:r,actions:e,getters:p}=i,_=s.state.value[t];let D;function F(){_||(s.state.value[t]=r?r():{});const T=Cw(s.state.value[t]);return Ml(T,e,Object.keys(p||{}).reduce((A,R)=>(A[R]=f1(Hr(()=>{p2(s);const I=s._s.get(t);return p[R].call(I,I)})),A),{}))}return D=tE(t,F,i,s,a,!0),D}function tE(t,i,s={},a,r,e){let p;const _=Ml({actions:{}},s),D={deep:!0};let F,T,A=[],R=[],I;const N=a.state.value[t];!e&&!N&&(a.state.value[t]={}),Yt({});let L;function V(re){let te;F=T=!1,typeof re=="function"?(re(a.state.value[t]),te={type:Pd.patchFunction,storeId:t,events:I}):(m4(a.state.value[t],re),te={type:Pd.patchObject,payload:re,storeId:t,events:I});const ae=L=Symbol();vo().then(()=>{L===ae&&(F=!0)}),T=!0,zf(A,te,a.state.value[t])}const U=e?function(){const{state:te}=s,ae=te?te():{};this.$patch(ve=>{Ml(ve,ae)})}:eE;function G(){p.stop(),A=[],R=[],a._s.delete(t)}function ne(re,te){return function(){p2(a);const ae=Array.from(arguments),ve=[],Ae=[];function De(We){ve.push(We)}function ge(We){Ae.push(We)}zf(R,{args:ae,name:re,store:H,after:De,onError:ge});let Ne;try{Ne=te.apply(this&&this.$id===t?this:H,ae)}catch(We){throw zf(Ae,We),We}return Ne instanceof Promise?Ne.then(We=>(zf(ve,We),We)).catch(We=>(zf(Ae,We),Promise.reject(We))):(zf(ve,Ne),Ne)}}const z={_p:a,$id:t,$onAction:dD.bind(null,R),$patch:V,$reset:U,$subscribe(re,te={}){const ae=dD(A,re,te.detached,()=>ve()),ve=p.run(()=>bn(()=>a.state.value[t],Ae=>{(te.flush==="sync"?T:F)&&re({storeId:t,type:Pd.direct,events:I},Ae)},Ml({},D,te)));return ae},$dispose:G},H=Jl(z);a._s.set(t,H);const Z=a._a&&a._a.runWithContext||$A,ee=a._e.run(()=>(p=qg(),Z(()=>p.run(i))));for(const re in ee){const te=ee[re];if(rn(te)&&!jA(te)||Qo(te))e||(N&&zA(te)&&(rn(te)?te.value=N[re]:m4(te,N[re])),a.state.value[t][re]=te);else if(typeof te=="function"){const ae=ne(re,te);ee[re]=ae,_.actions[re]=te}}return Ml(H,ee),Ml($r(H),ee),Object.defineProperty(H,"$state",{get:()=>a.state.value[t],set:re=>{V(te=>{Ml(te,re)})}}),a._p.forEach(re=>{Ml(H,p.run(()=>re({store:H,app:a._a,pinia:a,options:_})))}),N&&e&&s.hydrate&&s.hydrate(H.$state,N),F=!0,T=!0,H}function AI(t,i,s){let a,r;const e=typeof i=="function";typeof t=="string"?(a=t,r=e?s:i):(r=t,a=t.id);function p(_,D){const F=tF();return _=_||(F?is(ZF,null):null),_&&p2(_),_=JF,_._s.has(a)||(e?tE(a,i,r,_):VA(a,r,_)),_._s.get(a)}return p.$id=a,p}const GA=({isClient:t,initialState:i,app:s})=>{const a=HA();s.use(a),t?a.state.value=i.pinia||{}:i.pinia=a.state.value},YA=Object.freeze(Object.defineProperty({__proto__:null,install:GA},Symbol.toStringTag,{value:"Module"})),KA=({isClient:t,router:i})=>{t&&i.isReady().then(async()=>{const{registerSW:s}=await Us(()=>import("./virtual_pwa-register-033c41ee.js"),[],import.meta.url);s({immediate:!0})}).catch(()=>{})},qA=Object.freeze(Object.defineProperty({__proto__:null,install:KA},Symbol.toStringTag,{value:"Module"}));var rE={exports:{}};const QA=QF(fA);(function(t,i){(function(a,r){t.exports=r(QA)})(Mi,s=>(()=>{var a={661:(_,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.default=(F,T)=>{const A=F.__vccOpts||F;for(const[R,I]of T)A[R]=I;return A}},976:_=>{_.exports=s}},r={};function e(_){var D=r[_];if(D!==void 0)return D.exports;var F=r[_]={exports:{}};return a[_](F,F.exports,e),F.exports}e.d=(_,D)=>{for(var F in D)e.o(D,F)&&!e.o(_,F)&&Object.defineProperty(_,F,{enumerable:!0,get:D[F]})},e.o=(_,D)=>Object.prototype.hasOwnProperty.call(_,D),e.r=_=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_,"__esModule",{value:!0})};var p={};return(()=>{e.r(p),e.d(p,{ToastComponent:()=>H,ToastPlugin:()=>ee,ToastPositions:()=>N,default:()=>re,useToast:()=>Z});var _=e(976);const D=(0,_.createElementVNode)("div",{class:"v-toast__icon"},null,-1),F=["innerHTML"];function T(te,ae,ve,Ae,De,ge){return(0,_.openBlock)(),(0,_.createBlock)(_.Transition,{"enter-active-class":te.transition.enter,"leave-active-class":te.transition.leave},{default:(0,_.withCtx)(()=>[(0,_.withDirectives)((0,_.createElementVNode)("div",{ref:"root",role:"alert",class:(0,_.normalizeClass)(["v-toast__item",[`v-toast__item--${te.type}`,`v-toast__item--${te.position}`]]),onMouseover:ae[0]||(ae[0]=Ne=>te.toggleTimer(!0)),onMouseleave:ae[1]||(ae[1]=Ne=>te.toggleTimer(!1)),onClick:ae[2]||(ae[2]=function(){return te.whenClicked&&te.whenClicked(...arguments)})},[D,(0,_.createElementVNode)("p",{class:"v-toast__text",innerHTML:te.message},null,8,F)],34),[[_.vShow,te.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function A(te){var ae;typeof te.remove<"u"?te.remove():(ae=te.parentNode)==null||ae.removeChild(te)}function R(te,ae,ve){let Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const De=(0,_.h)(te,ae,Ae),ge=document.createElement("div");return ge.classList.add("v-toast--pending"),ve.appendChild(ge),(0,_.render)(De,ge),De.component}class I{constructor(ae,ve){this.startedAt=Date.now(),this.callback=ae,this.delay=ve,this.timer=setTimeout(ae,ve)}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 N=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function L(te){return{all:te=te||new Map,on:function(ae,ve){var Ae=te.get(ae);Ae?Ae.push(ve):te.set(ae,[ve])},off:function(ae,ve){var Ae=te.get(ae);Ae&&(ve?Ae.splice(Ae.indexOf(ve)>>>0,1):te.set(ae,[]))},emit:function(ae,ve){var Ae=te.get(ae);Ae&&Ae.slice().map(function(De){De(ve)}),(Ae=te.get("*"))&&Ae.slice().map(function(De){De(ae,ve)})}}}const U=L(),G=(0,_.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:N.BOTTOM_RIGHT,validator(te){return Object.values(N).includes(te)}},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(),U.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 te=document.body;te.appendChild(this.parentTop),te.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 te=this.$refs.root;(0,_.render)(null,te),A(te)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const te=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),A(te),this.isActive=!0,this.duration&&(this.timer=new I(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(te){!this.pauseOnHover||!this.timer||(te?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case N.TOP:case N.TOP_RIGHT:case N.TOP_LEFT:return this.parentTop;case N.BOTTOM:case N.BOTTOM_RIGHT:case N.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case N.TOP:case N.TOP_RIGHT:case N.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case N.BOTTOM:case N.BOTTOM_RIGHT:case N.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){U.off("toast-clear",this.dismiss)}});var ne=e(661);const H=(0,ne.default)(G,[["render",T]]),Z=function(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(ae){let ve=null;typeof ae=="string"&&(ve=ae);const De=Object.assign({},{message:ve},te,ae);return{dismiss:R(H,De,document.body).ctx.dismiss}},clear(){U.emit("toast-clear")},success(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"success"},ve))},error(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"error"},ve))},info(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"info"},ve))},warning(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"warning"},ve))},default(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"default"},ve))}}},ee={install:function(te){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve=Z(ae);te.config.globalProperties.$toast=ve,te.provide("$toast",ve)}},re=ee})(),p})())})(rE);var XA=rE.exports;const JA=zs(XA);const ZA=({app:t})=>{t.use(JA,{position:"bottom-right"})},e8=Object.freeze(Object.defineProperty({__proto__:null,install:ZA},Symbol.toStringTag,{value:"Module"}));/*!
|
|
26
|
+
*/let JF;const p2=t=>JF=t,ZF=Symbol();function p4(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Pd;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Pd||(Pd={}));function HA(){const t=qg(!0),i=t.run(()=>Yt({}));let s=[],a=[];const r=f1({install(e){p2(r),r._a=e,e.provide(ZF,r),e.config.globalProperties.$pinia=r,a.forEach(p=>s.push(p)),a=[]},use(e){return!this._a&&!UA?a.push(e):s.push(e),this},_p:s,_a:null,_e:t,_s:new Map,state:i});return r}const eE=()=>{};function dD(t,i,s,a=eE){t.push(i);const r=()=>{const e=t.indexOf(i);e>-1&&(t.splice(e,1),a())};return!s&&Qg()&&V4(r),r}function zf(t,...i){t.slice().forEach(s=>{s(...i)})}const $A=t=>t();function m4(t,i){t instanceof Map&&i instanceof Map&&i.forEach((s,a)=>t.set(a,s)),t instanceof Set&&i instanceof Set&&i.forEach(t.add,t);for(const s in i){if(!i.hasOwnProperty(s))continue;const a=i[s],r=t[s];p4(r)&&p4(a)&&t.hasOwnProperty(s)&&!rn(a)&&!Qo(a)?t[s]=m4(r,a):t[s]=a}return t}const WA=Symbol();function zA(t){return!p4(t)||!t.hasOwnProperty(WA)}const{assign:Ml}=Object;function jA(t){return!!(rn(t)&&t.effect)}function VA(t,i,s,a){const{state:r,actions:e,getters:p}=i,_=s.state.value[t];let D;function F(){_||(s.state.value[t]=r?r():{});const T=Cw(s.state.value[t]);return Ml(T,e,Object.keys(p||{}).reduce((A,R)=>(A[R]=f1(Hr(()=>{p2(s);const I=s._s.get(t);return p[R].call(I,I)})),A),{}))}return D=tE(t,F,i,s,a,!0),D}function tE(t,i,s={},a,r,e){let p;const _=Ml({actions:{}},s),D={deep:!0};let F,T,A=[],R=[],I;const N=a.state.value[t];!e&&!N&&(a.state.value[t]={}),Yt({});let L;function V(re){let te;F=T=!1,typeof re=="function"?(re(a.state.value[t]),te={type:Pd.patchFunction,storeId:t,events:I}):(m4(a.state.value[t],re),te={type:Pd.patchObject,payload:re,storeId:t,events:I});const ae=L=Symbol();vo().then(()=>{L===ae&&(F=!0)}),T=!0,zf(A,te,a.state.value[t])}const U=e?function(){const{state:te}=s,ae=te?te():{};this.$patch(ve=>{Ml(ve,ae)})}:eE;function G(){p.stop(),A=[],R=[],a._s.delete(t)}function ne(re,te){return function(){p2(a);const ae=Array.from(arguments),ve=[],Ae=[];function De(We){ve.push(We)}function ge(We){Ae.push(We)}zf(R,{args:ae,name:re,store:H,after:De,onError:ge});let Ne;try{Ne=te.apply(this&&this.$id===t?this:H,ae)}catch(We){throw zf(Ae,We),We}return Ne instanceof Promise?Ne.then(We=>(zf(ve,We),We)).catch(We=>(zf(Ae,We),Promise.reject(We))):(zf(ve,Ne),Ne)}}const z={_p:a,$id:t,$onAction:dD.bind(null,R),$patch:V,$reset:U,$subscribe(re,te={}){const ae=dD(A,re,te.detached,()=>ve()),ve=p.run(()=>bn(()=>a.state.value[t],Ae=>{(te.flush==="sync"?T:F)&&re({storeId:t,type:Pd.direct,events:I},Ae)},Ml({},D,te)));return ae},$dispose:G},H=Jl(z);a._s.set(t,H);const Z=a._a&&a._a.runWithContext||$A,ee=a._e.run(()=>(p=qg(),Z(()=>p.run(i))));for(const re in ee){const te=ee[re];if(rn(te)&&!jA(te)||Qo(te))e||(N&&zA(te)&&(rn(te)?te.value=N[re]:m4(te,N[re])),a.state.value[t][re]=te);else if(typeof te=="function"){const ae=ne(re,te);ee[re]=ae,_.actions[re]=te}}return Ml(H,ee),Ml($r(H),ee),Object.defineProperty(H,"$state",{get:()=>a.state.value[t],set:re=>{V(te=>{Ml(te,re)})}}),a._p.forEach(re=>{Ml(H,p.run(()=>re({store:H,app:a._a,pinia:a,options:_})))}),N&&e&&s.hydrate&&s.hydrate(H.$state,N),F=!0,T=!0,H}function AI(t,i,s){let a,r;const e=typeof i=="function";typeof t=="string"?(a=t,r=e?s:i):(r=t,a=t.id);function p(_,D){const F=tF();return _=_||(F?is(ZF,null):null),_&&p2(_),_=JF,_._s.has(a)||(e?tE(a,i,r,_):VA(a,r,_)),_._s.get(a)}return p.$id=a,p}const GA=({isClient:t,initialState:i,app:s})=>{const a=HA();s.use(a),t?a.state.value=i.pinia||{}:i.pinia=a.state.value},YA=Object.freeze(Object.defineProperty({__proto__:null,install:GA},Symbol.toStringTag,{value:"Module"})),KA=({isClient:t,router:i})=>{t&&i.isReady().then(async()=>{const{registerSW:s}=await Us(()=>import("./virtual_pwa-register-7796129c.js"),[],import.meta.url);s({immediate:!0})}).catch(()=>{})},qA=Object.freeze(Object.defineProperty({__proto__:null,install:KA},Symbol.toStringTag,{value:"Module"}));var rE={exports:{}};const QA=QF(fA);(function(t,i){(function(a,r){t.exports=r(QA)})(Mi,s=>(()=>{var a={661:(_,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.default=(F,T)=>{const A=F.__vccOpts||F;for(const[R,I]of T)A[R]=I;return A}},976:_=>{_.exports=s}},r={};function e(_){var D=r[_];if(D!==void 0)return D.exports;var F=r[_]={exports:{}};return a[_](F,F.exports,e),F.exports}e.d=(_,D)=>{for(var F in D)e.o(D,F)&&!e.o(_,F)&&Object.defineProperty(_,F,{enumerable:!0,get:D[F]})},e.o=(_,D)=>Object.prototype.hasOwnProperty.call(_,D),e.r=_=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(_,"__esModule",{value:!0})};var p={};return(()=>{e.r(p),e.d(p,{ToastComponent:()=>H,ToastPlugin:()=>ee,ToastPositions:()=>N,default:()=>re,useToast:()=>Z});var _=e(976);const D=(0,_.createElementVNode)("div",{class:"v-toast__icon"},null,-1),F=["innerHTML"];function T(te,ae,ve,Ae,De,ge){return(0,_.openBlock)(),(0,_.createBlock)(_.Transition,{"enter-active-class":te.transition.enter,"leave-active-class":te.transition.leave},{default:(0,_.withCtx)(()=>[(0,_.withDirectives)((0,_.createElementVNode)("div",{ref:"root",role:"alert",class:(0,_.normalizeClass)(["v-toast__item",[`v-toast__item--${te.type}`,`v-toast__item--${te.position}`]]),onMouseover:ae[0]||(ae[0]=Ne=>te.toggleTimer(!0)),onMouseleave:ae[1]||(ae[1]=Ne=>te.toggleTimer(!1)),onClick:ae[2]||(ae[2]=function(){return te.whenClicked&&te.whenClicked(...arguments)})},[D,(0,_.createElementVNode)("p",{class:"v-toast__text",innerHTML:te.message},null,8,F)],34),[[_.vShow,te.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function A(te){var ae;typeof te.remove<"u"?te.remove():(ae=te.parentNode)==null||ae.removeChild(te)}function R(te,ae,ve){let Ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const De=(0,_.h)(te,ae,Ae),ge=document.createElement("div");return ge.classList.add("v-toast--pending"),ve.appendChild(ge),(0,_.render)(De,ge),De.component}class I{constructor(ae,ve){this.startedAt=Date.now(),this.callback=ae,this.delay=ve,this.timer=setTimeout(ae,ve)}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 N=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function L(te){return{all:te=te||new Map,on:function(ae,ve){var Ae=te.get(ae);Ae?Ae.push(ve):te.set(ae,[ve])},off:function(ae,ve){var Ae=te.get(ae);Ae&&(ve?Ae.splice(Ae.indexOf(ve)>>>0,1):te.set(ae,[]))},emit:function(ae,ve){var Ae=te.get(ae);Ae&&Ae.slice().map(function(De){De(ve)}),(Ae=te.get("*"))&&Ae.slice().map(function(De){De(ae,ve)})}}}const U=L(),G=(0,_.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:N.BOTTOM_RIGHT,validator(te){return Object.values(N).includes(te)}},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(),U.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 te=document.body;te.appendChild(this.parentTop),te.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 te=this.$refs.root;(0,_.render)(null,te),A(te)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const te=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),A(te),this.isActive=!0,this.duration&&(this.timer=new I(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(te){!this.pauseOnHover||!this.timer||(te?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case N.TOP:case N.TOP_RIGHT:case N.TOP_LEFT:return this.parentTop;case N.BOTTOM:case N.BOTTOM_RIGHT:case N.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case N.TOP:case N.TOP_RIGHT:case N.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case N.BOTTOM:case N.BOTTOM_RIGHT:case N.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){U.off("toast-clear",this.dismiss)}});var ne=e(661);const H=(0,ne.default)(G,[["render",T]]),Z=function(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(ae){let ve=null;typeof ae=="string"&&(ve=ae);const De=Object.assign({},{message:ve},te,ae);return{dismiss:R(H,De,document.body).ctx.dismiss}},clear(){U.emit("toast-clear")},success(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"success"},ve))},error(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"error"},ve))},info(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"info"},ve))},warning(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"warning"},ve))},default(ae){let ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:ae,type:"default"},ve))}}},ee={install:function(te){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ve=Z(ae);te.config.globalProperties.$toast=ve,te.provide("$toast",ve)}},re=ee})(),p})())})(rE);var XA=rE.exports;const JA=zs(XA);const ZA=({app:t})=>{t.use(JA,{position:"bottom-right"})},e8=Object.freeze(Object.defineProperty({__proto__:null,install:ZA},Symbol.toStringTag,{value:"Module"}));/*!
|
|
27
27
|
* vue-router v4.2.4
|
|
28
28
|
* (c) 2023 Eduardo San Martin Morote
|
|
29
29
|
* @license MIT
|
|
30
|
-
*/const Gf=typeof window<"u";function t8(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const un=Object.assign;function Tb(t,i){const s={};for(const a in i){const r=i[a];s[a]=Na(r)?r.map(t):t(r)}return s}const Id=()=>{},Na=Array.isArray,r8=/\/$/,n8=t=>t.replace(r8,"");function Ab(t,i,s="/"){let a,r={},e="",p="";const _=i.indexOf("#");let D=i.indexOf("?");return _<D&&_>=0&&(D=-1),D>-1&&(a=i.slice(0,D),e=i.slice(D+1,_>-1?_:i.length),r=t(e)),_>-1&&(a=a||i.slice(0,_),p=i.slice(_,i.length)),a=o8(a??i,s),{fullPath:a+(e&&"?")+e+p,path:a,query:r,hash:p}}function i8(t,i){const s=i.query?t(i.query):"";return i.path+(s&&"?")+s+(i.hash||"")}function pD(t,i){return!i||!t.toLowerCase().startsWith(i.toLowerCase())?t:t.slice(i.length)||"/"}function s8(t,i,s){const a=i.matched.length-1,r=s.matched.length-1;return a>-1&&a===r&&c0(i.matched[a],s.matched[r])&&nE(i.params,s.params)&&t(i.query)===t(s.query)&&i.hash===s.hash}function c0(t,i){return(t.aliasOf||t)===(i.aliasOf||i)}function nE(t,i){if(Object.keys(t).length!==Object.keys(i).length)return!1;for(const s in t)if(!a8(t[s],i[s]))return!1;return!0}function a8(t,i){return Na(t)?mD(t,i):Na(i)?mD(i,t):t===i}function mD(t,i){return Na(i)?t.length===i.length&&t.every((s,a)=>s===i[a]):t.length===1&&t[0]===i}function o8(t,i){if(t.startsWith("/"))return t;if(!t)return i;const s=i.split("/"),a=t.split("/"),r=a[a.length-1];(r===".."||r===".")&&a.push("");let e=s.length-1,p,_;for(p=0;p<a.length;p++)if(_=a[p],_!==".")if(_==="..")e>1&&e--;else break;return s.slice(0,e).join("/")+"/"+a.slice(p-(p===a.length?1:0)).join("/")}var u0;(function(t){t.pop="pop",t.push="push"})(u0||(u0={}));var _u;(function(t){t.back="back",t.forward="forward",t.unknown=""})(_u||(_u={}));const Sb="";function iE(t){if(!t)if(Gf){const i=document.querySelector("base");t=i&&i.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),n8(t)}const l8=/^[^#]+#/;function sE(t,i){return t.replace(l8,"#")+i}function c8(t,i){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:i.behavior,left:a.left-s.left-(i.left||0),top:a.top-s.top-(i.top||0)}}const m2=()=>({left:window.pageXOffset,top:window.pageYOffset});function u8(t){let i;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),r=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!r)return;i=c8(r,t)}else i=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function gD(t,i){return(history.state?history.state.position-i:-1)+t}const g4=new Map;function f8(t,i){g4.set(t,i)}function h8(t){const i=g4.get(t);return g4.delete(t),i}let d8=()=>location.protocol+"//"+location.host;function aE(t,i){const{pathname:s,search:a,hash:r}=i,e=t.indexOf("#");if(e>-1){let _=r.includes(t.slice(e))?t.slice(e).length:1,D=r.slice(_);return D[0]!=="/"&&(D="/"+D),pD(D,"")}return pD(s,t)+a+r}function p8(t,i,s,a){let r=[],e=[],p=null;const _=({state:R})=>{const I=aE(t,location),N=s.value,L=i.value;let V=0;if(R){if(s.value=I,i.value=R,p&&p===N){p=null;return}V=L?R.position-L.position:0}else a(I);r.forEach(U=>{U(s.value,N,{delta:V,type:u0.pop,direction:V?V>0?_u.forward:_u.back:_u.unknown})})};function D(){p=s.value}function F(R){r.push(R);const I=()=>{const N=r.indexOf(R);N>-1&&r.splice(N,1)};return e.push(I),I}function T(){const{history:R}=window;R.state&&R.replaceState(un({},R.state,{scroll:m2()}),"")}function A(){for(const R of e)R();e=[],window.removeEventListener("popstate",_),window.removeEventListener("beforeunload",T)}return window.addEventListener("popstate",_),window.addEventListener("beforeunload",T,{passive:!0}),{pauseListeners:D,listen:F,destroy:A}}function vD(t,i,s,a=!1,r=!1){return{back:t,current:i,forward:s,replaced:a,position:window.history.length,scroll:r?m2():null}}function m8(t){const{history:i,location:s}=window,a={value:aE(t,s)},r={value:i.state};r.value||e(a.value,{back:null,current:a.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function e(D,F,T){const A=t.indexOf("#"),R=A>-1?(s.host&&document.querySelector("base")?t:t.slice(A))+D:d8()+t+D;try{i[T?"replaceState":"pushState"](F,"",R),r.value=F}catch(I){console.error(I),s[T?"replace":"assign"](R)}}function p(D,F){const T=un({},i.state,vD(r.value.back,D,r.value.forward,!0),F,{position:r.value.position});e(D,T,!0),a.value=D}function _(D,F){const T=un({},r.value,i.state,{forward:D,scroll:m2()});e(T.current,T,!0);const A=un({},vD(a.value,D,null),{position:T.position+1},F);e(D,A,!1),a.value=D}return{location:a,state:r,push:_,replace:p}}function g8(t){t=iE(t);const i=m8(t),s=p8(t,i.state,i.location,i.replace);function a(e,p=!0){p||s.pauseListeners(),history.go(e)}const r=un({location:"",base:t,go:a,createHref:sE.bind(null,t)},i,s);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>i.state.value}),r}function v8(t=""){let i=[],s=[Sb],a=0;t=iE(t);function r(_){a++,a===s.length||s.splice(a),s.push(_)}function e(_,D,{direction:F,delta:T}){const A={direction:F,delta:T,type:u0.pop};for(const R of i)R(_,D,A)}const p={location:Sb,state:{},base:t,createHref:sE.bind(null,t),replace(_){s.splice(a--,1),r(_)},push(_,D){r(_)},listen(_){return i.push(_),()=>{const D=i.indexOf(_);D>-1&&i.splice(D,1)}},destroy(){i=[],s=[Sb],a=0},go(_,D=!0){const F=this.location,T=_<0?_u.back:_u.forward;a=Math.max(0,Math.min(a+_,s.length-1)),D&&e(this.location,F,{direction:T,delta:_})}};return Object.defineProperty(p,"location",{enumerable:!0,get:()=>s[a]}),p}function b8(t){return typeof t=="string"||t&&typeof t=="object"}function oE(t){return typeof t=="string"||typeof t=="symbol"}const Pl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lE=Symbol("");var bD;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(bD||(bD={}));function f0(t,i){return un(new Error,{type:t,[lE]:!0},i)}function Vo(t,i){return t instanceof Error&&lE in t&&(i==null||!!(t.type&i))}const _D="[^/]+?",_8={sensitive:!1,strict:!1,start:!0,end:!0},y8=/[.+*?^${}()[\]/\\]/g;function D8(t,i){const s=un({},_8,i),a=[];let r=s.start?"^":"";const e=[];for(const F of t){const T=F.length?[]:[90];s.strict&&!F.length&&(r+="/");for(let A=0;A<F.length;A++){const R=F[A];let I=40+(s.sensitive?.25:0);if(R.type===0)A||(r+="/"),r+=R.value.replace(y8,"\\$&"),I+=40;else if(R.type===1){const{value:N,repeatable:L,optional:V,regexp:U}=R;e.push({name:N,repeatable:L,optional:V});const G=U||_D;if(G!==_D){I+=10;try{new RegExp(`(${G})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${N}" (${G}): `+z.message)}}let ne=L?`((?:${G})(?:/(?:${G}))*)`:`(${G})`;A||(ne=V&&F.length<2?`(?:/${ne})`:"/"+ne),V&&(ne+="?"),r+=ne,I+=20,V&&(I+=-8),L&&(I+=-20),G===".*"&&(I+=-50)}T.push(I)}a.push(T)}if(s.strict&&s.end){const F=a.length-1;a[F][a[F].length-1]+=.7000000000000001}s.strict||(r+="/?"),s.end?r+="$":s.strict&&(r+="(?:/|$)");const p=new RegExp(r,s.sensitive?"":"i");function _(F){const T=F.match(p),A={};if(!T)return null;for(let R=1;R<T.length;R++){const I=T[R]||"",N=e[R-1];A[N.name]=I&&N.repeatable?I.split("/"):I}return A}function D(F){let T="",A=!1;for(const R of t){(!A||!T.endsWith("/"))&&(T+="/"),A=!1;for(const I of R)if(I.type===0)T+=I.value;else if(I.type===1){const{value:N,repeatable:L,optional:V}=I,U=N in F?F[N]:"";if(Na(U)&&!L)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const G=Na(U)?U.join("/"):U;if(!G)if(V)R.length<2&&(T.endsWith("/")?T=T.slice(0,-1):A=!0);else throw new Error(`Missing required param "${N}"`);T+=G}}return T||"/"}return{re:p,score:a,keys:e,parse:_,stringify:D}}function w8(t,i){let s=0;for(;s<t.length&&s<i.length;){const a=i[s]-t[s];if(a)return a;s++}return t.length<i.length?t.length===1&&t[0]===40+40?-1:1:t.length>i.length?i.length===1&&i[0]===40+40?1:-1:0}function F8(t,i){let s=0;const a=t.score,r=i.score;for(;s<a.length&&s<r.length;){const e=w8(a[s],r[s]);if(e)return e;s++}if(Math.abs(r.length-a.length)===1){if(yD(a))return 1;if(yD(r))return-1}return r.length-a.length}function yD(t){const i=t[t.length-1];return t.length>0&&i[i.length-1]<0}const E8={type:0,value:""},x8=/[a-zA-Z0-9_]/;function C8(t){if(!t)return[[]];if(t==="/")return[[E8]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function i(I){throw new Error(`ERR (${s})/"${F}": ${I}`)}let s=0,a=s;const r=[];let e;function p(){e&&r.push(e),e=[]}let _=0,D,F="",T="";function A(){F&&(s===0?e.push({type:0,value:F}):s===1||s===2||s===3?(e.length>1&&(D==="*"||D==="+")&&i(`A repeatable param (${F}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:F,regexp:T,repeatable:D==="*"||D==="+",optional:D==="*"||D==="?"})):i("Invalid state to consume buffer"),F="")}function R(){F+=D}for(;_<t.length;){if(D=t[_++],D==="\\"&&s!==2){a=s,s=4;continue}switch(s){case 0:D==="/"?(F&&A(),p()):D===":"?(A(),s=1):R();break;case 4:R(),s=a;break;case 1:D==="("?s=2:x8.test(D)?R():(A(),s=0,D!=="*"&&D!=="?"&&D!=="+"&&_--);break;case 2:D===")"?T[T.length-1]=="\\"?T=T.slice(0,-1)+D:s=3:T+=D;break;case 3:A(),s=0,D!=="*"&&D!=="?"&&D!=="+"&&_--,T="";break;default:i("Unknown state");break}}return s===2&&i(`Unfinished custom RegExp for param "${F}"`),A(),p(),r}function T8(t,i,s){const a=D8(C8(t.path),s),r=un(a,{record:t,parent:i,children:[],alias:[]});return i&&!r.record.aliasOf==!i.record.aliasOf&&i.children.push(r),r}function A8(t,i){const s=[],a=new Map;i=FD({strict:!1,end:!0,sensitive:!1},i);function r(T){return a.get(T)}function e(T,A,R){const I=!R,N=S8(T);N.aliasOf=R&&R.record;const L=FD(i,T),V=[N];if("alias"in T){const ne=typeof T.alias=="string"?[T.alias]:T.alias;for(const z of ne)V.push(un({},N,{components:R?R.record.components:N.components,path:z,aliasOf:R?R.record:N}))}let U,G;for(const ne of V){const{path:z}=ne;if(A&&z[0]!=="/"){const H=A.record.path,Z=H[H.length-1]==="/"?"":"/";ne.path=A.record.path+(z&&Z+z)}if(U=T8(ne,A,L),R?R.alias.push(U):(G=G||U,G!==U&&G.alias.push(U),I&&T.name&&!wD(U)&&p(T.name)),N.children){const H=N.children;for(let Z=0;Z<H.length;Z++)e(H[Z],U,R&&R.children[Z])}R=R||U,(U.record.components&&Object.keys(U.record.components).length||U.record.name||U.record.redirect)&&D(U)}return G?()=>{p(G)}:Id}function p(T){if(oE(T)){const A=a.get(T);A&&(a.delete(T),s.splice(s.indexOf(A),1),A.children.forEach(p),A.alias.forEach(p))}else{const A=s.indexOf(T);A>-1&&(s.splice(A,1),T.record.name&&a.delete(T.record.name),T.children.forEach(p),T.alias.forEach(p))}}function _(){return s}function D(T){let A=0;for(;A<s.length&&F8(T,s[A])>=0&&(T.record.path!==s[A].record.path||!cE(T,s[A]));)A++;s.splice(A,0,T),T.record.name&&!wD(T)&&a.set(T.record.name,T)}function F(T,A){let R,I={},N,L;if("name"in T&&T.name){if(R=a.get(T.name),!R)throw f0(1,{location:T});L=R.record.name,I=un(DD(A.params,R.keys.filter(G=>!G.optional).map(G=>G.name)),T.params&&DD(T.params,R.keys.map(G=>G.name))),N=R.stringify(I)}else if("path"in T)N=T.path,R=s.find(G=>G.re.test(N)),R&&(I=R.parse(N),L=R.record.name);else{if(R=A.name?a.get(A.name):s.find(G=>G.re.test(A.path)),!R)throw f0(1,{location:T,currentLocation:A});L=R.record.name,I=un({},A.params,T.params),N=R.stringify(I)}const V=[];let U=R;for(;U;)V.unshift(U.record),U=U.parent;return{name:L,path:N,params:I,matched:V,meta:k8(V)}}return t.forEach(T=>e(T)),{addRoute:e,resolve:F,removeRoute:p,getRoutes:_,getRecordMatcher:r}}function DD(t,i){const s={};for(const a of i)a in t&&(s[a]=t[a]);return s}function S8(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:O8(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function O8(t){const i={},s=t.props||!1;if("component"in t)i.default=s;else for(const a in t.components)i[a]=typeof s=="object"?s[a]:s;return i}function wD(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function k8(t){return t.reduce((i,s)=>un(i,s.meta),{})}function FD(t,i){const s={};for(const a in t)s[a]=a in i?i[a]:t[a];return s}function cE(t,i){return i.children.some(s=>s===t||cE(t,s))}const uE=/#/g,R8=/&/g,P8=/\//g,I8=/=/g,N8=/\?/g,fE=/\+/g,M8=/%5B/g,L8=/%5D/g,hE=/%5E/g,B8=/%60/g,dE=/%7B/g,U8=/%7C/g,pE=/%7D/g,H8=/%20/g;function E_(t){return encodeURI(""+t).replace(U8,"|").replace(M8,"[").replace(L8,"]")}function $8(t){return E_(t).replace(dE,"{").replace(pE,"}").replace(hE,"^")}function v4(t){return E_(t).replace(fE,"%2B").replace(H8,"+").replace(uE,"%23").replace(R8,"%26").replace(B8,"`").replace(dE,"{").replace(pE,"}").replace(hE,"^")}function W8(t){return v4(t).replace(I8,"%3D")}function z8(t){return E_(t).replace(uE,"%23").replace(N8,"%3F")}function j8(t){return t==null?"":z8(t).replace(P8,"%2F")}function wg(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function V8(t){const i={};if(t===""||t==="?")return i;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;r<a.length;++r){const e=a[r].replace(fE," "),p=e.indexOf("="),_=wg(p<0?e:e.slice(0,p)),D=p<0?null:wg(e.slice(p+1));if(_ in i){let F=i[_];Na(F)||(F=i[_]=[F]),F.push(D)}else i[_]=D}return i}function ED(t){let i="";for(let s in t){const a=t[s];if(s=W8(s),a==null){a!==void 0&&(i+=(i.length?"&":"")+s);continue}(Na(a)?a.map(e=>e&&v4(e)):[a&&v4(a)]).forEach(e=>{e!==void 0&&(i+=(i.length?"&":"")+s,e!=null&&(i+="="+e))})}return i}function G8(t){const i={};for(const s in t){const a=t[s];a!==void 0&&(i[s]=Na(a)?a.map(r=>r==null?null:""+r):a==null?a:""+a)}return i}const Y8=Symbol(""),xD=Symbol(""),g2=Symbol(""),x_=Symbol(""),b4=Symbol("");function bd(){let t=[];function i(a){return t.push(a),()=>{const r=t.indexOf(a);r>-1&&t.splice(r,1)}}function s(){t=[]}return{add:i,list:()=>t.slice(),reset:s}}function Hl(t,i,s,a,r){const e=a&&(a.enterCallbacks[r]=a.enterCallbacks[r]||[]);return()=>new Promise((p,_)=>{const D=A=>{A===!1?_(f0(4,{from:s,to:i})):A instanceof Error?_(A):b8(A)?_(f0(2,{from:i,to:A})):(e&&a.enterCallbacks[r]===e&&typeof A=="function"&&e.push(A),p())},F=t.call(a&&a.instances[r],i,s,D);let T=Promise.resolve(F);t.length<3&&(T=T.then(D)),T.catch(A=>_(A))})}function Ob(t,i,s,a){const r=[];for(const e of t)for(const p in e.components){let _=e.components[p];if(!(i!=="beforeRouteEnter"&&!e.instances[p]))if(K8(_)){const F=(_.__vccOpts||_)[i];F&&r.push(Hl(F,s,a,e,p))}else{let D=_();r.push(()=>D.then(F=>{if(!F)return Promise.reject(new Error(`Couldn't resolve component "${p}" at "${e.path}"`));const T=t8(F)?F.default:F;e.components[p]=T;const R=(T.__vccOpts||T)[i];return R&&Hl(R,s,a,e,p)()}))}}return r}function K8(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function CD(t){const i=is(g2),s=is(x_),a=Hr(()=>i.resolve(tr(t.to))),r=Hr(()=>{const{matched:D}=a.value,{length:F}=D,T=D[F-1],A=s.matched;if(!T||!A.length)return-1;const R=A.findIndex(c0.bind(null,T));if(R>-1)return R;const I=TD(D[F-2]);return F>1&&TD(T)===I&&A[A.length-1].path!==I?A.findIndex(c0.bind(null,D[F-2])):R}),e=Hr(()=>r.value>-1&&J8(s.params,a.value.params)),p=Hr(()=>r.value>-1&&r.value===s.matched.length-1&&nE(s.params,a.value.params));function _(D={}){return X8(D)?i[tr(t.replace)?"replace":"push"](tr(t.to)).catch(Id):Promise.resolve()}return{route:a,href:Hr(()=>a.value.href),isActive:e,isExactActive:p,navigate:_}}const q8=mi({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:CD,setup(t,{slots:i}){const s=Jl(CD(t)),{options:a}=is(g2),r=Hr(()=>({[AD(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[AD(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const e=i.default&&i.default(s);return t.custom?e:Ou("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},e)}}}),Q8=q8;function X8(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 i=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return t.preventDefault&&t.preventDefault(),!0}}function J8(t,i){for(const s in i){const a=i[s],r=t[s];if(typeof a=="string"){if(a!==r)return!1}else if(!Na(r)||r.length!==a.length||a.some((e,p)=>e!==r[p]))return!1}return!0}function TD(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const AD=(t,i,s)=>t??i??s,Z8=mi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:i,slots:s}){const a=is(b4),r=Hr(()=>t.route||a.value),e=is(xD,0),p=Hr(()=>{let F=tr(e);const{matched:T}=r.value;let A;for(;(A=T[F])&&!A.components;)F++;return F}),_=Hr(()=>r.value.matched[p.value]);Ad(xD,Hr(()=>p.value+1)),Ad(Y8,_),Ad(b4,r);const D=Yt();return bn(()=>[D.value,_.value,t.name],([F,T,A],[R,I,N])=>{T&&(T.instances[A]=F,I&&I!==T&&F&&F===R&&(T.leaveGuards.size||(T.leaveGuards=I.leaveGuards),T.updateGuards.size||(T.updateGuards=I.updateGuards))),F&&T&&(!I||!c0(T,I)||!R)&&(T.enterCallbacks[A]||[]).forEach(L=>L(F))},{flush:"post"}),()=>{const F=r.value,T=t.name,A=_.value,R=A&&A.components[T];if(!R)return SD(s.default,{Component:R,route:F});const I=A.props[T],N=I?I===!0?F.params:typeof I=="function"?I(F):I:null,V=Ou(R,un({},N,i,{onVnodeUnmounted:U=>{U.component.isUnmounted&&(A.instances[T]=null)},ref:D}));return SD(s.default,{Component:V,route:F})||V}}});function SD(t,i){if(!t)return null;const s=t(i);return s.length===1?s[0]:s}const eS=Z8;function tS(t){const i=A8(t.routes,t),s=t.parseQuery||V8,a=t.stringifyQuery||ED,r=t.history,e=bd(),p=bd(),_=bd(),D=Zf(Pl);let F=Pl;Gf&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const T=Tb.bind(null,J=>""+J),A=Tb.bind(null,j8),R=Tb.bind(null,wg);function I(J,Le){let _e,it;return oE(J)?(_e=i.getRecordMatcher(J),it=Le):it=J,i.addRoute(it,_e)}function N(J){const Le=i.getRecordMatcher(J);Le&&i.removeRoute(Le)}function L(){return i.getRoutes().map(J=>J.record)}function V(J){return!!i.getRecordMatcher(J)}function U(J,Le){if(Le=un({},Le||D.value),typeof J=="string"){const ce=Ab(s,J,Le.path),Be=i.resolve({path:ce.path},Le),$e=r.createHref(ce.fullPath);return un(ce,Be,{params:R(Be.params),hash:wg(ce.hash),redirectedFrom:void 0,href:$e})}let _e;if("path"in J)_e=un({},J,{path:Ab(s,J.path,Le.path).path});else{const ce=un({},J.params);for(const Be in ce)ce[Be]==null&&delete ce[Be];_e=un({},J,{params:A(ce)}),Le.params=A(Le.params)}const it=i.resolve(_e,Le),Ut=J.hash||"";it.params=T(R(it.params));const X=i8(a,un({},J,{hash:$8(Ut),path:it.path})),se=r.createHref(X);return un({fullPath:X,hash:Ut,query:a===ED?G8(J.query):J.query||{}},it,{redirectedFrom:void 0,href:se})}function G(J){return typeof J=="string"?Ab(s,J,D.value.path):un({},J)}function ne(J,Le){if(F!==J)return f0(8,{from:Le,to:J})}function z(J){return ee(J)}function H(J){return z(un(G(J),{replace:!0}))}function Z(J){const Le=J.matched[J.matched.length-1];if(Le&&Le.redirect){const{redirect:_e}=Le;let it=typeof _e=="function"?_e(J):_e;return typeof it=="string"&&(it=it.includes("?")||it.includes("#")?it=G(it):{path:it},it.params={}),un({query:J.query,hash:J.hash,params:"path"in it?{}:J.params},it)}}function ee(J,Le){const _e=F=U(J),it=D.value,Ut=J.state,X=J.force,se=J.replace===!0,ce=Z(_e);if(ce)return ee(un(G(ce),{state:typeof ce=="object"?un({},Ut,ce.state):Ut,force:X,replace:se}),Le||_e);const Be=_e;Be.redirectedFrom=Le;let $e;return!X&&s8(a,it,_e)&&($e=f0(16,{to:Be,from:it}),he(it,it,!0,!1)),($e?Promise.resolve($e):ae(Be,it)).catch(Ge=>Vo(Ge)?Vo(Ge,2)?Ge:ze(Ge):lt(Ge,Be,it)).then(Ge=>{if(Ge){if(Vo(Ge,2))return ee(un({replace:se},G(Ge.to),{state:typeof Ge.to=="object"?un({},Ut,Ge.to.state):Ut,force:X}),Le||Be)}else Ge=Ae(Be,it,!0,se,Ut);return ve(Be,it,Ge),Ge})}function re(J,Le){const _e=ne(J,Le);return _e?Promise.reject(_e):Promise.resolve()}function te(J){const Le=Ue.values().next().value;return Le&&typeof Le.runWithContext=="function"?Le.runWithContext(J):J()}function ae(J,Le){let _e;const[it,Ut,X]=rS(J,Le);_e=Ob(it.reverse(),"beforeRouteLeave",J,Le);for(const ce of it)ce.leaveGuards.forEach(Be=>{_e.push(Hl(Be,J,Le))});const se=re.bind(null,J,Le);return _e.push(se),Pe(_e).then(()=>{_e=[];for(const ce of e.list())_e.push(Hl(ce,J,Le));return _e.push(se),Pe(_e)}).then(()=>{_e=Ob(Ut,"beforeRouteUpdate",J,Le);for(const ce of Ut)ce.updateGuards.forEach(Be=>{_e.push(Hl(Be,J,Le))});return _e.push(se),Pe(_e)}).then(()=>{_e=[];for(const ce of X)if(ce.beforeEnter)if(Na(ce.beforeEnter))for(const Be of ce.beforeEnter)_e.push(Hl(Be,J,Le));else _e.push(Hl(ce.beforeEnter,J,Le));return _e.push(se),Pe(_e)}).then(()=>(J.matched.forEach(ce=>ce.enterCallbacks={}),_e=Ob(X,"beforeRouteEnter",J,Le),_e.push(se),Pe(_e))).then(()=>{_e=[];for(const ce of p.list())_e.push(Hl(ce,J,Le));return _e.push(se),Pe(_e)}).catch(ce=>Vo(ce,8)?ce:Promise.reject(ce))}function ve(J,Le,_e){_.list().forEach(it=>te(()=>it(J,Le,_e)))}function Ae(J,Le,_e,it,Ut){const X=ne(J,Le);if(X)return X;const se=Le===Pl,ce=Gf?history.state:{};_e&&(it||se?r.replace(J.fullPath,un({scroll:se&&ce&&ce.scroll},Ut)):r.push(J.fullPath,Ut)),D.value=J,he(J,Le,_e,se),ze()}let De;function ge(){De||(De=r.listen((J,Le,_e)=>{if(!be.listening)return;const it=U(J),Ut=Z(it);if(Ut){ee(un(Ut,{replace:!0}),it).catch(Id);return}F=it;const X=D.value;Gf&&f8(gD(X.fullPath,_e.delta),m2()),ae(it,X).catch(se=>Vo(se,12)?se:Vo(se,2)?(ee(se.to,it).then(ce=>{Vo(ce,20)&&!_e.delta&&_e.type===u0.pop&&r.go(-1,!1)}).catch(Id),Promise.reject()):(_e.delta&&r.go(-_e.delta,!1),lt(se,it,X))).then(se=>{se=se||Ae(it,X,!1),se&&(_e.delta&&!Vo(se,8)?r.go(-_e.delta,!1):_e.type===u0.pop&&Vo(se,20)&&r.go(-1,!1)),ve(it,X,se)}).catch(Id)}))}let Ne=bd(),We=bd(),Se;function lt(J,Le,_e){ze(J);const it=We.list();return it.length?it.forEach(Ut=>Ut(J,Le,_e)):console.error(J),Promise.reject(J)}function at(){return Se&&D.value!==Pl?Promise.resolve():new Promise((J,Le)=>{Ne.add([J,Le])})}function ze(J){return Se||(Se=!J,ge(),Ne.list().forEach(([Le,_e])=>J?_e(J):Le()),Ne.reset()),J}function he(J,Le,_e,it){const{scrollBehavior:Ut}=t;if(!Gf||!Ut)return Promise.resolve();const X=!_e&&h8(gD(J.fullPath,0))||(it||!_e)&&history.state&&history.state.scroll||null;return vo().then(()=>Ut(J,Le,X)).then(se=>se&&u8(se)).catch(se=>lt(se,J,Le))}const He=J=>r.go(J);let Je;const Ue=new Set,be={currentRoute:D,listening:!0,addRoute:I,removeRoute:N,hasRoute:V,getRoutes:L,resolve:U,options:t,push:z,replace:H,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:e.add,beforeResolve:p.add,afterEach:_.add,onError:We.add,isReady:at,install(J){const Le=this;J.component("RouterLink",Q8),J.component("RouterView",eS),J.config.globalProperties.$router=Le,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>tr(D)}),Gf&&!Je&&D.value===Pl&&(Je=!0,z(r.location).catch(Ut=>{}));const _e={};for(const Ut in Pl)Object.defineProperty(_e,Ut,{get:()=>D.value[Ut],enumerable:!0});J.provide(g2,Le),J.provide(x_,K4(_e)),J.provide(b4,D);const it=J.unmount;Ue.add(J),J.unmount=function(){Ue.delete(J),Ue.size<1&&(F=Pl,De&&De(),De=null,D.value=Pl,Je=!1,Se=!1),it()}}};function Pe(J){return J.reduce((Le,_e)=>Le.then(()=>te(_e)),Promise.resolve())}return be}function rS(t,i){const s=[],a=[],r=[],e=Math.max(i.matched.length,t.matched.length);for(let p=0;p<e;p++){const _=i.matched[p];_&&(t.matched.find(F=>c0(F,_))?a.push(_):s.push(_));const D=t.matched[p];D&&(i.matched.find(F=>c0(F,D))||r.push(D))}return[s,a,r]}function nS(){return is(g2)}function iS(){return is(x_)}function _4(t,i={},s){for(const a in t){const r=t[a],e=s?`${s}:${a}`:a;typeof r=="object"&&r!==null?_4(r,i,e):typeof r=="function"&&(i[e]=r)}return i}const sS={run:t=>t()},aS=()=>sS,mE=typeof console.createTask<"u"?console.createTask:aS;function oS(t,i){const s=i.shift(),a=mE(s);return t.reduce((r,e)=>r.then(()=>a.run(()=>e(...i))),Promise.resolve())}function lS(t,i){const s=i.shift(),a=mE(s);return Promise.all(t.map(r=>a.run(()=>r(...i))))}function kb(t,i){for(const s of[...t])s(i)}class cS{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(i,s,a={}){if(!i||typeof s!="function")return()=>{};const r=i;let e;for(;this._deprecatedHooks[i];)e=this._deprecatedHooks[i],i=e.to;if(e&&!a.allowDeprecated){let p=e.message;p||(p=`${r} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(p)||(console.warn(p),this._deprecatedMessages.add(p))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+i.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[i]=this._hooks[i]||[],this._hooks[i].push(s),()=>{s&&(this.removeHook(i,s),s=void 0)}}hookOnce(i,s){let a,r=(...e)=>(typeof a=="function"&&a(),a=void 0,r=void 0,s(...e));return a=this.hook(i,r),a}removeHook(i,s){if(this._hooks[i]){const a=this._hooks[i].indexOf(s);a!==-1&&this._hooks[i].splice(a,1),this._hooks[i].length===0&&delete this._hooks[i]}}deprecateHook(i,s){this._deprecatedHooks[i]=typeof s=="string"?{to:s}:s;const a=this._hooks[i]||[];delete this._hooks[i];for(const r of a)this.hook(i,r)}deprecateHooks(i){Object.assign(this._deprecatedHooks,i);for(const s in i)this.deprecateHook(s,i[s])}addHooks(i){const s=_4(i),a=Object.keys(s).map(r=>this.hook(r,s[r]));return()=>{for(const r of a.splice(0,a.length))r()}}removeHooks(i){const s=_4(i);for(const a in s)this.removeHook(a,s[a])}removeAllHooks(){for(const i in this._hooks)delete this._hooks[i]}callHook(i,...s){return s.unshift(i),this.callHookWith(oS,i,...s)}callHookParallel(i,...s){return s.unshift(i),this.callHookWith(lS,i,...s)}callHookWith(i,s,...a){const r=this._before||this._after?{name:s,args:a,context:{}}:void 0;this._before&&kb(this._before,r);const e=i(s in this._hooks?[...this._hooks[s]]:[],a);return e instanceof Promise?e.finally(()=>{this._after&&r&&kb(this._after,r)}):(this._after&&r&&kb(this._after,r),e)}beforeEach(i){return this._before=this._before||[],this._before.push(i),()=>{if(this._before!==void 0){const s=this._before.indexOf(i);s!==-1&&this._before.splice(s,1)}}}afterEach(i){return this._after=this._after||[],this._after.push(i),()=>{if(this._after!==void 0){const s=this._after.indexOf(i);s!==-1&&this._after.splice(s,1)}}}}function uS(){return new cS}function fS(t){return Array.isArray(t)?t:[t]}const hS=["title","titleTemplate","script","style","noscript"],ag=["base","meta","link","style","script","noscript"],dS=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],pS=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],gE=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],mS=typeof window<"u";function vE(t){let i=9;for(let s=0;s<t.length;)i=Math.imul(i^t.charCodeAt(s++),9**9);return((i^i>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function OD(t){return t._h||vE(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([i,s])=>`${i}:${String(s)}`).join(",")}`)}function bE(t,i){const{props:s,tag:a}=t;if(pS.includes(a))return a;if(a==="link"&&s.rel==="canonical")return"canonical";if(s.charset)return"charset";const r=["id"];a==="meta"&&r.push("name","property","http-equiv");for(const e of r)if(typeof s[e]<"u"){const p=String(s[e]);return i&&!i(p)?!1:`${a}:${e}:${p}`}return!1}function kD(t,i){return t==null?i||null:typeof t=="function"?t(i):t}async function gS(t,i,s){const a={tag:t,props:await _E(typeof i=="object"&&typeof i!="function"&&!(i instanceof Promise)?{...i}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:i},["templateParams","titleTemplate"].includes(t))};return gE.forEach(r=>{const e=typeof a.props[r]<"u"?a.props[r]:s[r];typeof e<"u"&&((!["innerHTML","textContent"].includes(r)||hS.includes(a.tag))&&(a[r]=e),delete a.props[r])}),a.props.body&&(a.tagPosition="bodyClose",delete a.props.body),a.props.children&&(a.innerHTML=a.props.children,delete a.props.children),a.tag==="script"&&(typeof a.innerHTML=="object"&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),a.innerHTML&&["application/ld+json","application/json"].includes(a.props.type)&&(a.innerHTML=a.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(a.props.content)?a.props.content.map(r=>({...a,props:{...a.props,content:r}})):a}function vS(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(i=>t[i])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(i=>i.trim()).filter(Boolean).join(" ")}async function _E(t,i){for(const s of Object.keys(t)){if(s==="class"){t[s]=vS(t[s]);continue}if(t[s]instanceof Promise&&(t[s]=await t[s]),!i&&!gE.includes(s)){const a=String(t[s]),r=s.startsWith("data-");a==="true"||a===""?t[s]=r?"true":!0:t[s]||(r&&a==="false"?t[s]="false":delete t[s])}}return t}const bS=10;async function _S(t){const i=[];return Object.entries(t.resolvedInput).filter(([s,a])=>typeof a<"u"&&dS.includes(s)).forEach(([s,a])=>{const r=fS(a);i.push(...r.map(e=>gS(s,e,t)).flat())}),(await Promise.all(i)).flat().filter(Boolean).map((s,a)=>(s._e=t._i,t.mode&&(s._m=t.mode),s._p=(t._i<<bS)+a,s))}const RD={base:-10,title:10},PD={critical:-80,high:-10,low:20};function Fg(t){let i=100;const s=t.tagPriority;return typeof s=="number"?s:(t.tag==="meta"?(t.props["http-equiv"]==="content-security-policy"&&(i=-30),t.props.charset&&(i=-20),t.props.name==="viewport"&&(i=-15)):t.tag==="link"&&t.props.rel==="preconnect"?i=20:t.tag in RD&&(i=RD[t.tag]),typeof s=="string"&&s in PD?i+PD[s]:i)}const yS=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Il="%separator";function lu(t,i,s){if(typeof t!="string"||!t.includes("%"))return t;function a(p){let _;return["s","pageTitle"].includes(p)?_=i.pageTitle:p.includes(".")?_=p.split(".").reduce((D,F)=>D&&D[F]||void 0,i):_=i[p],typeof _<"u"?(_||"").replace(/"/g,'\\"'):!1}let r=t;try{r=decodeURI(t)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(p=>{const _=a(p.slice(1));typeof _=="string"&&(t=t.replace(new RegExp(`\\${p}(\\W|$)`,"g"),(D,F)=>`${_}${F}`).trim())}),t.includes(Il)&&(t.endsWith(Il)&&(t=t.slice(0,-Il.length).trim()),t.startsWith(Il)&&(t=t.slice(Il.length).trim()),t=t.replace(new RegExp(`\\${Il}\\s*\\${Il}`,"g"),Il),t=lu(t,{separator:s},s)),t}async function DS(t){const i={tag:t.tagName.toLowerCase(),props:await _E(t.getAttributeNames().reduce((s,a)=>({...s,[a]:t.getAttribute(a)}),{})),innerHTML:t.innerHTML};return i._d=bE(i),i}async function wS(t,i={}){var T;const s=i.document||t.resolvedOptions.document;if(!s)return;const a={shouldRender:t.dirty,tags:[]};if(await t.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const r=(await t.resolveTags()).map(A=>({tag:A,id:ag.includes(A.tag)?OD(A):A.tag,shouldRender:!0}));let e=t._dom;if(!e){e={elMap:{htmlAttrs:s.documentElement,bodyAttrs:s.body}};for(const A of["body","head"]){const R=(T=s==null?void 0:s[A])==null?void 0:T.children;for(const I of[...R].filter(N=>ag.includes(N.tagName.toLowerCase())))e.elMap[I.getAttribute("data-hid")||OD(await DS(I))]=I}}e.pendingSideEffects={...e.sideEffects||{}},e.sideEffects={};function p(A,R,I){const N=`${A}:${R}`;e.sideEffects[N]=I,delete e.pendingSideEffects[N]}function _({id:A,$el:R,tag:I}){const N=I.tag.endsWith("Attrs");e.elMap[A]=R,N||(["textContent","innerHTML"].forEach(L=>{I[L]&&I[L]!==R[L]&&(R[L]=I[L])}),p(A,"el",()=>{e.elMap[A].remove(),delete e.elMap[A]})),Object.entries(I.props).forEach(([L,V])=>{const U=`attr:${L}`;if(L==="class")for(const G of(V||"").split(" ").filter(Boolean))N&&p(A,`${U}:${G}`,()=>R.classList.remove(G)),!R.classList.contains(G)&&R.classList.add(G);else R.getAttribute(L)!==V&&R.setAttribute(L,V===!0?"":String(V)),N&&p(A,U,()=>R.removeAttribute(L))})}const D=[],F={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const A of r){const{tag:R,shouldRender:I,id:N}=A;if(I){if(R.tag==="title"){s.title=R.textContent;continue}A.$el=A.$el||e.elMap[N],A.$el?_(A):ag.includes(R.tag)&&D.push(A)}}for(const A of D){const R=A.tag.tagPosition||"head";A.$el=s.createElement(A.tag.tag),_(A),F[R]=F[R]||s.createDocumentFragment(),F[R].appendChild(A.$el)}for(const A of r)await t.hooks.callHook("dom:renderTag",A,s,p);F.head&&s.head.appendChild(F.head),F.bodyOpen&&s.body.insertBefore(F.bodyOpen,s.body.firstChild),F.bodyClose&&s.body.appendChild(F.bodyClose),Object.values(e.pendingSideEffects).forEach(A=>A()),t._dom=e,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:r})}async function FS(t,i={}){const s=i.delayFn||(a=>setTimeout(a,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(a=>s(async()=>{await wS(t,i),delete t._domUpdatePromise,a()}))}function ES(t){return i=>{var a,r;const s=((r=(a=i.resolvedOptions.document)==null?void 0:a.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return s&&i.push(JSON.parse(s)),{mode:"client",hooks:{"entries:updated":function(e){FS(e,t)}}}}}const xS=["templateParams","htmlAttrs","bodyAttrs"],CS={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(a=>{t.props[a]&&(t.key=t.props[a],delete t.props[a])});const s=bE(t)||(t.key?`${t.tag}:${t.key}`:!1);s&&(t._d=s)},"tags:resolve":function(t){const i={};t.tags.forEach(a=>{const r=(a.key?`${a.tag}:${a.key}`:a._d)||a._p,e=i[r];if(e){let _=a==null?void 0:a.tagDuplicateStrategy;if(!_&&xS.includes(a.tag)&&(_="merge"),_==="merge"){const D=e.props;["class","style"].forEach(F=>{a.props[F]&&D[F]&&(F==="style"&&!D[F].endsWith(";")&&(D[F]+=";"),a.props[F]=`${D[F]} ${a.props[F]}`)}),i[r].props={...D,...a.props};return}else if(a._e===e._e){e._duped=e._duped||[],a._d=`${e._d}:${e._duped.length+1}`,e._duped.push(a);return}else if(Fg(a)>Fg(e))return}const p=Object.keys(a.props).length+(a.innerHTML?1:0)+(a.textContent?1:0);if(ag.includes(a.tag)&&p===0){delete i[r];return}i[r]=a});const s=[];Object.values(i).forEach(a=>{const r=a._duped;delete a._duped,s.push(a),r&&s.push(...r)}),t.tags=s,t.tags=t.tags.filter(a=>!(a.tag==="meta"&&(a.props.name||a.props.property)&&!a.props.content))}}},TS={mode:"server",hooks:{"tags:resolve":function(t){const i={};t.tags.filter(s=>["titleTemplate","templateParams","title"].includes(s.tag)&&s._m==="server").forEach(s=>{i[s.tag]=s.tag.startsWith("title")?s.textContent:s.props}),Object.keys(i).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(i),props:{id:"unhead:payload",type:"application/json"}})}}},ID=["script","link","bodyAttrs"];function ND(t){const i={},s={};return Object.entries(t.props).forEach(([a,r])=>{a.startsWith("on")&&typeof r=="function"?s[a]=r:i[a]=r}),{props:i,eventHandlers:s}}const AS={hooks:{"ssr:render":function(t){t.tags=t.tags.map(i=>(!ID.includes(i.tag)||!Object.entries(i.props).find(([s,a])=>s.startsWith("on")&&typeof a=="function")||(i.props=ND(i).props),i))},"tags:resolve":function(t){t.tags=t.tags.map(i=>{if(!ID.includes(i.tag))return i;const{props:s,eventHandlers:a}=ND(i);return Object.keys(a).length&&(i.props=s,i._eventHandlers=a),i})},"dom:renderTag":function(t,i,s){if(!t.tag._eventHandlers)return;const a=t.tag.tag==="bodyAttrs"?i.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([r,e])=>{const p=`${t.tag._d||t.tag._p}:${r}`,_=r.slice(2).toLowerCase(),D=`data-h-${_}`;if(s(t.id,p,()=>{}),t.$el.hasAttribute(D))return;const F=e;t.$el.setAttribute(D,""),a.addEventListener(_,F),t.entry&&s(t.id,p,()=>{a.removeEventListener(_,F),t.$el.removeAttribute(D)})})}}},SS=["link","style","script","noscript"],OS={hooks:{"tag:normalise":({tag:t})=>{t.key&&SS.includes(t.tag)&&(t.props["data-hid"]=t._h=vE(t.key))}}},kS={hooks:{"tags:resolve":t=>{const i=s=>{var a;return(a=t.tags.find(r=>r._d===s))==null?void 0:a._p};for(const{prefix:s,offset:a}of yS)for(const r of t.tags.filter(e=>typeof e.tagPriority=="string"&&e.tagPriority.startsWith(s))){const e=i(r.tagPriority.replace(s,""));typeof e<"u"&&(r._p=e+a)}t.tags.sort((s,a)=>s._p-a._p).sort((s,a)=>Fg(s)-Fg(a))}}},RS={hooks:{"tags:resolve":t=>{var p;const{tags:i}=t,s=(p=i.find(_=>_.tag==="title"))==null?void 0:p.textContent,a=i.findIndex(_=>_.tag==="templateParams"),r=a!==-1?i[a].props:{},e=r.separator||"|";delete r.separator,r.pageTitle=lu(r.pageTitle||s||"",r,e);for(const _ of i)_.processTemplateParams!==!1&&(["titleTemplate","title"].includes(_.tag)&&typeof _.textContent=="string"?_.textContent=lu(_.textContent,r,e):_.tag==="meta"&&typeof _.props.content=="string"?_.props.content=lu(_.props.content,r,e):_.tag==="link"&&typeof _.props.href=="string"?_.props.href=lu(_.props.href,r,e):_.processTemplateParams===!0&&(_.innerHTML?_.innerHTML=lu(_.innerHTML,r,e):_.textContent&&(_.textContent=lu(_.textContent,r,e))));t.tags=i.filter(_=>_.tag!=="templateParams")}}},PS={hooks:{"tags:resolve":t=>{const{tags:i}=t;let s=i.findIndex(r=>r.tag==="titleTemplate");const a=i.findIndex(r=>r.tag==="title");if(a!==-1&&s!==-1){const r=kD(i[s].textContent,i[a].textContent);r!==null?i[a].textContent=r||i[a].textContent:delete i[a]}else if(s!==-1){const r=kD(i[s].textContent);r!==null&&(i[s].textContent=r,i[s].tag="title",s=-1)}s!==-1&&delete i[s],t.tags=i.filter(Boolean)}}};function IS(t={}){const i=NS(t);return i.use(ES()),i}function MD(t,i){return!t||t==="server"&&i||t==="client"&&!i}function NS(t={}){const i=uS();i.addHooks(t.hooks||{}),t.document=t.document||(mS?document:void 0);const s=!t.document;t.plugins=[CS,TS,AS,OS,kS,RS,PS,...(t==null?void 0:t.plugins)||[]];const a=()=>{p.dirty=!0,i.callHook("entries:updated",p)};let r=0,e=[];const p={dirty:!1,resolvedOptions:t,hooks:i,headEntries(){return e},use(_){const D=typeof _=="function"?_(p):_;MD(D.mode,s)&&i.addHooks(D.hooks||{})},push(_,D){D==null||delete D.head;const F={_i:r++,input:_,...D};return MD(F.mode,s)&&(e.push(F),a()),{dispose(){e=e.filter(T=>T._i!==F._i),i.callHook("entries:updated",p),a()},patch(T){e=e.map(A=>(A._i===F._i&&(A.input=F.input=T),A)),a()}}},async resolveTags(){const _={tags:[],entries:[...e]};await i.callHook("entries:resolve",_);for(const D of _.entries){const F=D.resolvedInput||D.input;if(D.resolvedInput=await(D.transform?D.transform(F):F),D.resolvedInput)for(const T of await _S(D)){const A={tag:T,entry:D,resolvedOptions:p.resolvedOptions};await i.callHook("tag:normalise",A),_.tags.push(A.tag)}}return await i.callHook("tags:beforeResolve",_),await i.callHook("tags:resolve",_),_.tags},ssr:s};return t.plugins.forEach(_=>p.use(_)),p.hooks.callHook("init",p),p}const MS=v_.startsWith("3");function LS(t){return typeof t=="function"?t():tr(t)}function y4(t,i=""){if(t instanceof Promise)return t;const s=LS(t);return!t||!s?s:Array.isArray(s)?s.map(a=>y4(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,tr(r)]:[a,y4(r,a)])):s}const BS={hooks:{"entries:resolve":function(t){for(const i of t.entries)i.resolvedInput=y4(i.input)}}},US="usehead";function HS(t){return{install(s){MS&&(s.config.globalProperties.$unhead=t,s.config.globalProperties.$head=t,s.provide(US,t))}}.install}function $S(t={}){t.domDelayFn=t.domDelayFn||(s=>vo(()=>setTimeout(()=>s(),0)));const i=IS(t);return i.use(BS),i.install=HS(i),i}function WS(t){try{return JSON.parse(t||"{}")}catch(i){return console.error("[SSG] On state deserialization -",i,t),{}}}function zS(t){return document.readyState==="loading"?new Promise(i=>{document.addEventListener("DOMContentLoaded",()=>i(t))}):Promise.resolve(t)}const jS=mi({setup(t,{slots:i}){const s=Yt(!1);return Ma(()=>s.value=!0),()=>s.value?i.default&&i.default({}):i.placeholder&&i.placeholder({})}});function VS(t,i,s,a={}){const{transformState:r,registerComponents:e=!0,useHead:p=!0,rootContainer:_="#app"}=a,D=typeof window<"u";async function F(T=!1,A){const R=T?D_(t):HF(t);let I;p&&(I=$S(),R.use(I));const N=tS({history:T?g8(i.base):v8(i.base),...i}),{routes:L}=i;e&&R.component("ClientOnly",jS);const V=[],ne={app:R,head:I,isClient:D,router:N,routes:L,onSSRAppRendered:T?()=>{}:ee=>V.push(ee),triggerOnSSRAppRendered:()=>Promise.all(V.map(ee=>ee())),initialState:{},transformState:r,routePath:A};T&&(await zS(),ne.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||WS(window.__INITIAL_STATE__)),await(s==null?void 0:s(ne)),R.use(N);let z,H=!0;if(N.beforeEach((ee,re,te)=>{(H||z&&z===ee.path)&&(H=!1,z=ee.path,ee.meta.state=ne.initialState),te()}),!T){const ee=ne.routePath??"/";N.push(ee),await N.isReady(),ne.initialState=N.currentRoute.value.meta.state||{}}const Z=ne.initialState;return{...ne,initialState:Z}}return D&&(async()=>{const{app:T,router:A}=await F(!0);await A.isReady(),T.mount(_,!0)})(),F}var GS=function(){function t(i,s){s===void 0&&(s=[]),this._eventType=i,this._eventFunctions=s}return t.prototype.init=function(){var i=this;this._eventFunctions.forEach(function(s){typeof window<"u"&&window.addEventListener(i._eventType,s)})},t}(),Eg=globalThis&&globalThis.__assign||function(){return Eg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Eg.apply(this,arguments)},xg={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(){}},yE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=xg),this._items=i,this._options=Eg(Eg({},xg),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&this._items.map(function(s){s.active&&i.open(s.id),s.triggerEl.addEventListener("click",function(){i.toggle(s.id)})})},t.prototype.getItem=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.open=function(i){var s,a,r=this,e=this.getItem(i);this._options.alwaysOpen||this._items.map(function(p){var _,D;p!==e&&((_=p.triggerEl.classList).remove.apply(_,r._options.activeClasses.split(" ")),(D=p.triggerEl.classList).add.apply(D,r._options.inactiveClasses.split(" ")),p.targetEl.classList.add("hidden"),p.triggerEl.setAttribute("aria-expanded","false"),p.active=!1,p.iconEl&&p.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(i){var s=this.getItem(i);s.active?this.close(i):this.open(i),this._options.onToggle(this,s)},t.prototype.close=function(i){var s,a,r=this.getItem(i);(s=r.triggerEl.classList).remove.apply(s,this._options.activeClasses.split(" ")),(a=r.triggerEl.classList).add.apply(a,this._options.inactiveClasses.split(" ")),r.targetEl.classList.add("hidden"),r.triggerEl.setAttribute("aria-expanded","false"),r.active=!1,r.iconEl&&r.iconEl.classList.remove("rotate-180"),this._options.onClose(this,r)},t}();function C_(){document.querySelectorAll("[data-accordion]").forEach(function(t){var i=t.getAttribute("data-accordion"),s=t.getAttribute("data-active-classes"),a=t.getAttribute("data-inactive-classes"),r=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var p={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"};r.push(p)}}),new yE(r,{alwaysOpen:i==="open",activeClasses:s||xg.activeClasses,inactiveClasses:a||xg.inactiveClasses})})}typeof window<"u"&&(window.Accordion=yE,window.initAccordions=C_);var Cg=globalThis&&globalThis.__assign||function(){return Cg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Cg.apply(this,arguments)},LD={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},DE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=LD),this._targetEl=i,this._triggerEl=s,this._options=Cg(Cg({},LD),a),this._visible=!1,this._init()}return t.prototype._init=function(){var i=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(){i.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 T_(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var i=t.getAttribute("data-collapse-toggle"),s=document.getElementById(i);s?new DE(s,t):console.error('The target element with id "'.concat(i,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=DE,window.initCollapses=T_);var hu=globalThis&&globalThis.__assign||function(){return hu=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},hu.apply(this,arguments)},og={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(){}},wE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=og),this._items=i,this._options=hu(hu(hu({},og),s),{indicators:hu(hu({},og.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 i=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(){i.slideTo(a)})})},t.prototype.getItem=function(i){return this._items[i]},t.prototype.slideTo=function(i){var s=this._items[i],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 i=this._getActiveItem(),s=null;i.position===this._items.length-1?s=this._items[0]:s=this._items[i.position+1],this.slideTo(s.position),this._options.onNext(this)},t.prototype.prev=function(){var i=this._getActiveItem(),s=null;i.position===0?s=this._items[this._items.length-1]:s=this._items[i.position-1],this.slideTo(s.position),this._options.onPrev(this)},t.prototype._rotate=function(i){this._items.map(function(s){s.el.classList.add("hidden")}),i.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.left.el.classList.add("-translate-x-full","z-10"),i.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),i.middle.el.classList.add("translate-x-0","z-20"),i.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var i=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){i.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(i){var s,a,r=this;this._activeItem=i;var e=i.position;this._indicators.length&&(this._indicators.map(function(p){var _,D;p.el.setAttribute("aria-current","false"),(_=p.el.classList).remove.apply(_,r._options.indicators.activeClasses.split(" ")),(D=p.el.classList).add.apply(D,r._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 A_(){document.querySelectorAll("[data-carousel]").forEach(function(t){var i=t.getAttribute("data-carousel-interval"),s=t.getAttribute("data-carousel")==="slide",a=[],r=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(F,T){a.push({position:T,el:F}),F.getAttribute("data-carousel-item")==="active"&&(r=T)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(F){e.push({position:parseInt(F.getAttribute("data-carousel-slide-to")),el:F})});var p=new wE(a,{defaultPosition:r,indicators:{items:e},interval:i||og.interval});s&&p.cycle();var _=t.querySelector("[data-carousel-next]"),D=t.querySelector("[data-carousel-prev]");_&&_.addEventListener("click",function(){p.next()}),D&&D.addEventListener("click",function(){p.prev()})})}typeof window<"u"&&(window.Carousel=wE,window.initCarousels=A_);var Tg=globalThis&&globalThis.__assign||function(){return Tg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Tg.apply(this,arguments)},BD={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},FE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=BD),this._targetEl=i,this._triggerEl=s,this._options=Tg(Tg({},BD),a),this._init()}return t.prototype._init=function(){var i=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){i.hide()})},t.prototype.hide=function(){var i=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){i._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function S_(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var i=t.getAttribute("data-dismiss-target"),s=document.querySelector(i);s?new FE(s,t):console.error('The dismiss element with id "'.concat(i,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=FE,window.initDismisses=S_);var ys="top",ha="bottom",da="right",Ds="left",O_="auto",m1=[ys,ha,da,Ds],h0="start",t1="end",YS="clippingParents",EE="viewport",_d="popper",KS="reference",UD=m1.reduce(function(t,i){return t.concat([i+"-"+h0,i+"-"+t1])},[]),xE=[].concat(m1,[O_]).reduce(function(t,i){return t.concat([i,i+"-"+h0,i+"-"+t1])},[]),qS="beforeRead",QS="read",XS="afterRead",JS="beforeMain",ZS="main",eO="afterMain",tO="beforeWrite",rO="write",nO="afterWrite",iO=[qS,QS,XS,JS,ZS,eO,tO,rO,nO];function mo(t){return t?(t.nodeName||"").toLowerCase():null}function Ws(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var i=t.ownerDocument;return i&&i.defaultView||window}return t}function xu(t){var i=Ws(t).Element;return t instanceof i||t instanceof Element}function ua(t){var i=Ws(t).HTMLElement;return t instanceof i||t instanceof HTMLElement}function k_(t){if(typeof ShadowRoot>"u")return!1;var i=Ws(t).ShadowRoot;return t instanceof i||t instanceof ShadowRoot}function sO(t){var i=t.state;Object.keys(i.elements).forEach(function(s){var a=i.styles[s]||{},r=i.attributes[s]||{},e=i.elements[s];!ua(e)||!mo(e)||(Object.assign(e.style,a),Object.keys(r).forEach(function(p){var _=r[p];_===!1?e.removeAttribute(p):e.setAttribute(p,_===!0?"":_)}))})}function aO(t){var i=t.state,s={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,s.popper),i.styles=s,i.elements.arrow&&Object.assign(i.elements.arrow.style,s.arrow),function(){Object.keys(i.elements).forEach(function(a){var r=i.elements[a],e=i.attributes[a]||{},p=Object.keys(i.styles.hasOwnProperty(a)?i.styles[a]:s[a]),_=p.reduce(function(D,F){return D[F]="",D},{});!ua(r)||!mo(r)||(Object.assign(r.style,_),Object.keys(e).forEach(function(D){r.removeAttribute(D)}))})}}const oO={name:"applyStyles",enabled:!0,phase:"write",fn:sO,effect:aO,requires:["computeStyles"]};function uo(t){return t.split("-")[0]}var yu=Math.max,Ag=Math.min,d0=Math.round;function D4(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function CE(){return!/^((?!chrome|android).)*safari/i.test(D4())}function p0(t,i,s){i===void 0&&(i=!1),s===void 0&&(s=!1);var a=t.getBoundingClientRect(),r=1,e=1;i&&ua(t)&&(r=t.offsetWidth>0&&d0(a.width)/t.offsetWidth||1,e=t.offsetHeight>0&&d0(a.height)/t.offsetHeight||1);var p=xu(t)?Ws(t):window,_=p.visualViewport,D=!CE()&&s,F=(a.left+(D&&_?_.offsetLeft:0))/r,T=(a.top+(D&&_?_.offsetTop:0))/e,A=a.width/r,R=a.height/e;return{width:A,height:R,top:T,right:F+A,bottom:T+R,left:F,x:F,y:T}}function R_(t){var i=p0(t),s=t.offsetWidth,a=t.offsetHeight;return Math.abs(i.width-s)<=1&&(s=i.width),Math.abs(i.height-a)<=1&&(a=i.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:a}}function TE(t,i){var s=i.getRootNode&&i.getRootNode();if(t.contains(i))return!0;if(s&&k_(s)){var a=i;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function el(t){return Ws(t).getComputedStyle(t)}function lO(t){return["table","td","th"].indexOf(mo(t))>=0}function ac(t){return((xu(t)?t.ownerDocument:t.document)||window.document).documentElement}function v2(t){return mo(t)==="html"?t:t.assignedSlot||t.parentNode||(k_(t)?t.host:null)||ac(t)}function HD(t){return!ua(t)||el(t).position==="fixed"?null:t.offsetParent}function cO(t){var i=/firefox/i.test(D4()),s=/Trident/i.test(D4());if(s&&ua(t)){var a=el(t);if(a.position==="fixed")return null}var r=v2(t);for(k_(r)&&(r=r.host);ua(r)&&["html","body"].indexOf(mo(r))<0;){var e=el(r);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||i&&e.willChange==="filter"||i&&e.filter&&e.filter!=="none")return r;r=r.parentNode}return null}function g1(t){for(var i=Ws(t),s=HD(t);s&&lO(s)&&el(s).position==="static";)s=HD(s);return s&&(mo(s)==="html"||mo(s)==="body"&&el(s).position==="static")?i:s||cO(t)||i}function P_(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Nd(t,i,s){return yu(t,Ag(i,s))}function uO(t,i,s){var a=Nd(t,i,s);return a>s?s:a}function AE(){return{top:0,right:0,bottom:0,left:0}}function SE(t){return Object.assign({},AE(),t)}function OE(t,i){return i.reduce(function(s,a){return s[a]=t,s},{})}var fO=function(i,s){return i=typeof i=="function"?i(Object.assign({},s.rects,{placement:s.placement})):i,SE(typeof i!="number"?i:OE(i,m1))};function hO(t){var i,s=t.state,a=t.name,r=t.options,e=s.elements.arrow,p=s.modifiersData.popperOffsets,_=uo(s.placement),D=P_(_),F=[Ds,da].indexOf(_)>=0,T=F?"height":"width";if(!(!e||!p)){var A=fO(r.padding,s),R=R_(e),I=D==="y"?ys:Ds,N=D==="y"?ha:da,L=s.rects.reference[T]+s.rects.reference[D]-p[D]-s.rects.popper[T],V=p[D]-s.rects.reference[D],U=g1(e),G=U?D==="y"?U.clientHeight||0:U.clientWidth||0:0,ne=L/2-V/2,z=A[I],H=G-R[T]-A[N],Z=G/2-R[T]/2+ne,ee=Nd(z,Z,H),re=D;s.modifiersData[a]=(i={},i[re]=ee,i.centerOffset=ee-Z,i)}}function dO(t){var i=t.state,s=t.options,a=s.element,r=a===void 0?"[data-popper-arrow]":a;r!=null&&(typeof r=="string"&&(r=i.elements.popper.querySelector(r),!r)||TE(i.elements.popper,r)&&(i.elements.arrow=r))}const pO={name:"arrow",enabled:!0,phase:"main",fn:hO,effect:dO,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function m0(t){return t.split("-")[1]}var mO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gO(t,i){var s=t.x,a=t.y,r=i.devicePixelRatio||1;return{x:d0(s*r)/r||0,y:d0(a*r)/r||0}}function $D(t){var i,s=t.popper,a=t.popperRect,r=t.placement,e=t.variation,p=t.offsets,_=t.position,D=t.gpuAcceleration,F=t.adaptive,T=t.roundOffsets,A=t.isFixed,R=p.x,I=R===void 0?0:R,N=p.y,L=N===void 0?0:N,V=typeof T=="function"?T({x:I,y:L}):{x:I,y:L};I=V.x,L=V.y;var U=p.hasOwnProperty("x"),G=p.hasOwnProperty("y"),ne=Ds,z=ys,H=window;if(F){var Z=g1(s),ee="clientHeight",re="clientWidth";if(Z===Ws(s)&&(Z=ac(s),el(Z).position!=="static"&&_==="absolute"&&(ee="scrollHeight",re="scrollWidth")),Z=Z,r===ys||(r===Ds||r===da)&&e===t1){z=ha;var te=A&&Z===H&&H.visualViewport?H.visualViewport.height:Z[ee];L-=te-a.height,L*=D?1:-1}if(r===Ds||(r===ys||r===ha)&&e===t1){ne=da;var ae=A&&Z===H&&H.visualViewport?H.visualViewport.width:Z[re];I-=ae-a.width,I*=D?1:-1}}var ve=Object.assign({position:_},F&&mO),Ae=T===!0?gO({x:I,y:L},Ws(s)):{x:I,y:L};if(I=Ae.x,L=Ae.y,D){var De;return Object.assign({},ve,(De={},De[z]=G?"0":"",De[ne]=U?"0":"",De.transform=(H.devicePixelRatio||1)<=1?"translate("+I+"px, "+L+"px)":"translate3d("+I+"px, "+L+"px, 0)",De))}return Object.assign({},ve,(i={},i[z]=G?L+"px":"",i[ne]=U?I+"px":"",i.transform="",i))}function vO(t){var i=t.state,s=t.options,a=s.gpuAcceleration,r=a===void 0?!0:a,e=s.adaptive,p=e===void 0?!0:e,_=s.roundOffsets,D=_===void 0?!0:_,F={placement:uo(i.placement),variation:m0(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:r,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,$D(Object.assign({},F,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:p,roundOffsets:D})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,$D(Object.assign({},F,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:D})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const bO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vO,data:{}};var Ym={passive:!0};function _O(t){var i=t.state,s=t.instance,a=t.options,r=a.scroll,e=r===void 0?!0:r,p=a.resize,_=p===void 0?!0:p,D=Ws(i.elements.popper),F=[].concat(i.scrollParents.reference,i.scrollParents.popper);return e&&F.forEach(function(T){T.addEventListener("scroll",s.update,Ym)}),_&&D.addEventListener("resize",s.update,Ym),function(){e&&F.forEach(function(T){T.removeEventListener("scroll",s.update,Ym)}),_&&D.removeEventListener("resize",s.update,Ym)}}const yO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:_O,data:{}};var DO={left:"right",right:"left",bottom:"top",top:"bottom"};function lg(t){return t.replace(/left|right|bottom|top/g,function(i){return DO[i]})}var wO={start:"end",end:"start"};function WD(t){return t.replace(/start|end/g,function(i){return wO[i]})}function I_(t){var i=Ws(t),s=i.pageXOffset,a=i.pageYOffset;return{scrollLeft:s,scrollTop:a}}function N_(t){return p0(ac(t)).left+I_(t).scrollLeft}function FO(t,i){var s=Ws(t),a=ac(t),r=s.visualViewport,e=a.clientWidth,p=a.clientHeight,_=0,D=0;if(r){e=r.width,p=r.height;var F=CE();(F||!F&&i==="fixed")&&(_=r.offsetLeft,D=r.offsetTop)}return{width:e,height:p,x:_+N_(t),y:D}}function EO(t){var i,s=ac(t),a=I_(t),r=(i=t.ownerDocument)==null?void 0:i.body,e=yu(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),p=yu(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),_=-a.scrollLeft+N_(t),D=-a.scrollTop;return el(r||s).direction==="rtl"&&(_+=yu(s.clientWidth,r?r.clientWidth:0)-e),{width:e,height:p,x:_,y:D}}function M_(t){var i=el(t),s=i.overflow,a=i.overflowX,r=i.overflowY;return/auto|scroll|overlay|hidden/.test(s+r+a)}function kE(t){return["html","body","#document"].indexOf(mo(t))>=0?t.ownerDocument.body:ua(t)&&M_(t)?t:kE(v2(t))}function Md(t,i){var s;i===void 0&&(i=[]);var a=kE(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=Ws(a),p=r?[e].concat(e.visualViewport||[],M_(a)?a:[]):a,_=i.concat(p);return r?_:_.concat(Md(v2(p)))}function w4(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xO(t,i){var s=p0(t,!1,i==="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 zD(t,i,s){return i===EE?w4(FO(t,s)):xu(i)?xO(i,s):w4(EO(ac(t)))}function CO(t){var i=Md(v2(t)),s=["absolute","fixed"].indexOf(el(t).position)>=0,a=s&&ua(t)?g1(t):t;return xu(a)?i.filter(function(r){return xu(r)&&TE(r,a)&&mo(r)!=="body"}):[]}function TO(t,i,s,a){var r=i==="clippingParents"?CO(t):[].concat(i),e=[].concat(r,[s]),p=e[0],_=e.reduce(function(D,F){var T=zD(t,F,a);return D.top=yu(T.top,D.top),D.right=Ag(T.right,D.right),D.bottom=Ag(T.bottom,D.bottom),D.left=yu(T.left,D.left),D},zD(t,p,a));return _.width=_.right-_.left,_.height=_.bottom-_.top,_.x=_.left,_.y=_.top,_}function RE(t){var i=t.reference,s=t.element,a=t.placement,r=a?uo(a):null,e=a?m0(a):null,p=i.x+i.width/2-s.width/2,_=i.y+i.height/2-s.height/2,D;switch(r){case ys:D={x:p,y:i.y-s.height};break;case ha:D={x:p,y:i.y+i.height};break;case da:D={x:i.x+i.width,y:_};break;case Ds:D={x:i.x-s.width,y:_};break;default:D={x:i.x,y:i.y}}var F=r?P_(r):null;if(F!=null){var T=F==="y"?"height":"width";switch(e){case h0:D[F]=D[F]-(i[T]/2-s[T]/2);break;case t1:D[F]=D[F]+(i[T]/2-s[T]/2);break}}return D}function r1(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=a===void 0?t.placement:a,e=s.strategy,p=e===void 0?t.strategy:e,_=s.boundary,D=_===void 0?YS:_,F=s.rootBoundary,T=F===void 0?EE:F,A=s.elementContext,R=A===void 0?_d:A,I=s.altBoundary,N=I===void 0?!1:I,L=s.padding,V=L===void 0?0:L,U=SE(typeof V!="number"?V:OE(V,m1)),G=R===_d?KS:_d,ne=t.rects.popper,z=t.elements[N?G:R],H=TO(xu(z)?z:z.contextElement||ac(t.elements.popper),D,T,p),Z=p0(t.elements.reference),ee=RE({reference:Z,element:ne,strategy:"absolute",placement:r}),re=w4(Object.assign({},ne,ee)),te=R===_d?re:Z,ae={top:H.top-te.top+U.top,bottom:te.bottom-H.bottom+U.bottom,left:H.left-te.left+U.left,right:te.right-H.right+U.right},ve=t.modifiersData.offset;if(R===_d&&ve){var Ae=ve[r];Object.keys(ae).forEach(function(De){var ge=[da,ha].indexOf(De)>=0?1:-1,Ne=[ys,ha].indexOf(De)>=0?"y":"x";ae[De]+=Ae[Ne]*ge})}return ae}function AO(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=s.boundary,e=s.rootBoundary,p=s.padding,_=s.flipVariations,D=s.allowedAutoPlacements,F=D===void 0?xE:D,T=m0(a),A=T?_?UD:UD.filter(function(N){return m0(N)===T}):m1,R=A.filter(function(N){return F.indexOf(N)>=0});R.length===0&&(R=A);var I=R.reduce(function(N,L){return N[L]=r1(t,{placement:L,boundary:r,rootBoundary:e,padding:p})[uo(L)],N},{});return Object.keys(I).sort(function(N,L){return I[N]-I[L]})}function SO(t){if(uo(t)===O_)return[];var i=lg(t);return[WD(t),i,WD(i)]}function OO(t){var i=t.state,s=t.options,a=t.name;if(!i.modifiersData[a]._skip){for(var r=s.mainAxis,e=r===void 0?!0:r,p=s.altAxis,_=p===void 0?!0:p,D=s.fallbackPlacements,F=s.padding,T=s.boundary,A=s.rootBoundary,R=s.altBoundary,I=s.flipVariations,N=I===void 0?!0:I,L=s.allowedAutoPlacements,V=i.options.placement,U=uo(V),G=U===V,ne=D||(G||!N?[lg(V)]:SO(V)),z=[V].concat(ne).reduce(function(Ue,be){return Ue.concat(uo(be)===O_?AO(i,{placement:be,boundary:T,rootBoundary:A,padding:F,flipVariations:N,allowedAutoPlacements:L}):be)},[]),H=i.rects.reference,Z=i.rects.popper,ee=new Map,re=!0,te=z[0],ae=0;ae<z.length;ae++){var ve=z[ae],Ae=uo(ve),De=m0(ve)===h0,ge=[ys,ha].indexOf(Ae)>=0,Ne=ge?"width":"height",We=r1(i,{placement:ve,boundary:T,rootBoundary:A,altBoundary:R,padding:F}),Se=ge?De?da:Ds:De?ha:ys;H[Ne]>Z[Ne]&&(Se=lg(Se));var lt=lg(Se),at=[];if(e&&at.push(We[Ae]<=0),_&&at.push(We[Se]<=0,We[lt]<=0),at.every(function(Ue){return Ue})){te=ve,re=!1;break}ee.set(ve,at)}if(re)for(var ze=N?3:1,he=function(be){var Pe=z.find(function(J){var Le=ee.get(J);if(Le)return Le.slice(0,be).every(function(_e){return _e})});if(Pe)return te=Pe,"break"},He=ze;He>0;He--){var Je=he(He);if(Je==="break")break}i.placement!==te&&(i.modifiersData[a]._skip=!0,i.placement=te,i.reset=!0)}}const kO={name:"flip",enabled:!0,phase:"main",fn:OO,requiresIfExists:["offset"],data:{_skip:!1}};function jD(t,i,s){return s===void 0&&(s={x:0,y:0}),{top:t.top-i.height-s.y,right:t.right-i.width+s.x,bottom:t.bottom-i.height+s.y,left:t.left-i.width-s.x}}function VD(t){return[ys,da,ha,Ds].some(function(i){return t[i]>=0})}function RO(t){var i=t.state,s=t.name,a=i.rects.reference,r=i.rects.popper,e=i.modifiersData.preventOverflow,p=r1(i,{elementContext:"reference"}),_=r1(i,{altBoundary:!0}),D=jD(p,a),F=jD(_,r,e),T=VD(D),A=VD(F);i.modifiersData[s]={referenceClippingOffsets:D,popperEscapeOffsets:F,isReferenceHidden:T,hasPopperEscaped:A},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":T,"data-popper-escaped":A})}const PO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:RO};function IO(t,i,s){var a=uo(t),r=[Ds,ys].indexOf(a)>=0?-1:1,e=typeof s=="function"?s(Object.assign({},i,{placement:t})):s,p=e[0],_=e[1];return p=p||0,_=(_||0)*r,[Ds,da].indexOf(a)>=0?{x:_,y:p}:{x:p,y:_}}function NO(t){var i=t.state,s=t.options,a=t.name,r=s.offset,e=r===void 0?[0,0]:r,p=xE.reduce(function(T,A){return T[A]=IO(A,i.rects,e),T},{}),_=p[i.placement],D=_.x,F=_.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=D,i.modifiersData.popperOffsets.y+=F),i.modifiersData[a]=p}const MO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:NO};function LO(t){var i=t.state,s=t.name;i.modifiersData[s]=RE({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}const BO={name:"popperOffsets",enabled:!0,phase:"read",fn:LO,data:{}};function UO(t){return t==="x"?"y":"x"}function HO(t){var i=t.state,s=t.options,a=t.name,r=s.mainAxis,e=r===void 0?!0:r,p=s.altAxis,_=p===void 0?!1:p,D=s.boundary,F=s.rootBoundary,T=s.altBoundary,A=s.padding,R=s.tether,I=R===void 0?!0:R,N=s.tetherOffset,L=N===void 0?0:N,V=r1(i,{boundary:D,rootBoundary:F,padding:A,altBoundary:T}),U=uo(i.placement),G=m0(i.placement),ne=!G,z=P_(U),H=UO(z),Z=i.modifiersData.popperOffsets,ee=i.rects.reference,re=i.rects.popper,te=typeof L=="function"?L(Object.assign({},i.rects,{placement:i.placement})):L,ae=typeof te=="number"?{mainAxis:te,altAxis:te}:Object.assign({mainAxis:0,altAxis:0},te),ve=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Ae={x:0,y:0};if(Z){if(e){var De,ge=z==="y"?ys:Ds,Ne=z==="y"?ha:da,We=z==="y"?"height":"width",Se=Z[z],lt=Se+V[ge],at=Se-V[Ne],ze=I?-re[We]/2:0,he=G===h0?ee[We]:re[We],He=G===h0?-re[We]:-ee[We],Je=i.elements.arrow,Ue=I&&Je?R_(Je):{width:0,height:0},be=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:AE(),Pe=be[ge],J=be[Ne],Le=Nd(0,ee[We],Ue[We]),_e=ne?ee[We]/2-ze-Le-Pe-ae.mainAxis:he-Le-Pe-ae.mainAxis,it=ne?-ee[We]/2+ze+Le+J+ae.mainAxis:He+Le+J+ae.mainAxis,Ut=i.elements.arrow&&g1(i.elements.arrow),X=Ut?z==="y"?Ut.clientTop||0:Ut.clientLeft||0:0,se=(De=ve==null?void 0:ve[z])!=null?De:0,ce=Se+_e-se-X,Be=Se+it-se,$e=Nd(I?Ag(lt,ce):lt,Se,I?yu(at,Be):at);Z[z]=$e,Ae[z]=$e-Se}if(_){var Ge,Ft=z==="x"?ys:Ds,dt=z==="x"?ha:da,ut=Z[H],Ve=H==="y"?"height":"width",Fe=ut+V[Ft],xe=ut-V[dt],Et=[ys,Ds].indexOf(U)!==-1,Mt=(Ge=ve==null?void 0:ve[H])!=null?Ge:0,rr=Et?Fe:ut-ee[Ve]-re[Ve]-Mt+ae.altAxis,cr=Et?ut+ee[Ve]+re[Ve]-Mt-ae.altAxis:xe,ir=I&&Et?uO(rr,ut,cr):Nd(I?rr:Fe,ut,I?cr:xe);Z[H]=ir,Ae[H]=ir-ut}i.modifiersData[a]=Ae}}const $O={name:"preventOverflow",enabled:!0,phase:"main",fn:HO,requiresIfExists:["offset"]};function WO(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function zO(t){return t===Ws(t)||!ua(t)?I_(t):WO(t)}function jO(t){var i=t.getBoundingClientRect(),s=d0(i.width)/t.offsetWidth||1,a=d0(i.height)/t.offsetHeight||1;return s!==1||a!==1}function VO(t,i,s){s===void 0&&(s=!1);var a=ua(i),r=ua(i)&&jO(i),e=ac(i),p=p0(t,r,s),_={scrollLeft:0,scrollTop:0},D={x:0,y:0};return(a||!a&&!s)&&((mo(i)!=="body"||M_(e))&&(_=zO(i)),ua(i)?(D=p0(i,!0),D.x+=i.clientLeft,D.y+=i.clientTop):e&&(D.x=N_(e))),{x:p.left+_.scrollLeft-D.x,y:p.top+_.scrollTop-D.y,width:p.width,height:p.height}}function GO(t){var i=new Map,s=new Set,a=[];t.forEach(function(e){i.set(e.name,e)});function r(e){s.add(e.name);var p=[].concat(e.requires||[],e.requiresIfExists||[]);p.forEach(function(_){if(!s.has(_)){var D=i.get(_);D&&r(D)}}),a.push(e)}return t.forEach(function(e){s.has(e.name)||r(e)}),a}function YO(t){var i=GO(t);return iO.reduce(function(s,a){return s.concat(i.filter(function(r){return r.phase===a}))},[])}function KO(t){var i;return function(){return i||(i=new Promise(function(s){Promise.resolve().then(function(){i=void 0,s(t())})})),i}}function qO(t){var i=t.reduce(function(s,a){var r=s[a.name];return s[a.name]=r?Object.assign({},r,a,{options:Object.assign({},r.options,a.options),data:Object.assign({},r.data,a.data)}):a,s},{});return Object.keys(i).map(function(s){return i[s]})}var GD={placement:"bottom",modifiers:[],strategy:"absolute"};function YD(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return!i.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function QO(t){t===void 0&&(t={});var i=t,s=i.defaultModifiers,a=s===void 0?[]:s,r=i.defaultOptions,e=r===void 0?GD:r;return function(_,D,F){F===void 0&&(F=e);var T={placement:"bottom",orderedModifiers:[],options:Object.assign({},GD,e),modifiersData:{},elements:{reference:_,popper:D},attributes:{},styles:{}},A=[],R=!1,I={state:T,setOptions:function(U){var G=typeof U=="function"?U(T.options):U;L(),T.options=Object.assign({},e,T.options,G),T.scrollParents={reference:xu(_)?Md(_):_.contextElement?Md(_.contextElement):[],popper:Md(D)};var ne=YO(qO([].concat(a,T.options.modifiers)));return T.orderedModifiers=ne.filter(function(z){return z.enabled}),N(),I.update()},forceUpdate:function(){if(!R){var U=T.elements,G=U.reference,ne=U.popper;if(YD(G,ne)){T.rects={reference:VO(G,g1(ne),T.options.strategy==="fixed"),popper:R_(ne)},T.reset=!1,T.placement=T.options.placement,T.orderedModifiers.forEach(function(ae){return T.modifiersData[ae.name]=Object.assign({},ae.data)});for(var z=0;z<T.orderedModifiers.length;z++){if(T.reset===!0){T.reset=!1,z=-1;continue}var H=T.orderedModifiers[z],Z=H.fn,ee=H.options,re=ee===void 0?{}:ee,te=H.name;typeof Z=="function"&&(T=Z({state:T,options:re,name:te,instance:I})||T)}}}},update:KO(function(){return new Promise(function(V){I.forceUpdate(),V(T)})}),destroy:function(){L(),R=!0}};if(!YD(_,D))return I;I.setOptions(F).then(function(V){!R&&F.onFirstUpdate&&F.onFirstUpdate(V)});function N(){T.orderedModifiers.forEach(function(V){var U=V.name,G=V.options,ne=G===void 0?{}:G,z=V.effect;if(typeof z=="function"){var H=z({state:T,name:U,instance:I,options:ne}),Z=function(){};A.push(H||Z)}})}function L(){A.forEach(function(V){return V()}),A=[]}return I}}var XO=[yO,BO,bO,oO,MO,kO,$O,pO,PO],L_=QO({defaultModifiers:XO}),$l=globalThis&&globalThis.__assign||function(){return $l=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},$l.apply(this,arguments)},Km=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},Wl={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},PE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Wl),this._targetEl=i,this._triggerEl=s,this._options=$l($l({},Wl),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();this._options.triggerType==="click"&&s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.toggle()})}),this._options.triggerType==="hover"&&(s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){a==="click"?i.toggle():setTimeout(function(){i.show()},i._options.delay)}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},i._options.delay)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},i._options.delay)})}))},t.prototype._createPopperInstance=function(){return L_(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target,r=this._options.ignoreClickOutsideClass,e=!1;if(r){var p=document.querySelectorAll(".".concat(r));p.forEach(function(_){if(_.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(i){return $l($l({},i),{modifiers:Km(Km([],i.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(i){return $l($l({},i),{modifiers:Km(Km([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function B_(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var i=t.getAttribute("data-dropdown-toggle"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-dropdown-placement"),r=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),p=t.getAttribute("data-dropdown-trigger"),_=t.getAttribute("data-dropdown-delay"),D=t.getAttribute("data-dropdown-ignore-click-outside-class");new PE(s,t,{placement:a||Wl.placement,triggerType:p||Wl.triggerType,offsetSkidding:r?parseInt(r):Wl.offsetSkidding,offsetDistance:e?parseInt(e):Wl.offsetDistance,delay:_?parseInt(_):Wl.delay,ignoreClickOutsideClass:D||Wl.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(i,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=PE,window.initDropdowns=B_);var Sg=globalThis&&globalThis.__assign||function(){return Sg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Sg.apply(this,arguments)},qf={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(){}},F4=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=qf),this._targetEl=i,this._options=Sg(Sg({},qf),s),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&this._getPlacementClasses().map(function(s){i._targetEl.classList.add(s)})},t.prototype._createBackdrop=function(){var i;if(this._isHidden){var s=document.createElement("div");s.setAttribute("modal-backdrop",""),(i=s.classList).add.apply(i,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 i=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(s){i._handleOutsideClick(s.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(s){s.key==="Escape"&&i.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(i){(i===this._targetEl||i===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}(),qm=function(t,i){return i.some(function(s){return s.id===t})?i.find(function(s){return s.id===t}):null};function U_(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(i){var s=i.getAttribute("data-modal-target"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop");qm(s,t)||t.push({id:s,object:new F4(a,{placement:r||qf.placement,backdrop:e||qf.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(i){var s=i.getAttribute("data-modal-toggle"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop"),p=qm(s,t);p||(p={id:s,object:new F4(a,{placement:r||qf.placement,backdrop:e||qf.backdrop})},t.push(p)),i.addEventListener("click",function(){p.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(i){var s=i.getAttribute("data-modal-show"),a=document.getElementById(s);if(a){var r=qm(s,t);r?i.addEventListener("click",function(){r.object.isHidden&&r.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(i){var s=i.getAttribute("data-modal-hide"),a=document.getElementById(s);if(a){var r=qm(s,t);r?i.addEventListener("click",function(){r.object.isVisible&&r.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=F4,window.initModals=U_);var Og=globalThis&&globalThis.__assign||function(){return Og=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Og.apply(this,arguments)},du={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(){}},IE=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=du),this._targetEl=i,this._options=Og(Og({},du),s),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(s){i._targetEl.classList.add(s)}),document.addEventListener("keydown",function(s){s.key==="Escape"&&i.isVisible()&&i.hide()})},t.prototype.hide=function(){var i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.add(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._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 i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.remove(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._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 i,s=this;if(!this._visible){var a=document.createElement("div");a.setAttribute("drawer-backdrop",""),(i=a.classList).add.apply(i,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(i){switch(i){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}(),Qm=function(t,i){if(i.some(function(s){return s.id===t}))return i.find(function(s){return s.id===t})};function H_(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(i){var s=i.getAttribute("data-drawer-target"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-drawer-placement"),e=i.getAttribute("data-drawer-body-scrolling"),p=i.getAttribute("data-drawer-backdrop"),_=i.getAttribute("data-drawer-edge"),D=i.getAttribute("data-drawer-edge-offset");Qm(s,t)||t.push({id:s,object:new IE(a,{placement:r||du.placement,bodyScrolling:e?e==="true":du.bodyScrolling,backdrop:p?p==="true":du.backdrop,edge:_?_==="true":du.edge,edgeOffset:D||du.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(i){var s=i.getAttribute("data-drawer-toggle"),a=document.getElementById(s);if(a){var r=Qm(s,t);r?i.addEventListener("click",function(){r.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(i){var s=i.getAttribute("data-drawer-dismiss")?i.getAttribute("data-drawer-dismiss"):i.getAttribute("data-drawer-hide"),a=document.getElementById(s);if(a){var r=Qm(s,t);r?i.addEventListener("click",function(){r.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(i){var s=i.getAttribute("data-drawer-show"),a=document.getElementById(s);if(a){var r=Qm(s,t);r?i.addEventListener("click",function(){r.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=IE,window.initDrawers=H_);var kg=globalThis&&globalThis.__assign||function(){return kg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},kg.apply(this,arguments)},KD={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(){}},NE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=KD),this._items=i,this._activeTab=s?this.getTab(s.defaultTabId):null,this._options=kg(kg({},KD),s),this._init()}return t.prototype._init=function(){var i=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(){i.show(s.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(i){this._activeTab=i},t.prototype.getTab=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.show=function(i,s){var a,r,e=this;s===void 0&&(s=!1);var p=this.getTab(i);p===this._activeTab&&!s||(this._items.map(function(_){var D,F;_!==p&&((D=_.triggerEl.classList).remove.apply(D,e._options.activeClasses.split(" ")),(F=_.triggerEl.classList).add.apply(F,e._options.inactiveClasses.split(" ")),_.targetEl.classList.add("hidden"),_.triggerEl.setAttribute("aria-selected","false"))}),(a=p.triggerEl.classList).add.apply(a,this._options.activeClasses.split(" ")),(r=p.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),p.triggerEl.setAttribute("aria-selected","true"),p.targetEl.classList.remove("hidden"),this._setActiveTab(p),this._options.onShow(this,p))},t}();function $_(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var i=[],s=null;t.querySelectorAll('[role="tab"]').forEach(function(a){var r=a.getAttribute("aria-selected")==="true",e={id:a.getAttribute("data-tabs-target"),triggerEl:a,targetEl:document.querySelector(a.getAttribute("data-tabs-target"))};i.push(e),r&&(s=e.id)}),new NE(i,{defaultTabId:s})})}typeof window<"u"&&(window.Tabs=NE,window.initTabs=$_);var zl=globalThis&&globalThis.__assign||function(){return zl=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},zl.apply(this,arguments)},Xm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},Rg={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},W_=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Rg),this._targetEl=i,this._triggerEl=s,this._options=zl(zl({},Rg),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.hide()})})},t.prototype._createPopperInstance=function(){return L_(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 i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.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(i){return zl(zl({},i),{modifiers:Xm(Xm([],i.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(i){return zl(zl({},i),{modifiers:Xm(Xm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function z_(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var i=t.getAttribute("data-tooltip-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-tooltip-trigger"),r=t.getAttribute("data-tooltip-placement");new W_(s,t,{placement:r||Rg.placement,triggerType:a||Rg.triggerType})}else console.error('The tooltip element with id "'.concat(i,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=W_,window.initTooltips=z_);var jl=globalThis&&globalThis.__assign||function(){return jl=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},jl.apply(this,arguments)},Jm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},Ld={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},ME=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Ld),this._targetEl=i,this._triggerEl=s,this._options=jl(jl({},Ld),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},100)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},100)})})},t.prototype._createPopperInstance=function(){return L_(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 i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.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(i){return jl(jl({},i),{modifiers:Jm(Jm([],i.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(i){return jl(jl({},i),{modifiers:Jm(Jm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function j_(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var i=t.getAttribute("data-popover-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-popover-trigger"),r=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new ME(s,t,{placement:r||Ld.placement,offset:e?parseInt(e):Ld.offset,triggerType:a||Ld.triggerType})}else console.error('The popover element with id "'.concat(i,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=ME,window.initPopovers=j_);var Pg=globalThis&&globalThis.__assign||function(){return Pg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Pg.apply(this,arguments)},E4={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},LE=function(){function t(i,s,a,r){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=null),r===void 0&&(r=E4),this._parentEl=i,this._triggerEl=s,this._targetEl=a,this._options=Pg(Pg({},E4),r),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;if(this._triggerEl){var s=this._getTriggerEventTypes(this._options.triggerType);s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._parentEl.addEventListener(a,function(){i._parentEl.matches(":hover")||i.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(i){switch(i){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 V_(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var i=t.querySelector("[data-dial-toggle]");if(i){var s=i.getAttribute("data-dial-toggle"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-dial-trigger");new LE(t,i,a,{triggerType:r||E4.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=LE,window.initDials=V_);function JO(){C_(),T_(),A_(),S_(),B_(),U_(),H_(),$_(),z_(),j_(),V_()}typeof window<"u"&&(window.initFlowbite=JO);var ZO=new GS("load",[C_,T_,A_,S_,B_,U_,H_,$_,z_,j_,V_]);ZO.init();const ek=Tt("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1),BE=mi({__name:"Tooltip",props:{placement:null},setup(t){const i=t,s=Yt(null),a=Yt(null),r=Hr(()=>i.placement??"auto");return Ma(()=>{if(s.value&&a.value){const e={placement:r.value,triggerType:"hover"};new W_(s.value,a.value,e)}}),(e,p)=>(Br(),hn("div",null,[Tt("div",{ref_key:"tooltipTriggerEl",ref:a},[Fu(e.$slots,"default")],512),Tt("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-9999":"",rounded:"","text-base":"","text-white":"","font-medium":"","bg-gray-900":"","dark:bg-gray-700":""},[Tt("div",null,[Fu(e.$slots,"popper")]),ek],512)]))}}),tk="0.28.0",UE="https://github.com/xcpcio/xcpcio",rk="b617b16ba5";var Oa=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(Oa||{}),xt=(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.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))(xt||{});const SI={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",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"},nk={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},ik={"text-center":"","w-full":""},sk=Tt("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),ak=Tt("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1),ok={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},lk={"mr-4":"","md:mr-6":""},ck=["href"],uk={flex:"","justify-center":"","items-start":"","flex-col":""},fk={"mr-4":"","md:mr-6":""},hk=Tt("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1),dk={flex:"","justify-center":"","items-start":"","flex-col":""},pk={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},mk=mi({__name:"Footer",setup(t){const i=Hr(()=>window?window.CDN_HOST:""),s=Hr(()=>window?window.DATA_HOST:""),a=Hr(()=>window?window.DATA_REGION:"");return(r,e)=>{const p=Ia("RouterLink"),_=BE;return Br(),hn("footer",nk,[Tt("div",ik,[Er(p,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:Ei(()=>[sk,co(" Get more balloons ")]),_:1}),ak,Tt("ul",ok,[Tt("li",null,[Er(p,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:Ei(()=>[co(" Home ")]),_:1})]),Tt("li",null,[Tt("div",lk,[Er(_,null,{popper:Ei(()=>[Tt("div",uk,[Tt("div",null,"Tag: "+ai(tr(tk)),1),Tt("div",null,"Sha: "+ai(tr(rk)),1)])]),default:Ei(()=>[Tt("a",{href:tr(UE),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,ck)]),_:1})])]),Tt("li",null,[Tt("div",fk,[Er(_,null,{popper:Ei(()=>[Tt("div",dk,[Tt("div",null,"CDN Host: "+ai(tr(i)),1),Tt("div",null,"DATA Host: "+ai(tr(s)),1),Tt("div",null,"Data Region: "+ai(tr(a)),1)])]),default:Ei(()=>[hk]),_:1})])])]),Tt("span",pk,[co("© 2020-PRESENT "),Er(p,{to:"/","hover:underline":""},{default:Ei(()=>[co("XCPCIO™")]),_:1}),co(". All Rights Reserved.")])])])}}});function ku(t){return Qg()?(V4(t),!0):!1}function Rb(){const t=new Set,i=r=>{t.delete(r)};return{on:r=>{t.add(r);const e=()=>i(r);return ku(e),{off:e}},off:i,trigger:r=>Promise.all(Array.from(t).map(e=>e(r)))}}function Yn(t){return typeof t=="function"?t():tr(t)}const b2=typeof window<"u",gk=t=>typeof t<"u",vk=t=>t!=null,r0=()=>{};function bk(t,i){function s(...a){return new Promise((r,e)=>{Promise.resolve(t(()=>i.apply(this,a),{fn:i,thisArg:this,args:a})).then(r).catch(e)})}return s}const HE=t=>t();function _k(t=HE){const i=Yt(!0);function s(){i.value=!1}function a(){i.value=!0}const r=(...e)=>{i.value&&t(...e)};return{isActive:_0(i),pause:s,resume:a,eventFilter:r}}function qD(t,i=!1,s="Timeout"){return new Promise((a,r)=>{setTimeout(i?()=>r(s):a,t)})}function yk(t,...i){return i.some(s=>s in t)}function Bd(...t){if(t.length!==1)return Tw(...t);const i=t[0];return typeof i=="function"?_0(Z4(()=>({get:i,set:r0}))):Yt(i)}function Dk(t,i=!0){Ti()?Ma(t):i?t():vo(t)}function x4(t,i=!1){function s(A,{flush:R="sync",deep:I=!1,timeout:N,throwOnTimeout:L}={}){let V=null;const G=[new Promise(ne=>{V=bn(t,z=>{A(z)!==i&&(V==null||V(),ne(z))},{flush:R,deep:I,immediate:!0})})];return N!=null&&G.push(qD(N,L).then(()=>Yn(t)).finally(()=>V==null?void 0:V())),Promise.race(G)}function a(A,R){if(!rn(A))return s(z=>z===A,R);const{flush:I="sync",deep:N=!1,timeout:L,throwOnTimeout:V}=R??{};let U=null;const ne=[new Promise(z=>{U=bn([t,A],([H,Z])=>{i!==(H===Z)&&(U==null||U(),z(H))},{flush:I,deep:N,immediate:!0})})];return L!=null&&ne.push(qD(L,V).then(()=>Yn(t)).finally(()=>(U==null||U(),Yn(t)))),Promise.race(ne)}function r(A){return s(R=>!!R,A)}function e(A){return a(null,A)}function p(A){return a(void 0,A)}function _(A){return s(Number.isNaN,A)}function D(A,R){return s(I=>{const N=Array.from(I);return N.includes(A)||N.includes(Yn(A))},R)}function F(A){return T(1,A)}function T(A=1,R){let I=-1;return s(()=>(I+=1,I>=A),R)}return Array.isArray(Yn(t))?{toMatch:s,toContains:D,changed:F,changedTimes:T,get not(){return x4(t,!i)}}:{toMatch:s,toBe:a,toBeTruthy:r,toBeNull:e,toBeNaN:_,toBeUndefined:p,changed:F,changedTimes:T,get not(){return x4(t,!i)}}}function wk(t){return x4(t)}function $E(t,i,s={}){const{immediate:a=!0}=s,r=Yt(!1);let e=null;function p(){e&&(clearTimeout(e),e=null)}function _(){r.value=!1,p()}function D(...F){p(),r.value=!0,e=setTimeout(()=>{r.value=!1,e=null,t(...F)},Yn(i))}return a&&(r.value=!0,b2&&D()),ku(_),{isPending:_0(r),start:D,stop:_}}function Fk(t=!1,i={}){const{truthyValue:s=!0,falsyValue:a=!1}=i,r=rn(t),e=Yt(t);function p(_){if(arguments.length)return e.value=_,e.value;{const D=Yn(s);return e.value=e.value===D?Yn(a):D,e.value}}return r?p:[e,p]}var QD=Object.getOwnPropertySymbols,Ek=Object.prototype.hasOwnProperty,xk=Object.prototype.propertyIsEnumerable,Ck=(t,i)=>{var s={};for(var a in t)Ek.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&QD)for(var a of QD(t))i.indexOf(a)<0&&xk.call(t,a)&&(s[a]=t[a]);return s};function Tk(t,i,s={}){const a=s,{eventFilter:r=HE}=a,e=Ck(a,["eventFilter"]);return bn(t,bk(r,i),e)}var Ak=Object.defineProperty,Sk=Object.defineProperties,Ok=Object.getOwnPropertyDescriptors,Ig=Object.getOwnPropertySymbols,WE=Object.prototype.hasOwnProperty,zE=Object.prototype.propertyIsEnumerable,XD=(t,i,s)=>i in t?Ak(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,kk=(t,i)=>{for(var s in i||(i={}))WE.call(i,s)&&XD(t,s,i[s]);if(Ig)for(var s of Ig(i))zE.call(i,s)&&XD(t,s,i[s]);return t},Rk=(t,i)=>Sk(t,Ok(i)),Pk=(t,i)=>{var s={};for(var a in t)WE.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&Ig)for(var a of Ig(t))i.indexOf(a)<0&&zE.call(t,a)&&(s[a]=t[a]);return s};function Ik(t,i,s={}){const a=s,{eventFilter:r}=a,e=Pk(a,["eventFilter"]),{eventFilter:p,pause:_,resume:D,isActive:F}=_k(r);return{stop:Tk(t,i,Rk(kk({},e),{eventFilter:p})),pause:_,resume:D,isActive:F}}function n0(t){var i;const s=Yn(t);return(i=s==null?void 0:s.$el)!=null?i:s}const pa=b2?window:void 0,Nk=b2?window.document:void 0,Mk=b2?window.navigator:void 0;function qo(...t){let i,s,a,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,a,r]=t,i=pa):[i,s,a,r]=t,!i)return r0;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const e=[],p=()=>{e.forEach(T=>T()),e.length=0},_=(T,A,R,I)=>(T.addEventListener(A,R,I),()=>T.removeEventListener(A,R,I)),D=bn(()=>[n0(i),Yn(r)],([T,A])=>{p(),T&&e.push(...s.flatMap(R=>a.map(I=>_(T,R,I,A))))},{immediate:!0,flush:"post"}),F=()=>{D(),p()};return ku(F),F}function Lk(t){return typeof t=="function"?t:typeof t=="string"?i=>i.key===t:Array.isArray(t)?i=>t.includes(i.key):()=>!0}function OI(...t){let i,s,a={};t.length===3?(i=t[0],s=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(i=!0,s=t[0],a=t[1]):(i=t[0],s=t[1]):(i=!0,s=t[0]);const{target:r=pa,eventName:e="keydown",passive:p=!1,dedupe:_=!1}=a,D=Lk(i);return qo(r,e,T=>{T.repeat&&Yn(_)||D(T)&&s(T)},p)}function Bk(){const t=Yt(!1);return Ti()&&Ma(()=>{t.value=!0}),t}function _2(t){const i=Bk();return Hr(()=>(i.value,!!t()))}function Uk(t,i={}){const{window:s=pa}=i,a=_2(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function");let r;const e=Yt(!1),p=F=>{e.value=F.matches},_=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",p):r.removeListener(p))},D=i_(()=>{a.value&&(_(),r=s.matchMedia(Yn(t)),"addEventListener"in r?r.addEventListener("change",p):r.addListener(p),e.value=r.matches)});return ku(()=>{D(),_(),r=void 0}),e}function kI(t={}){const{navigator:i=Mk,read:s=!1,source:a,copiedDuring:r=1500,legacy:e=!1}=t,p=_2(()=>i&&"clipboard"in i),_=Hr(()=>p.value||e),D=Yt(""),F=Yt(!1),T=$E(()=>F.value=!1,r);function A(){p.value?i.clipboard.readText().then(L=>{D.value=L}):D.value=N()}_.value&&s&&qo(["copy","cut"],A);async function R(L=Yn(a)){_.value&&L!=null&&(p.value?await i.clipboard.writeText(L):I(L),D.value=L,F.value=!0,T.start())}function I(L){const V=document.createElement("textarea");V.value=L??"",V.style.position="absolute",V.style.opacity="0",document.body.appendChild(V),V.select(),document.execCommand("copy"),V.remove()}function N(){var L,V,U;return(U=(V=(L=document==null?void 0:document.getSelection)==null?void 0:L.call(document))==null?void 0:V.toString())!=null?U:""}return{isSupported:_,text:D,copied:F,copy:R}}function Hk(t){return JSON.parse(JSON.stringify(t))}const Zm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},eg="__vueuse_ssr_handlers__",$k=Wk();function Wk(){return eg in Zm||(Zm[eg]=Zm[eg]||{}),Zm[eg]}function jE(t,i){return $k[t]||i}function zk(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"}var jk=Object.defineProperty,JD=Object.getOwnPropertySymbols,Vk=Object.prototype.hasOwnProperty,Gk=Object.prototype.propertyIsEnumerable,ZD=(t,i,s)=>i in t?jk(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,e3=(t,i)=>{for(var s in i||(i={}))Vk.call(i,s)&&ZD(t,s,i[s]);if(JD)for(var s of JD(i))Gk.call(i,s)&&ZD(t,s,i[s]);return t};const Yk={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()}},t3="vueuse-storage";function Kk(t,i,s,a={}){var r;const{flush:e="pre",deep:p=!0,listenToStorageChanges:_=!0,writeDefaults:D=!0,mergeDefaults:F=!1,shallow:T,window:A=pa,eventFilter:R,onError:I=re=>{console.error(re)}}=a,N=(T?Zf:Yt)(i);if(!s)try{s=jE("getDefaultStorage",()=>{var re;return(re=pa)==null?void 0:re.localStorage})()}catch(re){I(re)}if(!s)return N;const L=Yn(i),V=zk(L),U=(r=a.serializer)!=null?r:Yk[V],{pause:G,resume:ne}=Ik(N,()=>z(N.value),{flush:e,deep:p,eventFilter:R});return A&&_&&(qo(A,"storage",ee),qo(A,t3,Z)),ee(),N;function z(re){try{if(re==null)s.removeItem(t);else{const te=U.write(re),ae=s.getItem(t);ae!==te&&(s.setItem(t,te),A&&A.dispatchEvent(new CustomEvent(t3,{detail:{key:t,oldValue:ae,newValue:te,storageArea:s}})))}}catch(te){I(te)}}function H(re){const te=re?re.newValue:s.getItem(t);if(te==null)return D&&L!==null&&s.setItem(t,U.write(L)),L;if(!re&&F){const ae=U.read(te);return typeof F=="function"?F(ae,L):V==="object"&&!Array.isArray(ae)?e3(e3({},L),ae):ae}else return typeof te!="string"?te:U.read(te)}function Z(re){ee(re.detail)}function ee(re){if(!(re&&re.storageArea!==s)){if(re&&re.key==null){N.value=L;return}if(!(re&&re.key!==t)){G();try{N.value=H(re)}catch(te){I(te)}finally{re?vo(ne):ne()}}}}}function VE(t){return Uk("(prefers-color-scheme: dark)",t)}var qk=Object.defineProperty,r3=Object.getOwnPropertySymbols,Qk=Object.prototype.hasOwnProperty,Xk=Object.prototype.propertyIsEnumerable,n3=(t,i,s)=>i in t?qk(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,Jk=(t,i)=>{for(var s in i||(i={}))Qk.call(i,s)&&n3(t,s,i[s]);if(r3)for(var s of r3(i))Xk.call(i,s)&&n3(t,s,i[s]);return t};function Zk(t={}){const{selector:i="html",attribute:s="class",initialValue:a="auto",window:r=pa,storage:e,storageKey:p="vueuse-color-scheme",listenToStorageChanges:_=!0,storageRef:D,emitAuto:F,disableTransition:T=!0}=t,A=Jk({auto:"",light:"light",dark:"dark"},t.modes||{}),R=VE({window:r}),I=Hr(()=>R.value?"dark":"light"),N=D||(p==null?Bd(a):Kk(p,a,e,{window:r,listenToStorageChanges:_})),L=Hr(()=>N.value==="auto"?I.value:N.value),V=jE("updateHTMLAttrs",(z,H,Z)=>{const ee=typeof z=="string"?r==null?void 0:r.document.querySelector(z):n0(z);if(!ee)return;let re;if(T){re=r.document.createElement("style");const te="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";re.appendChild(document.createTextNode(te)),r.document.head.appendChild(re)}if(H==="class"){const te=Z.split(/\s/g);Object.values(A).flatMap(ae=>(ae||"").split(/\s/g)).filter(Boolean).forEach(ae=>{te.includes(ae)?ee.classList.add(ae):ee.classList.remove(ae)})}else ee.setAttribute(H,Z);T&&(r.getComputedStyle(re).opacity,document.head.removeChild(re))});function U(z){var H;V(i,s,(H=A[z])!=null?H:z)}function G(z){t.onChanged?t.onChanged(z,U):U(z)}bn(L,G,{flush:"post",immediate:!0}),Dk(()=>G(L.value));const ne=Hr({get(){return F?N.value:L.value},set(z){N.value=z}});try{return Object.assign(ne,{store:N,system:I,state:L})}catch{return ne}}var i3=Object.getOwnPropertySymbols,e7=Object.prototype.hasOwnProperty,t7=Object.prototype.propertyIsEnumerable,r7=(t,i)=>{var s={};for(var a in t)e7.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&i3)for(var a of i3(t))i.indexOf(a)<0&&t7.call(t,a)&&(s[a]=t[a]);return s};function n7(t,i,s={}){const a=s,{window:r=pa}=a,e=r7(a,["window"]);let p;const _=_2(()=>r&&"MutationObserver"in r),D=()=>{p&&(p.disconnect(),p=void 0)},F=bn(()=>n0(t),A=>{D(),_.value&&r&&A&&(p=new MutationObserver(i),p.observe(A,e))},{immediate:!0}),T=()=>{D(),F()};return ku(T),{isSupported:_,stop:T}}var i7=Object.defineProperty,s7=Object.defineProperties,a7=Object.getOwnPropertyDescriptors,s3=Object.getOwnPropertySymbols,o7=Object.prototype.hasOwnProperty,l7=Object.prototype.propertyIsEnumerable,a3=(t,i,s)=>i in t?i7(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,c7=(t,i)=>{for(var s in i||(i={}))o7.call(i,s)&&a3(t,s,i[s]);if(s3)for(var s of s3(i))l7.call(i,s)&&a3(t,s,i[s]);return t},u7=(t,i)=>s7(t,a7(i));function f7(t={}){const{valueDark:i="dark",valueLight:s=""}=t,a=Zk(u7(c7({},t),{onChanged:(e,p)=>{var _;t.onChanged?(_=t.onChanged)==null||_.call(t,e==="dark",p,e):p(e)},modes:{dark:i,light:s}}));return Hr({get(){return a.value==="dark"},set(e){const p=e?"dark":"light";a.system.value===p?a.value="auto":a.value=p}})}function h7(t,i,s={}){const{root:a,rootMargin:r="0px",threshold:e=.1,window:p=pa,immediate:_=!0}=s,D=_2(()=>p&&"IntersectionObserver"in p),F=Hr(()=>{const N=Yn(t);return(Array.isArray(N)?N:[N]).map(n0).filter(vk)});let T=r0;const A=Yt(_),R=D.value?bn(()=>[F.value,n0(a),A.value],([N,L])=>{if(T(),!A.value||!N.length)return;const V=new IntersectionObserver(i,{root:n0(L),rootMargin:r,threshold:e});N.forEach(U=>U&&V.observe(U)),T=()=>{V.disconnect(),T=r0}},{immediate:_,flush:"post"}):r0,I=()=>{T(),R(),A.value=!1};return ku(I),{isSupported:D,isActive:A,pause(){T(),A.value=!1},resume(){A.value=!0},stop:I}}function d7(t,{window:i=pa,scrollTarget:s}={}){const a=Yt(!1);return h7(t,([{isIntersecting:r}])=>{a.value=r},{root:s,window:i}),a}var p7=Object.defineProperty,m7=Object.defineProperties,g7=Object.getOwnPropertyDescriptors,o3=Object.getOwnPropertySymbols,v7=Object.prototype.hasOwnProperty,b7=Object.prototype.propertyIsEnumerable,l3=(t,i,s)=>i in t?p7(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,gs=(t,i)=>{for(var s in i||(i={}))v7.call(i,s)&&l3(t,s,i[s]);if(o3)for(var s of o3(i))b7.call(i,s)&&l3(t,s,i[s]);return t},yd=(t,i)=>m7(t,g7(i));const _7={json:"application/json",text:"text/plain"};function c3(t){return t&&yk(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Pb(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries([...t.entries()]):t}function y7(t,...i){var s;const a=typeof AbortController=="function";let r={},e={immediate:!0,refetch:!1,timeout:0};const p={method:"GET",type:"text",payload:void 0};i.length>0&&(c3(i[0])?e=gs(gs({},e),i[0]):r=i[0]),i.length>1&&c3(i[1])&&(e=gs(gs({},e),i[1]));const{fetch:_=(s=pa)==null?void 0:s.fetch,initialData:D,timeout:F}=e,T=Rb(),A=Rb(),R=Rb(),I=Yt(!1),N=Yt(!1),L=Yt(!1),V=Yt(null),U=Zf(null),G=Zf(null),ne=Zf(D||null),z=Hr(()=>a&&N.value);let H,Z;const ee=()=>{a&&(H==null||H.abort(),H=new AbortController,H.signal.onabort=()=>L.value=!0,r=yd(gs({},r),{signal:H.signal}))},re=Ne=>{N.value=Ne,I.value=!Ne};F&&(Z=$E(ee,F,{immediate:!1}));const te=async(Ne=!1)=>{var We;ee(),re(!0),G.value=null,V.value=null,L.value=!1;const Se={method:p.method,headers:{}};if(p.payload){const he=Pb(Se.headers),He=Yn(p.payload);!p.payloadType&&He&&Object.getPrototypeOf(He)===Object.prototype&&!(He instanceof FormData)&&(p.payloadType="json"),p.payloadType&&(he["Content-Type"]=(We=_7[p.payloadType])!=null?We:p.payloadType),Se.body=p.payloadType==="json"?JSON.stringify(He):He}let lt=!1;const at={url:Yn(t),options:gs(gs({},Se),r),cancel:()=>{lt=!0}};if(e.beforeFetch&&Object.assign(at,await e.beforeFetch(at)),lt||!_)return re(!1),Promise.resolve(null);let ze=null;return Z&&Z.start(),new Promise((he,He)=>{var Je;_(at.url,yd(gs(gs({},Se),at.options),{headers:gs(gs({},Pb(Se.headers)),Pb((Je=at.options)==null?void 0:Je.headers))})).then(async Ue=>{if(U.value=Ue,V.value=Ue.status,ze=await Ue[p.type](),!Ue.ok)throw ne.value=D||null,new Error(Ue.statusText);return e.afterFetch&&({data:ze}=await e.afterFetch({data:ze,response:Ue})),ne.value=ze,T.trigger(Ue),he(Ue)}).catch(async Ue=>{let be=Ue.message||Ue.name;return e.onFetchError&&({error:be}=await e.onFetchError({data:ze,error:Ue,response:U.value})),G.value=be,A.trigger(Ue),Ne?He(Ue):he(null)}).finally(()=>{re(!1),Z&&Z.stop(),R.trigger(null)})})},ae=Bd(e.refetch);bn([ae,Bd(t)],([Ne])=>Ne&&te(),{deep:!0});const ve={isFinished:I,statusCode:V,response:U,error:G,data:ne,isFetching:N,canAbort:z,aborted:L,abort:ee,execute:te,onFetchResponse:T.on,onFetchError:A.on,onFetchFinally:R.on,get:Ae("GET"),put:Ae("PUT"),post:Ae("POST"),delete:Ae("DELETE"),patch:Ae("PATCH"),head:Ae("HEAD"),options:Ae("OPTIONS"),json:ge("json"),text:ge("text"),blob:ge("blob"),arrayBuffer:ge("arrayBuffer"),formData:ge("formData")};function Ae(Ne){return(We,Se)=>{if(!N.value)return p.method=Ne,p.payload=We,p.payloadType=Se,rn(p.payload)&&bn([ae,Bd(p.payload)],([lt])=>lt&&te(),{deep:!0}),yd(gs({},ve),{then(lt,at){return De().then(lt,at)}})}}function De(){return new Promise((Ne,We)=>{wk(I).toBe(!0).then(()=>Ne(ve)).catch(Se=>We(Se))})}function ge(Ne){return()=>{if(!N.value)return p.type=Ne,yd(gs({},ve),{then(We,Se){return De().then(We,Se)}})}}return e.immediate&&Promise.resolve().then(()=>te()),yd(gs({},ve),{then(Ne,We){return De().then(Ne,We)}})}const D7={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function RI(t={}){const{reactive:i=!1,target:s=pa,aliasMap:a=D7,passive:r=!0,onEventFired:e=r0}=t,p=Jl(new Set),_={toJSON(){return{}},current:p},D=i?Jl(_):_,F=new Set,T=new Set;function A(L,V){L in D&&(i?D[L]=V:D[L].value=V)}function R(){p.clear();for(const L of T)A(L,!1)}function I(L,V){var U,G;const ne=(U=L.key)==null?void 0:U.toLowerCase(),H=[(G=L.code)==null?void 0:G.toLowerCase(),ne].filter(Boolean);ne&&(V?p.add(ne):p.delete(ne));for(const Z of H)T.add(Z),A(Z,V);ne==="meta"&&!V?(F.forEach(Z=>{p.delete(Z),A(Z,!1)}),F.clear()):typeof L.getModifierState=="function"&&L.getModifierState("Meta")&&V&&[...p,...H].forEach(Z=>F.add(Z))}qo(s,"keydown",L=>(I(L,!0),e(L)),{passive:r}),qo(s,"keyup",L=>(I(L,!1),e(L)),{passive:r}),qo("blur",R,{passive:!0}),qo("focus",R,{passive:!0});const N=new Proxy(D,{get(L,V,U){if(typeof V!="string")return Reflect.get(L,V,U);if(V=V.toLowerCase(),V in a&&(V=a[V]),!(V in D))if(/[+_-]/.test(V)){const ne=V.split(/[+_-]/g).map(z=>z.trim());D[V]=Hr(()=>ne.every(z=>Yn(N[z])))}else D[V]=Yt(!1);const G=Reflect.get(L,V,U);return i?Yn(G):G}});return N}function w7(t=null,i={}){var s,a;const{document:r=Nk}=i,e=Bd((s=t??(r==null?void 0:r.title))!=null?s:null),p=t&&typeof t=="function";function _(D){if(!("titleTemplate"in i))return D;const F=i.titleTemplate||"%s";return typeof F=="function"?F(D):Yn(F).replace(/%s/g,D)}return bn(e,(D,F)=>{D!==F&&r&&(r.title=_(typeof D=="string"?D:""))},{immediate:!0}),i.observe&&!i.titleTemplate&&r&&!p&&n7((a=r.head)==null?void 0:a.querySelector("title"),()=>{r&&r.title!==e.value&&(e.value=_(r.title))},{childList:!0}),e}function u3(t,i,s,a={}){var r,e,p;const{clone:_=!1,passive:D=!1,eventName:F,deep:T=!1,defaultValue:A,shouldEmit:R}=a,I=Ti(),N=s||(I==null?void 0:I.emit)||((r=I==null?void 0:I.$emit)==null?void 0:r.bind(I))||((p=(e=I==null?void 0:I.proxy)==null?void 0:e.$emit)==null?void 0:p.bind(I==null?void 0:I.proxy));let L=F;i||(i="modelValue"),L=L||`update:${i.toString()}`;const V=ne=>_?typeof _=="function"?_(ne):Hk(ne):ne,U=()=>gk(t[i])?V(t[i]):A,G=ne=>{R?R(ne)&&N(L,ne):N(L,ne)};if(D){const ne=U(),z=Yt(ne);return bn(()=>t[i],H=>z.value=V(H)),bn(z,H=>{(H!==t[i]||T)&&G(H)},{deep:T}),z}else return Hr({get(){return U()},set(ne){G(ne)}})}function F7({window:t=pa}={}){if(!t)return{x:Yt(0),y:Yt(0)};const i=Yt(t.scrollX),s=Yt(t.scrollY);return qo(t,"scroll",()=>{i.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:s}}const GE=f7(),E7=Fk(GE),x7=VE(),D0=t=>(s2("data-v-a79e7085"),t=t(),a2(),t),C7=D0(()=>Tt("div",{"i-ri-arrow-up-line":""},null,-1)),T7=[C7],A7=D0(()=>Tt("div",{class:"spacer"},null,-1)),S7={class:"right","print:op0":""},O7=D0(()=>Tt("div",{"i-ion-balloon-sharp":""},null,-1)),k7=["title"],R7=D0(()=>Tt("div",{"i-carbon-language":""},null,-1)),P7=[R7],I7=["title"],N7=D0(()=>Tt("div",{i:"carbon-sun dark:carbon-moon"},null,-1)),M7=[N7],L7=["href"],B7=D0(()=>Tt("div",{"i-carbon-logo-github":""},null,-1)),U7=[B7],H7=mi({__name:"NavBar",props:{width:null},setup(t){const i=t,{t:s,locale:a}=y0(),{y:r}=F7();function e(){window.scrollTo({top:0,behavior:"smooth"})}async function p(){const _=qF,D=_[(_.indexOf(a.value)+1)%_.length];await F_(D),a.value=D}return(_,D)=>{const F=Ia("RouterLink");return Br(),hn("header",{class:ns(["header z-40",[(i==null?void 0:i.width)??""]])},[Tt("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:ns(tr(r)>300?"op30":"op0! pointer-events-none"),onClick:D[0]||(D[0]=T=>e())},T7,2),Tt("nav",{class:ns(["nav",[i!=null&&i.width?"":"fixed"]]),"text-xl":""},[A7,Tt("div",S7,[Er(F,{"icon-btn":"",title:tr(s)("button.home"),to:"/",focusable:"false"},{default:Ei(()=>[O7]),_:1},8,["title"]),Tt("a",{"icon-btn":"",title:tr(s)("button.toggle_langs"),onClick:D[1]||(D[1]=T=>p())},P7,8,k7),Tt("a",{"icon-btn":"",title:tr(s)("button.toggle_dark"),onClick:D[2]||(D[2]=T=>("toggleDark"in _?_.toggleDark:tr(E7))())},M7,8,I7),Tt("a",{"icon-btn":"",rel:"noreferrer",href:tr(UE),target:"_blank",title:"GitHub"},U7,8,L7)])],2)],2)}}});const w0=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s},$7=w0(H7,[["__scopeId","data-v-a79e7085"]]),W7={},z7={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function j7(t,i){const s=$7,a=Ia("RouterView"),r=mk;return Br(),hn(Gn,null,[Er(s),Tt("main",z7,[Er(a),Er(r)])],64)}const V7=w0(W7,[["render",j7]]),G7={"board-layout":()=>Us(()=>import("./board-layout-9c68b45b.js"),[],import.meta.url),default:V7,headless:()=>Us(()=>import("./headless-a3c0debd.js"),[],import.meta.url),home:()=>Us(()=>import("./home-45ae8111.js"),[],import.meta.url),"index-layout":()=>Us(()=>import("./index-layout-3ce68075.js"),[],import.meta.url)};function Y7(t){return t.map(i=>{var s;return{path:i.path,meta:i.meta,component:G7[((s=i.meta)==null?void 0:s.layout)||"default"],children:i.path==="/"?[i]:[{...i,path:""}]}})}const K7=["top","right","bottom","left"],f3=["start","end"],h3=K7.reduce((t,i)=>t.concat(i,i+"-"+f3[0],i+"-"+f3[1]),[]),n1=Math.min,cu=Math.max,q7={left:"right",right:"left",bottom:"top",top:"bottom"},Q7={start:"end",end:"start"};function C4(t,i,s){return cu(t,n1(i,s))}function Ru(t,i){return typeof t=="function"?t(i):t}function go(t){return t.split("-")[0]}function Pa(t){return t.split("-")[1]}function YE(t){return t==="x"?"y":"x"}function G_(t){return t==="y"?"height":"width"}function v1(t){return["top","bottom"].includes(go(t))?"y":"x"}function Y_(t){return YE(v1(t))}function KE(t,i,s){s===void 0&&(s=!1);const a=Pa(t),r=Y_(t),e=G_(r);let p=r==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return i.reference[e]>i.floating[e]&&(p=Mg(p)),[p,Mg(p)]}function X7(t){const i=Mg(t);return[Ng(t),i,Ng(i)]}function Ng(t){return t.replace(/start|end/g,i=>Q7[i])}function J7(t,i,s){const a=["left","right"],r=["right","left"],e=["top","bottom"],p=["bottom","top"];switch(t){case"top":case"bottom":return s?i?r:a:i?a:r;case"left":case"right":return i?e:p;default:return[]}}function Z7(t,i,s,a){const r=Pa(t);let e=J7(go(t),s==="start",a);return r&&(e=e.map(p=>p+"-"+r),i&&(e=e.concat(e.map(Ng)))),e}function Mg(t){return t.replace(/left|right|bottom|top/g,i=>q7[i])}function e9(t){return{top:0,right:0,bottom:0,left:0,...t}}function qE(t){return typeof t!="number"?e9(t):{top:t,right:t,bottom:t,left:t}}function Ud(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function d3(t,i,s){let{reference:a,floating:r}=t;const e=v1(i),p=Y_(i),_=G_(p),D=go(i),F=e==="y",T=a.x+a.width/2-r.width/2,A=a.y+a.height/2-r.height/2,R=a[_]/2-r[_]/2;let I;switch(D){case"top":I={x:T,y:a.y-r.height};break;case"bottom":I={x:T,y:a.y+a.height};break;case"right":I={x:a.x+a.width,y:A};break;case"left":I={x:a.x-r.width,y:A};break;default:I={x:a.x,y:a.y}}switch(Pa(i)){case"start":I[p]-=R*(s&&F?-1:1);break;case"end":I[p]+=R*(s&&F?-1:1);break}return I}const t9=async(t,i,s)=>{const{placement:a="bottom",strategy:r="absolute",middleware:e=[],platform:p}=s,_=e.filter(Boolean),D=await(p.isRTL==null?void 0:p.isRTL(i));let F=await p.getElementRects({reference:t,floating:i,strategy:r}),{x:T,y:A}=d3(F,a,D),R=a,I={},N=0;for(let L=0;L<_.length;L++){const{name:V,fn:U}=_[L],{x:G,y:ne,data:z,reset:H}=await U({x:T,y:A,initialPlacement:a,placement:R,strategy:r,middlewareData:I,rects:F,platform:p,elements:{reference:t,floating:i}});if(T=G??T,A=ne??A,I={...I,[V]:{...I[V],...z}},H&&N<=50){N++,typeof H=="object"&&(H.placement&&(R=H.placement),H.rects&&(F=H.rects===!0?await p.getElementRects({reference:t,floating:i,strategy:r}):H.rects),{x:T,y:A}=d3(F,R,D)),L=-1;continue}}return{x:T,y:A,placement:R,strategy:r,middlewareData:I}};async function y2(t,i){var s;i===void 0&&(i={});const{x:a,y:r,platform:e,rects:p,elements:_,strategy:D}=t,{boundary:F="clippingAncestors",rootBoundary:T="viewport",elementContext:A="floating",altBoundary:R=!1,padding:I=0}=Ru(i,t),N=qE(I),V=_[R?A==="floating"?"reference":"floating":A],U=Ud(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(_.floating)),boundary:F,rootBoundary:T,strategy:D})),G=A==="floating"?{...p.floating,x:a,y:r}:p.reference,ne=await(e.getOffsetParent==null?void 0:e.getOffsetParent(_.floating)),z=await(e.isElement==null?void 0:e.isElement(ne))?await(e.getScale==null?void 0:e.getScale(ne))||{x:1,y:1}:{x:1,y:1},H=Ud(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({rect:G,offsetParent:ne,strategy:D}):G);return{top:(U.top-H.top+N.top)/z.y,bottom:(H.bottom-U.bottom+N.bottom)/z.y,left:(U.left-H.left+N.left)/z.x,right:(H.right-U.right+N.right)/z.x}}const r9=t=>({name:"arrow",options:t,async fn(i){const{x:s,y:a,placement:r,rects:e,platform:p,elements:_}=i,{element:D,padding:F=0}=Ru(t,i)||{};if(D==null)return{};const T=qE(F),A={x:s,y:a},R=Y_(r),I=G_(R),N=await p.getDimensions(D),L=R==="y",V=L?"top":"left",U=L?"bottom":"right",G=L?"clientHeight":"clientWidth",ne=e.reference[I]+e.reference[R]-A[R]-e.floating[I],z=A[R]-e.reference[R],H=await(p.getOffsetParent==null?void 0:p.getOffsetParent(D));let Z=H?H[G]:0;(!Z||!await(p.isElement==null?void 0:p.isElement(H)))&&(Z=_.floating[G]||e.floating[I]);const ee=ne/2-z/2,re=Z/2-N[I]/2-1,te=n1(T[V],re),ae=n1(T[U],re),ve=te,Ae=Z-N[I]-ae,De=Z/2-N[I]/2+ee,ge=C4(ve,De,Ae),We=Pa(r)!=null&&De!=ge&&e.reference[I]/2-(De<ve?te:ae)-N[I]/2<0?De<ve?ve-De:Ae-De:0;return{[R]:A[R]-We,data:{[R]:ge,centerOffset:De-ge+We}}}});function n9(t,i,s){return(t?[...s.filter(r=>Pa(r)===t),...s.filter(r=>Pa(r)!==t)]:s.filter(r=>go(r)===r)).filter(r=>t?Pa(r)===t||(i?Ng(r)!==r:!1):!0)}const i9=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(i){var s,a,r;const{rects:e,middlewareData:p,placement:_,platform:D,elements:F}=i,{crossAxis:T=!1,alignment:A,allowedPlacements:R=h3,autoAlignment:I=!0,...N}=Ru(t,i),L=A!==void 0||R===h3?n9(A||null,I,R):R,V=await y2(i,N),U=((s=p.autoPlacement)==null?void 0:s.index)||0,G=L[U];if(G==null)return{};const ne=KE(G,e,await(D.isRTL==null?void 0:D.isRTL(F.floating)));if(_!==G)return{reset:{placement:L[0]}};const z=[V[go(G)],V[ne[0]],V[ne[1]]],H=[...((a=p.autoPlacement)==null?void 0:a.overflows)||[],{placement:G,overflows:z}],Z=L[U+1];if(Z)return{data:{index:U+1,overflows:H},reset:{placement:Z}};const ee=H.map(ae=>{const ve=Pa(ae.placement);return[ae.placement,ve&&T?ae.overflows.slice(0,2).reduce((Ae,De)=>Ae+De,0):ae.overflows[0],ae.overflows]}).sort((ae,ve)=>ae[1]-ve[1]),te=((r=ee.filter(ae=>ae[2].slice(0,Pa(ae[0])?2:3).every(ve=>ve<=0))[0])==null?void 0:r[0])||ee[0][0];return te!==_?{data:{index:U+1,overflows:H},reset:{placement:te}}:{}}}},s9=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(i){var s;const{placement:a,middlewareData:r,rects:e,initialPlacement:p,platform:_,elements:D}=i,{mainAxis:F=!0,crossAxis:T=!0,fallbackPlacements:A,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:N=!0,...L}=Ru(t,i),V=go(a),U=go(p)===p,G=await(_.isRTL==null?void 0:_.isRTL(D.floating)),ne=A||(U||!N?[Mg(p)]:X7(p));!A&&I!=="none"&&ne.push(...Z7(p,N,I,G));const z=[p,...ne],H=await y2(i,L),Z=[];let ee=((s=r.flip)==null?void 0:s.overflows)||[];if(F&&Z.push(H[V]),T){const ve=KE(a,e,G);Z.push(H[ve[0]],H[ve[1]])}if(ee=[...ee,{placement:a,overflows:Z}],!Z.every(ve=>ve<=0)){var re,te;const ve=(((re=r.flip)==null?void 0:re.index)||0)+1,Ae=z[ve];if(Ae)return{data:{index:ve,overflows:ee},reset:{placement:Ae}};let De=(te=ee.filter(ge=>ge.overflows[0]<=0).sort((ge,Ne)=>ge.overflows[1]-Ne.overflows[1])[0])==null?void 0:te.placement;if(!De)switch(R){case"bestFit":{var ae;const ge=(ae=ee.map(Ne=>[Ne.placement,Ne.overflows.filter(We=>We>0).reduce((We,Se)=>We+Se,0)]).sort((Ne,We)=>Ne[1]-We[1])[0])==null?void 0:ae[0];ge&&(De=ge);break}case"initialPlacement":De=p;break}if(a!==De)return{reset:{placement:De}}}return{}}}};async function a9(t,i){const{placement:s,platform:a,elements:r}=t,e=await(a.isRTL==null?void 0:a.isRTL(r.floating)),p=go(s),_=Pa(s),D=v1(s)==="y",F=["left","top"].includes(p)?-1:1,T=e&&D?-1:1,A=Ru(i,t);let{mainAxis:R,crossAxis:I,alignmentAxis:N}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...A};return _&&typeof N=="number"&&(I=_==="end"?N*-1:N),D?{x:I*T,y:R*F}:{x:R*F,y:I*T}}const o9=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(i){const{x:s,y:a}=i,r=await a9(i,t);return{x:s+r.x,y:a+r.y,data:r}}}},l9=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(i){const{x:s,y:a,placement:r}=i,{mainAxis:e=!0,crossAxis:p=!1,limiter:_={fn:V=>{let{x:U,y:G}=V;return{x:U,y:G}}},...D}=Ru(t,i),F={x:s,y:a},T=await y2(i,D),A=v1(go(r)),R=YE(A);let I=F[R],N=F[A];if(e){const V=R==="y"?"top":"left",U=R==="y"?"bottom":"right",G=I+T[V],ne=I-T[U];I=C4(G,I,ne)}if(p){const V=A==="y"?"top":"left",U=A==="y"?"bottom":"right",G=N+T[V],ne=N-T[U];N=C4(G,N,ne)}const L=_.fn({...i,[R]:I,[A]:N});return{...L,data:{x:L.x-s,y:L.y-a}}}}},c9=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(i){const{placement:s,rects:a,platform:r,elements:e}=i,{apply:p=()=>{},..._}=Ru(t,i),D=await y2(i,_),F=go(s),T=Pa(s),A=v1(s)==="y",{width:R,height:I}=a.floating;let N,L;F==="top"||F==="bottom"?(N=F,L=T===(await(r.isRTL==null?void 0:r.isRTL(e.floating))?"start":"end")?"left":"right"):(L=F,N=T==="end"?"top":"bottom");const V=I-D[N],U=R-D[L],G=!i.middlewareData.shift;let ne=V,z=U;if(A){const Z=R-D.left-D.right;z=T||G?n1(U,Z):Z}else{const Z=I-D.top-D.bottom;ne=T||G?n1(V,Z):Z}if(G&&!T){const Z=cu(D.left,0),ee=cu(D.right,0),re=cu(D.top,0),te=cu(D.bottom,0);A?z=R-2*(Z!==0||ee!==0?Z+ee:cu(D.left,D.right)):ne=I-2*(re!==0||te!==0?re+te:cu(D.top,D.bottom))}await p({...i,availableWidth:z,availableHeight:ne});const H=await r.getDimensions(e.floating);return R!==H.width||I!==H.height?{reset:{rects:!0}}:{}}}};function la(t){var i;return((i=t.ownerDocument)==null?void 0:i.defaultView)||window}function fo(t){return la(t).getComputedStyle(t)}const p3=Math.min,Hd=Math.max,Lg=Math.round;function QE(t){const i=fo(t);let s=parseFloat(i.width),a=parseFloat(i.height);const r=t.offsetWidth,e=t.offsetHeight,p=Lg(s)!==r||Lg(a)!==e;return p&&(s=r,a=e),{width:s,height:a,fallback:p}}function nc(t){return JE(t)?(t.nodeName||"").toLowerCase():""}let tg;function XE(){if(tg)return tg;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(tg=t.brands.map(i=>i.brand+"/"+i.version).join(" "),tg):navigator.userAgent}function ho(t){return t instanceof la(t).HTMLElement}function Kl(t){return t instanceof la(t).Element}function JE(t){return t instanceof la(t).Node}function m3(t){return typeof ShadowRoot>"u"?!1:t instanceof la(t).ShadowRoot||t instanceof ShadowRoot}function D2(t){const{overflow:i,overflowX:s,overflowY:a,display:r}=fo(t);return/auto|scroll|overlay|hidden|clip/.test(i+a+s)&&!["inline","contents"].includes(r)}function u9(t){return["table","td","th"].includes(nc(t))}function T4(t){const i=/firefox/i.test(XE()),s=fo(t),a=s.backdropFilter||s.WebkitBackdropFilter;return s.transform!=="none"||s.perspective!=="none"||!!a&&a!=="none"||i&&s.willChange==="filter"||i&&!!s.filter&&s.filter!=="none"||["transform","perspective"].some(r=>s.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const e=s.contain;return e!=null&&e.includes(r)})}function ZE(){return!/^((?!chrome|android).)*safari/i.test(XE())}function K_(t){return["html","body","#document"].includes(nc(t))}function e6(t){return Kl(t)?t:t.contextElement}const t6={x:1,y:1};function i0(t){const i=e6(t);if(!ho(i))return t6;const s=i.getBoundingClientRect(),{width:a,height:r,fallback:e}=QE(i);let p=(e?Lg(s.width):s.width)/a,_=(e?Lg(s.height):s.height)/r;return p&&Number.isFinite(p)||(p=1),_&&Number.isFinite(_)||(_=1),{x:p,y:_}}function i1(t,i,s,a){var r,e;i===void 0&&(i=!1),s===void 0&&(s=!1);const p=t.getBoundingClientRect(),_=e6(t);let D=t6;i&&(a?Kl(a)&&(D=i0(a)):D=i0(t));const F=_?la(_):window,T=!ZE()&&s;let A=(p.left+(T&&((r=F.visualViewport)==null?void 0:r.offsetLeft)||0))/D.x,R=(p.top+(T&&((e=F.visualViewport)==null?void 0:e.offsetTop)||0))/D.y,I=p.width/D.x,N=p.height/D.y;if(_){const L=la(_),V=a&&Kl(a)?la(a):a;let U=L.frameElement;for(;U&&a&&V!==L;){const G=i0(U),ne=U.getBoundingClientRect(),z=getComputedStyle(U);ne.x+=(U.clientLeft+parseFloat(z.paddingLeft))*G.x,ne.y+=(U.clientTop+parseFloat(z.paddingTop))*G.y,A*=G.x,R*=G.y,I*=G.x,N*=G.y,A+=ne.x,R+=ne.y,U=la(U).frameElement}}return{width:I,height:N,top:R,right:A+I,bottom:R+N,left:A,x:A,y:R}}function ql(t){return((JE(t)?t.ownerDocument:t.document)||window.document).documentElement}function w2(t){return Kl(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function r6(t){return i1(ql(t)).left+w2(t).scrollLeft}function s1(t){if(nc(t)==="html")return t;const i=t.assignedSlot||t.parentNode||m3(t)&&t.host||ql(t);return m3(i)?i.host:i}function n6(t){const i=s1(t);return K_(i)?i.ownerDocument.body:ho(i)&&D2(i)?i:n6(i)}function Bg(t,i){var s;i===void 0&&(i=[]);const a=n6(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=la(a);return r?i.concat(e,e.visualViewport||[],D2(a)?a:[]):i.concat(a,Bg(a))}function g3(t,i,s){return i==="viewport"?Ud(function(a,r){const e=la(a),p=ql(a),_=e.visualViewport;let D=p.clientWidth,F=p.clientHeight,T=0,A=0;if(_){D=_.width,F=_.height;const R=ZE();(R||!R&&r==="fixed")&&(T=_.offsetLeft,A=_.offsetTop)}return{width:D,height:F,x:T,y:A}}(t,s)):Kl(i)?Ud(function(a,r){const e=i1(a,!0,r==="fixed"),p=e.top+a.clientTop,_=e.left+a.clientLeft,D=ho(a)?i0(a):{x:1,y:1};return{width:a.clientWidth*D.x,height:a.clientHeight*D.y,x:_*D.x,y:p*D.y}}(i,s)):Ud(function(a){const r=ql(a),e=w2(a),p=a.ownerDocument.body,_=Hd(r.scrollWidth,r.clientWidth,p.scrollWidth,p.clientWidth),D=Hd(r.scrollHeight,r.clientHeight,p.scrollHeight,p.clientHeight);let F=-e.scrollLeft+r6(a);const T=-e.scrollTop;return fo(p).direction==="rtl"&&(F+=Hd(r.clientWidth,p.clientWidth)-_),{width:_,height:D,x:F,y:T}}(ql(t)))}function v3(t){return ho(t)&&fo(t).position!=="fixed"?t.offsetParent:null}function b3(t){const i=la(t);let s=v3(t);for(;s&&u9(s)&&fo(s).position==="static";)s=v3(s);return s&&(nc(s)==="html"||nc(s)==="body"&&fo(s).position==="static"&&!T4(s))?i:s||function(a){let r=s1(a);for(;ho(r)&&!K_(r);){if(T4(r))return r;r=s1(r)}return null}(t)||i}function f9(t,i,s){const a=ho(i),r=ql(i),e=i1(t,!0,s==="fixed",i);let p={scrollLeft:0,scrollTop:0};const _={x:0,y:0};if(a||!a&&s!=="fixed")if((nc(i)!=="body"||D2(r))&&(p=w2(i)),ho(i)){const D=i1(i,!0);_.x=D.x+i.clientLeft,_.y=D.y+i.clientTop}else r&&(_.x=r6(r));return{x:e.left+p.scrollLeft-_.x,y:e.top+p.scrollTop-_.y,width:e.width,height:e.height}}const h9={getClippingRect:function(t){let{element:i,boundary:s,rootBoundary:a,strategy:r}=t;const e=s==="clippingAncestors"?function(F,T){const A=T.get(F);if(A)return A;let R=Bg(F).filter(V=>Kl(V)&&nc(V)!=="body"),I=null;const N=fo(F).position==="fixed";let L=N?s1(F):F;for(;Kl(L)&&!K_(L);){const V=fo(L),U=T4(L);(N?U||I:U||V.position!=="static"||!I||!["absolute","fixed"].includes(I.position))?I=V:R=R.filter(G=>G!==L),L=s1(L)}return T.set(F,R),R}(i,this._c):[].concat(s),p=[...e,a],_=p[0],D=p.reduce((F,T)=>{const A=g3(i,T,r);return F.top=Hd(A.top,F.top),F.right=p3(A.right,F.right),F.bottom=p3(A.bottom,F.bottom),F.left=Hd(A.left,F.left),F},g3(i,_,r));return{width:D.right-D.left,height:D.bottom-D.top,x:D.left,y:D.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:i,offsetParent:s,strategy:a}=t;const r=ho(s),e=ql(s);if(s===e)return i;let p={scrollLeft:0,scrollTop:0},_={x:1,y:1};const D={x:0,y:0};if((r||!r&&a!=="fixed")&&((nc(s)!=="body"||D2(e))&&(p=w2(s)),ho(s))){const F=i1(s);_=i0(s),D.x=F.x+s.clientLeft,D.y=F.y+s.clientTop}return{width:i.width*_.x,height:i.height*_.y,x:i.x*_.x-p.scrollLeft*_.x+D.x,y:i.y*_.y-p.scrollTop*_.y+D.y}},isElement:Kl,getDimensions:function(t){return ho(t)?QE(t):t.getBoundingClientRect()},getOffsetParent:b3,getDocumentElement:ql,getScale:i0,async getElementRects(t){let{reference:i,floating:s,strategy:a}=t;const r=this.getOffsetParent||b3,e=this.getDimensions;return{reference:f9(i,await r(s),a),floating:{x:0,y:0,...await e(s)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>fo(t).direction==="rtl"},d9=(t,i,s)=>{const a=new Map,r={platform:h9,...s},e={...r.platform,_c:a};return t9(t,i,{...r,platform:e})};function i6(t,i){for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(typeof i[s]=="object"&&t[s]?i6(t[s],i[s]):t[s]=i[s])}const Jo={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 a1(t,i){let s=Jo.themes[t]||{},a;do a=s[i],typeof a>"u"?s.$extend?s=Jo.themes[s.$extend]||{}:(s=null,a=Jo[i]):s=null;while(s);return a}function p9(t){const i=[t];let s=Jo.themes[t]||{};do s.$extend&&!s.$resetCss?(i.push(s.$extend),s=Jo.themes[s.$extend]||{}):s=null;while(s);return i.map(a=>`v-popper--theme-${a}`)}function _3(t){const i=[t];let s=Jo.themes[t]||{};do s.$extend?(i.push(s.$extend),s=Jo.themes[s.$extend]||{}):s=null;while(s);return i}let Cu=!1;if(typeof window<"u"){Cu=!1;try{const t=Object.defineProperty({},"passive",{get(){Cu=!0}});window.addEventListener("test",null,t)}catch{}}let s6=!1;typeof window<"u"&&typeof navigator<"u"&&(s6=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const a6=["auto","top","bottom","left","right"].reduce((t,i)=>t.concat([i,`${i}-start`,`${i}-end`]),[]),y3={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},D3={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function w3(t,i){const s=t.indexOf(i);s!==-1&&t.splice(s,1)}function Ib(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Sa=[];let ou=null;const F3={};function E3(t){let i=F3[t];return i||(i=F3[t]=[]),i}let A4=function(){};typeof window<"u"&&(A4=window.Element);function Yr(t){return function(i){return a1(i.theme,t)}}const Nb="__floating-vue__popper",o6=()=>mi({name:"VPopper",provide(){return{[Nb]:{parentPopper:this}}},inject:{[Nb]:{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:Yr("disabled")},positioningDisabled:{type:Boolean,default:Yr("positioningDisabled")},placement:{type:String,default:Yr("placement"),validator:t=>a6.includes(t)},delay:{type:[String,Number,Object],default:Yr("delay")},distance:{type:[Number,String],default:Yr("distance")},skidding:{type:[Number,String],default:Yr("skidding")},triggers:{type:Array,default:Yr("triggers")},showTriggers:{type:[Array,Function],default:Yr("showTriggers")},hideTriggers:{type:[Array,Function],default:Yr("hideTriggers")},popperTriggers:{type:Array,default:Yr("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Yr("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Yr("popperHideTriggers")},container:{type:[String,Object,A4,Boolean],default:Yr("container")},boundary:{type:[String,A4],default:Yr("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:Yr("strategy")},autoHide:{type:[Boolean,Function],default:Yr("autoHide")},handleResize:{type:Boolean,default:Yr("handleResize")},instantMove:{type:Boolean,default:Yr("instantMove")},eagerMount:{type:Boolean,default:Yr("eagerMount")},popperClass:{type:[String,Array,Object],default:Yr("popperClass")},computeTransformOrigin:{type:Boolean,default:Yr("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Yr("autoMinSize")},autoSize:{type:[Boolean,String],default:Yr("autoSize")},autoMaxSize:{type:Boolean,default:Yr("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Yr("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Yr("preventOverflow")},overflowPadding:{type:[Number,String],default:Yr("overflowPadding")},arrowPadding:{type:[Number,String],default:Yr("arrowPadding")},arrowOverflow:{type:Boolean,default:Yr("arrowOverflow")},flip:{type:Boolean,default:Yr("flip")},shift:{type:Boolean,default:Yr("shift")},shiftCrossAxis:{type:Boolean,default:Yr("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Yr("noAutoFocus")},disposeTimeout:{type:Number,default:Yr("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[Nb])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,i;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((i=this.popperShowTriggers)==null?void 0:i.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,i)=>(t[i]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,i)=>(t[i]="$_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:i=!1,force:s=!1}={}){var a,r;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,i),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:i=!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:i}),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,i),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(i=>i.nodeType===i.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(o9({mainAxis:this.distance,crossAxis:this.skidding}));const i=this.placement.startsWith("auto");if(i?t.middleware.push(i9({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(l9({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!i&&this.flip&&t.middleware.push(s9({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(r9({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:a,rects:r,middlewareData:e})=>{let p;const{centerOffset:_}=e.arrow;return a.startsWith("top")||a.startsWith("bottom")?p=Math.abs(_)>r.reference.width/2:p=Math.abs(_)>r.reference.height/2,{data:{overflow:p}}}}),this.autoMinSize||this.autoSize){const a=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:e,middlewareData:p})=>{var _;if((_=p.autoSize)!=null&&_.skip)return{};let D,F;return e.startsWith("top")||e.startsWith("bottom")?D=r.reference.width:F=r.reference.height,this.$_innerNode.style[a==="min"?"minWidth":a==="max"?"maxWidth":"width"]=D!=null?`${D}px`:null,this.$_innerNode.style[a==="min"?"minHeight":a==="max"?"maxHeight":"height"]=F!=null?`${F}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(c9({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:a,availableHeight:r})=>{this.$_innerNode.style.maxWidth=a!=null?`${a}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const s=await d9(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,i=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),ou&&this.instantMove&&ou.instantMove&&ou!==this.parentPopper){ou.$_applyHide(!0),this.$_applyShow(!0);return}i?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,i=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(ou=this),i?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const i=this.delay;return parseInt(i&&i[t]||i||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Ib(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Bg(this.$_referenceNode),...Bg(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const i=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),r=i.x+i.width/2-(a.left+s.offsetLeft),e=i.y+i.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${r}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let i;for(let s=0;s<Sa.length;s++)i=Sa[s],i.showGroup!==t&&(i.hide(),i.$emit("close-group"))}Sa.push(this),document.body.classList.add("v-popper--some-open");for(const i of _3(this.theme))E3(i).push(this),document.body.classList.add(`v-popper--some-open--${i}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Ib(),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,w3(Sa,this),Sa.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of _3(this.theme)){const a=E3(s);w3(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}ou===this&&(ou=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const i=this.disposeTimeout;i!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},i)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ib(),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,y3,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],y3,this.popperTriggers,this.popperShowTriggers,t);const i=s=>{s.usedByTooltip||this.hide({event:s})};this.$_registerTriggerListeners(this.$_targetNodes,D3,this.triggers,this.hideTriggers,i),this.$_registerTriggerListeners([this.$_popperNode],D3,this.popperTriggers,this.popperHideTriggers,i)},$_registerEventListeners(t,i,s){this.$_events.push({targetNodes:t,eventType:i,handler:s}),t.forEach(a=>a.addEventListener(i,s,Cu?{passive:!0}:void 0))},$_registerTriggerListeners(t,i,s,a,r){let e=s;a!=null&&(e=typeof a=="function"?a(e):a),e.forEach(p=>{const _=i[p];_&&this.$_registerEventListeners(t,_,r)})},$_removeEventListeners(t){const i=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:r,handler:e}=s;!t||t===r?a.forEach(p=>p.removeEventListener(r,e)):i.push(s)}),this.$_events=i},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,i=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),i&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,i){for(const s of this.$_targetNodes){const a=s.getAttribute(t);a&&(s.removeAttribute(t),s.setAttribute(i,a))}},$_applyAttrsToTarget(t){for(const i of this.$_targetNodes)for(const s in t){const a=t[s];a==null?i.removeAttribute(s):i.setAttribute(s,a)}},$_updateParentShownChildren(t){let i=this.parentPopper;for(;i;)t?i.shownChildren.add(this.randomId):(i.shownChildren.delete(this.randomId),i.$_pendingHide&&i.hide()),i=i.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if($d>=t.left&&$d<=t.right&&Wd>=t.top&&Wd<=t.bottom){const i=this.$_popperNode.getBoundingClientRect(),s=$d-Ll,a=Wd-Bl,r=i.left+i.width/2-Ll+(i.top+i.height/2)-Bl+i.width+i.height,e=Ll+s*r,p=Bl+a*r;return rg(Ll,Bl,e,p,i.left,i.top,i.left,i.bottom)||rg(Ll,Bl,e,p,i.left,i.top,i.right,i.top)||rg(Ll,Bl,e,p,i.right,i.top,i.right,i.bottom)||rg(Ll,Bl,e,p,i.left,i.bottom,i.right,i.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(s6?(document.addEventListener("touchstart",x3,Cu?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",g9,Cu?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",x3,!0),window.addEventListener("click",m9,!0)),window.addEventListener("resize",_9));function x3(t){for(let i=0;i<Sa.length;i++){const s=Sa[i];try{const a=s.popperNode();s.$_mouseDownContains=a.contains(t.target)}catch{}}}function m9(t){l6(t)}function g9(t){l6(t,!0)}function l6(t,i=!1){const s={};for(let a=Sa.length-1;a>=0;a--){const r=Sa[a];try{const e=r.$_containsGlobalTarget=v9(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!s[r.randomId]&&C3(r,e,t)){if(r.$_handleGlobalClose(t,i),!t.closeAllPopover&&t.closePopover&&e){let _=r.parentPopper;for(;_;)s[_.randomId]=!0,_=_.parentPopper;return}let p=r.parentPopper;for(;p&&C3(p,p.$_containsGlobalTarget,t);)p.$_handleGlobalClose(t,i),p=p.parentPopper}})}catch{}}}function v9(t,i){const s=t.popperNode();return t.$_mouseDownContains||s.contains(i.target)}function C3(t,i,s){return s.closeAllPopover||s.closePopover&&i||b9(t,s)&&!i}function b9(t,i){if(typeof t.autoHide=="function"){const s=t.autoHide(i);return t.lastAutoHide=s,s}return t.autoHide}function _9(t){for(let i=0;i<Sa.length;i++)Sa[i].$_computePosition(t)}let Ll=0,Bl=0,$d=0,Wd=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Ll=$d,Bl=Wd,$d=t.clientX,Wd=t.clientY},Cu?{passive:!0}:void 0);function rg(t,i,s,a,r,e,p,_){const D=((p-r)*(i-e)-(_-e)*(t-r))/((_-e)*(s-t)-(p-r)*(a-i)),F=((s-t)*(i-e)-(a-i)*(t-r))/((_-e)*(s-t)-(p-r)*(a-i));return D>=0&&D<=1&&F>=0&&F<=1}const y9={extends:o6()},F2=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s};function D9(t,i,s,a,r,e){return Br(),hn("div",{ref:"reference",class:ns(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Fu(t.$slots,"default",cw(p_(t.slotData)))],2)}const w9=F2(y9,[["render",D9]]);function F9(){var t=window.navigator.userAgent,i=t.indexOf("MSIE ");if(i>0)return parseInt(t.substring(i+5,t.indexOf(".",i)),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 r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let cg;function S4(){S4.init||(S4.init=!0,cg=F9()!==-1)}var E2={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){S4(),vo(()=>{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",cg&&this.$el.appendChild(t),t.data="about:blank",cg||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&&(!cg&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const E9=Iw();s2("data-v-b329ee4c");const x9={class:"resize-observer",tabindex:"-1"};a2();const C9=E9((t,i,s,a,r,e)=>(Br(),rl("div",x9)));E2.render=C9;E2.__scopeId="data-v-b329ee4c";E2.__file="src/components/ResizeObserver.vue";const c6=(t="theme")=>({computed:{themeClass(){return p9(this[t])}}}),T9=mi({name:"VPopperContent",components:{ResizeObserver:E2},mixins:[c6()],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}}}),A9=["id","aria-hidden","tabindex","data-popper-placement"],S9={ref:"inner",class:"v-popper__inner"},O9=Tt("div",{class:"v-popper__arrow-outer"},null,-1),k9=Tt("div",{class:"v-popper__arrow-inner"},null,-1),R9=[O9,k9];function P9(t,i,s,a,r,e){const p=Ia("ResizeObserver");return Br(),hn("div",{id:t.popperId,ref:"popover",class:ns(["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:Ra(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:i[2]||(i[2]=IF(_=>t.autoHide&&t.$emit("hide"),["esc"]))},[Tt("div",{class:"v-popper__backdrop",onClick:i[0]||(i[0]=_=>t.autoHide&&t.$emit("hide"))}),Tt("div",{class:"v-popper__wrapper",style:Ra(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Tt("div",S9,[t.mounted?(Br(),hn(Gn,{key:0},[Tt("div",null,[Fu(t.$slots,"default")]),t.handleResize?(Br(),rl(p,{key:0,onNotify:i[1]||(i[1]=_=>t.$emit("resize",_))})):ca("",!0)],64)):ca("",!0)],512),Tt("div",{ref:"arrow",class:"v-popper__arrow-container",style:Ra(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},R9,4)],4)],46,A9)}const u6=F2(T9,[["render",P9]]),f6={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)}}},I9=mi({name:"VPopperWrapper",components:{Popper:w9,PopperContent:u6},mixins:[f6,c6("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 N9(t,i,s,a,r,e){const p=Ia("PopperContent"),_=Ia("Popper");return Br(),rl(_,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:ns([t.themeClass])},{default:Ei(({popperId:D,isShown:F,shouldMountContent:T,skipTransition:A,autoHide:R,show:I,hide:N,handleResize:L,onResize:V,classes:U,result:G})=>[Fu(t.$slots,"default",{shown:F,show:I,hide:N}),Er(p,{ref:"popperContent","popper-id":D,theme:t.finalTheme,shown:F,mounted:T,"skip-transition":A,"auto-hide":R,"handle-resize":L,classes:U,result:G,onHide:N,onResize:V},{default:Ei(()=>[Fu(t.$slots,"popper",{shown:F,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 q_=F2(I9,[["render",N9]]),M9={...q_,name:"VDropdown",vPopperTheme:"dropdown"},L9={...q_,name:"VMenu",vPopperTheme:"menu"},B9={...q_,name:"VTooltip",vPopperTheme:"tooltip"},U9=mi({name:"VTooltipDirective",components:{Popper:o6(),PopperContent:u6},mixins:[f6],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>a1(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>a1(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 i=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(i,a)):this.onResult(i,s)}},onResult(t,i){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=i)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),H9=["innerHTML"],$9=["textContent"];function W9(t,i,s,a,r,e){const p=Ia("PopperContent"),_=Ia("Popper");return Br(),rl(_,f2({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Ei(({popperId:D,isShown:F,shouldMountContent:T,skipTransition:A,autoHide:R,hide:I,handleResize:N,onResize:L,classes:V,result:U})=>[Er(p,{ref:"popperContent",class:ns({"v-popper--tooltip-loading":t.loading}),"popper-id":D,theme:t.theme,shown:F,mounted:T,"skip-transition":A,"auto-hide":R,"handle-resize":N,classes:V,result:U,onHide:I,onResize:L},{default:Ei(()=>[t.html?(Br(),hn("div",{key:0,innerHTML:t.finalContent},null,8,H9)):(Br(),hn("div",{key:1,textContent:ai(t.finalContent)},null,8,$9))]),_: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 z9=F2(U9,[["render",W9]]),h6="v-popper--has-tooltip";function j9(t,i){let s=t.placement;if(!s&&i)for(const a of a6)i[a]&&(s=a);return s||(s=a1(t.theme||"tooltip","placement")),s}function d6(t,i,s){let a;const r=typeof i;return r==="string"?a={content:i}:i&&r==="object"?a=i:a={content:!1},a.placement=j9(a,s),a.targetNodes=()=>[t],a.referenceNode=()=>t,a}let Mb,o1,V9=0;function G9(){if(Mb)return;o1=Yt([]),Mb=D_({name:"VTooltipDirectiveApp",setup(){return{directives:o1}},render(){return this.directives.map(i=>Ou(z9,{...i.options,shown:i.shown||i.options.shown,key:i.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Mb.mount(t)}function Y9(t,i,s){G9();const a=Yt(d6(t,i,s)),r=Yt(!1),e={id:V9++,options:a,shown:r};return o1.value.push(e),t.classList&&t.classList.add(h6),t.$_popper={options:a,item:e,show(){r.value=!0},hide(){r.value=!1}}}function p6(t){if(t.$_popper){const i=o1.value.indexOf(t.$_popper.item);i!==-1&&o1.value.splice(i,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(h6)}function T3(t,{value:i,modifiers:s}){const a=d6(t,i,s);if(!a.content||a1(a.theme||"tooltip","disabled"))p6(t);else{let r;t.$_popper?(r=t.$_popper,r.options.value=a):r=Y9(t,i,s),typeof i.shown<"u"&&i.shown!==t.$_popperOldShown&&(t.$_popperOldShown=i.shown,i.shown?r.show():r.hide())}}const K9={beforeMount:T3,updated:T3,beforeUnmount(t){p6(t)}};function A3(t){t.addEventListener("click",m6),t.addEventListener("touchstart",g6,Cu?{passive:!0}:!1)}function S3(t){t.removeEventListener("click",m6),t.removeEventListener("touchstart",g6),t.removeEventListener("touchend",v6),t.removeEventListener("touchcancel",b6)}function m6(t){const i=t.currentTarget;t.closePopover=!i.$_vclosepopover_touch,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}function g6(t){if(t.changedTouches.length===1){const i=t.currentTarget;i.$_vclosepopover_touch=!0;const s=t.changedTouches[0];i.$_vclosepopover_touchPoint=s,i.addEventListener("touchend",v6),i.addEventListener("touchcancel",b6)}}function v6(t){const i=t.currentTarget;if(i.$_vclosepopover_touch=!1,t.changedTouches.length===1){const s=t.changedTouches[0],a=i.$_vclosepopover_touchPoint;t.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}}function b6(t){const i=t.currentTarget;i.$_vclosepopover_touch=!1}const q9={beforeMount(t,{value:i,modifiers:s}){t.$_closePopoverModifiers=s,(typeof i>"u"||i)&&A3(t)},updated(t,{value:i,oldValue:s,modifiers:a}){t.$_closePopoverModifiers=a,i!==s&&(typeof i>"u"||i?A3(t):S3(t))},beforeUnmount(t){S3(t)}};function Q9(t,i={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,i6(Jo,i),t.directive("tooltip",K9),t.directive("close-popper",q9),t.component("VTooltip",B9),t.component("VDropdown",M9),t.component("VMenu",L9))}const X9={version:"2.0.0-beta.24",install:Q9,options:Jo};class x2{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(i){const s={listener:i};return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const C2=typeof window>"u"||"Deno"in window;function Ca(){}function J9(t,i){return typeof t=="function"?t(i):t}function Z9(t){return typeof t=="number"&&t>=0&&t!==1/0}function eR(t,i){return Math.max(t+(i||0)-Date.now(),0)}function ng(t,i,s){return T2(t)?typeof i=="function"?{...s,queryKey:t,queryFn:i}:{...i,queryKey:t}:t}function Vl(t,i,s){return T2(t)?[{...i,queryKey:t},s]:[t||{},i]}function O3(t,i){const{type:s="all",exact:a,fetchStatus:r,predicate:e,queryKey:p,stale:_}=t;if(T2(p)){if(a){if(i.queryHash!==Q_(p,i.options))return!1}else if(!Ug(i.queryKey,p))return!1}if(s!=="all"){const D=i.isActive();if(s==="active"&&!D||s==="inactive"&&D)return!1}return!(typeof _=="boolean"&&i.isStale()!==_||typeof r<"u"&&r!==i.state.fetchStatus||e&&!e(i))}function k3(t,i){const{exact:s,fetching:a,predicate:r,mutationKey:e}=t;if(T2(e)){if(!i.options.mutationKey)return!1;if(s){if(mu(i.options.mutationKey)!==mu(e))return!1}else if(!Ug(i.options.mutationKey,e))return!1}return!(typeof a=="boolean"&&i.state.status==="loading"!==a||r&&!r(i))}function Q_(t,i){return((i==null?void 0:i.queryKeyHashFn)||mu)(t)}function mu(t){return JSON.stringify(t,(i,s)=>O4(s)?Object.keys(s).sort().reduce((a,r)=>(a[r]=s[r],a),{}):s)}function Ug(t,i){return _6(t,i)}function _6(t,i){return t===i?!0:typeof t!=typeof i?!1:t&&i&&typeof t=="object"&&typeof i=="object"?!Object.keys(i).some(s=>!_6(t[s],i[s])):!1}function y6(t,i){if(t===i)return t;const s=R3(t)&&R3(i);if(s||O4(t)&&O4(i)){const a=s?t.length:Object.keys(t).length,r=s?i:Object.keys(i),e=r.length,p=s?[]:{};let _=0;for(let D=0;D<e;D++){const F=s?D:r[D];p[F]=y6(t[F],i[F]),p[F]===t[F]&&_++}return a===e&&_===a?t:p}return i}function PI(t,i){if(t&&!i||i&&!t)return!1;for(const s in t)if(t[s]!==i[s])return!1;return!0}function R3(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function O4(t){if(!P3(t))return!1;const i=t.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!P3(s)||!s.hasOwnProperty("isPrototypeOf"))}function P3(t){return Object.prototype.toString.call(t)==="[object Object]"}function T2(t){return Array.isArray(t)}function D6(t){return new Promise(i=>{setTimeout(i,t)})}function I3(t){D6(0).then(t)}function tR(){if(typeof AbortController=="function")return new AbortController}function rR(t,i,s){return s.isDataEqual!=null&&s.isDataEqual(t,i)?t:typeof s.structuralSharing=="function"?s.structuralSharing(t,i):s.structuralSharing!==!1?y6(t,i):i}class nR extends x2{constructor(){super(),this.setup=i=>{if(!C2&&window.addEventListener){const s=()=>i();return window.addEventListener("visibilitychange",s,!1),window.addEventListener("focus",s,!1),()=>{window.removeEventListener("visibilitychange",s),window.removeEventListener("focus",s)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(i){this.focused!==i&&(this.focused=i,this.onFocus())}onFocus(){this.listeners.forEach(({listener:i})=>{i()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const k4=new nR,N3=["online","offline"];class iR extends x2{constructor(){super(),this.setup=i=>{if(!C2&&window.addEventListener){const s=()=>i();return N3.forEach(a=>{window.addEventListener(a,s,!1)}),()=>{N3.forEach(a=>{window.removeEventListener(a,s)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setOnline(a):this.onOnline()})}setOnline(i){this.online!==i&&(this.online=i,this.onOnline())}onOnline(){this.listeners.forEach(({listener:i})=>{i()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const Hg=new iR;function sR(t){return Math.min(1e3*2**t,3e4)}function X_(t){return(t??"online")==="online"?Hg.isOnline():!0}class w6{constructor(i){this.revert=i==null?void 0:i.revert,this.silent=i==null?void 0:i.silent}}function Lb(t){return t instanceof w6}function F6(t){let i=!1,s=0,a=!1,r,e,p;const _=new Promise((V,U)=>{e=V,p=U}),D=V=>{a||(I(new w6(V)),t.abort==null||t.abort())},F=()=>{i=!0},T=()=>{i=!1},A=()=>!k4.isFocused()||t.networkMode!=="always"&&!Hg.isOnline(),R=V=>{a||(a=!0,t.onSuccess==null||t.onSuccess(V),r==null||r(),e(V))},I=V=>{a||(a=!0,t.onError==null||t.onError(V),r==null||r(),p(V))},N=()=>new Promise(V=>{r=U=>{const G=a||!A();return G&&V(U),G},t.onPause==null||t.onPause()}).then(()=>{r=void 0,a||t.onContinue==null||t.onContinue()}),L=()=>{if(a)return;let V;try{V=t.fn()}catch(U){V=Promise.reject(U)}Promise.resolve(V).then(R).catch(U=>{var G,ne;if(a)return;const z=(G=t.retry)!=null?G:3,H=(ne=t.retryDelay)!=null?ne:sR,Z=typeof H=="function"?H(s,U):H,ee=z===!0||typeof z=="number"&&s<z||typeof z=="function"&&z(s,U);if(i||!ee){I(U);return}s++,t.onFail==null||t.onFail(s,U),D6(Z).then(()=>{if(A())return N()}).then(()=>{i?I(U):L()})})};return X_(t.networkMode)?L():N().then(L),{promise:_,cancel:D,continue:()=>(r==null?void 0:r())?_:Promise.resolve(),cancelRetry:F,continueRetry:T}}const J_=console;function aR(){let t=[],i=0,s=T=>{T()},a=T=>{T()};const r=T=>{let A;i++;try{A=T()}finally{i--,i||_()}return A},e=T=>{i?t.push(T):I3(()=>{s(T)})},p=T=>(...A)=>{e(()=>{T(...A)})},_=()=>{const T=t;t=[],T.length&&I3(()=>{a(()=>{T.forEach(A=>{s(A)})})})};return{batch:r,batchCalls:p,schedule:e,setNotifyFunction:T=>{s=T},setBatchNotifyFunction:T=>{a=T}}}const ts=aR();class E6{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Z9(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(i){this.cacheTime=Math.max(this.cacheTime||0,i??(C2?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class oR extends E6{constructor(i){super(),this.abortSignalConsumed=!1,this.defaultOptions=i.defaultOptions,this.setOptions(i.options),this.observers=[],this.cache=i.cache,this.logger=i.logger||J_,this.queryKey=i.queryKey,this.queryHash=i.queryHash,this.initialState=i.state||lR(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(i,s){const a=rR(this.state.data,i,this.options);return this.dispatch({data:a,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),a}setState(i,s){this.dispatch({type:"setState",state:i,setStateOptions:s})}cancel(i){var s;const a=this.promise;return(s=this.retryer)==null||s.cancel(i),a?a.then(Ca).catch(Ca):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(i=>i.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(i=>i.getCurrentResult().isStale)}isStaleByTime(i=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!eR(this.state.dataUpdatedAt,i)}onFocus(){var i;const s=this.observers.find(a=>a.shouldFetchOnWindowFocus());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}onOnline(){var i;const s=this.observers.find(a=>a.shouldFetchOnReconnect());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:i}))}removeObserver(i){this.observers.includes(i)&&(this.observers=this.observers.filter(s=>s!==i),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:i}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(i,s){var a,r;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&s!=null&&s.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var e;return(e=this.retryer)==null||e.continueRetry(),this.promise}}if(i&&this.setOptions(i),!this.options.queryFn){const I=this.observers.find(N=>N.options.queryFn);I&&this.setOptions(I.options)}Array.isArray(this.options.queryKey);const p=tR(),_={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},D=I=>{Object.defineProperty(I,"signal",{enumerable:!0,get:()=>{if(p)return this.abortSignalConsumed=!0,p.signal}})};D(_);const F=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(_)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),T={fetchOptions:s,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:F};if(D(T),(a=this.options.behavior)==null||a.onFetch(T),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((r=T.fetchOptions)==null?void 0:r.meta)){var A;this.dispatch({type:"fetch",meta:(A=T.fetchOptions)==null?void 0:A.meta})}const R=I=>{if(Lb(I)&&I.silent||this.dispatch({type:"error",error:I}),!Lb(I)){var N,L,V,U;(N=(L=this.cache.config).onError)==null||N.call(L,I,this),(V=(U=this.cache.config).onSettled)==null||V.call(U,this.state.data,I,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=F6({fn:T.fetchFn,abort:p==null?void 0:p.abort.bind(p),onSuccess:I=>{var N,L,V,U;if(typeof I>"u"){R(new Error(this.queryHash+" data is undefined"));return}this.setData(I),(N=(L=this.cache.config).onSuccess)==null||N.call(L,I,this),(V=(U=this.cache.config).onSettled)==null||V.call(U,I,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:R,onFail:(I,N)=>{this.dispatch({type:"failed",failureCount:I,error:N})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:T.options.retry,retryDelay:T.options.retryDelay,networkMode:T.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(i){const s=a=>{var r,e;switch(i.type){case"failed":return{...a,fetchFailureCount:i.failureCount,fetchFailureReason:i.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(r=i.meta)!=null?r:null,fetchStatus:X_(this.options.networkMode)?"fetching":"paused",...!a.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...a,data:i.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:(e=i.dataUpdatedAt)!=null?e:Date.now(),error:null,isInvalidated:!1,status:"success",...!i.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const p=i.error;return Lb(p)&&p.revert&&this.revertState?{...this.revertState}:{...a,error:p,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:p,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...i.state}}};this.state=s(this.state),ts.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate(i)}),this.cache.notify({query:this,type:"updated",action:i})})}}function lR(t){const i=typeof t.initialData=="function"?t.initialData():t.initialData,s=typeof i<"u",a=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:i,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":"loading",fetchStatus:"idle"}}let x6=class extends x2{constructor(i){super(),this.config=i||{},this.queries=[],this.queriesMap={}}build(i,s,a){var r;const e=s.queryKey,p=(r=s.queryHash)!=null?r:Q_(e,s);let _=this.get(p);return _||(_=new oR({cache:this,logger:i.getLogger(),queryKey:e,queryHash:p,options:i.defaultQueryOptions(s),state:a,defaultOptions:i.getQueryDefaults(e)}),this.add(_)),_}add(i){this.queriesMap[i.queryHash]||(this.queriesMap[i.queryHash]=i,this.queries.push(i),this.notify({type:"added",query:i}))}remove(i){const s=this.queriesMap[i.queryHash];s&&(i.destroy(),this.queries=this.queries.filter(a=>a!==i),s===i&&delete this.queriesMap[i.queryHash],this.notify({type:"removed",query:i}))}clear(){ts.batch(()=>{this.queries.forEach(i=>{this.remove(i)})})}get(i){return this.queriesMap[i]}getAll(){return this.queries}find(i,s){const[a]=Vl(i,s);return typeof a.exact>"u"&&(a.exact=!0),this.queries.find(r=>O3(a,r))}findAll(i,s){const[a]=Vl(i,s);return Object.keys(a).length>0?this.queries.filter(r=>O3(a,r)):this.queries}notify(i){ts.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}onFocus(){ts.batch(()=>{this.queries.forEach(i=>{i.onFocus()})})}onOnline(){ts.batch(()=>{this.queries.forEach(i=>{i.onOnline()})})}};class cR extends E6{constructor(i){super(),this.defaultOptions=i.defaultOptions,this.mutationId=i.mutationId,this.mutationCache=i.mutationCache,this.logger=i.logger||J_,this.observers=[],this.state=i.state||uR(),this.setOptions(i.options),this.scheduleGc()}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(i){this.dispatch({type:"setState",state:i})}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:i}))}removeObserver(i){this.observers=this.observers.filter(s=>s!==i),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:i})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var i,s;return(i=(s=this.retryer)==null?void 0:s.continue())!=null?i:this.execute()}async execute(){const i=()=>{var ee;return this.retryer=F6({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(re,te)=>{this.dispatch({type:"failed",failureCount:re,error:te})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(ee=this.options.retry)!=null?ee:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},s=this.state.status==="loading";try{var a,r,e,p,_,D,F,T;if(!s){var A,R,I,N;this.dispatch({type:"loading",variables:this.options.variables}),await((A=(R=this.mutationCache.config).onMutate)==null?void 0:A.call(R,this.state.variables,this));const re=await((I=(N=this.options).onMutate)==null?void 0:I.call(N,this.state.variables));re!==this.state.context&&this.dispatch({type:"loading",context:re,variables:this.state.variables})}const ee=await i();return await((a=(r=this.mutationCache.config).onSuccess)==null?void 0:a.call(r,ee,this.state.variables,this.state.context,this)),await((e=(p=this.options).onSuccess)==null?void 0:e.call(p,ee,this.state.variables,this.state.context)),await((_=(D=this.mutationCache.config).onSettled)==null?void 0:_.call(D,ee,null,this.state.variables,this.state.context,this)),await((F=(T=this.options).onSettled)==null?void 0:F.call(T,ee,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:ee}),ee}catch(ee){try{var L,V,U,G,ne,z,H,Z;throw await((L=(V=this.mutationCache.config).onError)==null?void 0:L.call(V,ee,this.state.variables,this.state.context,this)),await((U=(G=this.options).onError)==null?void 0:U.call(G,ee,this.state.variables,this.state.context)),await((ne=(z=this.mutationCache.config).onSettled)==null?void 0:ne.call(z,void 0,ee,this.state.variables,this.state.context,this)),await((H=(Z=this.options).onSettled)==null?void 0:H.call(Z,void 0,ee,this.state.variables,this.state.context)),ee}finally{this.dispatch({type:"error",error:ee})}}}dispatch(i){const s=a=>{switch(i.type){case"failed":return{...a,failureCount:i.failureCount,failureReason:i.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"loading":return{...a,context:i.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!X_(this.options.networkMode),status:"loading",variables:i.variables};case"success":return{...a,data:i.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:i.error,failureCount:a.failureCount+1,failureReason:i.error,isPaused:!1,status:"error"};case"setState":return{...a,...i.state}}};this.state=s(this.state),ts.batch(()=>{this.observers.forEach(a=>{a.onMutationUpdate(i)}),this.mutationCache.notify({mutation:this,type:"updated",action:i})})}}function uR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let C6=class extends x2{constructor(i){super(),this.config=i||{},this.mutations=[],this.mutationId=0}build(i,s,a){const r=new cR({mutationCache:this,logger:i.getLogger(),mutationId:++this.mutationId,options:i.defaultMutationOptions(s),state:a,defaultOptions:s.mutationKey?i.getMutationDefaults(s.mutationKey):void 0});return this.add(r),r}add(i){this.mutations.push(i),this.notify({type:"added",mutation:i})}remove(i){this.mutations=this.mutations.filter(s=>s!==i),this.notify({type:"removed",mutation:i})}clear(){ts.batch(()=>{this.mutations.forEach(i=>{this.remove(i)})})}getAll(){return this.mutations}find(i){return typeof i.exact>"u"&&(i.exact=!0),this.mutations.find(s=>k3(i,s))}findAll(i){return this.mutations.filter(s=>k3(i,s))}notify(i){ts.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}resumePausedMutations(){var i;return this.resuming=((i=this.resuming)!=null?i:Promise.resolve()).then(()=>{const s=this.mutations.filter(a=>a.state.isPaused);return ts.batch(()=>s.reduce((a,r)=>a.then(()=>r.continue().catch(Ca)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};function fR(){return{onFetch:t=>{t.fetchFn=()=>{var i,s,a,r,e,p;const _=(i=t.fetchOptions)==null||(s=i.meta)==null?void 0:s.refetchPage,D=(a=t.fetchOptions)==null||(r=a.meta)==null?void 0:r.fetchMore,F=D==null?void 0:D.pageParam,T=(D==null?void 0:D.direction)==="forward",A=(D==null?void 0:D.direction)==="backward",R=((e=t.state.data)==null?void 0:e.pages)||[],I=((p=t.state.data)==null?void 0:p.pageParams)||[];let N=I,L=!1;const V=Z=>{Object.defineProperty(Z,"signal",{enumerable:!0,get:()=>{var ee;if((ee=t.signal)!=null&&ee.aborted)L=!0;else{var re;(re=t.signal)==null||re.addEventListener("abort",()=>{L=!0})}return t.signal}})},U=t.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+t.options.queryHash+"'")),G=(Z,ee,re,te)=>(N=te?[ee,...N]:[...N,ee],te?[re,...Z]:[...Z,re]),ne=(Z,ee,re,te)=>{if(L)return Promise.reject("Cancelled");if(typeof re>"u"&&!ee&&Z.length)return Promise.resolve(Z);const ae={queryKey:t.queryKey,pageParam:re,meta:t.options.meta};V(ae);const ve=U(ae);return Promise.resolve(ve).then(De=>G(Z,re,De,te))};let z;if(!R.length)z=ne([]);else if(T){const Z=typeof F<"u",ee=Z?F:M3(t.options,R);z=ne(R,Z,ee)}else if(A){const Z=typeof F<"u",ee=Z?F:hR(t.options,R);z=ne(R,Z,ee,!0)}else{N=[];const Z=typeof t.options.getNextPageParam>"u";z=(_&&R[0]?_(R[0],0,R):!0)?ne([],Z,I[0]):Promise.resolve(G([],I[0],R[0]));for(let re=1;re<R.length;re++)z=z.then(te=>{if(_&&R[re]?_(R[re],re,R):!0){const ve=Z?I[re]:M3(t.options,te);return ne(te,Z,ve)}return Promise.resolve(G(te,I[re],R[re]))})}return z.then(Z=>({pages:Z,pageParams:N}))}}}}function M3(t,i){return t.getNextPageParam==null?void 0:t.getNextPageParam(i[i.length-1],i)}function hR(t,i){return t.getPreviousPageParam==null?void 0:t.getPreviousPageParam(i[0],i)}let dR=class{constructor(i={}){this.queryCache=i.queryCache||new x6,this.mutationCache=i.mutationCache||new C6,this.logger=i.logger||J_,this.defaultOptions=i.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=k4.subscribe(()=>{k4.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Hg.subscribe(()=>{Hg.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var i,s;this.mountCount--,this.mountCount===0&&((i=this.unsubscribeFocus)==null||i.call(this),this.unsubscribeFocus=void 0,(s=this.unsubscribeOnline)==null||s.call(this),this.unsubscribeOnline=void 0)}isFetching(i,s){const[a]=Vl(i,s);return a.fetchStatus="fetching",this.queryCache.findAll(a).length}isMutating(i){return this.mutationCache.findAll({...i,fetching:!0}).length}getQueryData(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state.data}ensureQueryData(i,s,a){const r=ng(i,s,a),e=this.getQueryData(r.queryKey);return e?Promise.resolve(e):this.fetchQuery(r)}getQueriesData(i){return this.getQueryCache().findAll(i).map(({queryKey:s,state:a})=>{const r=a.data;return[s,r]})}setQueryData(i,s,a){const r=this.queryCache.find(i),e=r==null?void 0:r.state.data,p=J9(s,e);if(typeof p>"u")return;const _=ng(i),D=this.defaultQueryOptions(_);return this.queryCache.build(this,D).setData(p,{...a,manual:!0})}setQueriesData(i,s,a){return ts.batch(()=>this.getQueryCache().findAll(i).map(({queryKey:r})=>[r,this.setQueryData(r,s,a)]))}getQueryState(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state}removeQueries(i,s){const[a]=Vl(i,s),r=this.queryCache;ts.batch(()=>{r.findAll(a).forEach(e=>{r.remove(e)})})}resetQueries(i,s,a){const[r,e]=Vl(i,s,a),p=this.queryCache,_={type:"active",...r};return ts.batch(()=>(p.findAll(r).forEach(D=>{D.reset()}),this.refetchQueries(_,e)))}cancelQueries(i,s,a){const[r,e={}]=Vl(i,s,a);typeof e.revert>"u"&&(e.revert=!0);const p=ts.batch(()=>this.queryCache.findAll(r).map(_=>_.cancel(e)));return Promise.all(p).then(Ca).catch(Ca)}invalidateQueries(i,s,a){const[r,e]=Vl(i,s,a);return ts.batch(()=>{var p,_;if(this.queryCache.findAll(r).forEach(F=>{F.invalidate()}),r.refetchType==="none")return Promise.resolve();const D={...r,type:(p=(_=r.refetchType)!=null?_:r.type)!=null?p:"active"};return this.refetchQueries(D,e)})}refetchQueries(i,s,a){const[r,e]=Vl(i,s,a),p=ts.batch(()=>this.queryCache.findAll(r).filter(D=>!D.isDisabled()).map(D=>{var F;return D.fetch(void 0,{...e,cancelRefetch:(F=e==null?void 0:e.cancelRefetch)!=null?F:!0,meta:{refetchPage:r.refetchPage}})}));let _=Promise.all(p).then(Ca);return e!=null&&e.throwOnError||(_=_.catch(Ca)),_}fetchQuery(i,s,a){const r=ng(i,s,a),e=this.defaultQueryOptions(r);typeof e.retry>"u"&&(e.retry=!1);const p=this.queryCache.build(this,e);return p.isStaleByTime(e.staleTime)?p.fetch(e):Promise.resolve(p.state.data)}prefetchQuery(i,s,a){return this.fetchQuery(i,s,a).then(Ca).catch(Ca)}fetchInfiniteQuery(i,s,a){const r=ng(i,s,a);return r.behavior=fR(),this.fetchQuery(r)}prefetchInfiniteQuery(i,s,a){return this.fetchInfiniteQuery(i,s,a).then(Ca).catch(Ca)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(i){this.defaultOptions=i}setQueryDefaults(i,s){const a=this.queryDefaults.find(r=>mu(i)===mu(r.queryKey));a?a.defaultOptions=s:this.queryDefaults.push({queryKey:i,defaultOptions:s})}getQueryDefaults(i){if(!i)return;const s=this.queryDefaults.find(a=>Ug(i,a.queryKey));return s==null?void 0:s.defaultOptions}setMutationDefaults(i,s){const a=this.mutationDefaults.find(r=>mu(i)===mu(r.mutationKey));a?a.defaultOptions=s:this.mutationDefaults.push({mutationKey:i,defaultOptions:s})}getMutationDefaults(i){if(!i)return;const s=this.mutationDefaults.find(a=>Ug(i,a.mutationKey));return s==null?void 0:s.defaultOptions}defaultQueryOptions(i){if(i!=null&&i._defaulted)return i;const s={...this.defaultOptions.queries,...this.getQueryDefaults(i==null?void 0:i.queryKey),...i,_defaulted:!0};return!s.queryHash&&s.queryKey&&(s.queryHash=Q_(s.queryKey,s)),typeof s.refetchOnReconnect>"u"&&(s.refetchOnReconnect=s.networkMode!=="always"),typeof s.useErrorBoundary>"u"&&(s.useErrorBoundary=!!s.suspense),s}defaultMutationOptions(i){return i!=null&&i._defaulted?i:{...this.defaultOptions.mutations,...this.getMutationDefaults(i==null?void 0:i.mutationKey),...i,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};const pR="VUE_QUERY_CLIENT";function mR(t){const i=t?":"+t:"";return""+pR+i}function xa(t){return Array.isArray(t)}function LI(t,i){Object.keys(t).forEach(s=>{t[s]=i[s]})}function R4(t,i){if(i){const s=i(t);if(s!==void 0||rn(t))return s}if(Array.isArray(t))return t.map(s=>R4(s,i));if(typeof t=="object"&&gR(t)){const s=Object.entries(t).map(([a,r])=>[a,R4(r,i)]);return Object.fromEntries(s)}return t}function ar(t){return R4(t,i=>{if(rn(i))return ar(tr(i))})}function gR(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const i=Object.getPrototypeOf(t);return i===null||i===Object.prototype}function BI(t,i){return typeof t=="function"?t(...i):!!t}class vR extends x6{find(i,s){const a=ar(i),r=ar(s);return super.find(a,r)}findAll(i,s){const a=ar(i),r=ar(s);return xa(a)?super.findAll(a,r):super.findAll(a)}}class bR extends C6{find(i){return super.find(ar(i))}findAll(i){return super.findAll(ar(i))}}class L3 extends dR{constructor(i={}){const s=ar(i),a={logger:ar(s.logger),defaultOptions:ar(s.defaultOptions),queryCache:s.queryCache||new vR,mutationCache:s.mutationCache||new bR};super(a),this.isRestoring=Yt(!1)}isFetching(i,s){const a=ar(i),r=ar(s);return xa(a)?super.isFetching(a,r):super.isFetching(a)}isMutating(i){return super.isMutating(ar(i))}getQueryData(i,s){return super.getQueryData(ar(i),ar(s))}getQueriesData(i){const s=ar(i);return xa(s)?super.getQueriesData(s):super.getQueriesData(s)}setQueryData(i,s,a){return super.setQueryData(ar(i),s,ar(a))}setQueriesData(i,s,a){const r=ar(i),e=ar(a);return xa(r)?super.setQueriesData(r,s,e):super.setQueriesData(r,s,e)}getQueryState(i,s){return super.getQueryState(ar(i),ar(s))}removeQueries(i,s){const a=ar(i);return xa(a)?super.removeQueries(a,ar(s)):super.removeQueries(a)}resetQueries(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.resetQueries(r,e,ar(a)):super.resetQueries(r,e)}cancelQueries(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.cancelQueries(r,e,ar(a)):super.cancelQueries(r,e)}invalidateQueries(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.invalidateQueries(r,e,ar(a)):super.invalidateQueries(r,e)}refetchQueries(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.refetchQueries(r,e,ar(a)):super.refetchQueries(r,e)}fetchQuery(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.fetchQuery(r,e,ar(a)):super.fetchQuery(r)}prefetchQuery(i,s,a){return super.prefetchQuery(ar(i),ar(s),ar(a))}fetchInfiniteQuery(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.fetchInfiniteQuery(r,e,ar(a)):super.fetchInfiniteQuery(r)}prefetchInfiniteQuery(i,s,a){return super.prefetchInfiniteQuery(ar(i),ar(s),ar(a))}setDefaultOptions(i){super.setDefaultOptions(ar(i))}setQueryDefaults(i,s){super.setQueryDefaults(ar(i),ar(s))}getQueryDefaults(i){return super.getQueryDefaults(ar(i))}setMutationDefaults(i,s){super.setMutationDefaults(ar(i),ar(s))}getMutationDefaults(i){return super.getMutationDefaults(ar(i))}}const _R={install:(t,i={})=>{const s=mR(i.queryClientKey);let a;if("queryClient"in i&&i.queryClient)a=i.queryClient;else if(i.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)a=window.__VUE_QUERY_CONTEXT__;else{const p="queryClientConfig"in i?i.queryClientConfig:void 0;a=new L3(p),window.__VUE_QUERY_CONTEXT__=a}else{const p="queryClientConfig"in i?i.queryClientConfig:void 0;a=new L3(p)}C2||a.mount();let r=()=>{};if(i.clientPersister){a.isRestoring.value=!0;const[p,_]=i.clientPersister(a);r=p,_.then(()=>{a.isRestoring.value=!1})}const e=()=>{a.unmount(),r()};if(t.onUnmount)t.onUnmount(e);else{const p=t.unmount;t.unmount=function(){e(),p()}}t.provide(s,a)}};let yR;function DR(){return yR}function wR(t){return typeof t=="function"?t():tr(t)}function P4(t,i=""){if(t instanceof Promise)return t;const s=wR(t);return!t||!s?s:Array.isArray(s)?s.map(a=>P4(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,tr(r)]:[a,P4(r,a)])):s}const FR="usehead";function ER(){return Ti()&&is(FR)||DR()}function xR(t,i={}){const s=ER();if(s)return s.ssr?s.push(t,i):CR(s,t,i)}function CR(t,i,s={}){const a=Yt(!1),r=Yt({});i_(()=>{r.value=a.value?{}:P4(i)});const e=t.push(r.value,s);return bn(r,_=>{e.patch(_)}),Ti()&&(p1(()=>{e.dispose()}),l_(()=>{a.value=!0}),o_(()=>{a.value=!1})),e}const TR=mi({__name:"App",setup(t){return xR({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>GE.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>x7.value?"/favicon-dark.svg":"/favicon.svg"}]}),(i,s)=>{const a=Ia("RouterView");return Br(),rl(a)}}});var AR=Object.defineProperty,B3=Object.getOwnPropertySymbols,SR=Object.prototype.hasOwnProperty,OR=Object.prototype.propertyIsEnumerable,U3=(t,i,s)=>i in t?AR(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,H3=(t,i)=>{for(var s in i||(i={}))SR.call(i,s)&&U3(t,s,i[s]);if(B3)for(var s of B3(i))OR.call(i,s)&&U3(t,s,i[s]);return t};const Bb=new WeakMap;function T6(t,i,s={}){const{mode:a="replace",route:r=iS(),router:e=nS(),transform:p=T=>T}=s;Bb.has(r)||Bb.set(r,new Map);const _=Bb.get(r);ku(()=>{_.delete(t)}),_.set(t,r.query[t]);let D;const F=Z4((T,A)=>(D=A,{get(){T();const R=_.get(t);return p(R!==void 0?R:Yn(i))},set(R){_.get(t)!==R&&(_.set(t,R),A(),vo(()=>{const{params:I,query:N,hash:L}=r;e[Yn(a)]({params:I,query:H3(H3({},N),Object.fromEntries(_.entries())),hash:L})}))}}));return bn(()=>r.query[t],T=>{_.set(t,T),D()},{flush:"sync"}),F}var A6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){var s=1e3,a=6e4,r=36e5,e="millisecond",p="second",_="minute",D="hour",F="day",T="week",A="month",R="quarter",I="year",N="date",L="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,U=/\[([^\]]+)]|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,G={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(De){var ge=["th","st","nd","rd"],Ne=De%100;return"["+De+(ge[(Ne-20)%10]||ge[Ne]||ge[0])+"]"}},ne=function(De,ge,Ne){var We=String(De);return!We||We.length>=ge?De:""+Array(ge+1-We.length).join(Ne)+De},z={s:ne,z:function(De){var ge=-De.utcOffset(),Ne=Math.abs(ge),We=Math.floor(Ne/60),Se=Ne%60;return(ge<=0?"+":"-")+ne(We,2,"0")+":"+ne(Se,2,"0")},m:function De(ge,Ne){if(ge.date()<Ne.date())return-De(Ne,ge);var We=12*(Ne.year()-ge.year())+(Ne.month()-ge.month()),Se=ge.clone().add(We,A),lt=Ne-Se<0,at=ge.clone().add(We+(lt?-1:1),A);return+(-(We+(Ne-Se)/(lt?Se-at:at-Se))||0)},a:function(De){return De<0?Math.ceil(De)||0:Math.floor(De)},p:function(De){return{M:A,y:I,w:T,d:F,D:N,h:D,m:_,s:p,ms:e,Q:R}[De]||String(De||"").toLowerCase().replace(/s$/,"")},u:function(De){return De===void 0}},H="en",Z={};Z[H]=G;var ee=function(De){return De instanceof ve},re=function De(ge,Ne,We){var Se;if(!ge)return H;if(typeof ge=="string"){var lt=ge.toLowerCase();Z[lt]&&(Se=lt),Ne&&(Z[lt]=Ne,Se=lt);var at=ge.split("-");if(!Se&&at.length>1)return De(at[0])}else{var ze=ge.name;Z[ze]=ge,Se=ze}return!We&&Se&&(H=Se),Se||!We&&H},te=function(De,ge){if(ee(De))return De.clone();var Ne=typeof ge=="object"?ge:{};return Ne.date=De,Ne.args=arguments,new ve(Ne)},ae=z;ae.l=re,ae.i=ee,ae.w=function(De,ge){return te(De,{locale:ge.$L,utc:ge.$u,x:ge.$x,$offset:ge.$offset})};var ve=function(){function De(Ne){this.$L=re(Ne.locale,null,!0),this.parse(Ne)}var ge=De.prototype;return ge.parse=function(Ne){this.$d=function(We){var Se=We.date,lt=We.utc;if(Se===null)return new Date(NaN);if(ae.u(Se))return new Date;if(Se instanceof Date)return new Date(Se);if(typeof Se=="string"&&!/Z$/i.test(Se)){var at=Se.match(V);if(at){var ze=at[2]-1||0,he=(at[7]||"0").substring(0,3);return lt?new Date(Date.UTC(at[1],ze,at[3]||1,at[4]||0,at[5]||0,at[6]||0,he)):new Date(at[1],ze,at[3]||1,at[4]||0,at[5]||0,at[6]||0,he)}}return new Date(Se)}(Ne),this.$x=Ne.x||{},this.init()},ge.init=function(){var Ne=this.$d;this.$y=Ne.getFullYear(),this.$M=Ne.getMonth(),this.$D=Ne.getDate(),this.$W=Ne.getDay(),this.$H=Ne.getHours(),this.$m=Ne.getMinutes(),this.$s=Ne.getSeconds(),this.$ms=Ne.getMilliseconds()},ge.$utils=function(){return ae},ge.isValid=function(){return this.$d.toString()!==L},ge.isSame=function(Ne,We){var Se=te(Ne);return this.startOf(We)<=Se&&Se<=this.endOf(We)},ge.isAfter=function(Ne,We){return te(Ne)<this.startOf(We)},ge.isBefore=function(Ne,We){return this.endOf(We)<te(Ne)},ge.$g=function(Ne,We,Se){return ae.u(Ne)?this[We]:this.set(Se,Ne)},ge.unix=function(){return Math.floor(this.valueOf()/1e3)},ge.valueOf=function(){return this.$d.getTime()},ge.startOf=function(Ne,We){var Se=this,lt=!!ae.u(We)||We,at=ae.p(Ne),ze=function(Le,_e){var it=ae.w(Se.$u?Date.UTC(Se.$y,_e,Le):new Date(Se.$y,_e,Le),Se);return lt?it:it.endOf(F)},he=function(Le,_e){return ae.w(Se.toDate()[Le].apply(Se.toDate("s"),(lt?[0,0,0,0]:[23,59,59,999]).slice(_e)),Se)},He=this.$W,Je=this.$M,Ue=this.$D,be="set"+(this.$u?"UTC":"");switch(at){case I:return lt?ze(1,0):ze(31,11);case A:return lt?ze(1,Je):ze(0,Je+1);case T:var Pe=this.$locale().weekStart||0,J=(He<Pe?He+7:He)-Pe;return ze(lt?Ue-J:Ue+(6-J),Je);case F:case N:return he(be+"Hours",0);case D:return he(be+"Minutes",1);case _:return he(be+"Seconds",2);case p:return he(be+"Milliseconds",3);default:return this.clone()}},ge.endOf=function(Ne){return this.startOf(Ne,!1)},ge.$set=function(Ne,We){var Se,lt=ae.p(Ne),at="set"+(this.$u?"UTC":""),ze=(Se={},Se[F]=at+"Date",Se[N]=at+"Date",Se[A]=at+"Month",Se[I]=at+"FullYear",Se[D]=at+"Hours",Se[_]=at+"Minutes",Se[p]=at+"Seconds",Se[e]=at+"Milliseconds",Se)[lt],he=lt===F?this.$D+(We-this.$W):We;if(lt===A||lt===I){var He=this.clone().set(N,1);He.$d[ze](he),He.init(),this.$d=He.set(N,Math.min(this.$D,He.daysInMonth())).$d}else ze&&this.$d[ze](he);return this.init(),this},ge.set=function(Ne,We){return this.clone().$set(Ne,We)},ge.get=function(Ne){return this[ae.p(Ne)]()},ge.add=function(Ne,We){var Se,lt=this;Ne=Number(Ne);var at=ae.p(We),ze=function(Je){var Ue=te(lt);return ae.w(Ue.date(Ue.date()+Math.round(Je*Ne)),lt)};if(at===A)return this.set(A,this.$M+Ne);if(at===I)return this.set(I,this.$y+Ne);if(at===F)return ze(1);if(at===T)return ze(7);var he=(Se={},Se[_]=a,Se[D]=r,Se[p]=s,Se)[at]||1,He=this.$d.getTime()+Ne*he;return ae.w(He,this)},ge.subtract=function(Ne,We){return this.add(-1*Ne,We)},ge.format=function(Ne){var We=this,Se=this.$locale();if(!this.isValid())return Se.invalidDate||L;var lt=Ne||"YYYY-MM-DDTHH:mm:ssZ",at=ae.z(this),ze=this.$H,he=this.$m,He=this.$M,Je=Se.weekdays,Ue=Se.months,be=function(_e,it,Ut,X){return _e&&(_e[it]||_e(We,lt))||Ut[it].slice(0,X)},Pe=function(_e){return ae.s(ze%12||12,_e,"0")},J=Se.meridiem||function(_e,it,Ut){var X=_e<12?"AM":"PM";return Ut?X.toLowerCase():X},Le={YY:String(this.$y).slice(-2),YYYY:ae.s(this.$y,4,"0"),M:He+1,MM:ae.s(He+1,2,"0"),MMM:be(Se.monthsShort,He,Ue,3),MMMM:be(Ue,He),D:this.$D,DD:ae.s(this.$D,2,"0"),d:String(this.$W),dd:be(Se.weekdaysMin,this.$W,Je,2),ddd:be(Se.weekdaysShort,this.$W,Je,3),dddd:Je[this.$W],H:String(ze),HH:ae.s(ze,2,"0"),h:Pe(1),hh:Pe(2),a:J(ze,he,!0),A:J(ze,he,!1),m:String(he),mm:ae.s(he,2,"0"),s:String(this.$s),ss:ae.s(this.$s,2,"0"),SSS:ae.s(this.$ms,3,"0"),Z:at};return lt.replace(U,function(_e,it){return it||Le[_e]||at.replace(":","")})},ge.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ge.diff=function(Ne,We,Se){var lt,at=ae.p(We),ze=te(Ne),he=(ze.utcOffset()-this.utcOffset())*a,He=this-ze,Je=ae.m(this,ze);return Je=(lt={},lt[I]=Je/12,lt[A]=Je,lt[R]=Je/3,lt[T]=(He-he)/6048e5,lt[F]=(He-he)/864e5,lt[D]=He/r,lt[_]=He/a,lt[p]=He/s,lt)[at]||He,Se?Je:ae.a(Je)},ge.daysInMonth=function(){return this.endOf(A).$D},ge.$locale=function(){return Z[this.$L]},ge.locale=function(Ne,We){if(!Ne)return this.$L;var Se=this.clone(),lt=re(Ne,We,!0);return lt&&(Se.$L=lt),Se},ge.clone=function(){return ae.w(this.$d,this)},ge.toDate=function(){return new Date(this.valueOf())},ge.toJSON=function(){return this.isValid()?this.toISOString():null},ge.toISOString=function(){return this.$d.toISOString()},ge.toString=function(){return this.$d.toUTCString()},De}(),Ae=ve.prototype;return te.prototype=Ae,[["$ms",e],["$s",p],["$m",_],["$H",D],["$W",F],["$M",A],["$y",I],["$D",N]].forEach(function(De){Ae[De[1]]=function(ge){return this.$g(ge,De[0],De[1])}}),te.extend=function(De,ge){return De.$i||(De(ge,ve,te),De.$i=!0),te},te.locale=re,te.isDayjs=ee,te.unix=function(De){return te(1e3*De)},te.en=Z[H],te.Ls=Z,te.p={},te})})(A6);var kR=A6.exports;const Wi=zs(kR);var S6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){var s,a,r=1e3,e=6e4,p=36e5,_=864e5,D=/\[([^\]]+)]|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,F=31536e6,T=2592e6,A=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,R={years:F,months:T,days:_,hours:p,minutes:e,seconds:r,milliseconds:1,weeks:6048e5},I=function(H){return H instanceof z},N=function(H,Z,ee){return new z(H,ee,Z.$l)},L=function(H){return a.p(H)+"s"},V=function(H){return H<0},U=function(H){return V(H)?Math.ceil(H):Math.floor(H)},G=function(H){return Math.abs(H)},ne=function(H,Z){return H?V(H)?{negative:!0,format:""+G(H)+Z}:{negative:!1,format:""+H+Z}:{negative:!1,format:""}},z=function(){function H(ee,re,te){var ae=this;if(this.$d={},this.$l=te,ee===void 0&&(this.$ms=0,this.parseFromMilliseconds()),re)return N(ee*R[L(re)],this);if(typeof ee=="number")return this.$ms=ee,this.parseFromMilliseconds(),this;if(typeof ee=="object")return Object.keys(ee).forEach(function(De){ae.$d[L(De)]=ee[De]}),this.calMilliseconds(),this;if(typeof ee=="string"){var ve=ee.match(A);if(ve){var Ae=ve.slice(2).map(function(De){return De!=null?Number(De):0});return this.$d.years=Ae[0],this.$d.months=Ae[1],this.$d.weeks=Ae[2],this.$d.days=Ae[3],this.$d.hours=Ae[4],this.$d.minutes=Ae[5],this.$d.seconds=Ae[6],this.calMilliseconds(),this}}return this}var Z=H.prototype;return Z.calMilliseconds=function(){var ee=this;this.$ms=Object.keys(this.$d).reduce(function(re,te){return re+(ee.$d[te]||0)*R[te]},0)},Z.parseFromMilliseconds=function(){var ee=this.$ms;this.$d.years=U(ee/F),ee%=F,this.$d.months=U(ee/T),ee%=T,this.$d.days=U(ee/_),ee%=_,this.$d.hours=U(ee/p),ee%=p,this.$d.minutes=U(ee/e),ee%=e,this.$d.seconds=U(ee/r),ee%=r,this.$d.milliseconds=ee},Z.toISOString=function(){var ee=ne(this.$d.years,"Y"),re=ne(this.$d.months,"M"),te=+this.$d.days||0;this.$d.weeks&&(te+=7*this.$d.weeks);var ae=ne(te,"D"),ve=ne(this.$d.hours,"H"),Ae=ne(this.$d.minutes,"M"),De=this.$d.seconds||0;this.$d.milliseconds&&(De+=this.$d.milliseconds/1e3);var ge=ne(De,"S"),Ne=ee.negative||re.negative||ae.negative||ve.negative||Ae.negative||ge.negative,We=ve.format||Ae.format||ge.format?"T":"",Se=(Ne?"-":"")+"P"+ee.format+re.format+ae.format+We+ve.format+Ae.format+ge.format;return Se==="P"||Se==="-P"?"P0D":Se},Z.toJSON=function(){return this.toISOString()},Z.format=function(ee){var re=ee||"YYYY-MM-DDTHH:mm:ss",te={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 re.replace(D,function(ae,ve){return ve||String(te[ae])})},Z.as=function(ee){return this.$ms/R[L(ee)]},Z.get=function(ee){var re=this.$ms,te=L(ee);return te==="milliseconds"?re%=1e3:re=te==="weeks"?U(re/R[te]):this.$d[te],re===0?0:re},Z.add=function(ee,re,te){var ae;return ae=re?ee*R[L(re)]:I(ee)?ee.$ms:N(ee,this).$ms,N(this.$ms+ae*(te?-1:1),this)},Z.subtract=function(ee,re){return this.add(ee,re,!0)},Z.locale=function(ee){var re=this.clone();return re.$l=ee,re},Z.clone=function(){return N(this.$ms,this)},Z.humanize=function(ee){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!ee)},Z.valueOf=function(){return this.asMilliseconds()},Z.milliseconds=function(){return this.get("milliseconds")},Z.asMilliseconds=function(){return this.as("milliseconds")},Z.seconds=function(){return this.get("seconds")},Z.asSeconds=function(){return this.as("seconds")},Z.minutes=function(){return this.get("minutes")},Z.asMinutes=function(){return this.as("minutes")},Z.hours=function(){return this.get("hours")},Z.asHours=function(){return this.as("hours")},Z.days=function(){return this.get("days")},Z.asDays=function(){return this.as("days")},Z.weeks=function(){return this.get("weeks")},Z.asWeeks=function(){return this.as("weeks")},Z.months=function(){return this.get("months")},Z.asMonths=function(){return this.as("months")},Z.years=function(){return this.get("years")},Z.asYears=function(){return this.as("years")},H}();return function(H,Z,ee){s=ee,a=ee().$utils(),ee.duration=function(ae,ve){var Ae=ee.locale();return N(ae,{$l:Ae},ve)},ee.isDuration=I;var re=Z.prototype.add,te=Z.prototype.subtract;Z.prototype.add=function(ae,ve){return I(ae)&&(ae=ae.asMilliseconds()),re.bind(this)(ae,ve)},Z.prototype.subtract=function(ae,ve){return I(ae)&&(ae=ae.asMilliseconds()),te.bind(this)(ae,ve)}}})})(S6);var RR=S6.exports;const PR=zs(RR);var O6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){var s="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(e,p,_){var D=p.prototype;_.utc=function(L){var V={date:L,utc:!0,args:arguments};return new p(V)},D.utc=function(L){var V=_(this.toDate(),{locale:this.$L,utc:!0});return L?V.add(this.utcOffset(),s):V},D.local=function(){return _(this.toDate(),{locale:this.$L,utc:!1})};var F=D.parse;D.parse=function(L){L.utc&&(this.$u=!0),this.$utils().u(L.$offset)||(this.$offset=L.$offset),F.call(this,L)};var T=D.init;D.init=function(){if(this.$u){var L=this.$d;this.$y=L.getUTCFullYear(),this.$M=L.getUTCMonth(),this.$D=L.getUTCDate(),this.$W=L.getUTCDay(),this.$H=L.getUTCHours(),this.$m=L.getUTCMinutes(),this.$s=L.getUTCSeconds(),this.$ms=L.getUTCMilliseconds()}else T.call(this)};var A=D.utcOffset;D.utcOffset=function(L,V){var U=this.$utils().u;if(U(L))return this.$u?0:U(this.$offset)?A.call(this):this.$offset;if(typeof L=="string"&&(L=function(H){H===void 0&&(H="");var Z=H.match(a);if(!Z)return null;var ee=(""+Z[0]).match(r)||["-",0,0],re=ee[0],te=60*+ee[1]+ +ee[2];return te===0?0:re==="+"?te:-te}(L),L===null))return this;var G=Math.abs(L)<=16?60*L:L,ne=this;if(V)return ne.$offset=G,ne.$u=L===0,ne;if(L!==0){var z=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(ne=this.local().add(G+z,s)).$offset=G,ne.$x.$localOffset=z}else ne=this.utc();return ne};var R=D.format;D.format=function(L){var V=L||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return R.call(this,V)},D.valueOf=function(){var L=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*L},D.isUTC=function(){return!!this.$u},D.toISOString=function(){return this.toDate().toISOString()},D.toString=function(){return this.toDate().toUTCString()};var I=D.toDate;D.toDate=function(L){return L==="s"&&this.$offset?_(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():I.call(this)};var N=D.diff;D.diff=function(L,V,U){if(L&&this.$u===L.$u)return N.call(this,L,V,U);var G=this.local(),ne=_(L).local();return N.call(G,ne,V,U)}}})})(O6);var IR=O6.exports;const NR=zs(IR);var k6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){var s={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,e,p){var _,D=function(R,I,N){N===void 0&&(N={});var L=new Date(R),V=function(U,G){G===void 0&&(G={});var ne=G.timeZoneName||"short",z=U+"|"+ne,H=a[z];return H||(H=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:U,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:ne}),a[z]=H),H}(I,N);return V.formatToParts(L)},F=function(R,I){for(var N=D(R,I),L=[],V=0;V<N.length;V+=1){var U=N[V],G=U.type,ne=U.value,z=s[G];z>=0&&(L[z]=parseInt(ne,10))}var H=L[3],Z=H===24?0:H,ee=L[0]+"-"+L[1]+"-"+L[2]+" "+Z+":"+L[4]+":"+L[5]+":000",re=+R;return(p.utc(ee).valueOf()-(re-=re%1e3))/6e4},T=e.prototype;T.tz=function(R,I){R===void 0&&(R=_);var N=this.utcOffset(),L=this.toDate(),V=L.toLocaleString("en-US",{timeZone:R}),U=Math.round((L-new Date(V))/1e3/60),G=p(V).$set("millisecond",this.$ms).utcOffset(15*-Math.round(L.getTimezoneOffset()/15)-U,!0);if(I){var ne=G.utcOffset();G=G.add(N-ne,"minute")}return G.$x.$timezone=R,G},T.offsetName=function(R){var I=this.$x.$timezone||p.tz.guess(),N=D(this.valueOf(),I,{timeZoneName:R}).find(function(L){return L.type.toLowerCase()==="timezonename"});return N&&N.value};var A=T.startOf;T.startOf=function(R,I){if(!this.$x||!this.$x.$timezone)return A.call(this,R,I);var N=p(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return A.call(N,R,I).tz(this.$x.$timezone,!0)},p.tz=function(R,I,N){var L=N&&I,V=N||I||_,U=F(+p(),V);if(typeof R!="string")return p(R).tz(V);var G=function(Z,ee,re){var te=Z-60*ee*1e3,ae=F(te,re);if(ee===ae)return[te,ee];var ve=F(te-=60*(ae-ee)*1e3,re);return ae===ve?[te,ae]:[Z-60*Math.min(ae,ve)*1e3,Math.max(ae,ve)]}(p.utc(R,L).valueOf(),U,V),ne=G[0],z=G[1],H=p(ne).utcOffset(z);return H.$x.$timezone=V,H},p.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},p.tz.setDefault=function(R){_=R}}})})(k6);var MR=k6.exports;const LR=zs(MR);var R6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a){var r=a.prototype,e=r.format;r.format=function(p){var _=this,D=this.$locale();if(!this.isValid())return e.bind(this)(p);var F=this.$utils(),T=(p||"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(A){switch(A){case"Q":return Math.ceil((_.$M+1)/3);case"Do":return D.ordinal(_.$D);case"gggg":return _.weekYear();case"GGGG":return _.isoWeekYear();case"wo":return D.ordinal(_.week(),"W");case"w":case"ww":return F.s(_.week(),A==="w"?1:2,"0");case"W":case"WW":return F.s(_.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return F.s(String(_.$H===0?24:_.$H),A==="k"?1:2,"0");case"X":return Math.floor(_.$d.getTime()/1e3);case"x":return _.$d.getTime();case"z":return"["+_.offsetName()+"]";case"zzz":return"["+_.offsetName("long")+"]";default:return A}});return e.bind(this)(T)}}})})(R6);var BR=R6.exports;const UR=zs(BR);var P6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a){a.prototype.isSameOrBefore=function(r,e){return this.isSame(r,e)||this.isBefore(r,e)}}})})(P6);var HR=P6.exports;const $R=zs(HR);var I6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a){a.prototype.isSameOrAfter=function(r,e){return this.isSame(r,e)||this.isAfter(r,e)}}})})(I6);var WR=I6.exports;const zR=zs(WR);var N6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a,r){var e=function(p,_){if(!_||!_.length||!_[0]||_.length===1&&!_[0].length)return null;var D;_.length===1&&_[0].length>0&&(_=_[0]),D=_[0];for(var F=1;F<_.length;F+=1)_[F].isValid()&&!_[F][p](D)||(D=_[F]);return D};r.max=function(){var p=[].slice.call(arguments,0);return e("isAfter",p)},r.min=function(){var p=[].slice.call(arguments,0);return e("isBefore",p)}}})})(N6);var jR=N6.exports;const VR=zs(jR);var M6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a,r){s=s||{};var e=a.prototype,p={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 _(F,T,A,R){return e.fromToBase(F,T,A,R)}r.en.relativeTime=p,e.fromToBase=function(F,T,A,R,I){for(var N,L,V,U=A.$locale().relativeTime||p,G=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"}],ne=G.length,z=0;z<ne;z+=1){var H=G[z];H.d&&(N=R?r(F).diff(A,H.d,!0):A.diff(F,H.d,!0));var Z=(s.rounding||Math.round)(Math.abs(N));if(V=N>0,Z<=H.r||!H.r){Z<=1&&z>0&&(H=G[z-1]);var ee=U[H.l];I&&(Z=I(""+Z)),L=typeof ee=="string"?ee.replace("%d",Z):ee(Z,T,H.l,V);break}}if(T)return L;var re=V?U.future:U.past;return typeof re=="function"?re(L):re.replace("%s",L)},e.to=function(F,T){return _(F,T,this,!0)},e.from=function(F,T){return _(F,T,this)};var D=function(F){return F.$u?r.utc():r()};e.toNow=function(F){return this.to(D(this),F)},e.fromNow=function(F){return this.from(D(this),F)}}})})(M6);var GR=M6.exports;const YR=zs(GR);var $g={exports:{}};/**
|
|
30
|
+
*/const Gf=typeof window<"u";function t8(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const un=Object.assign;function Tb(t,i){const s={};for(const a in i){const r=i[a];s[a]=Na(r)?r.map(t):t(r)}return s}const Id=()=>{},Na=Array.isArray,r8=/\/$/,n8=t=>t.replace(r8,"");function Ab(t,i,s="/"){let a,r={},e="",p="";const _=i.indexOf("#");let D=i.indexOf("?");return _<D&&_>=0&&(D=-1),D>-1&&(a=i.slice(0,D),e=i.slice(D+1,_>-1?_:i.length),r=t(e)),_>-1&&(a=a||i.slice(0,_),p=i.slice(_,i.length)),a=o8(a??i,s),{fullPath:a+(e&&"?")+e+p,path:a,query:r,hash:p}}function i8(t,i){const s=i.query?t(i.query):"";return i.path+(s&&"?")+s+(i.hash||"")}function pD(t,i){return!i||!t.toLowerCase().startsWith(i.toLowerCase())?t:t.slice(i.length)||"/"}function s8(t,i,s){const a=i.matched.length-1,r=s.matched.length-1;return a>-1&&a===r&&c0(i.matched[a],s.matched[r])&&nE(i.params,s.params)&&t(i.query)===t(s.query)&&i.hash===s.hash}function c0(t,i){return(t.aliasOf||t)===(i.aliasOf||i)}function nE(t,i){if(Object.keys(t).length!==Object.keys(i).length)return!1;for(const s in t)if(!a8(t[s],i[s]))return!1;return!0}function a8(t,i){return Na(t)?mD(t,i):Na(i)?mD(i,t):t===i}function mD(t,i){return Na(i)?t.length===i.length&&t.every((s,a)=>s===i[a]):t.length===1&&t[0]===i}function o8(t,i){if(t.startsWith("/"))return t;if(!t)return i;const s=i.split("/"),a=t.split("/"),r=a[a.length-1];(r===".."||r===".")&&a.push("");let e=s.length-1,p,_;for(p=0;p<a.length;p++)if(_=a[p],_!==".")if(_==="..")e>1&&e--;else break;return s.slice(0,e).join("/")+"/"+a.slice(p-(p===a.length?1:0)).join("/")}var u0;(function(t){t.pop="pop",t.push="push"})(u0||(u0={}));var _u;(function(t){t.back="back",t.forward="forward",t.unknown=""})(_u||(_u={}));const Sb="";function iE(t){if(!t)if(Gf){const i=document.querySelector("base");t=i&&i.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),n8(t)}const l8=/^[^#]+#/;function sE(t,i){return t.replace(l8,"#")+i}function c8(t,i){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:i.behavior,left:a.left-s.left-(i.left||0),top:a.top-s.top-(i.top||0)}}const m2=()=>({left:window.pageXOffset,top:window.pageYOffset});function u8(t){let i;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),r=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!r)return;i=c8(r,t)}else i=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function gD(t,i){return(history.state?history.state.position-i:-1)+t}const g4=new Map;function f8(t,i){g4.set(t,i)}function h8(t){const i=g4.get(t);return g4.delete(t),i}let d8=()=>location.protocol+"//"+location.host;function aE(t,i){const{pathname:s,search:a,hash:r}=i,e=t.indexOf("#");if(e>-1){let _=r.includes(t.slice(e))?t.slice(e).length:1,D=r.slice(_);return D[0]!=="/"&&(D="/"+D),pD(D,"")}return pD(s,t)+a+r}function p8(t,i,s,a){let r=[],e=[],p=null;const _=({state:R})=>{const I=aE(t,location),N=s.value,L=i.value;let V=0;if(R){if(s.value=I,i.value=R,p&&p===N){p=null;return}V=L?R.position-L.position:0}else a(I);r.forEach(U=>{U(s.value,N,{delta:V,type:u0.pop,direction:V?V>0?_u.forward:_u.back:_u.unknown})})};function D(){p=s.value}function F(R){r.push(R);const I=()=>{const N=r.indexOf(R);N>-1&&r.splice(N,1)};return e.push(I),I}function T(){const{history:R}=window;R.state&&R.replaceState(un({},R.state,{scroll:m2()}),"")}function A(){for(const R of e)R();e=[],window.removeEventListener("popstate",_),window.removeEventListener("beforeunload",T)}return window.addEventListener("popstate",_),window.addEventListener("beforeunload",T,{passive:!0}),{pauseListeners:D,listen:F,destroy:A}}function vD(t,i,s,a=!1,r=!1){return{back:t,current:i,forward:s,replaced:a,position:window.history.length,scroll:r?m2():null}}function m8(t){const{history:i,location:s}=window,a={value:aE(t,s)},r={value:i.state};r.value||e(a.value,{back:null,current:a.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function e(D,F,T){const A=t.indexOf("#"),R=A>-1?(s.host&&document.querySelector("base")?t:t.slice(A))+D:d8()+t+D;try{i[T?"replaceState":"pushState"](F,"",R),r.value=F}catch(I){console.error(I),s[T?"replace":"assign"](R)}}function p(D,F){const T=un({},i.state,vD(r.value.back,D,r.value.forward,!0),F,{position:r.value.position});e(D,T,!0),a.value=D}function _(D,F){const T=un({},r.value,i.state,{forward:D,scroll:m2()});e(T.current,T,!0);const A=un({},vD(a.value,D,null),{position:T.position+1},F);e(D,A,!1),a.value=D}return{location:a,state:r,push:_,replace:p}}function g8(t){t=iE(t);const i=m8(t),s=p8(t,i.state,i.location,i.replace);function a(e,p=!0){p||s.pauseListeners(),history.go(e)}const r=un({location:"",base:t,go:a,createHref:sE.bind(null,t)},i,s);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>i.state.value}),r}function v8(t=""){let i=[],s=[Sb],a=0;t=iE(t);function r(_){a++,a===s.length||s.splice(a),s.push(_)}function e(_,D,{direction:F,delta:T}){const A={direction:F,delta:T,type:u0.pop};for(const R of i)R(_,D,A)}const p={location:Sb,state:{},base:t,createHref:sE.bind(null,t),replace(_){s.splice(a--,1),r(_)},push(_,D){r(_)},listen(_){return i.push(_),()=>{const D=i.indexOf(_);D>-1&&i.splice(D,1)}},destroy(){i=[],s=[Sb],a=0},go(_,D=!0){const F=this.location,T=_<0?_u.back:_u.forward;a=Math.max(0,Math.min(a+_,s.length-1)),D&&e(this.location,F,{direction:T,delta:_})}};return Object.defineProperty(p,"location",{enumerable:!0,get:()=>s[a]}),p}function b8(t){return typeof t=="string"||t&&typeof t=="object"}function oE(t){return typeof t=="string"||typeof t=="symbol"}const Pl={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},lE=Symbol("");var bD;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(bD||(bD={}));function f0(t,i){return un(new Error,{type:t,[lE]:!0},i)}function Vo(t,i){return t instanceof Error&&lE in t&&(i==null||!!(t.type&i))}const _D="[^/]+?",_8={sensitive:!1,strict:!1,start:!0,end:!0},y8=/[.+*?^${}()[\]/\\]/g;function D8(t,i){const s=un({},_8,i),a=[];let r=s.start?"^":"";const e=[];for(const F of t){const T=F.length?[]:[90];s.strict&&!F.length&&(r+="/");for(let A=0;A<F.length;A++){const R=F[A];let I=40+(s.sensitive?.25:0);if(R.type===0)A||(r+="/"),r+=R.value.replace(y8,"\\$&"),I+=40;else if(R.type===1){const{value:N,repeatable:L,optional:V,regexp:U}=R;e.push({name:N,repeatable:L,optional:V});const G=U||_D;if(G!==_D){I+=10;try{new RegExp(`(${G})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${N}" (${G}): `+z.message)}}let ne=L?`((?:${G})(?:/(?:${G}))*)`:`(${G})`;A||(ne=V&&F.length<2?`(?:/${ne})`:"/"+ne),V&&(ne+="?"),r+=ne,I+=20,V&&(I+=-8),L&&(I+=-20),G===".*"&&(I+=-50)}T.push(I)}a.push(T)}if(s.strict&&s.end){const F=a.length-1;a[F][a[F].length-1]+=.7000000000000001}s.strict||(r+="/?"),s.end?r+="$":s.strict&&(r+="(?:/|$)");const p=new RegExp(r,s.sensitive?"":"i");function _(F){const T=F.match(p),A={};if(!T)return null;for(let R=1;R<T.length;R++){const I=T[R]||"",N=e[R-1];A[N.name]=I&&N.repeatable?I.split("/"):I}return A}function D(F){let T="",A=!1;for(const R of t){(!A||!T.endsWith("/"))&&(T+="/"),A=!1;for(const I of R)if(I.type===0)T+=I.value;else if(I.type===1){const{value:N,repeatable:L,optional:V}=I,U=N in F?F[N]:"";if(Na(U)&&!L)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const G=Na(U)?U.join("/"):U;if(!G)if(V)R.length<2&&(T.endsWith("/")?T=T.slice(0,-1):A=!0);else throw new Error(`Missing required param "${N}"`);T+=G}}return T||"/"}return{re:p,score:a,keys:e,parse:_,stringify:D}}function w8(t,i){let s=0;for(;s<t.length&&s<i.length;){const a=i[s]-t[s];if(a)return a;s++}return t.length<i.length?t.length===1&&t[0]===40+40?-1:1:t.length>i.length?i.length===1&&i[0]===40+40?1:-1:0}function F8(t,i){let s=0;const a=t.score,r=i.score;for(;s<a.length&&s<r.length;){const e=w8(a[s],r[s]);if(e)return e;s++}if(Math.abs(r.length-a.length)===1){if(yD(a))return 1;if(yD(r))return-1}return r.length-a.length}function yD(t){const i=t[t.length-1];return t.length>0&&i[i.length-1]<0}const E8={type:0,value:""},x8=/[a-zA-Z0-9_]/;function C8(t){if(!t)return[[]];if(t==="/")return[[E8]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function i(I){throw new Error(`ERR (${s})/"${F}": ${I}`)}let s=0,a=s;const r=[];let e;function p(){e&&r.push(e),e=[]}let _=0,D,F="",T="";function A(){F&&(s===0?e.push({type:0,value:F}):s===1||s===2||s===3?(e.length>1&&(D==="*"||D==="+")&&i(`A repeatable param (${F}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:F,regexp:T,repeatable:D==="*"||D==="+",optional:D==="*"||D==="?"})):i("Invalid state to consume buffer"),F="")}function R(){F+=D}for(;_<t.length;){if(D=t[_++],D==="\\"&&s!==2){a=s,s=4;continue}switch(s){case 0:D==="/"?(F&&A(),p()):D===":"?(A(),s=1):R();break;case 4:R(),s=a;break;case 1:D==="("?s=2:x8.test(D)?R():(A(),s=0,D!=="*"&&D!=="?"&&D!=="+"&&_--);break;case 2:D===")"?T[T.length-1]=="\\"?T=T.slice(0,-1)+D:s=3:T+=D;break;case 3:A(),s=0,D!=="*"&&D!=="?"&&D!=="+"&&_--,T="";break;default:i("Unknown state");break}}return s===2&&i(`Unfinished custom RegExp for param "${F}"`),A(),p(),r}function T8(t,i,s){const a=D8(C8(t.path),s),r=un(a,{record:t,parent:i,children:[],alias:[]});return i&&!r.record.aliasOf==!i.record.aliasOf&&i.children.push(r),r}function A8(t,i){const s=[],a=new Map;i=FD({strict:!1,end:!0,sensitive:!1},i);function r(T){return a.get(T)}function e(T,A,R){const I=!R,N=S8(T);N.aliasOf=R&&R.record;const L=FD(i,T),V=[N];if("alias"in T){const ne=typeof T.alias=="string"?[T.alias]:T.alias;for(const z of ne)V.push(un({},N,{components:R?R.record.components:N.components,path:z,aliasOf:R?R.record:N}))}let U,G;for(const ne of V){const{path:z}=ne;if(A&&z[0]!=="/"){const H=A.record.path,Z=H[H.length-1]==="/"?"":"/";ne.path=A.record.path+(z&&Z+z)}if(U=T8(ne,A,L),R?R.alias.push(U):(G=G||U,G!==U&&G.alias.push(U),I&&T.name&&!wD(U)&&p(T.name)),N.children){const H=N.children;for(let Z=0;Z<H.length;Z++)e(H[Z],U,R&&R.children[Z])}R=R||U,(U.record.components&&Object.keys(U.record.components).length||U.record.name||U.record.redirect)&&D(U)}return G?()=>{p(G)}:Id}function p(T){if(oE(T)){const A=a.get(T);A&&(a.delete(T),s.splice(s.indexOf(A),1),A.children.forEach(p),A.alias.forEach(p))}else{const A=s.indexOf(T);A>-1&&(s.splice(A,1),T.record.name&&a.delete(T.record.name),T.children.forEach(p),T.alias.forEach(p))}}function _(){return s}function D(T){let A=0;for(;A<s.length&&F8(T,s[A])>=0&&(T.record.path!==s[A].record.path||!cE(T,s[A]));)A++;s.splice(A,0,T),T.record.name&&!wD(T)&&a.set(T.record.name,T)}function F(T,A){let R,I={},N,L;if("name"in T&&T.name){if(R=a.get(T.name),!R)throw f0(1,{location:T});L=R.record.name,I=un(DD(A.params,R.keys.filter(G=>!G.optional).map(G=>G.name)),T.params&&DD(T.params,R.keys.map(G=>G.name))),N=R.stringify(I)}else if("path"in T)N=T.path,R=s.find(G=>G.re.test(N)),R&&(I=R.parse(N),L=R.record.name);else{if(R=A.name?a.get(A.name):s.find(G=>G.re.test(A.path)),!R)throw f0(1,{location:T,currentLocation:A});L=R.record.name,I=un({},A.params,T.params),N=R.stringify(I)}const V=[];let U=R;for(;U;)V.unshift(U.record),U=U.parent;return{name:L,path:N,params:I,matched:V,meta:k8(V)}}return t.forEach(T=>e(T)),{addRoute:e,resolve:F,removeRoute:p,getRoutes:_,getRecordMatcher:r}}function DD(t,i){const s={};for(const a of i)a in t&&(s[a]=t[a]);return s}function S8(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:O8(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function O8(t){const i={},s=t.props||!1;if("component"in t)i.default=s;else for(const a in t.components)i[a]=typeof s=="object"?s[a]:s;return i}function wD(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function k8(t){return t.reduce((i,s)=>un(i,s.meta),{})}function FD(t,i){const s={};for(const a in t)s[a]=a in i?i[a]:t[a];return s}function cE(t,i){return i.children.some(s=>s===t||cE(t,s))}const uE=/#/g,R8=/&/g,P8=/\//g,I8=/=/g,N8=/\?/g,fE=/\+/g,M8=/%5B/g,L8=/%5D/g,hE=/%5E/g,B8=/%60/g,dE=/%7B/g,U8=/%7C/g,pE=/%7D/g,H8=/%20/g;function E_(t){return encodeURI(""+t).replace(U8,"|").replace(M8,"[").replace(L8,"]")}function $8(t){return E_(t).replace(dE,"{").replace(pE,"}").replace(hE,"^")}function v4(t){return E_(t).replace(fE,"%2B").replace(H8,"+").replace(uE,"%23").replace(R8,"%26").replace(B8,"`").replace(dE,"{").replace(pE,"}").replace(hE,"^")}function W8(t){return v4(t).replace(I8,"%3D")}function z8(t){return E_(t).replace(uE,"%23").replace(N8,"%3F")}function j8(t){return t==null?"":z8(t).replace(P8,"%2F")}function wg(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function V8(t){const i={};if(t===""||t==="?")return i;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;r<a.length;++r){const e=a[r].replace(fE," "),p=e.indexOf("="),_=wg(p<0?e:e.slice(0,p)),D=p<0?null:wg(e.slice(p+1));if(_ in i){let F=i[_];Na(F)||(F=i[_]=[F]),F.push(D)}else i[_]=D}return i}function ED(t){let i="";for(let s in t){const a=t[s];if(s=W8(s),a==null){a!==void 0&&(i+=(i.length?"&":"")+s);continue}(Na(a)?a.map(e=>e&&v4(e)):[a&&v4(a)]).forEach(e=>{e!==void 0&&(i+=(i.length?"&":"")+s,e!=null&&(i+="="+e))})}return i}function G8(t){const i={};for(const s in t){const a=t[s];a!==void 0&&(i[s]=Na(a)?a.map(r=>r==null?null:""+r):a==null?a:""+a)}return i}const Y8=Symbol(""),xD=Symbol(""),g2=Symbol(""),x_=Symbol(""),b4=Symbol("");function bd(){let t=[];function i(a){return t.push(a),()=>{const r=t.indexOf(a);r>-1&&t.splice(r,1)}}function s(){t=[]}return{add:i,list:()=>t.slice(),reset:s}}function Hl(t,i,s,a,r){const e=a&&(a.enterCallbacks[r]=a.enterCallbacks[r]||[]);return()=>new Promise((p,_)=>{const D=A=>{A===!1?_(f0(4,{from:s,to:i})):A instanceof Error?_(A):b8(A)?_(f0(2,{from:i,to:A})):(e&&a.enterCallbacks[r]===e&&typeof A=="function"&&e.push(A),p())},F=t.call(a&&a.instances[r],i,s,D);let T=Promise.resolve(F);t.length<3&&(T=T.then(D)),T.catch(A=>_(A))})}function Ob(t,i,s,a){const r=[];for(const e of t)for(const p in e.components){let _=e.components[p];if(!(i!=="beforeRouteEnter"&&!e.instances[p]))if(K8(_)){const F=(_.__vccOpts||_)[i];F&&r.push(Hl(F,s,a,e,p))}else{let D=_();r.push(()=>D.then(F=>{if(!F)return Promise.reject(new Error(`Couldn't resolve component "${p}" at "${e.path}"`));const T=t8(F)?F.default:F;e.components[p]=T;const R=(T.__vccOpts||T)[i];return R&&Hl(R,s,a,e,p)()}))}}return r}function K8(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function CD(t){const i=is(g2),s=is(x_),a=Hr(()=>i.resolve(tr(t.to))),r=Hr(()=>{const{matched:D}=a.value,{length:F}=D,T=D[F-1],A=s.matched;if(!T||!A.length)return-1;const R=A.findIndex(c0.bind(null,T));if(R>-1)return R;const I=TD(D[F-2]);return F>1&&TD(T)===I&&A[A.length-1].path!==I?A.findIndex(c0.bind(null,D[F-2])):R}),e=Hr(()=>r.value>-1&&J8(s.params,a.value.params)),p=Hr(()=>r.value>-1&&r.value===s.matched.length-1&&nE(s.params,a.value.params));function _(D={}){return X8(D)?i[tr(t.replace)?"replace":"push"](tr(t.to)).catch(Id):Promise.resolve()}return{route:a,href:Hr(()=>a.value.href),isActive:e,isExactActive:p,navigate:_}}const q8=mi({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:CD,setup(t,{slots:i}){const s=Jl(CD(t)),{options:a}=is(g2),r=Hr(()=>({[AD(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[AD(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const e=i.default&&i.default(s);return t.custom?e:Ou("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},e)}}}),Q8=q8;function X8(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 i=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return t.preventDefault&&t.preventDefault(),!0}}function J8(t,i){for(const s in i){const a=i[s],r=t[s];if(typeof a=="string"){if(a!==r)return!1}else if(!Na(r)||r.length!==a.length||a.some((e,p)=>e!==r[p]))return!1}return!0}function TD(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const AD=(t,i,s)=>t??i??s,Z8=mi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:i,slots:s}){const a=is(b4),r=Hr(()=>t.route||a.value),e=is(xD,0),p=Hr(()=>{let F=tr(e);const{matched:T}=r.value;let A;for(;(A=T[F])&&!A.components;)F++;return F}),_=Hr(()=>r.value.matched[p.value]);Ad(xD,Hr(()=>p.value+1)),Ad(Y8,_),Ad(b4,r);const D=Yt();return bn(()=>[D.value,_.value,t.name],([F,T,A],[R,I,N])=>{T&&(T.instances[A]=F,I&&I!==T&&F&&F===R&&(T.leaveGuards.size||(T.leaveGuards=I.leaveGuards),T.updateGuards.size||(T.updateGuards=I.updateGuards))),F&&T&&(!I||!c0(T,I)||!R)&&(T.enterCallbacks[A]||[]).forEach(L=>L(F))},{flush:"post"}),()=>{const F=r.value,T=t.name,A=_.value,R=A&&A.components[T];if(!R)return SD(s.default,{Component:R,route:F});const I=A.props[T],N=I?I===!0?F.params:typeof I=="function"?I(F):I:null,V=Ou(R,un({},N,i,{onVnodeUnmounted:U=>{U.component.isUnmounted&&(A.instances[T]=null)},ref:D}));return SD(s.default,{Component:V,route:F})||V}}});function SD(t,i){if(!t)return null;const s=t(i);return s.length===1?s[0]:s}const eS=Z8;function tS(t){const i=A8(t.routes,t),s=t.parseQuery||V8,a=t.stringifyQuery||ED,r=t.history,e=bd(),p=bd(),_=bd(),D=Zf(Pl);let F=Pl;Gf&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const T=Tb.bind(null,J=>""+J),A=Tb.bind(null,j8),R=Tb.bind(null,wg);function I(J,Le){let _e,it;return oE(J)?(_e=i.getRecordMatcher(J),it=Le):it=J,i.addRoute(it,_e)}function N(J){const Le=i.getRecordMatcher(J);Le&&i.removeRoute(Le)}function L(){return i.getRoutes().map(J=>J.record)}function V(J){return!!i.getRecordMatcher(J)}function U(J,Le){if(Le=un({},Le||D.value),typeof J=="string"){const ce=Ab(s,J,Le.path),Be=i.resolve({path:ce.path},Le),$e=r.createHref(ce.fullPath);return un(ce,Be,{params:R(Be.params),hash:wg(ce.hash),redirectedFrom:void 0,href:$e})}let _e;if("path"in J)_e=un({},J,{path:Ab(s,J.path,Le.path).path});else{const ce=un({},J.params);for(const Be in ce)ce[Be]==null&&delete ce[Be];_e=un({},J,{params:A(ce)}),Le.params=A(Le.params)}const it=i.resolve(_e,Le),Ut=J.hash||"";it.params=T(R(it.params));const X=i8(a,un({},J,{hash:$8(Ut),path:it.path})),se=r.createHref(X);return un({fullPath:X,hash:Ut,query:a===ED?G8(J.query):J.query||{}},it,{redirectedFrom:void 0,href:se})}function G(J){return typeof J=="string"?Ab(s,J,D.value.path):un({},J)}function ne(J,Le){if(F!==J)return f0(8,{from:Le,to:J})}function z(J){return ee(J)}function H(J){return z(un(G(J),{replace:!0}))}function Z(J){const Le=J.matched[J.matched.length-1];if(Le&&Le.redirect){const{redirect:_e}=Le;let it=typeof _e=="function"?_e(J):_e;return typeof it=="string"&&(it=it.includes("?")||it.includes("#")?it=G(it):{path:it},it.params={}),un({query:J.query,hash:J.hash,params:"path"in it?{}:J.params},it)}}function ee(J,Le){const _e=F=U(J),it=D.value,Ut=J.state,X=J.force,se=J.replace===!0,ce=Z(_e);if(ce)return ee(un(G(ce),{state:typeof ce=="object"?un({},Ut,ce.state):Ut,force:X,replace:se}),Le||_e);const Be=_e;Be.redirectedFrom=Le;let $e;return!X&&s8(a,it,_e)&&($e=f0(16,{to:Be,from:it}),he(it,it,!0,!1)),($e?Promise.resolve($e):ae(Be,it)).catch(Ge=>Vo(Ge)?Vo(Ge,2)?Ge:ze(Ge):lt(Ge,Be,it)).then(Ge=>{if(Ge){if(Vo(Ge,2))return ee(un({replace:se},G(Ge.to),{state:typeof Ge.to=="object"?un({},Ut,Ge.to.state):Ut,force:X}),Le||Be)}else Ge=Ae(Be,it,!0,se,Ut);return ve(Be,it,Ge),Ge})}function re(J,Le){const _e=ne(J,Le);return _e?Promise.reject(_e):Promise.resolve()}function te(J){const Le=Ue.values().next().value;return Le&&typeof Le.runWithContext=="function"?Le.runWithContext(J):J()}function ae(J,Le){let _e;const[it,Ut,X]=rS(J,Le);_e=Ob(it.reverse(),"beforeRouteLeave",J,Le);for(const ce of it)ce.leaveGuards.forEach(Be=>{_e.push(Hl(Be,J,Le))});const se=re.bind(null,J,Le);return _e.push(se),Pe(_e).then(()=>{_e=[];for(const ce of e.list())_e.push(Hl(ce,J,Le));return _e.push(se),Pe(_e)}).then(()=>{_e=Ob(Ut,"beforeRouteUpdate",J,Le);for(const ce of Ut)ce.updateGuards.forEach(Be=>{_e.push(Hl(Be,J,Le))});return _e.push(se),Pe(_e)}).then(()=>{_e=[];for(const ce of X)if(ce.beforeEnter)if(Na(ce.beforeEnter))for(const Be of ce.beforeEnter)_e.push(Hl(Be,J,Le));else _e.push(Hl(ce.beforeEnter,J,Le));return _e.push(se),Pe(_e)}).then(()=>(J.matched.forEach(ce=>ce.enterCallbacks={}),_e=Ob(X,"beforeRouteEnter",J,Le),_e.push(se),Pe(_e))).then(()=>{_e=[];for(const ce of p.list())_e.push(Hl(ce,J,Le));return _e.push(se),Pe(_e)}).catch(ce=>Vo(ce,8)?ce:Promise.reject(ce))}function ve(J,Le,_e){_.list().forEach(it=>te(()=>it(J,Le,_e)))}function Ae(J,Le,_e,it,Ut){const X=ne(J,Le);if(X)return X;const se=Le===Pl,ce=Gf?history.state:{};_e&&(it||se?r.replace(J.fullPath,un({scroll:se&&ce&&ce.scroll},Ut)):r.push(J.fullPath,Ut)),D.value=J,he(J,Le,_e,se),ze()}let De;function ge(){De||(De=r.listen((J,Le,_e)=>{if(!be.listening)return;const it=U(J),Ut=Z(it);if(Ut){ee(un(Ut,{replace:!0}),it).catch(Id);return}F=it;const X=D.value;Gf&&f8(gD(X.fullPath,_e.delta),m2()),ae(it,X).catch(se=>Vo(se,12)?se:Vo(se,2)?(ee(se.to,it).then(ce=>{Vo(ce,20)&&!_e.delta&&_e.type===u0.pop&&r.go(-1,!1)}).catch(Id),Promise.reject()):(_e.delta&&r.go(-_e.delta,!1),lt(se,it,X))).then(se=>{se=se||Ae(it,X,!1),se&&(_e.delta&&!Vo(se,8)?r.go(-_e.delta,!1):_e.type===u0.pop&&Vo(se,20)&&r.go(-1,!1)),ve(it,X,se)}).catch(Id)}))}let Ne=bd(),We=bd(),Se;function lt(J,Le,_e){ze(J);const it=We.list();return it.length?it.forEach(Ut=>Ut(J,Le,_e)):console.error(J),Promise.reject(J)}function at(){return Se&&D.value!==Pl?Promise.resolve():new Promise((J,Le)=>{Ne.add([J,Le])})}function ze(J){return Se||(Se=!J,ge(),Ne.list().forEach(([Le,_e])=>J?_e(J):Le()),Ne.reset()),J}function he(J,Le,_e,it){const{scrollBehavior:Ut}=t;if(!Gf||!Ut)return Promise.resolve();const X=!_e&&h8(gD(J.fullPath,0))||(it||!_e)&&history.state&&history.state.scroll||null;return vo().then(()=>Ut(J,Le,X)).then(se=>se&&u8(se)).catch(se=>lt(se,J,Le))}const He=J=>r.go(J);let Je;const Ue=new Set,be={currentRoute:D,listening:!0,addRoute:I,removeRoute:N,hasRoute:V,getRoutes:L,resolve:U,options:t,push:z,replace:H,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:e.add,beforeResolve:p.add,afterEach:_.add,onError:We.add,isReady:at,install(J){const Le=this;J.component("RouterLink",Q8),J.component("RouterView",eS),J.config.globalProperties.$router=Le,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>tr(D)}),Gf&&!Je&&D.value===Pl&&(Je=!0,z(r.location).catch(Ut=>{}));const _e={};for(const Ut in Pl)Object.defineProperty(_e,Ut,{get:()=>D.value[Ut],enumerable:!0});J.provide(g2,Le),J.provide(x_,K4(_e)),J.provide(b4,D);const it=J.unmount;Ue.add(J),J.unmount=function(){Ue.delete(J),Ue.size<1&&(F=Pl,De&&De(),De=null,D.value=Pl,Je=!1,Se=!1),it()}}};function Pe(J){return J.reduce((Le,_e)=>Le.then(()=>te(_e)),Promise.resolve())}return be}function rS(t,i){const s=[],a=[],r=[],e=Math.max(i.matched.length,t.matched.length);for(let p=0;p<e;p++){const _=i.matched[p];_&&(t.matched.find(F=>c0(F,_))?a.push(_):s.push(_));const D=t.matched[p];D&&(i.matched.find(F=>c0(F,D))||r.push(D))}return[s,a,r]}function nS(){return is(g2)}function iS(){return is(x_)}function _4(t,i={},s){for(const a in t){const r=t[a],e=s?`${s}:${a}`:a;typeof r=="object"&&r!==null?_4(r,i,e):typeof r=="function"&&(i[e]=r)}return i}const sS={run:t=>t()},aS=()=>sS,mE=typeof console.createTask<"u"?console.createTask:aS;function oS(t,i){const s=i.shift(),a=mE(s);return t.reduce((r,e)=>r.then(()=>a.run(()=>e(...i))),Promise.resolve())}function lS(t,i){const s=i.shift(),a=mE(s);return Promise.all(t.map(r=>a.run(()=>r(...i))))}function kb(t,i){for(const s of[...t])s(i)}class cS{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(i,s,a={}){if(!i||typeof s!="function")return()=>{};const r=i;let e;for(;this._deprecatedHooks[i];)e=this._deprecatedHooks[i],i=e.to;if(e&&!a.allowDeprecated){let p=e.message;p||(p=`${r} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(p)||(console.warn(p),this._deprecatedMessages.add(p))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+i.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[i]=this._hooks[i]||[],this._hooks[i].push(s),()=>{s&&(this.removeHook(i,s),s=void 0)}}hookOnce(i,s){let a,r=(...e)=>(typeof a=="function"&&a(),a=void 0,r=void 0,s(...e));return a=this.hook(i,r),a}removeHook(i,s){if(this._hooks[i]){const a=this._hooks[i].indexOf(s);a!==-1&&this._hooks[i].splice(a,1),this._hooks[i].length===0&&delete this._hooks[i]}}deprecateHook(i,s){this._deprecatedHooks[i]=typeof s=="string"?{to:s}:s;const a=this._hooks[i]||[];delete this._hooks[i];for(const r of a)this.hook(i,r)}deprecateHooks(i){Object.assign(this._deprecatedHooks,i);for(const s in i)this.deprecateHook(s,i[s])}addHooks(i){const s=_4(i),a=Object.keys(s).map(r=>this.hook(r,s[r]));return()=>{for(const r of a.splice(0,a.length))r()}}removeHooks(i){const s=_4(i);for(const a in s)this.removeHook(a,s[a])}removeAllHooks(){for(const i in this._hooks)delete this._hooks[i]}callHook(i,...s){return s.unshift(i),this.callHookWith(oS,i,...s)}callHookParallel(i,...s){return s.unshift(i),this.callHookWith(lS,i,...s)}callHookWith(i,s,...a){const r=this._before||this._after?{name:s,args:a,context:{}}:void 0;this._before&&kb(this._before,r);const e=i(s in this._hooks?[...this._hooks[s]]:[],a);return e instanceof Promise?e.finally(()=>{this._after&&r&&kb(this._after,r)}):(this._after&&r&&kb(this._after,r),e)}beforeEach(i){return this._before=this._before||[],this._before.push(i),()=>{if(this._before!==void 0){const s=this._before.indexOf(i);s!==-1&&this._before.splice(s,1)}}}afterEach(i){return this._after=this._after||[],this._after.push(i),()=>{if(this._after!==void 0){const s=this._after.indexOf(i);s!==-1&&this._after.splice(s,1)}}}}function uS(){return new cS}function fS(t){return Array.isArray(t)?t:[t]}const hS=["title","titleTemplate","script","style","noscript"],ag=["base","meta","link","style","script","noscript"],dS=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],pS=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],gE=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],mS=typeof window<"u";function vE(t){let i=9;for(let s=0;s<t.length;)i=Math.imul(i^t.charCodeAt(s++),9**9);return((i^i>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function OD(t){return t._h||vE(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([i,s])=>`${i}:${String(s)}`).join(",")}`)}function bE(t,i){const{props:s,tag:a}=t;if(pS.includes(a))return a;if(a==="link"&&s.rel==="canonical")return"canonical";if(s.charset)return"charset";const r=["id"];a==="meta"&&r.push("name","property","http-equiv");for(const e of r)if(typeof s[e]<"u"){const p=String(s[e]);return i&&!i(p)?!1:`${a}:${e}:${p}`}return!1}function kD(t,i){return t==null?i||null:typeof t=="function"?t(i):t}async function gS(t,i,s){const a={tag:t,props:await _E(typeof i=="object"&&typeof i!="function"&&!(i instanceof Promise)?{...i}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:i},["templateParams","titleTemplate"].includes(t))};return gE.forEach(r=>{const e=typeof a.props[r]<"u"?a.props[r]:s[r];typeof e<"u"&&((!["innerHTML","textContent"].includes(r)||hS.includes(a.tag))&&(a[r]=e),delete a.props[r])}),a.props.body&&(a.tagPosition="bodyClose",delete a.props.body),a.props.children&&(a.innerHTML=a.props.children,delete a.props.children),a.tag==="script"&&(typeof a.innerHTML=="object"&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),a.innerHTML&&["application/ld+json","application/json"].includes(a.props.type)&&(a.innerHTML=a.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(a.props.content)?a.props.content.map(r=>({...a,props:{...a.props,content:r}})):a}function vS(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(i=>t[i])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(i=>i.trim()).filter(Boolean).join(" ")}async function _E(t,i){for(const s of Object.keys(t)){if(s==="class"){t[s]=vS(t[s]);continue}if(t[s]instanceof Promise&&(t[s]=await t[s]),!i&&!gE.includes(s)){const a=String(t[s]),r=s.startsWith("data-");a==="true"||a===""?t[s]=r?"true":!0:t[s]||(r&&a==="false"?t[s]="false":delete t[s])}}return t}const bS=10;async function _S(t){const i=[];return Object.entries(t.resolvedInput).filter(([s,a])=>typeof a<"u"&&dS.includes(s)).forEach(([s,a])=>{const r=fS(a);i.push(...r.map(e=>gS(s,e,t)).flat())}),(await Promise.all(i)).flat().filter(Boolean).map((s,a)=>(s._e=t._i,t.mode&&(s._m=t.mode),s._p=(t._i<<bS)+a,s))}const RD={base:-10,title:10},PD={critical:-80,high:-10,low:20};function Fg(t){let i=100;const s=t.tagPriority;return typeof s=="number"?s:(t.tag==="meta"?(t.props["http-equiv"]==="content-security-policy"&&(i=-30),t.props.charset&&(i=-20),t.props.name==="viewport"&&(i=-15)):t.tag==="link"&&t.props.rel==="preconnect"?i=20:t.tag in RD&&(i=RD[t.tag]),typeof s=="string"&&s in PD?i+PD[s]:i)}const yS=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Il="%separator";function lu(t,i,s){if(typeof t!="string"||!t.includes("%"))return t;function a(p){let _;return["s","pageTitle"].includes(p)?_=i.pageTitle:p.includes(".")?_=p.split(".").reduce((D,F)=>D&&D[F]||void 0,i):_=i[p],typeof _<"u"?(_||"").replace(/"/g,'\\"'):!1}let r=t;try{r=decodeURI(t)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(p=>{const _=a(p.slice(1));typeof _=="string"&&(t=t.replace(new RegExp(`\\${p}(\\W|$)`,"g"),(D,F)=>`${_}${F}`).trim())}),t.includes(Il)&&(t.endsWith(Il)&&(t=t.slice(0,-Il.length).trim()),t.startsWith(Il)&&(t=t.slice(Il.length).trim()),t=t.replace(new RegExp(`\\${Il}\\s*\\${Il}`,"g"),Il),t=lu(t,{separator:s},s)),t}async function DS(t){const i={tag:t.tagName.toLowerCase(),props:await _E(t.getAttributeNames().reduce((s,a)=>({...s,[a]:t.getAttribute(a)}),{})),innerHTML:t.innerHTML};return i._d=bE(i),i}async function wS(t,i={}){var T;const s=i.document||t.resolvedOptions.document;if(!s)return;const a={shouldRender:t.dirty,tags:[]};if(await t.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const r=(await t.resolveTags()).map(A=>({tag:A,id:ag.includes(A.tag)?OD(A):A.tag,shouldRender:!0}));let e=t._dom;if(!e){e={elMap:{htmlAttrs:s.documentElement,bodyAttrs:s.body}};for(const A of["body","head"]){const R=(T=s==null?void 0:s[A])==null?void 0:T.children;for(const I of[...R].filter(N=>ag.includes(N.tagName.toLowerCase())))e.elMap[I.getAttribute("data-hid")||OD(await DS(I))]=I}}e.pendingSideEffects={...e.sideEffects||{}},e.sideEffects={};function p(A,R,I){const N=`${A}:${R}`;e.sideEffects[N]=I,delete e.pendingSideEffects[N]}function _({id:A,$el:R,tag:I}){const N=I.tag.endsWith("Attrs");e.elMap[A]=R,N||(["textContent","innerHTML"].forEach(L=>{I[L]&&I[L]!==R[L]&&(R[L]=I[L])}),p(A,"el",()=>{e.elMap[A].remove(),delete e.elMap[A]})),Object.entries(I.props).forEach(([L,V])=>{const U=`attr:${L}`;if(L==="class")for(const G of(V||"").split(" ").filter(Boolean))N&&p(A,`${U}:${G}`,()=>R.classList.remove(G)),!R.classList.contains(G)&&R.classList.add(G);else R.getAttribute(L)!==V&&R.setAttribute(L,V===!0?"":String(V)),N&&p(A,U,()=>R.removeAttribute(L))})}const D=[],F={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const A of r){const{tag:R,shouldRender:I,id:N}=A;if(I){if(R.tag==="title"){s.title=R.textContent;continue}A.$el=A.$el||e.elMap[N],A.$el?_(A):ag.includes(R.tag)&&D.push(A)}}for(const A of D){const R=A.tag.tagPosition||"head";A.$el=s.createElement(A.tag.tag),_(A),F[R]=F[R]||s.createDocumentFragment(),F[R].appendChild(A.$el)}for(const A of r)await t.hooks.callHook("dom:renderTag",A,s,p);F.head&&s.head.appendChild(F.head),F.bodyOpen&&s.body.insertBefore(F.bodyOpen,s.body.firstChild),F.bodyClose&&s.body.appendChild(F.bodyClose),Object.values(e.pendingSideEffects).forEach(A=>A()),t._dom=e,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:r})}async function FS(t,i={}){const s=i.delayFn||(a=>setTimeout(a,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(a=>s(async()=>{await wS(t,i),delete t._domUpdatePromise,a()}))}function ES(t){return i=>{var a,r;const s=((r=(a=i.resolvedOptions.document)==null?void 0:a.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return s&&i.push(JSON.parse(s)),{mode:"client",hooks:{"entries:updated":function(e){FS(e,t)}}}}}const xS=["templateParams","htmlAttrs","bodyAttrs"],CS={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(a=>{t.props[a]&&(t.key=t.props[a],delete t.props[a])});const s=bE(t)||(t.key?`${t.tag}:${t.key}`:!1);s&&(t._d=s)},"tags:resolve":function(t){const i={};t.tags.forEach(a=>{const r=(a.key?`${a.tag}:${a.key}`:a._d)||a._p,e=i[r];if(e){let _=a==null?void 0:a.tagDuplicateStrategy;if(!_&&xS.includes(a.tag)&&(_="merge"),_==="merge"){const D=e.props;["class","style"].forEach(F=>{a.props[F]&&D[F]&&(F==="style"&&!D[F].endsWith(";")&&(D[F]+=";"),a.props[F]=`${D[F]} ${a.props[F]}`)}),i[r].props={...D,...a.props};return}else if(a._e===e._e){e._duped=e._duped||[],a._d=`${e._d}:${e._duped.length+1}`,e._duped.push(a);return}else if(Fg(a)>Fg(e))return}const p=Object.keys(a.props).length+(a.innerHTML?1:0)+(a.textContent?1:0);if(ag.includes(a.tag)&&p===0){delete i[r];return}i[r]=a});const s=[];Object.values(i).forEach(a=>{const r=a._duped;delete a._duped,s.push(a),r&&s.push(...r)}),t.tags=s,t.tags=t.tags.filter(a=>!(a.tag==="meta"&&(a.props.name||a.props.property)&&!a.props.content))}}},TS={mode:"server",hooks:{"tags:resolve":function(t){const i={};t.tags.filter(s=>["titleTemplate","templateParams","title"].includes(s.tag)&&s._m==="server").forEach(s=>{i[s.tag]=s.tag.startsWith("title")?s.textContent:s.props}),Object.keys(i).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(i),props:{id:"unhead:payload",type:"application/json"}})}}},ID=["script","link","bodyAttrs"];function ND(t){const i={},s={};return Object.entries(t.props).forEach(([a,r])=>{a.startsWith("on")&&typeof r=="function"?s[a]=r:i[a]=r}),{props:i,eventHandlers:s}}const AS={hooks:{"ssr:render":function(t){t.tags=t.tags.map(i=>(!ID.includes(i.tag)||!Object.entries(i.props).find(([s,a])=>s.startsWith("on")&&typeof a=="function")||(i.props=ND(i).props),i))},"tags:resolve":function(t){t.tags=t.tags.map(i=>{if(!ID.includes(i.tag))return i;const{props:s,eventHandlers:a}=ND(i);return Object.keys(a).length&&(i.props=s,i._eventHandlers=a),i})},"dom:renderTag":function(t,i,s){if(!t.tag._eventHandlers)return;const a=t.tag.tag==="bodyAttrs"?i.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([r,e])=>{const p=`${t.tag._d||t.tag._p}:${r}`,_=r.slice(2).toLowerCase(),D=`data-h-${_}`;if(s(t.id,p,()=>{}),t.$el.hasAttribute(D))return;const F=e;t.$el.setAttribute(D,""),a.addEventListener(_,F),t.entry&&s(t.id,p,()=>{a.removeEventListener(_,F),t.$el.removeAttribute(D)})})}}},SS=["link","style","script","noscript"],OS={hooks:{"tag:normalise":({tag:t})=>{t.key&&SS.includes(t.tag)&&(t.props["data-hid"]=t._h=vE(t.key))}}},kS={hooks:{"tags:resolve":t=>{const i=s=>{var a;return(a=t.tags.find(r=>r._d===s))==null?void 0:a._p};for(const{prefix:s,offset:a}of yS)for(const r of t.tags.filter(e=>typeof e.tagPriority=="string"&&e.tagPriority.startsWith(s))){const e=i(r.tagPriority.replace(s,""));typeof e<"u"&&(r._p=e+a)}t.tags.sort((s,a)=>s._p-a._p).sort((s,a)=>Fg(s)-Fg(a))}}},RS={hooks:{"tags:resolve":t=>{var p;const{tags:i}=t,s=(p=i.find(_=>_.tag==="title"))==null?void 0:p.textContent,a=i.findIndex(_=>_.tag==="templateParams"),r=a!==-1?i[a].props:{},e=r.separator||"|";delete r.separator,r.pageTitle=lu(r.pageTitle||s||"",r,e);for(const _ of i)_.processTemplateParams!==!1&&(["titleTemplate","title"].includes(_.tag)&&typeof _.textContent=="string"?_.textContent=lu(_.textContent,r,e):_.tag==="meta"&&typeof _.props.content=="string"?_.props.content=lu(_.props.content,r,e):_.tag==="link"&&typeof _.props.href=="string"?_.props.href=lu(_.props.href,r,e):_.processTemplateParams===!0&&(_.innerHTML?_.innerHTML=lu(_.innerHTML,r,e):_.textContent&&(_.textContent=lu(_.textContent,r,e))));t.tags=i.filter(_=>_.tag!=="templateParams")}}},PS={hooks:{"tags:resolve":t=>{const{tags:i}=t;let s=i.findIndex(r=>r.tag==="titleTemplate");const a=i.findIndex(r=>r.tag==="title");if(a!==-1&&s!==-1){const r=kD(i[s].textContent,i[a].textContent);r!==null?i[a].textContent=r||i[a].textContent:delete i[a]}else if(s!==-1){const r=kD(i[s].textContent);r!==null&&(i[s].textContent=r,i[s].tag="title",s=-1)}s!==-1&&delete i[s],t.tags=i.filter(Boolean)}}};function IS(t={}){const i=NS(t);return i.use(ES()),i}function MD(t,i){return!t||t==="server"&&i||t==="client"&&!i}function NS(t={}){const i=uS();i.addHooks(t.hooks||{}),t.document=t.document||(mS?document:void 0);const s=!t.document;t.plugins=[CS,TS,AS,OS,kS,RS,PS,...(t==null?void 0:t.plugins)||[]];const a=()=>{p.dirty=!0,i.callHook("entries:updated",p)};let r=0,e=[];const p={dirty:!1,resolvedOptions:t,hooks:i,headEntries(){return e},use(_){const D=typeof _=="function"?_(p):_;MD(D.mode,s)&&i.addHooks(D.hooks||{})},push(_,D){D==null||delete D.head;const F={_i:r++,input:_,...D};return MD(F.mode,s)&&(e.push(F),a()),{dispose(){e=e.filter(T=>T._i!==F._i),i.callHook("entries:updated",p),a()},patch(T){e=e.map(A=>(A._i===F._i&&(A.input=F.input=T),A)),a()}}},async resolveTags(){const _={tags:[],entries:[...e]};await i.callHook("entries:resolve",_);for(const D of _.entries){const F=D.resolvedInput||D.input;if(D.resolvedInput=await(D.transform?D.transform(F):F),D.resolvedInput)for(const T of await _S(D)){const A={tag:T,entry:D,resolvedOptions:p.resolvedOptions};await i.callHook("tag:normalise",A),_.tags.push(A.tag)}}return await i.callHook("tags:beforeResolve",_),await i.callHook("tags:resolve",_),_.tags},ssr:s};return t.plugins.forEach(_=>p.use(_)),p.hooks.callHook("init",p),p}const MS=v_.startsWith("3");function LS(t){return typeof t=="function"?t():tr(t)}function y4(t,i=""){if(t instanceof Promise)return t;const s=LS(t);return!t||!s?s:Array.isArray(s)?s.map(a=>y4(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,tr(r)]:[a,y4(r,a)])):s}const BS={hooks:{"entries:resolve":function(t){for(const i of t.entries)i.resolvedInput=y4(i.input)}}},US="usehead";function HS(t){return{install(s){MS&&(s.config.globalProperties.$unhead=t,s.config.globalProperties.$head=t,s.provide(US,t))}}.install}function $S(t={}){t.domDelayFn=t.domDelayFn||(s=>vo(()=>setTimeout(()=>s(),0)));const i=IS(t);return i.use(BS),i.install=HS(i),i}function WS(t){try{return JSON.parse(t||"{}")}catch(i){return console.error("[SSG] On state deserialization -",i,t),{}}}function zS(t){return document.readyState==="loading"?new Promise(i=>{document.addEventListener("DOMContentLoaded",()=>i(t))}):Promise.resolve(t)}const jS=mi({setup(t,{slots:i}){const s=Yt(!1);return Ma(()=>s.value=!0),()=>s.value?i.default&&i.default({}):i.placeholder&&i.placeholder({})}});function VS(t,i,s,a={}){const{transformState:r,registerComponents:e=!0,useHead:p=!0,rootContainer:_="#app"}=a,D=typeof window<"u";async function F(T=!1,A){const R=T?D_(t):HF(t);let I;p&&(I=$S(),R.use(I));const N=tS({history:T?g8(i.base):v8(i.base),...i}),{routes:L}=i;e&&R.component("ClientOnly",jS);const V=[],ne={app:R,head:I,isClient:D,router:N,routes:L,onSSRAppRendered:T?()=>{}:ee=>V.push(ee),triggerOnSSRAppRendered:()=>Promise.all(V.map(ee=>ee())),initialState:{},transformState:r,routePath:A};T&&(await zS(),ne.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||WS(window.__INITIAL_STATE__)),await(s==null?void 0:s(ne)),R.use(N);let z,H=!0;if(N.beforeEach((ee,re,te)=>{(H||z&&z===ee.path)&&(H=!1,z=ee.path,ee.meta.state=ne.initialState),te()}),!T){const ee=ne.routePath??"/";N.push(ee),await N.isReady(),ne.initialState=N.currentRoute.value.meta.state||{}}const Z=ne.initialState;return{...ne,initialState:Z}}return D&&(async()=>{const{app:T,router:A}=await F(!0);await A.isReady(),T.mount(_,!0)})(),F}var GS=function(){function t(i,s){s===void 0&&(s=[]),this._eventType=i,this._eventFunctions=s}return t.prototype.init=function(){var i=this;this._eventFunctions.forEach(function(s){typeof window<"u"&&window.addEventListener(i._eventType,s)})},t}(),Eg=globalThis&&globalThis.__assign||function(){return Eg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Eg.apply(this,arguments)},xg={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(){}},yE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=xg),this._items=i,this._options=Eg(Eg({},xg),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&this._items.map(function(s){s.active&&i.open(s.id),s.triggerEl.addEventListener("click",function(){i.toggle(s.id)})})},t.prototype.getItem=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.open=function(i){var s,a,r=this,e=this.getItem(i);this._options.alwaysOpen||this._items.map(function(p){var _,D;p!==e&&((_=p.triggerEl.classList).remove.apply(_,r._options.activeClasses.split(" ")),(D=p.triggerEl.classList).add.apply(D,r._options.inactiveClasses.split(" ")),p.targetEl.classList.add("hidden"),p.triggerEl.setAttribute("aria-expanded","false"),p.active=!1,p.iconEl&&p.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(i){var s=this.getItem(i);s.active?this.close(i):this.open(i),this._options.onToggle(this,s)},t.prototype.close=function(i){var s,a,r=this.getItem(i);(s=r.triggerEl.classList).remove.apply(s,this._options.activeClasses.split(" ")),(a=r.triggerEl.classList).add.apply(a,this._options.inactiveClasses.split(" ")),r.targetEl.classList.add("hidden"),r.triggerEl.setAttribute("aria-expanded","false"),r.active=!1,r.iconEl&&r.iconEl.classList.remove("rotate-180"),this._options.onClose(this,r)},t}();function C_(){document.querySelectorAll("[data-accordion]").forEach(function(t){var i=t.getAttribute("data-accordion"),s=t.getAttribute("data-active-classes"),a=t.getAttribute("data-inactive-classes"),r=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var p={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"};r.push(p)}}),new yE(r,{alwaysOpen:i==="open",activeClasses:s||xg.activeClasses,inactiveClasses:a||xg.inactiveClasses})})}typeof window<"u"&&(window.Accordion=yE,window.initAccordions=C_);var Cg=globalThis&&globalThis.__assign||function(){return Cg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Cg.apply(this,arguments)},LD={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},DE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=LD),this._targetEl=i,this._triggerEl=s,this._options=Cg(Cg({},LD),a),this._visible=!1,this._init()}return t.prototype._init=function(){var i=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(){i.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 T_(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var i=t.getAttribute("data-collapse-toggle"),s=document.getElementById(i);s?new DE(s,t):console.error('The target element with id "'.concat(i,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=DE,window.initCollapses=T_);var hu=globalThis&&globalThis.__assign||function(){return hu=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},hu.apply(this,arguments)},og={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(){}},wE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=og),this._items=i,this._options=hu(hu(hu({},og),s),{indicators:hu(hu({},og.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 i=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(){i.slideTo(a)})})},t.prototype.getItem=function(i){return this._items[i]},t.prototype.slideTo=function(i){var s=this._items[i],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 i=this._getActiveItem(),s=null;i.position===this._items.length-1?s=this._items[0]:s=this._items[i.position+1],this.slideTo(s.position),this._options.onNext(this)},t.prototype.prev=function(){var i=this._getActiveItem(),s=null;i.position===0?s=this._items[this._items.length-1]:s=this._items[i.position-1],this.slideTo(s.position),this._options.onPrev(this)},t.prototype._rotate=function(i){this._items.map(function(s){s.el.classList.add("hidden")}),i.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.left.el.classList.add("-translate-x-full","z-10"),i.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),i.middle.el.classList.add("translate-x-0","z-20"),i.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var i=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){i.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(i){var s,a,r=this;this._activeItem=i;var e=i.position;this._indicators.length&&(this._indicators.map(function(p){var _,D;p.el.setAttribute("aria-current","false"),(_=p.el.classList).remove.apply(_,r._options.indicators.activeClasses.split(" ")),(D=p.el.classList).add.apply(D,r._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 A_(){document.querySelectorAll("[data-carousel]").forEach(function(t){var i=t.getAttribute("data-carousel-interval"),s=t.getAttribute("data-carousel")==="slide",a=[],r=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(F,T){a.push({position:T,el:F}),F.getAttribute("data-carousel-item")==="active"&&(r=T)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(F){e.push({position:parseInt(F.getAttribute("data-carousel-slide-to")),el:F})});var p=new wE(a,{defaultPosition:r,indicators:{items:e},interval:i||og.interval});s&&p.cycle();var _=t.querySelector("[data-carousel-next]"),D=t.querySelector("[data-carousel-prev]");_&&_.addEventListener("click",function(){p.next()}),D&&D.addEventListener("click",function(){p.prev()})})}typeof window<"u"&&(window.Carousel=wE,window.initCarousels=A_);var Tg=globalThis&&globalThis.__assign||function(){return Tg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Tg.apply(this,arguments)},BD={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},FE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=BD),this._targetEl=i,this._triggerEl=s,this._options=Tg(Tg({},BD),a),this._init()}return t.prototype._init=function(){var i=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){i.hide()})},t.prototype.hide=function(){var i=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){i._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function S_(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var i=t.getAttribute("data-dismiss-target"),s=document.querySelector(i);s?new FE(s,t):console.error('The dismiss element with id "'.concat(i,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=FE,window.initDismisses=S_);var ys="top",ha="bottom",da="right",Ds="left",O_="auto",m1=[ys,ha,da,Ds],h0="start",t1="end",YS="clippingParents",EE="viewport",_d="popper",KS="reference",UD=m1.reduce(function(t,i){return t.concat([i+"-"+h0,i+"-"+t1])},[]),xE=[].concat(m1,[O_]).reduce(function(t,i){return t.concat([i,i+"-"+h0,i+"-"+t1])},[]),qS="beforeRead",QS="read",XS="afterRead",JS="beforeMain",ZS="main",eO="afterMain",tO="beforeWrite",rO="write",nO="afterWrite",iO=[qS,QS,XS,JS,ZS,eO,tO,rO,nO];function mo(t){return t?(t.nodeName||"").toLowerCase():null}function Ws(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var i=t.ownerDocument;return i&&i.defaultView||window}return t}function xu(t){var i=Ws(t).Element;return t instanceof i||t instanceof Element}function ua(t){var i=Ws(t).HTMLElement;return t instanceof i||t instanceof HTMLElement}function k_(t){if(typeof ShadowRoot>"u")return!1;var i=Ws(t).ShadowRoot;return t instanceof i||t instanceof ShadowRoot}function sO(t){var i=t.state;Object.keys(i.elements).forEach(function(s){var a=i.styles[s]||{},r=i.attributes[s]||{},e=i.elements[s];!ua(e)||!mo(e)||(Object.assign(e.style,a),Object.keys(r).forEach(function(p){var _=r[p];_===!1?e.removeAttribute(p):e.setAttribute(p,_===!0?"":_)}))})}function aO(t){var i=t.state,s={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,s.popper),i.styles=s,i.elements.arrow&&Object.assign(i.elements.arrow.style,s.arrow),function(){Object.keys(i.elements).forEach(function(a){var r=i.elements[a],e=i.attributes[a]||{},p=Object.keys(i.styles.hasOwnProperty(a)?i.styles[a]:s[a]),_=p.reduce(function(D,F){return D[F]="",D},{});!ua(r)||!mo(r)||(Object.assign(r.style,_),Object.keys(e).forEach(function(D){r.removeAttribute(D)}))})}}const oO={name:"applyStyles",enabled:!0,phase:"write",fn:sO,effect:aO,requires:["computeStyles"]};function uo(t){return t.split("-")[0]}var yu=Math.max,Ag=Math.min,d0=Math.round;function D4(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function CE(){return!/^((?!chrome|android).)*safari/i.test(D4())}function p0(t,i,s){i===void 0&&(i=!1),s===void 0&&(s=!1);var a=t.getBoundingClientRect(),r=1,e=1;i&&ua(t)&&(r=t.offsetWidth>0&&d0(a.width)/t.offsetWidth||1,e=t.offsetHeight>0&&d0(a.height)/t.offsetHeight||1);var p=xu(t)?Ws(t):window,_=p.visualViewport,D=!CE()&&s,F=(a.left+(D&&_?_.offsetLeft:0))/r,T=(a.top+(D&&_?_.offsetTop:0))/e,A=a.width/r,R=a.height/e;return{width:A,height:R,top:T,right:F+A,bottom:T+R,left:F,x:F,y:T}}function R_(t){var i=p0(t),s=t.offsetWidth,a=t.offsetHeight;return Math.abs(i.width-s)<=1&&(s=i.width),Math.abs(i.height-a)<=1&&(a=i.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:a}}function TE(t,i){var s=i.getRootNode&&i.getRootNode();if(t.contains(i))return!0;if(s&&k_(s)){var a=i;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function el(t){return Ws(t).getComputedStyle(t)}function lO(t){return["table","td","th"].indexOf(mo(t))>=0}function ac(t){return((xu(t)?t.ownerDocument:t.document)||window.document).documentElement}function v2(t){return mo(t)==="html"?t:t.assignedSlot||t.parentNode||(k_(t)?t.host:null)||ac(t)}function HD(t){return!ua(t)||el(t).position==="fixed"?null:t.offsetParent}function cO(t){var i=/firefox/i.test(D4()),s=/Trident/i.test(D4());if(s&&ua(t)){var a=el(t);if(a.position==="fixed")return null}var r=v2(t);for(k_(r)&&(r=r.host);ua(r)&&["html","body"].indexOf(mo(r))<0;){var e=el(r);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||i&&e.willChange==="filter"||i&&e.filter&&e.filter!=="none")return r;r=r.parentNode}return null}function g1(t){for(var i=Ws(t),s=HD(t);s&&lO(s)&&el(s).position==="static";)s=HD(s);return s&&(mo(s)==="html"||mo(s)==="body"&&el(s).position==="static")?i:s||cO(t)||i}function P_(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Nd(t,i,s){return yu(t,Ag(i,s))}function uO(t,i,s){var a=Nd(t,i,s);return a>s?s:a}function AE(){return{top:0,right:0,bottom:0,left:0}}function SE(t){return Object.assign({},AE(),t)}function OE(t,i){return i.reduce(function(s,a){return s[a]=t,s},{})}var fO=function(i,s){return i=typeof i=="function"?i(Object.assign({},s.rects,{placement:s.placement})):i,SE(typeof i!="number"?i:OE(i,m1))};function hO(t){var i,s=t.state,a=t.name,r=t.options,e=s.elements.arrow,p=s.modifiersData.popperOffsets,_=uo(s.placement),D=P_(_),F=[Ds,da].indexOf(_)>=0,T=F?"height":"width";if(!(!e||!p)){var A=fO(r.padding,s),R=R_(e),I=D==="y"?ys:Ds,N=D==="y"?ha:da,L=s.rects.reference[T]+s.rects.reference[D]-p[D]-s.rects.popper[T],V=p[D]-s.rects.reference[D],U=g1(e),G=U?D==="y"?U.clientHeight||0:U.clientWidth||0:0,ne=L/2-V/2,z=A[I],H=G-R[T]-A[N],Z=G/2-R[T]/2+ne,ee=Nd(z,Z,H),re=D;s.modifiersData[a]=(i={},i[re]=ee,i.centerOffset=ee-Z,i)}}function dO(t){var i=t.state,s=t.options,a=s.element,r=a===void 0?"[data-popper-arrow]":a;r!=null&&(typeof r=="string"&&(r=i.elements.popper.querySelector(r),!r)||TE(i.elements.popper,r)&&(i.elements.arrow=r))}const pO={name:"arrow",enabled:!0,phase:"main",fn:hO,effect:dO,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function m0(t){return t.split("-")[1]}var mO={top:"auto",right:"auto",bottom:"auto",left:"auto"};function gO(t,i){var s=t.x,a=t.y,r=i.devicePixelRatio||1;return{x:d0(s*r)/r||0,y:d0(a*r)/r||0}}function $D(t){var i,s=t.popper,a=t.popperRect,r=t.placement,e=t.variation,p=t.offsets,_=t.position,D=t.gpuAcceleration,F=t.adaptive,T=t.roundOffsets,A=t.isFixed,R=p.x,I=R===void 0?0:R,N=p.y,L=N===void 0?0:N,V=typeof T=="function"?T({x:I,y:L}):{x:I,y:L};I=V.x,L=V.y;var U=p.hasOwnProperty("x"),G=p.hasOwnProperty("y"),ne=Ds,z=ys,H=window;if(F){var Z=g1(s),ee="clientHeight",re="clientWidth";if(Z===Ws(s)&&(Z=ac(s),el(Z).position!=="static"&&_==="absolute"&&(ee="scrollHeight",re="scrollWidth")),Z=Z,r===ys||(r===Ds||r===da)&&e===t1){z=ha;var te=A&&Z===H&&H.visualViewport?H.visualViewport.height:Z[ee];L-=te-a.height,L*=D?1:-1}if(r===Ds||(r===ys||r===ha)&&e===t1){ne=da;var ae=A&&Z===H&&H.visualViewport?H.visualViewport.width:Z[re];I-=ae-a.width,I*=D?1:-1}}var ve=Object.assign({position:_},F&&mO),Ae=T===!0?gO({x:I,y:L},Ws(s)):{x:I,y:L};if(I=Ae.x,L=Ae.y,D){var De;return Object.assign({},ve,(De={},De[z]=G?"0":"",De[ne]=U?"0":"",De.transform=(H.devicePixelRatio||1)<=1?"translate("+I+"px, "+L+"px)":"translate3d("+I+"px, "+L+"px, 0)",De))}return Object.assign({},ve,(i={},i[z]=G?L+"px":"",i[ne]=U?I+"px":"",i.transform="",i))}function vO(t){var i=t.state,s=t.options,a=s.gpuAcceleration,r=a===void 0?!0:a,e=s.adaptive,p=e===void 0?!0:e,_=s.roundOffsets,D=_===void 0?!0:_,F={placement:uo(i.placement),variation:m0(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:r,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,$D(Object.assign({},F,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:p,roundOffsets:D})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,$D(Object.assign({},F,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:D})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const bO={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:vO,data:{}};var Ym={passive:!0};function _O(t){var i=t.state,s=t.instance,a=t.options,r=a.scroll,e=r===void 0?!0:r,p=a.resize,_=p===void 0?!0:p,D=Ws(i.elements.popper),F=[].concat(i.scrollParents.reference,i.scrollParents.popper);return e&&F.forEach(function(T){T.addEventListener("scroll",s.update,Ym)}),_&&D.addEventListener("resize",s.update,Ym),function(){e&&F.forEach(function(T){T.removeEventListener("scroll",s.update,Ym)}),_&&D.removeEventListener("resize",s.update,Ym)}}const yO={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:_O,data:{}};var DO={left:"right",right:"left",bottom:"top",top:"bottom"};function lg(t){return t.replace(/left|right|bottom|top/g,function(i){return DO[i]})}var wO={start:"end",end:"start"};function WD(t){return t.replace(/start|end/g,function(i){return wO[i]})}function I_(t){var i=Ws(t),s=i.pageXOffset,a=i.pageYOffset;return{scrollLeft:s,scrollTop:a}}function N_(t){return p0(ac(t)).left+I_(t).scrollLeft}function FO(t,i){var s=Ws(t),a=ac(t),r=s.visualViewport,e=a.clientWidth,p=a.clientHeight,_=0,D=0;if(r){e=r.width,p=r.height;var F=CE();(F||!F&&i==="fixed")&&(_=r.offsetLeft,D=r.offsetTop)}return{width:e,height:p,x:_+N_(t),y:D}}function EO(t){var i,s=ac(t),a=I_(t),r=(i=t.ownerDocument)==null?void 0:i.body,e=yu(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),p=yu(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),_=-a.scrollLeft+N_(t),D=-a.scrollTop;return el(r||s).direction==="rtl"&&(_+=yu(s.clientWidth,r?r.clientWidth:0)-e),{width:e,height:p,x:_,y:D}}function M_(t){var i=el(t),s=i.overflow,a=i.overflowX,r=i.overflowY;return/auto|scroll|overlay|hidden/.test(s+r+a)}function kE(t){return["html","body","#document"].indexOf(mo(t))>=0?t.ownerDocument.body:ua(t)&&M_(t)?t:kE(v2(t))}function Md(t,i){var s;i===void 0&&(i=[]);var a=kE(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=Ws(a),p=r?[e].concat(e.visualViewport||[],M_(a)?a:[]):a,_=i.concat(p);return r?_:_.concat(Md(v2(p)))}function w4(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function xO(t,i){var s=p0(t,!1,i==="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 zD(t,i,s){return i===EE?w4(FO(t,s)):xu(i)?xO(i,s):w4(EO(ac(t)))}function CO(t){var i=Md(v2(t)),s=["absolute","fixed"].indexOf(el(t).position)>=0,a=s&&ua(t)?g1(t):t;return xu(a)?i.filter(function(r){return xu(r)&&TE(r,a)&&mo(r)!=="body"}):[]}function TO(t,i,s,a){var r=i==="clippingParents"?CO(t):[].concat(i),e=[].concat(r,[s]),p=e[0],_=e.reduce(function(D,F){var T=zD(t,F,a);return D.top=yu(T.top,D.top),D.right=Ag(T.right,D.right),D.bottom=Ag(T.bottom,D.bottom),D.left=yu(T.left,D.left),D},zD(t,p,a));return _.width=_.right-_.left,_.height=_.bottom-_.top,_.x=_.left,_.y=_.top,_}function RE(t){var i=t.reference,s=t.element,a=t.placement,r=a?uo(a):null,e=a?m0(a):null,p=i.x+i.width/2-s.width/2,_=i.y+i.height/2-s.height/2,D;switch(r){case ys:D={x:p,y:i.y-s.height};break;case ha:D={x:p,y:i.y+i.height};break;case da:D={x:i.x+i.width,y:_};break;case Ds:D={x:i.x-s.width,y:_};break;default:D={x:i.x,y:i.y}}var F=r?P_(r):null;if(F!=null){var T=F==="y"?"height":"width";switch(e){case h0:D[F]=D[F]-(i[T]/2-s[T]/2);break;case t1:D[F]=D[F]+(i[T]/2-s[T]/2);break}}return D}function r1(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=a===void 0?t.placement:a,e=s.strategy,p=e===void 0?t.strategy:e,_=s.boundary,D=_===void 0?YS:_,F=s.rootBoundary,T=F===void 0?EE:F,A=s.elementContext,R=A===void 0?_d:A,I=s.altBoundary,N=I===void 0?!1:I,L=s.padding,V=L===void 0?0:L,U=SE(typeof V!="number"?V:OE(V,m1)),G=R===_d?KS:_d,ne=t.rects.popper,z=t.elements[N?G:R],H=TO(xu(z)?z:z.contextElement||ac(t.elements.popper),D,T,p),Z=p0(t.elements.reference),ee=RE({reference:Z,element:ne,strategy:"absolute",placement:r}),re=w4(Object.assign({},ne,ee)),te=R===_d?re:Z,ae={top:H.top-te.top+U.top,bottom:te.bottom-H.bottom+U.bottom,left:H.left-te.left+U.left,right:te.right-H.right+U.right},ve=t.modifiersData.offset;if(R===_d&&ve){var Ae=ve[r];Object.keys(ae).forEach(function(De){var ge=[da,ha].indexOf(De)>=0?1:-1,Ne=[ys,ha].indexOf(De)>=0?"y":"x";ae[De]+=Ae[Ne]*ge})}return ae}function AO(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=s.boundary,e=s.rootBoundary,p=s.padding,_=s.flipVariations,D=s.allowedAutoPlacements,F=D===void 0?xE:D,T=m0(a),A=T?_?UD:UD.filter(function(N){return m0(N)===T}):m1,R=A.filter(function(N){return F.indexOf(N)>=0});R.length===0&&(R=A);var I=R.reduce(function(N,L){return N[L]=r1(t,{placement:L,boundary:r,rootBoundary:e,padding:p})[uo(L)],N},{});return Object.keys(I).sort(function(N,L){return I[N]-I[L]})}function SO(t){if(uo(t)===O_)return[];var i=lg(t);return[WD(t),i,WD(i)]}function OO(t){var i=t.state,s=t.options,a=t.name;if(!i.modifiersData[a]._skip){for(var r=s.mainAxis,e=r===void 0?!0:r,p=s.altAxis,_=p===void 0?!0:p,D=s.fallbackPlacements,F=s.padding,T=s.boundary,A=s.rootBoundary,R=s.altBoundary,I=s.flipVariations,N=I===void 0?!0:I,L=s.allowedAutoPlacements,V=i.options.placement,U=uo(V),G=U===V,ne=D||(G||!N?[lg(V)]:SO(V)),z=[V].concat(ne).reduce(function(Ue,be){return Ue.concat(uo(be)===O_?AO(i,{placement:be,boundary:T,rootBoundary:A,padding:F,flipVariations:N,allowedAutoPlacements:L}):be)},[]),H=i.rects.reference,Z=i.rects.popper,ee=new Map,re=!0,te=z[0],ae=0;ae<z.length;ae++){var ve=z[ae],Ae=uo(ve),De=m0(ve)===h0,ge=[ys,ha].indexOf(Ae)>=0,Ne=ge?"width":"height",We=r1(i,{placement:ve,boundary:T,rootBoundary:A,altBoundary:R,padding:F}),Se=ge?De?da:Ds:De?ha:ys;H[Ne]>Z[Ne]&&(Se=lg(Se));var lt=lg(Se),at=[];if(e&&at.push(We[Ae]<=0),_&&at.push(We[Se]<=0,We[lt]<=0),at.every(function(Ue){return Ue})){te=ve,re=!1;break}ee.set(ve,at)}if(re)for(var ze=N?3:1,he=function(be){var Pe=z.find(function(J){var Le=ee.get(J);if(Le)return Le.slice(0,be).every(function(_e){return _e})});if(Pe)return te=Pe,"break"},He=ze;He>0;He--){var Je=he(He);if(Je==="break")break}i.placement!==te&&(i.modifiersData[a]._skip=!0,i.placement=te,i.reset=!0)}}const kO={name:"flip",enabled:!0,phase:"main",fn:OO,requiresIfExists:["offset"],data:{_skip:!1}};function jD(t,i,s){return s===void 0&&(s={x:0,y:0}),{top:t.top-i.height-s.y,right:t.right-i.width+s.x,bottom:t.bottom-i.height+s.y,left:t.left-i.width-s.x}}function VD(t){return[ys,da,ha,Ds].some(function(i){return t[i]>=0})}function RO(t){var i=t.state,s=t.name,a=i.rects.reference,r=i.rects.popper,e=i.modifiersData.preventOverflow,p=r1(i,{elementContext:"reference"}),_=r1(i,{altBoundary:!0}),D=jD(p,a),F=jD(_,r,e),T=VD(D),A=VD(F);i.modifiersData[s]={referenceClippingOffsets:D,popperEscapeOffsets:F,isReferenceHidden:T,hasPopperEscaped:A},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":T,"data-popper-escaped":A})}const PO={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:RO};function IO(t,i,s){var a=uo(t),r=[Ds,ys].indexOf(a)>=0?-1:1,e=typeof s=="function"?s(Object.assign({},i,{placement:t})):s,p=e[0],_=e[1];return p=p||0,_=(_||0)*r,[Ds,da].indexOf(a)>=0?{x:_,y:p}:{x:p,y:_}}function NO(t){var i=t.state,s=t.options,a=t.name,r=s.offset,e=r===void 0?[0,0]:r,p=xE.reduce(function(T,A){return T[A]=IO(A,i.rects,e),T},{}),_=p[i.placement],D=_.x,F=_.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=D,i.modifiersData.popperOffsets.y+=F),i.modifiersData[a]=p}const MO={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:NO};function LO(t){var i=t.state,s=t.name;i.modifiersData[s]=RE({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}const BO={name:"popperOffsets",enabled:!0,phase:"read",fn:LO,data:{}};function UO(t){return t==="x"?"y":"x"}function HO(t){var i=t.state,s=t.options,a=t.name,r=s.mainAxis,e=r===void 0?!0:r,p=s.altAxis,_=p===void 0?!1:p,D=s.boundary,F=s.rootBoundary,T=s.altBoundary,A=s.padding,R=s.tether,I=R===void 0?!0:R,N=s.tetherOffset,L=N===void 0?0:N,V=r1(i,{boundary:D,rootBoundary:F,padding:A,altBoundary:T}),U=uo(i.placement),G=m0(i.placement),ne=!G,z=P_(U),H=UO(z),Z=i.modifiersData.popperOffsets,ee=i.rects.reference,re=i.rects.popper,te=typeof L=="function"?L(Object.assign({},i.rects,{placement:i.placement})):L,ae=typeof te=="number"?{mainAxis:te,altAxis:te}:Object.assign({mainAxis:0,altAxis:0},te),ve=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Ae={x:0,y:0};if(Z){if(e){var De,ge=z==="y"?ys:Ds,Ne=z==="y"?ha:da,We=z==="y"?"height":"width",Se=Z[z],lt=Se+V[ge],at=Se-V[Ne],ze=I?-re[We]/2:0,he=G===h0?ee[We]:re[We],He=G===h0?-re[We]:-ee[We],Je=i.elements.arrow,Ue=I&&Je?R_(Je):{width:0,height:0},be=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:AE(),Pe=be[ge],J=be[Ne],Le=Nd(0,ee[We],Ue[We]),_e=ne?ee[We]/2-ze-Le-Pe-ae.mainAxis:he-Le-Pe-ae.mainAxis,it=ne?-ee[We]/2+ze+Le+J+ae.mainAxis:He+Le+J+ae.mainAxis,Ut=i.elements.arrow&&g1(i.elements.arrow),X=Ut?z==="y"?Ut.clientTop||0:Ut.clientLeft||0:0,se=(De=ve==null?void 0:ve[z])!=null?De:0,ce=Se+_e-se-X,Be=Se+it-se,$e=Nd(I?Ag(lt,ce):lt,Se,I?yu(at,Be):at);Z[z]=$e,Ae[z]=$e-Se}if(_){var Ge,Ft=z==="x"?ys:Ds,dt=z==="x"?ha:da,ut=Z[H],Ve=H==="y"?"height":"width",Fe=ut+V[Ft],xe=ut-V[dt],Et=[ys,Ds].indexOf(U)!==-1,Mt=(Ge=ve==null?void 0:ve[H])!=null?Ge:0,rr=Et?Fe:ut-ee[Ve]-re[Ve]-Mt+ae.altAxis,cr=Et?ut+ee[Ve]+re[Ve]-Mt-ae.altAxis:xe,ir=I&&Et?uO(rr,ut,cr):Nd(I?rr:Fe,ut,I?cr:xe);Z[H]=ir,Ae[H]=ir-ut}i.modifiersData[a]=Ae}}const $O={name:"preventOverflow",enabled:!0,phase:"main",fn:HO,requiresIfExists:["offset"]};function WO(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function zO(t){return t===Ws(t)||!ua(t)?I_(t):WO(t)}function jO(t){var i=t.getBoundingClientRect(),s=d0(i.width)/t.offsetWidth||1,a=d0(i.height)/t.offsetHeight||1;return s!==1||a!==1}function VO(t,i,s){s===void 0&&(s=!1);var a=ua(i),r=ua(i)&&jO(i),e=ac(i),p=p0(t,r,s),_={scrollLeft:0,scrollTop:0},D={x:0,y:0};return(a||!a&&!s)&&((mo(i)!=="body"||M_(e))&&(_=zO(i)),ua(i)?(D=p0(i,!0),D.x+=i.clientLeft,D.y+=i.clientTop):e&&(D.x=N_(e))),{x:p.left+_.scrollLeft-D.x,y:p.top+_.scrollTop-D.y,width:p.width,height:p.height}}function GO(t){var i=new Map,s=new Set,a=[];t.forEach(function(e){i.set(e.name,e)});function r(e){s.add(e.name);var p=[].concat(e.requires||[],e.requiresIfExists||[]);p.forEach(function(_){if(!s.has(_)){var D=i.get(_);D&&r(D)}}),a.push(e)}return t.forEach(function(e){s.has(e.name)||r(e)}),a}function YO(t){var i=GO(t);return iO.reduce(function(s,a){return s.concat(i.filter(function(r){return r.phase===a}))},[])}function KO(t){var i;return function(){return i||(i=new Promise(function(s){Promise.resolve().then(function(){i=void 0,s(t())})})),i}}function qO(t){var i=t.reduce(function(s,a){var r=s[a.name];return s[a.name]=r?Object.assign({},r,a,{options:Object.assign({},r.options,a.options),data:Object.assign({},r.data,a.data)}):a,s},{});return Object.keys(i).map(function(s){return i[s]})}var GD={placement:"bottom",modifiers:[],strategy:"absolute"};function YD(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return!i.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function QO(t){t===void 0&&(t={});var i=t,s=i.defaultModifiers,a=s===void 0?[]:s,r=i.defaultOptions,e=r===void 0?GD:r;return function(_,D,F){F===void 0&&(F=e);var T={placement:"bottom",orderedModifiers:[],options:Object.assign({},GD,e),modifiersData:{},elements:{reference:_,popper:D},attributes:{},styles:{}},A=[],R=!1,I={state:T,setOptions:function(U){var G=typeof U=="function"?U(T.options):U;L(),T.options=Object.assign({},e,T.options,G),T.scrollParents={reference:xu(_)?Md(_):_.contextElement?Md(_.contextElement):[],popper:Md(D)};var ne=YO(qO([].concat(a,T.options.modifiers)));return T.orderedModifiers=ne.filter(function(z){return z.enabled}),N(),I.update()},forceUpdate:function(){if(!R){var U=T.elements,G=U.reference,ne=U.popper;if(YD(G,ne)){T.rects={reference:VO(G,g1(ne),T.options.strategy==="fixed"),popper:R_(ne)},T.reset=!1,T.placement=T.options.placement,T.orderedModifiers.forEach(function(ae){return T.modifiersData[ae.name]=Object.assign({},ae.data)});for(var z=0;z<T.orderedModifiers.length;z++){if(T.reset===!0){T.reset=!1,z=-1;continue}var H=T.orderedModifiers[z],Z=H.fn,ee=H.options,re=ee===void 0?{}:ee,te=H.name;typeof Z=="function"&&(T=Z({state:T,options:re,name:te,instance:I})||T)}}}},update:KO(function(){return new Promise(function(V){I.forceUpdate(),V(T)})}),destroy:function(){L(),R=!0}};if(!YD(_,D))return I;I.setOptions(F).then(function(V){!R&&F.onFirstUpdate&&F.onFirstUpdate(V)});function N(){T.orderedModifiers.forEach(function(V){var U=V.name,G=V.options,ne=G===void 0?{}:G,z=V.effect;if(typeof z=="function"){var H=z({state:T,name:U,instance:I,options:ne}),Z=function(){};A.push(H||Z)}})}function L(){A.forEach(function(V){return V()}),A=[]}return I}}var XO=[yO,BO,bO,oO,MO,kO,$O,pO,PO],L_=QO({defaultModifiers:XO}),$l=globalThis&&globalThis.__assign||function(){return $l=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},$l.apply(this,arguments)},Km=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},Wl={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},PE=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Wl),this._targetEl=i,this._triggerEl=s,this._options=$l($l({},Wl),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();this._options.triggerType==="click"&&s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.toggle()})}),this._options.triggerType==="hover"&&(s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){a==="click"?i.toggle():setTimeout(function(){i.show()},i._options.delay)}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},i._options.delay)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},i._options.delay)})}))},t.prototype._createPopperInstance=function(){return L_(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target,r=this._options.ignoreClickOutsideClass,e=!1;if(r){var p=document.querySelectorAll(".".concat(r));p.forEach(function(_){if(_.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(i){return $l($l({},i),{modifiers:Km(Km([],i.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(i){return $l($l({},i),{modifiers:Km(Km([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function B_(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var i=t.getAttribute("data-dropdown-toggle"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-dropdown-placement"),r=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),p=t.getAttribute("data-dropdown-trigger"),_=t.getAttribute("data-dropdown-delay"),D=t.getAttribute("data-dropdown-ignore-click-outside-class");new PE(s,t,{placement:a||Wl.placement,triggerType:p||Wl.triggerType,offsetSkidding:r?parseInt(r):Wl.offsetSkidding,offsetDistance:e?parseInt(e):Wl.offsetDistance,delay:_?parseInt(_):Wl.delay,ignoreClickOutsideClass:D||Wl.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(i,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=PE,window.initDropdowns=B_);var Sg=globalThis&&globalThis.__assign||function(){return Sg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Sg.apply(this,arguments)},qf={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(){}},F4=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=qf),this._targetEl=i,this._options=Sg(Sg({},qf),s),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&this._getPlacementClasses().map(function(s){i._targetEl.classList.add(s)})},t.prototype._createBackdrop=function(){var i;if(this._isHidden){var s=document.createElement("div");s.setAttribute("modal-backdrop",""),(i=s.classList).add.apply(i,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 i=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(s){i._handleOutsideClick(s.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(s){s.key==="Escape"&&i.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(i){(i===this._targetEl||i===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}(),qm=function(t,i){return i.some(function(s){return s.id===t})?i.find(function(s){return s.id===t}):null};function U_(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(i){var s=i.getAttribute("data-modal-target"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop");qm(s,t)||t.push({id:s,object:new F4(a,{placement:r||qf.placement,backdrop:e||qf.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(i){var s=i.getAttribute("data-modal-toggle"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop"),p=qm(s,t);p||(p={id:s,object:new F4(a,{placement:r||qf.placement,backdrop:e||qf.backdrop})},t.push(p)),i.addEventListener("click",function(){p.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(i){var s=i.getAttribute("data-modal-show"),a=document.getElementById(s);if(a){var r=qm(s,t);r?i.addEventListener("click",function(){r.object.isHidden&&r.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(i){var s=i.getAttribute("data-modal-hide"),a=document.getElementById(s);if(a){var r=qm(s,t);r?i.addEventListener("click",function(){r.object.isVisible&&r.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=F4,window.initModals=U_);var Og=globalThis&&globalThis.__assign||function(){return Og=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Og.apply(this,arguments)},du={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(){}},IE=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=du),this._targetEl=i,this._options=Og(Og({},du),s),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(s){i._targetEl.classList.add(s)}),document.addEventListener("keydown",function(s){s.key==="Escape"&&i.isVisible()&&i.hide()})},t.prototype.hide=function(){var i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.add(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._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 i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.remove(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._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 i,s=this;if(!this._visible){var a=document.createElement("div");a.setAttribute("drawer-backdrop",""),(i=a.classList).add.apply(i,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(i){switch(i){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}(),Qm=function(t,i){if(i.some(function(s){return s.id===t}))return i.find(function(s){return s.id===t})};function H_(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(i){var s=i.getAttribute("data-drawer-target"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-drawer-placement"),e=i.getAttribute("data-drawer-body-scrolling"),p=i.getAttribute("data-drawer-backdrop"),_=i.getAttribute("data-drawer-edge"),D=i.getAttribute("data-drawer-edge-offset");Qm(s,t)||t.push({id:s,object:new IE(a,{placement:r||du.placement,bodyScrolling:e?e==="true":du.bodyScrolling,backdrop:p?p==="true":du.backdrop,edge:_?_==="true":du.edge,edgeOffset:D||du.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(i){var s=i.getAttribute("data-drawer-toggle"),a=document.getElementById(s);if(a){var r=Qm(s,t);r?i.addEventListener("click",function(){r.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(i){var s=i.getAttribute("data-drawer-dismiss")?i.getAttribute("data-drawer-dismiss"):i.getAttribute("data-drawer-hide"),a=document.getElementById(s);if(a){var r=Qm(s,t);r?i.addEventListener("click",function(){r.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(i){var s=i.getAttribute("data-drawer-show"),a=document.getElementById(s);if(a){var r=Qm(s,t);r?i.addEventListener("click",function(){r.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=IE,window.initDrawers=H_);var kg=globalThis&&globalThis.__assign||function(){return kg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},kg.apply(this,arguments)},KD={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(){}},NE=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=KD),this._items=i,this._activeTab=s?this.getTab(s.defaultTabId):null,this._options=kg(kg({},KD),s),this._init()}return t.prototype._init=function(){var i=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(){i.show(s.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(i){this._activeTab=i},t.prototype.getTab=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.show=function(i,s){var a,r,e=this;s===void 0&&(s=!1);var p=this.getTab(i);p===this._activeTab&&!s||(this._items.map(function(_){var D,F;_!==p&&((D=_.triggerEl.classList).remove.apply(D,e._options.activeClasses.split(" ")),(F=_.triggerEl.classList).add.apply(F,e._options.inactiveClasses.split(" ")),_.targetEl.classList.add("hidden"),_.triggerEl.setAttribute("aria-selected","false"))}),(a=p.triggerEl.classList).add.apply(a,this._options.activeClasses.split(" ")),(r=p.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),p.triggerEl.setAttribute("aria-selected","true"),p.targetEl.classList.remove("hidden"),this._setActiveTab(p),this._options.onShow(this,p))},t}();function $_(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var i=[],s=null;t.querySelectorAll('[role="tab"]').forEach(function(a){var r=a.getAttribute("aria-selected")==="true",e={id:a.getAttribute("data-tabs-target"),triggerEl:a,targetEl:document.querySelector(a.getAttribute("data-tabs-target"))};i.push(e),r&&(s=e.id)}),new NE(i,{defaultTabId:s})})}typeof window<"u"&&(window.Tabs=NE,window.initTabs=$_);var zl=globalThis&&globalThis.__assign||function(){return zl=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},zl.apply(this,arguments)},Xm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},Rg={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},W_=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Rg),this._targetEl=i,this._triggerEl=s,this._options=zl(zl({},Rg),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.hide()})})},t.prototype._createPopperInstance=function(){return L_(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 i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.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(i){return zl(zl({},i),{modifiers:Xm(Xm([],i.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(i){return zl(zl({},i),{modifiers:Xm(Xm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function z_(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var i=t.getAttribute("data-tooltip-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-tooltip-trigger"),r=t.getAttribute("data-tooltip-placement");new W_(s,t,{placement:r||Rg.placement,triggerType:a||Rg.triggerType})}else console.error('The tooltip element with id "'.concat(i,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=W_,window.initTooltips=z_);var jl=globalThis&&globalThis.__assign||function(){return jl=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},jl.apply(this,arguments)},Jm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},Ld={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},ME=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Ld),this._targetEl=i,this._triggerEl=s,this._options=jl(jl({},Ld),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},100)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},100)})})},t.prototype._createPopperInstance=function(){return L_(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 i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.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(i){return jl(jl({},i),{modifiers:Jm(Jm([],i.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(i){return jl(jl({},i),{modifiers:Jm(Jm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function j_(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var i=t.getAttribute("data-popover-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-popover-trigger"),r=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new ME(s,t,{placement:r||Ld.placement,offset:e?parseInt(e):Ld.offset,triggerType:a||Ld.triggerType})}else console.error('The popover element with id "'.concat(i,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=ME,window.initPopovers=j_);var Pg=globalThis&&globalThis.__assign||function(){return Pg=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Pg.apply(this,arguments)},E4={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},LE=function(){function t(i,s,a,r){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=null),r===void 0&&(r=E4),this._parentEl=i,this._triggerEl=s,this._targetEl=a,this._options=Pg(Pg({},E4),r),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;if(this._triggerEl){var s=this._getTriggerEventTypes(this._options.triggerType);s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._parentEl.addEventListener(a,function(){i._parentEl.matches(":hover")||i.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(i){switch(i){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 V_(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var i=t.querySelector("[data-dial-toggle]");if(i){var s=i.getAttribute("data-dial-toggle"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-dial-trigger");new LE(t,i,a,{triggerType:r||E4.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=LE,window.initDials=V_);function JO(){C_(),T_(),A_(),S_(),B_(),U_(),H_(),$_(),z_(),j_(),V_()}typeof window<"u"&&(window.initFlowbite=JO);var ZO=new GS("load",[C_,T_,A_,S_,B_,U_,H_,$_,z_,j_,V_]);ZO.init();const ek=Tt("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1),BE=mi({__name:"Tooltip",props:{placement:null},setup(t){const i=t,s=Yt(null),a=Yt(null),r=Hr(()=>i.placement??"auto");return Ma(()=>{if(s.value&&a.value){const e={placement:r.value,triggerType:"hover"};new W_(s.value,a.value,e)}}),(e,p)=>(Br(),hn("div",null,[Tt("div",{ref_key:"tooltipTriggerEl",ref:a},[Fu(e.$slots,"default")],512),Tt("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":""},[Tt("div",null,[Fu(e.$slots,"popper")]),ek],512)]))}}),tk="0.30.0",UE="https://github.com/xcpcio/xcpcio",rk="51b444a737";var Oa=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(Oa||{}),xt=(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.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))(xt||{});const SI={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",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"},nk={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},ik={"text-center":"","w-full":""},sk=Tt("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),ak=Tt("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1),ok={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},lk={"mr-4":"","md:mr-6":""},ck=["href"],uk={flex:"","justify-center":"","items-start":"","flex-col":""},fk={"mr-4":"","md:mr-6":""},hk=Tt("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1),dk={flex:"","justify-center":"","items-start":"","flex-col":""},pk={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},mk=mi({__name:"Footer",setup(t){const i=Hr(()=>window?window.CDN_HOST:""),s=Hr(()=>window?window.DATA_HOST:""),a=Hr(()=>window?window.DATA_REGION:"");return(r,e)=>{const p=Ia("RouterLink"),_=BE;return Br(),hn("footer",nk,[Tt("div",ik,[Er(p,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:Ei(()=>[sk,co(" Get more balloons ")]),_:1}),ak,Tt("ul",ok,[Tt("li",null,[Er(p,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:Ei(()=>[co(" Home ")]),_:1})]),Tt("li",null,[Tt("div",lk,[Er(_,null,{popper:Ei(()=>[Tt("div",uk,[Tt("div",null,"Tag: "+ai(tr(tk)),1),Tt("div",null,"Sha: "+ai(tr(rk)),1)])]),default:Ei(()=>[Tt("a",{href:tr(UE),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,ck)]),_:1})])]),Tt("li",null,[Tt("div",fk,[Er(_,null,{popper:Ei(()=>[Tt("div",dk,[Tt("div",null,"CDN Host: "+ai(tr(i)),1),Tt("div",null,"DATA Host: "+ai(tr(s)),1),Tt("div",null,"Data Region: "+ai(tr(a)),1)])]),default:Ei(()=>[hk]),_:1})])])]),Tt("span",pk,[co("© 2020-PRESENT "),Er(p,{to:"/","hover:underline":""},{default:Ei(()=>[co("XCPCIO™")]),_:1}),co(". All Rights Reserved.")])])])}}});function ku(t){return Qg()?(V4(t),!0):!1}function Rb(){const t=new Set,i=r=>{t.delete(r)};return{on:r=>{t.add(r);const e=()=>i(r);return ku(e),{off:e}},off:i,trigger:r=>Promise.all(Array.from(t).map(e=>e(r)))}}function Yn(t){return typeof t=="function"?t():tr(t)}const b2=typeof window<"u",gk=t=>typeof t<"u",vk=t=>t!=null,r0=()=>{};function bk(t,i){function s(...a){return new Promise((r,e)=>{Promise.resolve(t(()=>i.apply(this,a),{fn:i,thisArg:this,args:a})).then(r).catch(e)})}return s}const HE=t=>t();function _k(t=HE){const i=Yt(!0);function s(){i.value=!1}function a(){i.value=!0}const r=(...e)=>{i.value&&t(...e)};return{isActive:_0(i),pause:s,resume:a,eventFilter:r}}function qD(t,i=!1,s="Timeout"){return new Promise((a,r)=>{setTimeout(i?()=>r(s):a,t)})}function yk(t,...i){return i.some(s=>s in t)}function Bd(...t){if(t.length!==1)return Tw(...t);const i=t[0];return typeof i=="function"?_0(Z4(()=>({get:i,set:r0}))):Yt(i)}function Dk(t,i=!0){Ti()?Ma(t):i?t():vo(t)}function x4(t,i=!1){function s(A,{flush:R="sync",deep:I=!1,timeout:N,throwOnTimeout:L}={}){let V=null;const G=[new Promise(ne=>{V=bn(t,z=>{A(z)!==i&&(V==null||V(),ne(z))},{flush:R,deep:I,immediate:!0})})];return N!=null&&G.push(qD(N,L).then(()=>Yn(t)).finally(()=>V==null?void 0:V())),Promise.race(G)}function a(A,R){if(!rn(A))return s(z=>z===A,R);const{flush:I="sync",deep:N=!1,timeout:L,throwOnTimeout:V}=R??{};let U=null;const ne=[new Promise(z=>{U=bn([t,A],([H,Z])=>{i!==(H===Z)&&(U==null||U(),z(H))},{flush:I,deep:N,immediate:!0})})];return L!=null&&ne.push(qD(L,V).then(()=>Yn(t)).finally(()=>(U==null||U(),Yn(t)))),Promise.race(ne)}function r(A){return s(R=>!!R,A)}function e(A){return a(null,A)}function p(A){return a(void 0,A)}function _(A){return s(Number.isNaN,A)}function D(A,R){return s(I=>{const N=Array.from(I);return N.includes(A)||N.includes(Yn(A))},R)}function F(A){return T(1,A)}function T(A=1,R){let I=-1;return s(()=>(I+=1,I>=A),R)}return Array.isArray(Yn(t))?{toMatch:s,toContains:D,changed:F,changedTimes:T,get not(){return x4(t,!i)}}:{toMatch:s,toBe:a,toBeTruthy:r,toBeNull:e,toBeNaN:_,toBeUndefined:p,changed:F,changedTimes:T,get not(){return x4(t,!i)}}}function wk(t){return x4(t)}function $E(t,i,s={}){const{immediate:a=!0}=s,r=Yt(!1);let e=null;function p(){e&&(clearTimeout(e),e=null)}function _(){r.value=!1,p()}function D(...F){p(),r.value=!0,e=setTimeout(()=>{r.value=!1,e=null,t(...F)},Yn(i))}return a&&(r.value=!0,b2&&D()),ku(_),{isPending:_0(r),start:D,stop:_}}function Fk(t=!1,i={}){const{truthyValue:s=!0,falsyValue:a=!1}=i,r=rn(t),e=Yt(t);function p(_){if(arguments.length)return e.value=_,e.value;{const D=Yn(s);return e.value=e.value===D?Yn(a):D,e.value}}return r?p:[e,p]}var QD=Object.getOwnPropertySymbols,Ek=Object.prototype.hasOwnProperty,xk=Object.prototype.propertyIsEnumerable,Ck=(t,i)=>{var s={};for(var a in t)Ek.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&QD)for(var a of QD(t))i.indexOf(a)<0&&xk.call(t,a)&&(s[a]=t[a]);return s};function Tk(t,i,s={}){const a=s,{eventFilter:r=HE}=a,e=Ck(a,["eventFilter"]);return bn(t,bk(r,i),e)}var Ak=Object.defineProperty,Sk=Object.defineProperties,Ok=Object.getOwnPropertyDescriptors,Ig=Object.getOwnPropertySymbols,WE=Object.prototype.hasOwnProperty,zE=Object.prototype.propertyIsEnumerable,XD=(t,i,s)=>i in t?Ak(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,kk=(t,i)=>{for(var s in i||(i={}))WE.call(i,s)&&XD(t,s,i[s]);if(Ig)for(var s of Ig(i))zE.call(i,s)&&XD(t,s,i[s]);return t},Rk=(t,i)=>Sk(t,Ok(i)),Pk=(t,i)=>{var s={};for(var a in t)WE.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&Ig)for(var a of Ig(t))i.indexOf(a)<0&&zE.call(t,a)&&(s[a]=t[a]);return s};function Ik(t,i,s={}){const a=s,{eventFilter:r}=a,e=Pk(a,["eventFilter"]),{eventFilter:p,pause:_,resume:D,isActive:F}=_k(r);return{stop:Tk(t,i,Rk(kk({},e),{eventFilter:p})),pause:_,resume:D,isActive:F}}function n0(t){var i;const s=Yn(t);return(i=s==null?void 0:s.$el)!=null?i:s}const pa=b2?window:void 0,Nk=b2?window.document:void 0,Mk=b2?window.navigator:void 0;function qo(...t){let i,s,a,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,a,r]=t,i=pa):[i,s,a,r]=t,!i)return r0;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const e=[],p=()=>{e.forEach(T=>T()),e.length=0},_=(T,A,R,I)=>(T.addEventListener(A,R,I),()=>T.removeEventListener(A,R,I)),D=bn(()=>[n0(i),Yn(r)],([T,A])=>{p(),T&&e.push(...s.flatMap(R=>a.map(I=>_(T,R,I,A))))},{immediate:!0,flush:"post"}),F=()=>{D(),p()};return ku(F),F}function Lk(t){return typeof t=="function"?t:typeof t=="string"?i=>i.key===t:Array.isArray(t)?i=>t.includes(i.key):()=>!0}function OI(...t){let i,s,a={};t.length===3?(i=t[0],s=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(i=!0,s=t[0],a=t[1]):(i=t[0],s=t[1]):(i=!0,s=t[0]);const{target:r=pa,eventName:e="keydown",passive:p=!1,dedupe:_=!1}=a,D=Lk(i);return qo(r,e,T=>{T.repeat&&Yn(_)||D(T)&&s(T)},p)}function Bk(){const t=Yt(!1);return Ti()&&Ma(()=>{t.value=!0}),t}function _2(t){const i=Bk();return Hr(()=>(i.value,!!t()))}function Uk(t,i={}){const{window:s=pa}=i,a=_2(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function");let r;const e=Yt(!1),p=F=>{e.value=F.matches},_=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",p):r.removeListener(p))},D=i_(()=>{a.value&&(_(),r=s.matchMedia(Yn(t)),"addEventListener"in r?r.addEventListener("change",p):r.addListener(p),e.value=r.matches)});return ku(()=>{D(),_(),r=void 0}),e}function kI(t={}){const{navigator:i=Mk,read:s=!1,source:a,copiedDuring:r=1500,legacy:e=!1}=t,p=_2(()=>i&&"clipboard"in i),_=Hr(()=>p.value||e),D=Yt(""),F=Yt(!1),T=$E(()=>F.value=!1,r);function A(){p.value?i.clipboard.readText().then(L=>{D.value=L}):D.value=N()}_.value&&s&&qo(["copy","cut"],A);async function R(L=Yn(a)){_.value&&L!=null&&(p.value?await i.clipboard.writeText(L):I(L),D.value=L,F.value=!0,T.start())}function I(L){const V=document.createElement("textarea");V.value=L??"",V.style.position="absolute",V.style.opacity="0",document.body.appendChild(V),V.select(),document.execCommand("copy"),V.remove()}function N(){var L,V,U;return(U=(V=(L=document==null?void 0:document.getSelection)==null?void 0:L.call(document))==null?void 0:V.toString())!=null?U:""}return{isSupported:_,text:D,copied:F,copy:R}}function Hk(t){return JSON.parse(JSON.stringify(t))}const Zm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},eg="__vueuse_ssr_handlers__",$k=Wk();function Wk(){return eg in Zm||(Zm[eg]=Zm[eg]||{}),Zm[eg]}function jE(t,i){return $k[t]||i}function zk(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"}var jk=Object.defineProperty,JD=Object.getOwnPropertySymbols,Vk=Object.prototype.hasOwnProperty,Gk=Object.prototype.propertyIsEnumerable,ZD=(t,i,s)=>i in t?jk(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,e3=(t,i)=>{for(var s in i||(i={}))Vk.call(i,s)&&ZD(t,s,i[s]);if(JD)for(var s of JD(i))Gk.call(i,s)&&ZD(t,s,i[s]);return t};const Yk={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()}},t3="vueuse-storage";function Kk(t,i,s,a={}){var r;const{flush:e="pre",deep:p=!0,listenToStorageChanges:_=!0,writeDefaults:D=!0,mergeDefaults:F=!1,shallow:T,window:A=pa,eventFilter:R,onError:I=re=>{console.error(re)}}=a,N=(T?Zf:Yt)(i);if(!s)try{s=jE("getDefaultStorage",()=>{var re;return(re=pa)==null?void 0:re.localStorage})()}catch(re){I(re)}if(!s)return N;const L=Yn(i),V=zk(L),U=(r=a.serializer)!=null?r:Yk[V],{pause:G,resume:ne}=Ik(N,()=>z(N.value),{flush:e,deep:p,eventFilter:R});return A&&_&&(qo(A,"storage",ee),qo(A,t3,Z)),ee(),N;function z(re){try{if(re==null)s.removeItem(t);else{const te=U.write(re),ae=s.getItem(t);ae!==te&&(s.setItem(t,te),A&&A.dispatchEvent(new CustomEvent(t3,{detail:{key:t,oldValue:ae,newValue:te,storageArea:s}})))}}catch(te){I(te)}}function H(re){const te=re?re.newValue:s.getItem(t);if(te==null)return D&&L!==null&&s.setItem(t,U.write(L)),L;if(!re&&F){const ae=U.read(te);return typeof F=="function"?F(ae,L):V==="object"&&!Array.isArray(ae)?e3(e3({},L),ae):ae}else return typeof te!="string"?te:U.read(te)}function Z(re){ee(re.detail)}function ee(re){if(!(re&&re.storageArea!==s)){if(re&&re.key==null){N.value=L;return}if(!(re&&re.key!==t)){G();try{N.value=H(re)}catch(te){I(te)}finally{re?vo(ne):ne()}}}}}function VE(t){return Uk("(prefers-color-scheme: dark)",t)}var qk=Object.defineProperty,r3=Object.getOwnPropertySymbols,Qk=Object.prototype.hasOwnProperty,Xk=Object.prototype.propertyIsEnumerable,n3=(t,i,s)=>i in t?qk(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,Jk=(t,i)=>{for(var s in i||(i={}))Qk.call(i,s)&&n3(t,s,i[s]);if(r3)for(var s of r3(i))Xk.call(i,s)&&n3(t,s,i[s]);return t};function Zk(t={}){const{selector:i="html",attribute:s="class",initialValue:a="auto",window:r=pa,storage:e,storageKey:p="vueuse-color-scheme",listenToStorageChanges:_=!0,storageRef:D,emitAuto:F,disableTransition:T=!0}=t,A=Jk({auto:"",light:"light",dark:"dark"},t.modes||{}),R=VE({window:r}),I=Hr(()=>R.value?"dark":"light"),N=D||(p==null?Bd(a):Kk(p,a,e,{window:r,listenToStorageChanges:_})),L=Hr(()=>N.value==="auto"?I.value:N.value),V=jE("updateHTMLAttrs",(z,H,Z)=>{const ee=typeof z=="string"?r==null?void 0:r.document.querySelector(z):n0(z);if(!ee)return;let re;if(T){re=r.document.createElement("style");const te="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";re.appendChild(document.createTextNode(te)),r.document.head.appendChild(re)}if(H==="class"){const te=Z.split(/\s/g);Object.values(A).flatMap(ae=>(ae||"").split(/\s/g)).filter(Boolean).forEach(ae=>{te.includes(ae)?ee.classList.add(ae):ee.classList.remove(ae)})}else ee.setAttribute(H,Z);T&&(r.getComputedStyle(re).opacity,document.head.removeChild(re))});function U(z){var H;V(i,s,(H=A[z])!=null?H:z)}function G(z){t.onChanged?t.onChanged(z,U):U(z)}bn(L,G,{flush:"post",immediate:!0}),Dk(()=>G(L.value));const ne=Hr({get(){return F?N.value:L.value},set(z){N.value=z}});try{return Object.assign(ne,{store:N,system:I,state:L})}catch{return ne}}var i3=Object.getOwnPropertySymbols,e7=Object.prototype.hasOwnProperty,t7=Object.prototype.propertyIsEnumerable,r7=(t,i)=>{var s={};for(var a in t)e7.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&i3)for(var a of i3(t))i.indexOf(a)<0&&t7.call(t,a)&&(s[a]=t[a]);return s};function n7(t,i,s={}){const a=s,{window:r=pa}=a,e=r7(a,["window"]);let p;const _=_2(()=>r&&"MutationObserver"in r),D=()=>{p&&(p.disconnect(),p=void 0)},F=bn(()=>n0(t),A=>{D(),_.value&&r&&A&&(p=new MutationObserver(i),p.observe(A,e))},{immediate:!0}),T=()=>{D(),F()};return ku(T),{isSupported:_,stop:T}}var i7=Object.defineProperty,s7=Object.defineProperties,a7=Object.getOwnPropertyDescriptors,s3=Object.getOwnPropertySymbols,o7=Object.prototype.hasOwnProperty,l7=Object.prototype.propertyIsEnumerable,a3=(t,i,s)=>i in t?i7(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,c7=(t,i)=>{for(var s in i||(i={}))o7.call(i,s)&&a3(t,s,i[s]);if(s3)for(var s of s3(i))l7.call(i,s)&&a3(t,s,i[s]);return t},u7=(t,i)=>s7(t,a7(i));function f7(t={}){const{valueDark:i="dark",valueLight:s=""}=t,a=Zk(u7(c7({},t),{onChanged:(e,p)=>{var _;t.onChanged?(_=t.onChanged)==null||_.call(t,e==="dark",p,e):p(e)},modes:{dark:i,light:s}}));return Hr({get(){return a.value==="dark"},set(e){const p=e?"dark":"light";a.system.value===p?a.value="auto":a.value=p}})}function h7(t,i,s={}){const{root:a,rootMargin:r="0px",threshold:e=.1,window:p=pa,immediate:_=!0}=s,D=_2(()=>p&&"IntersectionObserver"in p),F=Hr(()=>{const N=Yn(t);return(Array.isArray(N)?N:[N]).map(n0).filter(vk)});let T=r0;const A=Yt(_),R=D.value?bn(()=>[F.value,n0(a),A.value],([N,L])=>{if(T(),!A.value||!N.length)return;const V=new IntersectionObserver(i,{root:n0(L),rootMargin:r,threshold:e});N.forEach(U=>U&&V.observe(U)),T=()=>{V.disconnect(),T=r0}},{immediate:_,flush:"post"}):r0,I=()=>{T(),R(),A.value=!1};return ku(I),{isSupported:D,isActive:A,pause(){T(),A.value=!1},resume(){A.value=!0},stop:I}}function d7(t,{window:i=pa,scrollTarget:s}={}){const a=Yt(!1);return h7(t,([{isIntersecting:r}])=>{a.value=r},{root:s,window:i}),a}var p7=Object.defineProperty,m7=Object.defineProperties,g7=Object.getOwnPropertyDescriptors,o3=Object.getOwnPropertySymbols,v7=Object.prototype.hasOwnProperty,b7=Object.prototype.propertyIsEnumerable,l3=(t,i,s)=>i in t?p7(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,gs=(t,i)=>{for(var s in i||(i={}))v7.call(i,s)&&l3(t,s,i[s]);if(o3)for(var s of o3(i))b7.call(i,s)&&l3(t,s,i[s]);return t},yd=(t,i)=>m7(t,g7(i));const _7={json:"application/json",text:"text/plain"};function c3(t){return t&&yk(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Pb(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries([...t.entries()]):t}function y7(t,...i){var s;const a=typeof AbortController=="function";let r={},e={immediate:!0,refetch:!1,timeout:0};const p={method:"GET",type:"text",payload:void 0};i.length>0&&(c3(i[0])?e=gs(gs({},e),i[0]):r=i[0]),i.length>1&&c3(i[1])&&(e=gs(gs({},e),i[1]));const{fetch:_=(s=pa)==null?void 0:s.fetch,initialData:D,timeout:F}=e,T=Rb(),A=Rb(),R=Rb(),I=Yt(!1),N=Yt(!1),L=Yt(!1),V=Yt(null),U=Zf(null),G=Zf(null),ne=Zf(D||null),z=Hr(()=>a&&N.value);let H,Z;const ee=()=>{a&&(H==null||H.abort(),H=new AbortController,H.signal.onabort=()=>L.value=!0,r=yd(gs({},r),{signal:H.signal}))},re=Ne=>{N.value=Ne,I.value=!Ne};F&&(Z=$E(ee,F,{immediate:!1}));const te=async(Ne=!1)=>{var We;ee(),re(!0),G.value=null,V.value=null,L.value=!1;const Se={method:p.method,headers:{}};if(p.payload){const he=Pb(Se.headers),He=Yn(p.payload);!p.payloadType&&He&&Object.getPrototypeOf(He)===Object.prototype&&!(He instanceof FormData)&&(p.payloadType="json"),p.payloadType&&(he["Content-Type"]=(We=_7[p.payloadType])!=null?We:p.payloadType),Se.body=p.payloadType==="json"?JSON.stringify(He):He}let lt=!1;const at={url:Yn(t),options:gs(gs({},Se),r),cancel:()=>{lt=!0}};if(e.beforeFetch&&Object.assign(at,await e.beforeFetch(at)),lt||!_)return re(!1),Promise.resolve(null);let ze=null;return Z&&Z.start(),new Promise((he,He)=>{var Je;_(at.url,yd(gs(gs({},Se),at.options),{headers:gs(gs({},Pb(Se.headers)),Pb((Je=at.options)==null?void 0:Je.headers))})).then(async Ue=>{if(U.value=Ue,V.value=Ue.status,ze=await Ue[p.type](),!Ue.ok)throw ne.value=D||null,new Error(Ue.statusText);return e.afterFetch&&({data:ze}=await e.afterFetch({data:ze,response:Ue})),ne.value=ze,T.trigger(Ue),he(Ue)}).catch(async Ue=>{let be=Ue.message||Ue.name;return e.onFetchError&&({error:be}=await e.onFetchError({data:ze,error:Ue,response:U.value})),G.value=be,A.trigger(Ue),Ne?He(Ue):he(null)}).finally(()=>{re(!1),Z&&Z.stop(),R.trigger(null)})})},ae=Bd(e.refetch);bn([ae,Bd(t)],([Ne])=>Ne&&te(),{deep:!0});const ve={isFinished:I,statusCode:V,response:U,error:G,data:ne,isFetching:N,canAbort:z,aborted:L,abort:ee,execute:te,onFetchResponse:T.on,onFetchError:A.on,onFetchFinally:R.on,get:Ae("GET"),put:Ae("PUT"),post:Ae("POST"),delete:Ae("DELETE"),patch:Ae("PATCH"),head:Ae("HEAD"),options:Ae("OPTIONS"),json:ge("json"),text:ge("text"),blob:ge("blob"),arrayBuffer:ge("arrayBuffer"),formData:ge("formData")};function Ae(Ne){return(We,Se)=>{if(!N.value)return p.method=Ne,p.payload=We,p.payloadType=Se,rn(p.payload)&&bn([ae,Bd(p.payload)],([lt])=>lt&&te(),{deep:!0}),yd(gs({},ve),{then(lt,at){return De().then(lt,at)}})}}function De(){return new Promise((Ne,We)=>{wk(I).toBe(!0).then(()=>Ne(ve)).catch(Se=>We(Se))})}function ge(Ne){return()=>{if(!N.value)return p.type=Ne,yd(gs({},ve),{then(We,Se){return De().then(We,Se)}})}}return e.immediate&&Promise.resolve().then(()=>te()),yd(gs({},ve),{then(Ne,We){return De().then(Ne,We)}})}const D7={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function RI(t={}){const{reactive:i=!1,target:s=pa,aliasMap:a=D7,passive:r=!0,onEventFired:e=r0}=t,p=Jl(new Set),_={toJSON(){return{}},current:p},D=i?Jl(_):_,F=new Set,T=new Set;function A(L,V){L in D&&(i?D[L]=V:D[L].value=V)}function R(){p.clear();for(const L of T)A(L,!1)}function I(L,V){var U,G;const ne=(U=L.key)==null?void 0:U.toLowerCase(),H=[(G=L.code)==null?void 0:G.toLowerCase(),ne].filter(Boolean);ne&&(V?p.add(ne):p.delete(ne));for(const Z of H)T.add(Z),A(Z,V);ne==="meta"&&!V?(F.forEach(Z=>{p.delete(Z),A(Z,!1)}),F.clear()):typeof L.getModifierState=="function"&&L.getModifierState("Meta")&&V&&[...p,...H].forEach(Z=>F.add(Z))}qo(s,"keydown",L=>(I(L,!0),e(L)),{passive:r}),qo(s,"keyup",L=>(I(L,!1),e(L)),{passive:r}),qo("blur",R,{passive:!0}),qo("focus",R,{passive:!0});const N=new Proxy(D,{get(L,V,U){if(typeof V!="string")return Reflect.get(L,V,U);if(V=V.toLowerCase(),V in a&&(V=a[V]),!(V in D))if(/[+_-]/.test(V)){const ne=V.split(/[+_-]/g).map(z=>z.trim());D[V]=Hr(()=>ne.every(z=>Yn(N[z])))}else D[V]=Yt(!1);const G=Reflect.get(L,V,U);return i?Yn(G):G}});return N}function w7(t=null,i={}){var s,a;const{document:r=Nk}=i,e=Bd((s=t??(r==null?void 0:r.title))!=null?s:null),p=t&&typeof t=="function";function _(D){if(!("titleTemplate"in i))return D;const F=i.titleTemplate||"%s";return typeof F=="function"?F(D):Yn(F).replace(/%s/g,D)}return bn(e,(D,F)=>{D!==F&&r&&(r.title=_(typeof D=="string"?D:""))},{immediate:!0}),i.observe&&!i.titleTemplate&&r&&!p&&n7((a=r.head)==null?void 0:a.querySelector("title"),()=>{r&&r.title!==e.value&&(e.value=_(r.title))},{childList:!0}),e}function u3(t,i,s,a={}){var r,e,p;const{clone:_=!1,passive:D=!1,eventName:F,deep:T=!1,defaultValue:A,shouldEmit:R}=a,I=Ti(),N=s||(I==null?void 0:I.emit)||((r=I==null?void 0:I.$emit)==null?void 0:r.bind(I))||((p=(e=I==null?void 0:I.proxy)==null?void 0:e.$emit)==null?void 0:p.bind(I==null?void 0:I.proxy));let L=F;i||(i="modelValue"),L=L||`update:${i.toString()}`;const V=ne=>_?typeof _=="function"?_(ne):Hk(ne):ne,U=()=>gk(t[i])?V(t[i]):A,G=ne=>{R?R(ne)&&N(L,ne):N(L,ne)};if(D){const ne=U(),z=Yt(ne);return bn(()=>t[i],H=>z.value=V(H)),bn(z,H=>{(H!==t[i]||T)&&G(H)},{deep:T}),z}else return Hr({get(){return U()},set(ne){G(ne)}})}function F7({window:t=pa}={}){if(!t)return{x:Yt(0),y:Yt(0)};const i=Yt(t.scrollX),s=Yt(t.scrollY);return qo(t,"scroll",()=>{i.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:s}}const GE=f7(),E7=Fk(GE),x7=VE(),D0=t=>(s2("data-v-a79e7085"),t=t(),a2(),t),C7=D0(()=>Tt("div",{"i-ri-arrow-up-line":""},null,-1)),T7=[C7],A7=D0(()=>Tt("div",{class:"spacer"},null,-1)),S7={class:"right","print:op0":""},O7=D0(()=>Tt("div",{"i-ion-balloon-sharp":""},null,-1)),k7=["title"],R7=D0(()=>Tt("div",{"i-carbon-language":""},null,-1)),P7=[R7],I7=["title"],N7=D0(()=>Tt("div",{i:"carbon-sun dark:carbon-moon"},null,-1)),M7=[N7],L7=["href"],B7=D0(()=>Tt("div",{"i-carbon-logo-github":""},null,-1)),U7=[B7],H7=mi({__name:"NavBar",props:{width:null},setup(t){const i=t,{t:s,locale:a}=y0(),{y:r}=F7();function e(){window.scrollTo({top:0,behavior:"smooth"})}async function p(){const _=qF,D=_[(_.indexOf(a.value)+1)%_.length];await F_(D),a.value=D}return(_,D)=>{const F=Ia("RouterLink");return Br(),hn("header",{class:ns(["header z-40",[(i==null?void 0:i.width)??""]])},[Tt("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:ns(tr(r)>300?"op30":"op0! pointer-events-none"),onClick:D[0]||(D[0]=T=>e())},T7,2),Tt("nav",{class:ns(["nav",[i!=null&&i.width?"":"fixed"]]),"text-xl":""},[A7,Tt("div",S7,[Er(F,{"icon-btn":"",title:tr(s)("button.home"),to:"/",focusable:"false"},{default:Ei(()=>[O7]),_:1},8,["title"]),Tt("a",{"icon-btn":"",title:tr(s)("button.toggle_langs"),onClick:D[1]||(D[1]=T=>p())},P7,8,k7),Tt("a",{"icon-btn":"",title:tr(s)("button.toggle_dark"),onClick:D[2]||(D[2]=T=>("toggleDark"in _?_.toggleDark:tr(E7))())},M7,8,I7),Tt("a",{"icon-btn":"",rel:"noreferrer",href:tr(UE),target:"_blank",title:"GitHub"},U7,8,L7)])],2)],2)}}});const w0=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s},$7=w0(H7,[["__scopeId","data-v-a79e7085"]]),W7={},z7={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function j7(t,i){const s=$7,a=Ia("RouterView"),r=mk;return Br(),hn(Gn,null,[Er(s),Tt("main",z7,[Er(a),Er(r)])],64)}const V7=w0(W7,[["render",j7]]),G7={"board-layout":()=>Us(()=>import("./board-layout-1eaf73df.js"),[],import.meta.url),default:V7,headless:()=>Us(()=>import("./headless-e800ef5b.js"),[],import.meta.url),home:()=>Us(()=>import("./home-2a74cabc.js"),[],import.meta.url),"index-layout":()=>Us(()=>import("./index-layout-a0249ba4.js"),[],import.meta.url)};function Y7(t){return t.map(i=>{var s;return{path:i.path,meta:i.meta,component:G7[((s=i.meta)==null?void 0:s.layout)||"default"],children:i.path==="/"?[i]:[{...i,path:""}]}})}const K7=["top","right","bottom","left"],f3=["start","end"],h3=K7.reduce((t,i)=>t.concat(i,i+"-"+f3[0],i+"-"+f3[1]),[]),n1=Math.min,cu=Math.max,q7={left:"right",right:"left",bottom:"top",top:"bottom"},Q7={start:"end",end:"start"};function C4(t,i,s){return cu(t,n1(i,s))}function Ru(t,i){return typeof t=="function"?t(i):t}function go(t){return t.split("-")[0]}function Pa(t){return t.split("-")[1]}function YE(t){return t==="x"?"y":"x"}function G_(t){return t==="y"?"height":"width"}function v1(t){return["top","bottom"].includes(go(t))?"y":"x"}function Y_(t){return YE(v1(t))}function KE(t,i,s){s===void 0&&(s=!1);const a=Pa(t),r=Y_(t),e=G_(r);let p=r==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return i.reference[e]>i.floating[e]&&(p=Mg(p)),[p,Mg(p)]}function X7(t){const i=Mg(t);return[Ng(t),i,Ng(i)]}function Ng(t){return t.replace(/start|end/g,i=>Q7[i])}function J7(t,i,s){const a=["left","right"],r=["right","left"],e=["top","bottom"],p=["bottom","top"];switch(t){case"top":case"bottom":return s?i?r:a:i?a:r;case"left":case"right":return i?e:p;default:return[]}}function Z7(t,i,s,a){const r=Pa(t);let e=J7(go(t),s==="start",a);return r&&(e=e.map(p=>p+"-"+r),i&&(e=e.concat(e.map(Ng)))),e}function Mg(t){return t.replace(/left|right|bottom|top/g,i=>q7[i])}function e9(t){return{top:0,right:0,bottom:0,left:0,...t}}function qE(t){return typeof t!="number"?e9(t):{top:t,right:t,bottom:t,left:t}}function Ud(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function d3(t,i,s){let{reference:a,floating:r}=t;const e=v1(i),p=Y_(i),_=G_(p),D=go(i),F=e==="y",T=a.x+a.width/2-r.width/2,A=a.y+a.height/2-r.height/2,R=a[_]/2-r[_]/2;let I;switch(D){case"top":I={x:T,y:a.y-r.height};break;case"bottom":I={x:T,y:a.y+a.height};break;case"right":I={x:a.x+a.width,y:A};break;case"left":I={x:a.x-r.width,y:A};break;default:I={x:a.x,y:a.y}}switch(Pa(i)){case"start":I[p]-=R*(s&&F?-1:1);break;case"end":I[p]+=R*(s&&F?-1:1);break}return I}const t9=async(t,i,s)=>{const{placement:a="bottom",strategy:r="absolute",middleware:e=[],platform:p}=s,_=e.filter(Boolean),D=await(p.isRTL==null?void 0:p.isRTL(i));let F=await p.getElementRects({reference:t,floating:i,strategy:r}),{x:T,y:A}=d3(F,a,D),R=a,I={},N=0;for(let L=0;L<_.length;L++){const{name:V,fn:U}=_[L],{x:G,y:ne,data:z,reset:H}=await U({x:T,y:A,initialPlacement:a,placement:R,strategy:r,middlewareData:I,rects:F,platform:p,elements:{reference:t,floating:i}});if(T=G??T,A=ne??A,I={...I,[V]:{...I[V],...z}},H&&N<=50){N++,typeof H=="object"&&(H.placement&&(R=H.placement),H.rects&&(F=H.rects===!0?await p.getElementRects({reference:t,floating:i,strategy:r}):H.rects),{x:T,y:A}=d3(F,R,D)),L=-1;continue}}return{x:T,y:A,placement:R,strategy:r,middlewareData:I}};async function y2(t,i){var s;i===void 0&&(i={});const{x:a,y:r,platform:e,rects:p,elements:_,strategy:D}=t,{boundary:F="clippingAncestors",rootBoundary:T="viewport",elementContext:A="floating",altBoundary:R=!1,padding:I=0}=Ru(i,t),N=qE(I),V=_[R?A==="floating"?"reference":"floating":A],U=Ud(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(_.floating)),boundary:F,rootBoundary:T,strategy:D})),G=A==="floating"?{...p.floating,x:a,y:r}:p.reference,ne=await(e.getOffsetParent==null?void 0:e.getOffsetParent(_.floating)),z=await(e.isElement==null?void 0:e.isElement(ne))?await(e.getScale==null?void 0:e.getScale(ne))||{x:1,y:1}:{x:1,y:1},H=Ud(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({rect:G,offsetParent:ne,strategy:D}):G);return{top:(U.top-H.top+N.top)/z.y,bottom:(H.bottom-U.bottom+N.bottom)/z.y,left:(U.left-H.left+N.left)/z.x,right:(H.right-U.right+N.right)/z.x}}const r9=t=>({name:"arrow",options:t,async fn(i){const{x:s,y:a,placement:r,rects:e,platform:p,elements:_}=i,{element:D,padding:F=0}=Ru(t,i)||{};if(D==null)return{};const T=qE(F),A={x:s,y:a},R=Y_(r),I=G_(R),N=await p.getDimensions(D),L=R==="y",V=L?"top":"left",U=L?"bottom":"right",G=L?"clientHeight":"clientWidth",ne=e.reference[I]+e.reference[R]-A[R]-e.floating[I],z=A[R]-e.reference[R],H=await(p.getOffsetParent==null?void 0:p.getOffsetParent(D));let Z=H?H[G]:0;(!Z||!await(p.isElement==null?void 0:p.isElement(H)))&&(Z=_.floating[G]||e.floating[I]);const ee=ne/2-z/2,re=Z/2-N[I]/2-1,te=n1(T[V],re),ae=n1(T[U],re),ve=te,Ae=Z-N[I]-ae,De=Z/2-N[I]/2+ee,ge=C4(ve,De,Ae),We=Pa(r)!=null&&De!=ge&&e.reference[I]/2-(De<ve?te:ae)-N[I]/2<0?De<ve?ve-De:Ae-De:0;return{[R]:A[R]-We,data:{[R]:ge,centerOffset:De-ge+We}}}});function n9(t,i,s){return(t?[...s.filter(r=>Pa(r)===t),...s.filter(r=>Pa(r)!==t)]:s.filter(r=>go(r)===r)).filter(r=>t?Pa(r)===t||(i?Ng(r)!==r:!1):!0)}const i9=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(i){var s,a,r;const{rects:e,middlewareData:p,placement:_,platform:D,elements:F}=i,{crossAxis:T=!1,alignment:A,allowedPlacements:R=h3,autoAlignment:I=!0,...N}=Ru(t,i),L=A!==void 0||R===h3?n9(A||null,I,R):R,V=await y2(i,N),U=((s=p.autoPlacement)==null?void 0:s.index)||0,G=L[U];if(G==null)return{};const ne=KE(G,e,await(D.isRTL==null?void 0:D.isRTL(F.floating)));if(_!==G)return{reset:{placement:L[0]}};const z=[V[go(G)],V[ne[0]],V[ne[1]]],H=[...((a=p.autoPlacement)==null?void 0:a.overflows)||[],{placement:G,overflows:z}],Z=L[U+1];if(Z)return{data:{index:U+1,overflows:H},reset:{placement:Z}};const ee=H.map(ae=>{const ve=Pa(ae.placement);return[ae.placement,ve&&T?ae.overflows.slice(0,2).reduce((Ae,De)=>Ae+De,0):ae.overflows[0],ae.overflows]}).sort((ae,ve)=>ae[1]-ve[1]),te=((r=ee.filter(ae=>ae[2].slice(0,Pa(ae[0])?2:3).every(ve=>ve<=0))[0])==null?void 0:r[0])||ee[0][0];return te!==_?{data:{index:U+1,overflows:H},reset:{placement:te}}:{}}}},s9=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(i){var s;const{placement:a,middlewareData:r,rects:e,initialPlacement:p,platform:_,elements:D}=i,{mainAxis:F=!0,crossAxis:T=!0,fallbackPlacements:A,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:I="none",flipAlignment:N=!0,...L}=Ru(t,i),V=go(a),U=go(p)===p,G=await(_.isRTL==null?void 0:_.isRTL(D.floating)),ne=A||(U||!N?[Mg(p)]:X7(p));!A&&I!=="none"&&ne.push(...Z7(p,N,I,G));const z=[p,...ne],H=await y2(i,L),Z=[];let ee=((s=r.flip)==null?void 0:s.overflows)||[];if(F&&Z.push(H[V]),T){const ve=KE(a,e,G);Z.push(H[ve[0]],H[ve[1]])}if(ee=[...ee,{placement:a,overflows:Z}],!Z.every(ve=>ve<=0)){var re,te;const ve=(((re=r.flip)==null?void 0:re.index)||0)+1,Ae=z[ve];if(Ae)return{data:{index:ve,overflows:ee},reset:{placement:Ae}};let De=(te=ee.filter(ge=>ge.overflows[0]<=0).sort((ge,Ne)=>ge.overflows[1]-Ne.overflows[1])[0])==null?void 0:te.placement;if(!De)switch(R){case"bestFit":{var ae;const ge=(ae=ee.map(Ne=>[Ne.placement,Ne.overflows.filter(We=>We>0).reduce((We,Se)=>We+Se,0)]).sort((Ne,We)=>Ne[1]-We[1])[0])==null?void 0:ae[0];ge&&(De=ge);break}case"initialPlacement":De=p;break}if(a!==De)return{reset:{placement:De}}}return{}}}};async function a9(t,i){const{placement:s,platform:a,elements:r}=t,e=await(a.isRTL==null?void 0:a.isRTL(r.floating)),p=go(s),_=Pa(s),D=v1(s)==="y",F=["left","top"].includes(p)?-1:1,T=e&&D?-1:1,A=Ru(i,t);let{mainAxis:R,crossAxis:I,alignmentAxis:N}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...A};return _&&typeof N=="number"&&(I=_==="end"?N*-1:N),D?{x:I*T,y:R*F}:{x:R*F,y:I*T}}const o9=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(i){const{x:s,y:a}=i,r=await a9(i,t);return{x:s+r.x,y:a+r.y,data:r}}}},l9=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(i){const{x:s,y:a,placement:r}=i,{mainAxis:e=!0,crossAxis:p=!1,limiter:_={fn:V=>{let{x:U,y:G}=V;return{x:U,y:G}}},...D}=Ru(t,i),F={x:s,y:a},T=await y2(i,D),A=v1(go(r)),R=YE(A);let I=F[R],N=F[A];if(e){const V=R==="y"?"top":"left",U=R==="y"?"bottom":"right",G=I+T[V],ne=I-T[U];I=C4(G,I,ne)}if(p){const V=A==="y"?"top":"left",U=A==="y"?"bottom":"right",G=N+T[V],ne=N-T[U];N=C4(G,N,ne)}const L=_.fn({...i,[R]:I,[A]:N});return{...L,data:{x:L.x-s,y:L.y-a}}}}},c9=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(i){const{placement:s,rects:a,platform:r,elements:e}=i,{apply:p=()=>{},..._}=Ru(t,i),D=await y2(i,_),F=go(s),T=Pa(s),A=v1(s)==="y",{width:R,height:I}=a.floating;let N,L;F==="top"||F==="bottom"?(N=F,L=T===(await(r.isRTL==null?void 0:r.isRTL(e.floating))?"start":"end")?"left":"right"):(L=F,N=T==="end"?"top":"bottom");const V=I-D[N],U=R-D[L],G=!i.middlewareData.shift;let ne=V,z=U;if(A){const Z=R-D.left-D.right;z=T||G?n1(U,Z):Z}else{const Z=I-D.top-D.bottom;ne=T||G?n1(V,Z):Z}if(G&&!T){const Z=cu(D.left,0),ee=cu(D.right,0),re=cu(D.top,0),te=cu(D.bottom,0);A?z=R-2*(Z!==0||ee!==0?Z+ee:cu(D.left,D.right)):ne=I-2*(re!==0||te!==0?re+te:cu(D.top,D.bottom))}await p({...i,availableWidth:z,availableHeight:ne});const H=await r.getDimensions(e.floating);return R!==H.width||I!==H.height?{reset:{rects:!0}}:{}}}};function la(t){var i;return((i=t.ownerDocument)==null?void 0:i.defaultView)||window}function fo(t){return la(t).getComputedStyle(t)}const p3=Math.min,Hd=Math.max,Lg=Math.round;function QE(t){const i=fo(t);let s=parseFloat(i.width),a=parseFloat(i.height);const r=t.offsetWidth,e=t.offsetHeight,p=Lg(s)!==r||Lg(a)!==e;return p&&(s=r,a=e),{width:s,height:a,fallback:p}}function nc(t){return JE(t)?(t.nodeName||"").toLowerCase():""}let tg;function XE(){if(tg)return tg;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(tg=t.brands.map(i=>i.brand+"/"+i.version).join(" "),tg):navigator.userAgent}function ho(t){return t instanceof la(t).HTMLElement}function Kl(t){return t instanceof la(t).Element}function JE(t){return t instanceof la(t).Node}function m3(t){return typeof ShadowRoot>"u"?!1:t instanceof la(t).ShadowRoot||t instanceof ShadowRoot}function D2(t){const{overflow:i,overflowX:s,overflowY:a,display:r}=fo(t);return/auto|scroll|overlay|hidden|clip/.test(i+a+s)&&!["inline","contents"].includes(r)}function u9(t){return["table","td","th"].includes(nc(t))}function T4(t){const i=/firefox/i.test(XE()),s=fo(t),a=s.backdropFilter||s.WebkitBackdropFilter;return s.transform!=="none"||s.perspective!=="none"||!!a&&a!=="none"||i&&s.willChange==="filter"||i&&!!s.filter&&s.filter!=="none"||["transform","perspective"].some(r=>s.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const e=s.contain;return e!=null&&e.includes(r)})}function ZE(){return!/^((?!chrome|android).)*safari/i.test(XE())}function K_(t){return["html","body","#document"].includes(nc(t))}function e6(t){return Kl(t)?t:t.contextElement}const t6={x:1,y:1};function i0(t){const i=e6(t);if(!ho(i))return t6;const s=i.getBoundingClientRect(),{width:a,height:r,fallback:e}=QE(i);let p=(e?Lg(s.width):s.width)/a,_=(e?Lg(s.height):s.height)/r;return p&&Number.isFinite(p)||(p=1),_&&Number.isFinite(_)||(_=1),{x:p,y:_}}function i1(t,i,s,a){var r,e;i===void 0&&(i=!1),s===void 0&&(s=!1);const p=t.getBoundingClientRect(),_=e6(t);let D=t6;i&&(a?Kl(a)&&(D=i0(a)):D=i0(t));const F=_?la(_):window,T=!ZE()&&s;let A=(p.left+(T&&((r=F.visualViewport)==null?void 0:r.offsetLeft)||0))/D.x,R=(p.top+(T&&((e=F.visualViewport)==null?void 0:e.offsetTop)||0))/D.y,I=p.width/D.x,N=p.height/D.y;if(_){const L=la(_),V=a&&Kl(a)?la(a):a;let U=L.frameElement;for(;U&&a&&V!==L;){const G=i0(U),ne=U.getBoundingClientRect(),z=getComputedStyle(U);ne.x+=(U.clientLeft+parseFloat(z.paddingLeft))*G.x,ne.y+=(U.clientTop+parseFloat(z.paddingTop))*G.y,A*=G.x,R*=G.y,I*=G.x,N*=G.y,A+=ne.x,R+=ne.y,U=la(U).frameElement}}return{width:I,height:N,top:R,right:A+I,bottom:R+N,left:A,x:A,y:R}}function ql(t){return((JE(t)?t.ownerDocument:t.document)||window.document).documentElement}function w2(t){return Kl(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function r6(t){return i1(ql(t)).left+w2(t).scrollLeft}function s1(t){if(nc(t)==="html")return t;const i=t.assignedSlot||t.parentNode||m3(t)&&t.host||ql(t);return m3(i)?i.host:i}function n6(t){const i=s1(t);return K_(i)?i.ownerDocument.body:ho(i)&&D2(i)?i:n6(i)}function Bg(t,i){var s;i===void 0&&(i=[]);const a=n6(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=la(a);return r?i.concat(e,e.visualViewport||[],D2(a)?a:[]):i.concat(a,Bg(a))}function g3(t,i,s){return i==="viewport"?Ud(function(a,r){const e=la(a),p=ql(a),_=e.visualViewport;let D=p.clientWidth,F=p.clientHeight,T=0,A=0;if(_){D=_.width,F=_.height;const R=ZE();(R||!R&&r==="fixed")&&(T=_.offsetLeft,A=_.offsetTop)}return{width:D,height:F,x:T,y:A}}(t,s)):Kl(i)?Ud(function(a,r){const e=i1(a,!0,r==="fixed"),p=e.top+a.clientTop,_=e.left+a.clientLeft,D=ho(a)?i0(a):{x:1,y:1};return{width:a.clientWidth*D.x,height:a.clientHeight*D.y,x:_*D.x,y:p*D.y}}(i,s)):Ud(function(a){const r=ql(a),e=w2(a),p=a.ownerDocument.body,_=Hd(r.scrollWidth,r.clientWidth,p.scrollWidth,p.clientWidth),D=Hd(r.scrollHeight,r.clientHeight,p.scrollHeight,p.clientHeight);let F=-e.scrollLeft+r6(a);const T=-e.scrollTop;return fo(p).direction==="rtl"&&(F+=Hd(r.clientWidth,p.clientWidth)-_),{width:_,height:D,x:F,y:T}}(ql(t)))}function v3(t){return ho(t)&&fo(t).position!=="fixed"?t.offsetParent:null}function b3(t){const i=la(t);let s=v3(t);for(;s&&u9(s)&&fo(s).position==="static";)s=v3(s);return s&&(nc(s)==="html"||nc(s)==="body"&&fo(s).position==="static"&&!T4(s))?i:s||function(a){let r=s1(a);for(;ho(r)&&!K_(r);){if(T4(r))return r;r=s1(r)}return null}(t)||i}function f9(t,i,s){const a=ho(i),r=ql(i),e=i1(t,!0,s==="fixed",i);let p={scrollLeft:0,scrollTop:0};const _={x:0,y:0};if(a||!a&&s!=="fixed")if((nc(i)!=="body"||D2(r))&&(p=w2(i)),ho(i)){const D=i1(i,!0);_.x=D.x+i.clientLeft,_.y=D.y+i.clientTop}else r&&(_.x=r6(r));return{x:e.left+p.scrollLeft-_.x,y:e.top+p.scrollTop-_.y,width:e.width,height:e.height}}const h9={getClippingRect:function(t){let{element:i,boundary:s,rootBoundary:a,strategy:r}=t;const e=s==="clippingAncestors"?function(F,T){const A=T.get(F);if(A)return A;let R=Bg(F).filter(V=>Kl(V)&&nc(V)!=="body"),I=null;const N=fo(F).position==="fixed";let L=N?s1(F):F;for(;Kl(L)&&!K_(L);){const V=fo(L),U=T4(L);(N?U||I:U||V.position!=="static"||!I||!["absolute","fixed"].includes(I.position))?I=V:R=R.filter(G=>G!==L),L=s1(L)}return T.set(F,R),R}(i,this._c):[].concat(s),p=[...e,a],_=p[0],D=p.reduce((F,T)=>{const A=g3(i,T,r);return F.top=Hd(A.top,F.top),F.right=p3(A.right,F.right),F.bottom=p3(A.bottom,F.bottom),F.left=Hd(A.left,F.left),F},g3(i,_,r));return{width:D.right-D.left,height:D.bottom-D.top,x:D.left,y:D.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:i,offsetParent:s,strategy:a}=t;const r=ho(s),e=ql(s);if(s===e)return i;let p={scrollLeft:0,scrollTop:0},_={x:1,y:1};const D={x:0,y:0};if((r||!r&&a!=="fixed")&&((nc(s)!=="body"||D2(e))&&(p=w2(s)),ho(s))){const F=i1(s);_=i0(s),D.x=F.x+s.clientLeft,D.y=F.y+s.clientTop}return{width:i.width*_.x,height:i.height*_.y,x:i.x*_.x-p.scrollLeft*_.x+D.x,y:i.y*_.y-p.scrollTop*_.y+D.y}},isElement:Kl,getDimensions:function(t){return ho(t)?QE(t):t.getBoundingClientRect()},getOffsetParent:b3,getDocumentElement:ql,getScale:i0,async getElementRects(t){let{reference:i,floating:s,strategy:a}=t;const r=this.getOffsetParent||b3,e=this.getDimensions;return{reference:f9(i,await r(s),a),floating:{x:0,y:0,...await e(s)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>fo(t).direction==="rtl"},d9=(t,i,s)=>{const a=new Map,r={platform:h9,...s},e={...r.platform,_c:a};return t9(t,i,{...r,platform:e})};function i6(t,i){for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(typeof i[s]=="object"&&t[s]?i6(t[s],i[s]):t[s]=i[s])}const Jo={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 a1(t,i){let s=Jo.themes[t]||{},a;do a=s[i],typeof a>"u"?s.$extend?s=Jo.themes[s.$extend]||{}:(s=null,a=Jo[i]):s=null;while(s);return a}function p9(t){const i=[t];let s=Jo.themes[t]||{};do s.$extend&&!s.$resetCss?(i.push(s.$extend),s=Jo.themes[s.$extend]||{}):s=null;while(s);return i.map(a=>`v-popper--theme-${a}`)}function _3(t){const i=[t];let s=Jo.themes[t]||{};do s.$extend?(i.push(s.$extend),s=Jo.themes[s.$extend]||{}):s=null;while(s);return i}let Cu=!1;if(typeof window<"u"){Cu=!1;try{const t=Object.defineProperty({},"passive",{get(){Cu=!0}});window.addEventListener("test",null,t)}catch{}}let s6=!1;typeof window<"u"&&typeof navigator<"u"&&(s6=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const a6=["auto","top","bottom","left","right"].reduce((t,i)=>t.concat([i,`${i}-start`,`${i}-end`]),[]),y3={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},D3={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function w3(t,i){const s=t.indexOf(i);s!==-1&&t.splice(s,1)}function Ib(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const Sa=[];let ou=null;const F3={};function E3(t){let i=F3[t];return i||(i=F3[t]=[]),i}let A4=function(){};typeof window<"u"&&(A4=window.Element);function Yr(t){return function(i){return a1(i.theme,t)}}const Nb="__floating-vue__popper",o6=()=>mi({name:"VPopper",provide(){return{[Nb]:{parentPopper:this}}},inject:{[Nb]:{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:Yr("disabled")},positioningDisabled:{type:Boolean,default:Yr("positioningDisabled")},placement:{type:String,default:Yr("placement"),validator:t=>a6.includes(t)},delay:{type:[String,Number,Object],default:Yr("delay")},distance:{type:[Number,String],default:Yr("distance")},skidding:{type:[Number,String],default:Yr("skidding")},triggers:{type:Array,default:Yr("triggers")},showTriggers:{type:[Array,Function],default:Yr("showTriggers")},hideTriggers:{type:[Array,Function],default:Yr("hideTriggers")},popperTriggers:{type:Array,default:Yr("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Yr("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Yr("popperHideTriggers")},container:{type:[String,Object,A4,Boolean],default:Yr("container")},boundary:{type:[String,A4],default:Yr("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:Yr("strategy")},autoHide:{type:[Boolean,Function],default:Yr("autoHide")},handleResize:{type:Boolean,default:Yr("handleResize")},instantMove:{type:Boolean,default:Yr("instantMove")},eagerMount:{type:Boolean,default:Yr("eagerMount")},popperClass:{type:[String,Array,Object],default:Yr("popperClass")},computeTransformOrigin:{type:Boolean,default:Yr("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Yr("autoMinSize")},autoSize:{type:[Boolean,String],default:Yr("autoSize")},autoMaxSize:{type:Boolean,default:Yr("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Yr("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Yr("preventOverflow")},overflowPadding:{type:[Number,String],default:Yr("overflowPadding")},arrowPadding:{type:[Number,String],default:Yr("arrowPadding")},arrowOverflow:{type:Boolean,default:Yr("arrowOverflow")},flip:{type:Boolean,default:Yr("flip")},shift:{type:Boolean,default:Yr("shift")},shiftCrossAxis:{type:Boolean,default:Yr("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Yr("noAutoFocus")},disposeTimeout:{type:Number,default:Yr("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[Nb])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,i;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((i=this.popperShowTriggers)==null?void 0:i.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,i)=>(t[i]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,i)=>(t[i]="$_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:i=!1,force:s=!1}={}){var a,r;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,i),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:i=!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:i}),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,i),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(i=>i.nodeType===i.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(o9({mainAxis:this.distance,crossAxis:this.skidding}));const i=this.placement.startsWith("auto");if(i?t.middleware.push(i9({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(l9({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!i&&this.flip&&t.middleware.push(s9({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(r9({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:a,rects:r,middlewareData:e})=>{let p;const{centerOffset:_}=e.arrow;return a.startsWith("top")||a.startsWith("bottom")?p=Math.abs(_)>r.reference.width/2:p=Math.abs(_)>r.reference.height/2,{data:{overflow:p}}}}),this.autoMinSize||this.autoSize){const a=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:e,middlewareData:p})=>{var _;if((_=p.autoSize)!=null&&_.skip)return{};let D,F;return e.startsWith("top")||e.startsWith("bottom")?D=r.reference.width:F=r.reference.height,this.$_innerNode.style[a==="min"?"minWidth":a==="max"?"maxWidth":"width"]=D!=null?`${D}px`:null,this.$_innerNode.style[a==="min"?"minHeight":a==="max"?"maxHeight":"height"]=F!=null?`${F}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(c9({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:a,availableHeight:r})=>{this.$_innerNode.style.maxWidth=a!=null?`${a}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const s=await d9(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,i=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),ou&&this.instantMove&&ou.instantMove&&ou!==this.parentPopper){ou.$_applyHide(!0),this.$_applyShow(!0);return}i?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,i=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(ou=this),i?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const i=this.delay;return parseInt(i&&i[t]||i||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Ib(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Bg(this.$_referenceNode),...Bg(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const i=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),r=i.x+i.width/2-(a.left+s.offsetLeft),e=i.y+i.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${r}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let i;for(let s=0;s<Sa.length;s++)i=Sa[s],i.showGroup!==t&&(i.hide(),i.$emit("close-group"))}Sa.push(this),document.body.classList.add("v-popper--some-open");for(const i of _3(this.theme))E3(i).push(this),document.body.classList.add(`v-popper--some-open--${i}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Ib(),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,w3(Sa,this),Sa.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of _3(this.theme)){const a=E3(s);w3(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}ou===this&&(ou=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const i=this.disposeTimeout;i!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},i)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ib(),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,y3,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],y3,this.popperTriggers,this.popperShowTriggers,t);const i=s=>{s.usedByTooltip||this.hide({event:s})};this.$_registerTriggerListeners(this.$_targetNodes,D3,this.triggers,this.hideTriggers,i),this.$_registerTriggerListeners([this.$_popperNode],D3,this.popperTriggers,this.popperHideTriggers,i)},$_registerEventListeners(t,i,s){this.$_events.push({targetNodes:t,eventType:i,handler:s}),t.forEach(a=>a.addEventListener(i,s,Cu?{passive:!0}:void 0))},$_registerTriggerListeners(t,i,s,a,r){let e=s;a!=null&&(e=typeof a=="function"?a(e):a),e.forEach(p=>{const _=i[p];_&&this.$_registerEventListeners(t,_,r)})},$_removeEventListeners(t){const i=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:r,handler:e}=s;!t||t===r?a.forEach(p=>p.removeEventListener(r,e)):i.push(s)}),this.$_events=i},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,i=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),i&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,i){for(const s of this.$_targetNodes){const a=s.getAttribute(t);a&&(s.removeAttribute(t),s.setAttribute(i,a))}},$_applyAttrsToTarget(t){for(const i of this.$_targetNodes)for(const s in t){const a=t[s];a==null?i.removeAttribute(s):i.setAttribute(s,a)}},$_updateParentShownChildren(t){let i=this.parentPopper;for(;i;)t?i.shownChildren.add(this.randomId):(i.shownChildren.delete(this.randomId),i.$_pendingHide&&i.hide()),i=i.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if($d>=t.left&&$d<=t.right&&Wd>=t.top&&Wd<=t.bottom){const i=this.$_popperNode.getBoundingClientRect(),s=$d-Ll,a=Wd-Bl,r=i.left+i.width/2-Ll+(i.top+i.height/2)-Bl+i.width+i.height,e=Ll+s*r,p=Bl+a*r;return rg(Ll,Bl,e,p,i.left,i.top,i.left,i.bottom)||rg(Ll,Bl,e,p,i.left,i.top,i.right,i.top)||rg(Ll,Bl,e,p,i.right,i.top,i.right,i.bottom)||rg(Ll,Bl,e,p,i.left,i.bottom,i.right,i.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(s6?(document.addEventListener("touchstart",x3,Cu?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",g9,Cu?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",x3,!0),window.addEventListener("click",m9,!0)),window.addEventListener("resize",_9));function x3(t){for(let i=0;i<Sa.length;i++){const s=Sa[i];try{const a=s.popperNode();s.$_mouseDownContains=a.contains(t.target)}catch{}}}function m9(t){l6(t)}function g9(t){l6(t,!0)}function l6(t,i=!1){const s={};for(let a=Sa.length-1;a>=0;a--){const r=Sa[a];try{const e=r.$_containsGlobalTarget=v9(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!s[r.randomId]&&C3(r,e,t)){if(r.$_handleGlobalClose(t,i),!t.closeAllPopover&&t.closePopover&&e){let _=r.parentPopper;for(;_;)s[_.randomId]=!0,_=_.parentPopper;return}let p=r.parentPopper;for(;p&&C3(p,p.$_containsGlobalTarget,t);)p.$_handleGlobalClose(t,i),p=p.parentPopper}})}catch{}}}function v9(t,i){const s=t.popperNode();return t.$_mouseDownContains||s.contains(i.target)}function C3(t,i,s){return s.closeAllPopover||s.closePopover&&i||b9(t,s)&&!i}function b9(t,i){if(typeof t.autoHide=="function"){const s=t.autoHide(i);return t.lastAutoHide=s,s}return t.autoHide}function _9(t){for(let i=0;i<Sa.length;i++)Sa[i].$_computePosition(t)}let Ll=0,Bl=0,$d=0,Wd=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{Ll=$d,Bl=Wd,$d=t.clientX,Wd=t.clientY},Cu?{passive:!0}:void 0);function rg(t,i,s,a,r,e,p,_){const D=((p-r)*(i-e)-(_-e)*(t-r))/((_-e)*(s-t)-(p-r)*(a-i)),F=((s-t)*(i-e)-(a-i)*(t-r))/((_-e)*(s-t)-(p-r)*(a-i));return D>=0&&D<=1&&F>=0&&F<=1}const y9={extends:o6()},F2=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s};function D9(t,i,s,a,r,e){return Br(),hn("div",{ref:"reference",class:ns(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[Fu(t.$slots,"default",cw(p_(t.slotData)))],2)}const w9=F2(y9,[["render",D9]]);function F9(){var t=window.navigator.userAgent,i=t.indexOf("MSIE ");if(i>0)return parseInt(t.substring(i+5,t.indexOf(".",i)),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 r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let cg;function S4(){S4.init||(S4.init=!0,cg=F9()!==-1)}var E2={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){S4(),vo(()=>{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",cg&&this.$el.appendChild(t),t.data="about:blank",cg||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&&(!cg&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const E9=Iw();s2("data-v-b329ee4c");const x9={class:"resize-observer",tabindex:"-1"};a2();const C9=E9((t,i,s,a,r,e)=>(Br(),rl("div",x9)));E2.render=C9;E2.__scopeId="data-v-b329ee4c";E2.__file="src/components/ResizeObserver.vue";const c6=(t="theme")=>({computed:{themeClass(){return p9(this[t])}}}),T9=mi({name:"VPopperContent",components:{ResizeObserver:E2},mixins:[c6()],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}}}),A9=["id","aria-hidden","tabindex","data-popper-placement"],S9={ref:"inner",class:"v-popper__inner"},O9=Tt("div",{class:"v-popper__arrow-outer"},null,-1),k9=Tt("div",{class:"v-popper__arrow-inner"},null,-1),R9=[O9,k9];function P9(t,i,s,a,r,e){const p=Ia("ResizeObserver");return Br(),hn("div",{id:t.popperId,ref:"popover",class:ns(["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:Ra(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:i[2]||(i[2]=IF(_=>t.autoHide&&t.$emit("hide"),["esc"]))},[Tt("div",{class:"v-popper__backdrop",onClick:i[0]||(i[0]=_=>t.autoHide&&t.$emit("hide"))}),Tt("div",{class:"v-popper__wrapper",style:Ra(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[Tt("div",S9,[t.mounted?(Br(),hn(Gn,{key:0},[Tt("div",null,[Fu(t.$slots,"default")]),t.handleResize?(Br(),rl(p,{key:0,onNotify:i[1]||(i[1]=_=>t.$emit("resize",_))})):ca("",!0)],64)):ca("",!0)],512),Tt("div",{ref:"arrow",class:"v-popper__arrow-container",style:Ra(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},R9,4)],4)],46,A9)}const u6=F2(T9,[["render",P9]]),f6={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)}}},I9=mi({name:"VPopperWrapper",components:{Popper:w9,PopperContent:u6},mixins:[f6,c6("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 N9(t,i,s,a,r,e){const p=Ia("PopperContent"),_=Ia("Popper");return Br(),rl(_,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:ns([t.themeClass])},{default:Ei(({popperId:D,isShown:F,shouldMountContent:T,skipTransition:A,autoHide:R,show:I,hide:N,handleResize:L,onResize:V,classes:U,result:G})=>[Fu(t.$slots,"default",{shown:F,show:I,hide:N}),Er(p,{ref:"popperContent","popper-id":D,theme:t.finalTheme,shown:F,mounted:T,"skip-transition":A,"auto-hide":R,"handle-resize":L,classes:U,result:G,onHide:N,onResize:V},{default:Ei(()=>[Fu(t.$slots,"popper",{shown:F,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 q_=F2(I9,[["render",N9]]),M9={...q_,name:"VDropdown",vPopperTheme:"dropdown"},L9={...q_,name:"VMenu",vPopperTheme:"menu"},B9={...q_,name:"VTooltip",vPopperTheme:"tooltip"},U9=mi({name:"VTooltipDirective",components:{Popper:o6(),PopperContent:u6},mixins:[f6],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>a1(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>a1(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 i=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(i,a)):this.onResult(i,s)}},onResult(t,i){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=i)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),H9=["innerHTML"],$9=["textContent"];function W9(t,i,s,a,r,e){const p=Ia("PopperContent"),_=Ia("Popper");return Br(),rl(_,f2({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Ei(({popperId:D,isShown:F,shouldMountContent:T,skipTransition:A,autoHide:R,hide:I,handleResize:N,onResize:L,classes:V,result:U})=>[Er(p,{ref:"popperContent",class:ns({"v-popper--tooltip-loading":t.loading}),"popper-id":D,theme:t.theme,shown:F,mounted:T,"skip-transition":A,"auto-hide":R,"handle-resize":N,classes:V,result:U,onHide:I,onResize:L},{default:Ei(()=>[t.html?(Br(),hn("div",{key:0,innerHTML:t.finalContent},null,8,H9)):(Br(),hn("div",{key:1,textContent:ai(t.finalContent)},null,8,$9))]),_: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 z9=F2(U9,[["render",W9]]),h6="v-popper--has-tooltip";function j9(t,i){let s=t.placement;if(!s&&i)for(const a of a6)i[a]&&(s=a);return s||(s=a1(t.theme||"tooltip","placement")),s}function d6(t,i,s){let a;const r=typeof i;return r==="string"?a={content:i}:i&&r==="object"?a=i:a={content:!1},a.placement=j9(a,s),a.targetNodes=()=>[t],a.referenceNode=()=>t,a}let Mb,o1,V9=0;function G9(){if(Mb)return;o1=Yt([]),Mb=D_({name:"VTooltipDirectiveApp",setup(){return{directives:o1}},render(){return this.directives.map(i=>Ou(z9,{...i.options,shown:i.shown||i.options.shown,key:i.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),Mb.mount(t)}function Y9(t,i,s){G9();const a=Yt(d6(t,i,s)),r=Yt(!1),e={id:V9++,options:a,shown:r};return o1.value.push(e),t.classList&&t.classList.add(h6),t.$_popper={options:a,item:e,show(){r.value=!0},hide(){r.value=!1}}}function p6(t){if(t.$_popper){const i=o1.value.indexOf(t.$_popper.item);i!==-1&&o1.value.splice(i,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(h6)}function T3(t,{value:i,modifiers:s}){const a=d6(t,i,s);if(!a.content||a1(a.theme||"tooltip","disabled"))p6(t);else{let r;t.$_popper?(r=t.$_popper,r.options.value=a):r=Y9(t,i,s),typeof i.shown<"u"&&i.shown!==t.$_popperOldShown&&(t.$_popperOldShown=i.shown,i.shown?r.show():r.hide())}}const K9={beforeMount:T3,updated:T3,beforeUnmount(t){p6(t)}};function A3(t){t.addEventListener("click",m6),t.addEventListener("touchstart",g6,Cu?{passive:!0}:!1)}function S3(t){t.removeEventListener("click",m6),t.removeEventListener("touchstart",g6),t.removeEventListener("touchend",v6),t.removeEventListener("touchcancel",b6)}function m6(t){const i=t.currentTarget;t.closePopover=!i.$_vclosepopover_touch,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}function g6(t){if(t.changedTouches.length===1){const i=t.currentTarget;i.$_vclosepopover_touch=!0;const s=t.changedTouches[0];i.$_vclosepopover_touchPoint=s,i.addEventListener("touchend",v6),i.addEventListener("touchcancel",b6)}}function v6(t){const i=t.currentTarget;if(i.$_vclosepopover_touch=!1,t.changedTouches.length===1){const s=t.changedTouches[0],a=i.$_vclosepopover_touchPoint;t.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}}function b6(t){const i=t.currentTarget;i.$_vclosepopover_touch=!1}const q9={beforeMount(t,{value:i,modifiers:s}){t.$_closePopoverModifiers=s,(typeof i>"u"||i)&&A3(t)},updated(t,{value:i,oldValue:s,modifiers:a}){t.$_closePopoverModifiers=a,i!==s&&(typeof i>"u"||i?A3(t):S3(t))},beforeUnmount(t){S3(t)}};function Q9(t,i={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,i6(Jo,i),t.directive("tooltip",K9),t.directive("close-popper",q9),t.component("VTooltip",B9),t.component("VDropdown",M9),t.component("VMenu",L9))}const X9={version:"2.0.0-beta.24",install:Q9,options:Jo};class x2{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(i){const s={listener:i};return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const C2=typeof window>"u"||"Deno"in window;function Ca(){}function J9(t,i){return typeof t=="function"?t(i):t}function Z9(t){return typeof t=="number"&&t>=0&&t!==1/0}function eR(t,i){return Math.max(t+(i||0)-Date.now(),0)}function ng(t,i,s){return T2(t)?typeof i=="function"?{...s,queryKey:t,queryFn:i}:{...i,queryKey:t}:t}function Vl(t,i,s){return T2(t)?[{...i,queryKey:t},s]:[t||{},i]}function O3(t,i){const{type:s="all",exact:a,fetchStatus:r,predicate:e,queryKey:p,stale:_}=t;if(T2(p)){if(a){if(i.queryHash!==Q_(p,i.options))return!1}else if(!Ug(i.queryKey,p))return!1}if(s!=="all"){const D=i.isActive();if(s==="active"&&!D||s==="inactive"&&D)return!1}return!(typeof _=="boolean"&&i.isStale()!==_||typeof r<"u"&&r!==i.state.fetchStatus||e&&!e(i))}function k3(t,i){const{exact:s,fetching:a,predicate:r,mutationKey:e}=t;if(T2(e)){if(!i.options.mutationKey)return!1;if(s){if(mu(i.options.mutationKey)!==mu(e))return!1}else if(!Ug(i.options.mutationKey,e))return!1}return!(typeof a=="boolean"&&i.state.status==="loading"!==a||r&&!r(i))}function Q_(t,i){return((i==null?void 0:i.queryKeyHashFn)||mu)(t)}function mu(t){return JSON.stringify(t,(i,s)=>O4(s)?Object.keys(s).sort().reduce((a,r)=>(a[r]=s[r],a),{}):s)}function Ug(t,i){return _6(t,i)}function _6(t,i){return t===i?!0:typeof t!=typeof i?!1:t&&i&&typeof t=="object"&&typeof i=="object"?!Object.keys(i).some(s=>!_6(t[s],i[s])):!1}function y6(t,i){if(t===i)return t;const s=R3(t)&&R3(i);if(s||O4(t)&&O4(i)){const a=s?t.length:Object.keys(t).length,r=s?i:Object.keys(i),e=r.length,p=s?[]:{};let _=0;for(let D=0;D<e;D++){const F=s?D:r[D];p[F]=y6(t[F],i[F]),p[F]===t[F]&&_++}return a===e&&_===a?t:p}return i}function PI(t,i){if(t&&!i||i&&!t)return!1;for(const s in t)if(t[s]!==i[s])return!1;return!0}function R3(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function O4(t){if(!P3(t))return!1;const i=t.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!P3(s)||!s.hasOwnProperty("isPrototypeOf"))}function P3(t){return Object.prototype.toString.call(t)==="[object Object]"}function T2(t){return Array.isArray(t)}function D6(t){return new Promise(i=>{setTimeout(i,t)})}function I3(t){D6(0).then(t)}function tR(){if(typeof AbortController=="function")return new AbortController}function rR(t,i,s){return s.isDataEqual!=null&&s.isDataEqual(t,i)?t:typeof s.structuralSharing=="function"?s.structuralSharing(t,i):s.structuralSharing!==!1?y6(t,i):i}class nR extends x2{constructor(){super(),this.setup=i=>{if(!C2&&window.addEventListener){const s=()=>i();return window.addEventListener("visibilitychange",s,!1),window.addEventListener("focus",s,!1),()=>{window.removeEventListener("visibilitychange",s),window.removeEventListener("focus",s)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(i){this.focused!==i&&(this.focused=i,this.onFocus())}onFocus(){this.listeners.forEach(({listener:i})=>{i()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const k4=new nR,N3=["online","offline"];class iR extends x2{constructor(){super(),this.setup=i=>{if(!C2&&window.addEventListener){const s=()=>i();return N3.forEach(a=>{window.addEventListener(a,s,!1)}),()=>{N3.forEach(a=>{window.removeEventListener(a,s)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setOnline(a):this.onOnline()})}setOnline(i){this.online!==i&&(this.online=i,this.onOnline())}onOnline(){this.listeners.forEach(({listener:i})=>{i()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const Hg=new iR;function sR(t){return Math.min(1e3*2**t,3e4)}function X_(t){return(t??"online")==="online"?Hg.isOnline():!0}class w6{constructor(i){this.revert=i==null?void 0:i.revert,this.silent=i==null?void 0:i.silent}}function Lb(t){return t instanceof w6}function F6(t){let i=!1,s=0,a=!1,r,e,p;const _=new Promise((V,U)=>{e=V,p=U}),D=V=>{a||(I(new w6(V)),t.abort==null||t.abort())},F=()=>{i=!0},T=()=>{i=!1},A=()=>!k4.isFocused()||t.networkMode!=="always"&&!Hg.isOnline(),R=V=>{a||(a=!0,t.onSuccess==null||t.onSuccess(V),r==null||r(),e(V))},I=V=>{a||(a=!0,t.onError==null||t.onError(V),r==null||r(),p(V))},N=()=>new Promise(V=>{r=U=>{const G=a||!A();return G&&V(U),G},t.onPause==null||t.onPause()}).then(()=>{r=void 0,a||t.onContinue==null||t.onContinue()}),L=()=>{if(a)return;let V;try{V=t.fn()}catch(U){V=Promise.reject(U)}Promise.resolve(V).then(R).catch(U=>{var G,ne;if(a)return;const z=(G=t.retry)!=null?G:3,H=(ne=t.retryDelay)!=null?ne:sR,Z=typeof H=="function"?H(s,U):H,ee=z===!0||typeof z=="number"&&s<z||typeof z=="function"&&z(s,U);if(i||!ee){I(U);return}s++,t.onFail==null||t.onFail(s,U),D6(Z).then(()=>{if(A())return N()}).then(()=>{i?I(U):L()})})};return X_(t.networkMode)?L():N().then(L),{promise:_,cancel:D,continue:()=>(r==null?void 0:r())?_:Promise.resolve(),cancelRetry:F,continueRetry:T}}const J_=console;function aR(){let t=[],i=0,s=T=>{T()},a=T=>{T()};const r=T=>{let A;i++;try{A=T()}finally{i--,i||_()}return A},e=T=>{i?t.push(T):I3(()=>{s(T)})},p=T=>(...A)=>{e(()=>{T(...A)})},_=()=>{const T=t;t=[],T.length&&I3(()=>{a(()=>{T.forEach(A=>{s(A)})})})};return{batch:r,batchCalls:p,schedule:e,setNotifyFunction:T=>{s=T},setBatchNotifyFunction:T=>{a=T}}}const ts=aR();class E6{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Z9(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(i){this.cacheTime=Math.max(this.cacheTime||0,i??(C2?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class oR extends E6{constructor(i){super(),this.abortSignalConsumed=!1,this.defaultOptions=i.defaultOptions,this.setOptions(i.options),this.observers=[],this.cache=i.cache,this.logger=i.logger||J_,this.queryKey=i.queryKey,this.queryHash=i.queryHash,this.initialState=i.state||lR(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(i,s){const a=rR(this.state.data,i,this.options);return this.dispatch({data:a,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),a}setState(i,s){this.dispatch({type:"setState",state:i,setStateOptions:s})}cancel(i){var s;const a=this.promise;return(s=this.retryer)==null||s.cancel(i),a?a.then(Ca).catch(Ca):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(i=>i.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(i=>i.getCurrentResult().isStale)}isStaleByTime(i=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!eR(this.state.dataUpdatedAt,i)}onFocus(){var i;const s=this.observers.find(a=>a.shouldFetchOnWindowFocus());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}onOnline(){var i;const s=this.observers.find(a=>a.shouldFetchOnReconnect());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:i}))}removeObserver(i){this.observers.includes(i)&&(this.observers=this.observers.filter(s=>s!==i),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:i}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(i,s){var a,r;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&s!=null&&s.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var e;return(e=this.retryer)==null||e.continueRetry(),this.promise}}if(i&&this.setOptions(i),!this.options.queryFn){const I=this.observers.find(N=>N.options.queryFn);I&&this.setOptions(I.options)}Array.isArray(this.options.queryKey);const p=tR(),_={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},D=I=>{Object.defineProperty(I,"signal",{enumerable:!0,get:()=>{if(p)return this.abortSignalConsumed=!0,p.signal}})};D(_);const F=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(_)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),T={fetchOptions:s,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:F};if(D(T),(a=this.options.behavior)==null||a.onFetch(T),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((r=T.fetchOptions)==null?void 0:r.meta)){var A;this.dispatch({type:"fetch",meta:(A=T.fetchOptions)==null?void 0:A.meta})}const R=I=>{if(Lb(I)&&I.silent||this.dispatch({type:"error",error:I}),!Lb(I)){var N,L,V,U;(N=(L=this.cache.config).onError)==null||N.call(L,I,this),(V=(U=this.cache.config).onSettled)==null||V.call(U,this.state.data,I,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=F6({fn:T.fetchFn,abort:p==null?void 0:p.abort.bind(p),onSuccess:I=>{var N,L,V,U;if(typeof I>"u"){R(new Error(this.queryHash+" data is undefined"));return}this.setData(I),(N=(L=this.cache.config).onSuccess)==null||N.call(L,I,this),(V=(U=this.cache.config).onSettled)==null||V.call(U,I,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:R,onFail:(I,N)=>{this.dispatch({type:"failed",failureCount:I,error:N})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:T.options.retry,retryDelay:T.options.retryDelay,networkMode:T.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(i){const s=a=>{var r,e;switch(i.type){case"failed":return{...a,fetchFailureCount:i.failureCount,fetchFailureReason:i.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(r=i.meta)!=null?r:null,fetchStatus:X_(this.options.networkMode)?"fetching":"paused",...!a.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...a,data:i.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:(e=i.dataUpdatedAt)!=null?e:Date.now(),error:null,isInvalidated:!1,status:"success",...!i.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const p=i.error;return Lb(p)&&p.revert&&this.revertState?{...this.revertState}:{...a,error:p,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:p,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...i.state}}};this.state=s(this.state),ts.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate(i)}),this.cache.notify({query:this,type:"updated",action:i})})}}function lR(t){const i=typeof t.initialData=="function"?t.initialData():t.initialData,s=typeof i<"u",a=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:i,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":"loading",fetchStatus:"idle"}}let x6=class extends x2{constructor(i){super(),this.config=i||{},this.queries=[],this.queriesMap={}}build(i,s,a){var r;const e=s.queryKey,p=(r=s.queryHash)!=null?r:Q_(e,s);let _=this.get(p);return _||(_=new oR({cache:this,logger:i.getLogger(),queryKey:e,queryHash:p,options:i.defaultQueryOptions(s),state:a,defaultOptions:i.getQueryDefaults(e)}),this.add(_)),_}add(i){this.queriesMap[i.queryHash]||(this.queriesMap[i.queryHash]=i,this.queries.push(i),this.notify({type:"added",query:i}))}remove(i){const s=this.queriesMap[i.queryHash];s&&(i.destroy(),this.queries=this.queries.filter(a=>a!==i),s===i&&delete this.queriesMap[i.queryHash],this.notify({type:"removed",query:i}))}clear(){ts.batch(()=>{this.queries.forEach(i=>{this.remove(i)})})}get(i){return this.queriesMap[i]}getAll(){return this.queries}find(i,s){const[a]=Vl(i,s);return typeof a.exact>"u"&&(a.exact=!0),this.queries.find(r=>O3(a,r))}findAll(i,s){const[a]=Vl(i,s);return Object.keys(a).length>0?this.queries.filter(r=>O3(a,r)):this.queries}notify(i){ts.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}onFocus(){ts.batch(()=>{this.queries.forEach(i=>{i.onFocus()})})}onOnline(){ts.batch(()=>{this.queries.forEach(i=>{i.onOnline()})})}};class cR extends E6{constructor(i){super(),this.defaultOptions=i.defaultOptions,this.mutationId=i.mutationId,this.mutationCache=i.mutationCache,this.logger=i.logger||J_,this.observers=[],this.state=i.state||uR(),this.setOptions(i.options),this.scheduleGc()}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(i){this.dispatch({type:"setState",state:i})}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:i}))}removeObserver(i){this.observers=this.observers.filter(s=>s!==i),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:i})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var i,s;return(i=(s=this.retryer)==null?void 0:s.continue())!=null?i:this.execute()}async execute(){const i=()=>{var ee;return this.retryer=F6({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(re,te)=>{this.dispatch({type:"failed",failureCount:re,error:te})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(ee=this.options.retry)!=null?ee:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},s=this.state.status==="loading";try{var a,r,e,p,_,D,F,T;if(!s){var A,R,I,N;this.dispatch({type:"loading",variables:this.options.variables}),await((A=(R=this.mutationCache.config).onMutate)==null?void 0:A.call(R,this.state.variables,this));const re=await((I=(N=this.options).onMutate)==null?void 0:I.call(N,this.state.variables));re!==this.state.context&&this.dispatch({type:"loading",context:re,variables:this.state.variables})}const ee=await i();return await((a=(r=this.mutationCache.config).onSuccess)==null?void 0:a.call(r,ee,this.state.variables,this.state.context,this)),await((e=(p=this.options).onSuccess)==null?void 0:e.call(p,ee,this.state.variables,this.state.context)),await((_=(D=this.mutationCache.config).onSettled)==null?void 0:_.call(D,ee,null,this.state.variables,this.state.context,this)),await((F=(T=this.options).onSettled)==null?void 0:F.call(T,ee,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:ee}),ee}catch(ee){try{var L,V,U,G,ne,z,H,Z;throw await((L=(V=this.mutationCache.config).onError)==null?void 0:L.call(V,ee,this.state.variables,this.state.context,this)),await((U=(G=this.options).onError)==null?void 0:U.call(G,ee,this.state.variables,this.state.context)),await((ne=(z=this.mutationCache.config).onSettled)==null?void 0:ne.call(z,void 0,ee,this.state.variables,this.state.context,this)),await((H=(Z=this.options).onSettled)==null?void 0:H.call(Z,void 0,ee,this.state.variables,this.state.context)),ee}finally{this.dispatch({type:"error",error:ee})}}}dispatch(i){const s=a=>{switch(i.type){case"failed":return{...a,failureCount:i.failureCount,failureReason:i.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"loading":return{...a,context:i.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!X_(this.options.networkMode),status:"loading",variables:i.variables};case"success":return{...a,data:i.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:i.error,failureCount:a.failureCount+1,failureReason:i.error,isPaused:!1,status:"error"};case"setState":return{...a,...i.state}}};this.state=s(this.state),ts.batch(()=>{this.observers.forEach(a=>{a.onMutationUpdate(i)}),this.mutationCache.notify({mutation:this,type:"updated",action:i})})}}function uR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let C6=class extends x2{constructor(i){super(),this.config=i||{},this.mutations=[],this.mutationId=0}build(i,s,a){const r=new cR({mutationCache:this,logger:i.getLogger(),mutationId:++this.mutationId,options:i.defaultMutationOptions(s),state:a,defaultOptions:s.mutationKey?i.getMutationDefaults(s.mutationKey):void 0});return this.add(r),r}add(i){this.mutations.push(i),this.notify({type:"added",mutation:i})}remove(i){this.mutations=this.mutations.filter(s=>s!==i),this.notify({type:"removed",mutation:i})}clear(){ts.batch(()=>{this.mutations.forEach(i=>{this.remove(i)})})}getAll(){return this.mutations}find(i){return typeof i.exact>"u"&&(i.exact=!0),this.mutations.find(s=>k3(i,s))}findAll(i){return this.mutations.filter(s=>k3(i,s))}notify(i){ts.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}resumePausedMutations(){var i;return this.resuming=((i=this.resuming)!=null?i:Promise.resolve()).then(()=>{const s=this.mutations.filter(a=>a.state.isPaused);return ts.batch(()=>s.reduce((a,r)=>a.then(()=>r.continue().catch(Ca)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};function fR(){return{onFetch:t=>{t.fetchFn=()=>{var i,s,a,r,e,p;const _=(i=t.fetchOptions)==null||(s=i.meta)==null?void 0:s.refetchPage,D=(a=t.fetchOptions)==null||(r=a.meta)==null?void 0:r.fetchMore,F=D==null?void 0:D.pageParam,T=(D==null?void 0:D.direction)==="forward",A=(D==null?void 0:D.direction)==="backward",R=((e=t.state.data)==null?void 0:e.pages)||[],I=((p=t.state.data)==null?void 0:p.pageParams)||[];let N=I,L=!1;const V=Z=>{Object.defineProperty(Z,"signal",{enumerable:!0,get:()=>{var ee;if((ee=t.signal)!=null&&ee.aborted)L=!0;else{var re;(re=t.signal)==null||re.addEventListener("abort",()=>{L=!0})}return t.signal}})},U=t.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+t.options.queryHash+"'")),G=(Z,ee,re,te)=>(N=te?[ee,...N]:[...N,ee],te?[re,...Z]:[...Z,re]),ne=(Z,ee,re,te)=>{if(L)return Promise.reject("Cancelled");if(typeof re>"u"&&!ee&&Z.length)return Promise.resolve(Z);const ae={queryKey:t.queryKey,pageParam:re,meta:t.options.meta};V(ae);const ve=U(ae);return Promise.resolve(ve).then(De=>G(Z,re,De,te))};let z;if(!R.length)z=ne([]);else if(T){const Z=typeof F<"u",ee=Z?F:M3(t.options,R);z=ne(R,Z,ee)}else if(A){const Z=typeof F<"u",ee=Z?F:hR(t.options,R);z=ne(R,Z,ee,!0)}else{N=[];const Z=typeof t.options.getNextPageParam>"u";z=(_&&R[0]?_(R[0],0,R):!0)?ne([],Z,I[0]):Promise.resolve(G([],I[0],R[0]));for(let re=1;re<R.length;re++)z=z.then(te=>{if(_&&R[re]?_(R[re],re,R):!0){const ve=Z?I[re]:M3(t.options,te);return ne(te,Z,ve)}return Promise.resolve(G(te,I[re],R[re]))})}return z.then(Z=>({pages:Z,pageParams:N}))}}}}function M3(t,i){return t.getNextPageParam==null?void 0:t.getNextPageParam(i[i.length-1],i)}function hR(t,i){return t.getPreviousPageParam==null?void 0:t.getPreviousPageParam(i[0],i)}let dR=class{constructor(i={}){this.queryCache=i.queryCache||new x6,this.mutationCache=i.mutationCache||new C6,this.logger=i.logger||J_,this.defaultOptions=i.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=k4.subscribe(()=>{k4.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=Hg.subscribe(()=>{Hg.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var i,s;this.mountCount--,this.mountCount===0&&((i=this.unsubscribeFocus)==null||i.call(this),this.unsubscribeFocus=void 0,(s=this.unsubscribeOnline)==null||s.call(this),this.unsubscribeOnline=void 0)}isFetching(i,s){const[a]=Vl(i,s);return a.fetchStatus="fetching",this.queryCache.findAll(a).length}isMutating(i){return this.mutationCache.findAll({...i,fetching:!0}).length}getQueryData(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state.data}ensureQueryData(i,s,a){const r=ng(i,s,a),e=this.getQueryData(r.queryKey);return e?Promise.resolve(e):this.fetchQuery(r)}getQueriesData(i){return this.getQueryCache().findAll(i).map(({queryKey:s,state:a})=>{const r=a.data;return[s,r]})}setQueryData(i,s,a){const r=this.queryCache.find(i),e=r==null?void 0:r.state.data,p=J9(s,e);if(typeof p>"u")return;const _=ng(i),D=this.defaultQueryOptions(_);return this.queryCache.build(this,D).setData(p,{...a,manual:!0})}setQueriesData(i,s,a){return ts.batch(()=>this.getQueryCache().findAll(i).map(({queryKey:r})=>[r,this.setQueryData(r,s,a)]))}getQueryState(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state}removeQueries(i,s){const[a]=Vl(i,s),r=this.queryCache;ts.batch(()=>{r.findAll(a).forEach(e=>{r.remove(e)})})}resetQueries(i,s,a){const[r,e]=Vl(i,s,a),p=this.queryCache,_={type:"active",...r};return ts.batch(()=>(p.findAll(r).forEach(D=>{D.reset()}),this.refetchQueries(_,e)))}cancelQueries(i,s,a){const[r,e={}]=Vl(i,s,a);typeof e.revert>"u"&&(e.revert=!0);const p=ts.batch(()=>this.queryCache.findAll(r).map(_=>_.cancel(e)));return Promise.all(p).then(Ca).catch(Ca)}invalidateQueries(i,s,a){const[r,e]=Vl(i,s,a);return ts.batch(()=>{var p,_;if(this.queryCache.findAll(r).forEach(F=>{F.invalidate()}),r.refetchType==="none")return Promise.resolve();const D={...r,type:(p=(_=r.refetchType)!=null?_:r.type)!=null?p:"active"};return this.refetchQueries(D,e)})}refetchQueries(i,s,a){const[r,e]=Vl(i,s,a),p=ts.batch(()=>this.queryCache.findAll(r).filter(D=>!D.isDisabled()).map(D=>{var F;return D.fetch(void 0,{...e,cancelRefetch:(F=e==null?void 0:e.cancelRefetch)!=null?F:!0,meta:{refetchPage:r.refetchPage}})}));let _=Promise.all(p).then(Ca);return e!=null&&e.throwOnError||(_=_.catch(Ca)),_}fetchQuery(i,s,a){const r=ng(i,s,a),e=this.defaultQueryOptions(r);typeof e.retry>"u"&&(e.retry=!1);const p=this.queryCache.build(this,e);return p.isStaleByTime(e.staleTime)?p.fetch(e):Promise.resolve(p.state.data)}prefetchQuery(i,s,a){return this.fetchQuery(i,s,a).then(Ca).catch(Ca)}fetchInfiniteQuery(i,s,a){const r=ng(i,s,a);return r.behavior=fR(),this.fetchQuery(r)}prefetchInfiniteQuery(i,s,a){return this.fetchInfiniteQuery(i,s,a).then(Ca).catch(Ca)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(i){this.defaultOptions=i}setQueryDefaults(i,s){const a=this.queryDefaults.find(r=>mu(i)===mu(r.queryKey));a?a.defaultOptions=s:this.queryDefaults.push({queryKey:i,defaultOptions:s})}getQueryDefaults(i){if(!i)return;const s=this.queryDefaults.find(a=>Ug(i,a.queryKey));return s==null?void 0:s.defaultOptions}setMutationDefaults(i,s){const a=this.mutationDefaults.find(r=>mu(i)===mu(r.mutationKey));a?a.defaultOptions=s:this.mutationDefaults.push({mutationKey:i,defaultOptions:s})}getMutationDefaults(i){if(!i)return;const s=this.mutationDefaults.find(a=>Ug(i,a.mutationKey));return s==null?void 0:s.defaultOptions}defaultQueryOptions(i){if(i!=null&&i._defaulted)return i;const s={...this.defaultOptions.queries,...this.getQueryDefaults(i==null?void 0:i.queryKey),...i,_defaulted:!0};return!s.queryHash&&s.queryKey&&(s.queryHash=Q_(s.queryKey,s)),typeof s.refetchOnReconnect>"u"&&(s.refetchOnReconnect=s.networkMode!=="always"),typeof s.useErrorBoundary>"u"&&(s.useErrorBoundary=!!s.suspense),s}defaultMutationOptions(i){return i!=null&&i._defaulted?i:{...this.defaultOptions.mutations,...this.getMutationDefaults(i==null?void 0:i.mutationKey),...i,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};const pR="VUE_QUERY_CLIENT";function mR(t){const i=t?":"+t:"";return""+pR+i}function xa(t){return Array.isArray(t)}function LI(t,i){Object.keys(t).forEach(s=>{t[s]=i[s]})}function R4(t,i){if(i){const s=i(t);if(s!==void 0||rn(t))return s}if(Array.isArray(t))return t.map(s=>R4(s,i));if(typeof t=="object"&&gR(t)){const s=Object.entries(t).map(([a,r])=>[a,R4(r,i)]);return Object.fromEntries(s)}return t}function ar(t){return R4(t,i=>{if(rn(i))return ar(tr(i))})}function gR(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const i=Object.getPrototypeOf(t);return i===null||i===Object.prototype}function BI(t,i){return typeof t=="function"?t(...i):!!t}class vR extends x6{find(i,s){const a=ar(i),r=ar(s);return super.find(a,r)}findAll(i,s){const a=ar(i),r=ar(s);return xa(a)?super.findAll(a,r):super.findAll(a)}}class bR extends C6{find(i){return super.find(ar(i))}findAll(i){return super.findAll(ar(i))}}class L3 extends dR{constructor(i={}){const s=ar(i),a={logger:ar(s.logger),defaultOptions:ar(s.defaultOptions),queryCache:s.queryCache||new vR,mutationCache:s.mutationCache||new bR};super(a),this.isRestoring=Yt(!1)}isFetching(i,s){const a=ar(i),r=ar(s);return xa(a)?super.isFetching(a,r):super.isFetching(a)}isMutating(i){return super.isMutating(ar(i))}getQueryData(i,s){return super.getQueryData(ar(i),ar(s))}getQueriesData(i){const s=ar(i);return xa(s)?super.getQueriesData(s):super.getQueriesData(s)}setQueryData(i,s,a){return super.setQueryData(ar(i),s,ar(a))}setQueriesData(i,s,a){const r=ar(i),e=ar(a);return xa(r)?super.setQueriesData(r,s,e):super.setQueriesData(r,s,e)}getQueryState(i,s){return super.getQueryState(ar(i),ar(s))}removeQueries(i,s){const a=ar(i);return xa(a)?super.removeQueries(a,ar(s)):super.removeQueries(a)}resetQueries(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.resetQueries(r,e,ar(a)):super.resetQueries(r,e)}cancelQueries(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.cancelQueries(r,e,ar(a)):super.cancelQueries(r,e)}invalidateQueries(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.invalidateQueries(r,e,ar(a)):super.invalidateQueries(r,e)}refetchQueries(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.refetchQueries(r,e,ar(a)):super.refetchQueries(r,e)}fetchQuery(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.fetchQuery(r,e,ar(a)):super.fetchQuery(r)}prefetchQuery(i,s,a){return super.prefetchQuery(ar(i),ar(s),ar(a))}fetchInfiniteQuery(i,s,a){const r=ar(i),e=ar(s);return xa(r)?super.fetchInfiniteQuery(r,e,ar(a)):super.fetchInfiniteQuery(r)}prefetchInfiniteQuery(i,s,a){return super.prefetchInfiniteQuery(ar(i),ar(s),ar(a))}setDefaultOptions(i){super.setDefaultOptions(ar(i))}setQueryDefaults(i,s){super.setQueryDefaults(ar(i),ar(s))}getQueryDefaults(i){return super.getQueryDefaults(ar(i))}setMutationDefaults(i,s){super.setMutationDefaults(ar(i),ar(s))}getMutationDefaults(i){return super.getMutationDefaults(ar(i))}}const _R={install:(t,i={})=>{const s=mR(i.queryClientKey);let a;if("queryClient"in i&&i.queryClient)a=i.queryClient;else if(i.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)a=window.__VUE_QUERY_CONTEXT__;else{const p="queryClientConfig"in i?i.queryClientConfig:void 0;a=new L3(p),window.__VUE_QUERY_CONTEXT__=a}else{const p="queryClientConfig"in i?i.queryClientConfig:void 0;a=new L3(p)}C2||a.mount();let r=()=>{};if(i.clientPersister){a.isRestoring.value=!0;const[p,_]=i.clientPersister(a);r=p,_.then(()=>{a.isRestoring.value=!1})}const e=()=>{a.unmount(),r()};if(t.onUnmount)t.onUnmount(e);else{const p=t.unmount;t.unmount=function(){e(),p()}}t.provide(s,a)}};let yR;function DR(){return yR}function wR(t){return typeof t=="function"?t():tr(t)}function P4(t,i=""){if(t instanceof Promise)return t;const s=wR(t);return!t||!s?s:Array.isArray(s)?s.map(a=>P4(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,tr(r)]:[a,P4(r,a)])):s}const FR="usehead";function ER(){return Ti()&&is(FR)||DR()}function xR(t,i={}){const s=ER();if(s)return s.ssr?s.push(t,i):CR(s,t,i)}function CR(t,i,s={}){const a=Yt(!1),r=Yt({});i_(()=>{r.value=a.value?{}:P4(i)});const e=t.push(r.value,s);return bn(r,_=>{e.patch(_)}),Ti()&&(p1(()=>{e.dispose()}),l_(()=>{a.value=!0}),o_(()=>{a.value=!1})),e}const TR=mi({__name:"App",setup(t){return xR({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>GE.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>x7.value?"/favicon-dark.svg":"/favicon.svg"}]}),(i,s)=>{const a=Ia("RouterView");return Br(),rl(a)}}});var AR=Object.defineProperty,B3=Object.getOwnPropertySymbols,SR=Object.prototype.hasOwnProperty,OR=Object.prototype.propertyIsEnumerable,U3=(t,i,s)=>i in t?AR(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,H3=(t,i)=>{for(var s in i||(i={}))SR.call(i,s)&&U3(t,s,i[s]);if(B3)for(var s of B3(i))OR.call(i,s)&&U3(t,s,i[s]);return t};const Bb=new WeakMap;function T6(t,i,s={}){const{mode:a="replace",route:r=iS(),router:e=nS(),transform:p=T=>T}=s;Bb.has(r)||Bb.set(r,new Map);const _=Bb.get(r);ku(()=>{_.delete(t)}),_.set(t,r.query[t]);let D;const F=Z4((T,A)=>(D=A,{get(){T();const R=_.get(t);return p(R!==void 0?R:Yn(i))},set(R){_.get(t)!==R&&(_.set(t,R),A(),vo(()=>{const{params:I,query:N,hash:L}=r;e[Yn(a)]({params:I,query:H3(H3({},N),Object.fromEntries(_.entries())),hash:L})}))}}));return bn(()=>r.query[t],T=>{_.set(t,T),D()},{flush:"sync"}),F}var A6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){var s=1e3,a=6e4,r=36e5,e="millisecond",p="second",_="minute",D="hour",F="day",T="week",A="month",R="quarter",I="year",N="date",L="Invalid Date",V=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,U=/\[([^\]]+)]|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,G={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(De){var ge=["th","st","nd","rd"],Ne=De%100;return"["+De+(ge[(Ne-20)%10]||ge[Ne]||ge[0])+"]"}},ne=function(De,ge,Ne){var We=String(De);return!We||We.length>=ge?De:""+Array(ge+1-We.length).join(Ne)+De},z={s:ne,z:function(De){var ge=-De.utcOffset(),Ne=Math.abs(ge),We=Math.floor(Ne/60),Se=Ne%60;return(ge<=0?"+":"-")+ne(We,2,"0")+":"+ne(Se,2,"0")},m:function De(ge,Ne){if(ge.date()<Ne.date())return-De(Ne,ge);var We=12*(Ne.year()-ge.year())+(Ne.month()-ge.month()),Se=ge.clone().add(We,A),lt=Ne-Se<0,at=ge.clone().add(We+(lt?-1:1),A);return+(-(We+(Ne-Se)/(lt?Se-at:at-Se))||0)},a:function(De){return De<0?Math.ceil(De)||0:Math.floor(De)},p:function(De){return{M:A,y:I,w:T,d:F,D:N,h:D,m:_,s:p,ms:e,Q:R}[De]||String(De||"").toLowerCase().replace(/s$/,"")},u:function(De){return De===void 0}},H="en",Z={};Z[H]=G;var ee=function(De){return De instanceof ve},re=function De(ge,Ne,We){var Se;if(!ge)return H;if(typeof ge=="string"){var lt=ge.toLowerCase();Z[lt]&&(Se=lt),Ne&&(Z[lt]=Ne,Se=lt);var at=ge.split("-");if(!Se&&at.length>1)return De(at[0])}else{var ze=ge.name;Z[ze]=ge,Se=ze}return!We&&Se&&(H=Se),Se||!We&&H},te=function(De,ge){if(ee(De))return De.clone();var Ne=typeof ge=="object"?ge:{};return Ne.date=De,Ne.args=arguments,new ve(Ne)},ae=z;ae.l=re,ae.i=ee,ae.w=function(De,ge){return te(De,{locale:ge.$L,utc:ge.$u,x:ge.$x,$offset:ge.$offset})};var ve=function(){function De(Ne){this.$L=re(Ne.locale,null,!0),this.parse(Ne)}var ge=De.prototype;return ge.parse=function(Ne){this.$d=function(We){var Se=We.date,lt=We.utc;if(Se===null)return new Date(NaN);if(ae.u(Se))return new Date;if(Se instanceof Date)return new Date(Se);if(typeof Se=="string"&&!/Z$/i.test(Se)){var at=Se.match(V);if(at){var ze=at[2]-1||0,he=(at[7]||"0").substring(0,3);return lt?new Date(Date.UTC(at[1],ze,at[3]||1,at[4]||0,at[5]||0,at[6]||0,he)):new Date(at[1],ze,at[3]||1,at[4]||0,at[5]||0,at[6]||0,he)}}return new Date(Se)}(Ne),this.$x=Ne.x||{},this.init()},ge.init=function(){var Ne=this.$d;this.$y=Ne.getFullYear(),this.$M=Ne.getMonth(),this.$D=Ne.getDate(),this.$W=Ne.getDay(),this.$H=Ne.getHours(),this.$m=Ne.getMinutes(),this.$s=Ne.getSeconds(),this.$ms=Ne.getMilliseconds()},ge.$utils=function(){return ae},ge.isValid=function(){return this.$d.toString()!==L},ge.isSame=function(Ne,We){var Se=te(Ne);return this.startOf(We)<=Se&&Se<=this.endOf(We)},ge.isAfter=function(Ne,We){return te(Ne)<this.startOf(We)},ge.isBefore=function(Ne,We){return this.endOf(We)<te(Ne)},ge.$g=function(Ne,We,Se){return ae.u(Ne)?this[We]:this.set(Se,Ne)},ge.unix=function(){return Math.floor(this.valueOf()/1e3)},ge.valueOf=function(){return this.$d.getTime()},ge.startOf=function(Ne,We){var Se=this,lt=!!ae.u(We)||We,at=ae.p(Ne),ze=function(Le,_e){var it=ae.w(Se.$u?Date.UTC(Se.$y,_e,Le):new Date(Se.$y,_e,Le),Se);return lt?it:it.endOf(F)},he=function(Le,_e){return ae.w(Se.toDate()[Le].apply(Se.toDate("s"),(lt?[0,0,0,0]:[23,59,59,999]).slice(_e)),Se)},He=this.$W,Je=this.$M,Ue=this.$D,be="set"+(this.$u?"UTC":"");switch(at){case I:return lt?ze(1,0):ze(31,11);case A:return lt?ze(1,Je):ze(0,Je+1);case T:var Pe=this.$locale().weekStart||0,J=(He<Pe?He+7:He)-Pe;return ze(lt?Ue-J:Ue+(6-J),Je);case F:case N:return he(be+"Hours",0);case D:return he(be+"Minutes",1);case _:return he(be+"Seconds",2);case p:return he(be+"Milliseconds",3);default:return this.clone()}},ge.endOf=function(Ne){return this.startOf(Ne,!1)},ge.$set=function(Ne,We){var Se,lt=ae.p(Ne),at="set"+(this.$u?"UTC":""),ze=(Se={},Se[F]=at+"Date",Se[N]=at+"Date",Se[A]=at+"Month",Se[I]=at+"FullYear",Se[D]=at+"Hours",Se[_]=at+"Minutes",Se[p]=at+"Seconds",Se[e]=at+"Milliseconds",Se)[lt],he=lt===F?this.$D+(We-this.$W):We;if(lt===A||lt===I){var He=this.clone().set(N,1);He.$d[ze](he),He.init(),this.$d=He.set(N,Math.min(this.$D,He.daysInMonth())).$d}else ze&&this.$d[ze](he);return this.init(),this},ge.set=function(Ne,We){return this.clone().$set(Ne,We)},ge.get=function(Ne){return this[ae.p(Ne)]()},ge.add=function(Ne,We){var Se,lt=this;Ne=Number(Ne);var at=ae.p(We),ze=function(Je){var Ue=te(lt);return ae.w(Ue.date(Ue.date()+Math.round(Je*Ne)),lt)};if(at===A)return this.set(A,this.$M+Ne);if(at===I)return this.set(I,this.$y+Ne);if(at===F)return ze(1);if(at===T)return ze(7);var he=(Se={},Se[_]=a,Se[D]=r,Se[p]=s,Se)[at]||1,He=this.$d.getTime()+Ne*he;return ae.w(He,this)},ge.subtract=function(Ne,We){return this.add(-1*Ne,We)},ge.format=function(Ne){var We=this,Se=this.$locale();if(!this.isValid())return Se.invalidDate||L;var lt=Ne||"YYYY-MM-DDTHH:mm:ssZ",at=ae.z(this),ze=this.$H,he=this.$m,He=this.$M,Je=Se.weekdays,Ue=Se.months,be=function(_e,it,Ut,X){return _e&&(_e[it]||_e(We,lt))||Ut[it].slice(0,X)},Pe=function(_e){return ae.s(ze%12||12,_e,"0")},J=Se.meridiem||function(_e,it,Ut){var X=_e<12?"AM":"PM";return Ut?X.toLowerCase():X},Le={YY:String(this.$y).slice(-2),YYYY:ae.s(this.$y,4,"0"),M:He+1,MM:ae.s(He+1,2,"0"),MMM:be(Se.monthsShort,He,Ue,3),MMMM:be(Ue,He),D:this.$D,DD:ae.s(this.$D,2,"0"),d:String(this.$W),dd:be(Se.weekdaysMin,this.$W,Je,2),ddd:be(Se.weekdaysShort,this.$W,Je,3),dddd:Je[this.$W],H:String(ze),HH:ae.s(ze,2,"0"),h:Pe(1),hh:Pe(2),a:J(ze,he,!0),A:J(ze,he,!1),m:String(he),mm:ae.s(he,2,"0"),s:String(this.$s),ss:ae.s(this.$s,2,"0"),SSS:ae.s(this.$ms,3,"0"),Z:at};return lt.replace(U,function(_e,it){return it||Le[_e]||at.replace(":","")})},ge.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ge.diff=function(Ne,We,Se){var lt,at=ae.p(We),ze=te(Ne),he=(ze.utcOffset()-this.utcOffset())*a,He=this-ze,Je=ae.m(this,ze);return Je=(lt={},lt[I]=Je/12,lt[A]=Je,lt[R]=Je/3,lt[T]=(He-he)/6048e5,lt[F]=(He-he)/864e5,lt[D]=He/r,lt[_]=He/a,lt[p]=He/s,lt)[at]||He,Se?Je:ae.a(Je)},ge.daysInMonth=function(){return this.endOf(A).$D},ge.$locale=function(){return Z[this.$L]},ge.locale=function(Ne,We){if(!Ne)return this.$L;var Se=this.clone(),lt=re(Ne,We,!0);return lt&&(Se.$L=lt),Se},ge.clone=function(){return ae.w(this.$d,this)},ge.toDate=function(){return new Date(this.valueOf())},ge.toJSON=function(){return this.isValid()?this.toISOString():null},ge.toISOString=function(){return this.$d.toISOString()},ge.toString=function(){return this.$d.toUTCString()},De}(),Ae=ve.prototype;return te.prototype=Ae,[["$ms",e],["$s",p],["$m",_],["$H",D],["$W",F],["$M",A],["$y",I],["$D",N]].forEach(function(De){Ae[De[1]]=function(ge){return this.$g(ge,De[0],De[1])}}),te.extend=function(De,ge){return De.$i||(De(ge,ve,te),De.$i=!0),te},te.locale=re,te.isDayjs=ee,te.unix=function(De){return te(1e3*De)},te.en=Z[H],te.Ls=Z,te.p={},te})})(A6);var kR=A6.exports;const Wi=zs(kR);var S6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){var s,a,r=1e3,e=6e4,p=36e5,_=864e5,D=/\[([^\]]+)]|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,F=31536e6,T=2592e6,A=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,R={years:F,months:T,days:_,hours:p,minutes:e,seconds:r,milliseconds:1,weeks:6048e5},I=function(H){return H instanceof z},N=function(H,Z,ee){return new z(H,ee,Z.$l)},L=function(H){return a.p(H)+"s"},V=function(H){return H<0},U=function(H){return V(H)?Math.ceil(H):Math.floor(H)},G=function(H){return Math.abs(H)},ne=function(H,Z){return H?V(H)?{negative:!0,format:""+G(H)+Z}:{negative:!1,format:""+H+Z}:{negative:!1,format:""}},z=function(){function H(ee,re,te){var ae=this;if(this.$d={},this.$l=te,ee===void 0&&(this.$ms=0,this.parseFromMilliseconds()),re)return N(ee*R[L(re)],this);if(typeof ee=="number")return this.$ms=ee,this.parseFromMilliseconds(),this;if(typeof ee=="object")return Object.keys(ee).forEach(function(De){ae.$d[L(De)]=ee[De]}),this.calMilliseconds(),this;if(typeof ee=="string"){var ve=ee.match(A);if(ve){var Ae=ve.slice(2).map(function(De){return De!=null?Number(De):0});return this.$d.years=Ae[0],this.$d.months=Ae[1],this.$d.weeks=Ae[2],this.$d.days=Ae[3],this.$d.hours=Ae[4],this.$d.minutes=Ae[5],this.$d.seconds=Ae[6],this.calMilliseconds(),this}}return this}var Z=H.prototype;return Z.calMilliseconds=function(){var ee=this;this.$ms=Object.keys(this.$d).reduce(function(re,te){return re+(ee.$d[te]||0)*R[te]},0)},Z.parseFromMilliseconds=function(){var ee=this.$ms;this.$d.years=U(ee/F),ee%=F,this.$d.months=U(ee/T),ee%=T,this.$d.days=U(ee/_),ee%=_,this.$d.hours=U(ee/p),ee%=p,this.$d.minutes=U(ee/e),ee%=e,this.$d.seconds=U(ee/r),ee%=r,this.$d.milliseconds=ee},Z.toISOString=function(){var ee=ne(this.$d.years,"Y"),re=ne(this.$d.months,"M"),te=+this.$d.days||0;this.$d.weeks&&(te+=7*this.$d.weeks);var ae=ne(te,"D"),ve=ne(this.$d.hours,"H"),Ae=ne(this.$d.minutes,"M"),De=this.$d.seconds||0;this.$d.milliseconds&&(De+=this.$d.milliseconds/1e3);var ge=ne(De,"S"),Ne=ee.negative||re.negative||ae.negative||ve.negative||Ae.negative||ge.negative,We=ve.format||Ae.format||ge.format?"T":"",Se=(Ne?"-":"")+"P"+ee.format+re.format+ae.format+We+ve.format+Ae.format+ge.format;return Se==="P"||Se==="-P"?"P0D":Se},Z.toJSON=function(){return this.toISOString()},Z.format=function(ee){var re=ee||"YYYY-MM-DDTHH:mm:ss",te={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 re.replace(D,function(ae,ve){return ve||String(te[ae])})},Z.as=function(ee){return this.$ms/R[L(ee)]},Z.get=function(ee){var re=this.$ms,te=L(ee);return te==="milliseconds"?re%=1e3:re=te==="weeks"?U(re/R[te]):this.$d[te],re===0?0:re},Z.add=function(ee,re,te){var ae;return ae=re?ee*R[L(re)]:I(ee)?ee.$ms:N(ee,this).$ms,N(this.$ms+ae*(te?-1:1),this)},Z.subtract=function(ee,re){return this.add(ee,re,!0)},Z.locale=function(ee){var re=this.clone();return re.$l=ee,re},Z.clone=function(){return N(this.$ms,this)},Z.humanize=function(ee){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!ee)},Z.valueOf=function(){return this.asMilliseconds()},Z.milliseconds=function(){return this.get("milliseconds")},Z.asMilliseconds=function(){return this.as("milliseconds")},Z.seconds=function(){return this.get("seconds")},Z.asSeconds=function(){return this.as("seconds")},Z.minutes=function(){return this.get("minutes")},Z.asMinutes=function(){return this.as("minutes")},Z.hours=function(){return this.get("hours")},Z.asHours=function(){return this.as("hours")},Z.days=function(){return this.get("days")},Z.asDays=function(){return this.as("days")},Z.weeks=function(){return this.get("weeks")},Z.asWeeks=function(){return this.as("weeks")},Z.months=function(){return this.get("months")},Z.asMonths=function(){return this.as("months")},Z.years=function(){return this.get("years")},Z.asYears=function(){return this.as("years")},H}();return function(H,Z,ee){s=ee,a=ee().$utils(),ee.duration=function(ae,ve){var Ae=ee.locale();return N(ae,{$l:Ae},ve)},ee.isDuration=I;var re=Z.prototype.add,te=Z.prototype.subtract;Z.prototype.add=function(ae,ve){return I(ae)&&(ae=ae.asMilliseconds()),re.bind(this)(ae,ve)},Z.prototype.subtract=function(ae,ve){return I(ae)&&(ae=ae.asMilliseconds()),te.bind(this)(ae,ve)}}})})(S6);var RR=S6.exports;const PR=zs(RR);var O6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){var s="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(e,p,_){var D=p.prototype;_.utc=function(L){var V={date:L,utc:!0,args:arguments};return new p(V)},D.utc=function(L){var V=_(this.toDate(),{locale:this.$L,utc:!0});return L?V.add(this.utcOffset(),s):V},D.local=function(){return _(this.toDate(),{locale:this.$L,utc:!1})};var F=D.parse;D.parse=function(L){L.utc&&(this.$u=!0),this.$utils().u(L.$offset)||(this.$offset=L.$offset),F.call(this,L)};var T=D.init;D.init=function(){if(this.$u){var L=this.$d;this.$y=L.getUTCFullYear(),this.$M=L.getUTCMonth(),this.$D=L.getUTCDate(),this.$W=L.getUTCDay(),this.$H=L.getUTCHours(),this.$m=L.getUTCMinutes(),this.$s=L.getUTCSeconds(),this.$ms=L.getUTCMilliseconds()}else T.call(this)};var A=D.utcOffset;D.utcOffset=function(L,V){var U=this.$utils().u;if(U(L))return this.$u?0:U(this.$offset)?A.call(this):this.$offset;if(typeof L=="string"&&(L=function(H){H===void 0&&(H="");var Z=H.match(a);if(!Z)return null;var ee=(""+Z[0]).match(r)||["-",0,0],re=ee[0],te=60*+ee[1]+ +ee[2];return te===0?0:re==="+"?te:-te}(L),L===null))return this;var G=Math.abs(L)<=16?60*L:L,ne=this;if(V)return ne.$offset=G,ne.$u=L===0,ne;if(L!==0){var z=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(ne=this.local().add(G+z,s)).$offset=G,ne.$x.$localOffset=z}else ne=this.utc();return ne};var R=D.format;D.format=function(L){var V=L||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return R.call(this,V)},D.valueOf=function(){var L=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*L},D.isUTC=function(){return!!this.$u},D.toISOString=function(){return this.toDate().toISOString()},D.toString=function(){return this.toDate().toUTCString()};var I=D.toDate;D.toDate=function(L){return L==="s"&&this.$offset?_(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():I.call(this)};var N=D.diff;D.diff=function(L,V,U){if(L&&this.$u===L.$u)return N.call(this,L,V,U);var G=this.local(),ne=_(L).local();return N.call(G,ne,V,U)}}})})(O6);var IR=O6.exports;const NR=zs(IR);var k6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){var s={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,e,p){var _,D=function(R,I,N){N===void 0&&(N={});var L=new Date(R),V=function(U,G){G===void 0&&(G={});var ne=G.timeZoneName||"short",z=U+"|"+ne,H=a[z];return H||(H=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:U,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:ne}),a[z]=H),H}(I,N);return V.formatToParts(L)},F=function(R,I){for(var N=D(R,I),L=[],V=0;V<N.length;V+=1){var U=N[V],G=U.type,ne=U.value,z=s[G];z>=0&&(L[z]=parseInt(ne,10))}var H=L[3],Z=H===24?0:H,ee=L[0]+"-"+L[1]+"-"+L[2]+" "+Z+":"+L[4]+":"+L[5]+":000",re=+R;return(p.utc(ee).valueOf()-(re-=re%1e3))/6e4},T=e.prototype;T.tz=function(R,I){R===void 0&&(R=_);var N=this.utcOffset(),L=this.toDate(),V=L.toLocaleString("en-US",{timeZone:R}),U=Math.round((L-new Date(V))/1e3/60),G=p(V).$set("millisecond",this.$ms).utcOffset(15*-Math.round(L.getTimezoneOffset()/15)-U,!0);if(I){var ne=G.utcOffset();G=G.add(N-ne,"minute")}return G.$x.$timezone=R,G},T.offsetName=function(R){var I=this.$x.$timezone||p.tz.guess(),N=D(this.valueOf(),I,{timeZoneName:R}).find(function(L){return L.type.toLowerCase()==="timezonename"});return N&&N.value};var A=T.startOf;T.startOf=function(R,I){if(!this.$x||!this.$x.$timezone)return A.call(this,R,I);var N=p(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return A.call(N,R,I).tz(this.$x.$timezone,!0)},p.tz=function(R,I,N){var L=N&&I,V=N||I||_,U=F(+p(),V);if(typeof R!="string")return p(R).tz(V);var G=function(Z,ee,re){var te=Z-60*ee*1e3,ae=F(te,re);if(ee===ae)return[te,ee];var ve=F(te-=60*(ae-ee)*1e3,re);return ae===ve?[te,ae]:[Z-60*Math.min(ae,ve)*1e3,Math.max(ae,ve)]}(p.utc(R,L).valueOf(),U,V),ne=G[0],z=G[1],H=p(ne).utcOffset(z);return H.$x.$timezone=V,H},p.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},p.tz.setDefault=function(R){_=R}}})})(k6);var MR=k6.exports;const LR=zs(MR);var R6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a){var r=a.prototype,e=r.format;r.format=function(p){var _=this,D=this.$locale();if(!this.isValid())return e.bind(this)(p);var F=this.$utils(),T=(p||"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(A){switch(A){case"Q":return Math.ceil((_.$M+1)/3);case"Do":return D.ordinal(_.$D);case"gggg":return _.weekYear();case"GGGG":return _.isoWeekYear();case"wo":return D.ordinal(_.week(),"W");case"w":case"ww":return F.s(_.week(),A==="w"?1:2,"0");case"W":case"WW":return F.s(_.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return F.s(String(_.$H===0?24:_.$H),A==="k"?1:2,"0");case"X":return Math.floor(_.$d.getTime()/1e3);case"x":return _.$d.getTime();case"z":return"["+_.offsetName()+"]";case"zzz":return"["+_.offsetName("long")+"]";default:return A}});return e.bind(this)(T)}}})})(R6);var BR=R6.exports;const UR=zs(BR);var P6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a){a.prototype.isSameOrBefore=function(r,e){return this.isSame(r,e)||this.isBefore(r,e)}}})})(P6);var HR=P6.exports;const $R=zs(HR);var I6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a){a.prototype.isSameOrAfter=function(r,e){return this.isSame(r,e)||this.isAfter(r,e)}}})})(I6);var WR=I6.exports;const zR=zs(WR);var N6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a,r){var e=function(p,_){if(!_||!_.length||!_[0]||_.length===1&&!_[0].length)return null;var D;_.length===1&&_[0].length>0&&(_=_[0]),D=_[0];for(var F=1;F<_.length;F+=1)_[F].isValid()&&!_[F][p](D)||(D=_[F]);return D};r.max=function(){var p=[].slice.call(arguments,0);return e("isAfter",p)},r.min=function(){var p=[].slice.call(arguments,0);return e("isBefore",p)}}})})(N6);var jR=N6.exports;const VR=zs(jR);var M6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(Mi,function(){return function(s,a,r){s=s||{};var e=a.prototype,p={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 _(F,T,A,R){return e.fromToBase(F,T,A,R)}r.en.relativeTime=p,e.fromToBase=function(F,T,A,R,I){for(var N,L,V,U=A.$locale().relativeTime||p,G=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"}],ne=G.length,z=0;z<ne;z+=1){var H=G[z];H.d&&(N=R?r(F).diff(A,H.d,!0):A.diff(F,H.d,!0));var Z=(s.rounding||Math.round)(Math.abs(N));if(V=N>0,Z<=H.r||!H.r){Z<=1&&z>0&&(H=G[z-1]);var ee=U[H.l];I&&(Z=I(""+Z)),L=typeof ee=="string"?ee.replace("%d",Z):ee(Z,T,H.l,V);break}}if(T)return L;var re=V?U.future:U.past;return typeof re=="function"?re(L):re.replace("%s",L)},e.to=function(F,T){return _(F,T,this,!0)},e.from=function(F,T){return _(F,T,this)};var D=function(F){return F.$u?r.utc():r()};e.toNow=function(F){return this.to(D(this),F)},e.fromNow=function(F){return this.from(D(this),F)}}})})(M6);var GR=M6.exports;const YR=zs(GR);var $g={exports:{}};/**
|
|
31
31
|
* @license
|
|
32
32
|
* Lodash <https://lodash.com/>
|
|
33
33
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -197,9 +197,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
197
197
|
`,i.contest.problems.forEach(p=>{s+=`@p ${p.label},${p.label},20,0
|
|
198
198
|
`});let a=1;const r=new Map,e=new Map;i.teams.forEach(p=>{let _=p.name;p.organization&&(_=`${p.organization} - ${_}`),p.members&&(_=`${_} - ${p.membersToString}`),s+=`@t ${a},0,1,${_}
|
|
199
199
|
`,r.set(p.id,a),a++;{const D=new Map;i.contest.problems.forEach(F=>{D.set(F.id,0)}),e.set(p.id,D)}});for(let p=0;p<100;p++)s+=`@t ${a},0,1,Пополнить команду
|
|
200
|
-
`,a++;return i.getSubmissions().forEach(p=>{var A;const _=p.teamId,D=p.problemId,F=i.contest.problemsMap.get(D);if(!F)return;const T=this.submissionStatusToCodeforcesGymDatStatus(p.status);e.get(_).set(D,e.get(_).get(D)+1),s+=`@s ${r.get(_)},${F.label},${(A=e.get(_))==null?void 0:A.get(D)},${p.
|
|
201
|
-
`}),s}submissionStatusToCodeforcesGymDatStatus(i){return B6(i)?"OK":i===xt.WRONG_ANSWER?"WA":i===xt.TIME_LIMIT_EXCEEDED?"TL":i===xt.MEMORY_LIMIT_EXCEEDED?"ML":i===xt.OUTPUT_LIMIT_EXCEEDED?"IL":i===xt.PRESENTATION_ERROR?"PE":i===xt.RUNTIME_ERROR?"RT":i===xt.COMPILATION_ERROR||H6(i)?"CE":U6(i)?"PD":"RJ"}}var Ed=(t=>(t.UNKNOWN="Unknown",t.GOLD="Gold",t.SILVER="Silver",t.BRONZE="Bronze",t.HONORABLE="Honorable",t))(Ed||{});class W3{constructor(){this.medalType="Unknown",this.minRank=0,this.maxRank=0}}function oP(t){return["Gold","Silver","Bronze","Honorable"].includes(t)}class HI{constructor(){}convert(i){const s=Wg.cloneDeep(i);s.options.disableFilterTeamsByGroup(),s.options.disableFilterSubmissionByTimestamp();const a=jf.utils.book_new();for(const[r,e]of s.contest.group){s.options.setGroup(r),s.buildRank();const p=this.convertToSheet(s);jf.utils.book_append_sheet(a,p,e.names.get(e.defaultLang))}return a}convertAndWrite(i,s){return jf.writeFile(this.convert(i),s,{compression:!0})}convertToSheet(i){const s=this.convertToAoa(i),a=jf.utils.aoa_to_sheet(s),r=[],e=s[1];for(let F=0;F<e.length;F++){let T=10;for(let A=1;A<s.length;A++)T=Math.max(T,iP(s[A][F])+2);r.push({wch:T})}a["!cols"]=r;{const F={s:{r:0,c:0},e:{r:0,c:e.length-1}},T=[{s:F.s,e:F.e}];a["!merges"]=T}const p={name:"Arial Unicode MS",bold:!1,italic:!1,sz:12},_={style:"thin"},D={alignment:{vertical:"center",horizontal:"center"},border:{top:_,bottom:_,left:_,right:_},font:p};for(let F=1;F<s.length;F++)for(let T=0;T<s[F].length;T++){const A=jf.utils.encode_cell({r:F,c:T}),R=a[A];R.s=D}{const F=jf.utils.encode_cell({r:0,c:0}),T=a[F],A=Wg.cloneDeep(D);A.font.sz=28,A.font.bold=!0,T.s=A}return a}convertToAoa(i){const s=[],a=i.contest.isEnableAwards(i.options.group);s.push([i.contest.name]);{const r=[];r.push("Rank"),i.contest.organization&&(r.push(`${i.contest.organization} Rank`),r.push(i.contest.organization)),r.push("Name","Solved","Penalty",...i.contest.problems.map(e=>e.label),"Dirt"),a&&r.push("Medal"),s.push(r)}for(const r of i.teams){const e=[];e.push(r.rank.toString()),r.organization&&(r.organizationRank!==-1?e.push(r.organizationRank.toString()):e.push(""),e.push(r.organization)),e.push(r.name,r.solvedProblemNum.toString(),r.penaltyToMinute.toString());for(const p of r.problemStatistics)p.isUnSubmitted&&e.push("-"),p.isSolved&&e.push(`+${p.totalCount}(${p.solvedTimestampToMinute})`),p.isWrongAnswer&&e.push(`-${p.failedCount}`),p.isPending&&e.push(`? ${p.failedCount} + ${p.pendingCount}`);if(e.push(`${r.dirt}%`),a){const p=r.awards.filter(_=>oP(_)).map(_=>_.toString());e.push(p.join(", "))}s.push(e)}return s}}function $6(t,i){return i===0?0:Math.floor((t-i)*100/t)}class lP{constructor(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}reset(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}get dirt(){return this.acceptedNum===0?0:$6(this.attemptedNum,this.acceptedNum)}}class A2{constructor(){this.id="",this.label="",this.name="",this.statistics=new lP}}function cP(t){return t.map(i=>{const s=new A2;return s.id=i.id,s.label=i.label,s.name=i.name??"",s.timeLimit=i.time_limit,s.memoryLimit=i.memory_limit,s.balloonColor=i.balloon_color,s})}function uP(t,i){const s=t.map((a,r)=>{const e=new A2;return e.id=String(r),e.label=a,e});if(i!=null)for(const a in i)s[a].balloonColor=i[a];return s}class fP{constructor(i){var s,a,r,e,p,_,D,F,T,A,R,I;this.isFirstSolved=((s=i==null?void 0:i.teamProblemStatistics)==null?void 0:s.isFirstSolved)??!1,this.isSolved=((a=i==null?void 0:i.teamProblemStatistics)==null?void 0:a.isSolved)??!1,this.solvedTimestamp=((r=i==null?void 0:i.teamProblemStatistics)==null?void 0:r.solvedTimestamp)??0,this.isSubmitted=((e=i==null?void 0:i.teamProblemStatistics)==null?void 0:e.isSubmitted)??!1,this.lastSubmitTimestamp=((p=i==null?void 0:i.teamProblemStatistics)==null?void 0:p.lastSubmitTimestamp)??0,this.failedCount=((_=i==null?void 0:i.teamProblemStatistics)==null?void 0:_.failedCount)??0,this.pendingCount=((D=i==null?void 0:i.teamProblemStatistics)==null?void 0:D.pendingCount)??0,this.ignoreCount=((F=i==null?void 0:i.teamProblemStatistics)==null?void 0:F.ignoreCount)??0,this.totalCount=((T=i==null?void 0:i.teamProblemStatistics)==null?void 0:T.totalCount)??0,this.submissions=((A=i==null?void 0:i.teamProblemStatistics)==null?void 0:A.submissions)??[],this.problem=((R=i==null?void 0:i.teamProblemStatistics)==null?void 0:R.problem)??new A2,this.contestPenalty=((I=i==null?void 0:i.teamProblemStatistics)==null?void 0:I.contestPenalty)??20*60}get isAccepted(){return this.isSolved}get isWrongAnswer(){return!this.isSolved&&this.pendingCount===0&&this.failedCount>0}get isPending(){return!this.isSolved&&this.pendingCount>0}get isUnSubmitted(){return this.totalCount===0}get solvedTimestampToMinute(){return Math.floor(this.solvedTimestamp/60)}get penalty(){return this.isSolved===!1?0:this.solvedTimestampToMinute*60+this.failedCount*this.contestPenalty}get penaltyToMinute(){return Math.floor(this.penalty/60)}get penaltyInSecond(){return this.isSolved===!1?0:this.solvedTimestamp+this.failedCount*this.contestPenalty}}class zd{constructor(){this.id="",this.name="",this.organization="",this.group=[],this.tag=[],this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemTimestamp=0,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[]}reset(){this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemTimestamp=0,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[]}get penaltyToMinute(){return Math.floor(this.penalty/60)}get dirt(){const i=this.attemptedProblemNum,s=this.solvedProblemNum;return $6(i,s)}get membersToString(){var i;return typeof this.members=="string"?this.members:(i=this.members)==null?void 0:i.join(", ")}calcSolvedData(i){this.solvedProblemNum=0,this.attemptedProblemNum=0,this.penalty=0;for(const s of this.problemStatistics)s.isAccepted&&(this.solvedProblemNum++,this.attemptedProblemNum+=s.failedCount+1,(i==null?void 0:i.calculationOfPenalty)==="in_seconds"||(i==null?void 0:i.calculationOfPenalty)==="accumulate_in_seconds_and_finally_to_the_minute"?this.penalty+=s.penaltyInSecond:this.penalty+=s.penalty);(i==null?void 0:i.calculationOfPenalty)==="accumulate_in_seconds_and_finally_to_the_minute"&&(this.penalty=Math.floor(this.penalty/60)*60)}calcAwards(i){if(i)for(const s of i)this.rank>=s.minRank&&this.rank<=s.maxRank&&this.awards.push(s.medalType)}isEqualRank(i){return this.solvedProblemNum===i.solvedProblemNum&&this.penalty===i.penalty}postProcessPlaceChartPoints(){if(this.placeChartPoints.length===0)return;const i=[];i.push(this.placeChartPoints[0]);for(let s=1;s<this.placeChartPoints.length-1;s++){const a=this.placeChartPoints[s],r=i[i.length-1];(a.rank!==r.rank||a.lastSolvedProblem!==r.lastSolvedProblem)&&i.push(a)}this.placeChartPoints.length>1&&i.push(this.placeChartPoints[this.placeChartPoints.length-1]),this.placeChartPoints=i}static compare(i,s){return i.solvedProblemNum!==s.solvedProblemNum?s.solvedProblemNum-i.solvedProblemNum:i.penalty!==s.penalty?i.penalty-s.penalty:i.lastSolvedProblemTimestamp!==s.lastSolvedProblemTimestamp?i.lastSolvedProblemTimestamp-s.lastSolvedProblemTimestamp:i.name<s.name?-1:i.name>s.name?1:0}}function z3(t){const i=new zd;i.id=t.id??t.team_id??"",i.name=t.name??t.team_name??"",i.organization=t.organization??"",i.badge=t.badge,i.group=t.group??[],i.tag=t.group??[],i.coach=t.coach,i.members=t.members,t.official&&i.group.push("official"),t.unofficial&&i.group.push("unofficial"),t.girl&&i.group.push("girl");{const s=t;for(const a of Object.keys(s))(s[a]===1||s[a]===!0)&&i.group.push(a)}return i.group=[...new Set(i.group)],i.group.sort(),t.location&&(i.location=t.location),i}function $I(t){return Array.isArray(t)?t.map(i=>z3(i)):Object.entries(t).map(([s,a])=>z3({...a,team_id:a.team_id??s}))}class zg{constructor(){this.status=xt.UNKNOWN,this.isIgnore=!1,this.id="",this.teamId="",this.problemId="",this.timestamp=0,this.timestampUnit="second"}isAccepted(){return B6(this.status)}isRejected(){return aP(this.status)}isPending(){return U6(this.status)}isNotCalculatedPenaltyStatus(){return H6(this.status)}get timestampToMinute(){return this.timestampUnit==="nanosecond"?Math.floor(this.timestamp/60/1e3/1e3/1e3):this.timestampUnit==="microsecond"?Math.floor(this.timestamp/60/1e3/1e3):this.timestampUnit==="millisecond"?Math.floor(this.timestamp/60/1e3):Math.floor(this.timestamp/60)}get timestampToSecond(){return this.timestampUnit==="nanosecond"?Math.floor(this.timestamp/1e3/1e3/1e3):this.timestampUnit==="microsecond"?Math.floor(this.timestamp/1e3/1e3):this.timestampUnit==="millisecond"?Math.floor(this.timestamp/1e3):this.timestamp}get timestampDisplayFormatWithSecond(){const i=this.timestampToSecond,s=Math.floor(i/3600),a=Math.floor(i%3600/60),r=i%60,e=_=>_.toString().padStart(2,"0");return`${e(s)}:${e(a)}:${e(r)}`}get timestampDisplayFormatWithMilliSecond(){let i=this.timestampDisplayFormatWithSecond;if(this.timestampUnit==="millisecond"){const s=(this.timestamp%1e3).toString().padEnd(3,"0");i+=`.${s}`}return i}static compare(i,s){if(i.timestamp!==s.timestamp)return i.timestamp-s.timestamp;if(i.teamId===s.teamId){if(i.isAccepted()&&!s.isAccepted())return-1;if(!i.isAccepted()&&s.isAccepted())return 1}return 0}}function j3(t){const i=new zg;return i.id=String(t.id??t.submission_id??""),i.teamId=String(t.team_id),i.problemId=String(t.problem_id),i.timestamp=t.timestamp,i.status=sP(t.status),i.isIgnore=t.is_ignore??!1,t.time&&(i.time=t.time),t.language&&(i.language=t.language),i}function WI(t){return Array.isArray(t)?t.map((i,s)=>j3({...i,id:i.submission_id??String(s)})):Object.entries(t).map(([s,a])=>j3({...a,id:a.submission_id??s}))}class hP{constructor(){this.problem=new A2,this.team=new zd,this.submission=new zg}get key(){return`balloon-${this.team.id}-${this.problem.id}`}}class V3{constructor(){this.names=new Map,this.defaultLang="zh-CN",this.isDefault=!1}}class W6{constructor(){this.calculationOfPenalty="in_minutes",this.submissionTimestampUnit="second",this.submissionHasTimeField=!1,this.submissionHasLanguageField=!1}}function dP(t={}){const i=t,s=new W6;return i.calculation_of_penalty&&(s.calculationOfPenalty=i.calculation_of_penalty),i.submission_timestamp_unit&&(s.submissionTimestampUnit=i.submission_timestamp_unit),s}class z6{constructor(){this.name="",this.startTime=Ls(),this.endTime=Ls(),this.freezeTime=Ls(),this.totalDurationTimestamp=0,this.freezeDurationTimestamp=0,this.unFreezeDurationTimestamp=0,this.penalty=20*60,this.problems=[],this.problemsMap=new Map,this.statusTimeDisplay={correct:!0,incorrect:!0,pending:!0},this.group=new Map,this.tag=new Map,this.options=new W6}getContestDuration(i="HH:mm:ss"){return Wi.duration(this.endTime.diff(this.startTime)).format(i)}getContestState(i){const s=Ls(i);return s.isBefore(this.startTime)?Oa.PENDING:s.isSameOrAfter(this.endTime)?Oa.FINISHED:s.isSameOrAfter(this.freezeTime)?Oa.FROZEN:Oa.RUNNING}getContestPendingTime(i){let s=Ls(i);return s.isAfter(this.startTime)&&(s=this.startTime),fg(Math.floor(Wi.duration(this.startTime.diff(s)).asSeconds()))}getContestElapsedTime(i){let s=Ls(i);return s.isAfter(this.endTime)&&(s=this.endTime),s.isBefore(this.startTime)&&(s=this.startTime),fg(Math.floor(Wi.duration(s.diff(this.startTime)).asSeconds()))}getContestRemainingTime(i){let s=Ls(i);return s.isAfter(this.endTime)&&(s=this.endTime),s.isBefore(this.startTime)&&(s=this.startTime),fg(Math.floor(Wi.duration(this.endTime.diff(s)).asSeconds()))}getContestProgressRatio(i){const s=Ls(i);if(this.startTime.isSameOrAfter(s))return 0;if(this.endTime.isSameOrBefore(s))return 100;const a=this.endTime.diff(this.startTime,"s"),r=s.diff(this.startTime,"s");return Math.round(r*100/a)}isEnableAwards(i){return!(!this.awards||!this.awards.has(i))}}function pP(t){const i=new z6;i.name=t.contest_name,i.startTime=Ls(t.start_time),i.endTime=Ls(t.end_time),i.totalDurationTimestamp=i.endTime.unix()-i.startTime.unix();{if(i.freezeTime=i.endTime,i.freezeDurationTimestamp=0,t.frozen_time!==void 0&&t.frozen_time!=null){const s=Number(t.frozen_time);i.freezeTime=Ls(i.endTime.unix()-s),i.freezeDurationTimestamp=s}t.freeze_time!==void 0&&t.freeze_time!==null&&(i.freezeTime=Ls(t.freeze_time),i.freezeDurationTimestamp=i.endTime.unix()-i.freezeTime.unix()),i.unFreezeDurationTimestamp=i.totalDurationTimestamp-i.freezeDurationTimestamp}i.penalty=t.penalty,t.problem_id!==void 0&&t.problem_id!==null&&(i.problems=uP(t.problem_id,t.balloon_color)),t.problems!==void 0&&t.problems!==null&&(i.problems=cP(t.problems)),i.problemsMap=new Map(i.problems.map(s=>[s.id,s])),t.status_time_display!==void 0&&t.status_time_display!==null&&(i.statusTimeDisplay={correct:!!(t.status_time_display.correct??!1),incorrect:!!(t.status_time_display.incorrect??!1),pending:!!(t.status_time_display.pending??!1)}),i.badge=t.badge,i.medal=t.medal,(()=>{if(!(t.medal===void 0||t.medal===null)){i.awards=new Map;for(const s in t.medal){const a=t.medal[s];{const r=[];let e=1;const p=(_,D)=>{if(Object.keys(a).includes(_)){const F=new W3;F.medalType=D,F.minRank=e,e+=Number(a[_]),F.maxRank=e-1,r.push(F)}};p("gold",Ed.GOLD),p("silver",Ed.SILVER),p("bronze",Ed.BRONZE);{const _=new W3;_.medalType=Ed.HONORABLE,_.minRank=e,_.maxRank=1061109567,r.push(_)}i.awards.set(s,r)}}}})(),i.organization=t.organization;{const s=new V3;s.names.set("en","All"),s.names.set("zh-CN","所有队伍"),s.isDefault=!0,i.group.set("all",s)}for(const[s,a]of Object.entries((t==null?void 0:t.group)??{})){let r=s;const e=new V3;e.names.set("zh-CN",a),s==="official"&&e.names.set("en","Official"),s==="unofficial"&&e.names.set("en","Unofficial"),(s==="girl"||s==="girls")&&(e.names.set("en","Girls"),r="girl"),i.group.set(r,e)}return i.banner=t.banner,i.logo=t.logo,i.boardLink=t.board_link,t.options&&(i.options=dP(t.options)),i}class mP{constructor(){this.contest=new z6,this.boardLink=""}}function gP(t){const i=new mP,s=t.config;return i.contest=pP(s),i.boardLink=t.board_link,i}function vP(t){const i=[],s=a=>{if(Object.prototype.hasOwnProperty.call(a,"config"))i.push(gP(a));else for(const r in a)s(a[r])};return s(t),i.sort((a,r)=>a.contest.startTime.isBefore(r.contest.startTime)?1:a.contest.startTime.isAfter(r.contest.startTime)?-1:a.contest.endTime.isBefore(r.contest.endTime)?1:a.contest.endTime.isAfter(r.contest.endTime)?-1:a.contest.name<r.contest.name?1:a.contest.name>r.contest.name?-1:0),i}function bP(t){return t!=null&&t.url?t.url:t!=null&&t.base64?`data:image/${t.type??"png"};base64,${t.base64}`:""}class _P{constructor(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0}reset(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0}getTeamSolvedNumIndex(i){return this.teamSolvedNumIndex[i]??0}}class yP{constructor(){this.enableFilterSubmissionsByTimestamp=!1,this.width=0,this.timestamp=0,this.enableFilterTeamsByGroup=!1,this.group="all",this.filterOrganizations=[],this.filterOrganizationMap=new Map,this.filterTeams=[],this.filterTeamMap=new Map}setWidth(i,s){this.width=i,this.timestamp=Math.floor((s.endTime.unix()-s.startTime.unix())*this.width*1e-4),this.enableFilterSubmissionsByTimestamp=!0}disableFilterSubmissionByTimestamp(){this.enableFilterSubmissionsByTimestamp=!1}setGroup(i){this.group=i,this.enableFilterTeamsByGroup=!0,this.group==="all"&&this.disableFilterTeamsByGroup()}disableFilterTeamsByGroup(){this.enableFilterTeamsByGroup=!1,this.group="all"}setFilterOrganizations(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterOrganizations=i,this.filterOrganizationMap=s}setFilterTeams(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterTeams=i,this.filterTeamMap=s}isNeedReBuildRank(i){return this.enableFilterSubmissionsByTimestamp!==i.enableFilterSubmissionsByTimestamp||this.width!==i.width||this.timestamp!==i.timestamp||this.enableFilterTeamsByGroup!==i.enableFilterTeamsByGroup||this.group!==i.group}}class zI{constructor(i,s,a){this.contest=i,this.teams=Wg.cloneDeep(s),this.teamsMap=new Map(this.teams.map(r=>[r.id,r])),this.submissions=Wg.cloneDeep(a).sort(zg.compare),this.submissions.forEach(r=>{const e=this.contest.options;r.timestampUnit=e.submissionTimestampUnit,r.time&&(e.submissionHasTimeField=!0),r.language&&(e.submissionHasLanguageField=!0)}),this.submissionsMap=new Map(this.submissions.map(r=>[r.id,r])),this.organizations=this.buildOrganizations(),this.originTeams=this.teams.map(r=>r),this.originTeams.sort(zd.compare),this.rankStatistics=new _P,this.options=new yP,this.balloons=[]}cleanRank(){(()=>{this.teams=[];for(const[i,s]of this.teamsMap)this.filterTeamByOrg(s)||this.teams.push(s)})();for(const i of this.teams)i.reset(),i.problemStatistics=this.contest.problems.map(s=>{const a=new fP;return a.problem=s,a.contestPenalty=this.contest.penalty,a}),i.problemStatisticsMap=new Map(i.problemStatistics.map(s=>[s.problem.id,s]));this.contest.problems.forEach(i=>{i.statistics.reset()})}buildRank(){return(()=>{this.cleanRank(),this.teams.forEach(a=>a.placeChartPoints.push({timePoint:0,rank:1,lastSolvedProblem:null})),this.rankStatistics.reset(),this.rankStatistics.teamSolvedNum=Array(this.contest.problems.length+1).fill(0),this.rankStatistics.teamSolvedNumIndex=Array(this.contest.problems.length+1).fill(0);let i=0;const s=this.getSubmissions();for(let a=0;a<s.length;a++){const r=s[a],e=r.teamId,p=r.problemId,_=this.teamsMap.get(e),D=this.contest.problemsMap.get(p);(()=>{if(_===void 0||this.filterTeamByOrg(_)||D===void 0)return;const F=_.problemStatisticsMap.get(p);if(F.submissions.push(r),_.submissions.push(r),D.statistics.submittedNum++,!F.isSolved){if(r.isIgnore||r.isNotCalculatedPenaltyStatus()){D.statistics.ignoreNum++,F.ignoreCount++;return}if(F.isSubmitted=!0,F.lastSubmitTimestamp=r.timestampToSecond,F.totalCount++,r.isAccepted()){for(F.isSolved=!0,F.solvedTimestamp=r.timestampToSecond,D.statistics.acceptedNum++,D.statistics.attemptedNum+=F.failedCount+1,(D.statistics.firstSolveSubmissions.length===0||D.statistics.firstSolveSubmissions[D.statistics.firstSolveSubmissions.length-1].timestamp===r.timestamp)&&(F.isFirstSolved=!0,D.statistics.firstSolveSubmissions.push(r));D.statistics.lastSolveSubmissions.length>0;)D.statistics.lastSolveSubmissions.pop();D.statistics.lastSolveSubmissions.push(r),_.lastSolvedProblem=D,_.lastSolvedProblemTimestamp=r.timestampToSecond}r.isRejected()&&(F.failedCount++,D.statistics.rejectedNum++),r.isPending()&&(F.pendingCount++,D.statistics.pendingNum++)}})(),(r.timestampToMinute>i||a===s.length-1)&&(this.teams.forEach(F=>F.calcSolvedData(this.contest.options)),this.teams.sort(zd.compare),this.buildTeamRank(),this.teams.forEach(F=>F.placeChartPoints.push({timePoint:r.timestampToMinute,rank:F.rank,lastSolvedProblem:F.lastSolvedProblem}))),i=r.timestampToMinute}this.teams.forEach(a=>a.calcSolvedData(this.contest.options)),this.teams.sort(zd.compare),this.buildTeamRank(),this.buildOrgRank(),this.teams.forEach(a=>{var r;return a.calcAwards((r=this.contest.awards)==null?void 0:r.get(this.options.group))}),this.teams.forEach(a=>a.postProcessPlaceChartPoints())})(),(()=>{for(const i of this.teams)this.rankStatistics.teamSolvedNum[i.solvedProblemNum]++;{let i=0;const s=this.rankStatistics.teamSolvedNum,a=this.rankStatistics.teamSolvedNumIndex;for(let r=a.length-1;r>=0;r--)i+=s[r]>0?1:0,a[r]=i}this.teams.length>0&&(this.rankStatistics.maxSolvedProblems=this.teams[0].solvedProblemNum)})(),this}buildTeamRank(){let i=1,s=1,a=null;for(const r of this.teams)r.rank=i++,r.originalRank=s++,a!==null&&r.isEqualRank(a)&&(r.rank=a.rank),a=r}buildOrgRank(){if(!this.contest.organization)return;let i=1,s=null;const a=new Set;for(const r of this.teams){const e=r.organization;a.has(e)||(a.add(e),r.organizationRank=i++,s!==null&&r.isEqualRank(s)&&(r.organizationRank=s.organizationRank),s=r)}}buildOrganizations(){if(!this.contest.organization)return[];const i=new Array,s=new Set;return this.teams.forEach(a=>{const r=a.organization;s.has(r)||(i.push(r),s.add(r))}),i.sort(),i}filterTeamByOrg(i){var a;const s=this.options;return!!(s.enableFilterTeamsByGroup&&!((a=i.group)!=null&&a.includes(s.group)))}getSubmissions(){return this.options.enableFilterSubmissionsByTimestamp===!1?this.submissions:this.submissions.filter(i=>i.timestampToSecond<=this.options.timestamp).sort(zg.compare)}buildBalloons(){this.balloons=[],this.cleanRank();const i=this.getSubmissions();for(let s=0;s<i.length;s++){const a=i[s],r=a.teamId,e=a.problemId,p=this.teamsMap.get(r),_=this.contest.problemsMap.get(e);(()=>{if(p===void 0||_===void 0)return;const D=p.problemStatisticsMap.get(e);if(!D.isSolved&&a.isAccepted()){D.isSolved=!0,D.solvedTimestamp=a.timestampToSecond;const F=new hP;F.team=p,F.problem=_,F.submission=a,this.balloons.push(F)}})()}}}const DP="Board - XCPCIO",jI="Balloon - XCPCIO",wP=(...t)=>{const i=Ti().proxy.$props,s=Object.create(null);for(const a of t)if(typeof a=="string")s[a]=u3(i,a,void 0,{eventName:`update:${a}`,passive:!0});else{const[r,e=r,p=`update:${r}`,_={}]=a;s[r]=u3(i,e,void 0,{eventName:p,passive:!0,..._})}return s},FP={relative:""},EP=Tt("span",{"i-carbon-close":"",ma:"",block:"","aria-hidden":"true"},null,-1),xP=[EP],CP=mi({__name:"SearchInput",props:{modelValue:null},emits:["update:modelValue"],setup(t,{expose:i}){const{modelValue:s}=wP("modelValue"),a=Yt(),r={mounted:_=>_.focus()};function e(){var _;s.value=null,(_=a.value)==null||_.focus()}function p(){var _;(_=a.value)==null||_.focus()}return i({focus:p}),(_,D)=>{var F;return Br(),hn("div",FP,[Uw(Tt("input",f2({ref_key:"inputEl",ref:a,"onUpdate:modelValue":D[0]||(D[0]=T=>rn(s)?s.value=T:null),type:"text"},_.$attrs,{p:"x-4 y-2",text:"left",bg:"transparent",autocomplete:"off",w:"full",border:"~ rounded gray-300 dark:gray-500",outline:"none active:none","aria-label":"Search",placeholder:"Search..."}),null,16),[[e1,tr(s)],[r]]),(F=tr(s))!=null&&F.length?(Br(),hn("button",{key:0,absolute:"",flex:"","right-2":"","w-10":"","top-2":"","bottom-2":"","text-xl":"",op30:"","hover:op90":"","aria-label":"Clear search",onClick:D[1]||(D[1]=T=>e())},xP)):ca("",!0)])}}}),TP={},AP={class:"color-gray-700 dark:color-gray-200"},SP=Tt("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1161",width:"30",height:"30"},[Tt("path",{d:"M837.9904 570.0608H124.5696a29.0304 29.0304 0 0 1-29.0304-29.0304V482.9696a29.0304 29.0304 0 0 1 29.0304-29.0304h713.4208z",fill:"currentColor","p-id":"1162"}),Tt("path",{d:"M561.3056 808.96l-40.96-40.96a28.928 28.928 0 0 1 0-40.96l215.04-215.04-215.04-215.04a28.9792 28.9792 0 0 1 0-40.96l40.96-40.96a28.9792 28.9792 0 0 1 40.96 0l296.96 296.96-296.96 296.96a28.9792 28.9792 0 0 1-40.96 0z",fill:"currentColor","p-id":"1163"})],-1),OP=[SP];function kP(t,i){return Br(),hn("div",AP,OP)}const RP=w0(TP,[["render",kP]]),PP=mi({__name:"Progress",props:{width:null,state:null,needScroll:{type:Boolean},rank:null,rankOptions:null,elapsedTime:null},emits:["update:rank-options"],setup(t,{emit:i}){const s=t,a=Hr({get(){return s.rankOptions},set(z){i("update:rank-options",z)}}),r=Hr(()=>{switch(s.state){case Oa.PENDING:return"am-progress-bar-secondary";case Oa.RUNNING:return"am-progress-bar-success";case Oa.FROZEN:return"am-progress-bar-danger";case Oa.FINISHED:return"am-progress-bar-primary"}}),e=Yt(!1),p=Yt(!1),_=Yt(0),D=Yt(s.width),F=Yt(0),T=T6("progress-ratio",-1,{transform:Number}),A=Yt(null),R=Yt(null),I=Yt(null),N=Yt(null),L=Yt(null);function V(z){p.value=!0;const H=z.clientX-I.value.offsetLeft,Z=re=>{var Ae,De;if(!p.value)return;e.value=!0;let te=re.clientX-H;te=Math.max(te,0),te=Math.min(te,A.value.offsetWidth-I.value.offsetWidth);const ae=A.value.offsetWidth*Number.parseInt((Ae=R.value.style)==null?void 0:Ae.width)*.01;te>=ae&&(te=ae,e.value=!1);let ve=0;te>0&&(ve=Math.round((te+I.value.offsetWidth)/A.value.offsetWidth*1e4)),ve>1e4&&(ve=1e4),ve===1e4&&(e.value=!1),(De=window.getSelection())==null||De.removeAllRanges(),_.value=ve,F.value=te,D.value=ve*.01},ee=()=>{var re,te;document.removeEventListener("mouseup",ee),document.removeEventListener("mousemove",Z),p.value=!1,e.value===!0?(T.value=_.value,(re=a.value)==null||re.setWidth(_.value,s.rank.contest)):(T.value=void 0,(te=a.value)==null||te.disableFilterSubmissionByTimestamp())};document.addEventListener("mousemove",Z),document.addEventListener("mouseup",ee)}function U(){const z=s.rank.contest.startTime,H=s.rank.contest.endTime,Z=H.unix()-z.unix(),ee=Math.floor(Z*D.value*.01),re=Ls(),te=Math.max(0,Math.min(re.unix(),H.unix())-z.unix());return fg(Math.min(ee,te))}function G(){return e.value===!0?U():s.elapsedTime}function ne(){return e.value===!0?`${Math.max(0,F.value)}px`:`max(calc(0%), min(calc(${s.width}%), calc(100% - 10px)))`}return Ma(()=>{var z,H;s.needScroll===!0&&(A.value.onmouseenter=()=>{N.value.classList.add("in")},A.value.onmouseleave=()=>{N.value.classList.remove("in")}),T.value!==-1?(e.value=!0,_.value=Math.max(0,Math.min(1e4,T.value)),D.value=_.value*.01,F.value=D.value*.01*A.value.offsetWidth-I.value.offsetWidth,(z=a.value)==null||z.setWidth(T.value,s.rank.contest)):(H=a.value)==null||H.disableFilterSubmissionByTimestamp()}),Su(()=>{}),(z,H)=>(Br(),hn("div",{ref_key:"scroll",ref:A,class:"am-progress am-progress-striped am-active","w-full":"",style:{position:"relative"}},[Tt("div",{ref_key:"mask",ref:R,class:ns(["am-progress-bar",[tr(r)]]),style:Ra({width:`${s.width}%`})},[s.needScroll?(Br(),hn(Gn,{key:0},[Tt("div",{ref_key:"tooltip",ref:N,class:"tooltip tooltip-top",style:Ra({marginLeft:"-32px",bottom:"22px",left:ne()})},[Tt("div",{ref_key:"tooltipInner",ref:L,class:"tooltip-inner"},ai(G()),513)],4),Tt("div",{ref_key:"bar",ref:I,class:ns(["am-progress-bar am-progress-cursor am-progress-scroll-size z-999",[tr(r)]]),style:Ra({left:ne()}),onMousedown:V},null,38)],64)):ca("",!0)],6)],512))}});const IP=w0(PP,[["__scopeId","data-v-ac8e14a6"]]),NP={flex:"","flex-row":"","items-center":"","justify-center":""},MP={key:0,"ml-2":""},LP={key:1,"ml-2":""},BP=mi({__name:"ContestStateBadge",props:{state:null,pendingTime:null,pausedTime:null},setup(t){const i=t;return(s,a)=>(Br(),hn("div",NP,[Tt("div",{class:ns(["label",i.state])},null,2),Tt("div",null,ai(i.state),1),i.pendingTime&&i.state===tr(Oa).PENDING?(Br(),hn("div",MP,ai(i.pendingTime),1)):ca("",!0),i.pausedTime&&i.state===tr(Oa).PAUSED?(Br(),hn("div",LP,ai(i.pausedTime),1)):ca("",!0)]))}});const UP=w0(BP,[["__scopeId","data-v-68586c4d"]]);function HP(){const t={};return t.base64=String.raw`
|
|
200
|
+
`,a++;return i.getSubmissions().forEach(p=>{var A;const _=p.teamId,D=p.problemId,F=i.contest.problemsMap.get(D);if(!F)return;const T=this.submissionStatusToCodeforcesGymDatStatus(p.status);e.get(_).set(D,e.get(_).get(D)+1),s+=`@s ${r.get(_)},${F.label},${(A=e.get(_))==null?void 0:A.get(D)},${p.timestampToSecond},${T}
|
|
201
|
+
`}),s}submissionStatusToCodeforcesGymDatStatus(i){return B6(i)?"OK":i===xt.WRONG_ANSWER?"WA":i===xt.TIME_LIMIT_EXCEEDED?"TL":i===xt.MEMORY_LIMIT_EXCEEDED?"ML":i===xt.OUTPUT_LIMIT_EXCEEDED?"IL":i===xt.PRESENTATION_ERROR?"PE":i===xt.RUNTIME_ERROR?"RT":i===xt.COMPILATION_ERROR||H6(i)?"CE":U6(i)?"PD":"RJ"}}var Ed=(t=>(t.UNKNOWN="Unknown",t.GOLD="Gold",t.SILVER="Silver",t.BRONZE="Bronze",t.HONORABLE="Honorable",t))(Ed||{});class W3{constructor(){this.medalType="Unknown",this.minRank=0,this.maxRank=0}}function oP(t){return["Gold","Silver","Bronze","Honorable"].includes(t)}class HI{constructor(){}convert(i){const s=Wg.cloneDeep(i);s.options.disableFilterTeamsByGroup(),s.options.disableFilterSubmissionByTimestamp();const a=jf.utils.book_new();for(const[r,e]of s.contest.group){s.options.setGroup(r),s.buildRank();const p=this.convertToSheet(s);jf.utils.book_append_sheet(a,p,e.names.get(e.defaultLang))}return a}convertAndWrite(i,s){return jf.writeFile(this.convert(i),s,{compression:!0})}convertToSheet(i){const s=this.convertToAoa(i),a=jf.utils.aoa_to_sheet(s),r=[],e=s[1];for(let F=0;F<e.length;F++){let T=10;for(let A=1;A<s.length;A++)T=Math.max(T,iP(s[A][F])+2);r.push({wch:T})}a["!cols"]=r;{const F={s:{r:0,c:0},e:{r:0,c:e.length-1}},T=[{s:F.s,e:F.e}];a["!merges"]=T}const p={name:"Arial Unicode MS",bold:!1,italic:!1,sz:12},_={style:"thin"},D={alignment:{vertical:"center",horizontal:"center"},border:{top:_,bottom:_,left:_,right:_},font:p};for(let F=1;F<s.length;F++)for(let T=0;T<s[F].length;T++){const A=jf.utils.encode_cell({r:F,c:T}),R=a[A];R.s=D}{const F=jf.utils.encode_cell({r:0,c:0}),T=a[F],A=Wg.cloneDeep(D);A.font.sz=28,A.font.bold=!0,T.s=A}return a}convertToAoa(i){const s=[],a=i.contest.isEnableAwards(i.options.group);s.push([i.contest.name]);{const r=[];r.push("Rank"),i.contest.organization&&(r.push(`${i.contest.organization} Rank`),r.push(i.contest.organization)),r.push("Name","Solved","Penalty",...i.contest.problems.map(e=>e.label),"Dirt"),a&&r.push("Medal"),s.push(r)}for(const r of i.teams){const e=[];e.push(r.rank.toString()),r.organization&&(r.organizationRank!==-1?e.push(r.organizationRank.toString()):e.push(""),e.push(r.organization)),e.push(r.name,r.solvedProblemNum.toString(),r.penaltyToMinute.toString());for(const p of r.problemStatistics)p.isUnSubmitted&&e.push("-"),p.isSolved&&e.push(`+${p.totalCount}(${p.solvedTimestampToMinute})`),p.isWrongAnswer&&e.push(`-${p.failedCount}`),p.isPending&&e.push(`? ${p.failedCount} + ${p.pendingCount}`);if(e.push(`${r.dirt}%`),a){const p=r.awards.filter(_=>oP(_)).map(_=>_.toString());e.push(p.join(", "))}s.push(e)}return s}}function $6(t,i){return i===0?0:Math.floor((t-i)*100/t)}class lP{constructor(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}reset(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}get dirt(){return this.acceptedNum===0?0:$6(this.attemptedNum,this.acceptedNum)}}class A2{constructor(){this.id="",this.label="",this.name="",this.statistics=new lP}}function cP(t){return t.map(i=>{const s=new A2;return s.id=i.id,s.label=i.label,s.name=i.name??"",s.timeLimit=i.time_limit,s.memoryLimit=i.memory_limit,s.balloonColor=i.balloon_color,s})}function uP(t,i){const s=t.map((a,r)=>{const e=new A2;return e.id=String(r),e.label=a,e});if(i!=null)for(const a in i)s[a].balloonColor=i[a];return s}class fP{constructor(i){var s,a,r,e,p,_,D,F,T,A,R,I;this.isFirstSolved=((s=i==null?void 0:i.teamProblemStatistics)==null?void 0:s.isFirstSolved)??!1,this.isSolved=((a=i==null?void 0:i.teamProblemStatistics)==null?void 0:a.isSolved)??!1,this.solvedTimestamp=((r=i==null?void 0:i.teamProblemStatistics)==null?void 0:r.solvedTimestamp)??0,this.isSubmitted=((e=i==null?void 0:i.teamProblemStatistics)==null?void 0:e.isSubmitted)??!1,this.lastSubmitTimestamp=((p=i==null?void 0:i.teamProblemStatistics)==null?void 0:p.lastSubmitTimestamp)??0,this.failedCount=((_=i==null?void 0:i.teamProblemStatistics)==null?void 0:_.failedCount)??0,this.pendingCount=((D=i==null?void 0:i.teamProblemStatistics)==null?void 0:D.pendingCount)??0,this.ignoreCount=((F=i==null?void 0:i.teamProblemStatistics)==null?void 0:F.ignoreCount)??0,this.totalCount=((T=i==null?void 0:i.teamProblemStatistics)==null?void 0:T.totalCount)??0,this.submissions=((A=i==null?void 0:i.teamProblemStatistics)==null?void 0:A.submissions)??[],this.problem=((R=i==null?void 0:i.teamProblemStatistics)==null?void 0:R.problem)??new A2,this.contestPenalty=((I=i==null?void 0:i.teamProblemStatistics)==null?void 0:I.contestPenalty)??20*60}get isAccepted(){return this.isSolved}get isWrongAnswer(){return!this.isSolved&&this.pendingCount===0&&this.failedCount>0}get isPending(){return!this.isSolved&&this.pendingCount>0}get isUnSubmitted(){return this.totalCount===0}get solvedTimestampToMinute(){return Math.floor(this.solvedTimestamp/60)}get penalty(){return this.isSolved===!1?0:this.solvedTimestampToMinute*60+this.failedCount*this.contestPenalty}get penaltyToMinute(){return Math.floor(this.penalty/60)}get penaltyInSecond(){return this.isSolved===!1?0:this.solvedTimestamp+this.failedCount*this.contestPenalty}}class zd{constructor(){this.id="",this.name="",this.organization="",this.group=[],this.tag=[],this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemTimestamp=0,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[]}reset(){this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemTimestamp=0,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[]}get penaltyToMinute(){return Math.floor(this.penalty/60)}get dirt(){const i=this.attemptedProblemNum,s=this.solvedProblemNum;return $6(i,s)}get membersToString(){var i;return typeof this.members=="string"?this.members:(i=this.members)==null?void 0:i.join(", ")}calcSolvedData(i){this.solvedProblemNum=0,this.attemptedProblemNum=0,this.penalty=0;for(const s of this.problemStatistics)s.isAccepted&&(this.solvedProblemNum++,this.attemptedProblemNum+=s.failedCount+1,(i==null?void 0:i.calculationOfPenalty)==="in_seconds"||(i==null?void 0:i.calculationOfPenalty)==="accumulate_in_seconds_and_finally_to_the_minute"?this.penalty+=s.penaltyInSecond:this.penalty+=s.penalty);(i==null?void 0:i.calculationOfPenalty)==="accumulate_in_seconds_and_finally_to_the_minute"&&(this.penalty=Math.floor(this.penalty/60)*60)}calcAwards(i){if(i)for(const s of i)this.rank>=s.minRank&&this.rank<=s.maxRank&&this.awards.push(s.medalType)}isEqualRank(i){return this.solvedProblemNum===i.solvedProblemNum&&this.penalty===i.penalty}postProcessPlaceChartPoints(){if(this.placeChartPoints.length===0)return;const i=[];i.push(this.placeChartPoints[0]);for(let s=1;s<this.placeChartPoints.length-1;s++){const a=this.placeChartPoints[s],r=i[i.length-1];(a.rank!==r.rank||a.lastSolvedProblem!==r.lastSolvedProblem)&&i.push(a)}this.placeChartPoints.length>1&&i.push(this.placeChartPoints[this.placeChartPoints.length-1]),this.placeChartPoints=i}static compare(i,s){return i.solvedProblemNum!==s.solvedProblemNum?s.solvedProblemNum-i.solvedProblemNum:i.penalty!==s.penalty?i.penalty-s.penalty:i.lastSolvedProblemTimestamp!==s.lastSolvedProblemTimestamp?i.lastSolvedProblemTimestamp-s.lastSolvedProblemTimestamp:i.name<s.name?-1:i.name>s.name?1:0}}function z3(t){const i=new zd;i.id=t.id??t.team_id??"",i.name=t.name??t.team_name??"",i.organization=t.organization??"",i.badge=t.badge,i.group=t.group??[],i.tag=t.group??[],i.coach=t.coach,i.members=t.members,t.official&&i.group.push("official"),t.unofficial&&i.group.push("unofficial"),t.girl&&i.group.push("girl");{const s=t;for(const a of Object.keys(s))(s[a]===1||s[a]===!0)&&i.group.push(a)}return i.group=[...new Set(i.group)],i.group.sort(),t.location&&(i.location=t.location),i}function $I(t){return Array.isArray(t)?t.map(i=>z3(i)):Object.entries(t).map(([s,a])=>z3({...a,team_id:a.team_id??s}))}class zg{constructor(){this.status=xt.UNKNOWN,this.isIgnore=!1,this.id="",this.teamId="",this.problemId="",this.timestamp=0,this.timestampUnit="second"}isAccepted(){return B6(this.status)}isRejected(){return aP(this.status)}isPending(){return U6(this.status)}isNotCalculatedPenaltyStatus(){return H6(this.status)}get timestampToMinute(){return this.timestampUnit==="nanosecond"?Math.floor(this.timestamp/60/1e3/1e3/1e3):this.timestampUnit==="microsecond"?Math.floor(this.timestamp/60/1e3/1e3):this.timestampUnit==="millisecond"?Math.floor(this.timestamp/60/1e3):Math.floor(this.timestamp/60)}get timestampToSecond(){return this.timestampUnit==="nanosecond"?Math.floor(this.timestamp/1e3/1e3/1e3):this.timestampUnit==="microsecond"?Math.floor(this.timestamp/1e3/1e3):this.timestampUnit==="millisecond"?Math.floor(this.timestamp/1e3):this.timestamp}get timestampDisplayFormatWithSecond(){const i=this.timestampToSecond,s=Math.floor(i/3600),a=Math.floor(i%3600/60),r=i%60,e=_=>_.toString().padStart(2,"0");return`${e(s)}:${e(a)}:${e(r)}`}get timestampDisplayFormatWithMilliSecond(){let i=this.timestampDisplayFormatWithSecond;if(this.timestampUnit==="millisecond"){const s=(this.timestamp%1e3).toString().padEnd(3,"0");i+=`.${s}`}return i}static compare(i,s){if(i.timestamp!==s.timestamp)return i.timestamp-s.timestamp;if(i.teamId===s.teamId){if(i.isAccepted()&&!s.isAccepted())return-1;if(!i.isAccepted()&&s.isAccepted())return 1}return 0}}function j3(t){const i=new zg;return i.id=String(t.id??t.submission_id??""),i.teamId=String(t.team_id),i.problemId=String(t.problem_id),i.timestamp=t.timestamp,i.status=sP(t.status),i.isIgnore=t.is_ignore??!1,t.time&&(i.time=t.time),t.language&&(i.language=t.language),i}function WI(t){return Array.isArray(t)?t.map((i,s)=>j3({...i,id:i.submission_id??String(s)})):Object.entries(t).map(([s,a])=>j3({...a,id:a.submission_id??s}))}class hP{constructor(){this.problem=new A2,this.team=new zd,this.submission=new zg}get key(){return`balloon-${this.team.id}-${this.problem.id}`}}class V3{constructor(){this.names=new Map,this.defaultLang="zh-CN",this.isDefault=!1}}class W6{constructor(){this.calculationOfPenalty="in_minutes",this.submissionTimestampUnit="second",this.submissionHasTimeField=!1,this.submissionHasLanguageField=!1}}function dP(t={}){const i=t,s=new W6;return i.calculation_of_penalty&&(s.calculationOfPenalty=i.calculation_of_penalty),i.submission_timestamp_unit&&(s.submissionTimestampUnit=i.submission_timestamp_unit),s}class z6{constructor(){this.name="",this.startTime=Ls(),this.endTime=Ls(),this.freezeTime=Ls(),this.totalDurationTimestamp=0,this.freezeDurationTimestamp=0,this.unFreezeDurationTimestamp=0,this.penalty=20*60,this.problems=[],this.problemsMap=new Map,this.statusTimeDisplay={correct:!0,incorrect:!0,pending:!0},this.group=new Map,this.tag=new Map,this.options=new W6}getContestDuration(i="HH:mm:ss"){return Wi.duration(this.endTime.diff(this.startTime)).format(i)}getContestState(i){const s=Ls(i);return s.isBefore(this.startTime)?Oa.PENDING:s.isSameOrAfter(this.endTime)?Oa.FINISHED:s.isSameOrAfter(this.freezeTime)?Oa.FROZEN:Oa.RUNNING}getContestPendingTime(i){let s=Ls(i);return s.isAfter(this.startTime)&&(s=this.startTime),fg(Math.floor(Wi.duration(this.startTime.diff(s)).asSeconds()))}getContestElapsedTime(i){let s=Ls(i);return s.isAfter(this.endTime)&&(s=this.endTime),s.isBefore(this.startTime)&&(s=this.startTime),fg(Math.floor(Wi.duration(s.diff(this.startTime)).asSeconds()))}getContestRemainingTime(i){let s=Ls(i);return s.isAfter(this.endTime)&&(s=this.endTime),s.isBefore(this.startTime)&&(s=this.startTime),fg(Math.floor(Wi.duration(this.endTime.diff(s)).asSeconds()))}getContestProgressRatio(i){const s=Ls(i);if(this.startTime.isSameOrAfter(s))return 0;if(this.endTime.isSameOrBefore(s))return 100;const a=this.endTime.diff(this.startTime,"s"),r=s.diff(this.startTime,"s");return Math.round(r*100/a)}isEnableAwards(i){return!(!this.awards||!this.awards.has(i))}}function pP(t){const i=new z6;i.name=t.contest_name,i.startTime=Ls(t.start_time),i.endTime=Ls(t.end_time),i.totalDurationTimestamp=i.endTime.unix()-i.startTime.unix();{if(i.freezeTime=i.endTime,i.freezeDurationTimestamp=0,t.frozen_time!==void 0&&t.frozen_time!=null){const s=Number(t.frozen_time);i.freezeTime=Ls(i.endTime.unix()-s),i.freezeDurationTimestamp=s}t.freeze_time!==void 0&&t.freeze_time!==null&&(i.freezeTime=Ls(t.freeze_time),i.freezeDurationTimestamp=i.endTime.unix()-i.freezeTime.unix()),i.unFreezeDurationTimestamp=i.totalDurationTimestamp-i.freezeDurationTimestamp}i.penalty=t.penalty,t.problem_id!==void 0&&t.problem_id!==null&&(i.problems=uP(t.problem_id,t.balloon_color)),t.problems!==void 0&&t.problems!==null&&(i.problems=cP(t.problems)),i.problemsMap=new Map(i.problems.map(s=>[s.id,s])),t.status_time_display!==void 0&&t.status_time_display!==null&&(i.statusTimeDisplay={correct:!!(t.status_time_display.correct??!1),incorrect:!!(t.status_time_display.incorrect??!1),pending:!!(t.status_time_display.pending??!1)}),i.badge=t.badge,i.medal=t.medal,(()=>{if(!(t.medal===void 0||t.medal===null)){i.awards=new Map;for(const s in t.medal){const a=t.medal[s];{const r=[];let e=1;const p=(_,D)=>{if(Object.keys(a).includes(_)){const F=new W3;F.medalType=D,F.minRank=e,e+=Number(a[_]),F.maxRank=e-1,r.push(F)}};p("gold",Ed.GOLD),p("silver",Ed.SILVER),p("bronze",Ed.BRONZE);{const _=new W3;_.medalType=Ed.HONORABLE,_.minRank=e,_.maxRank=1061109567,r.push(_)}i.awards.set(s,r)}}}})(),i.organization=t.organization;{const s=new V3;s.names.set("en","All"),s.names.set("zh-CN","所有队伍"),s.isDefault=!0,i.group.set("all",s)}for(const[s,a]of Object.entries((t==null?void 0:t.group)??{})){let r=s;const e=new V3;e.names.set("zh-CN",a),s==="official"&&e.names.set("en","Official"),s==="unofficial"&&e.names.set("en","Unofficial"),(s==="girl"||s==="girls")&&(e.names.set("en","Girls"),r="girl"),i.group.set(r,e)}return i.banner=t.banner,i.logo=t.logo,i.boardLink=t.board_link,t.options&&(i.options=dP(t.options)),i}class mP{constructor(){this.contest=new z6,this.boardLink=""}}function gP(t){const i=new mP,s=t.config;return i.contest=pP(s),i.boardLink=t.board_link,i}function vP(t){const i=[],s=a=>{if(Object.prototype.hasOwnProperty.call(a,"config"))i.push(gP(a));else for(const r in a)s(a[r])};return s(t),i.sort((a,r)=>a.contest.startTime.isBefore(r.contest.startTime)?1:a.contest.startTime.isAfter(r.contest.startTime)?-1:a.contest.endTime.isBefore(r.contest.endTime)?1:a.contest.endTime.isAfter(r.contest.endTime)?-1:a.contest.name<r.contest.name?1:a.contest.name>r.contest.name?-1:0),i}function bP(t){return t!=null&&t.url?t.url:t!=null&&t.base64?`data:image/${t.type??"png"};base64,${t.base64}`:""}class _P{constructor(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0}reset(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0}getTeamSolvedNumIndex(i){return this.teamSolvedNumIndex[i]??0}}class yP{constructor(){this.enableFilterSubmissionsByTimestamp=!1,this.width=0,this.timestamp=0,this.enableFilterTeamsByGroup=!1,this.group="all",this.filterOrganizations=[],this.filterOrganizationMap=new Map,this.filterTeams=[],this.filterTeamMap=new Map}setWidth(i,s){this.width=i,this.timestamp=Math.floor((s.endTime.unix()-s.startTime.unix())*this.width*1e-4),this.enableFilterSubmissionsByTimestamp=!0}disableFilterSubmissionByTimestamp(){this.enableFilterSubmissionsByTimestamp=!1}setGroup(i){this.group=i,this.enableFilterTeamsByGroup=!0,this.group==="all"&&this.disableFilterTeamsByGroup()}disableFilterTeamsByGroup(){this.enableFilterTeamsByGroup=!1,this.group="all"}setFilterOrganizations(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterOrganizations=i,this.filterOrganizationMap=s}setFilterTeams(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterTeams=i,this.filterTeamMap=s}isNeedReBuildRank(i){return this.enableFilterSubmissionsByTimestamp!==i.enableFilterSubmissionsByTimestamp||this.width!==i.width||this.timestamp!==i.timestamp||this.enableFilterTeamsByGroup!==i.enableFilterTeamsByGroup||this.group!==i.group}}class zI{constructor(i,s,a){this.contest=i,this.teams=Wg.cloneDeep(s),this.teamsMap=new Map(this.teams.map(r=>[r.id,r])),this.submissions=Wg.cloneDeep(a).sort(zg.compare),this.submissions.forEach(r=>{const e=this.contest.options;r.timestampUnit=e.submissionTimestampUnit,r.time&&(e.submissionHasTimeField=!0),r.language&&(e.submissionHasLanguageField=!0)}),this.submissionsMap=new Map(this.submissions.map(r=>[r.id,r])),this.organizations=this.buildOrganizations(),this.originTeams=this.teams.map(r=>r),this.originTeams.sort(zd.compare),this.rankStatistics=new _P,this.options=new yP,this.balloons=[];{const r=new Set;this.submissions.forEach(e=>{e.language&&r.add(e.language)}),this.languages=[...r].sort()}{const r=new Set;this.submissions.forEach(e=>{r.add(e.status)}),this.statuses=[...r].sort()}}cleanRank(){(()=>{this.teams=[];for(const[i,s]of this.teamsMap)this.filterTeamByOrg(s)||this.teams.push(s)})();for(const i of this.teams)i.reset(),i.problemStatistics=this.contest.problems.map(s=>{const a=new fP;return a.problem=s,a.contestPenalty=this.contest.penalty,a}),i.problemStatisticsMap=new Map(i.problemStatistics.map(s=>[s.problem.id,s]));this.contest.problems.forEach(i=>{i.statistics.reset()})}buildRank(){return(()=>{this.cleanRank(),this.teams.forEach(a=>a.placeChartPoints.push({timePoint:0,rank:1,lastSolvedProblem:null})),this.rankStatistics.reset(),this.rankStatistics.teamSolvedNum=Array(this.contest.problems.length+1).fill(0),this.rankStatistics.teamSolvedNumIndex=Array(this.contest.problems.length+1).fill(0);let i=0;const s=this.getSubmissions();for(let a=0;a<s.length;a++){const r=s[a],e=r.teamId,p=r.problemId,_=this.teamsMap.get(e),D=this.contest.problemsMap.get(p);(()=>{if(_===void 0||this.filterTeamByOrg(_)||D===void 0)return;const F=_.problemStatisticsMap.get(p);if(F.submissions.push(r),_.submissions.push(r),D.statistics.submittedNum++,!F.isSolved){if(r.isIgnore||r.isNotCalculatedPenaltyStatus()){D.statistics.ignoreNum++,F.ignoreCount++;return}if(F.isSubmitted=!0,F.lastSubmitTimestamp=r.timestampToSecond,F.totalCount++,r.isAccepted()){for(F.isSolved=!0,F.solvedTimestamp=r.timestampToSecond,D.statistics.acceptedNum++,D.statistics.attemptedNum+=F.failedCount+1,(D.statistics.firstSolveSubmissions.length===0||D.statistics.firstSolveSubmissions[D.statistics.firstSolveSubmissions.length-1].timestamp===r.timestamp)&&(F.isFirstSolved=!0,D.statistics.firstSolveSubmissions.push(r));D.statistics.lastSolveSubmissions.length>0;)D.statistics.lastSolveSubmissions.pop();D.statistics.lastSolveSubmissions.push(r),_.lastSolvedProblem=D,_.lastSolvedProblemTimestamp=r.timestampToSecond}r.isRejected()&&(F.failedCount++,D.statistics.rejectedNum++),r.isPending()&&(F.pendingCount++,D.statistics.pendingNum++)}})(),(r.timestampToMinute>i||a===s.length-1)&&(this.teams.forEach(F=>F.calcSolvedData(this.contest.options)),this.teams.sort(zd.compare),this.buildTeamRank(),this.teams.forEach(F=>F.placeChartPoints.push({timePoint:r.timestampToMinute,rank:F.rank,lastSolvedProblem:F.lastSolvedProblem}))),i=r.timestampToMinute}this.teams.forEach(a=>a.calcSolvedData(this.contest.options)),this.teams.sort(zd.compare),this.buildTeamRank(),this.buildOrgRank(),this.teams.forEach(a=>{var r;return a.calcAwards((r=this.contest.awards)==null?void 0:r.get(this.options.group))}),this.teams.forEach(a=>a.postProcessPlaceChartPoints())})(),(()=>{for(const i of this.teams)this.rankStatistics.teamSolvedNum[i.solvedProblemNum]++;{let i=0;const s=this.rankStatistics.teamSolvedNum,a=this.rankStatistics.teamSolvedNumIndex;for(let r=a.length-1;r>=0;r--)i+=s[r]>0?1:0,a[r]=i}this.teams.length>0&&(this.rankStatistics.maxSolvedProblems=this.teams[0].solvedProblemNum)})(),this}buildTeamRank(){let i=1,s=1,a=null;for(const r of this.teams)r.rank=i++,r.originalRank=s++,a!==null&&r.isEqualRank(a)&&(r.rank=a.rank),a=r}buildOrgRank(){if(!this.contest.organization)return;let i=1,s=null;const a=new Set;for(const r of this.teams){const e=r.organization;a.has(e)||(a.add(e),r.organizationRank=i++,s!==null&&r.isEqualRank(s)&&(r.organizationRank=s.organizationRank),s=r)}}buildOrganizations(){if(!this.contest.organization)return[];const i=new Array,s=new Set;return this.teams.forEach(a=>{const r=a.organization;s.has(r)||(i.push(r),s.add(r))}),i.sort(),i}filterTeamByOrg(i){var a;const s=this.options;return!!(s.enableFilterTeamsByGroup&&!((a=i.group)!=null&&a.includes(s.group)))}getSubmissions(){return this.options.enableFilterSubmissionsByTimestamp===!1?this.submissions:this.submissions.filter(i=>i.timestampToSecond<=this.options.timestamp).sort(zg.compare)}buildBalloons(){this.balloons=[],this.cleanRank();const i=this.getSubmissions();for(let s=0;s<i.length;s++){const a=i[s],r=a.teamId,e=a.problemId,p=this.teamsMap.get(r),_=this.contest.problemsMap.get(e);(()=>{if(p===void 0||_===void 0)return;const D=p.problemStatisticsMap.get(e);if(!D.isSolved&&a.isAccepted()){D.isSolved=!0,D.solvedTimestamp=a.timestampToSecond;const F=new hP;F.team=p,F.problem=_,F.submission=a,this.balloons.push(F)}})()}}}const DP="Board - XCPCIO",jI="Balloon - XCPCIO",wP=(...t)=>{const i=Ti().proxy.$props,s=Object.create(null);for(const a of t)if(typeof a=="string")s[a]=u3(i,a,void 0,{eventName:`update:${a}`,passive:!0});else{const[r,e=r,p=`update:${r}`,_={}]=a;s[r]=u3(i,e,void 0,{eventName:p,passive:!0,..._})}return s},FP={relative:""},EP=Tt("span",{"i-carbon-close":"",ma:"",block:"","aria-hidden":"true"},null,-1),xP=[EP],CP=mi({__name:"SearchInput",props:{modelValue:null},emits:["update:modelValue"],setup(t,{expose:i}){const{modelValue:s}=wP("modelValue"),a=Yt(),r={mounted:_=>_.focus()};function e(){var _;s.value=null,(_=a.value)==null||_.focus()}function p(){var _;(_=a.value)==null||_.focus()}return i({focus:p}),(_,D)=>{var F;return Br(),hn("div",FP,[Uw(Tt("input",f2({ref_key:"inputEl",ref:a,"onUpdate:modelValue":D[0]||(D[0]=T=>rn(s)?s.value=T:null),type:"text"},_.$attrs,{p:"x-4 y-2",text:"left",bg:"transparent",autocomplete:"off",w:"full",border:"~ rounded gray-300 dark:gray-500",outline:"none active:none","aria-label":"Search",placeholder:"Search..."}),null,16),[[e1,tr(s)],[r]]),(F=tr(s))!=null&&F.length?(Br(),hn("button",{key:0,absolute:"",flex:"","right-2":"","w-10":"","top-2":"","bottom-2":"","text-xl":"",op30:"","hover:op90":"","aria-label":"Clear search",onClick:D[1]||(D[1]=T=>e())},xP)):ca("",!0)])}}}),TP={},AP={class:"color-gray-700 dark:color-gray-200"},SP=Tt("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1161",width:"30",height:"30"},[Tt("path",{d:"M837.9904 570.0608H124.5696a29.0304 29.0304 0 0 1-29.0304-29.0304V482.9696a29.0304 29.0304 0 0 1 29.0304-29.0304h713.4208z",fill:"currentColor","p-id":"1162"}),Tt("path",{d:"M561.3056 808.96l-40.96-40.96a28.928 28.928 0 0 1 0-40.96l215.04-215.04-215.04-215.04a28.9792 28.9792 0 0 1 0-40.96l40.96-40.96a28.9792 28.9792 0 0 1 40.96 0l296.96 296.96-296.96 296.96a28.9792 28.9792 0 0 1-40.96 0z",fill:"currentColor","p-id":"1163"})],-1),OP=[SP];function kP(t,i){return Br(),hn("div",AP,OP)}const RP=w0(TP,[["render",kP]]),PP=mi({__name:"Progress",props:{width:null,state:null,needScroll:{type:Boolean},rank:null,rankOptions:null,elapsedTime:null},emits:["update:rank-options"],setup(t,{emit:i}){const s=t,a=Hr({get(){return s.rankOptions},set(z){i("update:rank-options",z)}}),r=Hr(()=>{switch(s.state){case Oa.PENDING:return"am-progress-bar-secondary";case Oa.RUNNING:return"am-progress-bar-success";case Oa.FROZEN:return"am-progress-bar-danger";case Oa.FINISHED:return"am-progress-bar-primary"}}),e=Yt(!1),p=Yt(!1),_=Yt(0),D=Yt(s.width),F=Yt(0),T=T6("progress-ratio",-1,{transform:Number}),A=Yt(null),R=Yt(null),I=Yt(null),N=Yt(null),L=Yt(null);function V(z){p.value=!0;const H=z.clientX-I.value.offsetLeft,Z=re=>{var Ae,De;if(!p.value)return;e.value=!0;let te=re.clientX-H;te=Math.max(te,0),te=Math.min(te,A.value.offsetWidth-I.value.offsetWidth);const ae=A.value.offsetWidth*Number.parseInt((Ae=R.value.style)==null?void 0:Ae.width)*.01;te>=ae&&(te=ae,e.value=!1);let ve=0;te>0&&(ve=Math.round((te+I.value.offsetWidth)/A.value.offsetWidth*1e4)),ve>1e4&&(ve=1e4),ve===1e4&&(e.value=!1),(De=window.getSelection())==null||De.removeAllRanges(),_.value=ve,F.value=te,D.value=ve*.01},ee=()=>{var re,te;document.removeEventListener("mouseup",ee),document.removeEventListener("mousemove",Z),p.value=!1,e.value===!0?(T.value=_.value,(re=a.value)==null||re.setWidth(_.value,s.rank.contest)):(T.value=void 0,(te=a.value)==null||te.disableFilterSubmissionByTimestamp())};document.addEventListener("mousemove",Z),document.addEventListener("mouseup",ee)}function U(){const z=s.rank.contest.startTime,H=s.rank.contest.endTime,Z=H.unix()-z.unix(),ee=Math.floor(Z*D.value*.01),re=Ls(),te=Math.max(0,Math.min(re.unix(),H.unix())-z.unix());return fg(Math.min(ee,te))}function G(){return e.value===!0?U():s.elapsedTime}function ne(){return e.value===!0?`${Math.max(0,F.value)}px`:`max(calc(0%), min(calc(${s.width}%), calc(100% - 10px)))`}return Ma(()=>{var z,H;s.needScroll===!0&&(A.value.onmouseenter=()=>{N.value.classList.add("in")},A.value.onmouseleave=()=>{N.value.classList.remove("in")}),T.value!==-1?(e.value=!0,_.value=Math.max(0,Math.min(1e4,T.value)),D.value=_.value*.01,F.value=D.value*.01*A.value.offsetWidth-I.value.offsetWidth,(z=a.value)==null||z.setWidth(T.value,s.rank.contest)):(H=a.value)==null||H.disableFilterSubmissionByTimestamp()}),Su(()=>{}),(z,H)=>(Br(),hn("div",{ref_key:"scroll",ref:A,class:"am-progress am-progress-striped am-active","w-full":"",style:{position:"relative"}},[Tt("div",{ref_key:"mask",ref:R,class:ns(["am-progress-bar",[tr(r)]]),style:Ra({width:`${s.width}%`})},[s.needScroll?(Br(),hn(Gn,{key:0},[Tt("div",{ref_key:"tooltip",ref:N,class:"tooltip tooltip-top",style:Ra({marginLeft:"-32px",bottom:"22px",left:ne()})},[Tt("div",{ref_key:"tooltipInner",ref:L,class:"tooltip-inner"},ai(G()),513)],4),Tt("div",{ref_key:"bar",ref:I,class:ns(["am-progress-bar am-progress-cursor am-progress-scroll-size z-999",[tr(r)]]),style:Ra({left:ne()}),onMousedown:V},null,38)],64)):ca("",!0)],6)],512))}});const IP=w0(PP,[["__scopeId","data-v-ac8e14a6"]]),NP={flex:"","flex-row":"","items-center":"","justify-center":""},MP={key:0,"ml-2":""},LP={key:1,"ml-2":""},BP=mi({__name:"ContestStateBadge",props:{state:null,pendingTime:null,pausedTime:null},setup(t){const i=t;return(s,a)=>(Br(),hn("div",NP,[Tt("div",{class:ns(["label",i.state])},null,2),Tt("div",null,ai(i.state),1),i.pendingTime&&i.state===tr(Oa).PENDING?(Br(),hn("div",MP,ai(i.pendingTime),1)):ca("",!0),i.pausedTime&&i.state===tr(Oa).PAUSED?(Br(),hn("div",LP,ai(i.pausedTime),1)):ca("",!0)]))}});const UP=w0(BP,[["__scopeId","data-v-68586c4d"]]);function HP(){const t={};return t.base64=String.raw`
|
|
202
202
|
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
|
|
203
203
|
`,t}function $P(){const t={};return t.base64=String.raw`
|
|
204
204
|
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
|
|
205
|
-
`,t}function WP(){const t={};return t.url="/logos/hunan_cpc.png",t}function zP(t){if(!t.preset)return t;const i=t.preset.toUpperCase();return i==="ICPC"?HP():i==="CCPC"?$P():i==="HUNAN_CPC"?WP():t}const jP=t=>(s2("data-v-53a9ec18"),t=t(),a2(),t),VP={"h-32":""},GP={key:0},YP={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},KP={"w-full":"",flex:""},qP={key:0,class:"logo"},QP=["src"],XP={class:"title","w-inherit":""},JP={"overflow-hidden":"","text-2xl":"",truncate:""},ZP={"text-lg":""},eI={flex:"","items-end":""},tI={"float-left":"","font-mono":"","text-base":""},rI={class:"pl-0.5"},nI=jP(()=>Tt("br",null,null,-1)),iI={"flex-1":""},sI={flex:"","items-center":"","justify-center":""},aI={"font-bold":"","font-mono":"",class:"w-[68%]"},oI={"float-right":""},lI={class:"MuiIconButton-label"},cI=mi({__name:"ContestIndexUI",props:{data:null},setup(t){const i=t,{t:s}=y0(),a=Hr(()=>i.data.contest),r=Yt(new Date),e=Yt(null),p=d7(e),_=Hr(()=>{if(a.value.logo)return zP(a.value.logo)}),D=setInterval(()=>{r.value=new Date},1e3);return Su(()=>{clearInterval(D)}),(F,T)=>{const A=BE,R=UP,I=IP,N=RP,L=Ia("RouterLink");return Br(),hn("div",{ref_key:"el",ref:e},[Tt("div",VP,[tr(p)?(Br(),hn("div",GP,[Tt("div",YP,[Tt("div",KP,[tr(_)!==void 0?(Br(),hn("div",qP,[Tt("img",{class:"h-10 w-10",src:tr(bP)(tr(_)),alt:"logo"},null,8,QP)])):ca("",!0),Tt("div",XP,[Er(A,null,{popper:Ei(()=>[Tt("div",ZP,ai(tr(a).name),1)]),default:Ei(()=>[Tt("div",JP,ai(tr(a).name),1)]),_:1})])]),Tt("div",eI,[Tt("div",tI,[co(ai(tr(s)("index.start"))+": "+ai(tr(a).startTime.format("YYYY-MM-DD HH:mm:ss")),1),Tt("sup",rI,ai(tr(a).startTime.format("z")),1),nI,co(" "+ai(tr(s)("index.duration"))+": "+ai(tr(a).getContestDuration()),1)]),Tt("div",iI,[Tt("div",sI,[Tt("div",aI,[Tt("div",null,[Er(R,{state:tr(a).getContestState(tr(r)),"pending-time":tr(a).getContestPendingTime(tr(r))},null,8,["state","pending-time"])]),Er(I,{width:tr(a).getContestProgressRatio(tr(r)),state:tr(a).getContestState(tr(r))},null,8,["width","state"])])])]),Tt("div",oI,[Er(L,{class:"go MuiIconButton-root",to:i.data.boardLink},{default:Ei(()=>[Tt("span",lI,[Er(N)])]),_:1},8,["to"])])])])])):ca("",!0)])],512)}}});const uI=w0(cI,[["__scopeId","data-v-53a9ec18"]]),fI={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},hI={key:0,class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":""},dI={key:1},pI={key:2,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},mI={"w-240":""},gI={key:0,"mt-4":""},vI={key:1,p10:""},bI=Tt("div",{op40:"",italic:"",mb5:""}," No result found ",-1),_I={row:"","justify-center":""},j6=mi({__name:"index",setup(t){const{t:i}=y0();w7(DP);const s=Yt(new Date),a=Yt(`${window.DATA_HOST}index/contest_list.json?t=${s.value.getTime()}`),r=Yt(!1),e=T6("s","",{transform:String}),p=Yt(e.value),_=Yt(null),D=Yt([]),F=Yt([]);function T(){F.value=D.value.filter(L=>{var V;return((V=p.value)==null?void 0:V.length)===0&&(p.value=null),p.value===null?(e.value=void 0,!0):(e.value=p.value,!!(L.contest.name.includes(p.value)||L.contest.name.toLowerCase().includes(p.value.toLowerCase())||L.boardLink.toLocaleLowerCase().includes(p.value.toLowerCase())))})}function A(){var L;p.value=null,(L=_.value)==null||L.focus()}const{error:R,isFetching:I,isFinished:N}=y7(a,{refetch:r,afterFetch:L=>(D.value=vP(JSON.parse(L.data)),F.value=D.value.map(V=>V),T(),L)}).get();return bn(p,()=>{T()}),(L,V)=>(Br(),hn("div",fI,[Tt("div",null,[tr(I)?(Br(),hn("div",hI,ai(tr(i)("common.loading"))+"... ",1)):ca("",!0),tr(R)?(Br(),hn("div",dI,ai(tr(R)),1)):ca("",!0),tr(N)?(Br(),hn("div",pI,[Tt("div",mI,[Er(CP,{ref_key:"searchInputRef",ref:_,modelValue:tr(p),"onUpdate:modelValue":V[0]||(V[0]=U=>rn(p)?p.value=U:null)},null,8,["modelValue"])]),tr(F).length?(Br(),hn("div",gI,[(Br(!0),hn(Gn,null,Qw(tr(F),U=>(Br(),rl(uI,{key:U.boardLink,data:U},null,8,["data"]))),128))])):(Br(),hn("div",vI,[bI,Tt("div",_I,[Tt("button",{btn:"",onClick:V[1]||(V[1]=U=>A())}," Clear search ")])]))])):ca("",!0)])]))}}),G3={};typeof G3=="function"&&G3(j6);const yI=()=>Us(()=>import("./index-
|
|
205
|
+
`,t}function WP(){const t={};return t.url="/logos/hunan_cpc.png",t}function zP(t){if(!t.preset)return t;const i=t.preset.toUpperCase();return i==="ICPC"?HP():i==="CCPC"?$P():i==="HUNAN_CPC"?WP():t}const jP=t=>(s2("data-v-53a9ec18"),t=t(),a2(),t),VP={"h-32":""},GP={key:0},YP={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},KP={"w-full":"",flex:""},qP={key:0,class:"logo"},QP=["src"],XP={class:"title","w-inherit":""},JP={"overflow-hidden":"","text-2xl":"",truncate:""},ZP={"text-lg":""},eI={flex:"","items-end":""},tI={"float-left":"","font-mono":"","text-base":""},rI={class:"pl-0.5"},nI=jP(()=>Tt("br",null,null,-1)),iI={"flex-1":""},sI={flex:"","items-center":"","justify-center":""},aI={"font-bold":"","font-mono":"",class:"w-[68%]"},oI={"float-right":""},lI={class:"MuiIconButton-label"},cI=mi({__name:"ContestIndexUI",props:{data:null},setup(t){const i=t,{t:s}=y0(),a=Hr(()=>i.data.contest),r=Yt(new Date),e=Yt(null),p=d7(e),_=Hr(()=>{if(a.value.logo)return zP(a.value.logo)}),D=setInterval(()=>{r.value=new Date},1e3);return Su(()=>{clearInterval(D)}),(F,T)=>{const A=BE,R=UP,I=IP,N=RP,L=Ia("RouterLink");return Br(),hn("div",{ref_key:"el",ref:e},[Tt("div",VP,[tr(p)?(Br(),hn("div",GP,[Tt("div",YP,[Tt("div",KP,[tr(_)!==void 0?(Br(),hn("div",qP,[Tt("img",{class:"h-10 w-10",src:tr(bP)(tr(_)),alt:"logo"},null,8,QP)])):ca("",!0),Tt("div",XP,[Er(A,null,{popper:Ei(()=>[Tt("div",ZP,ai(tr(a).name),1)]),default:Ei(()=>[Tt("div",JP,ai(tr(a).name),1)]),_:1})])]),Tt("div",eI,[Tt("div",tI,[co(ai(tr(s)("index.start"))+": "+ai(tr(a).startTime.format("YYYY-MM-DD HH:mm:ss")),1),Tt("sup",rI,ai(tr(a).startTime.format("z")),1),nI,co(" "+ai(tr(s)("index.duration"))+": "+ai(tr(a).getContestDuration()),1)]),Tt("div",iI,[Tt("div",sI,[Tt("div",aI,[Tt("div",null,[Er(R,{state:tr(a).getContestState(tr(r)),"pending-time":tr(a).getContestPendingTime(tr(r))},null,8,["state","pending-time"])]),Er(I,{width:tr(a).getContestProgressRatio(tr(r)),state:tr(a).getContestState(tr(r))},null,8,["width","state"])])])]),Tt("div",oI,[Er(L,{class:"go MuiIconButton-root",to:i.data.boardLink},{default:Ei(()=>[Tt("span",lI,[Er(N)])]),_:1},8,["to"])])])])])):ca("",!0)])],512)}}});const uI=w0(cI,[["__scopeId","data-v-53a9ec18"]]),fI={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},hI={key:0,class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":""},dI={key:1},pI={key:2,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},mI={"w-240":""},gI={key:0,"mt-4":""},vI={key:1,p10:""},bI=Tt("div",{op40:"",italic:"",mb5:""}," No result found ",-1),_I={row:"","justify-center":""},j6=mi({__name:"index",setup(t){const{t:i}=y0();w7(DP);const s=Yt(new Date),a=Yt(`${window.DATA_HOST}index/contest_list.json?t=${s.value.getTime()}`),r=Yt(!1),e=T6("s","",{transform:String}),p=Yt(e.value),_=Yt(null),D=Yt([]),F=Yt([]);function T(){F.value=D.value.filter(L=>{var V;return((V=p.value)==null?void 0:V.length)===0&&(p.value=null),p.value===null?(e.value=void 0,!0):(e.value=p.value,!!(L.contest.name.includes(p.value)||L.contest.name.toLowerCase().includes(p.value.toLowerCase())||L.boardLink.toLocaleLowerCase().includes(p.value.toLowerCase())))})}function A(){var L;p.value=null,(L=_.value)==null||L.focus()}const{error:R,isFetching:I,isFinished:N}=y7(a,{refetch:r,afterFetch:L=>(D.value=vP(JSON.parse(L.data)),F.value=D.value.map(V=>V),T(),L)}).get();return bn(p,()=>{T()}),(L,V)=>(Br(),hn("div",fI,[Tt("div",null,[tr(I)?(Br(),hn("div",hI,ai(tr(i)("common.loading"))+"... ",1)):ca("",!0),tr(R)?(Br(),hn("div",dI,ai(tr(R)),1)):ca("",!0),tr(N)?(Br(),hn("div",pI,[Tt("div",mI,[Er(CP,{ref_key:"searchInputRef",ref:_,modelValue:tr(p),"onUpdate:modelValue":V[0]||(V[0]=U=>rn(p)?p.value=U:null)},null,8,["modelValue"])]),tr(F).length?(Br(),hn("div",gI,[(Br(!0),hn(Gn,null,Qw(tr(F),U=>(Br(),rl(uI,{key:U.boardLink,data:U},null,8,["data"]))),128))])):(Br(),hn("div",vI,[bI,Tt("div",_I,[Tt("button",{btn:"",onClick:V[1]||(V[1]=U=>A())}," Clear search ")])]))])):ca("",!0)])]))}}),G3={};typeof G3=="function"&&G3(j6);const yI=()=>Us(()=>import("./index-78001918.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/index-78001918.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/useQueryBoardData-3b8a91d5.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-c6907218.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-bd490116.js"],import.meta.url),DI=()=>Us(()=>import("./test-c0da21d8.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/test-c0da21d8.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-bd490116.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/user-69e7d90e.js"],import.meta.url),wI=()=>Us(()=>import("./board-85ce205a.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/board-85ce205a.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/Board-1cb5a052.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/useQueryBoardData-3b8a91d5.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/Board-3c31679a.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-c6907218.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-bd490116.js"],import.meta.url),FI=()=>Us(()=>import("./about-64b5108b.js"),[],import.meta.url),EI=()=>Us(()=>import("./_...all_-b2ba251c.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/_...all_-b2ba251c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/Board-1cb5a052.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/useQueryBoardData-3b8a91d5.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/Board-3c31679a.css"],import.meta.url),xI=()=>Us(()=>import("./_name_-abd07bc1.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/_name_-abd07bc1.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.30.0/dist/assets/user-69e7d90e.js"],import.meta.url),CI=[{name:"balloon",path:"/balloon",component:yI,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:DI,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:j6,props:!0,meta:{layout:"index-layout"}},{name:"board",path:"/board",component:wI,props:!0,meta:{layout:"board-layout"}},{name:"about",path:"/about",component:FI,props:!0},{name:"all",path:"/:all(.*)*",component:EI,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:xI,props:!0}];const TI=Y7(CI);VS(TR,{routes:TI,base:"/"},t=>{Object.values(Object.assign({"./modules/i18n.ts":NA,"./modules/nprogress.ts":BA,"./modules/pinia.ts":YA,"./modules/pwa.ts":qA,"./modules/toast.ts":e8})).forEach(i=>{var s;return(s=i.install)==null?void 0:s.call(i,t)}),t.app.use(X9),t.app.use(_R)});export{vo as $,rl as A,jI as B,G3 as C,nS as D,rn as E,Gn as F,IF as G,T6 as H,iS as I,wP as J,Uw as K,e1 as L,f2 as M,xR as N,dT as O,Ei as P,co as Q,zI as R,RI as S,Fu as T,aA as U,Kk as V,Mi as W,zs as X,XA as Y,kI as Z,Us as _,w0 as a,UI as a0,HI as a1,fg as a2,QA as a3,SI as a4,zg as a5,BE as a6,s2 as a7,a2 as a8,Ed as a9,V4 as aA,BI as aB,Cw as aC,_0 as aD,xa as aE,ar as aF,i_ as aG,AI as aH,bP as aa,Ma as ab,PE as ac,DP as ad,yP as ae,Wg as af,OI as ag,Oa as ah,UP as ai,IP as aj,x2 as ak,PI as al,Ca as am,C2 as an,Z9 as ao,eR as ap,k4 as aq,X_ as ar,rR as as,Lb as at,ts as au,Ti as av,is as aw,mR as ax,Jl as ay,LI as az,Er as b,hn as c,Tt as d,$7 as e,mk as f,mi as g,Hr as h,Yt as i,tr as j,Ra as k,ca as l,GE as m,ns as n,Br as o,w7 as p,y0 as q,Ia as r,pP as s,ai as t,d7 as u,$I as v,bn as w,WI as x,Su as y,Qw as z};
|