@xcpcio/board-app 0.25.0 → 0.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/about.html +2 -2
  2. package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-7dd754fb.js → DataSourceInput.vue_vue_type_script_setup_true_lang-6fc6f8ea.js} +1 -1
  3. package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-bd7b9fe6.js → TheInput.vue_vue_type_script_setup_true_lang-4ea0bd97.js} +1 -1
  4. package/dist/assets/_...all_-cf83185b.js +3 -0
  5. package/dist/assets/{_...all_-16dbd7b8.css → _...all_-f6dd53aa.css} +1 -1
  6. package/dist/assets/{_name_-94d749aa.js → _name_-58c24204.js} +1 -1
  7. package/dist/assets/{about-f01d587e.js → about-94580762.js} +1 -1
  8. package/dist/assets/{app-b6bf8dd1.js → app-21014468.js} +3 -3
  9. package/dist/assets/{board-layout-52e96f00.js → board-layout-430c688d.js} +1 -1
  10. package/dist/assets/{headless-e8cc73cd.js → headless-4d39b6f3.js} +1 -1
  11. package/dist/assets/{home-334a9895.js → home-401b6bdc.js} +1 -1
  12. package/dist/assets/{index-7f7e6de0.css → index-00889800.css} +1 -1
  13. package/dist/assets/{index-43dadeef.js → index-95c5e1ae.js} +1 -1
  14. package/dist/assets/{index-layout-ad419356.js → index-layout-bb5b04eb.js} +1 -1
  15. package/dist/assets/{test-27f85731.js → test-5e95874d.js} +1 -1
  16. package/dist/assets/{user-b8ba5adf.js → user-57f2ad93.js} +1 -1
  17. package/dist/assets/{virtual_pwa-register-698ae235.js → virtual_pwa-register-8d09e89c.js} +1 -1
  18. package/dist/balloon.html +1 -1
  19. package/dist/index.html +1 -1
  20. package/dist/sitemap.xml +1 -1
  21. package/dist/ssr-manifest.json +400 -128
  22. package/dist/sw.js +1 -1
  23. package/dist/test.html +1 -1
  24. package/package.json +3 -3
  25. package/src/components/board/Board.vue +2 -2
  26. package/src/components/board/BoardTab.vue +133 -15
  27. package/src/pages/index.vue +2 -1
  28. package/dist/assets/_...all_-d6af1410.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 Fy;const Dm=r=>Fy=r,_y=Symbol();function b4(r){return r&&typeof r=="object"&&Object.prototype.toString.call(r)==="[object Object]"&&typeof r.toJSON!="function"}var l1;(function(r){r.direct="direct",r.patchObject="patch object",r.patchFunction="patch function"})(l1||(l1={}));function zC(){const r=em(!0),s=r.run(()=>Yt({}));let i=[],l=[];const n=M1({install(e){Dm(n),n._a=e,e.provide(_y,n),e.config.globalProperties.$pinia=n,l.forEach(m=>i.push(m)),l=[]},use(e){return!this._a&&!WC?l.push(e):i.push(e),this},_p:i,_a:null,_e:r,_s:new Map,state:s});return n}const yy=()=>{};function YD(r,s,i,l=yy){r.push(s);const n=()=>{const e=r.indexOf(s);e>-1&&(r.splice(e,1),l())};return!i&&tm()&&G4(n),n}function Ef(r,...s){r.slice().forEach(i=>{i(...s)})}const VC=r=>r();function D4(r,s){r instanceof Map&&s instanceof Map&&s.forEach((i,l)=>r.set(l,i)),r instanceof Set&&s instanceof Set&&s.forEach(r.add,r);for(const i in s){if(!s.hasOwnProperty(i))continue;const l=s[i],n=r[i];b4(n)&&b4(l)&&r.hasOwnProperty(i)&&!rn(l)&&!Wo(l)?r[i]=D4(n,l):r[i]=l}return r}const GC=Symbol();function jC(r){return!b4(r)||!r.hasOwnProperty(GC)}const{assign:Tl}=Object;function YC(r){return!!(rn(r)&&r.effect)}function KC(r,s,i,l){const{state:n,actions:e,getters:m}=s,F=i.state.value[r];let y;function w(){F||(i.state.value[r]=n?n():{});const k=KF(i.state.value[r]);return Tl(k,e,Object.keys(m||{}).reduce((S,P)=>(S[P]=M1(Vr(()=>{Dm(i);const M=i._s.get(r);return m[P].call(M,M)})),S),{}))}return y=wy(r,w,s,i,l,!0),y}function wy(r,s,i={},l,n,e){let m;const F=Tl({actions:{}},i),y={deep:!0};let w,k,S=[],P=[],M;const N=l.state.value[r];!e&&!N&&(l.state.value[r]={}),Yt({});let B;function K(ne){let te;w=k=!1,typeof ne=="function"?(ne(l.state.value[r]),te={type:l1.patchFunction,storeId:r,events:M}):(D4(l.state.value[r],ne),te={type:l1.patchObject,payload:ne,storeId:r,events:M});const le=B=Symbol();oo().then(()=>{B===le&&(w=!0)}),k=!0,Ef(S,te,l.state.value[r])}const U=e?function(){const{state:te}=i,le=te?te():{};this.$patch(we=>{Tl(we,le)})}:yy;function G(){m.stop(),S=[],P=[],l._s.delete(r)}function se(ne,te){return function(){Dm(l);const le=Array.from(arguments),we=[],Pe=[];function xe(qe){we.push(qe)}function ve(qe){Pe.push(qe)}Ef(P,{args:le,name:ne,store:z,after:xe,onError:ve});let Le;try{Le=te.apply(this&&this.$id===r?this:z,le)}catch(qe){throw Ef(Pe,qe),qe}return Le instanceof Promise?Le.then(qe=>(Ef(we,qe),qe)).catch(qe=>(Ef(Pe,qe),Promise.reject(qe))):(Ef(we,Le),Le)}}const Y={_p:l,$id:r,$onAction:YD.bind(null,P),$patch:K,$reset:U,$subscribe(ne,te={}){const le=YD(S,ne,te.detached,()=>we()),we=m.run(()=>bn(()=>l.state.value[r],Pe=>{(te.flush==="sync"?k:w)&&ne({storeId:r,type:l1.direct,events:M},Pe)},Tl({},y,te)));return le},$dispose:G},z=Ul(Y);l._s.set(r,z);const ie=l._a&&l._a.runWithContext||VC,re=l._e.run(()=>(m=em(),ie(()=>m.run(s))));for(const ne in re){const te=re[ne];if(rn(te)&&!YC(te)||Wo(te))e||(N&&jC(te)&&(rn(te)?te.value=N[ne]:D4(te,N[ne])),l.state.value[r][ne]=te);else if(typeof te=="function"){const le=se(ne,te);re[ne]=le,F.actions[ne]=te}}return Tl(z,re),Tl(Hr(z),re),Object.defineProperty(z,"$state",{get:()=>l.state.value[r],set:ne=>{K(te=>{Tl(te,ne)})}}),l._p.forEach(ne=>{Tl(z,m.run(()=>ne({store:z,app:l._a,pinia:l,options:F})))}),N&&e&&i.hydrate&&i.hydrate(z.$state,N),w=!0,k=!0,z}function vO(r,s,i){let l,n;const e=typeof s=="function";typeof r=="string"?(l=r,n=e?i:s):(n=r,l=r.id);function m(F,y){const w=w_();return F=F||(w?si(_y,null):null),F&&Dm(F),F=Fy,F._s.has(l)||(e?wy(l,s,n,F):KC(l,n,F)),F._s.get(l)}return m.$id=l,m}const qC=({isClient:r,initialState:s,app:i})=>{const l=zC();i.use(l),r?l.state.value=s.pinia||{}:s.pinia=l.state.value},QC=Object.freeze(Object.defineProperty({__proto__:null,install:qC},Symbol.toStringTag,{value:"Module"})),XC=({isClient:r,router:s})=>{r&&s.isReady().then(async()=>{const{registerSW:i}=await ia(()=>import("./virtual_pwa-register-698ae235.js"),[],import.meta.url);i({immediate:!0})}).catch(()=>{})},JC=Object.freeze(Object.defineProperty({__proto__:null,install:XC},Symbol.toStringTag,{value:"Module"}));var Ey={exports:{}};const ZC=by(pC);(function(r,s){(function(l,n){r.exports=n(ZC)})(Ms,i=>(()=>{var l={661:(F,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=(w,k)=>{const S=w.__vccOpts||w;for(const[P,M]of k)S[P]=M;return S}},976:F=>{F.exports=i}},n={};function e(F){var y=n[F];if(y!==void 0)return y.exports;var w=n[F]={exports:{}};return l[F](w,w.exports,e),w.exports}e.d=(F,y)=>{for(var w in y)e.o(y,w)&&!e.o(F,w)&&Object.defineProperty(F,w,{enumerable:!0,get:y[w]})},e.o=(F,y)=>Object.prototype.hasOwnProperty.call(F,y),e.r=F=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(F,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(F,"__esModule",{value:!0})};var m={};return(()=>{e.r(m),e.d(m,{ToastComponent:()=>z,ToastPlugin:()=>re,ToastPositions:()=>N,default:()=>ne,useToast:()=>ie});var F=e(976);const y=(0,F.createElementVNode)("div",{class:"v-toast__icon"},null,-1),w=["innerHTML"];function k(te,le,we,Pe,xe,ve){return(0,F.openBlock)(),(0,F.createBlock)(F.Transition,{"enter-active-class":te.transition.enter,"leave-active-class":te.transition.leave},{default:(0,F.withCtx)(()=>[(0,F.withDirectives)((0,F.createElementVNode)("div",{ref:"root",role:"alert",class:(0,F.normalizeClass)(["v-toast__item",[`v-toast__item--${te.type}`,`v-toast__item--${te.position}`]]),onMouseover:le[0]||(le[0]=Le=>te.toggleTimer(!0)),onMouseleave:le[1]||(le[1]=Le=>te.toggleTimer(!1)),onClick:le[2]||(le[2]=function(){return te.whenClicked&&te.whenClicked(...arguments)})},[y,(0,F.createElementVNode)("p",{class:"v-toast__text",innerHTML:te.message},null,8,w)],34),[[F.vShow,te.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function S(te){var le;typeof te.remove<"u"?te.remove():(le=te.parentNode)==null||le.removeChild(te)}function P(te,le,we){let Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const xe=(0,F.h)(te,le,Pe),ve=document.createElement("div");return ve.classList.add("v-toast--pending"),we.appendChild(ve),(0,F.render)(xe,ve),xe.component}class M{constructor(le,we){this.startedAt=Date.now(),this.callback=le,this.delay=we,this.timer=setTimeout(le,we)}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 B(te){return{all:te=te||new Map,on:function(le,we){var Pe=te.get(le);Pe?Pe.push(we):te.set(le,[we])},off:function(le,we){var Pe=te.get(le);Pe&&(we?Pe.splice(Pe.indexOf(we)>>>0,1):te.set(le,[]))},emit:function(le,we){var Pe=te.get(le);Pe&&Pe.slice().map(function(xe){xe(we)}),(Pe=te.get("*"))&&Pe.slice().map(function(xe){xe(le,we)})}}}const U=B(),G=(0,F.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,F.render)(null,te),S(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),S(te),this.isActive=!0,this.duration&&(this.timer=new M(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 se=e(661);const z=(0,se.default)(G,[["render",k]]),ie=function(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(le){let we=null;typeof le=="string"&&(we=le);const xe=Object.assign({},{message:we},te,le);return{dismiss:P(z,xe,document.body).ctx.dismiss}},clear(){U.emit("toast-clear")},success(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"success"},we))},error(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"error"},we))},info(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"info"},we))},warning(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"warning"},we))},default(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"default"},we))}}},re={install:function(te){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we=ie(le);te.config.globalProperties.$toast=we,te.provide("$toast",we)}},ne=re})(),m})())})(Ey);var eT=Ey.exports;const tT=Hi(eT);const rT=({app:r})=>{r.use(tT,{position:"bottom-right"})},nT=Object.freeze(Object.defineProperty({__proto__:null,install:rT},Symbol.toStringTag,{value:"Module"}));/*!
26
+ */let Fy;const Dm=r=>Fy=r,_y=Symbol();function b4(r){return r&&typeof r=="object"&&Object.prototype.toString.call(r)==="[object Object]"&&typeof r.toJSON!="function"}var l1;(function(r){r.direct="direct",r.patchObject="patch object",r.patchFunction="patch function"})(l1||(l1={}));function zC(){const r=em(!0),s=r.run(()=>Yt({}));let i=[],l=[];const n=M1({install(e){Dm(n),n._a=e,e.provide(_y,n),e.config.globalProperties.$pinia=n,l.forEach(m=>i.push(m)),l=[]},use(e){return!this._a&&!WC?l.push(e):i.push(e),this},_p:i,_a:null,_e:r,_s:new Map,state:s});return n}const yy=()=>{};function YD(r,s,i,l=yy){r.push(s);const n=()=>{const e=r.indexOf(s);e>-1&&(r.splice(e,1),l())};return!i&&tm()&&G4(n),n}function Ef(r,...s){r.slice().forEach(i=>{i(...s)})}const VC=r=>r();function D4(r,s){r instanceof Map&&s instanceof Map&&s.forEach((i,l)=>r.set(l,i)),r instanceof Set&&s instanceof Set&&s.forEach(r.add,r);for(const i in s){if(!s.hasOwnProperty(i))continue;const l=s[i],n=r[i];b4(n)&&b4(l)&&r.hasOwnProperty(i)&&!rn(l)&&!Wo(l)?r[i]=D4(n,l):r[i]=l}return r}const GC=Symbol();function jC(r){return!b4(r)||!r.hasOwnProperty(GC)}const{assign:Tl}=Object;function YC(r){return!!(rn(r)&&r.effect)}function KC(r,s,i,l){const{state:n,actions:e,getters:m}=s,F=i.state.value[r];let y;function w(){F||(i.state.value[r]=n?n():{});const k=KF(i.state.value[r]);return Tl(k,e,Object.keys(m||{}).reduce((S,P)=>(S[P]=M1(Vr(()=>{Dm(i);const M=i._s.get(r);return m[P].call(M,M)})),S),{}))}return y=wy(r,w,s,i,l,!0),y}function wy(r,s,i={},l,n,e){let m;const F=Tl({actions:{}},i),y={deep:!0};let w,k,S=[],P=[],M;const N=l.state.value[r];!e&&!N&&(l.state.value[r]={}),Yt({});let B;function K(ne){let te;w=k=!1,typeof ne=="function"?(ne(l.state.value[r]),te={type:l1.patchFunction,storeId:r,events:M}):(D4(l.state.value[r],ne),te={type:l1.patchObject,payload:ne,storeId:r,events:M});const le=B=Symbol();oo().then(()=>{B===le&&(w=!0)}),k=!0,Ef(S,te,l.state.value[r])}const U=e?function(){const{state:te}=i,le=te?te():{};this.$patch(we=>{Tl(we,le)})}:yy;function G(){m.stop(),S=[],P=[],l._s.delete(r)}function se(ne,te){return function(){Dm(l);const le=Array.from(arguments),we=[],Pe=[];function xe(qe){we.push(qe)}function ve(qe){Pe.push(qe)}Ef(P,{args:le,name:ne,store:z,after:xe,onError:ve});let Le;try{Le=te.apply(this&&this.$id===r?this:z,le)}catch(qe){throw Ef(Pe,qe),qe}return Le instanceof Promise?Le.then(qe=>(Ef(we,qe),qe)).catch(qe=>(Ef(Pe,qe),Promise.reject(qe))):(Ef(we,Le),Le)}}const Y={_p:l,$id:r,$onAction:YD.bind(null,P),$patch:K,$reset:U,$subscribe(ne,te={}){const le=YD(S,ne,te.detached,()=>we()),we=m.run(()=>bn(()=>l.state.value[r],Pe=>{(te.flush==="sync"?k:w)&&ne({storeId:r,type:l1.direct,events:M},Pe)},Tl({},y,te)));return le},$dispose:G},z=Ul(Y);l._s.set(r,z);const ie=l._a&&l._a.runWithContext||VC,re=l._e.run(()=>(m=em(),ie(()=>m.run(s))));for(const ne in re){const te=re[ne];if(rn(te)&&!YC(te)||Wo(te))e||(N&&jC(te)&&(rn(te)?te.value=N[ne]:D4(te,N[ne])),l.state.value[r][ne]=te);else if(typeof te=="function"){const le=se(ne,te);re[ne]=le,F.actions[ne]=te}}return Tl(z,re),Tl(Hr(z),re),Object.defineProperty(z,"$state",{get:()=>l.state.value[r],set:ne=>{K(te=>{Tl(te,ne)})}}),l._p.forEach(ne=>{Tl(z,m.run(()=>ne({store:z,app:l._a,pinia:l,options:F})))}),N&&e&&i.hydrate&&i.hydrate(z.$state,N),w=!0,k=!0,z}function vO(r,s,i){let l,n;const e=typeof s=="function";typeof r=="string"?(l=r,n=e?i:s):(n=r,l=r.id);function m(F,y){const w=w_();return F=F||(w?si(_y,null):null),F&&Dm(F),F=Fy,F._s.has(l)||(e?wy(l,s,n,F):KC(l,n,F)),F._s.get(l)}return m.$id=l,m}const qC=({isClient:r,initialState:s,app:i})=>{const l=zC();i.use(l),r?l.state.value=s.pinia||{}:s.pinia=l.state.value},QC=Object.freeze(Object.defineProperty({__proto__:null,install:qC},Symbol.toStringTag,{value:"Module"})),XC=({isClient:r,router:s})=>{r&&s.isReady().then(async()=>{const{registerSW:i}=await ia(()=>import("./virtual_pwa-register-8d09e89c.js"),[],import.meta.url);i({immediate:!0})}).catch(()=>{})},JC=Object.freeze(Object.defineProperty({__proto__:null,install:XC},Symbol.toStringTag,{value:"Module"}));var Ey={exports:{}};const ZC=by(pC);(function(r,s){(function(l,n){r.exports=n(ZC)})(Ms,i=>(()=>{var l={661:(F,y)=>{Object.defineProperty(y,"__esModule",{value:!0}),y.default=(w,k)=>{const S=w.__vccOpts||w;for(const[P,M]of k)S[P]=M;return S}},976:F=>{F.exports=i}},n={};function e(F){var y=n[F];if(y!==void 0)return y.exports;var w=n[F]={exports:{}};return l[F](w,w.exports,e),w.exports}e.d=(F,y)=>{for(var w in y)e.o(y,w)&&!e.o(F,w)&&Object.defineProperty(F,w,{enumerable:!0,get:y[w]})},e.o=(F,y)=>Object.prototype.hasOwnProperty.call(F,y),e.r=F=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(F,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(F,"__esModule",{value:!0})};var m={};return(()=>{e.r(m),e.d(m,{ToastComponent:()=>z,ToastPlugin:()=>re,ToastPositions:()=>N,default:()=>ne,useToast:()=>ie});var F=e(976);const y=(0,F.createElementVNode)("div",{class:"v-toast__icon"},null,-1),w=["innerHTML"];function k(te,le,we,Pe,xe,ve){return(0,F.openBlock)(),(0,F.createBlock)(F.Transition,{"enter-active-class":te.transition.enter,"leave-active-class":te.transition.leave},{default:(0,F.withCtx)(()=>[(0,F.withDirectives)((0,F.createElementVNode)("div",{ref:"root",role:"alert",class:(0,F.normalizeClass)(["v-toast__item",[`v-toast__item--${te.type}`,`v-toast__item--${te.position}`]]),onMouseover:le[0]||(le[0]=Le=>te.toggleTimer(!0)),onMouseleave:le[1]||(le[1]=Le=>te.toggleTimer(!1)),onClick:le[2]||(le[2]=function(){return te.whenClicked&&te.whenClicked(...arguments)})},[y,(0,F.createElementVNode)("p",{class:"v-toast__text",innerHTML:te.message},null,8,w)],34),[[F.vShow,te.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function S(te){var le;typeof te.remove<"u"?te.remove():(le=te.parentNode)==null||le.removeChild(te)}function P(te,le,we){let Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const xe=(0,F.h)(te,le,Pe),ve=document.createElement("div");return ve.classList.add("v-toast--pending"),we.appendChild(ve),(0,F.render)(xe,ve),xe.component}class M{constructor(le,we){this.startedAt=Date.now(),this.callback=le,this.delay=we,this.timer=setTimeout(le,we)}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 B(te){return{all:te=te||new Map,on:function(le,we){var Pe=te.get(le);Pe?Pe.push(we):te.set(le,[we])},off:function(le,we){var Pe=te.get(le);Pe&&(we?Pe.splice(Pe.indexOf(we)>>>0,1):te.set(le,[]))},emit:function(le,we){var Pe=te.get(le);Pe&&Pe.slice().map(function(xe){xe(we)}),(Pe=te.get("*"))&&Pe.slice().map(function(xe){xe(le,we)})}}}const U=B(),G=(0,F.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,F.render)(null,te),S(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),S(te),this.isActive=!0,this.duration&&(this.timer=new M(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 se=e(661);const z=(0,se.default)(G,[["render",k]]),ie=function(){let te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(le){let we=null;typeof le=="string"&&(we=le);const xe=Object.assign({},{message:we},te,le);return{dismiss:P(z,xe,document.body).ctx.dismiss}},clear(){U.emit("toast-clear")},success(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"success"},we))},error(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"error"},we))},info(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"info"},we))},warning(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"warning"},we))},default(le){let we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:le,type:"default"},we))}}},re={install:function(te){let le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},we=ie(le);te.config.globalProperties.$toast=we,te.provide("$toast",we)}},ne=re})(),m})())})(Ey);var eT=Ey.exports;const tT=Hi(eT);const rT=({app:r})=>{r.use(tT,{position:"bottom-right"})},nT=Object.freeze(Object.defineProperty({__proto__:null,install:rT},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 Tf=typeof window<"u";function sT(r){return r.__esModule||r[Symbol.toStringTag]==="Module"}const un=Object.assign;function Ov(r,s){const i={};for(const l in s){const n=s[l];i[l]=ka(n)?n.map(r):r(n)}return i}const c1=()=>{},ka=Array.isArray,iT=/\/$/,aT=r=>r.replace(iT,"");function Rv(r,s,i="/"){let l,n={},e="",m="";const F=s.indexOf("#");let y=s.indexOf("?");return F<y&&F>=0&&(y=-1),y>-1&&(l=s.slice(0,y),e=s.slice(y+1,F>-1?F:s.length),n=r(e)),F>-1&&(l=l||s.slice(0,F),m=s.slice(F,s.length)),l=uT(l??s,i),{fullPath:l+(e&&"?")+e+m,path:l,query:n,hash:m}}function oT(r,s){const i=s.query?r(s.query):"";return s.path+(i&&"?")+i+(s.hash||"")}function KD(r,s){return!s||!r.toLowerCase().startsWith(s.toLowerCase())?r:r.slice(s.length)||"/"}function lT(r,s,i){const l=s.matched.length-1,n=i.matched.length-1;return l>-1&&l===n&&zf(s.matched[l],i.matched[n])&&xy(s.params,i.params)&&r(s.query)===r(i.query)&&s.hash===i.hash}function zf(r,s){return(r.aliasOf||r)===(s.aliasOf||s)}function xy(r,s){if(Object.keys(r).length!==Object.keys(s).length)return!1;for(const i in r)if(!cT(r[i],s[i]))return!1;return!0}function cT(r,s){return ka(r)?qD(r,s):ka(s)?qD(s,r):r===s}function qD(r,s){return ka(s)?r.length===s.length&&r.every((i,l)=>i===s[l]):r.length===1&&r[0]===s}function uT(r,s){if(r.startsWith("/"))return r;if(!r)return s;const i=s.split("/"),l=r.split("/"),n=l[l.length-1];(n===".."||n===".")&&l.push("");let e=i.length-1,m,F;for(m=0;m<l.length;m++)if(F=l[m],F!==".")if(F==="..")e>1&&e--;else break;return i.slice(0,e).join("/")+"/"+l.slice(m-(m===l.length?1:0)).join("/")}var Vf;(function(r){r.pop="pop",r.push="push"})(Vf||(Vf={}));var nu;(function(r){r.back="back",r.forward="forward",r.unknown=""})(nu||(nu={}));const Pv="";function Cy(r){if(!r)if(Tf){const s=document.querySelector("base");r=s&&s.getAttribute("href")||"/",r=r.replace(/^\w+:\/\/[^\/]+/,"")}else r="/";return r[0]!=="/"&&r[0]!=="#"&&(r="/"+r),aT(r)}const fT=/^[^#]+#/;function Ty(r,s){return r.replace(fT,"#")+s}function hT(r,s){const i=document.documentElement.getBoundingClientRect(),l=r.getBoundingClientRect();return{behavior:s.behavior,left:l.left-i.left-(s.left||0),top:l.top-i.top-(s.top||0)}}const Fm=()=>({left:window.pageXOffset,top:window.pageYOffset});function dT(r){let s;if("el"in r){const i=r.el,l=typeof i=="string"&&i.startsWith("#"),n=typeof i=="string"?l?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!n)return;s=hT(n,r)}else s=r;"scrollBehavior"in document.documentElement.style?window.scrollTo(s):window.scrollTo(s.left!=null?s.left:window.pageXOffset,s.top!=null?s.top:window.pageYOffset)}function QD(r,s){return(history.state?history.state.position-s:-1)+r}const F4=new Map;function pT(r,s){F4.set(r,s)}function mT(r){const s=F4.get(r);return F4.delete(r),s}let gT=()=>location.protocol+"//"+location.host;function Ay(r,s){const{pathname:i,search:l,hash:n}=s,e=r.indexOf("#");if(e>-1){let F=n.includes(r.slice(e))?r.slice(e).length:1,y=n.slice(F);return y[0]!=="/"&&(y="/"+y),KD(y,"")}return KD(i,r)+l+n}function vT(r,s,i,l){let n=[],e=[],m=null;const F=({state:P})=>{const M=Ay(r,location),N=i.value,B=s.value;let K=0;if(P){if(i.value=M,s.value=P,m&&m===N){m=null;return}K=B?P.position-B.position:0}else l(M);n.forEach(U=>{U(i.value,N,{delta:K,type:Vf.pop,direction:K?K>0?nu.forward:nu.back:nu.unknown})})};function y(){m=i.value}function w(P){n.push(P);const M=()=>{const N=n.indexOf(P);N>-1&&n.splice(N,1)};return e.push(M),M}function k(){const{history:P}=window;P.state&&P.replaceState(un({},P.state,{scroll:Fm()}),"")}function S(){for(const P of e)P();e=[],window.removeEventListener("popstate",F),window.removeEventListener("beforeunload",k)}return window.addEventListener("popstate",F),window.addEventListener("beforeunload",k,{passive:!0}),{pauseListeners:y,listen:w,destroy:S}}function XD(r,s,i,l=!1,n=!1){return{back:r,current:s,forward:i,replaced:l,position:window.history.length,scroll:n?Fm():null}}function bT(r){const{history:s,location:i}=window,l={value:Ay(r,i)},n={value:s.state};n.value||e(l.value,{back:null,current:l.value,forward:null,position:s.length-1,replaced:!0,scroll:null},!0);function e(y,w,k){const S=r.indexOf("#"),P=S>-1?(i.host&&document.querySelector("base")?r:r.slice(S))+y:gT()+r+y;try{s[k?"replaceState":"pushState"](w,"",P),n.value=w}catch(M){console.error(M),i[k?"replace":"assign"](P)}}function m(y,w){const k=un({},s.state,XD(n.value.back,y,n.value.forward,!0),w,{position:n.value.position});e(y,k,!0),l.value=y}function F(y,w){const k=un({},n.value,s.state,{forward:y,scroll:Fm()});e(k.current,k,!0);const S=un({},XD(l.value,y,null),{position:k.position+1},w);e(y,S,!1),l.value=y}return{location:l,state:n,push:F,replace:m}}function DT(r){r=Cy(r);const s=bT(r),i=vT(r,s.state,s.location,s.replace);function l(e,m=!0){m||i.pauseListeners(),history.go(e)}const n=un({location:"",base:r,go:l,createHref:Ty.bind(null,r)},s,i);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>s.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>s.state.value}),n}function FT(r=""){let s=[],i=[Pv],l=0;r=Cy(r);function n(F){l++,l===i.length||i.splice(l),i.push(F)}function e(F,y,{direction:w,delta:k}){const S={direction:w,delta:k,type:Vf.pop};for(const P of s)P(F,y,S)}const m={location:Pv,state:{},base:r,createHref:Ty.bind(null,r),replace(F){i.splice(l--,1),n(F)},push(F,y){n(F)},listen(F){return s.push(F),()=>{const y=s.indexOf(F);y>-1&&s.splice(y,1)}},destroy(){s=[],i=[Pv],l=0},go(F,y=!0){const w=this.location,k=F<0?nu.back:nu.forward;l=Math.max(0,Math.min(l+F,i.length-1)),y&&e(this.location,w,{direction:k,delta:F})}};return Object.defineProperty(m,"location",{enumerable:!0,get:()=>i[l]}),m}function _T(r){return typeof r=="string"||r&&typeof r=="object"}function Sy(r){return typeof r=="string"||typeof r=="symbol"}const El={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ky=Symbol("");var JD;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})(JD||(JD={}));function Gf(r,s){return un(new Error,{type:r,[ky]:!0},s)}function Lo(r,s){return r instanceof Error&&ky in r&&(s==null||!!(r.type&s))}const ZD="[^/]+?",yT={sensitive:!1,strict:!1,start:!0,end:!0},wT=/[.+*?^${}()[\]/\\]/g;function ET(r,s){const i=un({},yT,s),l=[];let n=i.start?"^":"";const e=[];for(const w of r){const k=w.length?[]:[90];i.strict&&!w.length&&(n+="/");for(let S=0;S<w.length;S++){const P=w[S];let M=40+(i.sensitive?.25:0);if(P.type===0)S||(n+="/"),n+=P.value.replace(wT,"\\$&"),M+=40;else if(P.type===1){const{value:N,repeatable:B,optional:K,regexp:U}=P;e.push({name:N,repeatable:B,optional:K});const G=U||ZD;if(G!==ZD){M+=10;try{new RegExp(`(${G})`)}catch(Y){throw new Error(`Invalid custom RegExp for param "${N}" (${G}): `+Y.message)}}let se=B?`((?:${G})(?:/(?:${G}))*)`:`(${G})`;S||(se=K&&w.length<2?`(?:/${se})`:"/"+se),K&&(se+="?"),n+=se,M+=20,K&&(M+=-8),B&&(M+=-20),G===".*"&&(M+=-50)}k.push(M)}l.push(k)}if(i.strict&&i.end){const w=l.length-1;l[w][l[w].length-1]+=.7000000000000001}i.strict||(n+="/?"),i.end?n+="$":i.strict&&(n+="(?:/|$)");const m=new RegExp(n,i.sensitive?"":"i");function F(w){const k=w.match(m),S={};if(!k)return null;for(let P=1;P<k.length;P++){const M=k[P]||"",N=e[P-1];S[N.name]=M&&N.repeatable?M.split("/"):M}return S}function y(w){let k="",S=!1;for(const P of r){(!S||!k.endsWith("/"))&&(k+="/"),S=!1;for(const M of P)if(M.type===0)k+=M.value;else if(M.type===1){const{value:N,repeatable:B,optional:K}=M,U=N in w?w[N]:"";if(ka(U)&&!B)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const G=ka(U)?U.join("/"):U;if(!G)if(K)P.length<2&&(k.endsWith("/")?k=k.slice(0,-1):S=!0);else throw new Error(`Missing required param "${N}"`);k+=G}}return k||"/"}return{re:m,score:l,keys:e,parse:F,stringify:y}}function xT(r,s){let i=0;for(;i<r.length&&i<s.length;){const l=s[i]-r[i];if(l)return l;i++}return r.length<s.length?r.length===1&&r[0]===40+40?-1:1:r.length>s.length?s.length===1&&s[0]===40+40?1:-1:0}function CT(r,s){let i=0;const l=r.score,n=s.score;for(;i<l.length&&i<n.length;){const e=xT(l[i],n[i]);if(e)return e;i++}if(Math.abs(n.length-l.length)===1){if(e3(l))return 1;if(e3(n))return-1}return n.length-l.length}function e3(r){const s=r[r.length-1];return r.length>0&&s[s.length-1]<0}const TT={type:0,value:""},AT=/[a-zA-Z0-9_]/;function ST(r){if(!r)return[[]];if(r==="/")return[[TT]];if(!r.startsWith("/"))throw new Error(`Invalid path "${r}"`);function s(M){throw new Error(`ERR (${i})/"${w}": ${M}`)}let i=0,l=i;const n=[];let e;function m(){e&&n.push(e),e=[]}let F=0,y,w="",k="";function S(){w&&(i===0?e.push({type:0,value:w}):i===1||i===2||i===3?(e.length>1&&(y==="*"||y==="+")&&s(`A repeatable param (${w}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:w,regexp:k,repeatable:y==="*"||y==="+",optional:y==="*"||y==="?"})):s("Invalid state to consume buffer"),w="")}function P(){w+=y}for(;F<r.length;){if(y=r[F++],y==="\\"&&i!==2){l=i,i=4;continue}switch(i){case 0:y==="/"?(w&&S(),m()):y===":"?(S(),i=1):P();break;case 4:P(),i=l;break;case 1:y==="("?i=2:AT.test(y)?P():(S(),i=0,y!=="*"&&y!=="?"&&y!=="+"&&F--);break;case 2:y===")"?k[k.length-1]=="\\"?k=k.slice(0,-1)+y:i=3:k+=y;break;case 3:S(),i=0,y!=="*"&&y!=="?"&&y!=="+"&&F--,k="";break;default:s("Unknown state");break}}return i===2&&s(`Unfinished custom RegExp for param "${w}"`),S(),m(),n}function kT(r,s,i){const l=ET(ST(r.path),i),n=un(l,{record:r,parent:s,children:[],alias:[]});return s&&!n.record.aliasOf==!s.record.aliasOf&&s.children.push(n),n}function OT(r,s){const i=[],l=new Map;s=n3({strict:!1,end:!0,sensitive:!1},s);function n(k){return l.get(k)}function e(k,S,P){const M=!P,N=RT(k);N.aliasOf=P&&P.record;const B=n3(s,k),K=[N];if("alias"in k){const se=typeof k.alias=="string"?[k.alias]:k.alias;for(const Y of se)K.push(un({},N,{components:P?P.record.components:N.components,path:Y,aliasOf:P?P.record:N}))}let U,G;for(const se of K){const{path:Y}=se;if(S&&Y[0]!=="/"){const z=S.record.path,ie=z[z.length-1]==="/"?"":"/";se.path=S.record.path+(Y&&ie+Y)}if(U=kT(se,S,B),P?P.alias.push(U):(G=G||U,G!==U&&G.alias.push(U),M&&k.name&&!r3(U)&&m(k.name)),N.children){const z=N.children;for(let ie=0;ie<z.length;ie++)e(z[ie],U,P&&P.children[ie])}P=P||U,(U.record.components&&Object.keys(U.record.components).length||U.record.name||U.record.redirect)&&y(U)}return G?()=>{m(G)}:c1}function m(k){if(Sy(k)){const S=l.get(k);S&&(l.delete(k),i.splice(i.indexOf(S),1),S.children.forEach(m),S.alias.forEach(m))}else{const S=i.indexOf(k);S>-1&&(i.splice(S,1),k.record.name&&l.delete(k.record.name),k.children.forEach(m),k.alias.forEach(m))}}function F(){return i}function y(k){let S=0;for(;S<i.length&&CT(k,i[S])>=0&&(k.record.path!==i[S].record.path||!Oy(k,i[S]));)S++;i.splice(S,0,k),k.record.name&&!r3(k)&&l.set(k.record.name,k)}function w(k,S){let P,M={},N,B;if("name"in k&&k.name){if(P=l.get(k.name),!P)throw Gf(1,{location:k});B=P.record.name,M=un(t3(S.params,P.keys.filter(G=>!G.optional).map(G=>G.name)),k.params&&t3(k.params,P.keys.map(G=>G.name))),N=P.stringify(M)}else if("path"in k)N=k.path,P=i.find(G=>G.re.test(N)),P&&(M=P.parse(N),B=P.record.name);else{if(P=S.name?l.get(S.name):i.find(G=>G.re.test(S.path)),!P)throw Gf(1,{location:k,currentLocation:S});B=P.record.name,M=un({},S.params,k.params),N=P.stringify(M)}const K=[];let U=P;for(;U;)K.unshift(U.record),U=U.parent;return{name:B,path:N,params:M,matched:K,meta:IT(K)}}return r.forEach(k=>e(k)),{addRoute:e,resolve:w,removeRoute:m,getRoutes:F,getRecordMatcher:n}}function t3(r,s){const i={};for(const l of s)l in r&&(i[l]=r[l]);return i}function RT(r){return{path:r.path,redirect:r.redirect,name:r.name,meta:r.meta||{},aliasOf:void 0,beforeEnter:r.beforeEnter,props:PT(r),children:r.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in r?r.components||null:r.component&&{default:r.component}}}function PT(r){const s={},i=r.props||!1;if("component"in r)s.default=i;else for(const l in r.components)s[l]=typeof i=="object"?i[l]:i;return s}function r3(r){for(;r;){if(r.record.aliasOf)return!0;r=r.parent}return!1}function IT(r){return r.reduce((s,i)=>un(s,i.meta),{})}function n3(r,s){const i={};for(const l in r)i[l]=l in s?s[l]:r[l];return i}function Oy(r,s){return s.children.some(i=>i===r||Oy(r,i))}const Ry=/#/g,NT=/&/g,MT=/\//g,LT=/=/g,BT=/\?/g,Py=/\+/g,UT=/%5B/g,HT=/%5D/g,Iy=/%5E/g,$T=/%60/g,Ny=/%7B/g,WT=/%7C/g,My=/%7D/g,zT=/%20/g;function Eb(r){return encodeURI(""+r).replace(WT,"|").replace(UT,"[").replace(HT,"]")}function VT(r){return Eb(r).replace(Ny,"{").replace(My,"}").replace(Iy,"^")}function _4(r){return Eb(r).replace(Py,"%2B").replace(zT,"+").replace(Ry,"%23").replace(NT,"%26").replace($T,"`").replace(Ny,"{").replace(My,"}").replace(Iy,"^")}function GT(r){return _4(r).replace(LT,"%3D")}function jT(r){return Eb(r).replace(Ry,"%23").replace(BT,"%3F")}function YT(r){return r==null?"":jT(r).replace(MT,"%2F")}function L2(r){try{return decodeURIComponent(""+r)}catch{}return""+r}function KT(r){const s={};if(r===""||r==="?")return s;const l=(r[0]==="?"?r.slice(1):r).split("&");for(let n=0;n<l.length;++n){const e=l[n].replace(Py," "),m=e.indexOf("="),F=L2(m<0?e:e.slice(0,m)),y=m<0?null:L2(e.slice(m+1));if(F in s){let w=s[F];ka(w)||(w=s[F]=[w]),w.push(y)}else s[F]=y}return s}function s3(r){let s="";for(let i in r){const l=r[i];if(i=GT(i),l==null){l!==void 0&&(s+=(s.length?"&":"")+i);continue}(ka(l)?l.map(e=>e&&_4(e)):[l&&_4(l)]).forEach(e=>{e!==void 0&&(s+=(s.length?"&":"")+i,e!=null&&(s+="="+e))})}return s}function qT(r){const s={};for(const i in r){const l=r[i];l!==void 0&&(s[i]=ka(l)?l.map(n=>n==null?null:""+n):l==null?l:""+l)}return s}const QT=Symbol(""),i3=Symbol(""),_m=Symbol(""),xb=Symbol(""),y4=Symbol("");function Kh(){let r=[];function s(l){return r.push(l),()=>{const n=r.indexOf(l);n>-1&&r.splice(n,1)}}function i(){r=[]}return{add:s,list:()=>r.slice(),reset:i}}function Ol(r,s,i,l,n){const e=l&&(l.enterCallbacks[n]=l.enterCallbacks[n]||[]);return()=>new Promise((m,F)=>{const y=S=>{S===!1?F(Gf(4,{from:i,to:s})):S instanceof Error?F(S):_T(S)?F(Gf(2,{from:s,to:S})):(e&&l.enterCallbacks[n]===e&&typeof S=="function"&&e.push(S),m())},w=r.call(l&&l.instances[n],s,i,y);let k=Promise.resolve(w);r.length<3&&(k=k.then(y)),k.catch(S=>F(S))})}function Iv(r,s,i,l){const n=[];for(const e of r)for(const m in e.components){let F=e.components[m];if(!(s!=="beforeRouteEnter"&&!e.instances[m]))if(XT(F)){const w=(F.__vccOpts||F)[s];w&&n.push(Ol(w,i,l,e,m))}else{let y=F();n.push(()=>y.then(w=>{if(!w)return Promise.reject(new Error(`Couldn't resolve component "${m}" at "${e.path}"`));const k=sT(w)?w.default:w;e.components[m]=k;const P=(k.__vccOpts||k)[s];return P&&Ol(P,i,l,e,m)()}))}}return n}function XT(r){return typeof r=="object"||"displayName"in r||"props"in r||"__vccOpts"in r}function a3(r){const s=si(_m),i=si(xb),l=Vr(()=>s.resolve(tr(r.to))),n=Vr(()=>{const{matched:y}=l.value,{length:w}=y,k=y[w-1],S=i.matched;if(!k||!S.length)return-1;const P=S.findIndex(zf.bind(null,k));if(P>-1)return P;const M=o3(y[w-2]);return w>1&&o3(k)===M&&S[S.length-1].path!==M?S.findIndex(zf.bind(null,y[w-2])):P}),e=Vr(()=>n.value>-1&&tA(i.params,l.value.params)),m=Vr(()=>n.value>-1&&n.value===i.matched.length-1&&xy(i.params,l.value.params));function F(y={}){return eA(y)?s[tr(r.replace)?"replace":"push"](tr(r.to)).catch(c1):Promise.resolve()}return{route:l,href:Vr(()=>l.value.href),isActive:e,isExactActive:m,navigate:F}}const JT=Cs({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:a3,setup(r,{slots:s}){const i=Ul(a3(r)),{options:l}=si(_m),n=Vr(()=>({[l3(r.activeClass,l.linkActiveClass,"router-link-active")]:i.isActive,[l3(r.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const e=s.default&&s.default(i);return r.custom?e:fu("a",{"aria-current":i.isExactActive?r.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:n.value},e)}}}),ZT=JT;function eA(r){if(!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)&&!r.defaultPrevented&&!(r.button!==void 0&&r.button!==0)){if(r.currentTarget&&r.currentTarget.getAttribute){const s=r.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(s))return}return r.preventDefault&&r.preventDefault(),!0}}function tA(r,s){for(const i in s){const l=s[i],n=r[i];if(typeof l=="string"){if(l!==n)return!1}else if(!ka(n)||n.length!==l.length||l.some((e,m)=>e!==n[m]))return!1}return!0}function o3(r){return r?r.aliasOf?r.aliasOf.path:r.path:""}const l3=(r,s,i)=>r??s??i,rA=Cs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(r,{attrs:s,slots:i}){const l=si(y4),n=Vr(()=>r.route||l.value),e=si(i3,0),m=Vr(()=>{let w=tr(e);const{matched:k}=n.value;let S;for(;(S=k[w])&&!S.components;)w++;return w}),F=Vr(()=>n.value.matched[m.value]);n1(i3,Vr(()=>m.value+1)),n1(QT,F),n1(y4,n);const y=Yt();return bn(()=>[y.value,F.value,r.name],([w,k,S],[P,M,N])=>{k&&(k.instances[S]=w,M&&M!==k&&w&&w===P&&(k.leaveGuards.size||(k.leaveGuards=M.leaveGuards),k.updateGuards.size||(k.updateGuards=M.updateGuards))),w&&k&&(!M||!zf(k,M)||!P)&&(k.enterCallbacks[S]||[]).forEach(B=>B(w))},{flush:"post"}),()=>{const w=n.value,k=r.name,S=F.value,P=S&&S.components[k];if(!P)return c3(i.default,{Component:P,route:w});const M=S.props[k],N=M?M===!0?w.params:typeof M=="function"?M(w):M:null,K=fu(P,un({},N,s,{onVnodeUnmounted:U=>{U.component.isUnmounted&&(S.instances[k]=null)},ref:y}));return c3(i.default,{Component:K,route:w})||K}}});function c3(r,s){if(!r)return null;const i=r(s);return i.length===1?i[0]:i}const nA=rA;function sA(r){const s=OT(r.routes,r),i=r.parseQuery||KT,l=r.stringifyQuery||s3,n=r.history,e=Kh(),m=Kh(),F=Kh(),y=Pf(El);let w=El;Tf&&r.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const k=Ov.bind(null,J=>""+J),S=Ov.bind(null,YT),P=Ov.bind(null,L2);function M(J,We){let be,st;return Sy(J)?(be=s.getRecordMatcher(J),st=We):st=J,s.addRoute(st,be)}function N(J){const We=s.getRecordMatcher(J);We&&s.removeRoute(We)}function B(){return s.getRoutes().map(J=>J.record)}function K(J){return!!s.getRecordMatcher(J)}function U(J,We){if(We=un({},We||y.value),typeof J=="string"){const ce=Rv(i,J,We.path),Me=s.resolve({path:ce.path},We),Be=n.createHref(ce.fullPath);return un(ce,Me,{params:P(Me.params),hash:L2(ce.hash),redirectedFrom:void 0,href:Be})}let be;if("path"in J)be=un({},J,{path:Rv(i,J.path,We.path).path});else{const ce=un({},J.params);for(const Me in ce)ce[Me]==null&&delete ce[Me];be=un({},J,{params:S(ce)}),We.params=S(We.params)}const st=s.resolve(be,We),Vt=J.hash||"";st.params=k(P(st.params));const X=oT(l,un({},J,{hash:VT(Vt),path:st.path})),ee=n.createHref(X);return un({fullPath:X,hash:Vt,query:l===s3?qT(J.query):J.query||{}},st,{redirectedFrom:void 0,href:ee})}function G(J){return typeof J=="string"?Rv(i,J,y.value.path):un({},J)}function se(J,We){if(w!==J)return Gf(8,{from:We,to:J})}function Y(J){return re(J)}function z(J){return Y(un(G(J),{replace:!0}))}function ie(J){const We=J.matched[J.matched.length-1];if(We&&We.redirect){const{redirect:be}=We;let st=typeof be=="function"?be(J):be;return typeof st=="string"&&(st=st.includes("?")||st.includes("#")?st=G(st):{path:st},st.params={}),un({query:J.query,hash:J.hash,params:"path"in st?{}:J.params},st)}}function re(J,We){const be=w=U(J),st=y.value,Vt=J.state,X=J.force,ee=J.replace===!0,ce=ie(be);if(ce)return re(un(G(ce),{state:typeof ce=="object"?un({},Vt,ce.state):Vt,force:X,replace:ee}),We||be);const Me=be;Me.redirectedFrom=We;let Be;return!X&&lT(l,st,be)&&(Be=Gf(16,{to:Me,from:st}),he(st,st,!0,!1)),(Be?Promise.resolve(Be):le(Me,st)).catch(Ge=>Lo(Ge)?Lo(Ge,2)?Ge:ze(Ge):ut(Ge,Me,st)).then(Ge=>{if(Ge){if(Lo(Ge,2))return re(un({replace:ee},G(Ge.to),{state:typeof Ge.to=="object"?un({},Vt,Ge.to.state):Vt,force:X}),We||Me)}else Ge=Pe(Me,st,!0,ee,Vt);return we(Me,st,Ge),Ge})}function ne(J,We){const be=se(J,We);return be?Promise.reject(be):Promise.resolve()}function te(J){const We=$e.values().next().value;return We&&typeof We.runWithContext=="function"?We.runWithContext(J):J()}function le(J,We){let be;const[st,Vt,X]=iA(J,We);be=Iv(st.reverse(),"beforeRouteLeave",J,We);for(const ce of st)ce.leaveGuards.forEach(Me=>{be.push(Ol(Me,J,We))});const ee=ne.bind(null,J,We);return be.push(ee),Ne(be).then(()=>{be=[];for(const ce of e.list())be.push(Ol(ce,J,We));return be.push(ee),Ne(be)}).then(()=>{be=Iv(Vt,"beforeRouteUpdate",J,We);for(const ce of Vt)ce.updateGuards.forEach(Me=>{be.push(Ol(Me,J,We))});return be.push(ee),Ne(be)}).then(()=>{be=[];for(const ce of X)if(ce.beforeEnter)if(ka(ce.beforeEnter))for(const Me of ce.beforeEnter)be.push(Ol(Me,J,We));else be.push(Ol(ce.beforeEnter,J,We));return be.push(ee),Ne(be)}).then(()=>(J.matched.forEach(ce=>ce.enterCallbacks={}),be=Iv(X,"beforeRouteEnter",J,We),be.push(ee),Ne(be))).then(()=>{be=[];for(const ce of m.list())be.push(Ol(ce,J,We));return be.push(ee),Ne(be)}).catch(ce=>Lo(ce,8)?ce:Promise.reject(ce))}function we(J,We,be){F.list().forEach(st=>te(()=>st(J,We,be)))}function Pe(J,We,be,st,Vt){const X=se(J,We);if(X)return X;const ee=We===El,ce=Tf?history.state:{};be&&(st||ee?n.replace(J.fullPath,un({scroll:ee&&ce&&ce.scroll},Vt)):n.push(J.fullPath,Vt)),y.value=J,he(J,We,be,ee),ze()}let xe;function ve(){xe||(xe=n.listen((J,We,be)=>{if(!De.listening)return;const st=U(J),Vt=ie(st);if(Vt){re(un(Vt,{replace:!0}),st).catch(c1);return}w=st;const X=y.value;Tf&&pT(QD(X.fullPath,be.delta),Fm()),le(st,X).catch(ee=>Lo(ee,12)?ee:Lo(ee,2)?(re(ee.to,st).then(ce=>{Lo(ce,20)&&!be.delta&&be.type===Vf.pop&&n.go(-1,!1)}).catch(c1),Promise.reject()):(be.delta&&n.go(-be.delta,!1),ut(ee,st,X))).then(ee=>{ee=ee||Pe(st,X,!1),ee&&(be.delta&&!Lo(ee,8)?n.go(-be.delta,!1):be.type===Vf.pop&&Lo(ee,20)&&n.go(-1,!1)),we(st,X,ee)}).catch(c1)}))}let Le=Kh(),qe=Kh(),Ie;function ut(J,We,be){ze(J);const st=qe.list();return st.length?st.forEach(Vt=>Vt(J,We,be)):console.error(J),Promise.reject(J)}function dt(){return Ie&&y.value!==El?Promise.resolve():new Promise((J,We)=>{Le.add([J,We])})}function ze(J){return Ie||(Ie=!J,ve(),Le.list().forEach(([We,be])=>J?be(J):We()),Le.reset()),J}function he(J,We,be,st){const{scrollBehavior:Vt}=r;if(!Tf||!Vt)return Promise.resolve();const X=!be&&mT(QD(J.fullPath,0))||(st||!be)&&history.state&&history.state.scroll||null;return oo().then(()=>Vt(J,We,X)).then(ee=>ee&&dT(ee)).catch(ee=>ut(ee,J,We))}const He=J=>n.go(J);let et;const $e=new Set,De={currentRoute:y,listening:!0,addRoute:M,removeRoute:N,hasRoute:K,getRoutes:B,resolve:U,options:r,push:Y,replace:z,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:e.add,beforeResolve:m.add,afterEach:F.add,onError:qe.add,isReady:dt,install(J){const We=this;J.component("RouterLink",ZT),J.component("RouterView",nA),J.config.globalProperties.$router=We,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>tr(y)}),Tf&&!et&&y.value===El&&(et=!0,Y(n.location).catch(Vt=>{}));const be={};for(const Vt in El)Object.defineProperty(be,Vt,{get:()=>y.value[Vt],enumerable:!0});J.provide(_m,We),J.provide(xb,K4(be)),J.provide(y4,y);const st=J.unmount;$e.add(J),J.unmount=function(){$e.delete(J),$e.size<1&&(w=El,xe&&xe(),xe=null,y.value=El,et=!1,Ie=!1),st()}}};function Ne(J){return J.reduce((We,be)=>We.then(()=>te(be)),Promise.resolve())}return De}function iA(r,s){const i=[],l=[],n=[],e=Math.max(s.matched.length,r.matched.length);for(let m=0;m<e;m++){const F=s.matched[m];F&&(r.matched.find(w=>zf(w,F))?l.push(F):i.push(F));const y=r.matched[m];y&&(s.matched.find(w=>zf(w,y))||n.push(y))}return[i,l,n]}function aA(){return si(_m)}function oA(){return si(xb)}function w4(r,s={},i){for(const l in r){const n=r[l],e=i?`${i}:${l}`:l;typeof n=="object"&&n!==null?w4(n,s,e):typeof n=="function"&&(s[e]=n)}return s}const lA={run:r=>r()},cA=()=>lA,Ly=typeof console.createTask<"u"?console.createTask:cA;function uA(r,s){const i=s.shift(),l=Ly(i);return r.reduce((n,e)=>n.then(()=>l.run(()=>e(...s))),Promise.resolve())}function fA(r,s){const i=s.shift(),l=Ly(i);return Promise.all(r.map(n=>l.run(()=>n(...s))))}function Nv(r,s){for(const i of[...r])i(s)}class hA{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(s,i,l={}){if(!s||typeof i!="function")return()=>{};const n=s;let e;for(;this._deprecatedHooks[s];)e=this._deprecatedHooks[s],s=e.to;if(e&&!l.allowDeprecated){let m=e.message;m||(m=`${n} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(m)||(console.warn(m),this._deprecatedMessages.add(m))}if(!i.name)try{Object.defineProperty(i,"name",{get:()=>"_"+s.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[s]=this._hooks[s]||[],this._hooks[s].push(i),()=>{i&&(this.removeHook(s,i),i=void 0)}}hookOnce(s,i){let l,n=(...e)=>(typeof l=="function"&&l(),l=void 0,n=void 0,i(...e));return l=this.hook(s,n),l}removeHook(s,i){if(this._hooks[s]){const l=this._hooks[s].indexOf(i);l!==-1&&this._hooks[s].splice(l,1),this._hooks[s].length===0&&delete this._hooks[s]}}deprecateHook(s,i){this._deprecatedHooks[s]=typeof i=="string"?{to:i}:i;const l=this._hooks[s]||[];delete this._hooks[s];for(const n of l)this.hook(s,n)}deprecateHooks(s){Object.assign(this._deprecatedHooks,s);for(const i in s)this.deprecateHook(i,s[i])}addHooks(s){const i=w4(s),l=Object.keys(i).map(n=>this.hook(n,i[n]));return()=>{for(const n of l.splice(0,l.length))n()}}removeHooks(s){const i=w4(s);for(const l in i)this.removeHook(l,i[l])}removeAllHooks(){for(const s in this._hooks)delete this._hooks[s]}callHook(s,...i){return i.unshift(s),this.callHookWith(uA,s,...i)}callHookParallel(s,...i){return i.unshift(s),this.callHookWith(fA,s,...i)}callHookWith(s,i,...l){const n=this._before||this._after?{name:i,args:l,context:{}}:void 0;this._before&&Nv(this._before,n);const e=s(i in this._hooks?[...this._hooks[i]]:[],l);return e instanceof Promise?e.finally(()=>{this._after&&n&&Nv(this._after,n)}):(this._after&&n&&Nv(this._after,n),e)}beforeEach(s){return this._before=this._before||[],this._before.push(s),()=>{if(this._before!==void 0){const i=this._before.indexOf(s);i!==-1&&this._before.splice(i,1)}}}afterEach(s){return this._after=this._after||[],this._after.push(s),()=>{if(this._after!==void 0){const i=this._after.indexOf(s);i!==-1&&this._after.splice(i,1)}}}}function dA(){return new hA}function pA(r){return Array.isArray(r)?r:[r]}const mA=["title","titleTemplate","script","style","noscript"],w2=["base","meta","link","style","script","noscript"],gA=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],vA=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],By=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],bA=typeof window<"u";function Uy(r){let s=9;for(let i=0;i<r.length;)s=Math.imul(s^r.charCodeAt(i++),9**9);return((s^s>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function u3(r){return r._h||Uy(r._d?r._d:`${r.tag}:${r.textContent||r.innerHTML||""}:${Object.entries(r.props).map(([s,i])=>`${s}:${String(i)}`).join(",")}`)}function Hy(r,s){const{props:i,tag:l}=r;if(vA.includes(l))return l;if(l==="link"&&i.rel==="canonical")return"canonical";if(i.charset)return"charset";const n=["id"];l==="meta"&&n.push("name","property","http-equiv");for(const e of n)if(typeof i[e]<"u"){const m=String(i[e]);return s&&!s(m)?!1:`${l}:${e}:${m}`}return!1}function f3(r,s){return r==null?s||null:typeof r=="function"?r(s):r}async function DA(r,s,i){const l={tag:r,props:await $y(typeof s=="object"&&typeof s!="function"&&!(s instanceof Promise)?{...s}:{[["script","noscript","style"].includes(r)?"innerHTML":"textContent"]:s},["templateParams","titleTemplate"].includes(r))};return By.forEach(n=>{const e=typeof l.props[n]<"u"?l.props[n]:i[n];typeof e<"u"&&((!["innerHTML","textContent"].includes(n)||mA.includes(l.tag))&&(l[n]=e),delete l.props[n])}),l.props.body&&(l.tagPosition="bodyClose",delete l.props.body),l.props.children&&(l.innerHTML=l.props.children,delete l.props.children),l.tag==="script"&&(typeof l.innerHTML=="object"&&(l.innerHTML=JSON.stringify(l.innerHTML),l.props.type=l.props.type||"application/json"),l.innerHTML&&["application/ld+json","application/json"].includes(l.props.type)&&(l.innerHTML=l.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(l.props.content)?l.props.content.map(n=>({...l,props:{...l.props,content:n}})):l}function FA(r){return typeof r=="object"&&!Array.isArray(r)&&(r=Object.keys(r).filter(s=>r[s])),(Array.isArray(r)?r.join(" "):r).split(" ").filter(s=>s.trim()).filter(Boolean).join(" ")}async function $y(r,s){for(const i of Object.keys(r)){if(i==="class"){r[i]=FA(r[i]);continue}if(r[i]instanceof Promise&&(r[i]=await r[i]),!s&&!By.includes(i)){const l=String(r[i]),n=i.startsWith("data-");l==="true"||l===""?r[i]=n?"true":!0:r[i]||(n&&l==="false"?r[i]="false":delete r[i])}}return r}const _A=10;async function yA(r){const s=[];return Object.entries(r.resolvedInput).filter(([i,l])=>typeof l<"u"&&gA.includes(i)).forEach(([i,l])=>{const n=pA(l);s.push(...n.map(e=>DA(i,e,r)).flat())}),(await Promise.all(s)).flat().filter(Boolean).map((i,l)=>(i._e=r._i,r.mode&&(i._m=r.mode),i._p=(r._i<<_A)+l,i))}const h3={base:-10,title:10},d3={critical:-80,high:-10,low:20};function B2(r){let s=100;const i=r.tagPriority;return typeof i=="number"?i:(r.tag==="meta"?(r.props["http-equiv"]==="content-security-policy"&&(s=-30),r.props.charset&&(s=-20),r.props.name==="viewport"&&(s=-15)):r.tag==="link"&&r.props.rel==="preconnect"?s=20:r.tag in h3&&(s=h3[r.tag]),typeof i=="string"&&i in d3?s+d3[i]:s)}const wA=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],xl="%separator";function Kc(r,s,i){if(typeof r!="string"||!r.includes("%"))return r;function l(m){let F;return["s","pageTitle"].includes(m)?F=s.pageTitle:m.includes(".")?F=m.split(".").reduce((y,w)=>y&&y[w]||void 0,s):F=s[m],typeof F<"u"?(F||"").replace(/"/g,'\\"'):!1}let n=r;try{n=decodeURI(r)}catch{}return(n.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(m=>{const F=l(m.slice(1));typeof F=="string"&&(r=r.replace(new RegExp(`\\${m}(\\W|$)`,"g"),(y,w)=>`${F}${w}`).trim())}),r.includes(xl)&&(r.endsWith(xl)&&(r=r.slice(0,-xl.length).trim()),r.startsWith(xl)&&(r=r.slice(xl.length).trim()),r=r.replace(new RegExp(`\\${xl}\\s*\\${xl}`,"g"),xl),r=Kc(r,{separator:i},i)),r}async function EA(r){const s={tag:r.tagName.toLowerCase(),props:await $y(r.getAttributeNames().reduce((i,l)=>({...i,[l]:r.getAttribute(l)}),{})),innerHTML:r.innerHTML};return s._d=Hy(s),s}async function xA(r,s={}){var k;const i=s.document||r.resolvedOptions.document;if(!i)return;const l={shouldRender:r.dirty,tags:[]};if(await r.hooks.callHook("dom:beforeRender",l),!l.shouldRender)return;const n=(await r.resolveTags()).map(S=>({tag:S,id:w2.includes(S.tag)?u3(S):S.tag,shouldRender:!0}));let e=r._dom;if(!e){e={elMap:{htmlAttrs:i.documentElement,bodyAttrs:i.body}};for(const S of["body","head"]){const P=(k=i==null?void 0:i[S])==null?void 0:k.children;for(const M of[...P].filter(N=>w2.includes(N.tagName.toLowerCase())))e.elMap[M.getAttribute("data-hid")||u3(await EA(M))]=M}}e.pendingSideEffects={...e.sideEffects||{}},e.sideEffects={};function m(S,P,M){const N=`${S}:${P}`;e.sideEffects[N]=M,delete e.pendingSideEffects[N]}function F({id:S,$el:P,tag:M}){const N=M.tag.endsWith("Attrs");e.elMap[S]=P,N||(["textContent","innerHTML"].forEach(B=>{M[B]&&M[B]!==P[B]&&(P[B]=M[B])}),m(S,"el",()=>{e.elMap[S].remove(),delete e.elMap[S]})),Object.entries(M.props).forEach(([B,K])=>{const U=`attr:${B}`;if(B==="class")for(const G of(K||"").split(" ").filter(Boolean))N&&m(S,`${U}:${G}`,()=>P.classList.remove(G)),!P.classList.contains(G)&&P.classList.add(G);else P.getAttribute(B)!==K&&P.setAttribute(B,K===!0?"":String(K)),N&&m(S,U,()=>P.removeAttribute(B))})}const y=[],w={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const S of n){const{tag:P,shouldRender:M,id:N}=S;if(M){if(P.tag==="title"){i.title=P.textContent;continue}S.$el=S.$el||e.elMap[N],S.$el?F(S):w2.includes(P.tag)&&y.push(S)}}for(const S of y){const P=S.tag.tagPosition||"head";S.$el=i.createElement(S.tag.tag),F(S),w[P]=w[P]||i.createDocumentFragment(),w[P].appendChild(S.$el)}for(const S of n)await r.hooks.callHook("dom:renderTag",S,i,m);w.head&&i.head.appendChild(w.head),w.bodyOpen&&i.body.insertBefore(w.bodyOpen,i.body.firstChild),w.bodyClose&&i.body.appendChild(w.bodyClose),Object.values(e.pendingSideEffects).forEach(S=>S()),r._dom=e,r.dirty=!1,await r.hooks.callHook("dom:rendered",{renders:n})}async function CA(r,s={}){const i=s.delayFn||(l=>setTimeout(l,10));return r._domUpdatePromise=r._domUpdatePromise||new Promise(l=>i(async()=>{await xA(r,s),delete r._domUpdatePromise,l()}))}function TA(r){return s=>{var l,n;const i=((n=(l=s.resolvedOptions.document)==null?void 0:l.head.querySelector('script[id="unhead:payload"]'))==null?void 0:n.innerHTML)||!1;return i&&s.push(JSON.parse(i)),{mode:"client",hooks:{"entries:updated":function(e){CA(e,r)}}}}}const AA=["templateParams","htmlAttrs","bodyAttrs"],SA={hooks:{"tag:normalise":function({tag:r}){["hid","vmid","key"].forEach(l=>{r.props[l]&&(r.key=r.props[l],delete r.props[l])});const i=Hy(r)||(r.key?`${r.tag}:${r.key}`:!1);i&&(r._d=i)},"tags:resolve":function(r){const s={};r.tags.forEach(l=>{const n=(l.key?`${l.tag}:${l.key}`:l._d)||l._p,e=s[n];if(e){let F=l==null?void 0:l.tagDuplicateStrategy;if(!F&&AA.includes(l.tag)&&(F="merge"),F==="merge"){const y=e.props;["class","style"].forEach(w=>{l.props[w]&&y[w]&&(w==="style"&&!y[w].endsWith(";")&&(y[w]+=";"),l.props[w]=`${y[w]} ${l.props[w]}`)}),s[n].props={...y,...l.props};return}else if(l._e===e._e){e._duped=e._duped||[],l._d=`${e._d}:${e._duped.length+1}`,e._duped.push(l);return}else if(B2(l)>B2(e))return}const m=Object.keys(l.props).length+(l.innerHTML?1:0)+(l.textContent?1:0);if(w2.includes(l.tag)&&m===0){delete s[n];return}s[n]=l});const i=[];Object.values(s).forEach(l=>{const n=l._duped;delete l._duped,i.push(l),n&&i.push(...n)}),r.tags=i,r.tags=r.tags.filter(l=>!(l.tag==="meta"&&(l.props.name||l.props.property)&&!l.props.content))}}},kA={mode:"server",hooks:{"tags:resolve":function(r){const s={};r.tags.filter(i=>["titleTemplate","templateParams","title"].includes(i.tag)&&i._m==="server").forEach(i=>{s[i.tag]=i.tag.startsWith("title")?i.textContent:i.props}),Object.keys(s).length&&r.tags.push({tag:"script",innerHTML:JSON.stringify(s),props:{id:"unhead:payload",type:"application/json"}})}}},p3=["script","link","bodyAttrs"];function m3(r){const s={},i={};return Object.entries(r.props).forEach(([l,n])=>{l.startsWith("on")&&typeof n=="function"?i[l]=n:s[l]=n}),{props:s,eventHandlers:i}}const OA={hooks:{"ssr:render":function(r){r.tags=r.tags.map(s=>(!p3.includes(s.tag)||!Object.entries(s.props).find(([i,l])=>i.startsWith("on")&&typeof l=="function")||(s.props=m3(s).props),s))},"tags:resolve":function(r){r.tags=r.tags.map(s=>{if(!p3.includes(s.tag))return s;const{props:i,eventHandlers:l}=m3(s);return Object.keys(l).length&&(s.props=i,s._eventHandlers=l),s})},"dom:renderTag":function(r,s,i){if(!r.tag._eventHandlers)return;const l=r.tag.tag==="bodyAttrs"?s.defaultView:r.$el;Object.entries(r.tag._eventHandlers).forEach(([n,e])=>{const m=`${r.tag._d||r.tag._p}:${n}`,F=n.slice(2).toLowerCase(),y=`data-h-${F}`;if(i(r.id,m,()=>{}),r.$el.hasAttribute(y))return;const w=e;r.$el.setAttribute(y,""),l.addEventListener(F,w),r.entry&&i(r.id,m,()=>{l.removeEventListener(F,w),r.$el.removeAttribute(y)})})}}},RA=["link","style","script","noscript"],PA={hooks:{"tag:normalise":({tag:r})=>{r.key&&RA.includes(r.tag)&&(r.props["data-hid"]=r._h=Uy(r.key))}}},IA={hooks:{"tags:resolve":r=>{const s=i=>{var l;return(l=r.tags.find(n=>n._d===i))==null?void 0:l._p};for(const{prefix:i,offset:l}of wA)for(const n of r.tags.filter(e=>typeof e.tagPriority=="string"&&e.tagPriority.startsWith(i))){const e=s(n.tagPriority.replace(i,""));typeof e<"u"&&(n._p=e+l)}r.tags.sort((i,l)=>i._p-l._p).sort((i,l)=>B2(i)-B2(l))}}},NA={hooks:{"tags:resolve":r=>{var m;const{tags:s}=r,i=(m=s.find(F=>F.tag==="title"))==null?void 0:m.textContent,l=s.findIndex(F=>F.tag==="templateParams"),n=l!==-1?s[l].props:{},e=n.separator||"|";delete n.separator,n.pageTitle=Kc(n.pageTitle||i||"",n,e);for(const F of s)F.processTemplateParams!==!1&&(["titleTemplate","title"].includes(F.tag)&&typeof F.textContent=="string"?F.textContent=Kc(F.textContent,n,e):F.tag==="meta"&&typeof F.props.content=="string"?F.props.content=Kc(F.props.content,n,e):F.tag==="link"&&typeof F.props.href=="string"?F.props.href=Kc(F.props.href,n,e):F.processTemplateParams===!0&&(F.innerHTML?F.innerHTML=Kc(F.innerHTML,n,e):F.textContent&&(F.textContent=Kc(F.textContent,n,e))));r.tags=s.filter(F=>F.tag!=="templateParams")}}},MA={hooks:{"tags:resolve":r=>{const{tags:s}=r;let i=s.findIndex(n=>n.tag==="titleTemplate");const l=s.findIndex(n=>n.tag==="title");if(l!==-1&&i!==-1){const n=f3(s[i].textContent,s[l].textContent);n!==null?s[l].textContent=n||s[l].textContent:delete s[l]}else if(i!==-1){const n=f3(s[i].textContent);n!==null&&(s[i].textContent=n,s[i].tag="title",i=-1)}i!==-1&&delete s[i],r.tags=s.filter(Boolean)}}};function LA(r={}){const s=BA(r);return s.use(TA()),s}function g3(r,s){return!r||r==="server"&&s||r==="client"&&!s}function BA(r={}){const s=dA();s.addHooks(r.hooks||{}),r.document=r.document||(bA?document:void 0);const i=!r.document;r.plugins=[SA,kA,OA,PA,IA,NA,MA,...(r==null?void 0:r.plugins)||[]];const l=()=>{m.dirty=!0,s.callHook("entries:updated",m)};let n=0,e=[];const m={dirty:!1,resolvedOptions:r,hooks:s,headEntries(){return e},use(F){const y=typeof F=="function"?F(m):F;g3(y.mode,i)&&s.addHooks(y.hooks||{})},push(F,y){y==null||delete y.head;const w={_i:n++,input:F,...y};return g3(w.mode,i)&&(e.push(w),l()),{dispose(){e=e.filter(k=>k._i!==w._i),s.callHook("entries:updated",m),l()},patch(k){e=e.map(S=>(S._i===w._i&&(S.input=w.input=k),S)),l()}}},async resolveTags(){const F={tags:[],entries:[...e]};await s.callHook("entries:resolve",F);for(const y of F.entries){const w=y.resolvedInput||y.input;if(y.resolvedInput=await(y.transform?y.transform(w):w),y.resolvedInput)for(const k of await yA(y)){const S={tag:k,entry:y,resolvedOptions:m.resolvedOptions};await s.callHook("tag:normalise",S),F.tags.push(S.tag)}}return await s.callHook("tags:beforeResolve",F),await s.callHook("tags:resolve",F),F.tags},ssr:i};return r.plugins.forEach(F=>m.use(F)),m.hooks.callHook("init",m),m}const UA=vb.startsWith("3");function HA(r){return typeof r=="function"?r():tr(r)}function E4(r,s=""){if(r instanceof Promise)return r;const i=HA(r);return!r||!i?i:Array.isArray(i)?i.map(l=>E4(l,s)):typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>l==="titleTemplate"||l.startsWith("on")?[l,tr(n)]:[l,E4(n,l)])):i}const $A={hooks:{"entries:resolve":function(r){for(const s of r.entries)s.resolvedInput=E4(s.input)}}},WA="usehead";function zA(r){return{install(i){UA&&(i.config.globalProperties.$unhead=r,i.config.globalProperties.$head=r,i.provide(WA,r))}}.install}function VA(r={}){r.domDelayFn=r.domDelayFn||(i=>oo(()=>setTimeout(()=>i(),0)));const s=LA(r);return s.use($A),s.install=zA(s),s}function GA(r){try{return JSON.parse(r||"{}")}catch(s){return console.error("[SSG] On state deserialization -",s,r),{}}}function jA(r){return document.readyState==="loading"?new Promise(s=>{document.addEventListener("DOMContentLoaded",()=>s(r))}):Promise.resolve(r)}const YA=Cs({setup(r,{slots:s}){const i=Yt(!1);return lo(()=>i.value=!0),()=>i.value?s.default&&s.default({}):s.placeholder&&s.placeholder({})}});function KA(r,s,i,l={}){const{transformState:n,registerComponents:e=!0,useHead:m=!0,rootContainer:F="#app"}=l,y=typeof window<"u";async function w(k=!1,S){const P=k?_b(r):ly(r);let M;m&&(M=VA(),P.use(M));const N=sA({history:k?DT(s.base):FT(s.base),...s}),{routes:B}=s;e&&P.component("ClientOnly",YA);const K=[],se={app:P,head:M,isClient:y,router:N,routes:B,onSSRAppRendered:k?()=>{}:re=>K.push(re),triggerOnSSRAppRendered:()=>Promise.all(K.map(re=>re())),initialState:{},transformState:n,routePath:S};k&&(await jA(),se.initialState=(n==null?void 0:n(window.__INITIAL_STATE__||{}))||GA(window.__INITIAL_STATE__)),await(i==null?void 0:i(se)),P.use(N);let Y,z=!0;if(N.beforeEach((re,ne,te)=>{(z||Y&&Y===re.path)&&(z=!1,Y=re.path,re.meta.state=se.initialState),te()}),!k){const re=se.routePath??"/";N.push(re),await N.isReady(),se.initialState=N.currentRoute.value.meta.state||{}}const ie=se.initialState;return{...se,initialState:ie}}return y&&(async()=>{const{app:k,router:S}=await w(!0);await S.isReady(),k.mount(F,!0)})(),w}const qA="0.25.0",Wy="https://github.com/xcpcio/xcpcio",QA="892990150a";var Ca=(r=>(r.PENDING="PENDING",r.RUNNING="RUNNING",r.FROZEN="FROZEN",r.FINISHED="FINISHED",r.PAUSED="PAUSED",r))(Ca||{}),wt=(r=>(r.PENDING="PENDING",r.WAITING="WAITING",r.PREPARING="PREPARING",r.COMPILING="COMPILING",r.RUNNING="RUNNING",r.JUDGING="JUDGING",r.FROZEN="FROZEN",r.ACCEPTED="ACCEPTED",r.CORRECT="CORRECT",r.PARTIALLY_CORRECT="PARTIALLY_CORRECT",r.REJECTED="REJECTED",r.WRONG_ANSWER="WRONG_ANSWER",r.COMPILATION_ERROR="COMPILATION_ERROR",r.PRESENTATION_ERROR="PRESENTATION_ERROR",r.RUNTIME_ERROR="RUNTIME_ERROR",r.TIME_LIMIT_EXCEEDED="TIME_LIMIT_EXCEEDED",r.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",r.OUTPUT_LIMIT_EXCEEDED="OUTPUT_LIMIT_EXCEEDED",r.IDLENESS_LIMIT_EXCEEDED="IDLENESS_LIMIT_EXCEEDED",r.HACKED="HACKED",r.JUDGEMENT_FAILED="JUDGEMENT_FAILED",r.CONFIGURATION_ERROR="CONFIGURATION_ERROR",r.FILE_ERROR="FILE_ERROR",r.SYSTEM_ERROR="SYSTEM_ERROR",r.CANCELED="CANCELED",r.SKIPPED="SKIPPED",r.SECURITY_VIOLATED="SECURITY_VIOLATED",r.DENIAL_OF_JUDGEMENT="DENIAL_OF_JUDGEMENT",r.UNKNOWN="UNKNOWN",r.UNDEFINED="UNDEFINED",r))(wt||{});const bO={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"},XA={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},JA={"text-center":"","w-full":""},ZA=Mt("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),e8=Mt("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1),t8={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},r8=["href"],n8={flex:"","justify-center":"","flex-col":""},s8=Mt("a",{href:"mailto:hi@dup4.com","mr-4":"","md:mr-6":"","hover:underline":""}," Contact ",-1),i8={flex:"","justify-center":"","flex-col":""},a8={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},o8=Cs({__name:"Footer",setup(r){const s=Vr(()=>window?window.CDN_HOST:""),i=Vr(()=>window?window.DATA_HOST:""),l=Vr(()=>window?window.DATA_REGION:"");return(n,e)=>{const m=Bi("RouterLink"),F=Bi("VTooltip");return Ur(),vn("footer",XA,[Mt("div",JA,[Er(m,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:ws(()=>[ZA,Ea(" Get more balloons ")]),_:1}),e8,Mt("ul",t8,[Mt("li",null,[Er(m,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:ws(()=>[Ea(" Home ")]),_:1})]),Mt("li",null,[Er(F,{"w-inherit":""},{popper:ws(()=>[Mt("div",n8,[Mt("div",null,"Tag: "+as(tr(qA)),1),Mt("div",null,"Sha: "+as(tr(QA)),1)])]),default:ws(()=>[Mt("a",{href:tr(Wy),class:"mr-4 md:mr-6 hover:underline",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,r8)]),_:1})]),Mt("li",null,[Er(F,{"w-inherit":""},{popper:ws(()=>[Mt("div",i8,[Mt("div",null,"CDN Host: "+as(tr(s)),1),Mt("div",null,"DATA Host: "+as(tr(i)),1),Mt("div",null,"Data Region: "+as(tr(l)),1)])]),default:ws(()=>[s8]),_:1})])]),Mt("span",a8,[Ea("© 2020-PRESENT "),Er(m,{to:"/","hover:underline":""},{default:ws(()=>[Ea("XCPCIO™")]),_:1}),Ea(". All Rights Reserved.")])])])}}});function hu(r){return tm()?(G4(r),!0):!1}function Mv(){const r=new Set,s=n=>{r.delete(n)};return{on:n=>{r.add(n);const e=()=>s(n);return hu(e),{off:e}},off:s,trigger:n=>Promise.all(Array.from(r).map(e=>e(n)))}}function Yn(r){return typeof r=="function"?r():tr(r)}const ym=typeof window<"u",l8=r=>typeof r<"u",c8=r=>r!=null,Mf=()=>{};function u8(r,s){function i(...l){return new Promise((n,e)=>{Promise.resolve(r(()=>s.apply(this,l),{fn:s,thisArg:this,args:l})).then(n).catch(e)})}return i}const zy=r=>r();function f8(r=zy){const s=Yt(!0);function i(){s.value=!1}function l(){s.value=!0}const n=(...e)=>{s.value&&r(...e)};return{isActive:qf(s),pause:i,resume:l,eventFilter:n}}function v3(r,s=!1,i="Timeout"){return new Promise((l,n)=>{setTimeout(s?()=>n(i):l,r)})}function h8(r,...s){return s.some(i=>i in r)}function u1(...r){if(r.length!==1)return qF(...r);const s=r[0];return typeof s=="function"?qf(Z4(()=>({get:s,set:Mf}))):Yt(s)}function d8(r,s=!0){Ts()?lo(r):s?r():oo(r)}function x4(r,s=!1){function i(S,{flush:P="sync",deep:M=!1,timeout:N,throwOnTimeout:B}={}){let K=null;const G=[new Promise(se=>{K=bn(r,Y=>{S(Y)!==s&&(K==null||K(),se(Y))},{flush:P,deep:M,immediate:!0})})];return N!=null&&G.push(v3(N,B).then(()=>Yn(r)).finally(()=>K==null?void 0:K())),Promise.race(G)}function l(S,P){if(!rn(S))return i(Y=>Y===S,P);const{flush:M="sync",deep:N=!1,timeout:B,throwOnTimeout:K}=P??{};let U=null;const se=[new Promise(Y=>{U=bn([r,S],([z,ie])=>{s!==(z===ie)&&(U==null||U(),Y(z))},{flush:M,deep:N,immediate:!0})})];return B!=null&&se.push(v3(B,K).then(()=>Yn(r)).finally(()=>(U==null||U(),Yn(r)))),Promise.race(se)}function n(S){return i(P=>!!P,S)}function e(S){return l(null,S)}function m(S){return l(void 0,S)}function F(S){return i(Number.isNaN,S)}function y(S,P){return i(M=>{const N=Array.from(M);return N.includes(S)||N.includes(Yn(S))},P)}function w(S){return k(1,S)}function k(S=1,P){let M=-1;return i(()=>(M+=1,M>=S),P)}return Array.isArray(Yn(r))?{toMatch:i,toContains:y,changed:w,changedTimes:k,get not(){return x4(r,!s)}}:{toMatch:i,toBe:l,toBeTruthy:n,toBeNull:e,toBeNaN:F,toBeUndefined:m,changed:w,changedTimes:k,get not(){return x4(r,!s)}}}function p8(r){return x4(r)}function Vy(r,s,i={}){const{immediate:l=!0}=i,n=Yt(!1);let e=null;function m(){e&&(clearTimeout(e),e=null)}function F(){n.value=!1,m()}function y(...w){m(),n.value=!0,e=setTimeout(()=>{n.value=!1,e=null,r(...w)},Yn(s))}return l&&(n.value=!0,ym&&y()),hu(F),{isPending:qf(n),start:y,stop:F}}function m8(r=!1,s={}){const{truthyValue:i=!0,falsyValue:l=!1}=s,n=rn(r),e=Yt(r);function m(F){if(arguments.length)return e.value=F,e.value;{const y=Yn(i);return e.value=e.value===y?Yn(l):y,e.value}}return n?m:[e,m]}var b3=Object.getOwnPropertySymbols,g8=Object.prototype.hasOwnProperty,v8=Object.prototype.propertyIsEnumerable,b8=(r,s)=>{var i={};for(var l in r)g8.call(r,l)&&s.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&b3)for(var l of b3(r))s.indexOf(l)<0&&v8.call(r,l)&&(i[l]=r[l]);return i};function D8(r,s,i={}){const l=i,{eventFilter:n=zy}=l,e=b8(l,["eventFilter"]);return bn(r,u8(n,s),e)}var F8=Object.defineProperty,_8=Object.defineProperties,y8=Object.getOwnPropertyDescriptors,U2=Object.getOwnPropertySymbols,Gy=Object.prototype.hasOwnProperty,jy=Object.prototype.propertyIsEnumerable,D3=(r,s,i)=>s in r?F8(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,w8=(r,s)=>{for(var i in s||(s={}))Gy.call(s,i)&&D3(r,i,s[i]);if(U2)for(var i of U2(s))jy.call(s,i)&&D3(r,i,s[i]);return r},E8=(r,s)=>_8(r,y8(s)),x8=(r,s)=>{var i={};for(var l in r)Gy.call(r,l)&&s.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&U2)for(var l of U2(r))s.indexOf(l)<0&&jy.call(r,l)&&(i[l]=r[l]);return i};function C8(r,s,i={}){const l=i,{eventFilter:n}=l,e=x8(l,["eventFilter"]),{eventFilter:m,pause:F,resume:y,isActive:w}=f8(n);return{stop:D8(r,s,E8(w8({},e),{eventFilter:m})),pause:F,resume:y,isActive:w}}function Lf(r){var s;const i=Yn(r);return(s=i==null?void 0:i.$el)!=null?s:i}const ca=ym?window:void 0,T8=ym?window.document:void 0,A8=ym?window.navigator:void 0;function $o(...r){let s,i,l,n;if(typeof r[0]=="string"||Array.isArray(r[0])?([i,l,n]=r,s=ca):[s,i,l,n]=r,!s)return Mf;Array.isArray(i)||(i=[i]),Array.isArray(l)||(l=[l]);const e=[],m=()=>{e.forEach(k=>k()),e.length=0},F=(k,S,P,M)=>(k.addEventListener(S,P,M),()=>k.removeEventListener(S,P,M)),y=bn(()=>[Lf(s),Yn(n)],([k,S])=>{m(),k&&e.push(...i.flatMap(P=>l.map(M=>F(k,P,M,S))))},{immediate:!0,flush:"post"}),w=()=>{y(),m()};return hu(w),w}function S8(r){return typeof r=="function"?r:typeof r=="string"?s=>s.key===r:Array.isArray(r)?s=>r.includes(s.key):()=>!0}function DO(...r){let s,i,l={};r.length===3?(s=r[0],i=r[1],l=r[2]):r.length===2?typeof r[1]=="object"?(s=!0,i=r[0],l=r[1]):(s=r[0],i=r[1]):(s=!0,i=r[0]);const{target:n=ca,eventName:e="keydown",passive:m=!1,dedupe:F=!1}=l,y=S8(s);return $o(n,e,k=>{k.repeat&&Yn(F)||y(k)&&i(k)},m)}function k8(){const r=Yt(!1);return Ts()&&lo(()=>{r.value=!0}),r}function wm(r){const s=k8();return Vr(()=>(s.value,!!r()))}function O8(r,s={}){const{window:i=ca}=s,l=wm(()=>i&&"matchMedia"in i&&typeof i.matchMedia=="function");let n;const e=Yt(!1),m=w=>{e.value=w.matches},F=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",m):n.removeListener(m))},y=sb(()=>{l.value&&(F(),n=i.matchMedia(Yn(r)),"addEventListener"in n?n.addEventListener("change",m):n.addListener(m),e.value=n.matches)});return hu(()=>{y(),F(),n=void 0}),e}function FO(r={}){const{navigator:s=A8,read:i=!1,source:l,copiedDuring:n=1500,legacy:e=!1}=r,m=wm(()=>s&&"clipboard"in s),F=Vr(()=>m.value||e),y=Yt(""),w=Yt(!1),k=Vy(()=>w.value=!1,n);function S(){m.value?s.clipboard.readText().then(B=>{y.value=B}):y.value=N()}F.value&&i&&$o(["copy","cut"],S);async function P(B=Yn(l)){F.value&&B!=null&&(m.value?await s.clipboard.writeText(B):M(B),y.value=B,w.value=!0,k.start())}function M(B){const K=document.createElement("textarea");K.value=B??"",K.style.position="absolute",K.style.opacity="0",document.body.appendChild(K),K.select(),document.execCommand("copy"),K.remove()}function N(){var B,K,U;return(U=(K=(B=document==null?void 0:document.getSelection)==null?void 0:B.call(document))==null?void 0:K.toString())!=null?U:""}return{isSupported:F,text:y,copied:w,copy:P}}function R8(r){return JSON.parse(JSON.stringify(r))}const g2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},v2="__vueuse_ssr_handlers__",P8=I8();function I8(){return v2 in g2||(g2[v2]=g2[v2]||{}),g2[v2]}function Yy(r,s){return P8[r]||s}function N8(r){return r==null?"any":r instanceof Set?"set":r instanceof Map?"map":r instanceof Date?"date":typeof r=="boolean"?"boolean":typeof r=="string"?"string":typeof r=="object"?"object":Number.isNaN(r)?"any":"number"}var M8=Object.defineProperty,F3=Object.getOwnPropertySymbols,L8=Object.prototype.hasOwnProperty,B8=Object.prototype.propertyIsEnumerable,_3=(r,s,i)=>s in r?M8(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,y3=(r,s)=>{for(var i in s||(s={}))L8.call(s,i)&&_3(r,i,s[i]);if(F3)for(var i of F3(s))B8.call(s,i)&&_3(r,i,s[i]);return r};const U8={boolean:{read:r=>r==="true",write:r=>String(r)},object:{read:r=>JSON.parse(r),write:r=>JSON.stringify(r)},number:{read:r=>Number.parseFloat(r),write:r=>String(r)},any:{read:r=>r,write:r=>String(r)},string:{read:r=>r,write:r=>String(r)},map:{read:r=>new Map(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r.entries()))},set:{read:r=>new Set(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r))},date:{read:r=>new Date(r),write:r=>r.toISOString()}},w3="vueuse-storage";function H8(r,s,i,l={}){var n;const{flush:e="pre",deep:m=!0,listenToStorageChanges:F=!0,writeDefaults:y=!0,mergeDefaults:w=!1,shallow:k,window:S=ca,eventFilter:P,onError:M=ne=>{console.error(ne)}}=l,N=(k?Pf:Yt)(s);if(!i)try{i=Yy("getDefaultStorage",()=>{var ne;return(ne=ca)==null?void 0:ne.localStorage})()}catch(ne){M(ne)}if(!i)return N;const B=Yn(s),K=N8(B),U=(n=l.serializer)!=null?n:U8[K],{pause:G,resume:se}=C8(N,()=>Y(N.value),{flush:e,deep:m,eventFilter:P});return S&&F&&($o(S,"storage",re),$o(S,w3,ie)),re(),N;function Y(ne){try{if(ne==null)i.removeItem(r);else{const te=U.write(ne),le=i.getItem(r);le!==te&&(i.setItem(r,te),S&&S.dispatchEvent(new CustomEvent(w3,{detail:{key:r,oldValue:le,newValue:te,storageArea:i}})))}}catch(te){M(te)}}function z(ne){const te=ne?ne.newValue:i.getItem(r);if(te==null)return y&&B!==null&&i.setItem(r,U.write(B)),B;if(!ne&&w){const le=U.read(te);return typeof w=="function"?w(le,B):K==="object"&&!Array.isArray(le)?y3(y3({},B),le):le}else return typeof te!="string"?te:U.read(te)}function ie(ne){re(ne.detail)}function re(ne){if(!(ne&&ne.storageArea!==i)){if(ne&&ne.key==null){N.value=B;return}if(!(ne&&ne.key!==r)){G();try{N.value=z(ne)}catch(te){M(te)}finally{ne?oo(se):se()}}}}}function Ky(r){return O8("(prefers-color-scheme: dark)",r)}var $8=Object.defineProperty,E3=Object.getOwnPropertySymbols,W8=Object.prototype.hasOwnProperty,z8=Object.prototype.propertyIsEnumerable,x3=(r,s,i)=>s in r?$8(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,V8=(r,s)=>{for(var i in s||(s={}))W8.call(s,i)&&x3(r,i,s[i]);if(E3)for(var i of E3(s))z8.call(s,i)&&x3(r,i,s[i]);return r};function G8(r={}){const{selector:s="html",attribute:i="class",initialValue:l="auto",window:n=ca,storage:e,storageKey:m="vueuse-color-scheme",listenToStorageChanges:F=!0,storageRef:y,emitAuto:w,disableTransition:k=!0}=r,S=V8({auto:"",light:"light",dark:"dark"},r.modes||{}),P=Ky({window:n}),M=Vr(()=>P.value?"dark":"light"),N=y||(m==null?u1(l):H8(m,l,e,{window:n,listenToStorageChanges:F})),B=Vr(()=>N.value==="auto"?M.value:N.value),K=Yy("updateHTMLAttrs",(Y,z,ie)=>{const re=typeof Y=="string"?n==null?void 0:n.document.querySelector(Y):Lf(Y);if(!re)return;let ne;if(k){ne=n.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}";ne.appendChild(document.createTextNode(te)),n.document.head.appendChild(ne)}if(z==="class"){const te=ie.split(/\s/g);Object.values(S).flatMap(le=>(le||"").split(/\s/g)).filter(Boolean).forEach(le=>{te.includes(le)?re.classList.add(le):re.classList.remove(le)})}else re.setAttribute(z,ie);k&&(n.getComputedStyle(ne).opacity,document.head.removeChild(ne))});function U(Y){var z;K(s,i,(z=S[Y])!=null?z:Y)}function G(Y){r.onChanged?r.onChanged(Y,U):U(Y)}bn(B,G,{flush:"post",immediate:!0}),d8(()=>G(B.value));const se=Vr({get(){return w?N.value:B.value},set(Y){N.value=Y}});try{return Object.assign(se,{store:N,system:M,state:B})}catch{return se}}var C3=Object.getOwnPropertySymbols,j8=Object.prototype.hasOwnProperty,Y8=Object.prototype.propertyIsEnumerable,K8=(r,s)=>{var i={};for(var l in r)j8.call(r,l)&&s.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&C3)for(var l of C3(r))s.indexOf(l)<0&&Y8.call(r,l)&&(i[l]=r[l]);return i};function q8(r,s,i={}){const l=i,{window:n=ca}=l,e=K8(l,["window"]);let m;const F=wm(()=>n&&"MutationObserver"in n),y=()=>{m&&(m.disconnect(),m=void 0)},w=bn(()=>Lf(r),S=>{y(),F.value&&n&&S&&(m=new MutationObserver(s),m.observe(S,e))},{immediate:!0}),k=()=>{y(),w()};return hu(k),{isSupported:F,stop:k}}var Q8=Object.defineProperty,X8=Object.defineProperties,J8=Object.getOwnPropertyDescriptors,T3=Object.getOwnPropertySymbols,Z8=Object.prototype.hasOwnProperty,eS=Object.prototype.propertyIsEnumerable,A3=(r,s,i)=>s in r?Q8(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,tS=(r,s)=>{for(var i in s||(s={}))Z8.call(s,i)&&A3(r,i,s[i]);if(T3)for(var i of T3(s))eS.call(s,i)&&A3(r,i,s[i]);return r},rS=(r,s)=>X8(r,J8(s));function nS(r={}){const{valueDark:s="dark",valueLight:i=""}=r,l=G8(rS(tS({},r),{onChanged:(e,m)=>{var F;r.onChanged?(F=r.onChanged)==null||F.call(r,e==="dark",m,e):m(e)},modes:{dark:s,light:i}}));return Vr({get(){return l.value==="dark"},set(e){const m=e?"dark":"light";l.system.value===m?l.value="auto":l.value=m}})}function sS(r,s,i={}){const{root:l,rootMargin:n="0px",threshold:e=.1,window:m=ca,immediate:F=!0}=i,y=wm(()=>m&&"IntersectionObserver"in m),w=Vr(()=>{const N=Yn(r);return(Array.isArray(N)?N:[N]).map(Lf).filter(c8)});let k=Mf;const S=Yt(F),P=y.value?bn(()=>[w.value,Lf(l),S.value],([N,B])=>{if(k(),!S.value||!N.length)return;const K=new IntersectionObserver(s,{root:Lf(B),rootMargin:n,threshold:e});N.forEach(U=>U&&K.observe(U)),k=()=>{K.disconnect(),k=Mf}},{immediate:F,flush:"post"}):Mf,M=()=>{k(),P(),S.value=!1};return hu(M),{isSupported:y,isActive:S,pause(){k(),S.value=!1},resume(){S.value=!0},stop:M}}function iS(r,{window:s=ca,scrollTarget:i}={}){const l=Yt(!1);return sS(r,([{isIntersecting:n}])=>{l.value=n},{root:i,window:s}),l}var aS=Object.defineProperty,oS=Object.defineProperties,lS=Object.getOwnPropertyDescriptors,S3=Object.getOwnPropertySymbols,cS=Object.prototype.hasOwnProperty,uS=Object.prototype.propertyIsEnumerable,k3=(r,s,i)=>s in r?aS(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,gi=(r,s)=>{for(var i in s||(s={}))cS.call(s,i)&&k3(r,i,s[i]);if(S3)for(var i of S3(s))uS.call(s,i)&&k3(r,i,s[i]);return r},qh=(r,s)=>oS(r,lS(s));const fS={json:"application/json",text:"text/plain"};function O3(r){return r&&h8(r,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Lv(r){return typeof Headers<"u"&&r instanceof Headers?Object.fromEntries([...r.entries()]):r}function hS(r,...s){var i;const l=typeof AbortController=="function";let n={},e={immediate:!0,refetch:!1,timeout:0};const m={method:"GET",type:"text",payload:void 0};s.length>0&&(O3(s[0])?e=gi(gi({},e),s[0]):n=s[0]),s.length>1&&O3(s[1])&&(e=gi(gi({},e),s[1]));const{fetch:F=(i=ca)==null?void 0:i.fetch,initialData:y,timeout:w}=e,k=Mv(),S=Mv(),P=Mv(),M=Yt(!1),N=Yt(!1),B=Yt(!1),K=Yt(null),U=Pf(null),G=Pf(null),se=Pf(y||null),Y=Vr(()=>l&&N.value);let z,ie;const re=()=>{l&&(z==null||z.abort(),z=new AbortController,z.signal.onabort=()=>B.value=!0,n=qh(gi({},n),{signal:z.signal}))},ne=Le=>{N.value=Le,M.value=!Le};w&&(ie=Vy(re,w,{immediate:!1}));const te=async(Le=!1)=>{var qe;re(),ne(!0),G.value=null,K.value=null,B.value=!1;const Ie={method:m.method,headers:{}};if(m.payload){const he=Lv(Ie.headers),He=Yn(m.payload);!m.payloadType&&He&&Object.getPrototypeOf(He)===Object.prototype&&!(He instanceof FormData)&&(m.payloadType="json"),m.payloadType&&(he["Content-Type"]=(qe=fS[m.payloadType])!=null?qe:m.payloadType),Ie.body=m.payloadType==="json"?JSON.stringify(He):He}let ut=!1;const dt={url:Yn(r),options:gi(gi({},Ie),n),cancel:()=>{ut=!0}};if(e.beforeFetch&&Object.assign(dt,await e.beforeFetch(dt)),ut||!F)return ne(!1),Promise.resolve(null);let ze=null;return ie&&ie.start(),new Promise((he,He)=>{var et;F(dt.url,qh(gi(gi({},Ie),dt.options),{headers:gi(gi({},Lv(Ie.headers)),Lv((et=dt.options)==null?void 0:et.headers))})).then(async $e=>{if(U.value=$e,K.value=$e.status,ze=await $e[m.type](),!$e.ok)throw se.value=y||null,new Error($e.statusText);return e.afterFetch&&({data:ze}=await e.afterFetch({data:ze,response:$e})),se.value=ze,k.trigger($e),he($e)}).catch(async $e=>{let De=$e.message||$e.name;return e.onFetchError&&({error:De}=await e.onFetchError({data:ze,error:$e,response:U.value})),G.value=De,S.trigger($e),Le?He($e):he(null)}).finally(()=>{ne(!1),ie&&ie.stop(),P.trigger(null)})})},le=u1(e.refetch);bn([le,u1(r)],([Le])=>Le&&te(),{deep:!0});const we={isFinished:M,statusCode:K,response:U,error:G,data:se,isFetching:N,canAbort:Y,aborted:B,abort:re,execute:te,onFetchResponse:k.on,onFetchError:S.on,onFetchFinally:P.on,get:Pe("GET"),put:Pe("PUT"),post:Pe("POST"),delete:Pe("DELETE"),patch:Pe("PATCH"),head:Pe("HEAD"),options:Pe("OPTIONS"),json:ve("json"),text:ve("text"),blob:ve("blob"),arrayBuffer:ve("arrayBuffer"),formData:ve("formData")};function Pe(Le){return(qe,Ie)=>{if(!N.value)return m.method=Le,m.payload=qe,m.payloadType=Ie,rn(m.payload)&&bn([le,u1(m.payload)],([ut])=>ut&&te(),{deep:!0}),qh(gi({},we),{then(ut,dt){return xe().then(ut,dt)}})}}function xe(){return new Promise((Le,qe)=>{p8(M).toBe(!0).then(()=>Le(we)).catch(Ie=>qe(Ie))})}function ve(Le){return()=>{if(!N.value)return m.type=Le,qh(gi({},we),{then(qe,Ie){return xe().then(qe,Ie)}})}}return e.immediate&&Promise.resolve().then(()=>te()),qh(gi({},we),{then(Le,qe){return xe().then(Le,qe)}})}const dS={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function _O(r={}){const{reactive:s=!1,target:i=ca,aliasMap:l=dS,passive:n=!0,onEventFired:e=Mf}=r,m=Ul(new Set),F={toJSON(){return{}},current:m},y=s?Ul(F):F,w=new Set,k=new Set;function S(B,K){B in y&&(s?y[B]=K:y[B].value=K)}function P(){m.clear();for(const B of k)S(B,!1)}function M(B,K){var U,G;const se=(U=B.key)==null?void 0:U.toLowerCase(),z=[(G=B.code)==null?void 0:G.toLowerCase(),se].filter(Boolean);se&&(K?m.add(se):m.delete(se));for(const ie of z)k.add(ie),S(ie,K);se==="meta"&&!K?(w.forEach(ie=>{m.delete(ie),S(ie,!1)}),w.clear()):typeof B.getModifierState=="function"&&B.getModifierState("Meta")&&K&&[...m,...z].forEach(ie=>w.add(ie))}$o(i,"keydown",B=>(M(B,!0),e(B)),{passive:n}),$o(i,"keyup",B=>(M(B,!1),e(B)),{passive:n}),$o("blur",P,{passive:!0}),$o("focus",P,{passive:!0});const N=new Proxy(y,{get(B,K,U){if(typeof K!="string")return Reflect.get(B,K,U);if(K=K.toLowerCase(),K in l&&(K=l[K]),!(K in y))if(/[+_-]/.test(K)){const se=K.split(/[+_-]/g).map(Y=>Y.trim());y[K]=Vr(()=>se.every(Y=>Yn(N[Y])))}else y[K]=Yt(!1);const G=Reflect.get(B,K,U);return s?Yn(G):G}});return N}function pS(r=null,s={}){var i,l;const{document:n=T8}=s,e=u1((i=r??(n==null?void 0:n.title))!=null?i:null),m=r&&typeof r=="function";function F(y){if(!("titleTemplate"in s))return y;const w=s.titleTemplate||"%s";return typeof w=="function"?w(y):Yn(w).replace(/%s/g,y)}return bn(e,(y,w)=>{y!==w&&n&&(n.title=F(typeof y=="string"?y:""))},{immediate:!0}),s.observe&&!s.titleTemplate&&n&&!m&&q8((l=n.head)==null?void 0:l.querySelector("title"),()=>{n&&n.title!==e.value&&(e.value=F(n.title))},{childList:!0}),e}function R3(r,s,i,l={}){var n,e,m;const{clone:F=!1,passive:y=!1,eventName:w,deep:k=!1,defaultValue:S,shouldEmit:P}=l,M=Ts(),N=i||(M==null?void 0:M.emit)||((n=M==null?void 0:M.$emit)==null?void 0:n.bind(M))||((m=(e=M==null?void 0:M.proxy)==null?void 0:e.$emit)==null?void 0:m.bind(M==null?void 0:M.proxy));let B=w;s||(s="modelValue"),B=B||`update:${s.toString()}`;const K=se=>F?typeof F=="function"?F(se):R8(se):se,U=()=>l8(r[s])?K(r[s]):S,G=se=>{P?P(se)&&N(B,se):N(B,se)};if(y){const se=U(),Y=Yt(se);return bn(()=>r[s],z=>Y.value=K(z)),bn(Y,z=>{(z!==r[s]||k)&&G(z)},{deep:k}),Y}else return Vr({get(){return U()},set(se){G(se)}})}function mS({window:r=ca}={}){if(!r)return{x:Yt(0),y:Yt(0)};const s=Yt(r.scrollX),i=Yt(r.scrollY);return $o(r,"scroll",()=>{s.value=r.scrollX,i.value=r.scrollY},{capture:!1,passive:!0}),{x:s,y:i}}const qy=nS(),gS=m8(qy),vS=Ky(),Xf=r=>(um("data-v-a79e7085"),r=r(),fm(),r),bS=Xf(()=>Mt("div",{"i-ri-arrow-up-line":""},null,-1)),DS=[bS],FS=Xf(()=>Mt("div",{class:"spacer"},null,-1)),_S={class:"right","print:op0":""},yS=Xf(()=>Mt("div",{"i-ion-balloon-sharp":""},null,-1)),wS=["title"],ES=Xf(()=>Mt("div",{"i-carbon-language":""},null,-1)),xS=[ES],CS=["title"],TS=Xf(()=>Mt("div",{i:"carbon-sun dark:carbon-moon"},null,-1)),AS=[TS],SS=["href"],kS=Xf(()=>Mt("div",{"i-carbon-logo-github":""},null,-1)),OS=[kS],RS=Cs({__name:"NavBar",props:{width:null},setup(r){const s=r,{t:i,locale:l}=Qf(),{y:n}=mS();function e(){window.scrollTo({top:0,behavior:"smooth"})}async function m(){const F=vy,y=F[(F.indexOf(l.value)+1)%F.length];await wb(y),l.value=y}return(F,y)=>{const w=Bi("RouterLink");return Ur(),vn("header",{class:ni(["header z-40",[(s==null?void 0:s.width)??""]])},[Mt("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:ni(tr(n)>300?"op30":"op0! pointer-events-none"),onClick:y[0]||(y[0]=k=>e())},DS,2),Mt("nav",{class:ni(["nav",[s!=null&&s.width?"":"fixed"]]),"text-xl":""},[FS,Mt("div",_S,[Er(w,{"icon-btn":"",title:tr(i)("button.home"),to:"/",focusable:"false"},{default:ws(()=>[yS]),_:1},8,["title"]),Mt("a",{"icon-btn":"",title:tr(i)("button.toggle_langs"),onClick:y[1]||(y[1]=k=>m())},xS,8,wS),Mt("a",{"icon-btn":"",title:tr(i)("button.toggle_dark"),onClick:y[2]||(y[2]=k=>("toggleDark"in F?F.toggleDark:tr(gS))())},AS,8,CS),Mt("a",{"icon-btn":"",rel:"noreferrer",href:tr(Wy),target:"_blank",title:"GitHub"},OS,8,SS)])],2)],2)}}});const Jf=(r,s)=>{const i=r.__vccOpts||r;for(const[l,n]of s)i[l]=n;return i},PS=Jf(RS,[["__scopeId","data-v-a79e7085"]]),IS={},NS={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function MS(r,s){const i=PS,l=Bi("RouterView"),n=o8;return Ur(),vn(jn,null,[Er(i),Mt("main",NS,[Er(l),Er(n)])],64)}const LS=Jf(IS,[["render",MS]]),BS={"board-layout":()=>ia(()=>import("./board-layout-52e96f00.js"),[],import.meta.url),default:LS,headless:()=>ia(()=>import("./headless-e8cc73cd.js"),[],import.meta.url),home:()=>ia(()=>import("./home-334a9895.js"),[],import.meta.url),"index-layout":()=>ia(()=>import("./index-layout-ad419356.js"),[],import.meta.url)};function US(r){return r.map(s=>{var i;return{path:s.path,meta:s.meta,component:BS[((i=s.meta)==null?void 0:i.layout)||"default"],children:s.path==="/"?[s]:[{...s,path:""}]}})}const HS=["top","right","bottom","left"],P3=["start","end"],I3=HS.reduce((r,s)=>r.concat(s,s+"-"+P3[0],s+"-"+P3[1]),[]),A1=Math.min,qc=Math.max,$S={left:"right",right:"left",bottom:"top",top:"bottom"},WS={start:"end",end:"start"};function C4(r,s,i){return qc(r,A1(s,i))}function du(r,s){return typeof r=="function"?r(s):r}function ao(r){return r.split("-")[0]}function Sa(r){return r.split("-")[1]}function Qy(r){return r==="x"?"y":"x"}function Cb(r){return r==="y"?"height":"width"}function H1(r){return["top","bottom"].includes(ao(r))?"y":"x"}function Tb(r){return Qy(H1(r))}function Xy(r,s,i){i===void 0&&(i=!1);const l=Sa(r),n=Tb(r),e=Cb(n);let m=n==="x"?l===(i?"end":"start")?"right":"left":l==="start"?"bottom":"top";return s.reference[e]>s.floating[e]&&(m=$2(m)),[m,$2(m)]}function zS(r){const s=$2(r);return[H2(r),s,H2(s)]}function H2(r){return r.replace(/start|end/g,s=>WS[s])}function VS(r,s,i){const l=["left","right"],n=["right","left"],e=["top","bottom"],m=["bottom","top"];switch(r){case"top":case"bottom":return i?s?n:l:s?l:n;case"left":case"right":return s?e:m;default:return[]}}function GS(r,s,i,l){const n=Sa(r);let e=VS(ao(r),i==="start",l);return n&&(e=e.map(m=>m+"-"+n),s&&(e=e.concat(e.map(H2)))),e}function $2(r){return r.replace(/left|right|bottom|top/g,s=>$S[s])}function jS(r){return{top:0,right:0,bottom:0,left:0,...r}}function Jy(r){return typeof r!="number"?jS(r):{top:r,right:r,bottom:r,left:r}}function f1(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function N3(r,s,i){let{reference:l,floating:n}=r;const e=H1(s),m=Tb(s),F=Cb(m),y=ao(s),w=e==="y",k=l.x+l.width/2-n.width/2,S=l.y+l.height/2-n.height/2,P=l[F]/2-n[F]/2;let M;switch(y){case"top":M={x:k,y:l.y-n.height};break;case"bottom":M={x:k,y:l.y+l.height};break;case"right":M={x:l.x+l.width,y:S};break;case"left":M={x:l.x-n.width,y:S};break;default:M={x:l.x,y:l.y}}switch(Sa(s)){case"start":M[m]-=P*(i&&w?-1:1);break;case"end":M[m]+=P*(i&&w?-1:1);break}return M}const YS=async(r,s,i)=>{const{placement:l="bottom",strategy:n="absolute",middleware:e=[],platform:m}=i,F=e.filter(Boolean),y=await(m.isRTL==null?void 0:m.isRTL(s));let w=await m.getElementRects({reference:r,floating:s,strategy:n}),{x:k,y:S}=N3(w,l,y),P=l,M={},N=0;for(let B=0;B<F.length;B++){const{name:K,fn:U}=F[B],{x:G,y:se,data:Y,reset:z}=await U({x:k,y:S,initialPlacement:l,placement:P,strategy:n,middlewareData:M,rects:w,platform:m,elements:{reference:r,floating:s}});if(k=G??k,S=se??S,M={...M,[K]:{...M[K],...Y}},z&&N<=50){N++,typeof z=="object"&&(z.placement&&(P=z.placement),z.rects&&(w=z.rects===!0?await m.getElementRects({reference:r,floating:s,strategy:n}):z.rects),{x:k,y:S}=N3(w,P,y)),B=-1;continue}}return{x:k,y:S,placement:P,strategy:n,middlewareData:M}};async function Em(r,s){var i;s===void 0&&(s={});const{x:l,y:n,platform:e,rects:m,elements:F,strategy:y}=r,{boundary:w="clippingAncestors",rootBoundary:k="viewport",elementContext:S="floating",altBoundary:P=!1,padding:M=0}=du(s,r),N=Jy(M),K=F[P?S==="floating"?"reference":"floating":S],U=f1(await e.getClippingRect({element:(i=await(e.isElement==null?void 0:e.isElement(K)))==null||i?K:K.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(F.floating)),boundary:w,rootBoundary:k,strategy:y})),G=S==="floating"?{...m.floating,x:l,y:n}:m.reference,se=await(e.getOffsetParent==null?void 0:e.getOffsetParent(F.floating)),Y=await(e.isElement==null?void 0:e.isElement(se))?await(e.getScale==null?void 0:e.getScale(se))||{x:1,y:1}:{x:1,y:1},z=f1(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({rect:G,offsetParent:se,strategy:y}):G);return{top:(U.top-z.top+N.top)/Y.y,bottom:(z.bottom-U.bottom+N.bottom)/Y.y,left:(U.left-z.left+N.left)/Y.x,right:(z.right-U.right+N.right)/Y.x}}const KS=r=>({name:"arrow",options:r,async fn(s){const{x:i,y:l,placement:n,rects:e,platform:m,elements:F}=s,{element:y,padding:w=0}=du(r,s)||{};if(y==null)return{};const k=Jy(w),S={x:i,y:l},P=Tb(n),M=Cb(P),N=await m.getDimensions(y),B=P==="y",K=B?"top":"left",U=B?"bottom":"right",G=B?"clientHeight":"clientWidth",se=e.reference[M]+e.reference[P]-S[P]-e.floating[M],Y=S[P]-e.reference[P],z=await(m.getOffsetParent==null?void 0:m.getOffsetParent(y));let ie=z?z[G]:0;(!ie||!await(m.isElement==null?void 0:m.isElement(z)))&&(ie=F.floating[G]||e.floating[M]);const re=se/2-Y/2,ne=ie/2-N[M]/2-1,te=A1(k[K],ne),le=A1(k[U],ne),we=te,Pe=ie-N[M]-le,xe=ie/2-N[M]/2+re,ve=C4(we,xe,Pe),qe=Sa(n)!=null&&xe!=ve&&e.reference[M]/2-(xe<we?te:le)-N[M]/2<0?xe<we?we-xe:Pe-xe:0;return{[P]:S[P]-qe,data:{[P]:ve,centerOffset:xe-ve+qe}}}});function qS(r,s,i){return(r?[...i.filter(n=>Sa(n)===r),...i.filter(n=>Sa(n)!==r)]:i.filter(n=>ao(n)===n)).filter(n=>r?Sa(n)===r||(s?H2(n)!==n:!1):!0)}const QS=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(s){var i,l,n;const{rects:e,middlewareData:m,placement:F,platform:y,elements:w}=s,{crossAxis:k=!1,alignment:S,allowedPlacements:P=I3,autoAlignment:M=!0,...N}=du(r,s),B=S!==void 0||P===I3?qS(S||null,M,P):P,K=await Em(s,N),U=((i=m.autoPlacement)==null?void 0:i.index)||0,G=B[U];if(G==null)return{};const se=Xy(G,e,await(y.isRTL==null?void 0:y.isRTL(w.floating)));if(F!==G)return{reset:{placement:B[0]}};const Y=[K[ao(G)],K[se[0]],K[se[1]]],z=[...((l=m.autoPlacement)==null?void 0:l.overflows)||[],{placement:G,overflows:Y}],ie=B[U+1];if(ie)return{data:{index:U+1,overflows:z},reset:{placement:ie}};const re=z.map(le=>{const we=Sa(le.placement);return[le.placement,we&&k?le.overflows.slice(0,2).reduce((Pe,xe)=>Pe+xe,0):le.overflows[0],le.overflows]}).sort((le,we)=>le[1]-we[1]),te=((n=re.filter(le=>le[2].slice(0,Sa(le[0])?2:3).every(we=>we<=0))[0])==null?void 0:n[0])||re[0][0];return te!==F?{data:{index:U+1,overflows:z},reset:{placement:te}}:{}}}},XS=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(s){var i;const{placement:l,middlewareData:n,rects:e,initialPlacement:m,platform:F,elements:y}=s,{mainAxis:w=!0,crossAxis:k=!0,fallbackPlacements:S,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:N=!0,...B}=du(r,s),K=ao(l),U=ao(m)===m,G=await(F.isRTL==null?void 0:F.isRTL(y.floating)),se=S||(U||!N?[$2(m)]:zS(m));!S&&M!=="none"&&se.push(...GS(m,N,M,G));const Y=[m,...se],z=await Em(s,B),ie=[];let re=((i=n.flip)==null?void 0:i.overflows)||[];if(w&&ie.push(z[K]),k){const we=Xy(l,e,G);ie.push(z[we[0]],z[we[1]])}if(re=[...re,{placement:l,overflows:ie}],!ie.every(we=>we<=0)){var ne,te;const we=(((ne=n.flip)==null?void 0:ne.index)||0)+1,Pe=Y[we];if(Pe)return{data:{index:we,overflows:re},reset:{placement:Pe}};let xe=(te=re.filter(ve=>ve.overflows[0]<=0).sort((ve,Le)=>ve.overflows[1]-Le.overflows[1])[0])==null?void 0:te.placement;if(!xe)switch(P){case"bestFit":{var le;const ve=(le=re.map(Le=>[Le.placement,Le.overflows.filter(qe=>qe>0).reduce((qe,Ie)=>qe+Ie,0)]).sort((Le,qe)=>Le[1]-qe[1])[0])==null?void 0:le[0];ve&&(xe=ve);break}case"initialPlacement":xe=m;break}if(l!==xe)return{reset:{placement:xe}}}return{}}}};async function JS(r,s){const{placement:i,platform:l,elements:n}=r,e=await(l.isRTL==null?void 0:l.isRTL(n.floating)),m=ao(i),F=Sa(i),y=H1(i)==="y",w=["left","top"].includes(m)?-1:1,k=e&&y?-1:1,S=du(s,r);let{mainAxis:P,crossAxis:M,alignmentAxis:N}=typeof S=="number"?{mainAxis:S,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...S};return F&&typeof N=="number"&&(M=F==="end"?N*-1:N),y?{x:M*k,y:P*w}:{x:P*w,y:M*k}}const ZS=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(s){const{x:i,y:l}=s,n=await JS(s,r);return{x:i+n.x,y:l+n.y,data:n}}}},e7=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(s){const{x:i,y:l,placement:n}=s,{mainAxis:e=!0,crossAxis:m=!1,limiter:F={fn:K=>{let{x:U,y:G}=K;return{x:U,y:G}}},...y}=du(r,s),w={x:i,y:l},k=await Em(s,y),S=H1(ao(n)),P=Qy(S);let M=w[P],N=w[S];if(e){const K=P==="y"?"top":"left",U=P==="y"?"bottom":"right",G=M+k[K],se=M-k[U];M=C4(G,M,se)}if(m){const K=S==="y"?"top":"left",U=S==="y"?"bottom":"right",G=N+k[K],se=N-k[U];N=C4(G,N,se)}const B=F.fn({...s,[P]:M,[S]:N});return{...B,data:{x:B.x-i,y:B.y-l}}}}},t7=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(s){const{placement:i,rects:l,platform:n,elements:e}=s,{apply:m=()=>{},...F}=du(r,s),y=await Em(s,F),w=ao(i),k=Sa(i),S=H1(i)==="y",{width:P,height:M}=l.floating;let N,B;w==="top"||w==="bottom"?(N=w,B=k===(await(n.isRTL==null?void 0:n.isRTL(e.floating))?"start":"end")?"left":"right"):(B=w,N=k==="end"?"top":"bottom");const K=M-y[N],U=P-y[B],G=!s.middlewareData.shift;let se=K,Y=U;if(S){const ie=P-y.left-y.right;Y=k||G?A1(U,ie):ie}else{const ie=M-y.top-y.bottom;se=k||G?A1(K,ie):ie}if(G&&!k){const ie=qc(y.left,0),re=qc(y.right,0),ne=qc(y.top,0),te=qc(y.bottom,0);S?Y=P-2*(ie!==0||re!==0?ie+re:qc(y.left,y.right)):se=M-2*(ne!==0||te!==0?ne+te:qc(y.top,y.bottom))}await m({...s,availableWidth:Y,availableHeight:se});const z=await n.getDimensions(e.floating);return P!==z.width||M!==z.height?{reset:{rects:!0}}:{}}}};function aa(r){var s;return((s=r.ownerDocument)==null?void 0:s.defaultView)||window}function no(r){return aa(r).getComputedStyle(r)}const M3=Math.min,h1=Math.max,W2=Math.round;function Zy(r){const s=no(r);let i=parseFloat(s.width),l=parseFloat(s.height);const n=r.offsetWidth,e=r.offsetHeight,m=W2(i)!==n||W2(l)!==e;return m&&(i=n,l=e),{width:i,height:l,fallback:m}}function Vl(r){return tw(r)?(r.nodeName||"").toLowerCase():""}let b2;function ew(){if(b2)return b2;const r=navigator.userAgentData;return r&&Array.isArray(r.brands)?(b2=r.brands.map(s=>s.brand+"/"+s.version).join(" "),b2):navigator.userAgent}function so(r){return r instanceof aa(r).HTMLElement}function Nl(r){return r instanceof aa(r).Element}function tw(r){return r instanceof aa(r).Node}function L3(r){return typeof ShadowRoot>"u"?!1:r instanceof aa(r).ShadowRoot||r instanceof ShadowRoot}function xm(r){const{overflow:s,overflowX:i,overflowY:l,display:n}=no(r);return/auto|scroll|overlay|hidden|clip/.test(s+l+i)&&!["inline","contents"].includes(n)}function r7(r){return["table","td","th"].includes(Vl(r))}function T4(r){const s=/firefox/i.test(ew()),i=no(r),l=i.backdropFilter||i.WebkitBackdropFilter;return i.transform!=="none"||i.perspective!=="none"||!!l&&l!=="none"||s&&i.willChange==="filter"||s&&!!i.filter&&i.filter!=="none"||["transform","perspective"].some(n=>i.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const e=i.contain;return e!=null&&e.includes(n)})}function rw(){return!/^((?!chrome|android).)*safari/i.test(ew())}function Ab(r){return["html","body","#document"].includes(Vl(r))}function nw(r){return Nl(r)?r:r.contextElement}const sw={x:1,y:1};function Bf(r){const s=nw(r);if(!so(s))return sw;const i=s.getBoundingClientRect(),{width:l,height:n,fallback:e}=Zy(s);let m=(e?W2(i.width):i.width)/l,F=(e?W2(i.height):i.height)/n;return m&&Number.isFinite(m)||(m=1),F&&Number.isFinite(F)||(F=1),{x:m,y:F}}function S1(r,s,i,l){var n,e;s===void 0&&(s=!1),i===void 0&&(i=!1);const m=r.getBoundingClientRect(),F=nw(r);let y=sw;s&&(l?Nl(l)&&(y=Bf(l)):y=Bf(r));const w=F?aa(F):window,k=!rw()&&i;let S=(m.left+(k&&((n=w.visualViewport)==null?void 0:n.offsetLeft)||0))/y.x,P=(m.top+(k&&((e=w.visualViewport)==null?void 0:e.offsetTop)||0))/y.y,M=m.width/y.x,N=m.height/y.y;if(F){const B=aa(F),K=l&&Nl(l)?aa(l):l;let U=B.frameElement;for(;U&&l&&K!==B;){const G=Bf(U),se=U.getBoundingClientRect(),Y=getComputedStyle(U);se.x+=(U.clientLeft+parseFloat(Y.paddingLeft))*G.x,se.y+=(U.clientTop+parseFloat(Y.paddingTop))*G.y,S*=G.x,P*=G.y,M*=G.x,N*=G.y,S+=se.x,P+=se.y,U=aa(U).frameElement}}return{width:M,height:N,top:P,right:S+M,bottom:P+N,left:S,x:S,y:P}}function Ml(r){return((tw(r)?r.ownerDocument:r.document)||window.document).documentElement}function Cm(r){return Nl(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function iw(r){return S1(Ml(r)).left+Cm(r).scrollLeft}function k1(r){if(Vl(r)==="html")return r;const s=r.assignedSlot||r.parentNode||L3(r)&&r.host||Ml(r);return L3(s)?s.host:s}function aw(r){const s=k1(r);return Ab(s)?s.ownerDocument.body:so(s)&&xm(s)?s:aw(s)}function z2(r,s){var i;s===void 0&&(s=[]);const l=aw(r),n=l===((i=r.ownerDocument)==null?void 0:i.body),e=aa(l);return n?s.concat(e,e.visualViewport||[],xm(l)?l:[]):s.concat(l,z2(l))}function B3(r,s,i){return s==="viewport"?f1(function(l,n){const e=aa(l),m=Ml(l),F=e.visualViewport;let y=m.clientWidth,w=m.clientHeight,k=0,S=0;if(F){y=F.width,w=F.height;const P=rw();(P||!P&&n==="fixed")&&(k=F.offsetLeft,S=F.offsetTop)}return{width:y,height:w,x:k,y:S}}(r,i)):Nl(s)?f1(function(l,n){const e=S1(l,!0,n==="fixed"),m=e.top+l.clientTop,F=e.left+l.clientLeft,y=so(l)?Bf(l):{x:1,y:1};return{width:l.clientWidth*y.x,height:l.clientHeight*y.y,x:F*y.x,y:m*y.y}}(s,i)):f1(function(l){const n=Ml(l),e=Cm(l),m=l.ownerDocument.body,F=h1(n.scrollWidth,n.clientWidth,m.scrollWidth,m.clientWidth),y=h1(n.scrollHeight,n.clientHeight,m.scrollHeight,m.clientHeight);let w=-e.scrollLeft+iw(l);const k=-e.scrollTop;return no(m).direction==="rtl"&&(w+=h1(n.clientWidth,m.clientWidth)-F),{width:F,height:y,x:w,y:k}}(Ml(r)))}function U3(r){return so(r)&&no(r).position!=="fixed"?r.offsetParent:null}function H3(r){const s=aa(r);let i=U3(r);for(;i&&r7(i)&&no(i).position==="static";)i=U3(i);return i&&(Vl(i)==="html"||Vl(i)==="body"&&no(i).position==="static"&&!T4(i))?s:i||function(l){let n=k1(l);for(;so(n)&&!Ab(n);){if(T4(n))return n;n=k1(n)}return null}(r)||s}function n7(r,s,i){const l=so(s),n=Ml(s),e=S1(r,!0,i==="fixed",s);let m={scrollLeft:0,scrollTop:0};const F={x:0,y:0};if(l||!l&&i!=="fixed")if((Vl(s)!=="body"||xm(n))&&(m=Cm(s)),so(s)){const y=S1(s,!0);F.x=y.x+s.clientLeft,F.y=y.y+s.clientTop}else n&&(F.x=iw(n));return{x:e.left+m.scrollLeft-F.x,y:e.top+m.scrollTop-F.y,width:e.width,height:e.height}}const s7={getClippingRect:function(r){let{element:s,boundary:i,rootBoundary:l,strategy:n}=r;const e=i==="clippingAncestors"?function(w,k){const S=k.get(w);if(S)return S;let P=z2(w).filter(K=>Nl(K)&&Vl(K)!=="body"),M=null;const N=no(w).position==="fixed";let B=N?k1(w):w;for(;Nl(B)&&!Ab(B);){const K=no(B),U=T4(B);(N?U||M:U||K.position!=="static"||!M||!["absolute","fixed"].includes(M.position))?M=K:P=P.filter(G=>G!==B),B=k1(B)}return k.set(w,P),P}(s,this._c):[].concat(i),m=[...e,l],F=m[0],y=m.reduce((w,k)=>{const S=B3(s,k,n);return w.top=h1(S.top,w.top),w.right=M3(S.right,w.right),w.bottom=M3(S.bottom,w.bottom),w.left=h1(S.left,w.left),w},B3(s,F,n));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(r){let{rect:s,offsetParent:i,strategy:l}=r;const n=so(i),e=Ml(i);if(i===e)return s;let m={scrollLeft:0,scrollTop:0},F={x:1,y:1};const y={x:0,y:0};if((n||!n&&l!=="fixed")&&((Vl(i)!=="body"||xm(e))&&(m=Cm(i)),so(i))){const w=S1(i);F=Bf(i),y.x=w.x+i.clientLeft,y.y=w.y+i.clientTop}return{width:s.width*F.x,height:s.height*F.y,x:s.x*F.x-m.scrollLeft*F.x+y.x,y:s.y*F.y-m.scrollTop*F.y+y.y}},isElement:Nl,getDimensions:function(r){return so(r)?Zy(r):r.getBoundingClientRect()},getOffsetParent:H3,getDocumentElement:Ml,getScale:Bf,async getElementRects(r){let{reference:s,floating:i,strategy:l}=r;const n=this.getOffsetParent||H3,e=this.getDimensions;return{reference:n7(s,await n(i),l),floating:{x:0,y:0,...await e(i)}}},getClientRects:r=>Array.from(r.getClientRects()),isRTL:r=>no(r).direction==="rtl"},i7=(r,s,i)=>{const l=new Map,n={platform:s7,...i},e={...n.platform,_c:l};return YS(r,s,{...n,platform:e})};function ow(r,s){for(const i in s)Object.prototype.hasOwnProperty.call(s,i)&&(typeof s[i]=="object"&&r[i]?ow(r[i],s[i]):r[i]=s[i])}const Vo={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:r=>[...r,"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 O1(r,s){let i=Vo.themes[r]||{},l;do l=i[s],typeof l>"u"?i.$extend?i=Vo.themes[i.$extend]||{}:(i=null,l=Vo[s]):i=null;while(i);return l}function a7(r){const s=[r];let i=Vo.themes[r]||{};do i.$extend&&!i.$resetCss?(s.push(i.$extend),i=Vo.themes[i.$extend]||{}):i=null;while(i);return s.map(l=>`v-popper--theme-${l}`)}function $3(r){const s=[r];let i=Vo.themes[r]||{};do i.$extend?(s.push(i.$extend),i=Vo.themes[i.$extend]||{}):i=null;while(i);return s}let ou=!1;if(typeof window<"u"){ou=!1;try{const r=Object.defineProperty({},"passive",{get(){ou=!0}});window.addEventListener("test",null,r)}catch{}}let lw=!1;typeof window<"u"&&typeof navigator<"u"&&(lw=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const cw=["auto","top","bottom","left","right"].reduce((r,s)=>r.concat([s,`${s}-start`,`${s}-end`]),[]),W3={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},z3={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function V3(r,s){const i=r.indexOf(s);i!==-1&&r.splice(i,1)}function Bv(){return new Promise(r=>requestAnimationFrame(()=>{requestAnimationFrame(r)}))}const xa=[];let Yc=null;const G3={};function j3(r){let s=G3[r];return s||(s=G3[r]=[]),s}let A4=function(){};typeof window<"u"&&(A4=window.Element);function Yr(r){return function(s){return O1(s.theme,r)}}const Uv="__floating-vue__popper",uw=()=>Cs({name:"VPopper",provide(){return{[Uv]:{parentPopper:this}}},inject:{[Uv]:{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:r=>cw.includes(r)},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:r=>["absolute","fixed"].includes(r),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 r;return(r=this[Uv])==null?void 0:r.parentPopper},hasPopperShowTriggerHover(){var r,s;return((r=this.popperTriggers)==null?void 0:r.includes("hover"))||((s=this.popperShowTriggers)==null?void 0:s.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(r){r?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((r,s)=>(r[s]="$_refreshListeners",r),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((r,s)=>(r[s]="$_computePosition",r),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(r=>r.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:r=null,skipDelay:s=!1,force:i=!1}={}){var l,n;(l=this.parentPopper)!=null&&l.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(i||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(r,s),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:r=null,skipDelay:s=!1}={}){var i;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:s}),this.parentPopper.lockedChild=null)},1e3));return}((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(r,s),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var r;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((r=this.referenceNode)==null?void 0:r.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(s=>s.nodeType===s.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 r={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&r.middleware.push(ZS({mainAxis:this.distance,crossAxis:this.skidding}));const s=this.placement.startsWith("auto");if(s?r.middleware.push(QS({alignment:this.placement.split("-")[1]??""})):r.placement=this.placement,this.preventOverflow&&(this.shift&&r.middleware.push(e7({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!s&&this.flip&&r.middleware.push(XS({padding:this.overflowPadding,boundary:this.boundary}))),r.middleware.push(KS({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&r.middleware.push({name:"arrowOverflow",fn:({placement:l,rects:n,middlewareData:e})=>{let m;const{centerOffset:F}=e.arrow;return l.startsWith("top")||l.startsWith("bottom")?m=Math.abs(F)>n.reference.width/2:m=Math.abs(F)>n.reference.height/2,{data:{overflow:m}}}}),this.autoMinSize||this.autoSize){const l=this.autoSize?this.autoSize:this.autoMinSize?"min":null;r.middleware.push({name:"autoSize",fn:({rects:n,placement:e,middlewareData:m})=>{var F;if((F=m.autoSize)!=null&&F.skip)return{};let y,w;return e.startsWith("top")||e.startsWith("bottom")?y=n.reference.width:w=n.reference.height,this.$_innerNode.style[l==="min"?"minWidth":l==="max"?"maxWidth":"width"]=y!=null?`${y}px`:null,this.$_innerNode.style[l==="min"?"minHeight":l==="max"?"maxHeight":"height"]=w!=null?`${w}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,r.middleware.push(t7({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:l,availableHeight:n})=>{this.$_innerNode.style.maxWidth=l!=null?`${l}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const i=await i7(this.$_referenceNode,this.$_popperNode,r);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:{...i.middlewareData.arrow,...i.middlewareData.arrowOverflow}})},$_scheduleShow(r=null,s=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Yc&&this.instantMove&&Yc.instantMove&&Yc!==this.parentPopper){Yc.$_applyHide(!0),this.$_applyShow(!0);return}s?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(r=null,s=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Yc=this),s?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(r){const s=this.delay;return parseInt(s&&s[r]||s||0)},async $_applyShow(r=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=r,!this.isShown&&(this.$_ensureTeleport(),await Bv(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...z2(this.$_referenceNode),...z2(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const s=this.$_referenceNode.getBoundingClientRect(),i=this.$_popperNode.querySelector(".v-popper__wrapper"),l=i.parentNode.getBoundingClientRect(),n=s.x+s.width/2-(l.left+i.offsetLeft),e=s.y+s.height/2-(l.top+i.offsetTop);this.result.transformOrigin=`${n}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const r=this.showGroup;if(r){let s;for(let i=0;i<xa.length;i++)s=xa[i],s.showGroup!==r&&(s.hide(),s.$emit("close-group"))}xa.push(this),document.body.classList.add("v-popper--some-open");for(const s of $3(this.theme))j3(s).push(this),document.body.classList.add(`v-popper--some-open--${s}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Bv(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=r,V3(xa,this),xa.length===0&&document.body.classList.remove("v-popper--some-open");for(const i of $3(this.theme)){const l=j3(i);V3(l,this),l.length===0&&document.body.classList.remove(`v-popper--some-open--${i}`)}Yc===this&&(Yc=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const s=this.disposeTimeout;s!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},s)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Bv(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let r=this.container;if(typeof r=="string"?r=window.document.querySelector(r):r===!1&&(r=this.$_targetNodes[0].parentNode),!r)throw new Error("No container for popover: "+this.container);r.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const r=i=>{this.isShown&&!this.$_hideInProgress||(i.usedByTooltip=!0,!this.$_preventShow&&this.show({event:i}))};this.$_registerTriggerListeners(this.$_targetNodes,W3,this.triggers,this.showTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],W3,this.popperTriggers,this.popperShowTriggers,r);const s=i=>{i.usedByTooltip||this.hide({event:i})};this.$_registerTriggerListeners(this.$_targetNodes,z3,this.triggers,this.hideTriggers,s),this.$_registerTriggerListeners([this.$_popperNode],z3,this.popperTriggers,this.popperHideTriggers,s)},$_registerEventListeners(r,s,i){this.$_events.push({targetNodes:r,eventType:s,handler:i}),r.forEach(l=>l.addEventListener(s,i,ou?{passive:!0}:void 0))},$_registerTriggerListeners(r,s,i,l,n){let e=i;l!=null&&(e=typeof l=="function"?l(e):l),e.forEach(m=>{const F=s[m];F&&this.$_registerEventListeners(r,F,n)})},$_removeEventListeners(r){const s=[];this.$_events.forEach(i=>{const{targetNodes:l,eventType:n,handler:e}=i;!r||r===n?l.forEach(m=>m.removeEventListener(n,e)):s.push(i)}),this.$_events=s},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(r,s=!1){this.$_showFrameLocked||(this.hide({event:r}),r.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),s&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(r,s){for(const i of this.$_targetNodes){const l=i.getAttribute(r);l&&(i.removeAttribute(r),i.setAttribute(s,l))}},$_applyAttrsToTarget(r){for(const s of this.$_targetNodes)for(const i in r){const l=r[i];l==null?s.removeAttribute(i):s.setAttribute(i,l)}},$_updateParentShownChildren(r){let s=this.parentPopper;for(;s;)r?s.shownChildren.add(this.randomId):(s.shownChildren.delete(this.randomId),s.$_pendingHide&&s.hide()),s=s.parentPopper},$_isAimingPopper(){const r=this.$_referenceNode.getBoundingClientRect();if(d1>=r.left&&d1<=r.right&&p1>=r.top&&p1<=r.bottom){const s=this.$_popperNode.getBoundingClientRect(),i=d1-Al,l=p1-Sl,n=s.left+s.width/2-Al+(s.top+s.height/2)-Sl+s.width+s.height,e=Al+i*n,m=Sl+l*n;return D2(Al,Sl,e,m,s.left,s.top,s.left,s.bottom)||D2(Al,Sl,e,m,s.left,s.top,s.right,s.top)||D2(Al,Sl,e,m,s.right,s.top,s.right,s.bottom)||D2(Al,Sl,e,m,s.left,s.bottom,s.right,s.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(lw?(document.addEventListener("touchstart",Y3,ou?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",l7,ou?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Y3,!0),window.addEventListener("click",o7,!0)),window.addEventListener("resize",f7));function Y3(r){for(let s=0;s<xa.length;s++){const i=xa[s];try{const l=i.popperNode();i.$_mouseDownContains=l.contains(r.target)}catch{}}}function o7(r){fw(r)}function l7(r){fw(r,!0)}function fw(r,s=!1){const i={};for(let l=xa.length-1;l>=0;l--){const n=xa[l];try{const e=n.$_containsGlobalTarget=c7(n,r);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!i[n.randomId]&&K3(n,e,r)){if(n.$_handleGlobalClose(r,s),!r.closeAllPopover&&r.closePopover&&e){let F=n.parentPopper;for(;F;)i[F.randomId]=!0,F=F.parentPopper;return}let m=n.parentPopper;for(;m&&K3(m,m.$_containsGlobalTarget,r);)m.$_handleGlobalClose(r,s),m=m.parentPopper}})}catch{}}}function c7(r,s){const i=r.popperNode();return r.$_mouseDownContains||i.contains(s.target)}function K3(r,s,i){return i.closeAllPopover||i.closePopover&&s||u7(r,i)&&!s}function u7(r,s){if(typeof r.autoHide=="function"){const i=r.autoHide(s);return r.lastAutoHide=i,i}return r.autoHide}function f7(r){for(let s=0;s<xa.length;s++)xa[s].$_computePosition(r)}let Al=0,Sl=0,d1=0,p1=0;typeof window<"u"&&window.addEventListener("mousemove",r=>{Al=d1,Sl=p1,d1=r.clientX,p1=r.clientY},ou?{passive:!0}:void 0);function D2(r,s,i,l,n,e,m,F){const y=((m-n)*(s-e)-(F-e)*(r-n))/((F-e)*(i-r)-(m-n)*(l-s)),w=((i-r)*(s-e)-(l-s)*(r-n))/((F-e)*(i-r)-(m-n)*(l-s));return y>=0&&y<=1&&w>=0&&w<=1}const h7={extends:uw()},Tm=(r,s)=>{const i=r.__vccOpts||r;for(const[l,n]of s)i[l]=n;return i};function d7(r,s,i,l,n,e){return Ur(),vn("div",{ref:"reference",class:ni(["v-popper",{"v-popper--shown":r.slotData.isShown}])},[E1(r.$slots,"default",OF(pb(r.slotData)))],2)}const p7=Tm(h7,[["render",d7]]);function m7(){var r=window.navigator.userAgent,s=r.indexOf("MSIE ");if(s>0)return parseInt(r.substring(s+5,r.indexOf(".",s)),10);var i=r.indexOf("Trident/");if(i>0){var l=r.indexOf("rv:");return parseInt(r.substring(l+3,r.indexOf(".",l)),10)}var n=r.indexOf("Edge/");return n>0?parseInt(r.substring(n+5,r.indexOf(".",n)),10):-1}let E2;function S4(){S4.init||(S4.init=!0,E2=m7()!==-1)}var Am={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){S4(),oo(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const r=document.createElement("object");this._resizeObject=r,r.setAttribute("aria-hidden","true"),r.setAttribute("tabindex",-1),r.onload=this.addResizeHandlers,r.type="text/html",E2&&this.$el.appendChild(r),r.data="about:blank",E2||this.$el.appendChild(r)},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&&(!E2&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const g7=r_();um("data-v-b329ee4c");const v7={class:"resize-observer",tabindex:"-1"};fm();const b7=g7((r,s,i,l,n,e)=>(Ur(),Yo("div",v7)));Am.render=b7;Am.__scopeId="data-v-b329ee4c";Am.__file="src/components/ResizeObserver.vue";const hw=(r="theme")=>({computed:{themeClass(){return a7(this[r])}}}),D7=Cs({name:"VPopperContent",components:{ResizeObserver:Am},mixins:[hw()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(r){return r!=null&&!isNaN(r)?`${r}px`:null}}}),F7=["id","aria-hidden","tabindex","data-popper-placement"],_7={ref:"inner",class:"v-popper__inner"},y7=Mt("div",{class:"v-popper__arrow-outer"},null,-1),w7=Mt("div",{class:"v-popper__arrow-inner"},null,-1),E7=[y7,w7];function x7(r,s,i,l,n,e){const m=Bi("ResizeObserver");return Ur(),vn("div",{id:r.popperId,ref:"popover",class:ni(["v-popper__popper",[r.themeClass,r.classes.popperClass,{"v-popper__popper--shown":r.shown,"v-popper__popper--hidden":!r.shown,"v-popper__popper--show-from":r.classes.showFrom,"v-popper__popper--show-to":r.classes.showTo,"v-popper__popper--hide-from":r.classes.hideFrom,"v-popper__popper--hide-to":r.classes.hideTo,"v-popper__popper--skip-transition":r.skipTransition,"v-popper__popper--arrow-overflow":r.result&&r.result.arrow.overflow,"v-popper__popper--no-positioning":!r.result}]]),style:Aa(r.result?{position:r.result.strategy,transform:`translate3d(${Math.round(r.result.x)}px,${Math.round(r.result.y)}px,0)`}:void 0),"aria-hidden":r.shown?"false":"true",tabindex:r.autoHide?0:void 0,"data-popper-placement":r.result?r.result.placement:void 0,onKeyup:s[2]||(s[2]=ry(F=>r.autoHide&&r.$emit("hide"),["esc"]))},[Mt("div",{class:"v-popper__backdrop",onClick:s[0]||(s[0]=F=>r.autoHide&&r.$emit("hide"))}),Mt("div",{class:"v-popper__wrapper",style:Aa(r.result?{transformOrigin:r.result.transformOrigin}:void 0)},[Mt("div",_7,[r.mounted?(Ur(),vn(jn,{key:0},[Mt("div",null,[E1(r.$slots,"default")]),r.handleResize?(Ur(),Yo(m,{key:0,onNotify:s[1]||(s[1]=F=>r.$emit("resize",F))})):oa("",!0)],64)):oa("",!0)],512),Mt("div",{ref:"arrow",class:"v-popper__arrow-container",style:Aa(r.result?{left:r.toPx(r.result.arrow.x),top:r.toPx(r.result.arrow.y)}:void 0)},E7,4)],4)],46,F7)}const dw=Tm(D7,[["render",x7]]),pw={methods:{show(...r){return this.$refs.popper.show(...r)},hide(...r){return this.$refs.popper.hide(...r)},dispose(...r){return this.$refs.popper.dispose(...r)},onResize(...r){return this.$refs.popper.onResize(...r)}}},C7=Cs({name:"VPopperWrapper",components:{Popper:p7,PopperContent:dw},mixins:[pw,hw("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(r=>r!==this.$refs.popperContent.$el)}}});function T7(r,s,i,l,n,e){const m=Bi("PopperContent"),F=Bi("Popper");return Ur(),Yo(F,{ref:"popper",theme:r.finalTheme,"target-nodes":r.getTargetNodes,"popper-node":()=>r.$refs.popperContent.$el,class:ni([r.themeClass])},{default:ws(({popperId:y,isShown:w,shouldMountContent:k,skipTransition:S,autoHide:P,show:M,hide:N,handleResize:B,onResize:K,classes:U,result:G})=>[E1(r.$slots,"default",{shown:w,show:M,hide:N}),Er(m,{ref:"popperContent","popper-id":y,theme:r.finalTheme,shown:w,mounted:k,"skip-transition":S,"auto-hide":P,"handle-resize":B,classes:U,result:G,onHide:N,onResize:K},{default:ws(()=>[E1(r.$slots,"popper",{shown:w,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 Sb=Tm(C7,[["render",T7]]),A7={...Sb,name:"VDropdown",vPopperTheme:"dropdown"},S7={...Sb,name:"VMenu",vPopperTheme:"menu"},k7={...Sb,name:"VTooltip",vPopperTheme:"tooltip"},O7=Cs({name:"VTooltipDirective",components:{Popper:uw(),PopperContent:dw},mixins:[pw],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:r=>O1(r.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:r=>O1(r.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(r){if(typeof this.content=="function"&&this.$_isShown&&(r||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const s=++this.$_fetchId,i=this.content(this);i.then?i.then(l=>this.onResult(s,l)):this.onResult(s,i)}},onResult(r,s){r===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=s)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),R7=["innerHTML"],P7=["textContent"];function I7(r,s,i,l,n,e){const m=Bi("PopperContent"),F=Bi("Popper");return Ur(),Yo(F,gm({ref:"popper"},r.$attrs,{theme:r.theme,"target-nodes":r.targetNodes,"popper-node":()=>r.$refs.popperContent.$el,onApplyShow:r.onShow,onApplyHide:r.onHide}),{default:ws(({popperId:y,isShown:w,shouldMountContent:k,skipTransition:S,autoHide:P,hide:M,handleResize:N,onResize:B,classes:K,result:U})=>[Er(m,{ref:"popperContent",class:ni({"v-popper--tooltip-loading":r.loading}),"popper-id":y,theme:r.theme,shown:w,mounted:k,"skip-transition":S,"auto-hide":P,"handle-resize":N,classes:K,result:U,onHide:M,onResize:B},{default:ws(()=>[r.html?(Ur(),vn("div",{key:0,innerHTML:r.finalContent},null,8,R7)):(Ur(),vn("div",{key:1,textContent:as(r.finalContent)},null,8,P7))]),_: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 N7=Tm(O7,[["render",I7]]),mw="v-popper--has-tooltip";function M7(r,s){let i=r.placement;if(!i&&s)for(const l of cw)s[l]&&(i=l);return i||(i=O1(r.theme||"tooltip","placement")),i}function gw(r,s,i){let l;const n=typeof s;return n==="string"?l={content:s}:s&&n==="object"?l=s:l={content:!1},l.placement=M7(l,i),l.targetNodes=()=>[r],l.referenceNode=()=>r,l}let Hv,R1,L7=0;function B7(){if(Hv)return;R1=Yt([]),Hv=_b({name:"VTooltipDirectiveApp",setup(){return{directives:R1}},render(){return this.directives.map(s=>fu(N7,{...s.options,shown:s.shown||s.options.shown,key:s.id}))},devtools:{hide:!0}});const r=document.createElement("div");document.body.appendChild(r),Hv.mount(r)}function U7(r,s,i){B7();const l=Yt(gw(r,s,i)),n=Yt(!1),e={id:L7++,options:l,shown:n};return R1.value.push(e),r.classList&&r.classList.add(mw),r.$_popper={options:l,item:e,show(){n.value=!0},hide(){n.value=!1}}}function vw(r){if(r.$_popper){const s=R1.value.indexOf(r.$_popper.item);s!==-1&&R1.value.splice(s,1),delete r.$_popper,delete r.$_popperOldShown,delete r.$_popperMountTarget}r.classList&&r.classList.remove(mw)}function q3(r,{value:s,modifiers:i}){const l=gw(r,s,i);if(!l.content||O1(l.theme||"tooltip","disabled"))vw(r);else{let n;r.$_popper?(n=r.$_popper,n.options.value=l):n=U7(r,s,i),typeof s.shown<"u"&&s.shown!==r.$_popperOldShown&&(r.$_popperOldShown=s.shown,s.shown?n.show():n.hide())}}const H7={beforeMount:q3,updated:q3,beforeUnmount(r){vw(r)}};function Q3(r){r.addEventListener("click",bw),r.addEventListener("touchstart",Dw,ou?{passive:!0}:!1)}function X3(r){r.removeEventListener("click",bw),r.removeEventListener("touchstart",Dw),r.removeEventListener("touchend",Fw),r.removeEventListener("touchcancel",_w)}function bw(r){const s=r.currentTarget;r.closePopover=!s.$_vclosepopover_touch,r.closeAllPopover=s.$_closePopoverModifiers&&!!s.$_closePopoverModifiers.all}function Dw(r){if(r.changedTouches.length===1){const s=r.currentTarget;s.$_vclosepopover_touch=!0;const i=r.changedTouches[0];s.$_vclosepopover_touchPoint=i,s.addEventListener("touchend",Fw),s.addEventListener("touchcancel",_w)}}function Fw(r){const s=r.currentTarget;if(s.$_vclosepopover_touch=!1,r.changedTouches.length===1){const i=r.changedTouches[0],l=s.$_vclosepopover_touchPoint;r.closePopover=Math.abs(i.screenY-l.screenY)<20&&Math.abs(i.screenX-l.screenX)<20,r.closeAllPopover=s.$_closePopoverModifiers&&!!s.$_closePopoverModifiers.all}}function _w(r){const s=r.currentTarget;s.$_vclosepopover_touch=!1}const $7={beforeMount(r,{value:s,modifiers:i}){r.$_closePopoverModifiers=i,(typeof s>"u"||s)&&Q3(r)},updated(r,{value:s,oldValue:i,modifiers:l}){r.$_closePopoverModifiers=l,s!==i&&(typeof s>"u"||s?Q3(r):X3(r))},beforeUnmount(r){X3(r)}};function W7(r,s={}){r.$_vTooltipInstalled||(r.$_vTooltipInstalled=!0,ow(Vo,s),r.directive("tooltip",H7),r.directive("close-popper",$7),r.component("VTooltip",k7),r.component("VDropdown",A7),r.component("VMenu",S7))}const z7={version:"2.0.0-beta.24",install:W7,options:Vo};class Sm{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){const i={listener:s};return this.listeners.add(i),this.onSubscribe(),()=>{this.listeners.delete(i),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const km=typeof window>"u"||"Deno"in window;function _a(){}function V7(r,s){return typeof r=="function"?r(s):r}function G7(r){return typeof r=="number"&&r>=0&&r!==1/0}function j7(r,s){return Math.max(r+(s||0)-Date.now(),0)}function F2(r,s,i){return Om(r)?typeof s=="function"?{...i,queryKey:r,queryFn:s}:{...s,queryKey:r}:r}function Rl(r,s,i){return Om(r)?[{...s,queryKey:r},i]:[r||{},s]}function J3(r,s){const{type:i="all",exact:l,fetchStatus:n,predicate:e,queryKey:m,stale:F}=r;if(Om(m)){if(l){if(s.queryHash!==kb(m,s.options))return!1}else if(!V2(s.queryKey,m))return!1}if(i!=="all"){const y=s.isActive();if(i==="active"&&!y||i==="inactive"&&y)return!1}return!(typeof F=="boolean"&&s.isStale()!==F||typeof n<"u"&&n!==s.state.fetchStatus||e&&!e(s))}function Z3(r,s){const{exact:i,fetching:l,predicate:n,mutationKey:e}=r;if(Om(e)){if(!s.options.mutationKey)return!1;if(i){if(Zc(s.options.mutationKey)!==Zc(e))return!1}else if(!V2(s.options.mutationKey,e))return!1}return!(typeof l=="boolean"&&s.state.status==="loading"!==l||n&&!n(s))}function kb(r,s){return((s==null?void 0:s.queryKeyHashFn)||Zc)(r)}function Zc(r){return JSON.stringify(r,(s,i)=>k4(i)?Object.keys(i).sort().reduce((l,n)=>(l[n]=i[n],l),{}):i)}function V2(r,s){return yw(r,s)}function yw(r,s){return r===s?!0:typeof r!=typeof s?!1:r&&s&&typeof r=="object"&&typeof s=="object"?!Object.keys(s).some(i=>!yw(r[i],s[i])):!1}function ww(r,s){if(r===s)return r;const i=eF(r)&&eF(s);if(i||k4(r)&&k4(s)){const l=i?r.length:Object.keys(r).length,n=i?s:Object.keys(s),e=n.length,m=i?[]:{};let F=0;for(let y=0;y<e;y++){const w=i?y:n[y];m[w]=ww(r[w],s[w]),m[w]===r[w]&&F++}return l===e&&F===l?r:m}return s}function yO(r,s){if(r&&!s||s&&!r)return!1;for(const i in r)if(r[i]!==s[i])return!1;return!0}function eF(r){return Array.isArray(r)&&r.length===Object.keys(r).length}function k4(r){if(!tF(r))return!1;const s=r.constructor;if(typeof s>"u")return!0;const i=s.prototype;return!(!tF(i)||!i.hasOwnProperty("isPrototypeOf"))}function tF(r){return Object.prototype.toString.call(r)==="[object Object]"}function Om(r){return Array.isArray(r)}function Ew(r){return new Promise(s=>{setTimeout(s,r)})}function rF(r){Ew(0).then(r)}function Y7(){if(typeof AbortController=="function")return new AbortController}function K7(r,s,i){return i.isDataEqual!=null&&i.isDataEqual(r,s)?r:typeof i.structuralSharing=="function"?i.structuralSharing(r,s):i.structuralSharing!==!1?ww(r,s):s}class q7 extends Sm{constructor(){super(),this.setup=s=>{if(!km&&window.addEventListener){const i=()=>s();return window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",i,!1),()=>{window.removeEventListener("visibilitychange",i),window.removeEventListener("focus",i)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.cleanup)==null||s.call(this),this.cleanup=void 0}}setEventListener(s){var i;this.setup=s,(i=this.cleanup)==null||i.call(this),this.cleanup=s(l=>{typeof l=="boolean"?this.setFocused(l):this.onFocus()})}setFocused(s){this.focused!==s&&(this.focused=s,this.onFocus())}onFocus(){this.listeners.forEach(({listener:s})=>{s()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const O4=new q7,nF=["online","offline"];class Q7 extends Sm{constructor(){super(),this.setup=s=>{if(!km&&window.addEventListener){const i=()=>s();return nF.forEach(l=>{window.addEventListener(l,i,!1)}),()=>{nF.forEach(l=>{window.removeEventListener(l,i)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.cleanup)==null||s.call(this),this.cleanup=void 0}}setEventListener(s){var i;this.setup=s,(i=this.cleanup)==null||i.call(this),this.cleanup=s(l=>{typeof l=="boolean"?this.setOnline(l):this.onOnline()})}setOnline(s){this.online!==s&&(this.online=s,this.onOnline())}onOnline(){this.listeners.forEach(({listener:s})=>{s()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const G2=new Q7;function X7(r){return Math.min(1e3*2**r,3e4)}function Ob(r){return(r??"online")==="online"?G2.isOnline():!0}class xw{constructor(s){this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}}function $v(r){return r instanceof xw}function Cw(r){let s=!1,i=0,l=!1,n,e,m;const F=new Promise((K,U)=>{e=K,m=U}),y=K=>{l||(M(new xw(K)),r.abort==null||r.abort())},w=()=>{s=!0},k=()=>{s=!1},S=()=>!O4.isFocused()||r.networkMode!=="always"&&!G2.isOnline(),P=K=>{l||(l=!0,r.onSuccess==null||r.onSuccess(K),n==null||n(),e(K))},M=K=>{l||(l=!0,r.onError==null||r.onError(K),n==null||n(),m(K))},N=()=>new Promise(K=>{n=U=>{const G=l||!S();return G&&K(U),G},r.onPause==null||r.onPause()}).then(()=>{n=void 0,l||r.onContinue==null||r.onContinue()}),B=()=>{if(l)return;let K;try{K=r.fn()}catch(U){K=Promise.reject(U)}Promise.resolve(K).then(P).catch(U=>{var G,se;if(l)return;const Y=(G=r.retry)!=null?G:3,z=(se=r.retryDelay)!=null?se:X7,ie=typeof z=="function"?z(i,U):z,re=Y===!0||typeof Y=="number"&&i<Y||typeof Y=="function"&&Y(i,U);if(s||!re){M(U);return}i++,r.onFail==null||r.onFail(i,U),Ew(ie).then(()=>{if(S())return N()}).then(()=>{s?M(U):B()})})};return Ob(r.networkMode)?B():N().then(B),{promise:F,cancel:y,continue:()=>(n==null?void 0:n())?F:Promise.resolve(),cancelRetry:w,continueRetry:k}}const Rb=console;function J7(){let r=[],s=0,i=k=>{k()},l=k=>{k()};const n=k=>{let S;s++;try{S=k()}finally{s--,s||F()}return S},e=k=>{s?r.push(k):rF(()=>{i(k)})},m=k=>(...S)=>{e(()=>{k(...S)})},F=()=>{const k=r;r=[],k.length&&rF(()=>{l(()=>{k.forEach(S=>{i(S)})})})};return{batch:n,batchCalls:m,schedule:e,setNotifyFunction:k=>{i=k},setBatchNotifyFunction:k=>{l=k}}}const ti=J7();class Tw{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),G7(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(s){this.cacheTime=Math.max(this.cacheTime||0,s??(km?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Z7 extends Tw{constructor(s){super(),this.abortSignalConsumed=!1,this.defaultOptions=s.defaultOptions,this.setOptions(s.options),this.observers=[],this.cache=s.cache,this.logger=s.logger||Rb,this.queryKey=s.queryKey,this.queryHash=s.queryHash,this.initialState=s.state||e9(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(s){this.options={...this.defaultOptions,...s},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(s,i){const l=K7(this.state.data,s,this.options);return this.dispatch({data:l,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),l}setState(s,i){this.dispatch({type:"setState",state:s,setStateOptions:i})}cancel(s){var i;const l=this.promise;return(i=this.retryer)==null||i.cancel(s),l?l.then(_a).catch(_a):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(s=>s.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(s=>s.getCurrentResult().isStale)}isStaleByTime(s=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!j7(this.state.dataUpdatedAt,s)}onFocus(){var s;const i=this.observers.find(l=>l.shouldFetchOnWindowFocus());i&&i.refetch({cancelRefetch:!1}),(s=this.retryer)==null||s.continue()}onOnline(){var s;const i=this.observers.find(l=>l.shouldFetchOnReconnect());i&&i.refetch({cancelRefetch:!1}),(s=this.retryer)==null||s.continue()}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:s}))}removeObserver(s){this.observers.includes(s)&&(this.observers=this.observers.filter(i=>i!==s),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:s}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(s,i){var l,n;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&i!=null&&i.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var e;return(e=this.retryer)==null||e.continueRetry(),this.promise}}if(s&&this.setOptions(s),!this.options.queryFn){const M=this.observers.find(N=>N.options.queryFn);M&&this.setOptions(M.options)}Array.isArray(this.options.queryKey);const m=Y7(),F={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},y=M=>{Object.defineProperty(M,"signal",{enumerable:!0,get:()=>{if(m)return this.abortSignalConsumed=!0,m.signal}})};y(F);const w=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(F)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),k={fetchOptions:i,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:w};if(y(k),(l=this.options.behavior)==null||l.onFetch(k),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((n=k.fetchOptions)==null?void 0:n.meta)){var S;this.dispatch({type:"fetch",meta:(S=k.fetchOptions)==null?void 0:S.meta})}const P=M=>{if($v(M)&&M.silent||this.dispatch({type:"error",error:M}),!$v(M)){var N,B,K,U;(N=(B=this.cache.config).onError)==null||N.call(B,M,this),(K=(U=this.cache.config).onSettled)==null||K.call(U,this.state.data,M,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Cw({fn:k.fetchFn,abort:m==null?void 0:m.abort.bind(m),onSuccess:M=>{var N,B,K,U;if(typeof M>"u"){P(new Error(this.queryHash+" data is undefined"));return}this.setData(M),(N=(B=this.cache.config).onSuccess)==null||N.call(B,M,this),(K=(U=this.cache.config).onSettled)==null||K.call(U,M,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:P,onFail:(M,N)=>{this.dispatch({type:"failed",failureCount:M,error:N})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:k.options.retry,retryDelay:k.options.retryDelay,networkMode:k.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(s){const i=l=>{var n,e;switch(s.type){case"failed":return{...l,fetchFailureCount:s.failureCount,fetchFailureReason:s.error};case"pause":return{...l,fetchStatus:"paused"};case"continue":return{...l,fetchStatus:"fetching"};case"fetch":return{...l,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(n=s.meta)!=null?n:null,fetchStatus:Ob(this.options.networkMode)?"fetching":"paused",...!l.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...l,data:s.data,dataUpdateCount:l.dataUpdateCount+1,dataUpdatedAt:(e=s.dataUpdatedAt)!=null?e:Date.now(),error:null,isInvalidated:!1,status:"success",...!s.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const m=s.error;return $v(m)&&m.revert&&this.revertState?{...this.revertState}:{...l,error:m,errorUpdateCount:l.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:l.fetchFailureCount+1,fetchFailureReason:m,fetchStatus:"idle",status:"error"};case"invalidate":return{...l,isInvalidated:!0};case"setState":return{...l,...s.state}}};this.state=i(this.state),ti.batch(()=>{this.observers.forEach(l=>{l.onQueryUpdate(s)}),this.cache.notify({query:this,type:"updated",action:s})})}}function e9(r){const s=typeof r.initialData=="function"?r.initialData():r.initialData,i=typeof s<"u",l=i?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:i?l??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"loading",fetchStatus:"idle"}}let Aw=class extends Sm{constructor(s){super(),this.config=s||{},this.queries=[],this.queriesMap={}}build(s,i,l){var n;const e=i.queryKey,m=(n=i.queryHash)!=null?n:kb(e,i);let F=this.get(m);return F||(F=new Z7({cache:this,logger:s.getLogger(),queryKey:e,queryHash:m,options:s.defaultQueryOptions(i),state:l,defaultOptions:s.getQueryDefaults(e)}),this.add(F)),F}add(s){this.queriesMap[s.queryHash]||(this.queriesMap[s.queryHash]=s,this.queries.push(s),this.notify({type:"added",query:s}))}remove(s){const i=this.queriesMap[s.queryHash];i&&(s.destroy(),this.queries=this.queries.filter(l=>l!==s),i===s&&delete this.queriesMap[s.queryHash],this.notify({type:"removed",query:s}))}clear(){ti.batch(()=>{this.queries.forEach(s=>{this.remove(s)})})}get(s){return this.queriesMap[s]}getAll(){return this.queries}find(s,i){const[l]=Rl(s,i);return typeof l.exact>"u"&&(l.exact=!0),this.queries.find(n=>J3(l,n))}findAll(s,i){const[l]=Rl(s,i);return Object.keys(l).length>0?this.queries.filter(n=>J3(l,n)):this.queries}notify(s){ti.batch(()=>{this.listeners.forEach(({listener:i})=>{i(s)})})}onFocus(){ti.batch(()=>{this.queries.forEach(s=>{s.onFocus()})})}onOnline(){ti.batch(()=>{this.queries.forEach(s=>{s.onOnline()})})}};class t9 extends Tw{constructor(s){super(),this.defaultOptions=s.defaultOptions,this.mutationId=s.mutationId,this.mutationCache=s.mutationCache,this.logger=s.logger||Rb,this.observers=[],this.state=s.state||r9(),this.setOptions(s.options),this.scheduleGc()}setOptions(s){this.options={...this.defaultOptions,...s},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(s){this.dispatch({type:"setState",state:s})}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:s}))}removeObserver(s){this.observers=this.observers.filter(i=>i!==s),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:s})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var s,i;return(s=(i=this.retryer)==null?void 0:i.continue())!=null?s:this.execute()}async execute(){const s=()=>{var re;return this.retryer=Cw({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(ne,te)=>{this.dispatch({type:"failed",failureCount:ne,error:te})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(re=this.options.retry)!=null?re:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},i=this.state.status==="loading";try{var l,n,e,m,F,y,w,k;if(!i){var S,P,M,N;this.dispatch({type:"loading",variables:this.options.variables}),await((S=(P=this.mutationCache.config).onMutate)==null?void 0:S.call(P,this.state.variables,this));const ne=await((M=(N=this.options).onMutate)==null?void 0:M.call(N,this.state.variables));ne!==this.state.context&&this.dispatch({type:"loading",context:ne,variables:this.state.variables})}const re=await s();return await((l=(n=this.mutationCache.config).onSuccess)==null?void 0:l.call(n,re,this.state.variables,this.state.context,this)),await((e=(m=this.options).onSuccess)==null?void 0:e.call(m,re,this.state.variables,this.state.context)),await((F=(y=this.mutationCache.config).onSettled)==null?void 0:F.call(y,re,null,this.state.variables,this.state.context,this)),await((w=(k=this.options).onSettled)==null?void 0:w.call(k,re,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:re}),re}catch(re){try{var B,K,U,G,se,Y,z,ie;throw await((B=(K=this.mutationCache.config).onError)==null?void 0:B.call(K,re,this.state.variables,this.state.context,this)),await((U=(G=this.options).onError)==null?void 0:U.call(G,re,this.state.variables,this.state.context)),await((se=(Y=this.mutationCache.config).onSettled)==null?void 0:se.call(Y,void 0,re,this.state.variables,this.state.context,this)),await((z=(ie=this.options).onSettled)==null?void 0:z.call(ie,void 0,re,this.state.variables,this.state.context)),re}finally{this.dispatch({type:"error",error:re})}}}dispatch(s){const i=l=>{switch(s.type){case"failed":return{...l,failureCount:s.failureCount,failureReason:s.error};case"pause":return{...l,isPaused:!0};case"continue":return{...l,isPaused:!1};case"loading":return{...l,context:s.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Ob(this.options.networkMode),status:"loading",variables:s.variables};case"success":return{...l,data:s.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...l,data:void 0,error:s.error,failureCount:l.failureCount+1,failureReason:s.error,isPaused:!1,status:"error"};case"setState":return{...l,...s.state}}};this.state=i(this.state),ti.batch(()=>{this.observers.forEach(l=>{l.onMutationUpdate(s)}),this.mutationCache.notify({mutation:this,type:"updated",action:s})})}}function r9(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let Sw=class extends Sm{constructor(s){super(),this.config=s||{},this.mutations=[],this.mutationId=0}build(s,i,l){const n=new t9({mutationCache:this,logger:s.getLogger(),mutationId:++this.mutationId,options:s.defaultMutationOptions(i),state:l,defaultOptions:i.mutationKey?s.getMutationDefaults(i.mutationKey):void 0});return this.add(n),n}add(s){this.mutations.push(s),this.notify({type:"added",mutation:s})}remove(s){this.mutations=this.mutations.filter(i=>i!==s),this.notify({type:"removed",mutation:s})}clear(){ti.batch(()=>{this.mutations.forEach(s=>{this.remove(s)})})}getAll(){return this.mutations}find(s){return typeof s.exact>"u"&&(s.exact=!0),this.mutations.find(i=>Z3(s,i))}findAll(s){return this.mutations.filter(i=>Z3(s,i))}notify(s){ti.batch(()=>{this.listeners.forEach(({listener:i})=>{i(s)})})}resumePausedMutations(){var s;return this.resuming=((s=this.resuming)!=null?s:Promise.resolve()).then(()=>{const i=this.mutations.filter(l=>l.state.isPaused);return ti.batch(()=>i.reduce((l,n)=>l.then(()=>n.continue().catch(_a)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};function n9(){return{onFetch:r=>{r.fetchFn=()=>{var s,i,l,n,e,m;const F=(s=r.fetchOptions)==null||(i=s.meta)==null?void 0:i.refetchPage,y=(l=r.fetchOptions)==null||(n=l.meta)==null?void 0:n.fetchMore,w=y==null?void 0:y.pageParam,k=(y==null?void 0:y.direction)==="forward",S=(y==null?void 0:y.direction)==="backward",P=((e=r.state.data)==null?void 0:e.pages)||[],M=((m=r.state.data)==null?void 0:m.pageParams)||[];let N=M,B=!1;const K=ie=>{Object.defineProperty(ie,"signal",{enumerable:!0,get:()=>{var re;if((re=r.signal)!=null&&re.aborted)B=!0;else{var ne;(ne=r.signal)==null||ne.addEventListener("abort",()=>{B=!0})}return r.signal}})},U=r.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+r.options.queryHash+"'")),G=(ie,re,ne,te)=>(N=te?[re,...N]:[...N,re],te?[ne,...ie]:[...ie,ne]),se=(ie,re,ne,te)=>{if(B)return Promise.reject("Cancelled");if(typeof ne>"u"&&!re&&ie.length)return Promise.resolve(ie);const le={queryKey:r.queryKey,pageParam:ne,meta:r.options.meta};K(le);const we=U(le);return Promise.resolve(we).then(xe=>G(ie,ne,xe,te))};let Y;if(!P.length)Y=se([]);else if(k){const ie=typeof w<"u",re=ie?w:sF(r.options,P);Y=se(P,ie,re)}else if(S){const ie=typeof w<"u",re=ie?w:s9(r.options,P);Y=se(P,ie,re,!0)}else{N=[];const ie=typeof r.options.getNextPageParam>"u";Y=(F&&P[0]?F(P[0],0,P):!0)?se([],ie,M[0]):Promise.resolve(G([],M[0],P[0]));for(let ne=1;ne<P.length;ne++)Y=Y.then(te=>{if(F&&P[ne]?F(P[ne],ne,P):!0){const we=ie?M[ne]:sF(r.options,te);return se(te,ie,we)}return Promise.resolve(G(te,M[ne],P[ne]))})}return Y.then(ie=>({pages:ie,pageParams:N}))}}}}function sF(r,s){return r.getNextPageParam==null?void 0:r.getNextPageParam(s[s.length-1],s)}function s9(r,s){return r.getPreviousPageParam==null?void 0:r.getPreviousPageParam(s[0],s)}let i9=class{constructor(s={}){this.queryCache=s.queryCache||new Aw,this.mutationCache=s.mutationCache||new Sw,this.logger=s.logger||Rb,this.defaultOptions=s.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=O4.subscribe(()=>{O4.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=G2.subscribe(()=>{G2.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var s,i;this.mountCount--,this.mountCount===0&&((s=this.unsubscribeFocus)==null||s.call(this),this.unsubscribeFocus=void 0,(i=this.unsubscribeOnline)==null||i.call(this),this.unsubscribeOnline=void 0)}isFetching(s,i){const[l]=Rl(s,i);return l.fetchStatus="fetching",this.queryCache.findAll(l).length}isMutating(s){return this.mutationCache.findAll({...s,fetching:!0}).length}getQueryData(s,i){var l;return(l=this.queryCache.find(s,i))==null?void 0:l.state.data}ensureQueryData(s,i,l){const n=F2(s,i,l),e=this.getQueryData(n.queryKey);return e?Promise.resolve(e):this.fetchQuery(n)}getQueriesData(s){return this.getQueryCache().findAll(s).map(({queryKey:i,state:l})=>{const n=l.data;return[i,n]})}setQueryData(s,i,l){const n=this.queryCache.find(s),e=n==null?void 0:n.state.data,m=V7(i,e);if(typeof m>"u")return;const F=F2(s),y=this.defaultQueryOptions(F);return this.queryCache.build(this,y).setData(m,{...l,manual:!0})}setQueriesData(s,i,l){return ti.batch(()=>this.getQueryCache().findAll(s).map(({queryKey:n})=>[n,this.setQueryData(n,i,l)]))}getQueryState(s,i){var l;return(l=this.queryCache.find(s,i))==null?void 0:l.state}removeQueries(s,i){const[l]=Rl(s,i),n=this.queryCache;ti.batch(()=>{n.findAll(l).forEach(e=>{n.remove(e)})})}resetQueries(s,i,l){const[n,e]=Rl(s,i,l),m=this.queryCache,F={type:"active",...n};return ti.batch(()=>(m.findAll(n).forEach(y=>{y.reset()}),this.refetchQueries(F,e)))}cancelQueries(s,i,l){const[n,e={}]=Rl(s,i,l);typeof e.revert>"u"&&(e.revert=!0);const m=ti.batch(()=>this.queryCache.findAll(n).map(F=>F.cancel(e)));return Promise.all(m).then(_a).catch(_a)}invalidateQueries(s,i,l){const[n,e]=Rl(s,i,l);return ti.batch(()=>{var m,F;if(this.queryCache.findAll(n).forEach(w=>{w.invalidate()}),n.refetchType==="none")return Promise.resolve();const y={...n,type:(m=(F=n.refetchType)!=null?F:n.type)!=null?m:"active"};return this.refetchQueries(y,e)})}refetchQueries(s,i,l){const[n,e]=Rl(s,i,l),m=ti.batch(()=>this.queryCache.findAll(n).filter(y=>!y.isDisabled()).map(y=>{var w;return y.fetch(void 0,{...e,cancelRefetch:(w=e==null?void 0:e.cancelRefetch)!=null?w:!0,meta:{refetchPage:n.refetchPage}})}));let F=Promise.all(m).then(_a);return e!=null&&e.throwOnError||(F=F.catch(_a)),F}fetchQuery(s,i,l){const n=F2(s,i,l),e=this.defaultQueryOptions(n);typeof e.retry>"u"&&(e.retry=!1);const m=this.queryCache.build(this,e);return m.isStaleByTime(e.staleTime)?m.fetch(e):Promise.resolve(m.state.data)}prefetchQuery(s,i,l){return this.fetchQuery(s,i,l).then(_a).catch(_a)}fetchInfiniteQuery(s,i,l){const n=F2(s,i,l);return n.behavior=n9(),this.fetchQuery(n)}prefetchInfiniteQuery(s,i,l){return this.fetchInfiniteQuery(s,i,l).then(_a).catch(_a)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(s){this.defaultOptions=s}setQueryDefaults(s,i){const l=this.queryDefaults.find(n=>Zc(s)===Zc(n.queryKey));l?l.defaultOptions=i:this.queryDefaults.push({queryKey:s,defaultOptions:i})}getQueryDefaults(s){if(!s)return;const i=this.queryDefaults.find(l=>V2(s,l.queryKey));return i==null?void 0:i.defaultOptions}setMutationDefaults(s,i){const l=this.mutationDefaults.find(n=>Zc(s)===Zc(n.mutationKey));l?l.defaultOptions=i:this.mutationDefaults.push({mutationKey:s,defaultOptions:i})}getMutationDefaults(s){if(!s)return;const i=this.mutationDefaults.find(l=>V2(s,l.mutationKey));return i==null?void 0:i.defaultOptions}defaultQueryOptions(s){if(s!=null&&s._defaulted)return s;const i={...this.defaultOptions.queries,...this.getQueryDefaults(s==null?void 0:s.queryKey),...s,_defaulted:!0};return!i.queryHash&&i.queryKey&&(i.queryHash=kb(i.queryKey,i)),typeof i.refetchOnReconnect>"u"&&(i.refetchOnReconnect=i.networkMode!=="always"),typeof i.useErrorBoundary>"u"&&(i.useErrorBoundary=!!i.suspense),i}defaultMutationOptions(s){return s!=null&&s._defaulted?s:{...this.defaultOptions.mutations,...this.getMutationDefaults(s==null?void 0:s.mutationKey),...s,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};const a9="VUE_QUERY_CLIENT";function o9(r){const s=r?":"+r:"";return""+a9+s}function Fa(r){return Array.isArray(r)}function CO(r,s){Object.keys(r).forEach(i=>{r[i]=s[i]})}function R4(r,s){if(s){const i=s(r);if(i!==void 0||rn(r))return i}if(Array.isArray(r))return r.map(i=>R4(i,s));if(typeof r=="object"&&l9(r)){const i=Object.entries(r).map(([l,n])=>[l,R4(n,s)]);return Object.fromEntries(i)}return r}function ir(r){return R4(r,s=>{if(rn(s))return ir(tr(s))})}function l9(r){if(Object.prototype.toString.call(r)!=="[object Object]")return!1;const s=Object.getPrototypeOf(r);return s===null||s===Object.prototype}function TO(r,s){return typeof r=="function"?r(...s):!!r}class c9 extends Aw{find(s,i){const l=ir(s),n=ir(i);return super.find(l,n)}findAll(s,i){const l=ir(s),n=ir(i);return Fa(l)?super.findAll(l,n):super.findAll(l)}}class u9 extends Sw{find(s){return super.find(ir(s))}findAll(s){return super.findAll(ir(s))}}class iF extends i9{constructor(s={}){const i=ir(s),l={logger:ir(i.logger),defaultOptions:ir(i.defaultOptions),queryCache:i.queryCache||new c9,mutationCache:i.mutationCache||new u9};super(l),this.isRestoring=Yt(!1)}isFetching(s,i){const l=ir(s),n=ir(i);return Fa(l)?super.isFetching(l,n):super.isFetching(l)}isMutating(s){return super.isMutating(ir(s))}getQueryData(s,i){return super.getQueryData(ir(s),ir(i))}getQueriesData(s){const i=ir(s);return Fa(i)?super.getQueriesData(i):super.getQueriesData(i)}setQueryData(s,i,l){return super.setQueryData(ir(s),i,ir(l))}setQueriesData(s,i,l){const n=ir(s),e=ir(l);return Fa(n)?super.setQueriesData(n,i,e):super.setQueriesData(n,i,e)}getQueryState(s,i){return super.getQueryState(ir(s),ir(i))}removeQueries(s,i){const l=ir(s);return Fa(l)?super.removeQueries(l,ir(i)):super.removeQueries(l)}resetQueries(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.resetQueries(n,e,ir(l)):super.resetQueries(n,e)}cancelQueries(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.cancelQueries(n,e,ir(l)):super.cancelQueries(n,e)}invalidateQueries(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.invalidateQueries(n,e,ir(l)):super.invalidateQueries(n,e)}refetchQueries(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.refetchQueries(n,e,ir(l)):super.refetchQueries(n,e)}fetchQuery(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.fetchQuery(n,e,ir(l)):super.fetchQuery(n)}prefetchQuery(s,i,l){return super.prefetchQuery(ir(s),ir(i),ir(l))}fetchInfiniteQuery(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.fetchInfiniteQuery(n,e,ir(l)):super.fetchInfiniteQuery(n)}prefetchInfiniteQuery(s,i,l){return super.prefetchInfiniteQuery(ir(s),ir(i),ir(l))}setDefaultOptions(s){super.setDefaultOptions(ir(s))}setQueryDefaults(s,i){super.setQueryDefaults(ir(s),ir(i))}getQueryDefaults(s){return super.getQueryDefaults(ir(s))}setMutationDefaults(s,i){super.setMutationDefaults(ir(s),ir(i))}getMutationDefaults(s){return super.getMutationDefaults(ir(s))}}const f9={install:(r,s={})=>{const i=o9(s.queryClientKey);let l;if("queryClient"in s&&s.queryClient)l=s.queryClient;else if(s.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)l=window.__VUE_QUERY_CONTEXT__;else{const m="queryClientConfig"in s?s.queryClientConfig:void 0;l=new iF(m),window.__VUE_QUERY_CONTEXT__=l}else{const m="queryClientConfig"in s?s.queryClientConfig:void 0;l=new iF(m)}km||l.mount();let n=()=>{};if(s.clientPersister){l.isRestoring.value=!0;const[m,F]=s.clientPersister(l);n=m,F.then(()=>{l.isRestoring.value=!1})}const e=()=>{l.unmount(),n()};if(r.onUnmount)r.onUnmount(e);else{const m=r.unmount;r.unmount=function(){e(),m()}}r.provide(i,l)}};let h9;function d9(){return h9}function p9(r){return typeof r=="function"?r():tr(r)}function P4(r,s=""){if(r instanceof Promise)return r;const i=p9(r);return!r||!i?i:Array.isArray(i)?i.map(l=>P4(l,s)):typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>l==="titleTemplate"||l.startsWith("on")?[l,tr(n)]:[l,P4(n,l)])):i}const m9="usehead";function g9(){return Ts()&&si(m9)||d9()}function v9(r,s={}){const i=g9();if(i)return i.ssr?i.push(r,s):b9(i,r,s)}function b9(r,s,i={}){const l=Yt(!1),n=Yt({});sb(()=>{n.value=l.value?{}:P4(s)});const e=r.push(n.value,i);return bn(n,F=>{e.patch(F)}),Ts()&&(U1(()=>{e.dispose()}),lb(()=>{l.value=!0}),ob(()=>{l.value=!1})),e}const D9=Cs({__name:"App",setup(r){return v9({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>qy.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>vS.value?"/favicon-dark.svg":"/favicon.svg"}]}),(s,i)=>{const l=Bi("RouterView");return Ur(),Yo(l)}}});var F9=Object.defineProperty,aF=Object.getOwnPropertySymbols,_9=Object.prototype.hasOwnProperty,y9=Object.prototype.propertyIsEnumerable,oF=(r,s,i)=>s in r?F9(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,lF=(r,s)=>{for(var i in s||(s={}))_9.call(s,i)&&oF(r,i,s[i]);if(aF)for(var i of aF(s))y9.call(s,i)&&oF(r,i,s[i]);return r};const Wv=new WeakMap;function kw(r,s,i={}){const{mode:l="replace",route:n=oA(),router:e=aA(),transform:m=k=>k}=i;Wv.has(n)||Wv.set(n,new Map);const F=Wv.get(n);hu(()=>{F.delete(r)}),F.set(r,n.query[r]);let y;const w=Z4((k,S)=>(y=S,{get(){k();const P=F.get(r);return m(P!==void 0?P:Yn(s))},set(P){F.get(r)!==P&&(F.set(r,P),S(),oo(()=>{const{params:M,query:N,hash:B}=n;e[Yn(l)]({params:M,query:lF(lF({},N),Object.fromEntries(F.entries())),hash:B})}))}}));return bn(()=>n.query[r],k=>{F.set(r,k),y()},{flush:"sync"}),w}var Ow={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){var i=1e3,l=6e4,n=36e5,e="millisecond",m="second",F="minute",y="hour",w="day",k="week",S="month",P="quarter",M="year",N="date",B="Invalid Date",K=/^(\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(xe){var ve=["th","st","nd","rd"],Le=xe%100;return"["+xe+(ve[(Le-20)%10]||ve[Le]||ve[0])+"]"}},se=function(xe,ve,Le){var qe=String(xe);return!qe||qe.length>=ve?xe:""+Array(ve+1-qe.length).join(Le)+xe},Y={s:se,z:function(xe){var ve=-xe.utcOffset(),Le=Math.abs(ve),qe=Math.floor(Le/60),Ie=Le%60;return(ve<=0?"+":"-")+se(qe,2,"0")+":"+se(Ie,2,"0")},m:function xe(ve,Le){if(ve.date()<Le.date())return-xe(Le,ve);var qe=12*(Le.year()-ve.year())+(Le.month()-ve.month()),Ie=ve.clone().add(qe,S),ut=Le-Ie<0,dt=ve.clone().add(qe+(ut?-1:1),S);return+(-(qe+(Le-Ie)/(ut?Ie-dt:dt-Ie))||0)},a:function(xe){return xe<0?Math.ceil(xe)||0:Math.floor(xe)},p:function(xe){return{M:S,y:M,w:k,d:w,D:N,h:y,m:F,s:m,ms:e,Q:P}[xe]||String(xe||"").toLowerCase().replace(/s$/,"")},u:function(xe){return xe===void 0}},z="en",ie={};ie[z]=G;var re=function(xe){return xe instanceof we},ne=function xe(ve,Le,qe){var Ie;if(!ve)return z;if(typeof ve=="string"){var ut=ve.toLowerCase();ie[ut]&&(Ie=ut),Le&&(ie[ut]=Le,Ie=ut);var dt=ve.split("-");if(!Ie&&dt.length>1)return xe(dt[0])}else{var ze=ve.name;ie[ze]=ve,Ie=ze}return!qe&&Ie&&(z=Ie),Ie||!qe&&z},te=function(xe,ve){if(re(xe))return xe.clone();var Le=typeof ve=="object"?ve:{};return Le.date=xe,Le.args=arguments,new we(Le)},le=Y;le.l=ne,le.i=re,le.w=function(xe,ve){return te(xe,{locale:ve.$L,utc:ve.$u,x:ve.$x,$offset:ve.$offset})};var we=function(){function xe(Le){this.$L=ne(Le.locale,null,!0),this.parse(Le)}var ve=xe.prototype;return ve.parse=function(Le){this.$d=function(qe){var Ie=qe.date,ut=qe.utc;if(Ie===null)return new Date(NaN);if(le.u(Ie))return new Date;if(Ie instanceof Date)return new Date(Ie);if(typeof Ie=="string"&&!/Z$/i.test(Ie)){var dt=Ie.match(K);if(dt){var ze=dt[2]-1||0,he=(dt[7]||"0").substring(0,3);return ut?new Date(Date.UTC(dt[1],ze,dt[3]||1,dt[4]||0,dt[5]||0,dt[6]||0,he)):new Date(dt[1],ze,dt[3]||1,dt[4]||0,dt[5]||0,dt[6]||0,he)}}return new Date(Ie)}(Le),this.$x=Le.x||{},this.init()},ve.init=function(){var Le=this.$d;this.$y=Le.getFullYear(),this.$M=Le.getMonth(),this.$D=Le.getDate(),this.$W=Le.getDay(),this.$H=Le.getHours(),this.$m=Le.getMinutes(),this.$s=Le.getSeconds(),this.$ms=Le.getMilliseconds()},ve.$utils=function(){return le},ve.isValid=function(){return this.$d.toString()!==B},ve.isSame=function(Le,qe){var Ie=te(Le);return this.startOf(qe)<=Ie&&Ie<=this.endOf(qe)},ve.isAfter=function(Le,qe){return te(Le)<this.startOf(qe)},ve.isBefore=function(Le,qe){return this.endOf(qe)<te(Le)},ve.$g=function(Le,qe,Ie){return le.u(Le)?this[qe]:this.set(Ie,Le)},ve.unix=function(){return Math.floor(this.valueOf()/1e3)},ve.valueOf=function(){return this.$d.getTime()},ve.startOf=function(Le,qe){var Ie=this,ut=!!le.u(qe)||qe,dt=le.p(Le),ze=function(We,be){var st=le.w(Ie.$u?Date.UTC(Ie.$y,be,We):new Date(Ie.$y,be,We),Ie);return ut?st:st.endOf(w)},he=function(We,be){return le.w(Ie.toDate()[We].apply(Ie.toDate("s"),(ut?[0,0,0,0]:[23,59,59,999]).slice(be)),Ie)},He=this.$W,et=this.$M,$e=this.$D,De="set"+(this.$u?"UTC":"");switch(dt){case M:return ut?ze(1,0):ze(31,11);case S:return ut?ze(1,et):ze(0,et+1);case k:var Ne=this.$locale().weekStart||0,J=(He<Ne?He+7:He)-Ne;return ze(ut?$e-J:$e+(6-J),et);case w:case N:return he(De+"Hours",0);case y:return he(De+"Minutes",1);case F:return he(De+"Seconds",2);case m:return he(De+"Milliseconds",3);default:return this.clone()}},ve.endOf=function(Le){return this.startOf(Le,!1)},ve.$set=function(Le,qe){var Ie,ut=le.p(Le),dt="set"+(this.$u?"UTC":""),ze=(Ie={},Ie[w]=dt+"Date",Ie[N]=dt+"Date",Ie[S]=dt+"Month",Ie[M]=dt+"FullYear",Ie[y]=dt+"Hours",Ie[F]=dt+"Minutes",Ie[m]=dt+"Seconds",Ie[e]=dt+"Milliseconds",Ie)[ut],he=ut===w?this.$D+(qe-this.$W):qe;if(ut===S||ut===M){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},ve.set=function(Le,qe){return this.clone().$set(Le,qe)},ve.get=function(Le){return this[le.p(Le)]()},ve.add=function(Le,qe){var Ie,ut=this;Le=Number(Le);var dt=le.p(qe),ze=function(et){var $e=te(ut);return le.w($e.date($e.date()+Math.round(et*Le)),ut)};if(dt===S)return this.set(S,this.$M+Le);if(dt===M)return this.set(M,this.$y+Le);if(dt===w)return ze(1);if(dt===k)return ze(7);var he=(Ie={},Ie[F]=l,Ie[y]=n,Ie[m]=i,Ie)[dt]||1,He=this.$d.getTime()+Le*he;return le.w(He,this)},ve.subtract=function(Le,qe){return this.add(-1*Le,qe)},ve.format=function(Le){var qe=this,Ie=this.$locale();if(!this.isValid())return Ie.invalidDate||B;var ut=Le||"YYYY-MM-DDTHH:mm:ssZ",dt=le.z(this),ze=this.$H,he=this.$m,He=this.$M,et=Ie.weekdays,$e=Ie.months,De=function(be,st,Vt,X){return be&&(be[st]||be(qe,ut))||Vt[st].slice(0,X)},Ne=function(be){return le.s(ze%12||12,be,"0")},J=Ie.meridiem||function(be,st,Vt){var X=be<12?"AM":"PM";return Vt?X.toLowerCase():X},We={YY:String(this.$y).slice(-2),YYYY:le.s(this.$y,4,"0"),M:He+1,MM:le.s(He+1,2,"0"),MMM:De(Ie.monthsShort,He,$e,3),MMMM:De($e,He),D:this.$D,DD:le.s(this.$D,2,"0"),d:String(this.$W),dd:De(Ie.weekdaysMin,this.$W,et,2),ddd:De(Ie.weekdaysShort,this.$W,et,3),dddd:et[this.$W],H:String(ze),HH:le.s(ze,2,"0"),h:Ne(1),hh:Ne(2),a:J(ze,he,!0),A:J(ze,he,!1),m:String(he),mm:le.s(he,2,"0"),s:String(this.$s),ss:le.s(this.$s,2,"0"),SSS:le.s(this.$ms,3,"0"),Z:dt};return ut.replace(U,function(be,st){return st||We[be]||dt.replace(":","")})},ve.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ve.diff=function(Le,qe,Ie){var ut,dt=le.p(qe),ze=te(Le),he=(ze.utcOffset()-this.utcOffset())*l,He=this-ze,et=le.m(this,ze);return et=(ut={},ut[M]=et/12,ut[S]=et,ut[P]=et/3,ut[k]=(He-he)/6048e5,ut[w]=(He-he)/864e5,ut[y]=He/n,ut[F]=He/l,ut[m]=He/i,ut)[dt]||He,Ie?et:le.a(et)},ve.daysInMonth=function(){return this.endOf(S).$D},ve.$locale=function(){return ie[this.$L]},ve.locale=function(Le,qe){if(!Le)return this.$L;var Ie=this.clone(),ut=ne(Le,qe,!0);return ut&&(Ie.$L=ut),Ie},ve.clone=function(){return le.w(this.$d,this)},ve.toDate=function(){return new Date(this.valueOf())},ve.toJSON=function(){return this.isValid()?this.toISOString():null},ve.toISOString=function(){return this.$d.toISOString()},ve.toString=function(){return this.$d.toUTCString()},xe}(),Pe=we.prototype;return te.prototype=Pe,[["$ms",e],["$s",m],["$m",F],["$H",y],["$W",w],["$M",S],["$y",M],["$D",N]].forEach(function(xe){Pe[xe[1]]=function(ve){return this.$g(ve,xe[0],xe[1])}}),te.extend=function(xe,ve){return xe.$i||(xe(ve,we,te),xe.$i=!0),te},te.locale=ne,te.isDayjs=re,te.unix=function(xe){return te(1e3*xe)},te.en=ie[z],te.Ls=ie,te.p={},te})})(Ow);var w9=Ow.exports;const Ws=Hi(w9);var Rw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){var i,l,n=1e3,e=6e4,m=36e5,F=864e5,y=/\[([^\]]+)]|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,w=31536e6,k=2592e6,S=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,P={years:w,months:k,days:F,hours:m,minutes:e,seconds:n,milliseconds:1,weeks:6048e5},M=function(z){return z instanceof Y},N=function(z,ie,re){return new Y(z,re,ie.$l)},B=function(z){return l.p(z)+"s"},K=function(z){return z<0},U=function(z){return K(z)?Math.ceil(z):Math.floor(z)},G=function(z){return Math.abs(z)},se=function(z,ie){return z?K(z)?{negative:!0,format:""+G(z)+ie}:{negative:!1,format:""+z+ie}:{negative:!1,format:""}},Y=function(){function z(re,ne,te){var le=this;if(this.$d={},this.$l=te,re===void 0&&(this.$ms=0,this.parseFromMilliseconds()),ne)return N(re*P[B(ne)],this);if(typeof re=="number")return this.$ms=re,this.parseFromMilliseconds(),this;if(typeof re=="object")return Object.keys(re).forEach(function(xe){le.$d[B(xe)]=re[xe]}),this.calMilliseconds(),this;if(typeof re=="string"){var we=re.match(S);if(we){var Pe=we.slice(2).map(function(xe){return xe!=null?Number(xe):0});return this.$d.years=Pe[0],this.$d.months=Pe[1],this.$d.weeks=Pe[2],this.$d.days=Pe[3],this.$d.hours=Pe[4],this.$d.minutes=Pe[5],this.$d.seconds=Pe[6],this.calMilliseconds(),this}}return this}var ie=z.prototype;return ie.calMilliseconds=function(){var re=this;this.$ms=Object.keys(this.$d).reduce(function(ne,te){return ne+(re.$d[te]||0)*P[te]},0)},ie.parseFromMilliseconds=function(){var re=this.$ms;this.$d.years=U(re/w),re%=w,this.$d.months=U(re/k),re%=k,this.$d.days=U(re/F),re%=F,this.$d.hours=U(re/m),re%=m,this.$d.minutes=U(re/e),re%=e,this.$d.seconds=U(re/n),re%=n,this.$d.milliseconds=re},ie.toISOString=function(){var re=se(this.$d.years,"Y"),ne=se(this.$d.months,"M"),te=+this.$d.days||0;this.$d.weeks&&(te+=7*this.$d.weeks);var le=se(te,"D"),we=se(this.$d.hours,"H"),Pe=se(this.$d.minutes,"M"),xe=this.$d.seconds||0;this.$d.milliseconds&&(xe+=this.$d.milliseconds/1e3);var ve=se(xe,"S"),Le=re.negative||ne.negative||le.negative||we.negative||Pe.negative||ve.negative,qe=we.format||Pe.format||ve.format?"T":"",Ie=(Le?"-":"")+"P"+re.format+ne.format+le.format+qe+we.format+Pe.format+ve.format;return Ie==="P"||Ie==="-P"?"P0D":Ie},ie.toJSON=function(){return this.toISOString()},ie.format=function(re){var ne=re||"YYYY-MM-DDTHH:mm:ss",te={Y:this.$d.years,YY:l.s(this.$d.years,2,"0"),YYYY:l.s(this.$d.years,4,"0"),M:this.$d.months,MM:l.s(this.$d.months,2,"0"),D:this.$d.days,DD:l.s(this.$d.days,2,"0"),H:this.$d.hours,HH:l.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:l.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:l.s(this.$d.seconds,2,"0"),SSS:l.s(this.$d.milliseconds,3,"0")};return ne.replace(y,function(le,we){return we||String(te[le])})},ie.as=function(re){return this.$ms/P[B(re)]},ie.get=function(re){var ne=this.$ms,te=B(re);return te==="milliseconds"?ne%=1e3:ne=te==="weeks"?U(ne/P[te]):this.$d[te],ne===0?0:ne},ie.add=function(re,ne,te){var le;return le=ne?re*P[B(ne)]:M(re)?re.$ms:N(re,this).$ms,N(this.$ms+le*(te?-1:1),this)},ie.subtract=function(re,ne){return this.add(re,ne,!0)},ie.locale=function(re){var ne=this.clone();return ne.$l=re,ne},ie.clone=function(){return N(this.$ms,this)},ie.humanize=function(re){return i().add(this.$ms,"ms").locale(this.$l).fromNow(!re)},ie.valueOf=function(){return this.asMilliseconds()},ie.milliseconds=function(){return this.get("milliseconds")},ie.asMilliseconds=function(){return this.as("milliseconds")},ie.seconds=function(){return this.get("seconds")},ie.asSeconds=function(){return this.as("seconds")},ie.minutes=function(){return this.get("minutes")},ie.asMinutes=function(){return this.as("minutes")},ie.hours=function(){return this.get("hours")},ie.asHours=function(){return this.as("hours")},ie.days=function(){return this.get("days")},ie.asDays=function(){return this.as("days")},ie.weeks=function(){return this.get("weeks")},ie.asWeeks=function(){return this.as("weeks")},ie.months=function(){return this.get("months")},ie.asMonths=function(){return this.as("months")},ie.years=function(){return this.get("years")},ie.asYears=function(){return this.as("years")},z}();return function(z,ie,re){i=re,l=re().$utils(),re.duration=function(le,we){var Pe=re.locale();return N(le,{$l:Pe},we)},re.isDuration=M;var ne=ie.prototype.add,te=ie.prototype.subtract;ie.prototype.add=function(le,we){return M(le)&&(le=le.asMilliseconds()),ne.bind(this)(le,we)},ie.prototype.subtract=function(le,we){return M(le)&&(le=le.asMilliseconds()),te.bind(this)(le,we)}}})})(Rw);var E9=Rw.exports;const x9=Hi(E9);var Pw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){var i="minute",l=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(e,m,F){var y=m.prototype;F.utc=function(B){var K={date:B,utc:!0,args:arguments};return new m(K)},y.utc=function(B){var K=F(this.toDate(),{locale:this.$L,utc:!0});return B?K.add(this.utcOffset(),i):K},y.local=function(){return F(this.toDate(),{locale:this.$L,utc:!1})};var w=y.parse;y.parse=function(B){B.utc&&(this.$u=!0),this.$utils().u(B.$offset)||(this.$offset=B.$offset),w.call(this,B)};var k=y.init;y.init=function(){if(this.$u){var B=this.$d;this.$y=B.getUTCFullYear(),this.$M=B.getUTCMonth(),this.$D=B.getUTCDate(),this.$W=B.getUTCDay(),this.$H=B.getUTCHours(),this.$m=B.getUTCMinutes(),this.$s=B.getUTCSeconds(),this.$ms=B.getUTCMilliseconds()}else k.call(this)};var S=y.utcOffset;y.utcOffset=function(B,K){var U=this.$utils().u;if(U(B))return this.$u?0:U(this.$offset)?S.call(this):this.$offset;if(typeof B=="string"&&(B=function(z){z===void 0&&(z="");var ie=z.match(l);if(!ie)return null;var re=(""+ie[0]).match(n)||["-",0,0],ne=re[0],te=60*+re[1]+ +re[2];return te===0?0:ne==="+"?te:-te}(B),B===null))return this;var G=Math.abs(B)<=16?60*B:B,se=this;if(K)return se.$offset=G,se.$u=B===0,se;if(B!==0){var Y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(se=this.local().add(G+Y,i)).$offset=G,se.$x.$localOffset=Y}else se=this.utc();return se};var P=y.format;y.format=function(B){var K=B||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return P.call(this,K)},y.valueOf=function(){var B=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*B},y.isUTC=function(){return!!this.$u},y.toISOString=function(){return this.toDate().toISOString()},y.toString=function(){return this.toDate().toUTCString()};var M=y.toDate;y.toDate=function(B){return B==="s"&&this.$offset?F(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():M.call(this)};var N=y.diff;y.diff=function(B,K,U){if(B&&this.$u===B.$u)return N.call(this,B,K,U);var G=this.local(),se=F(B).local();return N.call(G,se,K,U)}}})})(Pw);var C9=Pw.exports;const T9=Hi(C9);var Iw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){var i={year:0,month:1,day:2,hour:3,minute:4,second:5},l={};return function(n,e,m){var F,y=function(P,M,N){N===void 0&&(N={});var B=new Date(P),K=function(U,G){G===void 0&&(G={});var se=G.timeZoneName||"short",Y=U+"|"+se,z=l[Y];return z||(z=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:se}),l[Y]=z),z}(M,N);return K.formatToParts(B)},w=function(P,M){for(var N=y(P,M),B=[],K=0;K<N.length;K+=1){var U=N[K],G=U.type,se=U.value,Y=i[G];Y>=0&&(B[Y]=parseInt(se,10))}var z=B[3],ie=z===24?0:z,re=B[0]+"-"+B[1]+"-"+B[2]+" "+ie+":"+B[4]+":"+B[5]+":000",ne=+P;return(m.utc(re).valueOf()-(ne-=ne%1e3))/6e4},k=e.prototype;k.tz=function(P,M){P===void 0&&(P=F);var N=this.utcOffset(),B=this.toDate(),K=B.toLocaleString("en-US",{timeZone:P}),U=Math.round((B-new Date(K))/1e3/60),G=m(K).$set("millisecond",this.$ms).utcOffset(15*-Math.round(B.getTimezoneOffset()/15)-U,!0);if(M){var se=G.utcOffset();G=G.add(N-se,"minute")}return G.$x.$timezone=P,G},k.offsetName=function(P){var M=this.$x.$timezone||m.tz.guess(),N=y(this.valueOf(),M,{timeZoneName:P}).find(function(B){return B.type.toLowerCase()==="timezonename"});return N&&N.value};var S=k.startOf;k.startOf=function(P,M){if(!this.$x||!this.$x.$timezone)return S.call(this,P,M);var N=m(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return S.call(N,P,M).tz(this.$x.$timezone,!0)},m.tz=function(P,M,N){var B=N&&M,K=N||M||F,U=w(+m(),K);if(typeof P!="string")return m(P).tz(K);var G=function(ie,re,ne){var te=ie-60*re*1e3,le=w(te,ne);if(re===le)return[te,re];var we=w(te-=60*(le-re)*1e3,ne);return le===we?[te,le]:[ie-60*Math.min(le,we)*1e3,Math.max(le,we)]}(m.utc(P,B).valueOf(),U,K),se=G[0],Y=G[1],z=m(se).utcOffset(Y);return z.$x.$timezone=K,z},m.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},m.tz.setDefault=function(P){F=P}}})})(Iw);var A9=Iw.exports;const S9=Hi(A9);var Nw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l){var n=l.prototype,e=n.format;n.format=function(m){var F=this,y=this.$locale();if(!this.isValid())return e.bind(this)(m);var w=this.$utils(),k=(m||"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(S){switch(S){case"Q":return Math.ceil((F.$M+1)/3);case"Do":return y.ordinal(F.$D);case"gggg":return F.weekYear();case"GGGG":return F.isoWeekYear();case"wo":return y.ordinal(F.week(),"W");case"w":case"ww":return w.s(F.week(),S==="w"?1:2,"0");case"W":case"WW":return w.s(F.isoWeek(),S==="W"?1:2,"0");case"k":case"kk":return w.s(String(F.$H===0?24:F.$H),S==="k"?1:2,"0");case"X":return Math.floor(F.$d.getTime()/1e3);case"x":return F.$d.getTime();case"z":return"["+F.offsetName()+"]";case"zzz":return"["+F.offsetName("long")+"]";default:return S}});return e.bind(this)(k)}}})})(Nw);var k9=Nw.exports;const O9=Hi(k9);var Mw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l){l.prototype.isSameOrBefore=function(n,e){return this.isSame(n,e)||this.isBefore(n,e)}}})})(Mw);var R9=Mw.exports;const P9=Hi(R9);var Lw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l){l.prototype.isSameOrAfter=function(n,e){return this.isSame(n,e)||this.isAfter(n,e)}}})})(Lw);var I9=Lw.exports;const N9=Hi(I9);var Bw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l,n){var e=function(m,F){if(!F||!F.length||!F[0]||F.length===1&&!F[0].length)return null;var y;F.length===1&&F[0].length>0&&(F=F[0]),y=F[0];for(var w=1;w<F.length;w+=1)F[w].isValid()&&!F[w][m](y)||(y=F[w]);return y};n.max=function(){var m=[].slice.call(arguments,0);return e("isAfter",m)},n.min=function(){var m=[].slice.call(arguments,0);return e("isBefore",m)}}})})(Bw);var M9=Bw.exports;const L9=Hi(M9);var Uw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l,n){i=i||{};var e=l.prototype,m={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(w,k,S,P){return e.fromToBase(w,k,S,P)}n.en.relativeTime=m,e.fromToBase=function(w,k,S,P,M){for(var N,B,K,U=S.$locale().relativeTime||m,G=i.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"}],se=G.length,Y=0;Y<se;Y+=1){var z=G[Y];z.d&&(N=P?n(w).diff(S,z.d,!0):S.diff(w,z.d,!0));var ie=(i.rounding||Math.round)(Math.abs(N));if(K=N>0,ie<=z.r||!z.r){ie<=1&&Y>0&&(z=G[Y-1]);var re=U[z.l];M&&(ie=M(""+ie)),B=typeof re=="string"?re.replace("%d",ie):re(ie,k,z.l,K);break}}if(k)return B;var ne=K?U.future:U.past;return typeof ne=="function"?ne(B):ne.replace("%s",B)},e.to=function(w,k){return F(w,k,this,!0)},e.from=function(w,k){return F(w,k,this)};var y=function(w){return w.$u?n.utc():n()};e.toNow=function(w){return this.to(y(this),w)},e.fromNow=function(w){return this.from(y(this),w)}}})})(Uw);var B9=Uw.exports;const U9=Hi(B9);var j2={exports:{}};/**
30
+ */const Tf=typeof window<"u";function sT(r){return r.__esModule||r[Symbol.toStringTag]==="Module"}const un=Object.assign;function Ov(r,s){const i={};for(const l in s){const n=s[l];i[l]=ka(n)?n.map(r):r(n)}return i}const c1=()=>{},ka=Array.isArray,iT=/\/$/,aT=r=>r.replace(iT,"");function Rv(r,s,i="/"){let l,n={},e="",m="";const F=s.indexOf("#");let y=s.indexOf("?");return F<y&&F>=0&&(y=-1),y>-1&&(l=s.slice(0,y),e=s.slice(y+1,F>-1?F:s.length),n=r(e)),F>-1&&(l=l||s.slice(0,F),m=s.slice(F,s.length)),l=uT(l??s,i),{fullPath:l+(e&&"?")+e+m,path:l,query:n,hash:m}}function oT(r,s){const i=s.query?r(s.query):"";return s.path+(i&&"?")+i+(s.hash||"")}function KD(r,s){return!s||!r.toLowerCase().startsWith(s.toLowerCase())?r:r.slice(s.length)||"/"}function lT(r,s,i){const l=s.matched.length-1,n=i.matched.length-1;return l>-1&&l===n&&zf(s.matched[l],i.matched[n])&&xy(s.params,i.params)&&r(s.query)===r(i.query)&&s.hash===i.hash}function zf(r,s){return(r.aliasOf||r)===(s.aliasOf||s)}function xy(r,s){if(Object.keys(r).length!==Object.keys(s).length)return!1;for(const i in r)if(!cT(r[i],s[i]))return!1;return!0}function cT(r,s){return ka(r)?qD(r,s):ka(s)?qD(s,r):r===s}function qD(r,s){return ka(s)?r.length===s.length&&r.every((i,l)=>i===s[l]):r.length===1&&r[0]===s}function uT(r,s){if(r.startsWith("/"))return r;if(!r)return s;const i=s.split("/"),l=r.split("/"),n=l[l.length-1];(n===".."||n===".")&&l.push("");let e=i.length-1,m,F;for(m=0;m<l.length;m++)if(F=l[m],F!==".")if(F==="..")e>1&&e--;else break;return i.slice(0,e).join("/")+"/"+l.slice(m-(m===l.length?1:0)).join("/")}var Vf;(function(r){r.pop="pop",r.push="push"})(Vf||(Vf={}));var nu;(function(r){r.back="back",r.forward="forward",r.unknown=""})(nu||(nu={}));const Pv="";function Cy(r){if(!r)if(Tf){const s=document.querySelector("base");r=s&&s.getAttribute("href")||"/",r=r.replace(/^\w+:\/\/[^\/]+/,"")}else r="/";return r[0]!=="/"&&r[0]!=="#"&&(r="/"+r),aT(r)}const fT=/^[^#]+#/;function Ty(r,s){return r.replace(fT,"#")+s}function hT(r,s){const i=document.documentElement.getBoundingClientRect(),l=r.getBoundingClientRect();return{behavior:s.behavior,left:l.left-i.left-(s.left||0),top:l.top-i.top-(s.top||0)}}const Fm=()=>({left:window.pageXOffset,top:window.pageYOffset});function dT(r){let s;if("el"in r){const i=r.el,l=typeof i=="string"&&i.startsWith("#"),n=typeof i=="string"?l?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!n)return;s=hT(n,r)}else s=r;"scrollBehavior"in document.documentElement.style?window.scrollTo(s):window.scrollTo(s.left!=null?s.left:window.pageXOffset,s.top!=null?s.top:window.pageYOffset)}function QD(r,s){return(history.state?history.state.position-s:-1)+r}const F4=new Map;function pT(r,s){F4.set(r,s)}function mT(r){const s=F4.get(r);return F4.delete(r),s}let gT=()=>location.protocol+"//"+location.host;function Ay(r,s){const{pathname:i,search:l,hash:n}=s,e=r.indexOf("#");if(e>-1){let F=n.includes(r.slice(e))?r.slice(e).length:1,y=n.slice(F);return y[0]!=="/"&&(y="/"+y),KD(y,"")}return KD(i,r)+l+n}function vT(r,s,i,l){let n=[],e=[],m=null;const F=({state:P})=>{const M=Ay(r,location),N=i.value,B=s.value;let K=0;if(P){if(i.value=M,s.value=P,m&&m===N){m=null;return}K=B?P.position-B.position:0}else l(M);n.forEach(U=>{U(i.value,N,{delta:K,type:Vf.pop,direction:K?K>0?nu.forward:nu.back:nu.unknown})})};function y(){m=i.value}function w(P){n.push(P);const M=()=>{const N=n.indexOf(P);N>-1&&n.splice(N,1)};return e.push(M),M}function k(){const{history:P}=window;P.state&&P.replaceState(un({},P.state,{scroll:Fm()}),"")}function S(){for(const P of e)P();e=[],window.removeEventListener("popstate",F),window.removeEventListener("beforeunload",k)}return window.addEventListener("popstate",F),window.addEventListener("beforeunload",k,{passive:!0}),{pauseListeners:y,listen:w,destroy:S}}function XD(r,s,i,l=!1,n=!1){return{back:r,current:s,forward:i,replaced:l,position:window.history.length,scroll:n?Fm():null}}function bT(r){const{history:s,location:i}=window,l={value:Ay(r,i)},n={value:s.state};n.value||e(l.value,{back:null,current:l.value,forward:null,position:s.length-1,replaced:!0,scroll:null},!0);function e(y,w,k){const S=r.indexOf("#"),P=S>-1?(i.host&&document.querySelector("base")?r:r.slice(S))+y:gT()+r+y;try{s[k?"replaceState":"pushState"](w,"",P),n.value=w}catch(M){console.error(M),i[k?"replace":"assign"](P)}}function m(y,w){const k=un({},s.state,XD(n.value.back,y,n.value.forward,!0),w,{position:n.value.position});e(y,k,!0),l.value=y}function F(y,w){const k=un({},n.value,s.state,{forward:y,scroll:Fm()});e(k.current,k,!0);const S=un({},XD(l.value,y,null),{position:k.position+1},w);e(y,S,!1),l.value=y}return{location:l,state:n,push:F,replace:m}}function DT(r){r=Cy(r);const s=bT(r),i=vT(r,s.state,s.location,s.replace);function l(e,m=!0){m||i.pauseListeners(),history.go(e)}const n=un({location:"",base:r,go:l,createHref:Ty.bind(null,r)},s,i);return Object.defineProperty(n,"location",{enumerable:!0,get:()=>s.location.value}),Object.defineProperty(n,"state",{enumerable:!0,get:()=>s.state.value}),n}function FT(r=""){let s=[],i=[Pv],l=0;r=Cy(r);function n(F){l++,l===i.length||i.splice(l),i.push(F)}function e(F,y,{direction:w,delta:k}){const S={direction:w,delta:k,type:Vf.pop};for(const P of s)P(F,y,S)}const m={location:Pv,state:{},base:r,createHref:Ty.bind(null,r),replace(F){i.splice(l--,1),n(F)},push(F,y){n(F)},listen(F){return s.push(F),()=>{const y=s.indexOf(F);y>-1&&s.splice(y,1)}},destroy(){s=[],i=[Pv],l=0},go(F,y=!0){const w=this.location,k=F<0?nu.back:nu.forward;l=Math.max(0,Math.min(l+F,i.length-1)),y&&e(this.location,w,{direction:k,delta:F})}};return Object.defineProperty(m,"location",{enumerable:!0,get:()=>i[l]}),m}function _T(r){return typeof r=="string"||r&&typeof r=="object"}function Sy(r){return typeof r=="string"||typeof r=="symbol"}const El={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},ky=Symbol("");var JD;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})(JD||(JD={}));function Gf(r,s){return un(new Error,{type:r,[ky]:!0},s)}function Lo(r,s){return r instanceof Error&&ky in r&&(s==null||!!(r.type&s))}const ZD="[^/]+?",yT={sensitive:!1,strict:!1,start:!0,end:!0},wT=/[.+*?^${}()[\]/\\]/g;function ET(r,s){const i=un({},yT,s),l=[];let n=i.start?"^":"";const e=[];for(const w of r){const k=w.length?[]:[90];i.strict&&!w.length&&(n+="/");for(let S=0;S<w.length;S++){const P=w[S];let M=40+(i.sensitive?.25:0);if(P.type===0)S||(n+="/"),n+=P.value.replace(wT,"\\$&"),M+=40;else if(P.type===1){const{value:N,repeatable:B,optional:K,regexp:U}=P;e.push({name:N,repeatable:B,optional:K});const G=U||ZD;if(G!==ZD){M+=10;try{new RegExp(`(${G})`)}catch(Y){throw new Error(`Invalid custom RegExp for param "${N}" (${G}): `+Y.message)}}let se=B?`((?:${G})(?:/(?:${G}))*)`:`(${G})`;S||(se=K&&w.length<2?`(?:/${se})`:"/"+se),K&&(se+="?"),n+=se,M+=20,K&&(M+=-8),B&&(M+=-20),G===".*"&&(M+=-50)}k.push(M)}l.push(k)}if(i.strict&&i.end){const w=l.length-1;l[w][l[w].length-1]+=.7000000000000001}i.strict||(n+="/?"),i.end?n+="$":i.strict&&(n+="(?:/|$)");const m=new RegExp(n,i.sensitive?"":"i");function F(w){const k=w.match(m),S={};if(!k)return null;for(let P=1;P<k.length;P++){const M=k[P]||"",N=e[P-1];S[N.name]=M&&N.repeatable?M.split("/"):M}return S}function y(w){let k="",S=!1;for(const P of r){(!S||!k.endsWith("/"))&&(k+="/"),S=!1;for(const M of P)if(M.type===0)k+=M.value;else if(M.type===1){const{value:N,repeatable:B,optional:K}=M,U=N in w?w[N]:"";if(ka(U)&&!B)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const G=ka(U)?U.join("/"):U;if(!G)if(K)P.length<2&&(k.endsWith("/")?k=k.slice(0,-1):S=!0);else throw new Error(`Missing required param "${N}"`);k+=G}}return k||"/"}return{re:m,score:l,keys:e,parse:F,stringify:y}}function xT(r,s){let i=0;for(;i<r.length&&i<s.length;){const l=s[i]-r[i];if(l)return l;i++}return r.length<s.length?r.length===1&&r[0]===40+40?-1:1:r.length>s.length?s.length===1&&s[0]===40+40?1:-1:0}function CT(r,s){let i=0;const l=r.score,n=s.score;for(;i<l.length&&i<n.length;){const e=xT(l[i],n[i]);if(e)return e;i++}if(Math.abs(n.length-l.length)===1){if(e3(l))return 1;if(e3(n))return-1}return n.length-l.length}function e3(r){const s=r[r.length-1];return r.length>0&&s[s.length-1]<0}const TT={type:0,value:""},AT=/[a-zA-Z0-9_]/;function ST(r){if(!r)return[[]];if(r==="/")return[[TT]];if(!r.startsWith("/"))throw new Error(`Invalid path "${r}"`);function s(M){throw new Error(`ERR (${i})/"${w}": ${M}`)}let i=0,l=i;const n=[];let e;function m(){e&&n.push(e),e=[]}let F=0,y,w="",k="";function S(){w&&(i===0?e.push({type:0,value:w}):i===1||i===2||i===3?(e.length>1&&(y==="*"||y==="+")&&s(`A repeatable param (${w}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:w,regexp:k,repeatable:y==="*"||y==="+",optional:y==="*"||y==="?"})):s("Invalid state to consume buffer"),w="")}function P(){w+=y}for(;F<r.length;){if(y=r[F++],y==="\\"&&i!==2){l=i,i=4;continue}switch(i){case 0:y==="/"?(w&&S(),m()):y===":"?(S(),i=1):P();break;case 4:P(),i=l;break;case 1:y==="("?i=2:AT.test(y)?P():(S(),i=0,y!=="*"&&y!=="?"&&y!=="+"&&F--);break;case 2:y===")"?k[k.length-1]=="\\"?k=k.slice(0,-1)+y:i=3:k+=y;break;case 3:S(),i=0,y!=="*"&&y!=="?"&&y!=="+"&&F--,k="";break;default:s("Unknown state");break}}return i===2&&s(`Unfinished custom RegExp for param "${w}"`),S(),m(),n}function kT(r,s,i){const l=ET(ST(r.path),i),n=un(l,{record:r,parent:s,children:[],alias:[]});return s&&!n.record.aliasOf==!s.record.aliasOf&&s.children.push(n),n}function OT(r,s){const i=[],l=new Map;s=n3({strict:!1,end:!0,sensitive:!1},s);function n(k){return l.get(k)}function e(k,S,P){const M=!P,N=RT(k);N.aliasOf=P&&P.record;const B=n3(s,k),K=[N];if("alias"in k){const se=typeof k.alias=="string"?[k.alias]:k.alias;for(const Y of se)K.push(un({},N,{components:P?P.record.components:N.components,path:Y,aliasOf:P?P.record:N}))}let U,G;for(const se of K){const{path:Y}=se;if(S&&Y[0]!=="/"){const z=S.record.path,ie=z[z.length-1]==="/"?"":"/";se.path=S.record.path+(Y&&ie+Y)}if(U=kT(se,S,B),P?P.alias.push(U):(G=G||U,G!==U&&G.alias.push(U),M&&k.name&&!r3(U)&&m(k.name)),N.children){const z=N.children;for(let ie=0;ie<z.length;ie++)e(z[ie],U,P&&P.children[ie])}P=P||U,(U.record.components&&Object.keys(U.record.components).length||U.record.name||U.record.redirect)&&y(U)}return G?()=>{m(G)}:c1}function m(k){if(Sy(k)){const S=l.get(k);S&&(l.delete(k),i.splice(i.indexOf(S),1),S.children.forEach(m),S.alias.forEach(m))}else{const S=i.indexOf(k);S>-1&&(i.splice(S,1),k.record.name&&l.delete(k.record.name),k.children.forEach(m),k.alias.forEach(m))}}function F(){return i}function y(k){let S=0;for(;S<i.length&&CT(k,i[S])>=0&&(k.record.path!==i[S].record.path||!Oy(k,i[S]));)S++;i.splice(S,0,k),k.record.name&&!r3(k)&&l.set(k.record.name,k)}function w(k,S){let P,M={},N,B;if("name"in k&&k.name){if(P=l.get(k.name),!P)throw Gf(1,{location:k});B=P.record.name,M=un(t3(S.params,P.keys.filter(G=>!G.optional).map(G=>G.name)),k.params&&t3(k.params,P.keys.map(G=>G.name))),N=P.stringify(M)}else if("path"in k)N=k.path,P=i.find(G=>G.re.test(N)),P&&(M=P.parse(N),B=P.record.name);else{if(P=S.name?l.get(S.name):i.find(G=>G.re.test(S.path)),!P)throw Gf(1,{location:k,currentLocation:S});B=P.record.name,M=un({},S.params,k.params),N=P.stringify(M)}const K=[];let U=P;for(;U;)K.unshift(U.record),U=U.parent;return{name:B,path:N,params:M,matched:K,meta:IT(K)}}return r.forEach(k=>e(k)),{addRoute:e,resolve:w,removeRoute:m,getRoutes:F,getRecordMatcher:n}}function t3(r,s){const i={};for(const l of s)l in r&&(i[l]=r[l]);return i}function RT(r){return{path:r.path,redirect:r.redirect,name:r.name,meta:r.meta||{},aliasOf:void 0,beforeEnter:r.beforeEnter,props:PT(r),children:r.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in r?r.components||null:r.component&&{default:r.component}}}function PT(r){const s={},i=r.props||!1;if("component"in r)s.default=i;else for(const l in r.components)s[l]=typeof i=="object"?i[l]:i;return s}function r3(r){for(;r;){if(r.record.aliasOf)return!0;r=r.parent}return!1}function IT(r){return r.reduce((s,i)=>un(s,i.meta),{})}function n3(r,s){const i={};for(const l in r)i[l]=l in s?s[l]:r[l];return i}function Oy(r,s){return s.children.some(i=>i===r||Oy(r,i))}const Ry=/#/g,NT=/&/g,MT=/\//g,LT=/=/g,BT=/\?/g,Py=/\+/g,UT=/%5B/g,HT=/%5D/g,Iy=/%5E/g,$T=/%60/g,Ny=/%7B/g,WT=/%7C/g,My=/%7D/g,zT=/%20/g;function Eb(r){return encodeURI(""+r).replace(WT,"|").replace(UT,"[").replace(HT,"]")}function VT(r){return Eb(r).replace(Ny,"{").replace(My,"}").replace(Iy,"^")}function _4(r){return Eb(r).replace(Py,"%2B").replace(zT,"+").replace(Ry,"%23").replace(NT,"%26").replace($T,"`").replace(Ny,"{").replace(My,"}").replace(Iy,"^")}function GT(r){return _4(r).replace(LT,"%3D")}function jT(r){return Eb(r).replace(Ry,"%23").replace(BT,"%3F")}function YT(r){return r==null?"":jT(r).replace(MT,"%2F")}function L2(r){try{return decodeURIComponent(""+r)}catch{}return""+r}function KT(r){const s={};if(r===""||r==="?")return s;const l=(r[0]==="?"?r.slice(1):r).split("&");for(let n=0;n<l.length;++n){const e=l[n].replace(Py," "),m=e.indexOf("="),F=L2(m<0?e:e.slice(0,m)),y=m<0?null:L2(e.slice(m+1));if(F in s){let w=s[F];ka(w)||(w=s[F]=[w]),w.push(y)}else s[F]=y}return s}function s3(r){let s="";for(let i in r){const l=r[i];if(i=GT(i),l==null){l!==void 0&&(s+=(s.length?"&":"")+i);continue}(ka(l)?l.map(e=>e&&_4(e)):[l&&_4(l)]).forEach(e=>{e!==void 0&&(s+=(s.length?"&":"")+i,e!=null&&(s+="="+e))})}return s}function qT(r){const s={};for(const i in r){const l=r[i];l!==void 0&&(s[i]=ka(l)?l.map(n=>n==null?null:""+n):l==null?l:""+l)}return s}const QT=Symbol(""),i3=Symbol(""),_m=Symbol(""),xb=Symbol(""),y4=Symbol("");function Kh(){let r=[];function s(l){return r.push(l),()=>{const n=r.indexOf(l);n>-1&&r.splice(n,1)}}function i(){r=[]}return{add:s,list:()=>r.slice(),reset:i}}function Ol(r,s,i,l,n){const e=l&&(l.enterCallbacks[n]=l.enterCallbacks[n]||[]);return()=>new Promise((m,F)=>{const y=S=>{S===!1?F(Gf(4,{from:i,to:s})):S instanceof Error?F(S):_T(S)?F(Gf(2,{from:s,to:S})):(e&&l.enterCallbacks[n]===e&&typeof S=="function"&&e.push(S),m())},w=r.call(l&&l.instances[n],s,i,y);let k=Promise.resolve(w);r.length<3&&(k=k.then(y)),k.catch(S=>F(S))})}function Iv(r,s,i,l){const n=[];for(const e of r)for(const m in e.components){let F=e.components[m];if(!(s!=="beforeRouteEnter"&&!e.instances[m]))if(XT(F)){const w=(F.__vccOpts||F)[s];w&&n.push(Ol(w,i,l,e,m))}else{let y=F();n.push(()=>y.then(w=>{if(!w)return Promise.reject(new Error(`Couldn't resolve component "${m}" at "${e.path}"`));const k=sT(w)?w.default:w;e.components[m]=k;const P=(k.__vccOpts||k)[s];return P&&Ol(P,i,l,e,m)()}))}}return n}function XT(r){return typeof r=="object"||"displayName"in r||"props"in r||"__vccOpts"in r}function a3(r){const s=si(_m),i=si(xb),l=Vr(()=>s.resolve(tr(r.to))),n=Vr(()=>{const{matched:y}=l.value,{length:w}=y,k=y[w-1],S=i.matched;if(!k||!S.length)return-1;const P=S.findIndex(zf.bind(null,k));if(P>-1)return P;const M=o3(y[w-2]);return w>1&&o3(k)===M&&S[S.length-1].path!==M?S.findIndex(zf.bind(null,y[w-2])):P}),e=Vr(()=>n.value>-1&&tA(i.params,l.value.params)),m=Vr(()=>n.value>-1&&n.value===i.matched.length-1&&xy(i.params,l.value.params));function F(y={}){return eA(y)?s[tr(r.replace)?"replace":"push"](tr(r.to)).catch(c1):Promise.resolve()}return{route:l,href:Vr(()=>l.value.href),isActive:e,isExactActive:m,navigate:F}}const JT=Cs({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:a3,setup(r,{slots:s}){const i=Ul(a3(r)),{options:l}=si(_m),n=Vr(()=>({[l3(r.activeClass,l.linkActiveClass,"router-link-active")]:i.isActive,[l3(r.exactActiveClass,l.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const e=s.default&&s.default(i);return r.custom?e:fu("a",{"aria-current":i.isExactActive?r.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:n.value},e)}}}),ZT=JT;function eA(r){if(!(r.metaKey||r.altKey||r.ctrlKey||r.shiftKey)&&!r.defaultPrevented&&!(r.button!==void 0&&r.button!==0)){if(r.currentTarget&&r.currentTarget.getAttribute){const s=r.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(s))return}return r.preventDefault&&r.preventDefault(),!0}}function tA(r,s){for(const i in s){const l=s[i],n=r[i];if(typeof l=="string"){if(l!==n)return!1}else if(!ka(n)||n.length!==l.length||l.some((e,m)=>e!==n[m]))return!1}return!0}function o3(r){return r?r.aliasOf?r.aliasOf.path:r.path:""}const l3=(r,s,i)=>r??s??i,rA=Cs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(r,{attrs:s,slots:i}){const l=si(y4),n=Vr(()=>r.route||l.value),e=si(i3,0),m=Vr(()=>{let w=tr(e);const{matched:k}=n.value;let S;for(;(S=k[w])&&!S.components;)w++;return w}),F=Vr(()=>n.value.matched[m.value]);n1(i3,Vr(()=>m.value+1)),n1(QT,F),n1(y4,n);const y=Yt();return bn(()=>[y.value,F.value,r.name],([w,k,S],[P,M,N])=>{k&&(k.instances[S]=w,M&&M!==k&&w&&w===P&&(k.leaveGuards.size||(k.leaveGuards=M.leaveGuards),k.updateGuards.size||(k.updateGuards=M.updateGuards))),w&&k&&(!M||!zf(k,M)||!P)&&(k.enterCallbacks[S]||[]).forEach(B=>B(w))},{flush:"post"}),()=>{const w=n.value,k=r.name,S=F.value,P=S&&S.components[k];if(!P)return c3(i.default,{Component:P,route:w});const M=S.props[k],N=M?M===!0?w.params:typeof M=="function"?M(w):M:null,K=fu(P,un({},N,s,{onVnodeUnmounted:U=>{U.component.isUnmounted&&(S.instances[k]=null)},ref:y}));return c3(i.default,{Component:K,route:w})||K}}});function c3(r,s){if(!r)return null;const i=r(s);return i.length===1?i[0]:i}const nA=rA;function sA(r){const s=OT(r.routes,r),i=r.parseQuery||KT,l=r.stringifyQuery||s3,n=r.history,e=Kh(),m=Kh(),F=Kh(),y=Pf(El);let w=El;Tf&&r.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const k=Ov.bind(null,J=>""+J),S=Ov.bind(null,YT),P=Ov.bind(null,L2);function M(J,We){let be,st;return Sy(J)?(be=s.getRecordMatcher(J),st=We):st=J,s.addRoute(st,be)}function N(J){const We=s.getRecordMatcher(J);We&&s.removeRoute(We)}function B(){return s.getRoutes().map(J=>J.record)}function K(J){return!!s.getRecordMatcher(J)}function U(J,We){if(We=un({},We||y.value),typeof J=="string"){const ce=Rv(i,J,We.path),Me=s.resolve({path:ce.path},We),Be=n.createHref(ce.fullPath);return un(ce,Me,{params:P(Me.params),hash:L2(ce.hash),redirectedFrom:void 0,href:Be})}let be;if("path"in J)be=un({},J,{path:Rv(i,J.path,We.path).path});else{const ce=un({},J.params);for(const Me in ce)ce[Me]==null&&delete ce[Me];be=un({},J,{params:S(ce)}),We.params=S(We.params)}const st=s.resolve(be,We),Vt=J.hash||"";st.params=k(P(st.params));const X=oT(l,un({},J,{hash:VT(Vt),path:st.path})),ee=n.createHref(X);return un({fullPath:X,hash:Vt,query:l===s3?qT(J.query):J.query||{}},st,{redirectedFrom:void 0,href:ee})}function G(J){return typeof J=="string"?Rv(i,J,y.value.path):un({},J)}function se(J,We){if(w!==J)return Gf(8,{from:We,to:J})}function Y(J){return re(J)}function z(J){return Y(un(G(J),{replace:!0}))}function ie(J){const We=J.matched[J.matched.length-1];if(We&&We.redirect){const{redirect:be}=We;let st=typeof be=="function"?be(J):be;return typeof st=="string"&&(st=st.includes("?")||st.includes("#")?st=G(st):{path:st},st.params={}),un({query:J.query,hash:J.hash,params:"path"in st?{}:J.params},st)}}function re(J,We){const be=w=U(J),st=y.value,Vt=J.state,X=J.force,ee=J.replace===!0,ce=ie(be);if(ce)return re(un(G(ce),{state:typeof ce=="object"?un({},Vt,ce.state):Vt,force:X,replace:ee}),We||be);const Me=be;Me.redirectedFrom=We;let Be;return!X&&lT(l,st,be)&&(Be=Gf(16,{to:Me,from:st}),he(st,st,!0,!1)),(Be?Promise.resolve(Be):le(Me,st)).catch(Ge=>Lo(Ge)?Lo(Ge,2)?Ge:ze(Ge):ut(Ge,Me,st)).then(Ge=>{if(Ge){if(Lo(Ge,2))return re(un({replace:ee},G(Ge.to),{state:typeof Ge.to=="object"?un({},Vt,Ge.to.state):Vt,force:X}),We||Me)}else Ge=Pe(Me,st,!0,ee,Vt);return we(Me,st,Ge),Ge})}function ne(J,We){const be=se(J,We);return be?Promise.reject(be):Promise.resolve()}function te(J){const We=$e.values().next().value;return We&&typeof We.runWithContext=="function"?We.runWithContext(J):J()}function le(J,We){let be;const[st,Vt,X]=iA(J,We);be=Iv(st.reverse(),"beforeRouteLeave",J,We);for(const ce of st)ce.leaveGuards.forEach(Me=>{be.push(Ol(Me,J,We))});const ee=ne.bind(null,J,We);return be.push(ee),Ne(be).then(()=>{be=[];for(const ce of e.list())be.push(Ol(ce,J,We));return be.push(ee),Ne(be)}).then(()=>{be=Iv(Vt,"beforeRouteUpdate",J,We);for(const ce of Vt)ce.updateGuards.forEach(Me=>{be.push(Ol(Me,J,We))});return be.push(ee),Ne(be)}).then(()=>{be=[];for(const ce of X)if(ce.beforeEnter)if(ka(ce.beforeEnter))for(const Me of ce.beforeEnter)be.push(Ol(Me,J,We));else be.push(Ol(ce.beforeEnter,J,We));return be.push(ee),Ne(be)}).then(()=>(J.matched.forEach(ce=>ce.enterCallbacks={}),be=Iv(X,"beforeRouteEnter",J,We),be.push(ee),Ne(be))).then(()=>{be=[];for(const ce of m.list())be.push(Ol(ce,J,We));return be.push(ee),Ne(be)}).catch(ce=>Lo(ce,8)?ce:Promise.reject(ce))}function we(J,We,be){F.list().forEach(st=>te(()=>st(J,We,be)))}function Pe(J,We,be,st,Vt){const X=se(J,We);if(X)return X;const ee=We===El,ce=Tf?history.state:{};be&&(st||ee?n.replace(J.fullPath,un({scroll:ee&&ce&&ce.scroll},Vt)):n.push(J.fullPath,Vt)),y.value=J,he(J,We,be,ee),ze()}let xe;function ve(){xe||(xe=n.listen((J,We,be)=>{if(!De.listening)return;const st=U(J),Vt=ie(st);if(Vt){re(un(Vt,{replace:!0}),st).catch(c1);return}w=st;const X=y.value;Tf&&pT(QD(X.fullPath,be.delta),Fm()),le(st,X).catch(ee=>Lo(ee,12)?ee:Lo(ee,2)?(re(ee.to,st).then(ce=>{Lo(ce,20)&&!be.delta&&be.type===Vf.pop&&n.go(-1,!1)}).catch(c1),Promise.reject()):(be.delta&&n.go(-be.delta,!1),ut(ee,st,X))).then(ee=>{ee=ee||Pe(st,X,!1),ee&&(be.delta&&!Lo(ee,8)?n.go(-be.delta,!1):be.type===Vf.pop&&Lo(ee,20)&&n.go(-1,!1)),we(st,X,ee)}).catch(c1)}))}let Le=Kh(),qe=Kh(),Ie;function ut(J,We,be){ze(J);const st=qe.list();return st.length?st.forEach(Vt=>Vt(J,We,be)):console.error(J),Promise.reject(J)}function dt(){return Ie&&y.value!==El?Promise.resolve():new Promise((J,We)=>{Le.add([J,We])})}function ze(J){return Ie||(Ie=!J,ve(),Le.list().forEach(([We,be])=>J?be(J):We()),Le.reset()),J}function he(J,We,be,st){const{scrollBehavior:Vt}=r;if(!Tf||!Vt)return Promise.resolve();const X=!be&&mT(QD(J.fullPath,0))||(st||!be)&&history.state&&history.state.scroll||null;return oo().then(()=>Vt(J,We,X)).then(ee=>ee&&dT(ee)).catch(ee=>ut(ee,J,We))}const He=J=>n.go(J);let et;const $e=new Set,De={currentRoute:y,listening:!0,addRoute:M,removeRoute:N,hasRoute:K,getRoutes:B,resolve:U,options:r,push:Y,replace:z,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:e.add,beforeResolve:m.add,afterEach:F.add,onError:qe.add,isReady:dt,install(J){const We=this;J.component("RouterLink",ZT),J.component("RouterView",nA),J.config.globalProperties.$router=We,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>tr(y)}),Tf&&!et&&y.value===El&&(et=!0,Y(n.location).catch(Vt=>{}));const be={};for(const Vt in El)Object.defineProperty(be,Vt,{get:()=>y.value[Vt],enumerable:!0});J.provide(_m,We),J.provide(xb,K4(be)),J.provide(y4,y);const st=J.unmount;$e.add(J),J.unmount=function(){$e.delete(J),$e.size<1&&(w=El,xe&&xe(),xe=null,y.value=El,et=!1,Ie=!1),st()}}};function Ne(J){return J.reduce((We,be)=>We.then(()=>te(be)),Promise.resolve())}return De}function iA(r,s){const i=[],l=[],n=[],e=Math.max(s.matched.length,r.matched.length);for(let m=0;m<e;m++){const F=s.matched[m];F&&(r.matched.find(w=>zf(w,F))?l.push(F):i.push(F));const y=r.matched[m];y&&(s.matched.find(w=>zf(w,y))||n.push(y))}return[i,l,n]}function aA(){return si(_m)}function oA(){return si(xb)}function w4(r,s={},i){for(const l in r){const n=r[l],e=i?`${i}:${l}`:l;typeof n=="object"&&n!==null?w4(n,s,e):typeof n=="function"&&(s[e]=n)}return s}const lA={run:r=>r()},cA=()=>lA,Ly=typeof console.createTask<"u"?console.createTask:cA;function uA(r,s){const i=s.shift(),l=Ly(i);return r.reduce((n,e)=>n.then(()=>l.run(()=>e(...s))),Promise.resolve())}function fA(r,s){const i=s.shift(),l=Ly(i);return Promise.all(r.map(n=>l.run(()=>n(...s))))}function Nv(r,s){for(const i of[...r])i(s)}class hA{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(s,i,l={}){if(!s||typeof i!="function")return()=>{};const n=s;let e;for(;this._deprecatedHooks[s];)e=this._deprecatedHooks[s],s=e.to;if(e&&!l.allowDeprecated){let m=e.message;m||(m=`${n} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(m)||(console.warn(m),this._deprecatedMessages.add(m))}if(!i.name)try{Object.defineProperty(i,"name",{get:()=>"_"+s.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[s]=this._hooks[s]||[],this._hooks[s].push(i),()=>{i&&(this.removeHook(s,i),i=void 0)}}hookOnce(s,i){let l,n=(...e)=>(typeof l=="function"&&l(),l=void 0,n=void 0,i(...e));return l=this.hook(s,n),l}removeHook(s,i){if(this._hooks[s]){const l=this._hooks[s].indexOf(i);l!==-1&&this._hooks[s].splice(l,1),this._hooks[s].length===0&&delete this._hooks[s]}}deprecateHook(s,i){this._deprecatedHooks[s]=typeof i=="string"?{to:i}:i;const l=this._hooks[s]||[];delete this._hooks[s];for(const n of l)this.hook(s,n)}deprecateHooks(s){Object.assign(this._deprecatedHooks,s);for(const i in s)this.deprecateHook(i,s[i])}addHooks(s){const i=w4(s),l=Object.keys(i).map(n=>this.hook(n,i[n]));return()=>{for(const n of l.splice(0,l.length))n()}}removeHooks(s){const i=w4(s);for(const l in i)this.removeHook(l,i[l])}removeAllHooks(){for(const s in this._hooks)delete this._hooks[s]}callHook(s,...i){return i.unshift(s),this.callHookWith(uA,s,...i)}callHookParallel(s,...i){return i.unshift(s),this.callHookWith(fA,s,...i)}callHookWith(s,i,...l){const n=this._before||this._after?{name:i,args:l,context:{}}:void 0;this._before&&Nv(this._before,n);const e=s(i in this._hooks?[...this._hooks[i]]:[],l);return e instanceof Promise?e.finally(()=>{this._after&&n&&Nv(this._after,n)}):(this._after&&n&&Nv(this._after,n),e)}beforeEach(s){return this._before=this._before||[],this._before.push(s),()=>{if(this._before!==void 0){const i=this._before.indexOf(s);i!==-1&&this._before.splice(i,1)}}}afterEach(s){return this._after=this._after||[],this._after.push(s),()=>{if(this._after!==void 0){const i=this._after.indexOf(s);i!==-1&&this._after.splice(i,1)}}}}function dA(){return new hA}function pA(r){return Array.isArray(r)?r:[r]}const mA=["title","titleTemplate","script","style","noscript"],w2=["base","meta","link","style","script","noscript"],gA=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],vA=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],By=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],bA=typeof window<"u";function Uy(r){let s=9;for(let i=0;i<r.length;)s=Math.imul(s^r.charCodeAt(i++),9**9);return((s^s>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function u3(r){return r._h||Uy(r._d?r._d:`${r.tag}:${r.textContent||r.innerHTML||""}:${Object.entries(r.props).map(([s,i])=>`${s}:${String(i)}`).join(",")}`)}function Hy(r,s){const{props:i,tag:l}=r;if(vA.includes(l))return l;if(l==="link"&&i.rel==="canonical")return"canonical";if(i.charset)return"charset";const n=["id"];l==="meta"&&n.push("name","property","http-equiv");for(const e of n)if(typeof i[e]<"u"){const m=String(i[e]);return s&&!s(m)?!1:`${l}:${e}:${m}`}return!1}function f3(r,s){return r==null?s||null:typeof r=="function"?r(s):r}async function DA(r,s,i){const l={tag:r,props:await $y(typeof s=="object"&&typeof s!="function"&&!(s instanceof Promise)?{...s}:{[["script","noscript","style"].includes(r)?"innerHTML":"textContent"]:s},["templateParams","titleTemplate"].includes(r))};return By.forEach(n=>{const e=typeof l.props[n]<"u"?l.props[n]:i[n];typeof e<"u"&&((!["innerHTML","textContent"].includes(n)||mA.includes(l.tag))&&(l[n]=e),delete l.props[n])}),l.props.body&&(l.tagPosition="bodyClose",delete l.props.body),l.props.children&&(l.innerHTML=l.props.children,delete l.props.children),l.tag==="script"&&(typeof l.innerHTML=="object"&&(l.innerHTML=JSON.stringify(l.innerHTML),l.props.type=l.props.type||"application/json"),l.innerHTML&&["application/ld+json","application/json"].includes(l.props.type)&&(l.innerHTML=l.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(l.props.content)?l.props.content.map(n=>({...l,props:{...l.props,content:n}})):l}function FA(r){return typeof r=="object"&&!Array.isArray(r)&&(r=Object.keys(r).filter(s=>r[s])),(Array.isArray(r)?r.join(" "):r).split(" ").filter(s=>s.trim()).filter(Boolean).join(" ")}async function $y(r,s){for(const i of Object.keys(r)){if(i==="class"){r[i]=FA(r[i]);continue}if(r[i]instanceof Promise&&(r[i]=await r[i]),!s&&!By.includes(i)){const l=String(r[i]),n=i.startsWith("data-");l==="true"||l===""?r[i]=n?"true":!0:r[i]||(n&&l==="false"?r[i]="false":delete r[i])}}return r}const _A=10;async function yA(r){const s=[];return Object.entries(r.resolvedInput).filter(([i,l])=>typeof l<"u"&&gA.includes(i)).forEach(([i,l])=>{const n=pA(l);s.push(...n.map(e=>DA(i,e,r)).flat())}),(await Promise.all(s)).flat().filter(Boolean).map((i,l)=>(i._e=r._i,r.mode&&(i._m=r.mode),i._p=(r._i<<_A)+l,i))}const h3={base:-10,title:10},d3={critical:-80,high:-10,low:20};function B2(r){let s=100;const i=r.tagPriority;return typeof i=="number"?i:(r.tag==="meta"?(r.props["http-equiv"]==="content-security-policy"&&(s=-30),r.props.charset&&(s=-20),r.props.name==="viewport"&&(s=-15)):r.tag==="link"&&r.props.rel==="preconnect"?s=20:r.tag in h3&&(s=h3[r.tag]),typeof i=="string"&&i in d3?s+d3[i]:s)}const wA=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],xl="%separator";function Kc(r,s,i){if(typeof r!="string"||!r.includes("%"))return r;function l(m){let F;return["s","pageTitle"].includes(m)?F=s.pageTitle:m.includes(".")?F=m.split(".").reduce((y,w)=>y&&y[w]||void 0,s):F=s[m],typeof F<"u"?(F||"").replace(/"/g,'\\"'):!1}let n=r;try{n=decodeURI(r)}catch{}return(n.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(m=>{const F=l(m.slice(1));typeof F=="string"&&(r=r.replace(new RegExp(`\\${m}(\\W|$)`,"g"),(y,w)=>`${F}${w}`).trim())}),r.includes(xl)&&(r.endsWith(xl)&&(r=r.slice(0,-xl.length).trim()),r.startsWith(xl)&&(r=r.slice(xl.length).trim()),r=r.replace(new RegExp(`\\${xl}\\s*\\${xl}`,"g"),xl),r=Kc(r,{separator:i},i)),r}async function EA(r){const s={tag:r.tagName.toLowerCase(),props:await $y(r.getAttributeNames().reduce((i,l)=>({...i,[l]:r.getAttribute(l)}),{})),innerHTML:r.innerHTML};return s._d=Hy(s),s}async function xA(r,s={}){var k;const i=s.document||r.resolvedOptions.document;if(!i)return;const l={shouldRender:r.dirty,tags:[]};if(await r.hooks.callHook("dom:beforeRender",l),!l.shouldRender)return;const n=(await r.resolveTags()).map(S=>({tag:S,id:w2.includes(S.tag)?u3(S):S.tag,shouldRender:!0}));let e=r._dom;if(!e){e={elMap:{htmlAttrs:i.documentElement,bodyAttrs:i.body}};for(const S of["body","head"]){const P=(k=i==null?void 0:i[S])==null?void 0:k.children;for(const M of[...P].filter(N=>w2.includes(N.tagName.toLowerCase())))e.elMap[M.getAttribute("data-hid")||u3(await EA(M))]=M}}e.pendingSideEffects={...e.sideEffects||{}},e.sideEffects={};function m(S,P,M){const N=`${S}:${P}`;e.sideEffects[N]=M,delete e.pendingSideEffects[N]}function F({id:S,$el:P,tag:M}){const N=M.tag.endsWith("Attrs");e.elMap[S]=P,N||(["textContent","innerHTML"].forEach(B=>{M[B]&&M[B]!==P[B]&&(P[B]=M[B])}),m(S,"el",()=>{e.elMap[S].remove(),delete e.elMap[S]})),Object.entries(M.props).forEach(([B,K])=>{const U=`attr:${B}`;if(B==="class")for(const G of(K||"").split(" ").filter(Boolean))N&&m(S,`${U}:${G}`,()=>P.classList.remove(G)),!P.classList.contains(G)&&P.classList.add(G);else P.getAttribute(B)!==K&&P.setAttribute(B,K===!0?"":String(K)),N&&m(S,U,()=>P.removeAttribute(B))})}const y=[],w={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const S of n){const{tag:P,shouldRender:M,id:N}=S;if(M){if(P.tag==="title"){i.title=P.textContent;continue}S.$el=S.$el||e.elMap[N],S.$el?F(S):w2.includes(P.tag)&&y.push(S)}}for(const S of y){const P=S.tag.tagPosition||"head";S.$el=i.createElement(S.tag.tag),F(S),w[P]=w[P]||i.createDocumentFragment(),w[P].appendChild(S.$el)}for(const S of n)await r.hooks.callHook("dom:renderTag",S,i,m);w.head&&i.head.appendChild(w.head),w.bodyOpen&&i.body.insertBefore(w.bodyOpen,i.body.firstChild),w.bodyClose&&i.body.appendChild(w.bodyClose),Object.values(e.pendingSideEffects).forEach(S=>S()),r._dom=e,r.dirty=!1,await r.hooks.callHook("dom:rendered",{renders:n})}async function CA(r,s={}){const i=s.delayFn||(l=>setTimeout(l,10));return r._domUpdatePromise=r._domUpdatePromise||new Promise(l=>i(async()=>{await xA(r,s),delete r._domUpdatePromise,l()}))}function TA(r){return s=>{var l,n;const i=((n=(l=s.resolvedOptions.document)==null?void 0:l.head.querySelector('script[id="unhead:payload"]'))==null?void 0:n.innerHTML)||!1;return i&&s.push(JSON.parse(i)),{mode:"client",hooks:{"entries:updated":function(e){CA(e,r)}}}}}const AA=["templateParams","htmlAttrs","bodyAttrs"],SA={hooks:{"tag:normalise":function({tag:r}){["hid","vmid","key"].forEach(l=>{r.props[l]&&(r.key=r.props[l],delete r.props[l])});const i=Hy(r)||(r.key?`${r.tag}:${r.key}`:!1);i&&(r._d=i)},"tags:resolve":function(r){const s={};r.tags.forEach(l=>{const n=(l.key?`${l.tag}:${l.key}`:l._d)||l._p,e=s[n];if(e){let F=l==null?void 0:l.tagDuplicateStrategy;if(!F&&AA.includes(l.tag)&&(F="merge"),F==="merge"){const y=e.props;["class","style"].forEach(w=>{l.props[w]&&y[w]&&(w==="style"&&!y[w].endsWith(";")&&(y[w]+=";"),l.props[w]=`${y[w]} ${l.props[w]}`)}),s[n].props={...y,...l.props};return}else if(l._e===e._e){e._duped=e._duped||[],l._d=`${e._d}:${e._duped.length+1}`,e._duped.push(l);return}else if(B2(l)>B2(e))return}const m=Object.keys(l.props).length+(l.innerHTML?1:0)+(l.textContent?1:0);if(w2.includes(l.tag)&&m===0){delete s[n];return}s[n]=l});const i=[];Object.values(s).forEach(l=>{const n=l._duped;delete l._duped,i.push(l),n&&i.push(...n)}),r.tags=i,r.tags=r.tags.filter(l=>!(l.tag==="meta"&&(l.props.name||l.props.property)&&!l.props.content))}}},kA={mode:"server",hooks:{"tags:resolve":function(r){const s={};r.tags.filter(i=>["titleTemplate","templateParams","title"].includes(i.tag)&&i._m==="server").forEach(i=>{s[i.tag]=i.tag.startsWith("title")?i.textContent:i.props}),Object.keys(s).length&&r.tags.push({tag:"script",innerHTML:JSON.stringify(s),props:{id:"unhead:payload",type:"application/json"}})}}},p3=["script","link","bodyAttrs"];function m3(r){const s={},i={};return Object.entries(r.props).forEach(([l,n])=>{l.startsWith("on")&&typeof n=="function"?i[l]=n:s[l]=n}),{props:s,eventHandlers:i}}const OA={hooks:{"ssr:render":function(r){r.tags=r.tags.map(s=>(!p3.includes(s.tag)||!Object.entries(s.props).find(([i,l])=>i.startsWith("on")&&typeof l=="function")||(s.props=m3(s).props),s))},"tags:resolve":function(r){r.tags=r.tags.map(s=>{if(!p3.includes(s.tag))return s;const{props:i,eventHandlers:l}=m3(s);return Object.keys(l).length&&(s.props=i,s._eventHandlers=l),s})},"dom:renderTag":function(r,s,i){if(!r.tag._eventHandlers)return;const l=r.tag.tag==="bodyAttrs"?s.defaultView:r.$el;Object.entries(r.tag._eventHandlers).forEach(([n,e])=>{const m=`${r.tag._d||r.tag._p}:${n}`,F=n.slice(2).toLowerCase(),y=`data-h-${F}`;if(i(r.id,m,()=>{}),r.$el.hasAttribute(y))return;const w=e;r.$el.setAttribute(y,""),l.addEventListener(F,w),r.entry&&i(r.id,m,()=>{l.removeEventListener(F,w),r.$el.removeAttribute(y)})})}}},RA=["link","style","script","noscript"],PA={hooks:{"tag:normalise":({tag:r})=>{r.key&&RA.includes(r.tag)&&(r.props["data-hid"]=r._h=Uy(r.key))}}},IA={hooks:{"tags:resolve":r=>{const s=i=>{var l;return(l=r.tags.find(n=>n._d===i))==null?void 0:l._p};for(const{prefix:i,offset:l}of wA)for(const n of r.tags.filter(e=>typeof e.tagPriority=="string"&&e.tagPriority.startsWith(i))){const e=s(n.tagPriority.replace(i,""));typeof e<"u"&&(n._p=e+l)}r.tags.sort((i,l)=>i._p-l._p).sort((i,l)=>B2(i)-B2(l))}}},NA={hooks:{"tags:resolve":r=>{var m;const{tags:s}=r,i=(m=s.find(F=>F.tag==="title"))==null?void 0:m.textContent,l=s.findIndex(F=>F.tag==="templateParams"),n=l!==-1?s[l].props:{},e=n.separator||"|";delete n.separator,n.pageTitle=Kc(n.pageTitle||i||"",n,e);for(const F of s)F.processTemplateParams!==!1&&(["titleTemplate","title"].includes(F.tag)&&typeof F.textContent=="string"?F.textContent=Kc(F.textContent,n,e):F.tag==="meta"&&typeof F.props.content=="string"?F.props.content=Kc(F.props.content,n,e):F.tag==="link"&&typeof F.props.href=="string"?F.props.href=Kc(F.props.href,n,e):F.processTemplateParams===!0&&(F.innerHTML?F.innerHTML=Kc(F.innerHTML,n,e):F.textContent&&(F.textContent=Kc(F.textContent,n,e))));r.tags=s.filter(F=>F.tag!=="templateParams")}}},MA={hooks:{"tags:resolve":r=>{const{tags:s}=r;let i=s.findIndex(n=>n.tag==="titleTemplate");const l=s.findIndex(n=>n.tag==="title");if(l!==-1&&i!==-1){const n=f3(s[i].textContent,s[l].textContent);n!==null?s[l].textContent=n||s[l].textContent:delete s[l]}else if(i!==-1){const n=f3(s[i].textContent);n!==null&&(s[i].textContent=n,s[i].tag="title",i=-1)}i!==-1&&delete s[i],r.tags=s.filter(Boolean)}}};function LA(r={}){const s=BA(r);return s.use(TA()),s}function g3(r,s){return!r||r==="server"&&s||r==="client"&&!s}function BA(r={}){const s=dA();s.addHooks(r.hooks||{}),r.document=r.document||(bA?document:void 0);const i=!r.document;r.plugins=[SA,kA,OA,PA,IA,NA,MA,...(r==null?void 0:r.plugins)||[]];const l=()=>{m.dirty=!0,s.callHook("entries:updated",m)};let n=0,e=[];const m={dirty:!1,resolvedOptions:r,hooks:s,headEntries(){return e},use(F){const y=typeof F=="function"?F(m):F;g3(y.mode,i)&&s.addHooks(y.hooks||{})},push(F,y){y==null||delete y.head;const w={_i:n++,input:F,...y};return g3(w.mode,i)&&(e.push(w),l()),{dispose(){e=e.filter(k=>k._i!==w._i),s.callHook("entries:updated",m),l()},patch(k){e=e.map(S=>(S._i===w._i&&(S.input=w.input=k),S)),l()}}},async resolveTags(){const F={tags:[],entries:[...e]};await s.callHook("entries:resolve",F);for(const y of F.entries){const w=y.resolvedInput||y.input;if(y.resolvedInput=await(y.transform?y.transform(w):w),y.resolvedInput)for(const k of await yA(y)){const S={tag:k,entry:y,resolvedOptions:m.resolvedOptions};await s.callHook("tag:normalise",S),F.tags.push(S.tag)}}return await s.callHook("tags:beforeResolve",F),await s.callHook("tags:resolve",F),F.tags},ssr:i};return r.plugins.forEach(F=>m.use(F)),m.hooks.callHook("init",m),m}const UA=vb.startsWith("3");function HA(r){return typeof r=="function"?r():tr(r)}function E4(r,s=""){if(r instanceof Promise)return r;const i=HA(r);return!r||!i?i:Array.isArray(i)?i.map(l=>E4(l,s)):typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>l==="titleTemplate"||l.startsWith("on")?[l,tr(n)]:[l,E4(n,l)])):i}const $A={hooks:{"entries:resolve":function(r){for(const s of r.entries)s.resolvedInput=E4(s.input)}}},WA="usehead";function zA(r){return{install(i){UA&&(i.config.globalProperties.$unhead=r,i.config.globalProperties.$head=r,i.provide(WA,r))}}.install}function VA(r={}){r.domDelayFn=r.domDelayFn||(i=>oo(()=>setTimeout(()=>i(),0)));const s=LA(r);return s.use($A),s.install=zA(s),s}function GA(r){try{return JSON.parse(r||"{}")}catch(s){return console.error("[SSG] On state deserialization -",s,r),{}}}function jA(r){return document.readyState==="loading"?new Promise(s=>{document.addEventListener("DOMContentLoaded",()=>s(r))}):Promise.resolve(r)}const YA=Cs({setup(r,{slots:s}){const i=Yt(!1);return lo(()=>i.value=!0),()=>i.value?s.default&&s.default({}):s.placeholder&&s.placeholder({})}});function KA(r,s,i,l={}){const{transformState:n,registerComponents:e=!0,useHead:m=!0,rootContainer:F="#app"}=l,y=typeof window<"u";async function w(k=!1,S){const P=k?_b(r):ly(r);let M;m&&(M=VA(),P.use(M));const N=sA({history:k?DT(s.base):FT(s.base),...s}),{routes:B}=s;e&&P.component("ClientOnly",YA);const K=[],se={app:P,head:M,isClient:y,router:N,routes:B,onSSRAppRendered:k?()=>{}:re=>K.push(re),triggerOnSSRAppRendered:()=>Promise.all(K.map(re=>re())),initialState:{},transformState:n,routePath:S};k&&(await jA(),se.initialState=(n==null?void 0:n(window.__INITIAL_STATE__||{}))||GA(window.__INITIAL_STATE__)),await(i==null?void 0:i(se)),P.use(N);let Y,z=!0;if(N.beforeEach((re,ne,te)=>{(z||Y&&Y===re.path)&&(z=!1,Y=re.path,re.meta.state=se.initialState),te()}),!k){const re=se.routePath??"/";N.push(re),await N.isReady(),se.initialState=N.currentRoute.value.meta.state||{}}const ie=se.initialState;return{...se,initialState:ie}}return y&&(async()=>{const{app:k,router:S}=await w(!0);await S.isReady(),k.mount(F,!0)})(),w}const qA="0.26.1",Wy="https://github.com/xcpcio/xcpcio",QA="c1868899d3";var Ca=(r=>(r.PENDING="PENDING",r.RUNNING="RUNNING",r.FROZEN="FROZEN",r.FINISHED="FINISHED",r.PAUSED="PAUSED",r))(Ca||{}),wt=(r=>(r.PENDING="PENDING",r.WAITING="WAITING",r.PREPARING="PREPARING",r.COMPILING="COMPILING",r.RUNNING="RUNNING",r.JUDGING="JUDGING",r.FROZEN="FROZEN",r.ACCEPTED="ACCEPTED",r.CORRECT="CORRECT",r.PARTIALLY_CORRECT="PARTIALLY_CORRECT",r.REJECTED="REJECTED",r.WRONG_ANSWER="WRONG_ANSWER",r.COMPILATION_ERROR="COMPILATION_ERROR",r.PRESENTATION_ERROR="PRESENTATION_ERROR",r.RUNTIME_ERROR="RUNTIME_ERROR",r.TIME_LIMIT_EXCEEDED="TIME_LIMIT_EXCEEDED",r.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",r.OUTPUT_LIMIT_EXCEEDED="OUTPUT_LIMIT_EXCEEDED",r.IDLENESS_LIMIT_EXCEEDED="IDLENESS_LIMIT_EXCEEDED",r.HACKED="HACKED",r.JUDGEMENT_FAILED="JUDGEMENT_FAILED",r.CONFIGURATION_ERROR="CONFIGURATION_ERROR",r.FILE_ERROR="FILE_ERROR",r.SYSTEM_ERROR="SYSTEM_ERROR",r.CANCELED="CANCELED",r.SKIPPED="SKIPPED",r.SECURITY_VIOLATED="SECURITY_VIOLATED",r.DENIAL_OF_JUDGEMENT="DENIAL_OF_JUDGEMENT",r.UNKNOWN="UNKNOWN",r.UNDEFINED="UNDEFINED",r))(wt||{});const bO={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"},XA={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},JA={"text-center":"","w-full":""},ZA=Mt("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),e8=Mt("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1),t8={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},r8=["href"],n8={flex:"","justify-center":"","flex-col":""},s8=Mt("a",{href:"mailto:hi@dup4.com","mr-4":"","md:mr-6":"","hover:underline":""}," Contact ",-1),i8={flex:"","justify-center":"","flex-col":""},a8={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},o8=Cs({__name:"Footer",setup(r){const s=Vr(()=>window?window.CDN_HOST:""),i=Vr(()=>window?window.DATA_HOST:""),l=Vr(()=>window?window.DATA_REGION:"");return(n,e)=>{const m=Bi("RouterLink"),F=Bi("VTooltip");return Ur(),vn("footer",XA,[Mt("div",JA,[Er(m,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:ws(()=>[ZA,Ea(" Get more balloons ")]),_:1}),e8,Mt("ul",t8,[Mt("li",null,[Er(m,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:ws(()=>[Ea(" Home ")]),_:1})]),Mt("li",null,[Er(F,{"w-inherit":""},{popper:ws(()=>[Mt("div",n8,[Mt("div",null,"Tag: "+as(tr(qA)),1),Mt("div",null,"Sha: "+as(tr(QA)),1)])]),default:ws(()=>[Mt("a",{href:tr(Wy),class:"mr-4 md:mr-6 hover:underline",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,r8)]),_:1})]),Mt("li",null,[Er(F,{"w-inherit":""},{popper:ws(()=>[Mt("div",i8,[Mt("div",null,"CDN Host: "+as(tr(s)),1),Mt("div",null,"DATA Host: "+as(tr(i)),1),Mt("div",null,"Data Region: "+as(tr(l)),1)])]),default:ws(()=>[s8]),_:1})])]),Mt("span",a8,[Ea("© 2020-PRESENT "),Er(m,{to:"/","hover:underline":""},{default:ws(()=>[Ea("XCPCIO™")]),_:1}),Ea(". All Rights Reserved.")])])])}}});function hu(r){return tm()?(G4(r),!0):!1}function Mv(){const r=new Set,s=n=>{r.delete(n)};return{on:n=>{r.add(n);const e=()=>s(n);return hu(e),{off:e}},off:s,trigger:n=>Promise.all(Array.from(r).map(e=>e(n)))}}function Yn(r){return typeof r=="function"?r():tr(r)}const ym=typeof window<"u",l8=r=>typeof r<"u",c8=r=>r!=null,Mf=()=>{};function u8(r,s){function i(...l){return new Promise((n,e)=>{Promise.resolve(r(()=>s.apply(this,l),{fn:s,thisArg:this,args:l})).then(n).catch(e)})}return i}const zy=r=>r();function f8(r=zy){const s=Yt(!0);function i(){s.value=!1}function l(){s.value=!0}const n=(...e)=>{s.value&&r(...e)};return{isActive:qf(s),pause:i,resume:l,eventFilter:n}}function v3(r,s=!1,i="Timeout"){return new Promise((l,n)=>{setTimeout(s?()=>n(i):l,r)})}function h8(r,...s){return s.some(i=>i in r)}function u1(...r){if(r.length!==1)return qF(...r);const s=r[0];return typeof s=="function"?qf(Z4(()=>({get:s,set:Mf}))):Yt(s)}function d8(r,s=!0){Ts()?lo(r):s?r():oo(r)}function x4(r,s=!1){function i(S,{flush:P="sync",deep:M=!1,timeout:N,throwOnTimeout:B}={}){let K=null;const G=[new Promise(se=>{K=bn(r,Y=>{S(Y)!==s&&(K==null||K(),se(Y))},{flush:P,deep:M,immediate:!0})})];return N!=null&&G.push(v3(N,B).then(()=>Yn(r)).finally(()=>K==null?void 0:K())),Promise.race(G)}function l(S,P){if(!rn(S))return i(Y=>Y===S,P);const{flush:M="sync",deep:N=!1,timeout:B,throwOnTimeout:K}=P??{};let U=null;const se=[new Promise(Y=>{U=bn([r,S],([z,ie])=>{s!==(z===ie)&&(U==null||U(),Y(z))},{flush:M,deep:N,immediate:!0})})];return B!=null&&se.push(v3(B,K).then(()=>Yn(r)).finally(()=>(U==null||U(),Yn(r)))),Promise.race(se)}function n(S){return i(P=>!!P,S)}function e(S){return l(null,S)}function m(S){return l(void 0,S)}function F(S){return i(Number.isNaN,S)}function y(S,P){return i(M=>{const N=Array.from(M);return N.includes(S)||N.includes(Yn(S))},P)}function w(S){return k(1,S)}function k(S=1,P){let M=-1;return i(()=>(M+=1,M>=S),P)}return Array.isArray(Yn(r))?{toMatch:i,toContains:y,changed:w,changedTimes:k,get not(){return x4(r,!s)}}:{toMatch:i,toBe:l,toBeTruthy:n,toBeNull:e,toBeNaN:F,toBeUndefined:m,changed:w,changedTimes:k,get not(){return x4(r,!s)}}}function p8(r){return x4(r)}function Vy(r,s,i={}){const{immediate:l=!0}=i,n=Yt(!1);let e=null;function m(){e&&(clearTimeout(e),e=null)}function F(){n.value=!1,m()}function y(...w){m(),n.value=!0,e=setTimeout(()=>{n.value=!1,e=null,r(...w)},Yn(s))}return l&&(n.value=!0,ym&&y()),hu(F),{isPending:qf(n),start:y,stop:F}}function m8(r=!1,s={}){const{truthyValue:i=!0,falsyValue:l=!1}=s,n=rn(r),e=Yt(r);function m(F){if(arguments.length)return e.value=F,e.value;{const y=Yn(i);return e.value=e.value===y?Yn(l):y,e.value}}return n?m:[e,m]}var b3=Object.getOwnPropertySymbols,g8=Object.prototype.hasOwnProperty,v8=Object.prototype.propertyIsEnumerable,b8=(r,s)=>{var i={};for(var l in r)g8.call(r,l)&&s.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&b3)for(var l of b3(r))s.indexOf(l)<0&&v8.call(r,l)&&(i[l]=r[l]);return i};function D8(r,s,i={}){const l=i,{eventFilter:n=zy}=l,e=b8(l,["eventFilter"]);return bn(r,u8(n,s),e)}var F8=Object.defineProperty,_8=Object.defineProperties,y8=Object.getOwnPropertyDescriptors,U2=Object.getOwnPropertySymbols,Gy=Object.prototype.hasOwnProperty,jy=Object.prototype.propertyIsEnumerable,D3=(r,s,i)=>s in r?F8(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,w8=(r,s)=>{for(var i in s||(s={}))Gy.call(s,i)&&D3(r,i,s[i]);if(U2)for(var i of U2(s))jy.call(s,i)&&D3(r,i,s[i]);return r},E8=(r,s)=>_8(r,y8(s)),x8=(r,s)=>{var i={};for(var l in r)Gy.call(r,l)&&s.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&U2)for(var l of U2(r))s.indexOf(l)<0&&jy.call(r,l)&&(i[l]=r[l]);return i};function C8(r,s,i={}){const l=i,{eventFilter:n}=l,e=x8(l,["eventFilter"]),{eventFilter:m,pause:F,resume:y,isActive:w}=f8(n);return{stop:D8(r,s,E8(w8({},e),{eventFilter:m})),pause:F,resume:y,isActive:w}}function Lf(r){var s;const i=Yn(r);return(s=i==null?void 0:i.$el)!=null?s:i}const ca=ym?window:void 0,T8=ym?window.document:void 0,A8=ym?window.navigator:void 0;function $o(...r){let s,i,l,n;if(typeof r[0]=="string"||Array.isArray(r[0])?([i,l,n]=r,s=ca):[s,i,l,n]=r,!s)return Mf;Array.isArray(i)||(i=[i]),Array.isArray(l)||(l=[l]);const e=[],m=()=>{e.forEach(k=>k()),e.length=0},F=(k,S,P,M)=>(k.addEventListener(S,P,M),()=>k.removeEventListener(S,P,M)),y=bn(()=>[Lf(s),Yn(n)],([k,S])=>{m(),k&&e.push(...i.flatMap(P=>l.map(M=>F(k,P,M,S))))},{immediate:!0,flush:"post"}),w=()=>{y(),m()};return hu(w),w}function S8(r){return typeof r=="function"?r:typeof r=="string"?s=>s.key===r:Array.isArray(r)?s=>r.includes(s.key):()=>!0}function DO(...r){let s,i,l={};r.length===3?(s=r[0],i=r[1],l=r[2]):r.length===2?typeof r[1]=="object"?(s=!0,i=r[0],l=r[1]):(s=r[0],i=r[1]):(s=!0,i=r[0]);const{target:n=ca,eventName:e="keydown",passive:m=!1,dedupe:F=!1}=l,y=S8(s);return $o(n,e,k=>{k.repeat&&Yn(F)||y(k)&&i(k)},m)}function k8(){const r=Yt(!1);return Ts()&&lo(()=>{r.value=!0}),r}function wm(r){const s=k8();return Vr(()=>(s.value,!!r()))}function O8(r,s={}){const{window:i=ca}=s,l=wm(()=>i&&"matchMedia"in i&&typeof i.matchMedia=="function");let n;const e=Yt(!1),m=w=>{e.value=w.matches},F=()=>{n&&("removeEventListener"in n?n.removeEventListener("change",m):n.removeListener(m))},y=sb(()=>{l.value&&(F(),n=i.matchMedia(Yn(r)),"addEventListener"in n?n.addEventListener("change",m):n.addListener(m),e.value=n.matches)});return hu(()=>{y(),F(),n=void 0}),e}function FO(r={}){const{navigator:s=A8,read:i=!1,source:l,copiedDuring:n=1500,legacy:e=!1}=r,m=wm(()=>s&&"clipboard"in s),F=Vr(()=>m.value||e),y=Yt(""),w=Yt(!1),k=Vy(()=>w.value=!1,n);function S(){m.value?s.clipboard.readText().then(B=>{y.value=B}):y.value=N()}F.value&&i&&$o(["copy","cut"],S);async function P(B=Yn(l)){F.value&&B!=null&&(m.value?await s.clipboard.writeText(B):M(B),y.value=B,w.value=!0,k.start())}function M(B){const K=document.createElement("textarea");K.value=B??"",K.style.position="absolute",K.style.opacity="0",document.body.appendChild(K),K.select(),document.execCommand("copy"),K.remove()}function N(){var B,K,U;return(U=(K=(B=document==null?void 0:document.getSelection)==null?void 0:B.call(document))==null?void 0:K.toString())!=null?U:""}return{isSupported:F,text:y,copied:w,copy:P}}function R8(r){return JSON.parse(JSON.stringify(r))}const g2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},v2="__vueuse_ssr_handlers__",P8=I8();function I8(){return v2 in g2||(g2[v2]=g2[v2]||{}),g2[v2]}function Yy(r,s){return P8[r]||s}function N8(r){return r==null?"any":r instanceof Set?"set":r instanceof Map?"map":r instanceof Date?"date":typeof r=="boolean"?"boolean":typeof r=="string"?"string":typeof r=="object"?"object":Number.isNaN(r)?"any":"number"}var M8=Object.defineProperty,F3=Object.getOwnPropertySymbols,L8=Object.prototype.hasOwnProperty,B8=Object.prototype.propertyIsEnumerable,_3=(r,s,i)=>s in r?M8(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,y3=(r,s)=>{for(var i in s||(s={}))L8.call(s,i)&&_3(r,i,s[i]);if(F3)for(var i of F3(s))B8.call(s,i)&&_3(r,i,s[i]);return r};const U8={boolean:{read:r=>r==="true",write:r=>String(r)},object:{read:r=>JSON.parse(r),write:r=>JSON.stringify(r)},number:{read:r=>Number.parseFloat(r),write:r=>String(r)},any:{read:r=>r,write:r=>String(r)},string:{read:r=>r,write:r=>String(r)},map:{read:r=>new Map(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r.entries()))},set:{read:r=>new Set(JSON.parse(r)),write:r=>JSON.stringify(Array.from(r))},date:{read:r=>new Date(r),write:r=>r.toISOString()}},w3="vueuse-storage";function H8(r,s,i,l={}){var n;const{flush:e="pre",deep:m=!0,listenToStorageChanges:F=!0,writeDefaults:y=!0,mergeDefaults:w=!1,shallow:k,window:S=ca,eventFilter:P,onError:M=ne=>{console.error(ne)}}=l,N=(k?Pf:Yt)(s);if(!i)try{i=Yy("getDefaultStorage",()=>{var ne;return(ne=ca)==null?void 0:ne.localStorage})()}catch(ne){M(ne)}if(!i)return N;const B=Yn(s),K=N8(B),U=(n=l.serializer)!=null?n:U8[K],{pause:G,resume:se}=C8(N,()=>Y(N.value),{flush:e,deep:m,eventFilter:P});return S&&F&&($o(S,"storage",re),$o(S,w3,ie)),re(),N;function Y(ne){try{if(ne==null)i.removeItem(r);else{const te=U.write(ne),le=i.getItem(r);le!==te&&(i.setItem(r,te),S&&S.dispatchEvent(new CustomEvent(w3,{detail:{key:r,oldValue:le,newValue:te,storageArea:i}})))}}catch(te){M(te)}}function z(ne){const te=ne?ne.newValue:i.getItem(r);if(te==null)return y&&B!==null&&i.setItem(r,U.write(B)),B;if(!ne&&w){const le=U.read(te);return typeof w=="function"?w(le,B):K==="object"&&!Array.isArray(le)?y3(y3({},B),le):le}else return typeof te!="string"?te:U.read(te)}function ie(ne){re(ne.detail)}function re(ne){if(!(ne&&ne.storageArea!==i)){if(ne&&ne.key==null){N.value=B;return}if(!(ne&&ne.key!==r)){G();try{N.value=z(ne)}catch(te){M(te)}finally{ne?oo(se):se()}}}}}function Ky(r){return O8("(prefers-color-scheme: dark)",r)}var $8=Object.defineProperty,E3=Object.getOwnPropertySymbols,W8=Object.prototype.hasOwnProperty,z8=Object.prototype.propertyIsEnumerable,x3=(r,s,i)=>s in r?$8(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,V8=(r,s)=>{for(var i in s||(s={}))W8.call(s,i)&&x3(r,i,s[i]);if(E3)for(var i of E3(s))z8.call(s,i)&&x3(r,i,s[i]);return r};function G8(r={}){const{selector:s="html",attribute:i="class",initialValue:l="auto",window:n=ca,storage:e,storageKey:m="vueuse-color-scheme",listenToStorageChanges:F=!0,storageRef:y,emitAuto:w,disableTransition:k=!0}=r,S=V8({auto:"",light:"light",dark:"dark"},r.modes||{}),P=Ky({window:n}),M=Vr(()=>P.value?"dark":"light"),N=y||(m==null?u1(l):H8(m,l,e,{window:n,listenToStorageChanges:F})),B=Vr(()=>N.value==="auto"?M.value:N.value),K=Yy("updateHTMLAttrs",(Y,z,ie)=>{const re=typeof Y=="string"?n==null?void 0:n.document.querySelector(Y):Lf(Y);if(!re)return;let ne;if(k){ne=n.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}";ne.appendChild(document.createTextNode(te)),n.document.head.appendChild(ne)}if(z==="class"){const te=ie.split(/\s/g);Object.values(S).flatMap(le=>(le||"").split(/\s/g)).filter(Boolean).forEach(le=>{te.includes(le)?re.classList.add(le):re.classList.remove(le)})}else re.setAttribute(z,ie);k&&(n.getComputedStyle(ne).opacity,document.head.removeChild(ne))});function U(Y){var z;K(s,i,(z=S[Y])!=null?z:Y)}function G(Y){r.onChanged?r.onChanged(Y,U):U(Y)}bn(B,G,{flush:"post",immediate:!0}),d8(()=>G(B.value));const se=Vr({get(){return w?N.value:B.value},set(Y){N.value=Y}});try{return Object.assign(se,{store:N,system:M,state:B})}catch{return se}}var C3=Object.getOwnPropertySymbols,j8=Object.prototype.hasOwnProperty,Y8=Object.prototype.propertyIsEnumerable,K8=(r,s)=>{var i={};for(var l in r)j8.call(r,l)&&s.indexOf(l)<0&&(i[l]=r[l]);if(r!=null&&C3)for(var l of C3(r))s.indexOf(l)<0&&Y8.call(r,l)&&(i[l]=r[l]);return i};function q8(r,s,i={}){const l=i,{window:n=ca}=l,e=K8(l,["window"]);let m;const F=wm(()=>n&&"MutationObserver"in n),y=()=>{m&&(m.disconnect(),m=void 0)},w=bn(()=>Lf(r),S=>{y(),F.value&&n&&S&&(m=new MutationObserver(s),m.observe(S,e))},{immediate:!0}),k=()=>{y(),w()};return hu(k),{isSupported:F,stop:k}}var Q8=Object.defineProperty,X8=Object.defineProperties,J8=Object.getOwnPropertyDescriptors,T3=Object.getOwnPropertySymbols,Z8=Object.prototype.hasOwnProperty,eS=Object.prototype.propertyIsEnumerable,A3=(r,s,i)=>s in r?Q8(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,tS=(r,s)=>{for(var i in s||(s={}))Z8.call(s,i)&&A3(r,i,s[i]);if(T3)for(var i of T3(s))eS.call(s,i)&&A3(r,i,s[i]);return r},rS=(r,s)=>X8(r,J8(s));function nS(r={}){const{valueDark:s="dark",valueLight:i=""}=r,l=G8(rS(tS({},r),{onChanged:(e,m)=>{var F;r.onChanged?(F=r.onChanged)==null||F.call(r,e==="dark",m,e):m(e)},modes:{dark:s,light:i}}));return Vr({get(){return l.value==="dark"},set(e){const m=e?"dark":"light";l.system.value===m?l.value="auto":l.value=m}})}function sS(r,s,i={}){const{root:l,rootMargin:n="0px",threshold:e=.1,window:m=ca,immediate:F=!0}=i,y=wm(()=>m&&"IntersectionObserver"in m),w=Vr(()=>{const N=Yn(r);return(Array.isArray(N)?N:[N]).map(Lf).filter(c8)});let k=Mf;const S=Yt(F),P=y.value?bn(()=>[w.value,Lf(l),S.value],([N,B])=>{if(k(),!S.value||!N.length)return;const K=new IntersectionObserver(s,{root:Lf(B),rootMargin:n,threshold:e});N.forEach(U=>U&&K.observe(U)),k=()=>{K.disconnect(),k=Mf}},{immediate:F,flush:"post"}):Mf,M=()=>{k(),P(),S.value=!1};return hu(M),{isSupported:y,isActive:S,pause(){k(),S.value=!1},resume(){S.value=!0},stop:M}}function iS(r,{window:s=ca,scrollTarget:i}={}){const l=Yt(!1);return sS(r,([{isIntersecting:n}])=>{l.value=n},{root:i,window:s}),l}var aS=Object.defineProperty,oS=Object.defineProperties,lS=Object.getOwnPropertyDescriptors,S3=Object.getOwnPropertySymbols,cS=Object.prototype.hasOwnProperty,uS=Object.prototype.propertyIsEnumerable,k3=(r,s,i)=>s in r?aS(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,gi=(r,s)=>{for(var i in s||(s={}))cS.call(s,i)&&k3(r,i,s[i]);if(S3)for(var i of S3(s))uS.call(s,i)&&k3(r,i,s[i]);return r},qh=(r,s)=>oS(r,lS(s));const fS={json:"application/json",text:"text/plain"};function O3(r){return r&&h8(r,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Lv(r){return typeof Headers<"u"&&r instanceof Headers?Object.fromEntries([...r.entries()]):r}function hS(r,...s){var i;const l=typeof AbortController=="function";let n={},e={immediate:!0,refetch:!1,timeout:0};const m={method:"GET",type:"text",payload:void 0};s.length>0&&(O3(s[0])?e=gi(gi({},e),s[0]):n=s[0]),s.length>1&&O3(s[1])&&(e=gi(gi({},e),s[1]));const{fetch:F=(i=ca)==null?void 0:i.fetch,initialData:y,timeout:w}=e,k=Mv(),S=Mv(),P=Mv(),M=Yt(!1),N=Yt(!1),B=Yt(!1),K=Yt(null),U=Pf(null),G=Pf(null),se=Pf(y||null),Y=Vr(()=>l&&N.value);let z,ie;const re=()=>{l&&(z==null||z.abort(),z=new AbortController,z.signal.onabort=()=>B.value=!0,n=qh(gi({},n),{signal:z.signal}))},ne=Le=>{N.value=Le,M.value=!Le};w&&(ie=Vy(re,w,{immediate:!1}));const te=async(Le=!1)=>{var qe;re(),ne(!0),G.value=null,K.value=null,B.value=!1;const Ie={method:m.method,headers:{}};if(m.payload){const he=Lv(Ie.headers),He=Yn(m.payload);!m.payloadType&&He&&Object.getPrototypeOf(He)===Object.prototype&&!(He instanceof FormData)&&(m.payloadType="json"),m.payloadType&&(he["Content-Type"]=(qe=fS[m.payloadType])!=null?qe:m.payloadType),Ie.body=m.payloadType==="json"?JSON.stringify(He):He}let ut=!1;const dt={url:Yn(r),options:gi(gi({},Ie),n),cancel:()=>{ut=!0}};if(e.beforeFetch&&Object.assign(dt,await e.beforeFetch(dt)),ut||!F)return ne(!1),Promise.resolve(null);let ze=null;return ie&&ie.start(),new Promise((he,He)=>{var et;F(dt.url,qh(gi(gi({},Ie),dt.options),{headers:gi(gi({},Lv(Ie.headers)),Lv((et=dt.options)==null?void 0:et.headers))})).then(async $e=>{if(U.value=$e,K.value=$e.status,ze=await $e[m.type](),!$e.ok)throw se.value=y||null,new Error($e.statusText);return e.afterFetch&&({data:ze}=await e.afterFetch({data:ze,response:$e})),se.value=ze,k.trigger($e),he($e)}).catch(async $e=>{let De=$e.message||$e.name;return e.onFetchError&&({error:De}=await e.onFetchError({data:ze,error:$e,response:U.value})),G.value=De,S.trigger($e),Le?He($e):he(null)}).finally(()=>{ne(!1),ie&&ie.stop(),P.trigger(null)})})},le=u1(e.refetch);bn([le,u1(r)],([Le])=>Le&&te(),{deep:!0});const we={isFinished:M,statusCode:K,response:U,error:G,data:se,isFetching:N,canAbort:Y,aborted:B,abort:re,execute:te,onFetchResponse:k.on,onFetchError:S.on,onFetchFinally:P.on,get:Pe("GET"),put:Pe("PUT"),post:Pe("POST"),delete:Pe("DELETE"),patch:Pe("PATCH"),head:Pe("HEAD"),options:Pe("OPTIONS"),json:ve("json"),text:ve("text"),blob:ve("blob"),arrayBuffer:ve("arrayBuffer"),formData:ve("formData")};function Pe(Le){return(qe,Ie)=>{if(!N.value)return m.method=Le,m.payload=qe,m.payloadType=Ie,rn(m.payload)&&bn([le,u1(m.payload)],([ut])=>ut&&te(),{deep:!0}),qh(gi({},we),{then(ut,dt){return xe().then(ut,dt)}})}}function xe(){return new Promise((Le,qe)=>{p8(M).toBe(!0).then(()=>Le(we)).catch(Ie=>qe(Ie))})}function ve(Le){return()=>{if(!N.value)return m.type=Le,qh(gi({},we),{then(qe,Ie){return xe().then(qe,Ie)}})}}return e.immediate&&Promise.resolve().then(()=>te()),qh(gi({},we),{then(Le,qe){return xe().then(Le,qe)}})}const dS={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function _O(r={}){const{reactive:s=!1,target:i=ca,aliasMap:l=dS,passive:n=!0,onEventFired:e=Mf}=r,m=Ul(new Set),F={toJSON(){return{}},current:m},y=s?Ul(F):F,w=new Set,k=new Set;function S(B,K){B in y&&(s?y[B]=K:y[B].value=K)}function P(){m.clear();for(const B of k)S(B,!1)}function M(B,K){var U,G;const se=(U=B.key)==null?void 0:U.toLowerCase(),z=[(G=B.code)==null?void 0:G.toLowerCase(),se].filter(Boolean);se&&(K?m.add(se):m.delete(se));for(const ie of z)k.add(ie),S(ie,K);se==="meta"&&!K?(w.forEach(ie=>{m.delete(ie),S(ie,!1)}),w.clear()):typeof B.getModifierState=="function"&&B.getModifierState("Meta")&&K&&[...m,...z].forEach(ie=>w.add(ie))}$o(i,"keydown",B=>(M(B,!0),e(B)),{passive:n}),$o(i,"keyup",B=>(M(B,!1),e(B)),{passive:n}),$o("blur",P,{passive:!0}),$o("focus",P,{passive:!0});const N=new Proxy(y,{get(B,K,U){if(typeof K!="string")return Reflect.get(B,K,U);if(K=K.toLowerCase(),K in l&&(K=l[K]),!(K in y))if(/[+_-]/.test(K)){const se=K.split(/[+_-]/g).map(Y=>Y.trim());y[K]=Vr(()=>se.every(Y=>Yn(N[Y])))}else y[K]=Yt(!1);const G=Reflect.get(B,K,U);return s?Yn(G):G}});return N}function pS(r=null,s={}){var i,l;const{document:n=T8}=s,e=u1((i=r??(n==null?void 0:n.title))!=null?i:null),m=r&&typeof r=="function";function F(y){if(!("titleTemplate"in s))return y;const w=s.titleTemplate||"%s";return typeof w=="function"?w(y):Yn(w).replace(/%s/g,y)}return bn(e,(y,w)=>{y!==w&&n&&(n.title=F(typeof y=="string"?y:""))},{immediate:!0}),s.observe&&!s.titleTemplate&&n&&!m&&q8((l=n.head)==null?void 0:l.querySelector("title"),()=>{n&&n.title!==e.value&&(e.value=F(n.title))},{childList:!0}),e}function R3(r,s,i,l={}){var n,e,m;const{clone:F=!1,passive:y=!1,eventName:w,deep:k=!1,defaultValue:S,shouldEmit:P}=l,M=Ts(),N=i||(M==null?void 0:M.emit)||((n=M==null?void 0:M.$emit)==null?void 0:n.bind(M))||((m=(e=M==null?void 0:M.proxy)==null?void 0:e.$emit)==null?void 0:m.bind(M==null?void 0:M.proxy));let B=w;s||(s="modelValue"),B=B||`update:${s.toString()}`;const K=se=>F?typeof F=="function"?F(se):R8(se):se,U=()=>l8(r[s])?K(r[s]):S,G=se=>{P?P(se)&&N(B,se):N(B,se)};if(y){const se=U(),Y=Yt(se);return bn(()=>r[s],z=>Y.value=K(z)),bn(Y,z=>{(z!==r[s]||k)&&G(z)},{deep:k}),Y}else return Vr({get(){return U()},set(se){G(se)}})}function mS({window:r=ca}={}){if(!r)return{x:Yt(0),y:Yt(0)};const s=Yt(r.scrollX),i=Yt(r.scrollY);return $o(r,"scroll",()=>{s.value=r.scrollX,i.value=r.scrollY},{capture:!1,passive:!0}),{x:s,y:i}}const qy=nS(),gS=m8(qy),vS=Ky(),Xf=r=>(um("data-v-a79e7085"),r=r(),fm(),r),bS=Xf(()=>Mt("div",{"i-ri-arrow-up-line":""},null,-1)),DS=[bS],FS=Xf(()=>Mt("div",{class:"spacer"},null,-1)),_S={class:"right","print:op0":""},yS=Xf(()=>Mt("div",{"i-ion-balloon-sharp":""},null,-1)),wS=["title"],ES=Xf(()=>Mt("div",{"i-carbon-language":""},null,-1)),xS=[ES],CS=["title"],TS=Xf(()=>Mt("div",{i:"carbon-sun dark:carbon-moon"},null,-1)),AS=[TS],SS=["href"],kS=Xf(()=>Mt("div",{"i-carbon-logo-github":""},null,-1)),OS=[kS],RS=Cs({__name:"NavBar",props:{width:null},setup(r){const s=r,{t:i,locale:l}=Qf(),{y:n}=mS();function e(){window.scrollTo({top:0,behavior:"smooth"})}async function m(){const F=vy,y=F[(F.indexOf(l.value)+1)%F.length];await wb(y),l.value=y}return(F,y)=>{const w=Bi("RouterLink");return Ur(),vn("header",{class:ni(["header z-40",[(s==null?void 0:s.width)??""]])},[Mt("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:ni(tr(n)>300?"op30":"op0! pointer-events-none"),onClick:y[0]||(y[0]=k=>e())},DS,2),Mt("nav",{class:ni(["nav",[s!=null&&s.width?"":"fixed"]]),"text-xl":""},[FS,Mt("div",_S,[Er(w,{"icon-btn":"",title:tr(i)("button.home"),to:"/",focusable:"false"},{default:ws(()=>[yS]),_:1},8,["title"]),Mt("a",{"icon-btn":"",title:tr(i)("button.toggle_langs"),onClick:y[1]||(y[1]=k=>m())},xS,8,wS),Mt("a",{"icon-btn":"",title:tr(i)("button.toggle_dark"),onClick:y[2]||(y[2]=k=>("toggleDark"in F?F.toggleDark:tr(gS))())},AS,8,CS),Mt("a",{"icon-btn":"",rel:"noreferrer",href:tr(Wy),target:"_blank",title:"GitHub"},OS,8,SS)])],2)],2)}}});const Jf=(r,s)=>{const i=r.__vccOpts||r;for(const[l,n]of s)i[l]=n;return i},PS=Jf(RS,[["__scopeId","data-v-a79e7085"]]),IS={},NS={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function MS(r,s){const i=PS,l=Bi("RouterView"),n=o8;return Ur(),vn(jn,null,[Er(i),Mt("main",NS,[Er(l),Er(n)])],64)}const LS=Jf(IS,[["render",MS]]),BS={"board-layout":()=>ia(()=>import("./board-layout-430c688d.js"),[],import.meta.url),default:LS,headless:()=>ia(()=>import("./headless-4d39b6f3.js"),[],import.meta.url),home:()=>ia(()=>import("./home-401b6bdc.js"),[],import.meta.url),"index-layout":()=>ia(()=>import("./index-layout-bb5b04eb.js"),[],import.meta.url)};function US(r){return r.map(s=>{var i;return{path:s.path,meta:s.meta,component:BS[((i=s.meta)==null?void 0:i.layout)||"default"],children:s.path==="/"?[s]:[{...s,path:""}]}})}const HS=["top","right","bottom","left"],P3=["start","end"],I3=HS.reduce((r,s)=>r.concat(s,s+"-"+P3[0],s+"-"+P3[1]),[]),A1=Math.min,qc=Math.max,$S={left:"right",right:"left",bottom:"top",top:"bottom"},WS={start:"end",end:"start"};function C4(r,s,i){return qc(r,A1(s,i))}function du(r,s){return typeof r=="function"?r(s):r}function ao(r){return r.split("-")[0]}function Sa(r){return r.split("-")[1]}function Qy(r){return r==="x"?"y":"x"}function Cb(r){return r==="y"?"height":"width"}function H1(r){return["top","bottom"].includes(ao(r))?"y":"x"}function Tb(r){return Qy(H1(r))}function Xy(r,s,i){i===void 0&&(i=!1);const l=Sa(r),n=Tb(r),e=Cb(n);let m=n==="x"?l===(i?"end":"start")?"right":"left":l==="start"?"bottom":"top";return s.reference[e]>s.floating[e]&&(m=$2(m)),[m,$2(m)]}function zS(r){const s=$2(r);return[H2(r),s,H2(s)]}function H2(r){return r.replace(/start|end/g,s=>WS[s])}function VS(r,s,i){const l=["left","right"],n=["right","left"],e=["top","bottom"],m=["bottom","top"];switch(r){case"top":case"bottom":return i?s?n:l:s?l:n;case"left":case"right":return s?e:m;default:return[]}}function GS(r,s,i,l){const n=Sa(r);let e=VS(ao(r),i==="start",l);return n&&(e=e.map(m=>m+"-"+n),s&&(e=e.concat(e.map(H2)))),e}function $2(r){return r.replace(/left|right|bottom|top/g,s=>$S[s])}function jS(r){return{top:0,right:0,bottom:0,left:0,...r}}function Jy(r){return typeof r!="number"?jS(r):{top:r,right:r,bottom:r,left:r}}function f1(r){return{...r,top:r.y,left:r.x,right:r.x+r.width,bottom:r.y+r.height}}function N3(r,s,i){let{reference:l,floating:n}=r;const e=H1(s),m=Tb(s),F=Cb(m),y=ao(s),w=e==="y",k=l.x+l.width/2-n.width/2,S=l.y+l.height/2-n.height/2,P=l[F]/2-n[F]/2;let M;switch(y){case"top":M={x:k,y:l.y-n.height};break;case"bottom":M={x:k,y:l.y+l.height};break;case"right":M={x:l.x+l.width,y:S};break;case"left":M={x:l.x-n.width,y:S};break;default:M={x:l.x,y:l.y}}switch(Sa(s)){case"start":M[m]-=P*(i&&w?-1:1);break;case"end":M[m]+=P*(i&&w?-1:1);break}return M}const YS=async(r,s,i)=>{const{placement:l="bottom",strategy:n="absolute",middleware:e=[],platform:m}=i,F=e.filter(Boolean),y=await(m.isRTL==null?void 0:m.isRTL(s));let w=await m.getElementRects({reference:r,floating:s,strategy:n}),{x:k,y:S}=N3(w,l,y),P=l,M={},N=0;for(let B=0;B<F.length;B++){const{name:K,fn:U}=F[B],{x:G,y:se,data:Y,reset:z}=await U({x:k,y:S,initialPlacement:l,placement:P,strategy:n,middlewareData:M,rects:w,platform:m,elements:{reference:r,floating:s}});if(k=G??k,S=se??S,M={...M,[K]:{...M[K],...Y}},z&&N<=50){N++,typeof z=="object"&&(z.placement&&(P=z.placement),z.rects&&(w=z.rects===!0?await m.getElementRects({reference:r,floating:s,strategy:n}):z.rects),{x:k,y:S}=N3(w,P,y)),B=-1;continue}}return{x:k,y:S,placement:P,strategy:n,middlewareData:M}};async function Em(r,s){var i;s===void 0&&(s={});const{x:l,y:n,platform:e,rects:m,elements:F,strategy:y}=r,{boundary:w="clippingAncestors",rootBoundary:k="viewport",elementContext:S="floating",altBoundary:P=!1,padding:M=0}=du(s,r),N=Jy(M),K=F[P?S==="floating"?"reference":"floating":S],U=f1(await e.getClippingRect({element:(i=await(e.isElement==null?void 0:e.isElement(K)))==null||i?K:K.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(F.floating)),boundary:w,rootBoundary:k,strategy:y})),G=S==="floating"?{...m.floating,x:l,y:n}:m.reference,se=await(e.getOffsetParent==null?void 0:e.getOffsetParent(F.floating)),Y=await(e.isElement==null?void 0:e.isElement(se))?await(e.getScale==null?void 0:e.getScale(se))||{x:1,y:1}:{x:1,y:1},z=f1(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({rect:G,offsetParent:se,strategy:y}):G);return{top:(U.top-z.top+N.top)/Y.y,bottom:(z.bottom-U.bottom+N.bottom)/Y.y,left:(U.left-z.left+N.left)/Y.x,right:(z.right-U.right+N.right)/Y.x}}const KS=r=>({name:"arrow",options:r,async fn(s){const{x:i,y:l,placement:n,rects:e,platform:m,elements:F}=s,{element:y,padding:w=0}=du(r,s)||{};if(y==null)return{};const k=Jy(w),S={x:i,y:l},P=Tb(n),M=Cb(P),N=await m.getDimensions(y),B=P==="y",K=B?"top":"left",U=B?"bottom":"right",G=B?"clientHeight":"clientWidth",se=e.reference[M]+e.reference[P]-S[P]-e.floating[M],Y=S[P]-e.reference[P],z=await(m.getOffsetParent==null?void 0:m.getOffsetParent(y));let ie=z?z[G]:0;(!ie||!await(m.isElement==null?void 0:m.isElement(z)))&&(ie=F.floating[G]||e.floating[M]);const re=se/2-Y/2,ne=ie/2-N[M]/2-1,te=A1(k[K],ne),le=A1(k[U],ne),we=te,Pe=ie-N[M]-le,xe=ie/2-N[M]/2+re,ve=C4(we,xe,Pe),qe=Sa(n)!=null&&xe!=ve&&e.reference[M]/2-(xe<we?te:le)-N[M]/2<0?xe<we?we-xe:Pe-xe:0;return{[P]:S[P]-qe,data:{[P]:ve,centerOffset:xe-ve+qe}}}});function qS(r,s,i){return(r?[...i.filter(n=>Sa(n)===r),...i.filter(n=>Sa(n)!==r)]:i.filter(n=>ao(n)===n)).filter(n=>r?Sa(n)===r||(s?H2(n)!==n:!1):!0)}const QS=function(r){return r===void 0&&(r={}),{name:"autoPlacement",options:r,async fn(s){var i,l,n;const{rects:e,middlewareData:m,placement:F,platform:y,elements:w}=s,{crossAxis:k=!1,alignment:S,allowedPlacements:P=I3,autoAlignment:M=!0,...N}=du(r,s),B=S!==void 0||P===I3?qS(S||null,M,P):P,K=await Em(s,N),U=((i=m.autoPlacement)==null?void 0:i.index)||0,G=B[U];if(G==null)return{};const se=Xy(G,e,await(y.isRTL==null?void 0:y.isRTL(w.floating)));if(F!==G)return{reset:{placement:B[0]}};const Y=[K[ao(G)],K[se[0]],K[se[1]]],z=[...((l=m.autoPlacement)==null?void 0:l.overflows)||[],{placement:G,overflows:Y}],ie=B[U+1];if(ie)return{data:{index:U+1,overflows:z},reset:{placement:ie}};const re=z.map(le=>{const we=Sa(le.placement);return[le.placement,we&&k?le.overflows.slice(0,2).reduce((Pe,xe)=>Pe+xe,0):le.overflows[0],le.overflows]}).sort((le,we)=>le[1]-we[1]),te=((n=re.filter(le=>le[2].slice(0,Sa(le[0])?2:3).every(we=>we<=0))[0])==null?void 0:n[0])||re[0][0];return te!==F?{data:{index:U+1,overflows:z},reset:{placement:te}}:{}}}},XS=function(r){return r===void 0&&(r={}),{name:"flip",options:r,async fn(s){var i;const{placement:l,middlewareData:n,rects:e,initialPlacement:m,platform:F,elements:y}=s,{mainAxis:w=!0,crossAxis:k=!0,fallbackPlacements:S,fallbackStrategy:P="bestFit",fallbackAxisSideDirection:M="none",flipAlignment:N=!0,...B}=du(r,s),K=ao(l),U=ao(m)===m,G=await(F.isRTL==null?void 0:F.isRTL(y.floating)),se=S||(U||!N?[$2(m)]:zS(m));!S&&M!=="none"&&se.push(...GS(m,N,M,G));const Y=[m,...se],z=await Em(s,B),ie=[];let re=((i=n.flip)==null?void 0:i.overflows)||[];if(w&&ie.push(z[K]),k){const we=Xy(l,e,G);ie.push(z[we[0]],z[we[1]])}if(re=[...re,{placement:l,overflows:ie}],!ie.every(we=>we<=0)){var ne,te;const we=(((ne=n.flip)==null?void 0:ne.index)||0)+1,Pe=Y[we];if(Pe)return{data:{index:we,overflows:re},reset:{placement:Pe}};let xe=(te=re.filter(ve=>ve.overflows[0]<=0).sort((ve,Le)=>ve.overflows[1]-Le.overflows[1])[0])==null?void 0:te.placement;if(!xe)switch(P){case"bestFit":{var le;const ve=(le=re.map(Le=>[Le.placement,Le.overflows.filter(qe=>qe>0).reduce((qe,Ie)=>qe+Ie,0)]).sort((Le,qe)=>Le[1]-qe[1])[0])==null?void 0:le[0];ve&&(xe=ve);break}case"initialPlacement":xe=m;break}if(l!==xe)return{reset:{placement:xe}}}return{}}}};async function JS(r,s){const{placement:i,platform:l,elements:n}=r,e=await(l.isRTL==null?void 0:l.isRTL(n.floating)),m=ao(i),F=Sa(i),y=H1(i)==="y",w=["left","top"].includes(m)?-1:1,k=e&&y?-1:1,S=du(s,r);let{mainAxis:P,crossAxis:M,alignmentAxis:N}=typeof S=="number"?{mainAxis:S,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...S};return F&&typeof N=="number"&&(M=F==="end"?N*-1:N),y?{x:M*k,y:P*w}:{x:P*w,y:M*k}}const ZS=function(r){return r===void 0&&(r=0),{name:"offset",options:r,async fn(s){const{x:i,y:l}=s,n=await JS(s,r);return{x:i+n.x,y:l+n.y,data:n}}}},e7=function(r){return r===void 0&&(r={}),{name:"shift",options:r,async fn(s){const{x:i,y:l,placement:n}=s,{mainAxis:e=!0,crossAxis:m=!1,limiter:F={fn:K=>{let{x:U,y:G}=K;return{x:U,y:G}}},...y}=du(r,s),w={x:i,y:l},k=await Em(s,y),S=H1(ao(n)),P=Qy(S);let M=w[P],N=w[S];if(e){const K=P==="y"?"top":"left",U=P==="y"?"bottom":"right",G=M+k[K],se=M-k[U];M=C4(G,M,se)}if(m){const K=S==="y"?"top":"left",U=S==="y"?"bottom":"right",G=N+k[K],se=N-k[U];N=C4(G,N,se)}const B=F.fn({...s,[P]:M,[S]:N});return{...B,data:{x:B.x-i,y:B.y-l}}}}},t7=function(r){return r===void 0&&(r={}),{name:"size",options:r,async fn(s){const{placement:i,rects:l,platform:n,elements:e}=s,{apply:m=()=>{},...F}=du(r,s),y=await Em(s,F),w=ao(i),k=Sa(i),S=H1(i)==="y",{width:P,height:M}=l.floating;let N,B;w==="top"||w==="bottom"?(N=w,B=k===(await(n.isRTL==null?void 0:n.isRTL(e.floating))?"start":"end")?"left":"right"):(B=w,N=k==="end"?"top":"bottom");const K=M-y[N],U=P-y[B],G=!s.middlewareData.shift;let se=K,Y=U;if(S){const ie=P-y.left-y.right;Y=k||G?A1(U,ie):ie}else{const ie=M-y.top-y.bottom;se=k||G?A1(K,ie):ie}if(G&&!k){const ie=qc(y.left,0),re=qc(y.right,0),ne=qc(y.top,0),te=qc(y.bottom,0);S?Y=P-2*(ie!==0||re!==0?ie+re:qc(y.left,y.right)):se=M-2*(ne!==0||te!==0?ne+te:qc(y.top,y.bottom))}await m({...s,availableWidth:Y,availableHeight:se});const z=await n.getDimensions(e.floating);return P!==z.width||M!==z.height?{reset:{rects:!0}}:{}}}};function aa(r){var s;return((s=r.ownerDocument)==null?void 0:s.defaultView)||window}function no(r){return aa(r).getComputedStyle(r)}const M3=Math.min,h1=Math.max,W2=Math.round;function Zy(r){const s=no(r);let i=parseFloat(s.width),l=parseFloat(s.height);const n=r.offsetWidth,e=r.offsetHeight,m=W2(i)!==n||W2(l)!==e;return m&&(i=n,l=e),{width:i,height:l,fallback:m}}function Vl(r){return tw(r)?(r.nodeName||"").toLowerCase():""}let b2;function ew(){if(b2)return b2;const r=navigator.userAgentData;return r&&Array.isArray(r.brands)?(b2=r.brands.map(s=>s.brand+"/"+s.version).join(" "),b2):navigator.userAgent}function so(r){return r instanceof aa(r).HTMLElement}function Nl(r){return r instanceof aa(r).Element}function tw(r){return r instanceof aa(r).Node}function L3(r){return typeof ShadowRoot>"u"?!1:r instanceof aa(r).ShadowRoot||r instanceof ShadowRoot}function xm(r){const{overflow:s,overflowX:i,overflowY:l,display:n}=no(r);return/auto|scroll|overlay|hidden|clip/.test(s+l+i)&&!["inline","contents"].includes(n)}function r7(r){return["table","td","th"].includes(Vl(r))}function T4(r){const s=/firefox/i.test(ew()),i=no(r),l=i.backdropFilter||i.WebkitBackdropFilter;return i.transform!=="none"||i.perspective!=="none"||!!l&&l!=="none"||s&&i.willChange==="filter"||s&&!!i.filter&&i.filter!=="none"||["transform","perspective"].some(n=>i.willChange.includes(n))||["paint","layout","strict","content"].some(n=>{const e=i.contain;return e!=null&&e.includes(n)})}function rw(){return!/^((?!chrome|android).)*safari/i.test(ew())}function Ab(r){return["html","body","#document"].includes(Vl(r))}function nw(r){return Nl(r)?r:r.contextElement}const sw={x:1,y:1};function Bf(r){const s=nw(r);if(!so(s))return sw;const i=s.getBoundingClientRect(),{width:l,height:n,fallback:e}=Zy(s);let m=(e?W2(i.width):i.width)/l,F=(e?W2(i.height):i.height)/n;return m&&Number.isFinite(m)||(m=1),F&&Number.isFinite(F)||(F=1),{x:m,y:F}}function S1(r,s,i,l){var n,e;s===void 0&&(s=!1),i===void 0&&(i=!1);const m=r.getBoundingClientRect(),F=nw(r);let y=sw;s&&(l?Nl(l)&&(y=Bf(l)):y=Bf(r));const w=F?aa(F):window,k=!rw()&&i;let S=(m.left+(k&&((n=w.visualViewport)==null?void 0:n.offsetLeft)||0))/y.x,P=(m.top+(k&&((e=w.visualViewport)==null?void 0:e.offsetTop)||0))/y.y,M=m.width/y.x,N=m.height/y.y;if(F){const B=aa(F),K=l&&Nl(l)?aa(l):l;let U=B.frameElement;for(;U&&l&&K!==B;){const G=Bf(U),se=U.getBoundingClientRect(),Y=getComputedStyle(U);se.x+=(U.clientLeft+parseFloat(Y.paddingLeft))*G.x,se.y+=(U.clientTop+parseFloat(Y.paddingTop))*G.y,S*=G.x,P*=G.y,M*=G.x,N*=G.y,S+=se.x,P+=se.y,U=aa(U).frameElement}}return{width:M,height:N,top:P,right:S+M,bottom:P+N,left:S,x:S,y:P}}function Ml(r){return((tw(r)?r.ownerDocument:r.document)||window.document).documentElement}function Cm(r){return Nl(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.pageXOffset,scrollTop:r.pageYOffset}}function iw(r){return S1(Ml(r)).left+Cm(r).scrollLeft}function k1(r){if(Vl(r)==="html")return r;const s=r.assignedSlot||r.parentNode||L3(r)&&r.host||Ml(r);return L3(s)?s.host:s}function aw(r){const s=k1(r);return Ab(s)?s.ownerDocument.body:so(s)&&xm(s)?s:aw(s)}function z2(r,s){var i;s===void 0&&(s=[]);const l=aw(r),n=l===((i=r.ownerDocument)==null?void 0:i.body),e=aa(l);return n?s.concat(e,e.visualViewport||[],xm(l)?l:[]):s.concat(l,z2(l))}function B3(r,s,i){return s==="viewport"?f1(function(l,n){const e=aa(l),m=Ml(l),F=e.visualViewport;let y=m.clientWidth,w=m.clientHeight,k=0,S=0;if(F){y=F.width,w=F.height;const P=rw();(P||!P&&n==="fixed")&&(k=F.offsetLeft,S=F.offsetTop)}return{width:y,height:w,x:k,y:S}}(r,i)):Nl(s)?f1(function(l,n){const e=S1(l,!0,n==="fixed"),m=e.top+l.clientTop,F=e.left+l.clientLeft,y=so(l)?Bf(l):{x:1,y:1};return{width:l.clientWidth*y.x,height:l.clientHeight*y.y,x:F*y.x,y:m*y.y}}(s,i)):f1(function(l){const n=Ml(l),e=Cm(l),m=l.ownerDocument.body,F=h1(n.scrollWidth,n.clientWidth,m.scrollWidth,m.clientWidth),y=h1(n.scrollHeight,n.clientHeight,m.scrollHeight,m.clientHeight);let w=-e.scrollLeft+iw(l);const k=-e.scrollTop;return no(m).direction==="rtl"&&(w+=h1(n.clientWidth,m.clientWidth)-F),{width:F,height:y,x:w,y:k}}(Ml(r)))}function U3(r){return so(r)&&no(r).position!=="fixed"?r.offsetParent:null}function H3(r){const s=aa(r);let i=U3(r);for(;i&&r7(i)&&no(i).position==="static";)i=U3(i);return i&&(Vl(i)==="html"||Vl(i)==="body"&&no(i).position==="static"&&!T4(i))?s:i||function(l){let n=k1(l);for(;so(n)&&!Ab(n);){if(T4(n))return n;n=k1(n)}return null}(r)||s}function n7(r,s,i){const l=so(s),n=Ml(s),e=S1(r,!0,i==="fixed",s);let m={scrollLeft:0,scrollTop:0};const F={x:0,y:0};if(l||!l&&i!=="fixed")if((Vl(s)!=="body"||xm(n))&&(m=Cm(s)),so(s)){const y=S1(s,!0);F.x=y.x+s.clientLeft,F.y=y.y+s.clientTop}else n&&(F.x=iw(n));return{x:e.left+m.scrollLeft-F.x,y:e.top+m.scrollTop-F.y,width:e.width,height:e.height}}const s7={getClippingRect:function(r){let{element:s,boundary:i,rootBoundary:l,strategy:n}=r;const e=i==="clippingAncestors"?function(w,k){const S=k.get(w);if(S)return S;let P=z2(w).filter(K=>Nl(K)&&Vl(K)!=="body"),M=null;const N=no(w).position==="fixed";let B=N?k1(w):w;for(;Nl(B)&&!Ab(B);){const K=no(B),U=T4(B);(N?U||M:U||K.position!=="static"||!M||!["absolute","fixed"].includes(M.position))?M=K:P=P.filter(G=>G!==B),B=k1(B)}return k.set(w,P),P}(s,this._c):[].concat(i),m=[...e,l],F=m[0],y=m.reduce((w,k)=>{const S=B3(s,k,n);return w.top=h1(S.top,w.top),w.right=M3(S.right,w.right),w.bottom=M3(S.bottom,w.bottom),w.left=h1(S.left,w.left),w},B3(s,F,n));return{width:y.right-y.left,height:y.bottom-y.top,x:y.left,y:y.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(r){let{rect:s,offsetParent:i,strategy:l}=r;const n=so(i),e=Ml(i);if(i===e)return s;let m={scrollLeft:0,scrollTop:0},F={x:1,y:1};const y={x:0,y:0};if((n||!n&&l!=="fixed")&&((Vl(i)!=="body"||xm(e))&&(m=Cm(i)),so(i))){const w=S1(i);F=Bf(i),y.x=w.x+i.clientLeft,y.y=w.y+i.clientTop}return{width:s.width*F.x,height:s.height*F.y,x:s.x*F.x-m.scrollLeft*F.x+y.x,y:s.y*F.y-m.scrollTop*F.y+y.y}},isElement:Nl,getDimensions:function(r){return so(r)?Zy(r):r.getBoundingClientRect()},getOffsetParent:H3,getDocumentElement:Ml,getScale:Bf,async getElementRects(r){let{reference:s,floating:i,strategy:l}=r;const n=this.getOffsetParent||H3,e=this.getDimensions;return{reference:n7(s,await n(i),l),floating:{x:0,y:0,...await e(i)}}},getClientRects:r=>Array.from(r.getClientRects()),isRTL:r=>no(r).direction==="rtl"},i7=(r,s,i)=>{const l=new Map,n={platform:s7,...i},e={...n.platform,_c:l};return YS(r,s,{...n,platform:e})};function ow(r,s){for(const i in s)Object.prototype.hasOwnProperty.call(s,i)&&(typeof s[i]=="object"&&r[i]?ow(r[i],s[i]):r[i]=s[i])}const Vo={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:r=>[...r,"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 O1(r,s){let i=Vo.themes[r]||{},l;do l=i[s],typeof l>"u"?i.$extend?i=Vo.themes[i.$extend]||{}:(i=null,l=Vo[s]):i=null;while(i);return l}function a7(r){const s=[r];let i=Vo.themes[r]||{};do i.$extend&&!i.$resetCss?(s.push(i.$extend),i=Vo.themes[i.$extend]||{}):i=null;while(i);return s.map(l=>`v-popper--theme-${l}`)}function $3(r){const s=[r];let i=Vo.themes[r]||{};do i.$extend?(s.push(i.$extend),i=Vo.themes[i.$extend]||{}):i=null;while(i);return s}let ou=!1;if(typeof window<"u"){ou=!1;try{const r=Object.defineProperty({},"passive",{get(){ou=!0}});window.addEventListener("test",null,r)}catch{}}let lw=!1;typeof window<"u"&&typeof navigator<"u"&&(lw=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const cw=["auto","top","bottom","left","right"].reduce((r,s)=>r.concat([s,`${s}-start`,`${s}-end`]),[]),W3={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},z3={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function V3(r,s){const i=r.indexOf(s);i!==-1&&r.splice(i,1)}function Bv(){return new Promise(r=>requestAnimationFrame(()=>{requestAnimationFrame(r)}))}const xa=[];let Yc=null;const G3={};function j3(r){let s=G3[r];return s||(s=G3[r]=[]),s}let A4=function(){};typeof window<"u"&&(A4=window.Element);function Yr(r){return function(s){return O1(s.theme,r)}}const Uv="__floating-vue__popper",uw=()=>Cs({name:"VPopper",provide(){return{[Uv]:{parentPopper:this}}},inject:{[Uv]:{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:r=>cw.includes(r)},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:r=>["absolute","fixed"].includes(r),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 r;return(r=this[Uv])==null?void 0:r.parentPopper},hasPopperShowTriggerHover(){var r,s;return((r=this.popperTriggers)==null?void 0:r.includes("hover"))||((s=this.popperShowTriggers)==null?void 0:s.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(r){r?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((r,s)=>(r[s]="$_refreshListeners",r),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((r,s)=>(r[s]="$_computePosition",r),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(r=>r.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:r=null,skipDelay:s=!1,force:i=!1}={}){var l,n;(l=this.parentPopper)!=null&&l.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(i||!this.disabled)&&(((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(r,s),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:r=null,skipDelay:s=!1}={}){var i;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:s}),this.parentPopper.lockedChild=null)},1e3));return}((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(r,s),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var r;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((r=this.referenceNode)==null?void 0:r.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(s=>s.nodeType===s.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 r={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&r.middleware.push(ZS({mainAxis:this.distance,crossAxis:this.skidding}));const s=this.placement.startsWith("auto");if(s?r.middleware.push(QS({alignment:this.placement.split("-")[1]??""})):r.placement=this.placement,this.preventOverflow&&(this.shift&&r.middleware.push(e7({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!s&&this.flip&&r.middleware.push(XS({padding:this.overflowPadding,boundary:this.boundary}))),r.middleware.push(KS({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&r.middleware.push({name:"arrowOverflow",fn:({placement:l,rects:n,middlewareData:e})=>{let m;const{centerOffset:F}=e.arrow;return l.startsWith("top")||l.startsWith("bottom")?m=Math.abs(F)>n.reference.width/2:m=Math.abs(F)>n.reference.height/2,{data:{overflow:m}}}}),this.autoMinSize||this.autoSize){const l=this.autoSize?this.autoSize:this.autoMinSize?"min":null;r.middleware.push({name:"autoSize",fn:({rects:n,placement:e,middlewareData:m})=>{var F;if((F=m.autoSize)!=null&&F.skip)return{};let y,w;return e.startsWith("top")||e.startsWith("bottom")?y=n.reference.width:w=n.reference.height,this.$_innerNode.style[l==="min"?"minWidth":l==="max"?"maxWidth":"width"]=y!=null?`${y}px`:null,this.$_innerNode.style[l==="min"?"minHeight":l==="max"?"maxHeight":"height"]=w!=null?`${w}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,r.middleware.push(t7({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:l,availableHeight:n})=>{this.$_innerNode.style.maxWidth=l!=null?`${l}px`:null,this.$_innerNode.style.maxHeight=n!=null?`${n}px`:null}})));const i=await i7(this.$_referenceNode,this.$_popperNode,r);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:{...i.middlewareData.arrow,...i.middlewareData.arrowOverflow}})},$_scheduleShow(r=null,s=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Yc&&this.instantMove&&Yc.instantMove&&Yc!==this.parentPopper){Yc.$_applyHide(!0),this.$_applyShow(!0);return}s?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(r=null,s=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Yc=this),s?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(r){const s=this.delay;return parseInt(s&&s[r]||s||0)},async $_applyShow(r=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=r,!this.isShown&&(this.$_ensureTeleport(),await Bv(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...z2(this.$_referenceNode),...z2(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const s=this.$_referenceNode.getBoundingClientRect(),i=this.$_popperNode.querySelector(".v-popper__wrapper"),l=i.parentNode.getBoundingClientRect(),n=s.x+s.width/2-(l.left+i.offsetLeft),e=s.y+s.height/2-(l.top+i.offsetTop);this.result.transformOrigin=`${n}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const r=this.showGroup;if(r){let s;for(let i=0;i<xa.length;i++)s=xa[i],s.showGroup!==r&&(s.hide(),s.$emit("close-group"))}xa.push(this),document.body.classList.add("v-popper--some-open");for(const s of $3(this.theme))j3(s).push(this),document.body.classList.add(`v-popper--some-open--${s}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Bv(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(r=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=r,V3(xa,this),xa.length===0&&document.body.classList.remove("v-popper--some-open");for(const i of $3(this.theme)){const l=j3(i);V3(l,this),l.length===0&&document.body.classList.remove(`v-popper--some-open--${i}`)}Yc===this&&(Yc=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const s=this.disposeTimeout;s!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},s)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Bv(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let r=this.container;if(typeof r=="string"?r=window.document.querySelector(r):r===!1&&(r=this.$_targetNodes[0].parentNode),!r)throw new Error("No container for popover: "+this.container);r.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const r=i=>{this.isShown&&!this.$_hideInProgress||(i.usedByTooltip=!0,!this.$_preventShow&&this.show({event:i}))};this.$_registerTriggerListeners(this.$_targetNodes,W3,this.triggers,this.showTriggers,r),this.$_registerTriggerListeners([this.$_popperNode],W3,this.popperTriggers,this.popperShowTriggers,r);const s=i=>{i.usedByTooltip||this.hide({event:i})};this.$_registerTriggerListeners(this.$_targetNodes,z3,this.triggers,this.hideTriggers,s),this.$_registerTriggerListeners([this.$_popperNode],z3,this.popperTriggers,this.popperHideTriggers,s)},$_registerEventListeners(r,s,i){this.$_events.push({targetNodes:r,eventType:s,handler:i}),r.forEach(l=>l.addEventListener(s,i,ou?{passive:!0}:void 0))},$_registerTriggerListeners(r,s,i,l,n){let e=i;l!=null&&(e=typeof l=="function"?l(e):l),e.forEach(m=>{const F=s[m];F&&this.$_registerEventListeners(r,F,n)})},$_removeEventListeners(r){const s=[];this.$_events.forEach(i=>{const{targetNodes:l,eventType:n,handler:e}=i;!r||r===n?l.forEach(m=>m.removeEventListener(n,e)):s.push(i)}),this.$_events=s},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(r,s=!1){this.$_showFrameLocked||(this.hide({event:r}),r.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),s&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(r,s){for(const i of this.$_targetNodes){const l=i.getAttribute(r);l&&(i.removeAttribute(r),i.setAttribute(s,l))}},$_applyAttrsToTarget(r){for(const s of this.$_targetNodes)for(const i in r){const l=r[i];l==null?s.removeAttribute(i):s.setAttribute(i,l)}},$_updateParentShownChildren(r){let s=this.parentPopper;for(;s;)r?s.shownChildren.add(this.randomId):(s.shownChildren.delete(this.randomId),s.$_pendingHide&&s.hide()),s=s.parentPopper},$_isAimingPopper(){const r=this.$_referenceNode.getBoundingClientRect();if(d1>=r.left&&d1<=r.right&&p1>=r.top&&p1<=r.bottom){const s=this.$_popperNode.getBoundingClientRect(),i=d1-Al,l=p1-Sl,n=s.left+s.width/2-Al+(s.top+s.height/2)-Sl+s.width+s.height,e=Al+i*n,m=Sl+l*n;return D2(Al,Sl,e,m,s.left,s.top,s.left,s.bottom)||D2(Al,Sl,e,m,s.left,s.top,s.right,s.top)||D2(Al,Sl,e,m,s.right,s.top,s.right,s.bottom)||D2(Al,Sl,e,m,s.left,s.bottom,s.right,s.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(lw?(document.addEventListener("touchstart",Y3,ou?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",l7,ou?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Y3,!0),window.addEventListener("click",o7,!0)),window.addEventListener("resize",f7));function Y3(r){for(let s=0;s<xa.length;s++){const i=xa[s];try{const l=i.popperNode();i.$_mouseDownContains=l.contains(r.target)}catch{}}}function o7(r){fw(r)}function l7(r){fw(r,!0)}function fw(r,s=!1){const i={};for(let l=xa.length-1;l>=0;l--){const n=xa[l];try{const e=n.$_containsGlobalTarget=c7(n,r);n.$_pendingHide=!1,requestAnimationFrame(()=>{if(n.$_pendingHide=!1,!i[n.randomId]&&K3(n,e,r)){if(n.$_handleGlobalClose(r,s),!r.closeAllPopover&&r.closePopover&&e){let F=n.parentPopper;for(;F;)i[F.randomId]=!0,F=F.parentPopper;return}let m=n.parentPopper;for(;m&&K3(m,m.$_containsGlobalTarget,r);)m.$_handleGlobalClose(r,s),m=m.parentPopper}})}catch{}}}function c7(r,s){const i=r.popperNode();return r.$_mouseDownContains||i.contains(s.target)}function K3(r,s,i){return i.closeAllPopover||i.closePopover&&s||u7(r,i)&&!s}function u7(r,s){if(typeof r.autoHide=="function"){const i=r.autoHide(s);return r.lastAutoHide=i,i}return r.autoHide}function f7(r){for(let s=0;s<xa.length;s++)xa[s].$_computePosition(r)}let Al=0,Sl=0,d1=0,p1=0;typeof window<"u"&&window.addEventListener("mousemove",r=>{Al=d1,Sl=p1,d1=r.clientX,p1=r.clientY},ou?{passive:!0}:void 0);function D2(r,s,i,l,n,e,m,F){const y=((m-n)*(s-e)-(F-e)*(r-n))/((F-e)*(i-r)-(m-n)*(l-s)),w=((i-r)*(s-e)-(l-s)*(r-n))/((F-e)*(i-r)-(m-n)*(l-s));return y>=0&&y<=1&&w>=0&&w<=1}const h7={extends:uw()},Tm=(r,s)=>{const i=r.__vccOpts||r;for(const[l,n]of s)i[l]=n;return i};function d7(r,s,i,l,n,e){return Ur(),vn("div",{ref:"reference",class:ni(["v-popper",{"v-popper--shown":r.slotData.isShown}])},[E1(r.$slots,"default",OF(pb(r.slotData)))],2)}const p7=Tm(h7,[["render",d7]]);function m7(){var r=window.navigator.userAgent,s=r.indexOf("MSIE ");if(s>0)return parseInt(r.substring(s+5,r.indexOf(".",s)),10);var i=r.indexOf("Trident/");if(i>0){var l=r.indexOf("rv:");return parseInt(r.substring(l+3,r.indexOf(".",l)),10)}var n=r.indexOf("Edge/");return n>0?parseInt(r.substring(n+5,r.indexOf(".",n)),10):-1}let E2;function S4(){S4.init||(S4.init=!0,E2=m7()!==-1)}var Am={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){S4(),oo(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const r=document.createElement("object");this._resizeObject=r,r.setAttribute("aria-hidden","true"),r.setAttribute("tabindex",-1),r.onload=this.addResizeHandlers,r.type="text/html",E2&&this.$el.appendChild(r),r.data="about:blank",E2||this.$el.appendChild(r)},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&&(!E2&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const g7=r_();um("data-v-b329ee4c");const v7={class:"resize-observer",tabindex:"-1"};fm();const b7=g7((r,s,i,l,n,e)=>(Ur(),Yo("div",v7)));Am.render=b7;Am.__scopeId="data-v-b329ee4c";Am.__file="src/components/ResizeObserver.vue";const hw=(r="theme")=>({computed:{themeClass(){return a7(this[r])}}}),D7=Cs({name:"VPopperContent",components:{ResizeObserver:Am},mixins:[hw()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(r){return r!=null&&!isNaN(r)?`${r}px`:null}}}),F7=["id","aria-hidden","tabindex","data-popper-placement"],_7={ref:"inner",class:"v-popper__inner"},y7=Mt("div",{class:"v-popper__arrow-outer"},null,-1),w7=Mt("div",{class:"v-popper__arrow-inner"},null,-1),E7=[y7,w7];function x7(r,s,i,l,n,e){const m=Bi("ResizeObserver");return Ur(),vn("div",{id:r.popperId,ref:"popover",class:ni(["v-popper__popper",[r.themeClass,r.classes.popperClass,{"v-popper__popper--shown":r.shown,"v-popper__popper--hidden":!r.shown,"v-popper__popper--show-from":r.classes.showFrom,"v-popper__popper--show-to":r.classes.showTo,"v-popper__popper--hide-from":r.classes.hideFrom,"v-popper__popper--hide-to":r.classes.hideTo,"v-popper__popper--skip-transition":r.skipTransition,"v-popper__popper--arrow-overflow":r.result&&r.result.arrow.overflow,"v-popper__popper--no-positioning":!r.result}]]),style:Aa(r.result?{position:r.result.strategy,transform:`translate3d(${Math.round(r.result.x)}px,${Math.round(r.result.y)}px,0)`}:void 0),"aria-hidden":r.shown?"false":"true",tabindex:r.autoHide?0:void 0,"data-popper-placement":r.result?r.result.placement:void 0,onKeyup:s[2]||(s[2]=ry(F=>r.autoHide&&r.$emit("hide"),["esc"]))},[Mt("div",{class:"v-popper__backdrop",onClick:s[0]||(s[0]=F=>r.autoHide&&r.$emit("hide"))}),Mt("div",{class:"v-popper__wrapper",style:Aa(r.result?{transformOrigin:r.result.transformOrigin}:void 0)},[Mt("div",_7,[r.mounted?(Ur(),vn(jn,{key:0},[Mt("div",null,[E1(r.$slots,"default")]),r.handleResize?(Ur(),Yo(m,{key:0,onNotify:s[1]||(s[1]=F=>r.$emit("resize",F))})):oa("",!0)],64)):oa("",!0)],512),Mt("div",{ref:"arrow",class:"v-popper__arrow-container",style:Aa(r.result?{left:r.toPx(r.result.arrow.x),top:r.toPx(r.result.arrow.y)}:void 0)},E7,4)],4)],46,F7)}const dw=Tm(D7,[["render",x7]]),pw={methods:{show(...r){return this.$refs.popper.show(...r)},hide(...r){return this.$refs.popper.hide(...r)},dispose(...r){return this.$refs.popper.dispose(...r)},onResize(...r){return this.$refs.popper.onResize(...r)}}},C7=Cs({name:"VPopperWrapper",components:{Popper:p7,PopperContent:dw},mixins:[pw,hw("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(r=>r!==this.$refs.popperContent.$el)}}});function T7(r,s,i,l,n,e){const m=Bi("PopperContent"),F=Bi("Popper");return Ur(),Yo(F,{ref:"popper",theme:r.finalTheme,"target-nodes":r.getTargetNodes,"popper-node":()=>r.$refs.popperContent.$el,class:ni([r.themeClass])},{default:ws(({popperId:y,isShown:w,shouldMountContent:k,skipTransition:S,autoHide:P,show:M,hide:N,handleResize:B,onResize:K,classes:U,result:G})=>[E1(r.$slots,"default",{shown:w,show:M,hide:N}),Er(m,{ref:"popperContent","popper-id":y,theme:r.finalTheme,shown:w,mounted:k,"skip-transition":S,"auto-hide":P,"handle-resize":B,classes:U,result:G,onHide:N,onResize:K},{default:ws(()=>[E1(r.$slots,"popper",{shown:w,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 Sb=Tm(C7,[["render",T7]]),A7={...Sb,name:"VDropdown",vPopperTheme:"dropdown"},S7={...Sb,name:"VMenu",vPopperTheme:"menu"},k7={...Sb,name:"VTooltip",vPopperTheme:"tooltip"},O7=Cs({name:"VTooltipDirective",components:{Popper:uw(),PopperContent:dw},mixins:[pw],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:r=>O1(r.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:r=>O1(r.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(r){if(typeof this.content=="function"&&this.$_isShown&&(r||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const s=++this.$_fetchId,i=this.content(this);i.then?i.then(l=>this.onResult(s,l)):this.onResult(s,i)}},onResult(r,s){r===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=s)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),R7=["innerHTML"],P7=["textContent"];function I7(r,s,i,l,n,e){const m=Bi("PopperContent"),F=Bi("Popper");return Ur(),Yo(F,gm({ref:"popper"},r.$attrs,{theme:r.theme,"target-nodes":r.targetNodes,"popper-node":()=>r.$refs.popperContent.$el,onApplyShow:r.onShow,onApplyHide:r.onHide}),{default:ws(({popperId:y,isShown:w,shouldMountContent:k,skipTransition:S,autoHide:P,hide:M,handleResize:N,onResize:B,classes:K,result:U})=>[Er(m,{ref:"popperContent",class:ni({"v-popper--tooltip-loading":r.loading}),"popper-id":y,theme:r.theme,shown:w,mounted:k,"skip-transition":S,"auto-hide":P,"handle-resize":N,classes:K,result:U,onHide:M,onResize:B},{default:ws(()=>[r.html?(Ur(),vn("div",{key:0,innerHTML:r.finalContent},null,8,R7)):(Ur(),vn("div",{key:1,textContent:as(r.finalContent)},null,8,P7))]),_: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 N7=Tm(O7,[["render",I7]]),mw="v-popper--has-tooltip";function M7(r,s){let i=r.placement;if(!i&&s)for(const l of cw)s[l]&&(i=l);return i||(i=O1(r.theme||"tooltip","placement")),i}function gw(r,s,i){let l;const n=typeof s;return n==="string"?l={content:s}:s&&n==="object"?l=s:l={content:!1},l.placement=M7(l,i),l.targetNodes=()=>[r],l.referenceNode=()=>r,l}let Hv,R1,L7=0;function B7(){if(Hv)return;R1=Yt([]),Hv=_b({name:"VTooltipDirectiveApp",setup(){return{directives:R1}},render(){return this.directives.map(s=>fu(N7,{...s.options,shown:s.shown||s.options.shown,key:s.id}))},devtools:{hide:!0}});const r=document.createElement("div");document.body.appendChild(r),Hv.mount(r)}function U7(r,s,i){B7();const l=Yt(gw(r,s,i)),n=Yt(!1),e={id:L7++,options:l,shown:n};return R1.value.push(e),r.classList&&r.classList.add(mw),r.$_popper={options:l,item:e,show(){n.value=!0},hide(){n.value=!1}}}function vw(r){if(r.$_popper){const s=R1.value.indexOf(r.$_popper.item);s!==-1&&R1.value.splice(s,1),delete r.$_popper,delete r.$_popperOldShown,delete r.$_popperMountTarget}r.classList&&r.classList.remove(mw)}function q3(r,{value:s,modifiers:i}){const l=gw(r,s,i);if(!l.content||O1(l.theme||"tooltip","disabled"))vw(r);else{let n;r.$_popper?(n=r.$_popper,n.options.value=l):n=U7(r,s,i),typeof s.shown<"u"&&s.shown!==r.$_popperOldShown&&(r.$_popperOldShown=s.shown,s.shown?n.show():n.hide())}}const H7={beforeMount:q3,updated:q3,beforeUnmount(r){vw(r)}};function Q3(r){r.addEventListener("click",bw),r.addEventListener("touchstart",Dw,ou?{passive:!0}:!1)}function X3(r){r.removeEventListener("click",bw),r.removeEventListener("touchstart",Dw),r.removeEventListener("touchend",Fw),r.removeEventListener("touchcancel",_w)}function bw(r){const s=r.currentTarget;r.closePopover=!s.$_vclosepopover_touch,r.closeAllPopover=s.$_closePopoverModifiers&&!!s.$_closePopoverModifiers.all}function Dw(r){if(r.changedTouches.length===1){const s=r.currentTarget;s.$_vclosepopover_touch=!0;const i=r.changedTouches[0];s.$_vclosepopover_touchPoint=i,s.addEventListener("touchend",Fw),s.addEventListener("touchcancel",_w)}}function Fw(r){const s=r.currentTarget;if(s.$_vclosepopover_touch=!1,r.changedTouches.length===1){const i=r.changedTouches[0],l=s.$_vclosepopover_touchPoint;r.closePopover=Math.abs(i.screenY-l.screenY)<20&&Math.abs(i.screenX-l.screenX)<20,r.closeAllPopover=s.$_closePopoverModifiers&&!!s.$_closePopoverModifiers.all}}function _w(r){const s=r.currentTarget;s.$_vclosepopover_touch=!1}const $7={beforeMount(r,{value:s,modifiers:i}){r.$_closePopoverModifiers=i,(typeof s>"u"||s)&&Q3(r)},updated(r,{value:s,oldValue:i,modifiers:l}){r.$_closePopoverModifiers=l,s!==i&&(typeof s>"u"||s?Q3(r):X3(r))},beforeUnmount(r){X3(r)}};function W7(r,s={}){r.$_vTooltipInstalled||(r.$_vTooltipInstalled=!0,ow(Vo,s),r.directive("tooltip",H7),r.directive("close-popper",$7),r.component("VTooltip",k7),r.component("VDropdown",A7),r.component("VMenu",S7))}const z7={version:"2.0.0-beta.24",install:W7,options:Vo};class Sm{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(s){const i={listener:s};return this.listeners.add(i),this.onSubscribe(),()=>{this.listeners.delete(i),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const km=typeof window>"u"||"Deno"in window;function _a(){}function V7(r,s){return typeof r=="function"?r(s):r}function G7(r){return typeof r=="number"&&r>=0&&r!==1/0}function j7(r,s){return Math.max(r+(s||0)-Date.now(),0)}function F2(r,s,i){return Om(r)?typeof s=="function"?{...i,queryKey:r,queryFn:s}:{...s,queryKey:r}:r}function Rl(r,s,i){return Om(r)?[{...s,queryKey:r},i]:[r||{},s]}function J3(r,s){const{type:i="all",exact:l,fetchStatus:n,predicate:e,queryKey:m,stale:F}=r;if(Om(m)){if(l){if(s.queryHash!==kb(m,s.options))return!1}else if(!V2(s.queryKey,m))return!1}if(i!=="all"){const y=s.isActive();if(i==="active"&&!y||i==="inactive"&&y)return!1}return!(typeof F=="boolean"&&s.isStale()!==F||typeof n<"u"&&n!==s.state.fetchStatus||e&&!e(s))}function Z3(r,s){const{exact:i,fetching:l,predicate:n,mutationKey:e}=r;if(Om(e)){if(!s.options.mutationKey)return!1;if(i){if(Zc(s.options.mutationKey)!==Zc(e))return!1}else if(!V2(s.options.mutationKey,e))return!1}return!(typeof l=="boolean"&&s.state.status==="loading"!==l||n&&!n(s))}function kb(r,s){return((s==null?void 0:s.queryKeyHashFn)||Zc)(r)}function Zc(r){return JSON.stringify(r,(s,i)=>k4(i)?Object.keys(i).sort().reduce((l,n)=>(l[n]=i[n],l),{}):i)}function V2(r,s){return yw(r,s)}function yw(r,s){return r===s?!0:typeof r!=typeof s?!1:r&&s&&typeof r=="object"&&typeof s=="object"?!Object.keys(s).some(i=>!yw(r[i],s[i])):!1}function ww(r,s){if(r===s)return r;const i=eF(r)&&eF(s);if(i||k4(r)&&k4(s)){const l=i?r.length:Object.keys(r).length,n=i?s:Object.keys(s),e=n.length,m=i?[]:{};let F=0;for(let y=0;y<e;y++){const w=i?y:n[y];m[w]=ww(r[w],s[w]),m[w]===r[w]&&F++}return l===e&&F===l?r:m}return s}function yO(r,s){if(r&&!s||s&&!r)return!1;for(const i in r)if(r[i]!==s[i])return!1;return!0}function eF(r){return Array.isArray(r)&&r.length===Object.keys(r).length}function k4(r){if(!tF(r))return!1;const s=r.constructor;if(typeof s>"u")return!0;const i=s.prototype;return!(!tF(i)||!i.hasOwnProperty("isPrototypeOf"))}function tF(r){return Object.prototype.toString.call(r)==="[object Object]"}function Om(r){return Array.isArray(r)}function Ew(r){return new Promise(s=>{setTimeout(s,r)})}function rF(r){Ew(0).then(r)}function Y7(){if(typeof AbortController=="function")return new AbortController}function K7(r,s,i){return i.isDataEqual!=null&&i.isDataEqual(r,s)?r:typeof i.structuralSharing=="function"?i.structuralSharing(r,s):i.structuralSharing!==!1?ww(r,s):s}class q7 extends Sm{constructor(){super(),this.setup=s=>{if(!km&&window.addEventListener){const i=()=>s();return window.addEventListener("visibilitychange",i,!1),window.addEventListener("focus",i,!1),()=>{window.removeEventListener("visibilitychange",i),window.removeEventListener("focus",i)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.cleanup)==null||s.call(this),this.cleanup=void 0}}setEventListener(s){var i;this.setup=s,(i=this.cleanup)==null||i.call(this),this.cleanup=s(l=>{typeof l=="boolean"?this.setFocused(l):this.onFocus()})}setFocused(s){this.focused!==s&&(this.focused=s,this.onFocus())}onFocus(){this.listeners.forEach(({listener:s})=>{s()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const O4=new q7,nF=["online","offline"];class Q7 extends Sm{constructor(){super(),this.setup=s=>{if(!km&&window.addEventListener){const i=()=>s();return nF.forEach(l=>{window.addEventListener(l,i,!1)}),()=>{nF.forEach(l=>{window.removeEventListener(l,i)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var s;(s=this.cleanup)==null||s.call(this),this.cleanup=void 0}}setEventListener(s){var i;this.setup=s,(i=this.cleanup)==null||i.call(this),this.cleanup=s(l=>{typeof l=="boolean"?this.setOnline(l):this.onOnline()})}setOnline(s){this.online!==s&&(this.online=s,this.onOnline())}onOnline(){this.listeners.forEach(({listener:s})=>{s()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const G2=new Q7;function X7(r){return Math.min(1e3*2**r,3e4)}function Ob(r){return(r??"online")==="online"?G2.isOnline():!0}class xw{constructor(s){this.revert=s==null?void 0:s.revert,this.silent=s==null?void 0:s.silent}}function $v(r){return r instanceof xw}function Cw(r){let s=!1,i=0,l=!1,n,e,m;const F=new Promise((K,U)=>{e=K,m=U}),y=K=>{l||(M(new xw(K)),r.abort==null||r.abort())},w=()=>{s=!0},k=()=>{s=!1},S=()=>!O4.isFocused()||r.networkMode!=="always"&&!G2.isOnline(),P=K=>{l||(l=!0,r.onSuccess==null||r.onSuccess(K),n==null||n(),e(K))},M=K=>{l||(l=!0,r.onError==null||r.onError(K),n==null||n(),m(K))},N=()=>new Promise(K=>{n=U=>{const G=l||!S();return G&&K(U),G},r.onPause==null||r.onPause()}).then(()=>{n=void 0,l||r.onContinue==null||r.onContinue()}),B=()=>{if(l)return;let K;try{K=r.fn()}catch(U){K=Promise.reject(U)}Promise.resolve(K).then(P).catch(U=>{var G,se;if(l)return;const Y=(G=r.retry)!=null?G:3,z=(se=r.retryDelay)!=null?se:X7,ie=typeof z=="function"?z(i,U):z,re=Y===!0||typeof Y=="number"&&i<Y||typeof Y=="function"&&Y(i,U);if(s||!re){M(U);return}i++,r.onFail==null||r.onFail(i,U),Ew(ie).then(()=>{if(S())return N()}).then(()=>{s?M(U):B()})})};return Ob(r.networkMode)?B():N().then(B),{promise:F,cancel:y,continue:()=>(n==null?void 0:n())?F:Promise.resolve(),cancelRetry:w,continueRetry:k}}const Rb=console;function J7(){let r=[],s=0,i=k=>{k()},l=k=>{k()};const n=k=>{let S;s++;try{S=k()}finally{s--,s||F()}return S},e=k=>{s?r.push(k):rF(()=>{i(k)})},m=k=>(...S)=>{e(()=>{k(...S)})},F=()=>{const k=r;r=[],k.length&&rF(()=>{l(()=>{k.forEach(S=>{i(S)})})})};return{batch:n,batchCalls:m,schedule:e,setNotifyFunction:k=>{i=k},setBatchNotifyFunction:k=>{l=k}}}const ti=J7();class Tw{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),G7(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(s){this.cacheTime=Math.max(this.cacheTime||0,s??(km?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class Z7 extends Tw{constructor(s){super(),this.abortSignalConsumed=!1,this.defaultOptions=s.defaultOptions,this.setOptions(s.options),this.observers=[],this.cache=s.cache,this.logger=s.logger||Rb,this.queryKey=s.queryKey,this.queryHash=s.queryHash,this.initialState=s.state||e9(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(s){this.options={...this.defaultOptions,...s},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(s,i){const l=K7(this.state.data,s,this.options);return this.dispatch({data:l,type:"success",dataUpdatedAt:i==null?void 0:i.updatedAt,manual:i==null?void 0:i.manual}),l}setState(s,i){this.dispatch({type:"setState",state:s,setStateOptions:i})}cancel(s){var i;const l=this.promise;return(i=this.retryer)==null||i.cancel(s),l?l.then(_a).catch(_a):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(s=>s.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(s=>s.getCurrentResult().isStale)}isStaleByTime(s=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!j7(this.state.dataUpdatedAt,s)}onFocus(){var s;const i=this.observers.find(l=>l.shouldFetchOnWindowFocus());i&&i.refetch({cancelRefetch:!1}),(s=this.retryer)==null||s.continue()}onOnline(){var s;const i=this.observers.find(l=>l.shouldFetchOnReconnect());i&&i.refetch({cancelRefetch:!1}),(s=this.retryer)==null||s.continue()}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:s}))}removeObserver(s){this.observers.includes(s)&&(this.observers=this.observers.filter(i=>i!==s),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:s}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(s,i){var l,n;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&i!=null&&i.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var e;return(e=this.retryer)==null||e.continueRetry(),this.promise}}if(s&&this.setOptions(s),!this.options.queryFn){const M=this.observers.find(N=>N.options.queryFn);M&&this.setOptions(M.options)}Array.isArray(this.options.queryKey);const m=Y7(),F={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},y=M=>{Object.defineProperty(M,"signal",{enumerable:!0,get:()=>{if(m)return this.abortSignalConsumed=!0,m.signal}})};y(F);const w=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(F)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),k={fetchOptions:i,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:w};if(y(k),(l=this.options.behavior)==null||l.onFetch(k),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((n=k.fetchOptions)==null?void 0:n.meta)){var S;this.dispatch({type:"fetch",meta:(S=k.fetchOptions)==null?void 0:S.meta})}const P=M=>{if($v(M)&&M.silent||this.dispatch({type:"error",error:M}),!$v(M)){var N,B,K,U;(N=(B=this.cache.config).onError)==null||N.call(B,M,this),(K=(U=this.cache.config).onSettled)==null||K.call(U,this.state.data,M,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=Cw({fn:k.fetchFn,abort:m==null?void 0:m.abort.bind(m),onSuccess:M=>{var N,B,K,U;if(typeof M>"u"){P(new Error(this.queryHash+" data is undefined"));return}this.setData(M),(N=(B=this.cache.config).onSuccess)==null||N.call(B,M,this),(K=(U=this.cache.config).onSettled)==null||K.call(U,M,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:P,onFail:(M,N)=>{this.dispatch({type:"failed",failureCount:M,error:N})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:k.options.retry,retryDelay:k.options.retryDelay,networkMode:k.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(s){const i=l=>{var n,e;switch(s.type){case"failed":return{...l,fetchFailureCount:s.failureCount,fetchFailureReason:s.error};case"pause":return{...l,fetchStatus:"paused"};case"continue":return{...l,fetchStatus:"fetching"};case"fetch":return{...l,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(n=s.meta)!=null?n:null,fetchStatus:Ob(this.options.networkMode)?"fetching":"paused",...!l.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...l,data:s.data,dataUpdateCount:l.dataUpdateCount+1,dataUpdatedAt:(e=s.dataUpdatedAt)!=null?e:Date.now(),error:null,isInvalidated:!1,status:"success",...!s.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const m=s.error;return $v(m)&&m.revert&&this.revertState?{...this.revertState}:{...l,error:m,errorUpdateCount:l.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:l.fetchFailureCount+1,fetchFailureReason:m,fetchStatus:"idle",status:"error"};case"invalidate":return{...l,isInvalidated:!0};case"setState":return{...l,...s.state}}};this.state=i(this.state),ti.batch(()=>{this.observers.forEach(l=>{l.onQueryUpdate(s)}),this.cache.notify({query:this,type:"updated",action:s})})}}function e9(r){const s=typeof r.initialData=="function"?r.initialData():r.initialData,i=typeof s<"u",l=i?typeof r.initialDataUpdatedAt=="function"?r.initialDataUpdatedAt():r.initialDataUpdatedAt:0;return{data:s,dataUpdateCount:0,dataUpdatedAt:i?l??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:i?"success":"loading",fetchStatus:"idle"}}let Aw=class extends Sm{constructor(s){super(),this.config=s||{},this.queries=[],this.queriesMap={}}build(s,i,l){var n;const e=i.queryKey,m=(n=i.queryHash)!=null?n:kb(e,i);let F=this.get(m);return F||(F=new Z7({cache:this,logger:s.getLogger(),queryKey:e,queryHash:m,options:s.defaultQueryOptions(i),state:l,defaultOptions:s.getQueryDefaults(e)}),this.add(F)),F}add(s){this.queriesMap[s.queryHash]||(this.queriesMap[s.queryHash]=s,this.queries.push(s),this.notify({type:"added",query:s}))}remove(s){const i=this.queriesMap[s.queryHash];i&&(s.destroy(),this.queries=this.queries.filter(l=>l!==s),i===s&&delete this.queriesMap[s.queryHash],this.notify({type:"removed",query:s}))}clear(){ti.batch(()=>{this.queries.forEach(s=>{this.remove(s)})})}get(s){return this.queriesMap[s]}getAll(){return this.queries}find(s,i){const[l]=Rl(s,i);return typeof l.exact>"u"&&(l.exact=!0),this.queries.find(n=>J3(l,n))}findAll(s,i){const[l]=Rl(s,i);return Object.keys(l).length>0?this.queries.filter(n=>J3(l,n)):this.queries}notify(s){ti.batch(()=>{this.listeners.forEach(({listener:i})=>{i(s)})})}onFocus(){ti.batch(()=>{this.queries.forEach(s=>{s.onFocus()})})}onOnline(){ti.batch(()=>{this.queries.forEach(s=>{s.onOnline()})})}};class t9 extends Tw{constructor(s){super(),this.defaultOptions=s.defaultOptions,this.mutationId=s.mutationId,this.mutationCache=s.mutationCache,this.logger=s.logger||Rb,this.observers=[],this.state=s.state||r9(),this.setOptions(s.options),this.scheduleGc()}setOptions(s){this.options={...this.defaultOptions,...s},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(s){this.dispatch({type:"setState",state:s})}addObserver(s){this.observers.includes(s)||(this.observers.push(s),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:s}))}removeObserver(s){this.observers=this.observers.filter(i=>i!==s),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:s})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var s,i;return(s=(i=this.retryer)==null?void 0:i.continue())!=null?s:this.execute()}async execute(){const s=()=>{var re;return this.retryer=Cw({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(ne,te)=>{this.dispatch({type:"failed",failureCount:ne,error:te})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(re=this.options.retry)!=null?re:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},i=this.state.status==="loading";try{var l,n,e,m,F,y,w,k;if(!i){var S,P,M,N;this.dispatch({type:"loading",variables:this.options.variables}),await((S=(P=this.mutationCache.config).onMutate)==null?void 0:S.call(P,this.state.variables,this));const ne=await((M=(N=this.options).onMutate)==null?void 0:M.call(N,this.state.variables));ne!==this.state.context&&this.dispatch({type:"loading",context:ne,variables:this.state.variables})}const re=await s();return await((l=(n=this.mutationCache.config).onSuccess)==null?void 0:l.call(n,re,this.state.variables,this.state.context,this)),await((e=(m=this.options).onSuccess)==null?void 0:e.call(m,re,this.state.variables,this.state.context)),await((F=(y=this.mutationCache.config).onSettled)==null?void 0:F.call(y,re,null,this.state.variables,this.state.context,this)),await((w=(k=this.options).onSettled)==null?void 0:w.call(k,re,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:re}),re}catch(re){try{var B,K,U,G,se,Y,z,ie;throw await((B=(K=this.mutationCache.config).onError)==null?void 0:B.call(K,re,this.state.variables,this.state.context,this)),await((U=(G=this.options).onError)==null?void 0:U.call(G,re,this.state.variables,this.state.context)),await((se=(Y=this.mutationCache.config).onSettled)==null?void 0:se.call(Y,void 0,re,this.state.variables,this.state.context,this)),await((z=(ie=this.options).onSettled)==null?void 0:z.call(ie,void 0,re,this.state.variables,this.state.context)),re}finally{this.dispatch({type:"error",error:re})}}}dispatch(s){const i=l=>{switch(s.type){case"failed":return{...l,failureCount:s.failureCount,failureReason:s.error};case"pause":return{...l,isPaused:!0};case"continue":return{...l,isPaused:!1};case"loading":return{...l,context:s.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!Ob(this.options.networkMode),status:"loading",variables:s.variables};case"success":return{...l,data:s.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...l,data:void 0,error:s.error,failureCount:l.failureCount+1,failureReason:s.error,isPaused:!1,status:"error"};case"setState":return{...l,...s.state}}};this.state=i(this.state),ti.batch(()=>{this.observers.forEach(l=>{l.onMutationUpdate(s)}),this.mutationCache.notify({mutation:this,type:"updated",action:s})})}}function r9(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let Sw=class extends Sm{constructor(s){super(),this.config=s||{},this.mutations=[],this.mutationId=0}build(s,i,l){const n=new t9({mutationCache:this,logger:s.getLogger(),mutationId:++this.mutationId,options:s.defaultMutationOptions(i),state:l,defaultOptions:i.mutationKey?s.getMutationDefaults(i.mutationKey):void 0});return this.add(n),n}add(s){this.mutations.push(s),this.notify({type:"added",mutation:s})}remove(s){this.mutations=this.mutations.filter(i=>i!==s),this.notify({type:"removed",mutation:s})}clear(){ti.batch(()=>{this.mutations.forEach(s=>{this.remove(s)})})}getAll(){return this.mutations}find(s){return typeof s.exact>"u"&&(s.exact=!0),this.mutations.find(i=>Z3(s,i))}findAll(s){return this.mutations.filter(i=>Z3(s,i))}notify(s){ti.batch(()=>{this.listeners.forEach(({listener:i})=>{i(s)})})}resumePausedMutations(){var s;return this.resuming=((s=this.resuming)!=null?s:Promise.resolve()).then(()=>{const i=this.mutations.filter(l=>l.state.isPaused);return ti.batch(()=>i.reduce((l,n)=>l.then(()=>n.continue().catch(_a)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};function n9(){return{onFetch:r=>{r.fetchFn=()=>{var s,i,l,n,e,m;const F=(s=r.fetchOptions)==null||(i=s.meta)==null?void 0:i.refetchPage,y=(l=r.fetchOptions)==null||(n=l.meta)==null?void 0:n.fetchMore,w=y==null?void 0:y.pageParam,k=(y==null?void 0:y.direction)==="forward",S=(y==null?void 0:y.direction)==="backward",P=((e=r.state.data)==null?void 0:e.pages)||[],M=((m=r.state.data)==null?void 0:m.pageParams)||[];let N=M,B=!1;const K=ie=>{Object.defineProperty(ie,"signal",{enumerable:!0,get:()=>{var re;if((re=r.signal)!=null&&re.aborted)B=!0;else{var ne;(ne=r.signal)==null||ne.addEventListener("abort",()=>{B=!0})}return r.signal}})},U=r.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+r.options.queryHash+"'")),G=(ie,re,ne,te)=>(N=te?[re,...N]:[...N,re],te?[ne,...ie]:[...ie,ne]),se=(ie,re,ne,te)=>{if(B)return Promise.reject("Cancelled");if(typeof ne>"u"&&!re&&ie.length)return Promise.resolve(ie);const le={queryKey:r.queryKey,pageParam:ne,meta:r.options.meta};K(le);const we=U(le);return Promise.resolve(we).then(xe=>G(ie,ne,xe,te))};let Y;if(!P.length)Y=se([]);else if(k){const ie=typeof w<"u",re=ie?w:sF(r.options,P);Y=se(P,ie,re)}else if(S){const ie=typeof w<"u",re=ie?w:s9(r.options,P);Y=se(P,ie,re,!0)}else{N=[];const ie=typeof r.options.getNextPageParam>"u";Y=(F&&P[0]?F(P[0],0,P):!0)?se([],ie,M[0]):Promise.resolve(G([],M[0],P[0]));for(let ne=1;ne<P.length;ne++)Y=Y.then(te=>{if(F&&P[ne]?F(P[ne],ne,P):!0){const we=ie?M[ne]:sF(r.options,te);return se(te,ie,we)}return Promise.resolve(G(te,M[ne],P[ne]))})}return Y.then(ie=>({pages:ie,pageParams:N}))}}}}function sF(r,s){return r.getNextPageParam==null?void 0:r.getNextPageParam(s[s.length-1],s)}function s9(r,s){return r.getPreviousPageParam==null?void 0:r.getPreviousPageParam(s[0],s)}let i9=class{constructor(s={}){this.queryCache=s.queryCache||new Aw,this.mutationCache=s.mutationCache||new Sw,this.logger=s.logger||Rb,this.defaultOptions=s.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=O4.subscribe(()=>{O4.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=G2.subscribe(()=>{G2.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var s,i;this.mountCount--,this.mountCount===0&&((s=this.unsubscribeFocus)==null||s.call(this),this.unsubscribeFocus=void 0,(i=this.unsubscribeOnline)==null||i.call(this),this.unsubscribeOnline=void 0)}isFetching(s,i){const[l]=Rl(s,i);return l.fetchStatus="fetching",this.queryCache.findAll(l).length}isMutating(s){return this.mutationCache.findAll({...s,fetching:!0}).length}getQueryData(s,i){var l;return(l=this.queryCache.find(s,i))==null?void 0:l.state.data}ensureQueryData(s,i,l){const n=F2(s,i,l),e=this.getQueryData(n.queryKey);return e?Promise.resolve(e):this.fetchQuery(n)}getQueriesData(s){return this.getQueryCache().findAll(s).map(({queryKey:i,state:l})=>{const n=l.data;return[i,n]})}setQueryData(s,i,l){const n=this.queryCache.find(s),e=n==null?void 0:n.state.data,m=V7(i,e);if(typeof m>"u")return;const F=F2(s),y=this.defaultQueryOptions(F);return this.queryCache.build(this,y).setData(m,{...l,manual:!0})}setQueriesData(s,i,l){return ti.batch(()=>this.getQueryCache().findAll(s).map(({queryKey:n})=>[n,this.setQueryData(n,i,l)]))}getQueryState(s,i){var l;return(l=this.queryCache.find(s,i))==null?void 0:l.state}removeQueries(s,i){const[l]=Rl(s,i),n=this.queryCache;ti.batch(()=>{n.findAll(l).forEach(e=>{n.remove(e)})})}resetQueries(s,i,l){const[n,e]=Rl(s,i,l),m=this.queryCache,F={type:"active",...n};return ti.batch(()=>(m.findAll(n).forEach(y=>{y.reset()}),this.refetchQueries(F,e)))}cancelQueries(s,i,l){const[n,e={}]=Rl(s,i,l);typeof e.revert>"u"&&(e.revert=!0);const m=ti.batch(()=>this.queryCache.findAll(n).map(F=>F.cancel(e)));return Promise.all(m).then(_a).catch(_a)}invalidateQueries(s,i,l){const[n,e]=Rl(s,i,l);return ti.batch(()=>{var m,F;if(this.queryCache.findAll(n).forEach(w=>{w.invalidate()}),n.refetchType==="none")return Promise.resolve();const y={...n,type:(m=(F=n.refetchType)!=null?F:n.type)!=null?m:"active"};return this.refetchQueries(y,e)})}refetchQueries(s,i,l){const[n,e]=Rl(s,i,l),m=ti.batch(()=>this.queryCache.findAll(n).filter(y=>!y.isDisabled()).map(y=>{var w;return y.fetch(void 0,{...e,cancelRefetch:(w=e==null?void 0:e.cancelRefetch)!=null?w:!0,meta:{refetchPage:n.refetchPage}})}));let F=Promise.all(m).then(_a);return e!=null&&e.throwOnError||(F=F.catch(_a)),F}fetchQuery(s,i,l){const n=F2(s,i,l),e=this.defaultQueryOptions(n);typeof e.retry>"u"&&(e.retry=!1);const m=this.queryCache.build(this,e);return m.isStaleByTime(e.staleTime)?m.fetch(e):Promise.resolve(m.state.data)}prefetchQuery(s,i,l){return this.fetchQuery(s,i,l).then(_a).catch(_a)}fetchInfiniteQuery(s,i,l){const n=F2(s,i,l);return n.behavior=n9(),this.fetchQuery(n)}prefetchInfiniteQuery(s,i,l){return this.fetchInfiniteQuery(s,i,l).then(_a).catch(_a)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(s){this.defaultOptions=s}setQueryDefaults(s,i){const l=this.queryDefaults.find(n=>Zc(s)===Zc(n.queryKey));l?l.defaultOptions=i:this.queryDefaults.push({queryKey:s,defaultOptions:i})}getQueryDefaults(s){if(!s)return;const i=this.queryDefaults.find(l=>V2(s,l.queryKey));return i==null?void 0:i.defaultOptions}setMutationDefaults(s,i){const l=this.mutationDefaults.find(n=>Zc(s)===Zc(n.mutationKey));l?l.defaultOptions=i:this.mutationDefaults.push({mutationKey:s,defaultOptions:i})}getMutationDefaults(s){if(!s)return;const i=this.mutationDefaults.find(l=>V2(s,l.mutationKey));return i==null?void 0:i.defaultOptions}defaultQueryOptions(s){if(s!=null&&s._defaulted)return s;const i={...this.defaultOptions.queries,...this.getQueryDefaults(s==null?void 0:s.queryKey),...s,_defaulted:!0};return!i.queryHash&&i.queryKey&&(i.queryHash=kb(i.queryKey,i)),typeof i.refetchOnReconnect>"u"&&(i.refetchOnReconnect=i.networkMode!=="always"),typeof i.useErrorBoundary>"u"&&(i.useErrorBoundary=!!i.suspense),i}defaultMutationOptions(s){return s!=null&&s._defaulted?s:{...this.defaultOptions.mutations,...this.getMutationDefaults(s==null?void 0:s.mutationKey),...s,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};const a9="VUE_QUERY_CLIENT";function o9(r){const s=r?":"+r:"";return""+a9+s}function Fa(r){return Array.isArray(r)}function CO(r,s){Object.keys(r).forEach(i=>{r[i]=s[i]})}function R4(r,s){if(s){const i=s(r);if(i!==void 0||rn(r))return i}if(Array.isArray(r))return r.map(i=>R4(i,s));if(typeof r=="object"&&l9(r)){const i=Object.entries(r).map(([l,n])=>[l,R4(n,s)]);return Object.fromEntries(i)}return r}function ir(r){return R4(r,s=>{if(rn(s))return ir(tr(s))})}function l9(r){if(Object.prototype.toString.call(r)!=="[object Object]")return!1;const s=Object.getPrototypeOf(r);return s===null||s===Object.prototype}function TO(r,s){return typeof r=="function"?r(...s):!!r}class c9 extends Aw{find(s,i){const l=ir(s),n=ir(i);return super.find(l,n)}findAll(s,i){const l=ir(s),n=ir(i);return Fa(l)?super.findAll(l,n):super.findAll(l)}}class u9 extends Sw{find(s){return super.find(ir(s))}findAll(s){return super.findAll(ir(s))}}class iF extends i9{constructor(s={}){const i=ir(s),l={logger:ir(i.logger),defaultOptions:ir(i.defaultOptions),queryCache:i.queryCache||new c9,mutationCache:i.mutationCache||new u9};super(l),this.isRestoring=Yt(!1)}isFetching(s,i){const l=ir(s),n=ir(i);return Fa(l)?super.isFetching(l,n):super.isFetching(l)}isMutating(s){return super.isMutating(ir(s))}getQueryData(s,i){return super.getQueryData(ir(s),ir(i))}getQueriesData(s){const i=ir(s);return Fa(i)?super.getQueriesData(i):super.getQueriesData(i)}setQueryData(s,i,l){return super.setQueryData(ir(s),i,ir(l))}setQueriesData(s,i,l){const n=ir(s),e=ir(l);return Fa(n)?super.setQueriesData(n,i,e):super.setQueriesData(n,i,e)}getQueryState(s,i){return super.getQueryState(ir(s),ir(i))}removeQueries(s,i){const l=ir(s);return Fa(l)?super.removeQueries(l,ir(i)):super.removeQueries(l)}resetQueries(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.resetQueries(n,e,ir(l)):super.resetQueries(n,e)}cancelQueries(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.cancelQueries(n,e,ir(l)):super.cancelQueries(n,e)}invalidateQueries(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.invalidateQueries(n,e,ir(l)):super.invalidateQueries(n,e)}refetchQueries(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.refetchQueries(n,e,ir(l)):super.refetchQueries(n,e)}fetchQuery(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.fetchQuery(n,e,ir(l)):super.fetchQuery(n)}prefetchQuery(s,i,l){return super.prefetchQuery(ir(s),ir(i),ir(l))}fetchInfiniteQuery(s,i,l){const n=ir(s),e=ir(i);return Fa(n)?super.fetchInfiniteQuery(n,e,ir(l)):super.fetchInfiniteQuery(n)}prefetchInfiniteQuery(s,i,l){return super.prefetchInfiniteQuery(ir(s),ir(i),ir(l))}setDefaultOptions(s){super.setDefaultOptions(ir(s))}setQueryDefaults(s,i){super.setQueryDefaults(ir(s),ir(i))}getQueryDefaults(s){return super.getQueryDefaults(ir(s))}setMutationDefaults(s,i){super.setMutationDefaults(ir(s),ir(i))}getMutationDefaults(s){return super.getMutationDefaults(ir(s))}}const f9={install:(r,s={})=>{const i=o9(s.queryClientKey);let l;if("queryClient"in s&&s.queryClient)l=s.queryClient;else if(s.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)l=window.__VUE_QUERY_CONTEXT__;else{const m="queryClientConfig"in s?s.queryClientConfig:void 0;l=new iF(m),window.__VUE_QUERY_CONTEXT__=l}else{const m="queryClientConfig"in s?s.queryClientConfig:void 0;l=new iF(m)}km||l.mount();let n=()=>{};if(s.clientPersister){l.isRestoring.value=!0;const[m,F]=s.clientPersister(l);n=m,F.then(()=>{l.isRestoring.value=!1})}const e=()=>{l.unmount(),n()};if(r.onUnmount)r.onUnmount(e);else{const m=r.unmount;r.unmount=function(){e(),m()}}r.provide(i,l)}};let h9;function d9(){return h9}function p9(r){return typeof r=="function"?r():tr(r)}function P4(r,s=""){if(r instanceof Promise)return r;const i=p9(r);return!r||!i?i:Array.isArray(i)?i.map(l=>P4(l,s)):typeof i=="object"?Object.fromEntries(Object.entries(i).map(([l,n])=>l==="titleTemplate"||l.startsWith("on")?[l,tr(n)]:[l,P4(n,l)])):i}const m9="usehead";function g9(){return Ts()&&si(m9)||d9()}function v9(r,s={}){const i=g9();if(i)return i.ssr?i.push(r,s):b9(i,r,s)}function b9(r,s,i={}){const l=Yt(!1),n=Yt({});sb(()=>{n.value=l.value?{}:P4(s)});const e=r.push(n.value,i);return bn(n,F=>{e.patch(F)}),Ts()&&(U1(()=>{e.dispose()}),lb(()=>{l.value=!0}),ob(()=>{l.value=!1})),e}const D9=Cs({__name:"App",setup(r){return v9({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>qy.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>vS.value?"/favicon-dark.svg":"/favicon.svg"}]}),(s,i)=>{const l=Bi("RouterView");return Ur(),Yo(l)}}});var F9=Object.defineProperty,aF=Object.getOwnPropertySymbols,_9=Object.prototype.hasOwnProperty,y9=Object.prototype.propertyIsEnumerable,oF=(r,s,i)=>s in r?F9(r,s,{enumerable:!0,configurable:!0,writable:!0,value:i}):r[s]=i,lF=(r,s)=>{for(var i in s||(s={}))_9.call(s,i)&&oF(r,i,s[i]);if(aF)for(var i of aF(s))y9.call(s,i)&&oF(r,i,s[i]);return r};const Wv=new WeakMap;function kw(r,s,i={}){const{mode:l="replace",route:n=oA(),router:e=aA(),transform:m=k=>k}=i;Wv.has(n)||Wv.set(n,new Map);const F=Wv.get(n);hu(()=>{F.delete(r)}),F.set(r,n.query[r]);let y;const w=Z4((k,S)=>(y=S,{get(){k();const P=F.get(r);return m(P!==void 0?P:Yn(s))},set(P){F.get(r)!==P&&(F.set(r,P),S(),oo(()=>{const{params:M,query:N,hash:B}=n;e[Yn(l)]({params:M,query:lF(lF({},N),Object.fromEntries(F.entries())),hash:B})}))}}));return bn(()=>n.query[r],k=>{F.set(r,k),y()},{flush:"sync"}),w}var Ow={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){var i=1e3,l=6e4,n=36e5,e="millisecond",m="second",F="minute",y="hour",w="day",k="week",S="month",P="quarter",M="year",N="date",B="Invalid Date",K=/^(\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(xe){var ve=["th","st","nd","rd"],Le=xe%100;return"["+xe+(ve[(Le-20)%10]||ve[Le]||ve[0])+"]"}},se=function(xe,ve,Le){var qe=String(xe);return!qe||qe.length>=ve?xe:""+Array(ve+1-qe.length).join(Le)+xe},Y={s:se,z:function(xe){var ve=-xe.utcOffset(),Le=Math.abs(ve),qe=Math.floor(Le/60),Ie=Le%60;return(ve<=0?"+":"-")+se(qe,2,"0")+":"+se(Ie,2,"0")},m:function xe(ve,Le){if(ve.date()<Le.date())return-xe(Le,ve);var qe=12*(Le.year()-ve.year())+(Le.month()-ve.month()),Ie=ve.clone().add(qe,S),ut=Le-Ie<0,dt=ve.clone().add(qe+(ut?-1:1),S);return+(-(qe+(Le-Ie)/(ut?Ie-dt:dt-Ie))||0)},a:function(xe){return xe<0?Math.ceil(xe)||0:Math.floor(xe)},p:function(xe){return{M:S,y:M,w:k,d:w,D:N,h:y,m:F,s:m,ms:e,Q:P}[xe]||String(xe||"").toLowerCase().replace(/s$/,"")},u:function(xe){return xe===void 0}},z="en",ie={};ie[z]=G;var re=function(xe){return xe instanceof we},ne=function xe(ve,Le,qe){var Ie;if(!ve)return z;if(typeof ve=="string"){var ut=ve.toLowerCase();ie[ut]&&(Ie=ut),Le&&(ie[ut]=Le,Ie=ut);var dt=ve.split("-");if(!Ie&&dt.length>1)return xe(dt[0])}else{var ze=ve.name;ie[ze]=ve,Ie=ze}return!qe&&Ie&&(z=Ie),Ie||!qe&&z},te=function(xe,ve){if(re(xe))return xe.clone();var Le=typeof ve=="object"?ve:{};return Le.date=xe,Le.args=arguments,new we(Le)},le=Y;le.l=ne,le.i=re,le.w=function(xe,ve){return te(xe,{locale:ve.$L,utc:ve.$u,x:ve.$x,$offset:ve.$offset})};var we=function(){function xe(Le){this.$L=ne(Le.locale,null,!0),this.parse(Le)}var ve=xe.prototype;return ve.parse=function(Le){this.$d=function(qe){var Ie=qe.date,ut=qe.utc;if(Ie===null)return new Date(NaN);if(le.u(Ie))return new Date;if(Ie instanceof Date)return new Date(Ie);if(typeof Ie=="string"&&!/Z$/i.test(Ie)){var dt=Ie.match(K);if(dt){var ze=dt[2]-1||0,he=(dt[7]||"0").substring(0,3);return ut?new Date(Date.UTC(dt[1],ze,dt[3]||1,dt[4]||0,dt[5]||0,dt[6]||0,he)):new Date(dt[1],ze,dt[3]||1,dt[4]||0,dt[5]||0,dt[6]||0,he)}}return new Date(Ie)}(Le),this.$x=Le.x||{},this.init()},ve.init=function(){var Le=this.$d;this.$y=Le.getFullYear(),this.$M=Le.getMonth(),this.$D=Le.getDate(),this.$W=Le.getDay(),this.$H=Le.getHours(),this.$m=Le.getMinutes(),this.$s=Le.getSeconds(),this.$ms=Le.getMilliseconds()},ve.$utils=function(){return le},ve.isValid=function(){return this.$d.toString()!==B},ve.isSame=function(Le,qe){var Ie=te(Le);return this.startOf(qe)<=Ie&&Ie<=this.endOf(qe)},ve.isAfter=function(Le,qe){return te(Le)<this.startOf(qe)},ve.isBefore=function(Le,qe){return this.endOf(qe)<te(Le)},ve.$g=function(Le,qe,Ie){return le.u(Le)?this[qe]:this.set(Ie,Le)},ve.unix=function(){return Math.floor(this.valueOf()/1e3)},ve.valueOf=function(){return this.$d.getTime()},ve.startOf=function(Le,qe){var Ie=this,ut=!!le.u(qe)||qe,dt=le.p(Le),ze=function(We,be){var st=le.w(Ie.$u?Date.UTC(Ie.$y,be,We):new Date(Ie.$y,be,We),Ie);return ut?st:st.endOf(w)},he=function(We,be){return le.w(Ie.toDate()[We].apply(Ie.toDate("s"),(ut?[0,0,0,0]:[23,59,59,999]).slice(be)),Ie)},He=this.$W,et=this.$M,$e=this.$D,De="set"+(this.$u?"UTC":"");switch(dt){case M:return ut?ze(1,0):ze(31,11);case S:return ut?ze(1,et):ze(0,et+1);case k:var Ne=this.$locale().weekStart||0,J=(He<Ne?He+7:He)-Ne;return ze(ut?$e-J:$e+(6-J),et);case w:case N:return he(De+"Hours",0);case y:return he(De+"Minutes",1);case F:return he(De+"Seconds",2);case m:return he(De+"Milliseconds",3);default:return this.clone()}},ve.endOf=function(Le){return this.startOf(Le,!1)},ve.$set=function(Le,qe){var Ie,ut=le.p(Le),dt="set"+(this.$u?"UTC":""),ze=(Ie={},Ie[w]=dt+"Date",Ie[N]=dt+"Date",Ie[S]=dt+"Month",Ie[M]=dt+"FullYear",Ie[y]=dt+"Hours",Ie[F]=dt+"Minutes",Ie[m]=dt+"Seconds",Ie[e]=dt+"Milliseconds",Ie)[ut],he=ut===w?this.$D+(qe-this.$W):qe;if(ut===S||ut===M){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},ve.set=function(Le,qe){return this.clone().$set(Le,qe)},ve.get=function(Le){return this[le.p(Le)]()},ve.add=function(Le,qe){var Ie,ut=this;Le=Number(Le);var dt=le.p(qe),ze=function(et){var $e=te(ut);return le.w($e.date($e.date()+Math.round(et*Le)),ut)};if(dt===S)return this.set(S,this.$M+Le);if(dt===M)return this.set(M,this.$y+Le);if(dt===w)return ze(1);if(dt===k)return ze(7);var he=(Ie={},Ie[F]=l,Ie[y]=n,Ie[m]=i,Ie)[dt]||1,He=this.$d.getTime()+Le*he;return le.w(He,this)},ve.subtract=function(Le,qe){return this.add(-1*Le,qe)},ve.format=function(Le){var qe=this,Ie=this.$locale();if(!this.isValid())return Ie.invalidDate||B;var ut=Le||"YYYY-MM-DDTHH:mm:ssZ",dt=le.z(this),ze=this.$H,he=this.$m,He=this.$M,et=Ie.weekdays,$e=Ie.months,De=function(be,st,Vt,X){return be&&(be[st]||be(qe,ut))||Vt[st].slice(0,X)},Ne=function(be){return le.s(ze%12||12,be,"0")},J=Ie.meridiem||function(be,st,Vt){var X=be<12?"AM":"PM";return Vt?X.toLowerCase():X},We={YY:String(this.$y).slice(-2),YYYY:le.s(this.$y,4,"0"),M:He+1,MM:le.s(He+1,2,"0"),MMM:De(Ie.monthsShort,He,$e,3),MMMM:De($e,He),D:this.$D,DD:le.s(this.$D,2,"0"),d:String(this.$W),dd:De(Ie.weekdaysMin,this.$W,et,2),ddd:De(Ie.weekdaysShort,this.$W,et,3),dddd:et[this.$W],H:String(ze),HH:le.s(ze,2,"0"),h:Ne(1),hh:Ne(2),a:J(ze,he,!0),A:J(ze,he,!1),m:String(he),mm:le.s(he,2,"0"),s:String(this.$s),ss:le.s(this.$s,2,"0"),SSS:le.s(this.$ms,3,"0"),Z:dt};return ut.replace(U,function(be,st){return st||We[be]||dt.replace(":","")})},ve.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},ve.diff=function(Le,qe,Ie){var ut,dt=le.p(qe),ze=te(Le),he=(ze.utcOffset()-this.utcOffset())*l,He=this-ze,et=le.m(this,ze);return et=(ut={},ut[M]=et/12,ut[S]=et,ut[P]=et/3,ut[k]=(He-he)/6048e5,ut[w]=(He-he)/864e5,ut[y]=He/n,ut[F]=He/l,ut[m]=He/i,ut)[dt]||He,Ie?et:le.a(et)},ve.daysInMonth=function(){return this.endOf(S).$D},ve.$locale=function(){return ie[this.$L]},ve.locale=function(Le,qe){if(!Le)return this.$L;var Ie=this.clone(),ut=ne(Le,qe,!0);return ut&&(Ie.$L=ut),Ie},ve.clone=function(){return le.w(this.$d,this)},ve.toDate=function(){return new Date(this.valueOf())},ve.toJSON=function(){return this.isValid()?this.toISOString():null},ve.toISOString=function(){return this.$d.toISOString()},ve.toString=function(){return this.$d.toUTCString()},xe}(),Pe=we.prototype;return te.prototype=Pe,[["$ms",e],["$s",m],["$m",F],["$H",y],["$W",w],["$M",S],["$y",M],["$D",N]].forEach(function(xe){Pe[xe[1]]=function(ve){return this.$g(ve,xe[0],xe[1])}}),te.extend=function(xe,ve){return xe.$i||(xe(ve,we,te),xe.$i=!0),te},te.locale=ne,te.isDayjs=re,te.unix=function(xe){return te(1e3*xe)},te.en=ie[z],te.Ls=ie,te.p={},te})})(Ow);var w9=Ow.exports;const Ws=Hi(w9);var Rw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){var i,l,n=1e3,e=6e4,m=36e5,F=864e5,y=/\[([^\]]+)]|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,w=31536e6,k=2592e6,S=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,P={years:w,months:k,days:F,hours:m,minutes:e,seconds:n,milliseconds:1,weeks:6048e5},M=function(z){return z instanceof Y},N=function(z,ie,re){return new Y(z,re,ie.$l)},B=function(z){return l.p(z)+"s"},K=function(z){return z<0},U=function(z){return K(z)?Math.ceil(z):Math.floor(z)},G=function(z){return Math.abs(z)},se=function(z,ie){return z?K(z)?{negative:!0,format:""+G(z)+ie}:{negative:!1,format:""+z+ie}:{negative:!1,format:""}},Y=function(){function z(re,ne,te){var le=this;if(this.$d={},this.$l=te,re===void 0&&(this.$ms=0,this.parseFromMilliseconds()),ne)return N(re*P[B(ne)],this);if(typeof re=="number")return this.$ms=re,this.parseFromMilliseconds(),this;if(typeof re=="object")return Object.keys(re).forEach(function(xe){le.$d[B(xe)]=re[xe]}),this.calMilliseconds(),this;if(typeof re=="string"){var we=re.match(S);if(we){var Pe=we.slice(2).map(function(xe){return xe!=null?Number(xe):0});return this.$d.years=Pe[0],this.$d.months=Pe[1],this.$d.weeks=Pe[2],this.$d.days=Pe[3],this.$d.hours=Pe[4],this.$d.minutes=Pe[5],this.$d.seconds=Pe[6],this.calMilliseconds(),this}}return this}var ie=z.prototype;return ie.calMilliseconds=function(){var re=this;this.$ms=Object.keys(this.$d).reduce(function(ne,te){return ne+(re.$d[te]||0)*P[te]},0)},ie.parseFromMilliseconds=function(){var re=this.$ms;this.$d.years=U(re/w),re%=w,this.$d.months=U(re/k),re%=k,this.$d.days=U(re/F),re%=F,this.$d.hours=U(re/m),re%=m,this.$d.minutes=U(re/e),re%=e,this.$d.seconds=U(re/n),re%=n,this.$d.milliseconds=re},ie.toISOString=function(){var re=se(this.$d.years,"Y"),ne=se(this.$d.months,"M"),te=+this.$d.days||0;this.$d.weeks&&(te+=7*this.$d.weeks);var le=se(te,"D"),we=se(this.$d.hours,"H"),Pe=se(this.$d.minutes,"M"),xe=this.$d.seconds||0;this.$d.milliseconds&&(xe+=this.$d.milliseconds/1e3);var ve=se(xe,"S"),Le=re.negative||ne.negative||le.negative||we.negative||Pe.negative||ve.negative,qe=we.format||Pe.format||ve.format?"T":"",Ie=(Le?"-":"")+"P"+re.format+ne.format+le.format+qe+we.format+Pe.format+ve.format;return Ie==="P"||Ie==="-P"?"P0D":Ie},ie.toJSON=function(){return this.toISOString()},ie.format=function(re){var ne=re||"YYYY-MM-DDTHH:mm:ss",te={Y:this.$d.years,YY:l.s(this.$d.years,2,"0"),YYYY:l.s(this.$d.years,4,"0"),M:this.$d.months,MM:l.s(this.$d.months,2,"0"),D:this.$d.days,DD:l.s(this.$d.days,2,"0"),H:this.$d.hours,HH:l.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:l.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:l.s(this.$d.seconds,2,"0"),SSS:l.s(this.$d.milliseconds,3,"0")};return ne.replace(y,function(le,we){return we||String(te[le])})},ie.as=function(re){return this.$ms/P[B(re)]},ie.get=function(re){var ne=this.$ms,te=B(re);return te==="milliseconds"?ne%=1e3:ne=te==="weeks"?U(ne/P[te]):this.$d[te],ne===0?0:ne},ie.add=function(re,ne,te){var le;return le=ne?re*P[B(ne)]:M(re)?re.$ms:N(re,this).$ms,N(this.$ms+le*(te?-1:1),this)},ie.subtract=function(re,ne){return this.add(re,ne,!0)},ie.locale=function(re){var ne=this.clone();return ne.$l=re,ne},ie.clone=function(){return N(this.$ms,this)},ie.humanize=function(re){return i().add(this.$ms,"ms").locale(this.$l).fromNow(!re)},ie.valueOf=function(){return this.asMilliseconds()},ie.milliseconds=function(){return this.get("milliseconds")},ie.asMilliseconds=function(){return this.as("milliseconds")},ie.seconds=function(){return this.get("seconds")},ie.asSeconds=function(){return this.as("seconds")},ie.minutes=function(){return this.get("minutes")},ie.asMinutes=function(){return this.as("minutes")},ie.hours=function(){return this.get("hours")},ie.asHours=function(){return this.as("hours")},ie.days=function(){return this.get("days")},ie.asDays=function(){return this.as("days")},ie.weeks=function(){return this.get("weeks")},ie.asWeeks=function(){return this.as("weeks")},ie.months=function(){return this.get("months")},ie.asMonths=function(){return this.as("months")},ie.years=function(){return this.get("years")},ie.asYears=function(){return this.as("years")},z}();return function(z,ie,re){i=re,l=re().$utils(),re.duration=function(le,we){var Pe=re.locale();return N(le,{$l:Pe},we)},re.isDuration=M;var ne=ie.prototype.add,te=ie.prototype.subtract;ie.prototype.add=function(le,we){return M(le)&&(le=le.asMilliseconds()),ne.bind(this)(le,we)},ie.prototype.subtract=function(le,we){return M(le)&&(le=le.asMilliseconds()),te.bind(this)(le,we)}}})})(Rw);var E9=Rw.exports;const x9=Hi(E9);var Pw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){var i="minute",l=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(e,m,F){var y=m.prototype;F.utc=function(B){var K={date:B,utc:!0,args:arguments};return new m(K)},y.utc=function(B){var K=F(this.toDate(),{locale:this.$L,utc:!0});return B?K.add(this.utcOffset(),i):K},y.local=function(){return F(this.toDate(),{locale:this.$L,utc:!1})};var w=y.parse;y.parse=function(B){B.utc&&(this.$u=!0),this.$utils().u(B.$offset)||(this.$offset=B.$offset),w.call(this,B)};var k=y.init;y.init=function(){if(this.$u){var B=this.$d;this.$y=B.getUTCFullYear(),this.$M=B.getUTCMonth(),this.$D=B.getUTCDate(),this.$W=B.getUTCDay(),this.$H=B.getUTCHours(),this.$m=B.getUTCMinutes(),this.$s=B.getUTCSeconds(),this.$ms=B.getUTCMilliseconds()}else k.call(this)};var S=y.utcOffset;y.utcOffset=function(B,K){var U=this.$utils().u;if(U(B))return this.$u?0:U(this.$offset)?S.call(this):this.$offset;if(typeof B=="string"&&(B=function(z){z===void 0&&(z="");var ie=z.match(l);if(!ie)return null;var re=(""+ie[0]).match(n)||["-",0,0],ne=re[0],te=60*+re[1]+ +re[2];return te===0?0:ne==="+"?te:-te}(B),B===null))return this;var G=Math.abs(B)<=16?60*B:B,se=this;if(K)return se.$offset=G,se.$u=B===0,se;if(B!==0){var Y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(se=this.local().add(G+Y,i)).$offset=G,se.$x.$localOffset=Y}else se=this.utc();return se};var P=y.format;y.format=function(B){var K=B||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return P.call(this,K)},y.valueOf=function(){var B=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*B},y.isUTC=function(){return!!this.$u},y.toISOString=function(){return this.toDate().toISOString()},y.toString=function(){return this.toDate().toUTCString()};var M=y.toDate;y.toDate=function(B){return B==="s"&&this.$offset?F(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():M.call(this)};var N=y.diff;y.diff=function(B,K,U){if(B&&this.$u===B.$u)return N.call(this,B,K,U);var G=this.local(),se=F(B).local();return N.call(G,se,K,U)}}})})(Pw);var C9=Pw.exports;const T9=Hi(C9);var Iw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){var i={year:0,month:1,day:2,hour:3,minute:4,second:5},l={};return function(n,e,m){var F,y=function(P,M,N){N===void 0&&(N={});var B=new Date(P),K=function(U,G){G===void 0&&(G={});var se=G.timeZoneName||"short",Y=U+"|"+se,z=l[Y];return z||(z=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:se}),l[Y]=z),z}(M,N);return K.formatToParts(B)},w=function(P,M){for(var N=y(P,M),B=[],K=0;K<N.length;K+=1){var U=N[K],G=U.type,se=U.value,Y=i[G];Y>=0&&(B[Y]=parseInt(se,10))}var z=B[3],ie=z===24?0:z,re=B[0]+"-"+B[1]+"-"+B[2]+" "+ie+":"+B[4]+":"+B[5]+":000",ne=+P;return(m.utc(re).valueOf()-(ne-=ne%1e3))/6e4},k=e.prototype;k.tz=function(P,M){P===void 0&&(P=F);var N=this.utcOffset(),B=this.toDate(),K=B.toLocaleString("en-US",{timeZone:P}),U=Math.round((B-new Date(K))/1e3/60),G=m(K).$set("millisecond",this.$ms).utcOffset(15*-Math.round(B.getTimezoneOffset()/15)-U,!0);if(M){var se=G.utcOffset();G=G.add(N-se,"minute")}return G.$x.$timezone=P,G},k.offsetName=function(P){var M=this.$x.$timezone||m.tz.guess(),N=y(this.valueOf(),M,{timeZoneName:P}).find(function(B){return B.type.toLowerCase()==="timezonename"});return N&&N.value};var S=k.startOf;k.startOf=function(P,M){if(!this.$x||!this.$x.$timezone)return S.call(this,P,M);var N=m(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return S.call(N,P,M).tz(this.$x.$timezone,!0)},m.tz=function(P,M,N){var B=N&&M,K=N||M||F,U=w(+m(),K);if(typeof P!="string")return m(P).tz(K);var G=function(ie,re,ne){var te=ie-60*re*1e3,le=w(te,ne);if(re===le)return[te,re];var we=w(te-=60*(le-re)*1e3,ne);return le===we?[te,le]:[ie-60*Math.min(le,we)*1e3,Math.max(le,we)]}(m.utc(P,B).valueOf(),U,K),se=G[0],Y=G[1],z=m(se).utcOffset(Y);return z.$x.$timezone=K,z},m.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},m.tz.setDefault=function(P){F=P}}})})(Iw);var A9=Iw.exports;const S9=Hi(A9);var Nw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l){var n=l.prototype,e=n.format;n.format=function(m){var F=this,y=this.$locale();if(!this.isValid())return e.bind(this)(m);var w=this.$utils(),k=(m||"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(S){switch(S){case"Q":return Math.ceil((F.$M+1)/3);case"Do":return y.ordinal(F.$D);case"gggg":return F.weekYear();case"GGGG":return F.isoWeekYear();case"wo":return y.ordinal(F.week(),"W");case"w":case"ww":return w.s(F.week(),S==="w"?1:2,"0");case"W":case"WW":return w.s(F.isoWeek(),S==="W"?1:2,"0");case"k":case"kk":return w.s(String(F.$H===0?24:F.$H),S==="k"?1:2,"0");case"X":return Math.floor(F.$d.getTime()/1e3);case"x":return F.$d.getTime();case"z":return"["+F.offsetName()+"]";case"zzz":return"["+F.offsetName("long")+"]";default:return S}});return e.bind(this)(k)}}})})(Nw);var k9=Nw.exports;const O9=Hi(k9);var Mw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l){l.prototype.isSameOrBefore=function(n,e){return this.isSame(n,e)||this.isBefore(n,e)}}})})(Mw);var R9=Mw.exports;const P9=Hi(R9);var Lw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l){l.prototype.isSameOrAfter=function(n,e){return this.isSame(n,e)||this.isAfter(n,e)}}})})(Lw);var I9=Lw.exports;const N9=Hi(I9);var Bw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l,n){var e=function(m,F){if(!F||!F.length||!F[0]||F.length===1&&!F[0].length)return null;var y;F.length===1&&F[0].length>0&&(F=F[0]),y=F[0];for(var w=1;w<F.length;w+=1)F[w].isValid()&&!F[w][m](y)||(y=F[w]);return y};n.max=function(){var m=[].slice.call(arguments,0);return e("isAfter",m)},n.min=function(){var m=[].slice.call(arguments,0);return e("isBefore",m)}}})})(Bw);var M9=Bw.exports;const L9=Hi(M9);var Uw={exports:{}};(function(r,s){(function(i,l){r.exports=l()})(Ms,function(){return function(i,l,n){i=i||{};var e=l.prototype,m={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(w,k,S,P){return e.fromToBase(w,k,S,P)}n.en.relativeTime=m,e.fromToBase=function(w,k,S,P,M){for(var N,B,K,U=S.$locale().relativeTime||m,G=i.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"}],se=G.length,Y=0;Y<se;Y+=1){var z=G[Y];z.d&&(N=P?n(w).diff(S,z.d,!0):S.diff(w,z.d,!0));var ie=(i.rounding||Math.round)(Math.abs(N));if(K=N>0,ie<=z.r||!z.r){ie<=1&&Y>0&&(z=G[Y-1]);var re=U[z.l];M&&(ie=M(""+ie)),B=typeof re=="string"?re.replace("%d",ie):re(ie,k,z.l,K);break}}if(k)return B;var ne=K?U.future:U.past;return typeof ne=="function"?ne(B):ne.replace("%s",B)},e.to=function(w,k){return F(w,k,this,!0)},e.from=function(w,k){return F(w,k,this)};var y=function(w){return w.$u?n.utc():n()};e.toNow=function(w){return this.to(y(this),w)},e.fromNow=function(w){return this.from(y(this),w)}}})})(Uw);var B9=Uw.exports;const U9=Hi(B9);var j2={exports:{}};/**
31
31
  * @license
32
32
  * Lodash <https://lodash.com/>
33
33
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -202,4 +202,4 @@ function print() { __p += __j.call(arguments, '') }
202
202
  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
203
203
  `,r}function Pk(){const r={};return r.base64=String.raw`
204
204
  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
205
- `,r}function Ik(){const r={};return r.url="/logos/hunan_cpc.png",r}function Nk(r){if(!r.preset)return r;const s=r.preset.toUpperCase();return s==="ICPC"?Rk():s==="CCPC"?Pk():s==="HUNAN_CPC"?Ik():r}const Mk=r=>(um("data-v-7acc24cf"),r=r(),fm(),r),Lk={"h-32":""},Bk={key:0},Uk={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},Hk={"w-full":"",flex:""},$k={key:0,class:"logo"},Wk=["src"],zk={class:"title","overflow-hidden":"","text-2xl":"",truncate:""},Vk={flex:"","items-end":""},Gk={"float-left":"","font-mono":"","text-base":""},jk={class:"pl-0.5"},Yk=Mk(()=>Mt("br",null,null,-1)),Kk={"flex-1":""},qk={flex:"","items-center":"","justify-center":""},Qk={"font-bold":"","font-mono":"",class:"w-[68%]"},Xk={"float-right":""},Jk={class:"MuiIconButton-label"},Zk=Cs({__name:"ContestIndexUI",props:{data:null},setup(r){const s=r,{t:i}=Qf(),l=Vr(()=>s.data.contest),n=Yt(new Date),e=Yt(null),m=iS(e),F=Vr(()=>{if(l.value.logo)return Nk(l.value.logo)}),y=setInterval(()=>{n.value=new Date},1e3);return uu(()=>{clearInterval(y)}),(w,k)=>{const S=Bi("VTooltip"),P=Ok,M=Ck,N=Ek,B=Bi("RouterLink");return Ur(),vn("div",{ref_key:"el",ref:e},[Mt("div",Lk,[tr(m)?(Ur(),vn("div",Bk,[Mt("div",Uk,[Mt("div",Hk,[tr(F)!==void 0?(Ur(),vn("div",$k,[Mt("img",{class:"h-10 w-10",src:tr(uk)(tr(F)),alt:"logo"},null,8,Wk)])):oa("",!0),Er(S,{"w-inherit":""},{popper:ws(()=>[Ea(as(tr(l).name),1)]),default:ws(()=>[Mt("div",zk,as(tr(l).name),1)]),_:1})]),Mt("div",Vk,[Mt("div",Gk,[Ea(as(tr(i)("index.start"))+": "+as(tr(l).startTime.format("YYYY-MM-DD HH:mm:ss")),1),Mt("sup",jk,as(tr(l).startTime.format("z")),1),Yk,Ea(" "+as(tr(i)("index.duration"))+": "+as(tr(l).getContestDuration()),1)]),Mt("div",Kk,[Mt("div",qk,[Mt("div",Qk,[Mt("div",null,[Er(P,{state:tr(l).getContestState(tr(n)),"pending-time":tr(l).getContestPendingTime(tr(n))},null,8,["state","pending-time"])]),Er(M,{width:tr(l).getContestProgressRatio(tr(n)),state:tr(l).getContestState(tr(n))},null,8,["width","state"])])])]),Mt("div",Xk,[Er(B,{class:"go MuiIconButton-root",to:s.data.boardLink},{default:ws(()=>[Mt("span",Jk,[Er(N)])]),_:1},8,["to"])])])])])):oa("",!0)])],512)}}});const eO=Jf(Zk,[["__scopeId","data-v-7acc24cf"]]),tO={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},rO={key:0,class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":""},nO={key:1},sO={key:2,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},iO={"w-240":""},aO={key:0,"mt-4":""},oO={key:1,p10:""},lO=Mt("div",{op40:"",italic:"",mb5:""}," No result found ",-1),cO={row:"","justify-center":""},Yw=Cs({__name:"index",setup(r){const{t:s}=Qf();pS(dk);const i=Yt(new Date),l=Yt(`${window.DATA_HOST}index/contest_list.json?t=${i.value.getTime()}`),n=Yt(!1),e=kw("s","",{transform:String}),m=Yt(e.value),F=Yt(null),y=Yt([]),w=Yt([]);function k(){w.value=y.value.filter(B=>{var K;return((K=m.value)==null?void 0:K.length)===0&&(m.value=null),m.value===null?(e.value=void 0,!0):(e.value=m.value,!!(B.contest.name.includes(m.value)||B.contest.name.toLowerCase().includes(m.value.toLowerCase())))})}function S(){var B;m.value=null,(B=F.value)==null||B.focus()}const{error:P,isFetching:M,isFinished:N}=hS(l,{refetch:n,afterFetch:B=>(y.value=ck(JSON.parse(B.data)),w.value=y.value.map(K=>K),k(),B)}).get();return bn(m,()=>{k()}),(B,K)=>(Ur(),vn("div",tO,[Mt("div",null,[tr(M)?(Ur(),vn("div",rO,as(tr(s)("common.loading"))+"... ",1)):oa("",!0),tr(P)?(Ur(),vn("div",nO,as(tr(P)),1)):oa("",!0),tr(N)?(Ur(),vn("div",sO,[Mt("div",iO,[Er(bk,{ref_key:"searchInputRef",ref:F,modelValue:tr(m),"onUpdate:modelValue":K[0]||(K[0]=U=>rn(m)?m.value=U:null)},null,8,["modelValue"])]),tr(w).length?(Ur(),vn("div",aO,[(Ur(!0),vn(jn,null,b_(tr(w),U=>(Ur(),Yo(eO,{key:U.boardLink,data:U},null,8,["data"]))),128))])):(Ur(),vn("div",oO,[lO,Mt("div",cO,[Mt("button",{btn:"",onClick:K[1]||(K[1]=U=>S())}," Clear search ")])]))])):oa("",!0)])]))}}),pF={};typeof pF=="function"&&pF(Yw);const uO=()=>ia(()=>import("./index-43dadeef.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/index-43dadeef.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-7dd754fb.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-bd7b9fe6.js"],import.meta.url),fO=()=>ia(()=>import("./test-27f85731.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/test-27f85731.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-bd7b9fe6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/user-b8ba5adf.js"],import.meta.url),hO=()=>ia(()=>import("./about-f01d587e.js"),[],import.meta.url),dO=()=>ia(()=>import("./_...all_-d6af1410.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/_...all_-d6af1410.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-7dd754fb.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-bd7b9fe6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/_...all_-16dbd7b8.css"],import.meta.url),pO=()=>ia(()=>import("./_name_-94d749aa.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/_name_-94d749aa.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.25.0/dist/assets/user-b8ba5adf.js"],import.meta.url),mO=[{name:"balloon",path:"/balloon",component:uO,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:fO,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:Yw,props:!0,meta:{layout:"index-layout"}},{name:"about",path:"/about",component:hO,props:!0},{name:"all",path:"/:all(.*)*",component:dO,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:pO,props:!0}];const gO=US(mO);KA(D9,{routes:gO,base:"/"},r=>{Object.values(Object.assign({"./modules/i18n.ts":BC,"./modules/nprogress.ts":$C,"./modules/pinia.ts":QC,"./modules/pwa.ts":JC,"./modules/toast.ts":nT})).forEach(s=>{var i;return(i=s.install)==null?void 0:i.call(s,r)}),r.app.use(z7),r.app.use(f9)});export{C2 as $,Yo as A,PO as B,pF as C,aA as D,rn as E,jn as F,ry as G,v9 as H,gx as I,_O as J,E1 as K,cC as L,Ea as M,o_ as N,T1 as O,oA as P,H8 as Q,RO as R,ws as S,Ms as T,Hi as U,eT as V,FO as W,oo as X,AO as Y,SO as Z,ia as _,Jf as a,ZC as a0,K2 as a1,bO as a2,um as a3,fm as a4,Zh as a5,uk as a6,kw as a7,lo as a8,dk as a9,Fa as aA,ir as aB,pk as aC,gm as aD,sb as aE,vO as aF,hk as aa,Y2 as ab,DO as ac,Ca as ad,Ok as ae,Ck as af,Sm as ag,yO as ah,_a as ai,km as aj,G7 as ak,j7 as al,O4 as am,Ob as an,K7 as ao,$v as ap,ti as aq,Ts as ar,si as as,o9 as at,Ul as au,CO as av,G4 as aw,TO as ax,KF as ay,qf as az,Er as b,vn as c,Mt as d,PS as e,o8 as f,Cs as g,Vr as h,Yt as i,tr as j,Aa as k,oa as l,qy as m,ni as n,Ur as o,pS as p,Qf as q,Bi as r,ak as s,as as t,iS as u,kO as v,bn as w,OO as x,uu as y,b_ as z};
205
+ `,r}function Ik(){const r={};return r.url="/logos/hunan_cpc.png",r}function Nk(r){if(!r.preset)return r;const s=r.preset.toUpperCase();return s==="ICPC"?Rk():s==="CCPC"?Pk():s==="HUNAN_CPC"?Ik():r}const Mk=r=>(um("data-v-7acc24cf"),r=r(),fm(),r),Lk={"h-32":""},Bk={key:0},Uk={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},Hk={"w-full":"",flex:""},$k={key:0,class:"logo"},Wk=["src"],zk={class:"title","overflow-hidden":"","text-2xl":"",truncate:""},Vk={flex:"","items-end":""},Gk={"float-left":"","font-mono":"","text-base":""},jk={class:"pl-0.5"},Yk=Mk(()=>Mt("br",null,null,-1)),Kk={"flex-1":""},qk={flex:"","items-center":"","justify-center":""},Qk={"font-bold":"","font-mono":"",class:"w-[68%]"},Xk={"float-right":""},Jk={class:"MuiIconButton-label"},Zk=Cs({__name:"ContestIndexUI",props:{data:null},setup(r){const s=r,{t:i}=Qf(),l=Vr(()=>s.data.contest),n=Yt(new Date),e=Yt(null),m=iS(e),F=Vr(()=>{if(l.value.logo)return Nk(l.value.logo)}),y=setInterval(()=>{n.value=new Date},1e3);return uu(()=>{clearInterval(y)}),(w,k)=>{const S=Bi("VTooltip"),P=Ok,M=Ck,N=Ek,B=Bi("RouterLink");return Ur(),vn("div",{ref_key:"el",ref:e},[Mt("div",Lk,[tr(m)?(Ur(),vn("div",Bk,[Mt("div",Uk,[Mt("div",Hk,[tr(F)!==void 0?(Ur(),vn("div",$k,[Mt("img",{class:"h-10 w-10",src:tr(uk)(tr(F)),alt:"logo"},null,8,Wk)])):oa("",!0),Er(S,{"w-inherit":""},{popper:ws(()=>[Ea(as(tr(l).name),1)]),default:ws(()=>[Mt("div",zk,as(tr(l).name),1)]),_:1})]),Mt("div",Vk,[Mt("div",Gk,[Ea(as(tr(i)("index.start"))+": "+as(tr(l).startTime.format("YYYY-MM-DD HH:mm:ss")),1),Mt("sup",jk,as(tr(l).startTime.format("z")),1),Yk,Ea(" "+as(tr(i)("index.duration"))+": "+as(tr(l).getContestDuration()),1)]),Mt("div",Kk,[Mt("div",qk,[Mt("div",Qk,[Mt("div",null,[Er(P,{state:tr(l).getContestState(tr(n)),"pending-time":tr(l).getContestPendingTime(tr(n))},null,8,["state","pending-time"])]),Er(M,{width:tr(l).getContestProgressRatio(tr(n)),state:tr(l).getContestState(tr(n))},null,8,["width","state"])])])]),Mt("div",Xk,[Er(B,{class:"go MuiIconButton-root",to:s.data.boardLink},{default:ws(()=>[Mt("span",Jk,[Er(N)])]),_:1},8,["to"])])])])])):oa("",!0)])],512)}}});const eO=Jf(Zk,[["__scopeId","data-v-7acc24cf"]]),tO={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},rO={key:0,class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":""},nO={key:1},sO={key:2,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},iO={"w-240":""},aO={key:0,"mt-4":""},oO={key:1,p10:""},lO=Mt("div",{op40:"",italic:"",mb5:""}," No result found ",-1),cO={row:"","justify-center":""},Yw=Cs({__name:"index",setup(r){const{t:s}=Qf();pS(dk);const i=Yt(new Date),l=Yt(`${window.DATA_HOST}index/contest_list.json?t=${i.value.getTime()}`),n=Yt(!1),e=kw("s","",{transform:String}),m=Yt(e.value),F=Yt(null),y=Yt([]),w=Yt([]);function k(){w.value=y.value.filter(B=>{var K;return((K=m.value)==null?void 0:K.length)===0&&(m.value=null),m.value===null?(e.value=void 0,!0):(e.value=m.value,!!(B.contest.name.includes(m.value)||B.contest.name.toLowerCase().includes(m.value.toLowerCase())||B.boardLink.toLocaleLowerCase().includes(m.value.toLowerCase())))})}function S(){var B;m.value=null,(B=F.value)==null||B.focus()}const{error:P,isFetching:M,isFinished:N}=hS(l,{refetch:n,afterFetch:B=>(y.value=ck(JSON.parse(B.data)),w.value=y.value.map(K=>K),k(),B)}).get();return bn(m,()=>{k()}),(B,K)=>(Ur(),vn("div",tO,[Mt("div",null,[tr(M)?(Ur(),vn("div",rO,as(tr(s)("common.loading"))+"... ",1)):oa("",!0),tr(P)?(Ur(),vn("div",nO,as(tr(P)),1)):oa("",!0),tr(N)?(Ur(),vn("div",sO,[Mt("div",iO,[Er(bk,{ref_key:"searchInputRef",ref:F,modelValue:tr(m),"onUpdate:modelValue":K[0]||(K[0]=U=>rn(m)?m.value=U:null)},null,8,["modelValue"])]),tr(w).length?(Ur(),vn("div",aO,[(Ur(!0),vn(jn,null,b_(tr(w),U=>(Ur(),Yo(eO,{key:U.boardLink,data:U},null,8,["data"]))),128))])):(Ur(),vn("div",oO,[lO,Mt("div",cO,[Mt("button",{btn:"",onClick:K[1]||(K[1]=U=>S())}," Clear search ")])]))])):oa("",!0)])]))}}),pF={};typeof pF=="function"&&pF(Yw);const uO=()=>ia(()=>import("./index-95c5e1ae.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/index-95c5e1ae.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-6fc6f8ea.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-4ea0bd97.js"],import.meta.url),fO=()=>ia(()=>import("./test-5e95874d.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/test-5e95874d.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-4ea0bd97.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/user-57f2ad93.js"],import.meta.url),hO=()=>ia(()=>import("./about-94580762.js"),[],import.meta.url),dO=()=>ia(()=>import("./_...all_-cf83185b.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/_...all_-cf83185b.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-6fc6f8ea.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-4ea0bd97.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/_...all_-f6dd53aa.css"],import.meta.url),pO=()=>ia(()=>import("./_name_-58c24204.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/_name_-58c24204.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.26.1/dist/assets/user-57f2ad93.js"],import.meta.url),mO=[{name:"balloon",path:"/balloon",component:uO,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:fO,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:Yw,props:!0,meta:{layout:"index-layout"}},{name:"about",path:"/about",component:hO,props:!0},{name:"all",path:"/:all(.*)*",component:dO,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:pO,props:!0}];const gO=US(mO);KA(D9,{routes:gO,base:"/"},r=>{Object.values(Object.assign({"./modules/i18n.ts":BC,"./modules/nprogress.ts":$C,"./modules/pinia.ts":QC,"./modules/pwa.ts":JC,"./modules/toast.ts":nT})).forEach(s=>{var i;return(i=s.install)==null?void 0:i.call(s,r)}),r.app.use(z7),r.app.use(f9)});export{C2 as $,Yo as A,PO as B,pF as C,aA as D,rn as E,jn as F,ry as G,v9 as H,gx as I,_O as J,E1 as K,cC as L,Ea as M,o_ as N,T1 as O,oA as P,H8 as Q,RO as R,ws as S,Ms as T,Hi as U,eT as V,FO as W,oo as X,AO as Y,SO as Z,ia as _,Jf as a,ZC as a0,K2 as a1,bO as a2,um as a3,fm as a4,Zh as a5,uk as a6,kw as a7,lo as a8,dk as a9,Fa as aA,ir as aB,pk as aC,gm as aD,sb as aE,vO as aF,hk as aa,Y2 as ab,DO as ac,Ca as ad,Ok as ae,Ck as af,Sm as ag,yO as ah,_a as ai,km as aj,G7 as ak,j7 as al,O4 as am,Ob as an,K7 as ao,$v as ap,ti as aq,Ts as ar,si as as,o9 as at,Ul as au,CO as av,G4 as aw,TO as ax,KF as ay,qf as az,Er as b,vn as c,Mt as d,PS as e,o8 as f,Cs as g,Vr as h,Yt as i,tr as j,Aa as k,oa as l,qy as m,ni as n,Ur as o,pS as p,Qf as q,Bi as r,ak as s,as as t,iS as u,kO as v,bn as w,OO as x,uu as y,b_ as z};