@xcpcio/board-app 0.44.3 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/404.html +1 -1
  2. package/dist/assets/{Board-c41a7b12.js → Board-d8672557.js} +3 -3
  3. package/dist/assets/{Board-916a327e.css → Board-eada7b82.css} +1 -1
  4. package/dist/assets/{DataSourceInput.vue_vue_type_script_setup_true_lang-b0ab1d18.js → DataSourceInput.vue_vue_type_script_setup_true_lang-355e8892.js} +1 -1
  5. package/dist/assets/{TheInput.vue_vue_type_script_setup_true_lang-2780acad.js → TheInput.vue_vue_type_script_setup_true_lang-d53a2e94.js} +1 -1
  6. package/dist/assets/{_...all_-f78942d0.js → _...all_-49fdf693.js} +1 -1
  7. package/dist/assets/_name_-ecfcaff9.js +1 -0
  8. package/dist/assets/{about-c29fef0e.js → about-aafa19e0.js} +1 -1
  9. package/dist/assets/{board-bb2136d4.js → board-ac08a49e.js} +1 -1
  10. package/dist/assets/{board-layout-697d2319.js → board-layout-ca4c1273.js} +1 -1
  11. package/dist/assets/{headless-e0c7ce47.js → headless-e170f56d.js} +1 -1
  12. package/dist/assets/{home-745f3988.js → home-3bd8e303.js} +1 -1
  13. package/dist/assets/{index-0a50182c.js → index-c5ed7f0e.js} +4 -4
  14. package/dist/assets/{index-47212532.css → index-ea1c658f.css} +1 -1
  15. package/dist/assets/{index-944742ec.js → index-eb93e748.js} +1 -1
  16. package/dist/assets/{index-0429e829.js → index-fa8b49d4.js} +1 -1
  17. package/dist/assets/{index-layout-c825e6e2.js → index-layout-4c56300c.js} +1 -1
  18. package/dist/assets/query-3fa14ec7.js +1 -0
  19. package/dist/assets/{test-883825b2.js → test-8377af2c.js} +1 -1
  20. package/dist/assets/{user-cb76ec54.js → user-59dce06c.js} +1 -1
  21. package/dist/assets/{virtual_pwa-register-6534be2d.js → virtual_pwa-register-97a9bef2.js} +1 -1
  22. package/dist/index.html +1 -1
  23. package/dist/sw.js +1 -1
  24. package/package.json +3 -3
  25. package/src/components/board/Board.vue +3 -2
  26. package/src/composables/useQueryBoardData.ts +10 -4
  27. package/dist/assets/_name_-8fee1ac6.js +0 -1
  28. package/dist/assets/query-ebd5f692.js +0 -1
@@ -23,11 +23,11 @@
23
23
  * pinia v2.1.6
24
24
  * (c) 2023 Eduardo San Martin Morote
25
25
  * @license MIT
26
- */let bF;const ev=t=>bF=t,yF=Symbol();function Ey(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var yp;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(yp||(yp={}));function C8(){const t=N2(!0),i=t.run(()=>dr({}));let s=[],a=[];const r=Xp({install(e){ev(r),r._a=e,e.provide(yF,r),e.config.globalProperties.$pinia=r,a.forEach(d=>s.push(d)),a=[]},use(e){return!this._a&&!x8?a.push(e):s.push(e),this},_p:s,_a:null,_e:t,_s:new Map,state:i});return r}const _F=()=>{};function C3(t,i,s,a=_F){t.push(i);const r=()=>{const e=t.indexOf(i);e>-1&&(t.splice(e,1),a())};return!s&&M2()&&r_(r),r}function dd(t,...i){t.slice().forEach(s=>{s(...i)})}const T8=t=>t();function Fy(t,i){t instanceof Map&&i instanceof Map&&i.forEach((s,a)=>t.set(a,s)),t instanceof Set&&i instanceof Set&&i.forEach(t.add,t);for(const s in i){if(!i.hasOwnProperty(s))continue;const a=i[s],r=t[s];Ey(r)&&Ey(a)&&t.hasOwnProperty(s)&&!Ln(a)&&!Wc(a)?t[s]=Fy(r,a):t[s]=a}return t}const A8=Symbol();function S8(t){return!Ey(t)||!t.hasOwnProperty(A8)}const{assign:rf}=Object;function k8(t){return!!(Ln(t)&&t.effect)}function O8(t,i,s,a){const{state:r,actions:e,getters:d}=i,y=s.state.value[t];let _;function E(){y||(s.state.value[t]=r?r():{});const x=GD(s.state.value[t]);return rf(x,e,Object.keys(d||{}).reduce((A,R)=>(A[R]=Xp(mn(()=>{ev(s);const L=s._s.get(t);return d[R].call(L,L)})),A),{}))}return _=wF(t,E,i,s,a,!0),_}function wF(t,i,s={},a,r,e){let d;const y=rf({actions:{}},s),_={deep:!0};let E,x,A=[],R=[],L;const B=a.state.value[t];!e&&!B&&(a.state.value[t]={}),dr({});let I;function G(U){let H;E=x=!1,typeof U=="function"?(U(a.state.value[t]),H={type:yp.patchFunction,storeId:t,events:L}):(Fy(a.state.value[t],U),H={type:yp.patchObject,payload:U,storeId:t,events:L});const te=I=Symbol();Ql().then(()=>{I===te&&(E=!0)}),x=!0,dd(A,H,a.state.value[t])}const z=e?function(){const{state:H}=s,te=H?H():{};this.$patch(fe=>{rf(fe,te)})}:_F;function Q(){d.stop(),A=[],R=[],a._s.delete(t)}function ce(U,H){return function(){ev(a);const te=Array.from(arguments),fe=[],Ee=[];function ye(je){fe.push(je)}function be(je){Ee.push(je)}dd(R,{args:te,name:U,store:V,after:ye,onError:be});let $e;try{$e=H.apply(this&&this.$id===t?this:V,te)}catch(je){throw dd(Ee,je),je}return $e instanceof Promise?$e.then(je=>(dd(fe,je),je)).catch(je=>(dd(Ee,je),Promise.reject(je))):(dd(fe,$e),$e)}}const Y={_p:a,$id:t,$onAction:C3.bind(null,R),$patch:G,$reset:z,$subscribe(U,H={}){const te=C3(A,U,H.detached,()=>fe()),fe=d.run(()=>Qn(()=>a.state.value[t],Ee=>{(H.flush==="sync"?x:E)&&U({storeId:t,type:yp.direct,events:L},Ee)},rf({},_,H)));return te},$dispose:Q},V=_f(Y);a._s.set(t,V);const Z=a._a&&a._a.runWithContext||T8,ie=a._e.run(()=>(d=N2(),Z(()=>d.run(i))));for(const U in ie){const H=ie[U];if(Ln(H)&&!k8(H)||Wc(H))e||(B&&S8(H)&&(Ln(H)?H.value=B[U]:Fy(H,B[U])),a.state.value[t][U]=H);else if(typeof H=="function"){const te=ce(U,H);ie[U]=te,y.actions[U]=H}}return rf(V,ie),rf(yn(V),ie),Object.defineProperty(V,"$state",{get:()=>a.state.value[t],set:U=>{G(H=>{rf(H,U)})}}),a._p.forEach(U=>{rf(V,d.run(()=>U({store:V,app:a._a,pinia:a,options:y})))}),B&&e&&s.hydrate&&s.hydrate(V.$state,B),E=!0,x=!0,V}function GN(t,i,s){let a,r;const e=typeof i=="function";typeof t=="string"?(a=t,r=e?s:i):(r=t,a=t.id);function d(y,_){const E=wE();return y=y||(E?va(yF,null):null),y&&ev(y),y=bF,y._s.has(a)||(e?wF(a,i,r,y):O8(a,r,y)),y._s.get(a)}return d.$id=a,d}const R8=({isClient:t,initialState:i,app:s})=>{const a=C8();s.use(a),t?a.state.value=i.pinia||{}:i.pinia=a.state.value},P8=Object.freeze(Object.defineProperty({__proto__:null,install:R8},Symbol.toStringTag,{value:"Module"})),I8=({isClient:t,router:i})=>{t&&i.isReady().then(async()=>{const{registerSW:s}=await Na(()=>import("./virtual_pwa-register-6534be2d.js"),[],import.meta.url);s({immediate:!0})}).catch(()=>{})},N8=Object.freeze(Object.defineProperty({__proto__:null,install:I8},Symbol.toStringTag,{value:"Module"}));var DF={exports:{}};const M8=mF(XA);(function(t,i){(function(a,r){t.exports=r(M8)})(hs,s=>(()=>{var a={661:(y,_)=>{Object.defineProperty(_,"__esModule",{value:!0}),_.default=(E,x)=>{const A=E.__vccOpts||E;for(const[R,L]of x)A[R]=L;return A}},976:y=>{y.exports=s}},r={};function e(y){var _=r[y];if(_!==void 0)return _.exports;var E=r[y]={exports:{}};return a[y](E,E.exports,e),E.exports}e.d=(y,_)=>{for(var E in _)e.o(_,E)&&!e.o(y,E)&&Object.defineProperty(y,E,{enumerable:!0,get:_[E]})},e.o=(y,_)=>Object.prototype.hasOwnProperty.call(y,_),e.r=y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})};var d={};return(()=>{e.r(d),e.d(d,{ToastComponent:()=>V,ToastPlugin:()=>ie,ToastPositions:()=>B,default:()=>U,useToast:()=>Z});var y=e(976);const _=(0,y.createElementVNode)("div",{class:"v-toast__icon"},null,-1),E=["innerHTML"];function x(H,te,fe,Ee,ye,be){return(0,y.openBlock)(),(0,y.createBlock)(y.Transition,{"enter-active-class":H.transition.enter,"leave-active-class":H.transition.leave},{default:(0,y.withCtx)(()=>[(0,y.withDirectives)((0,y.createElementVNode)("div",{ref:"root",role:"alert",class:(0,y.normalizeClass)(["v-toast__item",[`v-toast__item--${H.type}`,`v-toast__item--${H.position}`]]),onMouseover:te[0]||(te[0]=$e=>H.toggleTimer(!0)),onMouseleave:te[1]||(te[1]=$e=>H.toggleTimer(!1)),onClick:te[2]||(te[2]=function(){return H.whenClicked&&H.whenClicked(...arguments)})},[_,(0,y.createElementVNode)("p",{class:"v-toast__text",innerHTML:H.message},null,8,E)],34),[[y.vShow,H.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function A(H){var te;typeof H.remove<"u"?H.remove():(te=H.parentNode)==null||te.removeChild(H)}function R(H,te,fe){let Ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const ye=(0,y.h)(H,te,Ee),be=document.createElement("div");return be.classList.add("v-toast--pending"),fe.appendChild(be),(0,y.render)(ye,be),ye.component}class L{constructor(te,fe){this.startedAt=Date.now(),this.callback=te,this.delay=fe,this.timer=setTimeout(te,fe)}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 B=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function I(H){return{all:H=H||new Map,on:function(te,fe){var Ee=H.get(te);Ee?Ee.push(fe):H.set(te,[fe])},off:function(te,fe){var Ee=H.get(te);Ee&&(fe?Ee.splice(Ee.indexOf(fe)>>>0,1):H.set(te,[]))},emit:function(te,fe){var Ee=H.get(te);Ee&&Ee.slice().map(function(ye){ye(fe)}),(Ee=H.get("*"))&&Ee.slice().map(function(ye){ye(te,fe)})}}}const z=I(),Q=(0,y.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:B.BOTTOM_RIGHT,validator(H){return Object.values(B).includes(H)}},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(),z.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 H=document.body;H.appendChild(this.parentTop),H.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 H=this.$refs.root;(0,y.render)(null,H),A(H)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const H=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),A(H),this.isActive=!0,this.duration&&(this.timer=new L(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(H){!this.pauseOnHover||!this.timer||(H?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case B.TOP:case B.TOP_RIGHT:case B.TOP_LEFT:return this.parentTop;case B.BOTTOM:case B.BOTTOM_RIGHT:case B.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case B.TOP:case B.TOP_RIGHT:case B.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case B.BOTTOM:case B.BOTTOM_RIGHT:case B.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){z.off("toast-clear",this.dismiss)}});var ce=e(661);const V=(0,ce.default)(Q,[["render",x]]),Z=function(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(te){let fe=null;typeof te=="string"&&(fe=te);const ye=Object.assign({},{message:fe},H,te);return{dismiss:R(V,ye,document.body).ctx.dismiss}},clear(){z.emit("toast-clear")},success(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"success"},fe))},error(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"error"},fe))},info(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"info"},fe))},warning(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"warning"},fe))},default(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"default"},fe))}}},ie={install:function(H){let te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fe=Z(te);H.config.globalProperties.$toast=fe,H.provide("$toast",fe)}},U=ie})(),d})())})(DF);var L8=DF.exports;const B8=qs(L8);const U8=({app:t})=>{t.use(B8,{position:"bottom-right"})},$8=Object.freeze(Object.defineProperty({__proto__:null,install:U8},Symbol.toStringTag,{value:"Module"}));/*!
26
+ */let bF;const ev=t=>bF=t,yF=Symbol();function Ey(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var yp;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(yp||(yp={}));function C8(){const t=N2(!0),i=t.run(()=>dr({}));let s=[],a=[];const r=Xp({install(e){ev(r),r._a=e,e.provide(yF,r),e.config.globalProperties.$pinia=r,a.forEach(d=>s.push(d)),a=[]},use(e){return!this._a&&!x8?a.push(e):s.push(e),this},_p:s,_a:null,_e:t,_s:new Map,state:i});return r}const _F=()=>{};function C3(t,i,s,a=_F){t.push(i);const r=()=>{const e=t.indexOf(i);e>-1&&(t.splice(e,1),a())};return!s&&M2()&&r_(r),r}function dd(t,...i){t.slice().forEach(s=>{s(...i)})}const T8=t=>t();function Fy(t,i){t instanceof Map&&i instanceof Map&&i.forEach((s,a)=>t.set(a,s)),t instanceof Set&&i instanceof Set&&i.forEach(t.add,t);for(const s in i){if(!i.hasOwnProperty(s))continue;const a=i[s],r=t[s];Ey(r)&&Ey(a)&&t.hasOwnProperty(s)&&!Ln(a)&&!Wc(a)?t[s]=Fy(r,a):t[s]=a}return t}const A8=Symbol();function S8(t){return!Ey(t)||!t.hasOwnProperty(A8)}const{assign:rf}=Object;function k8(t){return!!(Ln(t)&&t.effect)}function O8(t,i,s,a){const{state:r,actions:e,getters:d}=i,y=s.state.value[t];let _;function E(){y||(s.state.value[t]=r?r():{});const x=GD(s.state.value[t]);return rf(x,e,Object.keys(d||{}).reduce((A,R)=>(A[R]=Xp(mn(()=>{ev(s);const L=s._s.get(t);return d[R].call(L,L)})),A),{}))}return _=wF(t,E,i,s,a,!0),_}function wF(t,i,s={},a,r,e){let d;const y=rf({actions:{}},s),_={deep:!0};let E,x,A=[],R=[],L;const B=a.state.value[t];!e&&!B&&(a.state.value[t]={}),dr({});let I;function G(U){let H;E=x=!1,typeof U=="function"?(U(a.state.value[t]),H={type:yp.patchFunction,storeId:t,events:L}):(Fy(a.state.value[t],U),H={type:yp.patchObject,payload:U,storeId:t,events:L});const te=I=Symbol();Ql().then(()=>{I===te&&(E=!0)}),x=!0,dd(A,H,a.state.value[t])}const z=e?function(){const{state:H}=s,te=H?H():{};this.$patch(fe=>{rf(fe,te)})}:_F;function Q(){d.stop(),A=[],R=[],a._s.delete(t)}function ce(U,H){return function(){ev(a);const te=Array.from(arguments),fe=[],Ee=[];function ye(je){fe.push(je)}function be(je){Ee.push(je)}dd(R,{args:te,name:U,store:V,after:ye,onError:be});let $e;try{$e=H.apply(this&&this.$id===t?this:V,te)}catch(je){throw dd(Ee,je),je}return $e instanceof Promise?$e.then(je=>(dd(fe,je),je)).catch(je=>(dd(Ee,je),Promise.reject(je))):(dd(fe,$e),$e)}}const Y={_p:a,$id:t,$onAction:C3.bind(null,R),$patch:G,$reset:z,$subscribe(U,H={}){const te=C3(A,U,H.detached,()=>fe()),fe=d.run(()=>Qn(()=>a.state.value[t],Ee=>{(H.flush==="sync"?x:E)&&U({storeId:t,type:yp.direct,events:L},Ee)},rf({},_,H)));return te},$dispose:Q},V=_f(Y);a._s.set(t,V);const Z=a._a&&a._a.runWithContext||T8,ie=a._e.run(()=>(d=N2(),Z(()=>d.run(i))));for(const U in ie){const H=ie[U];if(Ln(H)&&!k8(H)||Wc(H))e||(B&&S8(H)&&(Ln(H)?H.value=B[U]:Fy(H,B[U])),a.state.value[t][U]=H);else if(typeof H=="function"){const te=ce(U,H);ie[U]=te,y.actions[U]=H}}return rf(V,ie),rf(yn(V),ie),Object.defineProperty(V,"$state",{get:()=>a.state.value[t],set:U=>{G(H=>{rf(H,U)})}}),a._p.forEach(U=>{rf(V,d.run(()=>U({store:V,app:a._a,pinia:a,options:y})))}),B&&e&&s.hydrate&&s.hydrate(V.$state,B),E=!0,x=!0,V}function GN(t,i,s){let a,r;const e=typeof i=="function";typeof t=="string"?(a=t,r=e?s:i):(r=t,a=t.id);function d(y,_){const E=wE();return y=y||(E?va(yF,null):null),y&&ev(y),y=bF,y._s.has(a)||(e?wF(a,i,r,y):O8(a,r,y)),y._s.get(a)}return d.$id=a,d}const R8=({isClient:t,initialState:i,app:s})=>{const a=C8();s.use(a),t?a.state.value=i.pinia||{}:i.pinia=a.state.value},P8=Object.freeze(Object.defineProperty({__proto__:null,install:R8},Symbol.toStringTag,{value:"Module"})),I8=({isClient:t,router:i})=>{t&&i.isReady().then(async()=>{const{registerSW:s}=await Na(()=>import("./virtual_pwa-register-97a9bef2.js"),[],import.meta.url);s({immediate:!0})}).catch(()=>{})},N8=Object.freeze(Object.defineProperty({__proto__:null,install:I8},Symbol.toStringTag,{value:"Module"}));var DF={exports:{}};const M8=mF(XA);(function(t,i){(function(a,r){t.exports=r(M8)})(hs,s=>(()=>{var a={661:(y,_)=>{Object.defineProperty(_,"__esModule",{value:!0}),_.default=(E,x)=>{const A=E.__vccOpts||E;for(const[R,L]of x)A[R]=L;return A}},976:y=>{y.exports=s}},r={};function e(y){var _=r[y];if(_!==void 0)return _.exports;var E=r[y]={exports:{}};return a[y](E,E.exports,e),E.exports}e.d=(y,_)=>{for(var E in _)e.o(_,E)&&!e.o(y,E)&&Object.defineProperty(y,E,{enumerable:!0,get:_[E]})},e.o=(y,_)=>Object.prototype.hasOwnProperty.call(y,_),e.r=y=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(y,"__esModule",{value:!0})};var d={};return(()=>{e.r(d),e.d(d,{ToastComponent:()=>V,ToastPlugin:()=>ie,ToastPositions:()=>B,default:()=>U,useToast:()=>Z});var y=e(976);const _=(0,y.createElementVNode)("div",{class:"v-toast__icon"},null,-1),E=["innerHTML"];function x(H,te,fe,Ee,ye,be){return(0,y.openBlock)(),(0,y.createBlock)(y.Transition,{"enter-active-class":H.transition.enter,"leave-active-class":H.transition.leave},{default:(0,y.withCtx)(()=>[(0,y.withDirectives)((0,y.createElementVNode)("div",{ref:"root",role:"alert",class:(0,y.normalizeClass)(["v-toast__item",[`v-toast__item--${H.type}`,`v-toast__item--${H.position}`]]),onMouseover:te[0]||(te[0]=$e=>H.toggleTimer(!0)),onMouseleave:te[1]||(te[1]=$e=>H.toggleTimer(!1)),onClick:te[2]||(te[2]=function(){return H.whenClicked&&H.whenClicked(...arguments)})},[_,(0,y.createElementVNode)("p",{class:"v-toast__text",innerHTML:H.message},null,8,E)],34),[[y.vShow,H.isActive]])]),_:1},8,["enter-active-class","leave-active-class"])}function A(H){var te;typeof H.remove<"u"?H.remove():(te=H.parentNode)==null||te.removeChild(H)}function R(H,te,fe){let Ee=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const ye=(0,y.h)(H,te,Ee),be=document.createElement("div");return be.classList.add("v-toast--pending"),fe.appendChild(be),(0,y.render)(ye,be),ye.component}class L{constructor(te,fe){this.startedAt=Date.now(),this.callback=te,this.delay=fe,this.timer=setTimeout(te,fe)}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 B=Object.freeze({TOP_RIGHT:"top-right",TOP:"top",TOP_LEFT:"top-left",BOTTOM_RIGHT:"bottom-right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom-left"});function I(H){return{all:H=H||new Map,on:function(te,fe){var Ee=H.get(te);Ee?Ee.push(fe):H.set(te,[fe])},off:function(te,fe){var Ee=H.get(te);Ee&&(fe?Ee.splice(Ee.indexOf(fe)>>>0,1):H.set(te,[]))},emit:function(te,fe){var Ee=H.get(te);Ee&&Ee.slice().map(function(ye){ye(fe)}),(Ee=H.get("*"))&&Ee.slice().map(function(ye){ye(te,fe)})}}}const z=I(),Q=(0,y.defineComponent)({name:"Toast",props:{message:{type:String,required:!0},type:{type:String,default:"success"},position:{type:String,default:B.BOTTOM_RIGHT,validator(H){return Object.values(B).includes(H)}},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(),z.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 H=document.body;H.appendChild(this.parentTop),H.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 H=this.$refs.root;(0,y.render)(null,H),A(H)},150)},showNotice(){if(this.shouldQueue()){this.queueTimer=setTimeout(this.showNotice,250);return}const H=this.$refs.root.parentElement;this.correctParent.insertAdjacentElement("afterbegin",this.$refs.root),A(H),this.isActive=!0,this.duration&&(this.timer=new L(this.dismiss,this.duration))},whenClicked(){this.dismissible&&(this.onClick.apply(null,arguments),this.dismiss())},toggleTimer(H){!this.pauseOnHover||!this.timer||(H?this.timer.pause():this.timer.resume())}},computed:{correctParent(){switch(this.position){case B.TOP:case B.TOP_RIGHT:case B.TOP_LEFT:return this.parentTop;case B.BOTTOM:case B.BOTTOM_RIGHT:case B.BOTTOM_LEFT:return this.parentBottom}},transition(){switch(this.position){case B.TOP:case B.TOP_RIGHT:case B.TOP_LEFT:return{enter:"v-toast--fade-in-down",leave:"v-toast--fade-out"};case B.BOTTOM:case B.BOTTOM_RIGHT:case B.BOTTOM_LEFT:return{enter:"v-toast--fade-in-up",leave:"v-toast--fade-out"}}}},beforeUnmount(){z.off("toast-clear",this.dismiss)}});var ce=e(661);const V=(0,ce.default)(Q,[["render",x]]),Z=function(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return{open(te){let fe=null;typeof te=="string"&&(fe=te);const ye=Object.assign({},{message:fe},H,te);return{dismiss:R(V,ye,document.body).ctx.dismiss}},clear(){z.emit("toast-clear")},success(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"success"},fe))},error(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"error"},fe))},info(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"info"},fe))},warning(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"warning"},fe))},default(te){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.open(Object.assign({},{message:te,type:"default"},fe))}}},ie={install:function(H){let te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fe=Z(te);H.config.globalProperties.$toast=fe,H.provide("$toast",fe)}},U=ie})(),d})())})(DF);var L8=DF.exports;const B8=qs(L8);const U8=({app:t})=>{t.use(B8,{position:"bottom-right"})},$8=Object.freeze(Object.defineProperty({__proto__:null,install:U8},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 md=typeof window<"u";function H8(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Gn=Object.assign;function Nb(t,i){const s={};for(const a in i){const r=i[a];s[a]=bl(r)?r.map(t):t(r)}return s}const _p=()=>{},bl=Array.isArray,W8=/\/$/,z8=t=>t.replace(W8,"");function Mb(t,i,s="/"){let a,r={},e="",d="";const y=i.indexOf("#");let _=i.indexOf("?");return y<_&&y>=0&&(_=-1),_>-1&&(a=i.slice(0,_),e=i.slice(_+1,y>-1?y:i.length),r=t(e)),y>-1&&(a=a||i.slice(0,y),d=i.slice(y,i.length)),a=Y8(a??i,s),{fullPath:a+(e&&"?")+e+d,path:a,query:r,hash:d}}function j8(t,i){const s=i.query?t(i.query):"";return i.path+(s&&"?")+s+(i.hash||"")}function T3(t,i){return!i||!t.toLowerCase().startsWith(i.toLowerCase())?t:t.slice(i.length)||"/"}function V8(t,i,s){const a=i.matched.length-1,r=s.matched.length-1;return a>-1&&a===r&&Nd(i.matched[a],s.matched[r])&&EF(i.params,s.params)&&t(i.query)===t(s.query)&&i.hash===s.hash}function Nd(t,i){return(t.aliasOf||t)===(i.aliasOf||i)}function EF(t,i){if(Object.keys(t).length!==Object.keys(i).length)return!1;for(const s in t)if(!G8(t[s],i[s]))return!1;return!0}function G8(t,i){return bl(t)?A3(t,i):bl(i)?A3(i,t):t===i}function A3(t,i){return bl(i)?t.length===i.length&&t.every((s,a)=>s===i[a]):t.length===1&&t[0]===i}function Y8(t,i){if(t.startsWith("/"))return t;if(!t)return i;const s=i.split("/"),a=t.split("/"),r=a[a.length-1];(r===".."||r===".")&&a.push("");let e=s.length-1,d,y;for(d=0;d<a.length;d++)if(y=a[d],y!==".")if(y==="..")e>1&&e--;else break;return s.slice(0,e).join("/")+"/"+a.slice(d-(d===a.length?1:0)).join("/")}var Md;(function(t){t.pop="pop",t.push="push"})(Md||(Md={}));var J0;(function(t){t.back="back",t.forward="forward",t.unknown=""})(J0||(J0={}));const Lb="";function FF(t){if(!t)if(md){const i=document.querySelector("base");t=i&&i.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),z8(t)}const q8=/^[^#]+#/;function xF(t,i){return t.replace(q8,"#")+i}function K8(t,i){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:i.behavior,left:a.left-s.left-(i.left||0),top:a.top-s.top-(i.top||0)}}const tv=()=>({left:window.pageXOffset,top:window.pageYOffset});function Q8(t){let i;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),r=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!r)return;i=K8(r,t)}else i=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function S3(t,i){return(history.state?history.state.position-i:-1)+t}const xy=new Map;function X8(t,i){xy.set(t,i)}function J8(t){const i=xy.get(t);return xy.delete(t),i}let Z8=()=>location.protocol+"//"+location.host;function CF(t,i){const{pathname:s,search:a,hash:r}=i,e=t.indexOf("#");if(e>-1){let y=r.includes(t.slice(e))?t.slice(e).length:1,_=r.slice(y);return _[0]!=="/"&&(_="/"+_),T3(_,"")}return T3(s,t)+a+r}function eS(t,i,s,a){let r=[],e=[],d=null;const y=({state:R})=>{const L=CF(t,location),B=s.value,I=i.value;let G=0;if(R){if(s.value=L,i.value=R,d&&d===B){d=null;return}G=I?R.position-I.position:0}else a(L);r.forEach(z=>{z(s.value,B,{delta:G,type:Md.pop,direction:G?G>0?J0.forward:J0.back:J0.unknown})})};function _(){d=s.value}function E(R){r.push(R);const L=()=>{const B=r.indexOf(R);B>-1&&r.splice(B,1)};return e.push(L),L}function x(){const{history:R}=window;R.state&&R.replaceState(Gn({},R.state,{scroll:tv()}),"")}function A(){for(const R of e)R();e=[],window.removeEventListener("popstate",y),window.removeEventListener("beforeunload",x)}return window.addEventListener("popstate",y),window.addEventListener("beforeunload",x,{passive:!0}),{pauseListeners:_,listen:E,destroy:A}}function k3(t,i,s,a=!1,r=!1){return{back:t,current:i,forward:s,replaced:a,position:window.history.length,scroll:r?tv():null}}function tS(t){const{history:i,location:s}=window,a={value:CF(t,s)},r={value:i.state};r.value||e(a.value,{back:null,current:a.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function e(_,E,x){const A=t.indexOf("#"),R=A>-1?(s.host&&document.querySelector("base")?t:t.slice(A))+_:Z8()+t+_;try{i[x?"replaceState":"pushState"](E,"",R),r.value=E}catch(L){console.error(L),s[x?"replace":"assign"](R)}}function d(_,E){const x=Gn({},i.state,k3(r.value.back,_,r.value.forward,!0),E,{position:r.value.position});e(_,x,!0),a.value=_}function y(_,E){const x=Gn({},r.value,i.state,{forward:_,scroll:tv()});e(x.current,x,!0);const A=Gn({},k3(a.value,_,null),{position:x.position+1},E);e(_,A,!1),a.value=_}return{location:a,state:r,push:y,replace:d}}function rS(t){t=FF(t);const i=tS(t),s=eS(t,i.state,i.location,i.replace);function a(e,d=!0){d||s.pauseListeners(),history.go(e)}const r=Gn({location:"",base:t,go:a,createHref:xF.bind(null,t)},i,s);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>i.state.value}),r}function nS(t=""){let i=[],s=[Lb],a=0;t=FF(t);function r(y){a++,a===s.length||s.splice(a),s.push(y)}function e(y,_,{direction:E,delta:x}){const A={direction:E,delta:x,type:Md.pop};for(const R of i)R(y,_,A)}const d={location:Lb,state:{},base:t,createHref:xF.bind(null,t),replace(y){s.splice(a--,1),r(y)},push(y,_){r(y)},listen(y){return i.push(y),()=>{const _=i.indexOf(y);_>-1&&i.splice(_,1)}},destroy(){i=[],s=[Lb],a=0},go(y,_=!0){const E=this.location,x=y<0?J0.back:J0.forward;a=Math.max(0,Math.min(a+y,s.length-1)),_&&e(this.location,E,{direction:x,delta:y})}};return Object.defineProperty(d,"location",{enumerable:!0,get:()=>s[a]}),d}function iS(t){return typeof t=="string"||t&&typeof t=="object"}function TF(t){return typeof t=="string"||typeof t=="symbol"}const Zu={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},AF=Symbol("");var O3;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(O3||(O3={}));function Ld(t,i){return Gn(new Error,{type:t,[AF]:!0},i)}function Mc(t,i){return t instanceof Error&&AF in t&&(i==null||!!(t.type&i))}const R3="[^/]+?",sS={sensitive:!1,strict:!1,start:!0,end:!0},aS=/[.+*?^${}()[\]/\\]/g;function oS(t,i){const s=Gn({},sS,i),a=[];let r=s.start?"^":"";const e=[];for(const E of t){const x=E.length?[]:[90];s.strict&&!E.length&&(r+="/");for(let A=0;A<E.length;A++){const R=E[A];let L=40+(s.sensitive?.25:0);if(R.type===0)A||(r+="/"),r+=R.value.replace(aS,"\\$&"),L+=40;else if(R.type===1){const{value:B,repeatable:I,optional:G,regexp:z}=R;e.push({name:B,repeatable:I,optional:G});const Q=z||R3;if(Q!==R3){L+=10;try{new RegExp(`(${Q})`)}catch(Y){throw new Error(`Invalid custom RegExp for param "${B}" (${Q}): `+Y.message)}}let ce=I?`((?:${Q})(?:/(?:${Q}))*)`:`(${Q})`;A||(ce=G&&E.length<2?`(?:/${ce})`:"/"+ce),G&&(ce+="?"),r+=ce,L+=20,G&&(L+=-8),I&&(L+=-20),Q===".*"&&(L+=-50)}x.push(L)}a.push(x)}if(s.strict&&s.end){const E=a.length-1;a[E][a[E].length-1]+=.7000000000000001}s.strict||(r+="/?"),s.end?r+="$":s.strict&&(r+="(?:/|$)");const d=new RegExp(r,s.sensitive?"":"i");function y(E){const x=E.match(d),A={};if(!x)return null;for(let R=1;R<x.length;R++){const L=x[R]||"",B=e[R-1];A[B.name]=L&&B.repeatable?L.split("/"):L}return A}function _(E){let x="",A=!1;for(const R of t){(!A||!x.endsWith("/"))&&(x+="/"),A=!1;for(const L of R)if(L.type===0)x+=L.value;else if(L.type===1){const{value:B,repeatable:I,optional:G}=L,z=B in E?E[B]:"";if(bl(z)&&!I)throw new Error(`Provided param "${B}" is an array but it is not repeatable (* or + modifiers)`);const Q=bl(z)?z.join("/"):z;if(!Q)if(G)R.length<2&&(x.endsWith("/")?x=x.slice(0,-1):A=!0);else throw new Error(`Missing required param "${B}"`);x+=Q}}return x||"/"}return{re:d,score:a,keys:e,parse:y,stringify:_}}function lS(t,i){let s=0;for(;s<t.length&&s<i.length;){const a=i[s]-t[s];if(a)return a;s++}return t.length<i.length?t.length===1&&t[0]===40+40?-1:1:t.length>i.length?i.length===1&&i[0]===40+40?1:-1:0}function cS(t,i){let s=0;const a=t.score,r=i.score;for(;s<a.length&&s<r.length;){const e=lS(a[s],r[s]);if(e)return e;s++}if(Math.abs(r.length-a.length)===1){if(P3(a))return 1;if(P3(r))return-1}return r.length-a.length}function P3(t){const i=t[t.length-1];return t.length>0&&i[i.length-1]<0}const uS={type:0,value:""},fS=/[a-zA-Z0-9_]/;function hS(t){if(!t)return[[]];if(t==="/")return[[uS]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function i(L){throw new Error(`ERR (${s})/"${E}": ${L}`)}let s=0,a=s;const r=[];let e;function d(){e&&r.push(e),e=[]}let y=0,_,E="",x="";function A(){E&&(s===0?e.push({type:0,value:E}):s===1||s===2||s===3?(e.length>1&&(_==="*"||_==="+")&&i(`A repeatable param (${E}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:E,regexp:x,repeatable:_==="*"||_==="+",optional:_==="*"||_==="?"})):i("Invalid state to consume buffer"),E="")}function R(){E+=_}for(;y<t.length;){if(_=t[y++],_==="\\"&&s!==2){a=s,s=4;continue}switch(s){case 0:_==="/"?(E&&A(),d()):_===":"?(A(),s=1):R();break;case 4:R(),s=a;break;case 1:_==="("?s=2:fS.test(_)?R():(A(),s=0,_!=="*"&&_!=="?"&&_!=="+"&&y--);break;case 2:_===")"?x[x.length-1]=="\\"?x=x.slice(0,-1)+_:s=3:x+=_;break;case 3:A(),s=0,_!=="*"&&_!=="?"&&_!=="+"&&y--,x="";break;default:i("Unknown state");break}}return s===2&&i(`Unfinished custom RegExp for param "${E}"`),A(),d(),r}function dS(t,i,s){const a=oS(hS(t.path),s),r=Gn(a,{record:t,parent:i,children:[],alias:[]});return i&&!r.record.aliasOf==!i.record.aliasOf&&i.children.push(r),r}function pS(t,i){const s=[],a=new Map;i=M3({strict:!1,end:!0,sensitive:!1},i);function r(x){return a.get(x)}function e(x,A,R){const L=!R,B=gS(x);B.aliasOf=R&&R.record;const I=M3(i,x),G=[B];if("alias"in x){const ce=typeof x.alias=="string"?[x.alias]:x.alias;for(const Y of ce)G.push(Gn({},B,{components:R?R.record.components:B.components,path:Y,aliasOf:R?R.record:B}))}let z,Q;for(const ce of G){const{path:Y}=ce;if(A&&Y[0]!=="/"){const V=A.record.path,Z=V[V.length-1]==="/"?"":"/";ce.path=A.record.path+(Y&&Z+Y)}if(z=dS(ce,A,I),R?R.alias.push(z):(Q=Q||z,Q!==z&&Q.alias.push(z),L&&x.name&&!N3(z)&&d(x.name)),B.children){const V=B.children;for(let Z=0;Z<V.length;Z++)e(V[Z],z,R&&R.children[Z])}R=R||z,(z.record.components&&Object.keys(z.record.components).length||z.record.name||z.record.redirect)&&_(z)}return Q?()=>{d(Q)}:_p}function d(x){if(TF(x)){const A=a.get(x);A&&(a.delete(x),s.splice(s.indexOf(A),1),A.children.forEach(d),A.alias.forEach(d))}else{const A=s.indexOf(x);A>-1&&(s.splice(A,1),x.record.name&&a.delete(x.record.name),x.children.forEach(d),x.alias.forEach(d))}}function y(){return s}function _(x){let A=0;for(;A<s.length&&cS(x,s[A])>=0&&(x.record.path!==s[A].record.path||!SF(x,s[A]));)A++;s.splice(A,0,x),x.record.name&&!N3(x)&&a.set(x.record.name,x)}function E(x,A){let R,L={},B,I;if("name"in x&&x.name){if(R=a.get(x.name),!R)throw Ld(1,{location:x});I=R.record.name,L=Gn(I3(A.params,R.keys.filter(Q=>!Q.optional).map(Q=>Q.name)),x.params&&I3(x.params,R.keys.map(Q=>Q.name))),B=R.stringify(L)}else if("path"in x)B=x.path,R=s.find(Q=>Q.re.test(B)),R&&(L=R.parse(B),I=R.record.name);else{if(R=A.name?a.get(A.name):s.find(Q=>Q.re.test(A.path)),!R)throw Ld(1,{location:x,currentLocation:A});I=R.record.name,L=Gn({},A.params,x.params),B=R.stringify(L)}const G=[];let z=R;for(;z;)G.unshift(z.record),z=z.parent;return{name:I,path:B,params:L,matched:G,meta:vS(G)}}return t.forEach(x=>e(x)),{addRoute:e,resolve:E,removeRoute:d,getRoutes:y,getRecordMatcher:r}}function I3(t,i){const s={};for(const a of i)a in t&&(s[a]=t[a]);return s}function gS(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:mS(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function mS(t){const i={},s=t.props||!1;if("component"in t)i.default=s;else for(const a in t.components)i[a]=typeof s=="object"?s[a]:s;return i}function N3(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function vS(t){return t.reduce((i,s)=>Gn(i,s.meta),{})}function M3(t,i){const s={};for(const a in t)s[a]=a in i?i[a]:t[a];return s}function SF(t,i){return i.children.some(s=>s===t||SF(t,s))}const kF=/#/g,bS=/&/g,yS=/\//g,_S=/=/g,wS=/\?/g,OF=/\+/g,DS=/%5B/g,ES=/%5D/g,RF=/%5E/g,FS=/%60/g,PF=/%7B/g,xS=/%7C/g,IF=/%7D/g,CS=/%20/g;function N_(t){return encodeURI(""+t).replace(xS,"|").replace(DS,"[").replace(ES,"]")}function TS(t){return N_(t).replace(PF,"{").replace(IF,"}").replace(RF,"^")}function Cy(t){return N_(t).replace(OF,"%2B").replace(CS,"+").replace(kF,"%23").replace(bS,"%26").replace(FS,"`").replace(PF,"{").replace(IF,"}").replace(RF,"^")}function AS(t){return Cy(t).replace(_S,"%3D")}function SS(t){return N_(t).replace(kF,"%23").replace(wS,"%3F")}function kS(t){return t==null?"":SS(t).replace(yS,"%2F")}function c2(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function OS(t){const i={};if(t===""||t==="?")return i;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;r<a.length;++r){const e=a[r].replace(OF," "),d=e.indexOf("="),y=c2(d<0?e:e.slice(0,d)),_=d<0?null:c2(e.slice(d+1));if(y in i){let E=i[y];bl(E)||(E=i[y]=[E]),E.push(_)}else i[y]=_}return i}function L3(t){let i="";for(let s in t){const a=t[s];if(s=AS(s),a==null){a!==void 0&&(i+=(i.length?"&":"")+s);continue}(bl(a)?a.map(e=>e&&Cy(e)):[a&&Cy(a)]).forEach(e=>{e!==void 0&&(i+=(i.length?"&":"")+s,e!=null&&(i+="="+e))})}return i}function RS(t){const i={};for(const s in t){const a=t[s];a!==void 0&&(i[s]=bl(a)?a.map(r=>r==null?null:""+r):a==null?a:""+a)}return i}const PS=Symbol(""),B3=Symbol(""),rv=Symbol(""),M_=Symbol(""),Ty=Symbol("");function ip(){let t=[];function i(a){return t.push(a),()=>{const r=t.indexOf(a);r>-1&&t.splice(r,1)}}function s(){t=[]}return{add:i,list:()=>t.slice(),reset:s}}function of(t,i,s,a,r){const e=a&&(a.enterCallbacks[r]=a.enterCallbacks[r]||[]);return()=>new Promise((d,y)=>{const _=A=>{A===!1?y(Ld(4,{from:s,to:i})):A instanceof Error?y(A):iS(A)?y(Ld(2,{from:i,to:A})):(e&&a.enterCallbacks[r]===e&&typeof A=="function"&&e.push(A),d())},E=t.call(a&&a.instances[r],i,s,_);let x=Promise.resolve(E);t.length<3&&(x=x.then(_)),x.catch(A=>y(A))})}function Bb(t,i,s,a){const r=[];for(const e of t)for(const d in e.components){let y=e.components[d];if(!(i!=="beforeRouteEnter"&&!e.instances[d]))if(IS(y)){const E=(y.__vccOpts||y)[i];E&&r.push(of(E,s,a,e,d))}else{let _=y();r.push(()=>_.then(E=>{if(!E)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${e.path}"`));const x=H8(E)?E.default:E;e.components[d]=x;const R=(x.__vccOpts||x)[i];return R&&of(R,s,a,e,d)()}))}}return r}function IS(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function U3(t){const i=va(rv),s=va(M_),a=mn(()=>i.resolve(vr(t.to))),r=mn(()=>{const{matched:_}=a.value,{length:E}=_,x=_[E-1],A=s.matched;if(!x||!A.length)return-1;const R=A.findIndex(Nd.bind(null,x));if(R>-1)return R;const L=$3(_[E-2]);return E>1&&$3(x)===L&&A[A.length-1].path!==L?A.findIndex(Nd.bind(null,_[E-2])):R}),e=mn(()=>r.value>-1&&BS(s.params,a.value.params)),d=mn(()=>r.value>-1&&r.value===s.matched.length-1&&EF(s.params,a.value.params));function y(_={}){return LS(_)?i[vr(t.replace)?"replace":"push"](vr(t.to)).catch(_p):Promise.resolve()}return{route:a,href:mn(()=>a.value.href),isActive:e,isExactActive:d,navigate:y}}const NS=ds({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:U3,setup(t,{slots:i}){const s=_f(U3(t)),{options:a}=va(rv),r=mn(()=>({[H3(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[H3(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const e=i.default&&i.default(s);return t.custom?e:uh("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},e)}}}),MS=NS;function LS(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const i=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return t.preventDefault&&t.preventDefault(),!0}}function BS(t,i){for(const s in i){const a=i[s],r=t[s];if(typeof a=="string"){if(a!==r)return!1}else if(!bl(r)||r.length!==a.length||a.some((e,d)=>e!==r[d]))return!1}return!0}function $3(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const H3=(t,i,s)=>t??i??s,US=ds({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:i,slots:s}){const a=va(Ty),r=mn(()=>t.route||a.value),e=va(B3,0),d=mn(()=>{let E=vr(e);const{matched:x}=r.value;let A;for(;(A=x[E])&&!A.components;)E++;return E}),y=mn(()=>r.value.matched[d.value]);pp(B3,mn(()=>d.value+1)),pp(PS,y),pp(Ty,r);const _=dr();return Qn(()=>[_.value,y.value,t.name],([E,x,A],[R,L,B])=>{x&&(x.instances[A]=E,L&&L!==x&&E&&E===R&&(x.leaveGuards.size||(x.leaveGuards=L.leaveGuards),x.updateGuards.size||(x.updateGuards=L.updateGuards))),E&&x&&(!L||!Nd(x,L)||!R)&&(x.enterCallbacks[A]||[]).forEach(I=>I(E))},{flush:"post"}),()=>{const E=r.value,x=t.name,A=y.value,R=A&&A.components[x];if(!R)return W3(s.default,{Component:R,route:E});const L=A.props[x],B=L?L===!0?E.params:typeof L=="function"?L(E):L:null,G=uh(R,Gn({},B,i,{onVnodeUnmounted:z=>{z.component.isUnmounted&&(A.instances[x]=null)},ref:_}));return W3(s.default,{Component:G,route:E})||G}}});function W3(t,i){if(!t)return null;const s=t(i);return s.length===1?s[0]:s}const $S=US;function HS(t){const i=pS(t.routes,t),s=t.parseQuery||OS,a=t.stringifyQuery||L3,r=t.history,e=ip(),d=ip(),y=ip(),_=Fd(Zu);let E=Zu;md&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const x=Nb.bind(null,se=>""+se),A=Nb.bind(null,kS),R=Nb.bind(null,c2);function L(se,He){let pe,it;return TF(se)?(pe=i.getRecordMatcher(se),it=He):it=se,i.addRoute(it,pe)}function B(se){const He=i.getRecordMatcher(se);He&&i.removeRoute(He)}function I(){return i.getRoutes().map(se=>se.record)}function G(se){return!!i.getRecordMatcher(se)}function z(se,He){if(He=Gn({},He||_.value),typeof se=="string"){const he=Mb(s,se,He.path),Ue=i.resolve({path:he.path},He),Le=r.createHref(he.fullPath);return Gn(he,Ue,{params:R(Ue.params),hash:c2(he.hash),redirectedFrom:void 0,href:Le})}let pe;if("path"in se)pe=Gn({},se,{path:Mb(s,se.path,He.path).path});else{const he=Gn({},se.params);for(const Ue in he)he[Ue]==null&&delete he[Ue];pe=Gn({},se,{params:A(he)}),He.params=A(He.params)}const it=i.resolve(pe,He),kt=se.hash||"";it.params=x(R(it.params));const ne=j8(a,Gn({},se,{hash:TS(kt),path:it.path})),le=r.createHref(ne);return Gn({fullPath:ne,hash:kt,query:a===L3?RS(se.query):se.query||{}},it,{redirectedFrom:void 0,href:le})}function Q(se){return typeof se=="string"?Mb(s,se,_.value.path):Gn({},se)}function ce(se,He){if(E!==se)return Ld(8,{from:He,to:se})}function Y(se){return ie(se)}function V(se){return Y(Gn(Q(se),{replace:!0}))}function Z(se){const He=se.matched[se.matched.length-1];if(He&&He.redirect){const{redirect:pe}=He;let it=typeof pe=="function"?pe(se):pe;return typeof it=="string"&&(it=it.includes("?")||it.includes("#")?it=Q(it):{path:it},it.params={}),Gn({query:se.query,hash:se.hash,params:"path"in it?{}:se.params},it)}}function ie(se,He){const pe=E=z(se),it=_.value,kt=se.state,ne=se.force,le=se.replace===!0,he=Z(pe);if(he)return ie(Gn(Q(he),{state:typeof he=="object"?Gn({},kt,he.state):kt,force:ne,replace:le}),He||pe);const Ue=pe;Ue.redirectedFrom=He;let Le;return!ne&&V8(a,it,pe)&&(Le=Ld(16,{to:Ue,from:it}),de(it,it,!0,!1)),(Le?Promise.resolve(Le):te(Ue,it)).catch(et=>Mc(et)?Mc(et,2)?et:Je(et):lt(et,Ue,it)).then(et=>{if(et){if(Mc(et,2))return ie(Gn({replace:le},Q(et.to),{state:typeof et.to=="object"?Gn({},kt,et.to.state):kt,force:ne}),He||Ue)}else et=Ee(Ue,it,!0,le,kt);return fe(Ue,it,et),et})}function U(se,He){const pe=ce(se,He);return pe?Promise.reject(pe):Promise.resolve()}function H(se){const He=We.values().next().value;return He&&typeof He.runWithContext=="function"?He.runWithContext(se):se()}function te(se,He){let pe;const[it,kt,ne]=WS(se,He);pe=Bb(it.reverse(),"beforeRouteLeave",se,He);for(const he of it)he.leaveGuards.forEach(Ue=>{pe.push(of(Ue,se,He))});const le=U.bind(null,se,He);return pe.push(le),Be(pe).then(()=>{pe=[];for(const he of e.list())pe.push(of(he,se,He));return pe.push(le),Be(pe)}).then(()=>{pe=Bb(kt,"beforeRouteUpdate",se,He);for(const he of kt)he.updateGuards.forEach(Ue=>{pe.push(of(Ue,se,He))});return pe.push(le),Be(pe)}).then(()=>{pe=[];for(const he of ne)if(he.beforeEnter)if(bl(he.beforeEnter))for(const Ue of he.beforeEnter)pe.push(of(Ue,se,He));else pe.push(of(he.beforeEnter,se,He));return pe.push(le),Be(pe)}).then(()=>(se.matched.forEach(he=>he.enterCallbacks={}),pe=Bb(ne,"beforeRouteEnter",se,He),pe.push(le),Be(pe))).then(()=>{pe=[];for(const he of d.list())pe.push(of(he,se,He));return pe.push(le),Be(pe)}).catch(he=>Mc(he,8)?he:Promise.reject(he))}function fe(se,He,pe){y.list().forEach(it=>H(()=>it(se,He,pe)))}function Ee(se,He,pe,it,kt){const ne=ce(se,He);if(ne)return ne;const le=He===Zu,he=md?history.state:{};pe&&(it||le?r.replace(se.fullPath,Gn({scroll:le&&he&&he.scroll},kt)):r.push(se.fullPath,kt)),_.value=se,de(se,He,pe,le),Je()}let ye;function be(){ye||(ye=r.listen((se,He,pe)=>{if(!xe.listening)return;const it=z(se),kt=Z(it);if(kt){ie(Gn(kt,{replace:!0}),it).catch(_p);return}E=it;const ne=_.value;md&&X8(S3(ne.fullPath,pe.delta),tv()),te(it,ne).catch(le=>Mc(le,12)?le:Mc(le,2)?(ie(le.to,it).then(he=>{Mc(he,20)&&!pe.delta&&pe.type===Md.pop&&r.go(-1,!1)}).catch(_p),Promise.reject()):(pe.delta&&r.go(-pe.delta,!1),lt(le,it,ne))).then(le=>{le=le||Ee(it,ne,!1),le&&(pe.delta&&!Mc(le,8)?r.go(-pe.delta,!1):pe.type===Md.pop&&Mc(le,20)&&r.go(-1,!1)),fe(it,ne,le)}).catch(_p)}))}let $e=ip(),je=ip(),Fe;function lt(se,He,pe){Je(se);const it=je.list();return it.length?it.forEach(kt=>kt(se,He,pe)):console.error(se),Promise.reject(se)}function Xe(){return Fe&&_.value!==Zu?Promise.resolve():new Promise((se,He)=>{$e.add([se,He])})}function Je(se){return Fe||(Fe=!se,be(),$e.list().forEach(([He,pe])=>se?pe(se):He()),$e.reset()),se}function de(se,He,pe,it){const{scrollBehavior:kt}=t;if(!md||!kt)return Promise.resolve();const ne=!pe&&J8(S3(se.fullPath,0))||(it||!pe)&&history.state&&history.state.scroll||null;return Ql().then(()=>kt(se,He,ne)).then(le=>le&&Q8(le)).catch(le=>lt(le,se,He))}const Se=se=>r.go(se);let rt;const We=new Set,xe={currentRoute:_,listening:!0,addRoute:L,removeRoute:B,hasRoute:G,getRoutes:I,resolve:z,options:t,push:Y,replace:V,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:e.add,beforeResolve:d.add,afterEach:y.add,onError:je.add,isReady:Xe,install(se){const He=this;se.component("RouterLink",MS),se.component("RouterView",$S),se.config.globalProperties.$router=He,Object.defineProperty(se.config.globalProperties,"$route",{enumerable:!0,get:()=>vr(_)}),md&&!rt&&_.value===Zu&&(rt=!0,Y(r.location).catch(kt=>{}));const pe={};for(const kt in Zu)Object.defineProperty(pe,kt,{get:()=>_.value[kt],enumerable:!0});se.provide(rv,He),se.provide(M_,s_(pe)),se.provide(Ty,_);const it=se.unmount;We.add(se),se.unmount=function(){We.delete(se),We.size<1&&(E=Zu,ye&&ye(),ye=null,_.value=Zu,rt=!1,Fe=!1),it()}}};function Be(se){return se.reduce((He,pe)=>He.then(()=>H(pe)),Promise.resolve())}return xe}function WS(t,i){const s=[],a=[],r=[],e=Math.max(i.matched.length,t.matched.length);for(let d=0;d<e;d++){const y=i.matched[d];y&&(t.matched.find(E=>Nd(E,y))?a.push(y):s.push(y));const _=t.matched[d];_&&(i.matched.find(E=>Nd(E,_))||r.push(_))}return[s,a,r]}function zS(){return va(rv)}function jS(){return va(M_)}function Ay(t,i={},s){for(const a in t){const r=t[a],e=s?`${s}:${a}`:a;typeof r=="object"&&r!==null?Ay(r,i,e):typeof r=="function"&&(i[e]=r)}return i}const VS={run:t=>t()},GS=()=>VS,NF=typeof console.createTask<"u"?console.createTask:GS;function YS(t,i){const s=i.shift(),a=NF(s);return t.reduce((r,e)=>r.then(()=>a.run(()=>e(...i))),Promise.resolve())}function qS(t,i){const s=i.shift(),a=NF(s);return Promise.all(t.map(r=>a.run(()=>r(...i))))}function Ub(t,i){for(const s of[...t])s(i)}class KS{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(i,s,a={}){if(!i||typeof s!="function")return()=>{};const r=i;let e;for(;this._deprecatedHooks[i];)e=this._deprecatedHooks[i],i=e.to;if(e&&!a.allowDeprecated){let d=e.message;d||(d=`${r} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(d)||(console.warn(d),this._deprecatedMessages.add(d))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+i.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[i]=this._hooks[i]||[],this._hooks[i].push(s),()=>{s&&(this.removeHook(i,s),s=void 0)}}hookOnce(i,s){let a,r=(...e)=>(typeof a=="function"&&a(),a=void 0,r=void 0,s(...e));return a=this.hook(i,r),a}removeHook(i,s){if(this._hooks[i]){const a=this._hooks[i].indexOf(s);a!==-1&&this._hooks[i].splice(a,1),this._hooks[i].length===0&&delete this._hooks[i]}}deprecateHook(i,s){this._deprecatedHooks[i]=typeof s=="string"?{to:s}:s;const a=this._hooks[i]||[];delete this._hooks[i];for(const r of a)this.hook(i,r)}deprecateHooks(i){Object.assign(this._deprecatedHooks,i);for(const s in i)this.deprecateHook(s,i[s])}addHooks(i){const s=Ay(i),a=Object.keys(s).map(r=>this.hook(r,s[r]));return()=>{for(const r of a.splice(0,a.length))r()}}removeHooks(i){const s=Ay(i);for(const a in s)this.removeHook(a,s[a])}removeAllHooks(){for(const i in this._hooks)delete this._hooks[i]}callHook(i,...s){return s.unshift(i),this.callHookWith(YS,i,...s)}callHookParallel(i,...s){return s.unshift(i),this.callHookWith(qS,i,...s)}callHookWith(i,s,...a){const r=this._before||this._after?{name:s,args:a,context:{}}:void 0;this._before&&Ub(this._before,r);const e=i(s in this._hooks?[...this._hooks[s]]:[],a);return e instanceof Promise?e.finally(()=>{this._after&&r&&Ub(this._after,r)}):(this._after&&r&&Ub(this._after,r),e)}beforeEach(i){return this._before=this._before||[],this._before.push(i),()=>{if(this._before!==void 0){const s=this._before.indexOf(i);s!==-1&&this._before.splice(s,1)}}}afterEach(i){return this._after=this._after||[],this._after.push(i),()=>{if(this._after!==void 0){const s=this._after.indexOf(i);s!==-1&&this._after.splice(s,1)}}}}function QS(){return new KS}function XS(t){return Array.isArray(t)?t:[t]}const JS=["title","titleTemplate","script","style","noscript"],Gm=["base","meta","link","style","script","noscript"],ZS=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],ek=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],MF=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],tk=typeof window<"u";function LF(t){let i=9;for(let s=0;s<t.length;)i=Math.imul(i^t.charCodeAt(s++),9**9);return((i^i>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function z3(t){return t._h||LF(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([i,s])=>`${i}:${String(s)}`).join(",")}`)}function BF(t,i){const{props:s,tag:a}=t;if(ek.includes(a))return a;if(a==="link"&&s.rel==="canonical")return"canonical";if(s.charset)return"charset";const r=["id"];a==="meta"&&r.push("name","property","http-equiv");for(const e of r)if(typeof s[e]<"u"){const d=String(s[e]);return i&&!i(d)?!1:`${a}:${e}:${d}`}return!1}function j3(t,i){return t==null?i||null:typeof t=="function"?t(i):t}async function rk(t,i,s){const a={tag:t,props:await UF(typeof i=="object"&&typeof i!="function"&&!(i instanceof Promise)?{...i}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:i},["templateParams","titleTemplate"].includes(t))};return MF.forEach(r=>{const e=typeof a.props[r]<"u"?a.props[r]:s[r];typeof e<"u"&&((!["innerHTML","textContent"].includes(r)||JS.includes(a.tag))&&(a[r]=e),delete a.props[r])}),a.props.body&&(a.tagPosition="bodyClose",delete a.props.body),a.props.children&&(a.innerHTML=a.props.children,delete a.props.children),a.tag==="script"&&(typeof a.innerHTML=="object"&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),a.innerHTML&&["application/ld+json","application/json"].includes(a.props.type)&&(a.innerHTML=a.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(a.props.content)?a.props.content.map(r=>({...a,props:{...a.props,content:r}})):a}function nk(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(i=>t[i])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(i=>i.trim()).filter(Boolean).join(" ")}async function UF(t,i){for(const s of Object.keys(t)){if(s==="class"){t[s]=nk(t[s]);continue}if(t[s]instanceof Promise&&(t[s]=await t[s]),!i&&!MF.includes(s)){const a=String(t[s]),r=s.startsWith("data-");a==="true"||a===""?t[s]=r?"true":!0:t[s]||(r&&a==="false"?t[s]="false":delete t[s])}}return t}const ik=10;async function sk(t){const i=[];return Object.entries(t.resolvedInput).filter(([s,a])=>typeof a<"u"&&ZS.includes(s)).forEach(([s,a])=>{const r=XS(a);i.push(...r.map(e=>rk(s,e,t)).flat())}),(await Promise.all(i)).flat().filter(Boolean).map((s,a)=>(s._e=t._i,t.mode&&(s._m=t.mode),s._p=(t._i<<ik)+a,s))}const V3={base:-10,title:10},G3={critical:-80,high:-10,low:20};function u2(t){let i=100;const s=t.tagPriority;return typeof s=="number"?s:(t.tag==="meta"?(t.props["http-equiv"]==="content-security-policy"&&(i=-30),t.props.charset&&(i=-20),t.props.name==="viewport"&&(i=-15)):t.tag==="link"&&t.props.rel==="preconnect"?i=20:t.tag in V3&&(i=V3[t.tag]),typeof s=="string"&&s in G3?i+G3[s]:i)}const ak=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ef="%separator";function H0(t,i,s){if(typeof t!="string"||!t.includes("%"))return t;function a(d){let y;return["s","pageTitle"].includes(d)?y=i.pageTitle:d.includes(".")?y=d.split(".").reduce((_,E)=>_&&_[E]||void 0,i):y=i[d],typeof y<"u"?(y||"").replace(/"/g,'\\"'):!1}let r=t;try{r=decodeURI(t)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(d=>{const y=a(d.slice(1));typeof y=="string"&&(t=t.replace(new RegExp(`\\${d}(\\W|$)`,"g"),(_,E)=>`${y}${E}`).trim())}),t.includes(ef)&&(t.endsWith(ef)&&(t=t.slice(0,-ef.length).trim()),t.startsWith(ef)&&(t=t.slice(ef.length).trim()),t=t.replace(new RegExp(`\\${ef}\\s*\\${ef}`,"g"),ef),t=H0(t,{separator:s},s)),t}async function ok(t){const i={tag:t.tagName.toLowerCase(),props:await UF(t.getAttributeNames().reduce((s,a)=>({...s,[a]:t.getAttribute(a)}),{})),innerHTML:t.innerHTML};return i._d=BF(i),i}async function lk(t,i={}){var x;const s=i.document||t.resolvedOptions.document;if(!s)return;const a={shouldRender:t.dirty,tags:[]};if(await t.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const r=(await t.resolveTags()).map(A=>({tag:A,id:Gm.includes(A.tag)?z3(A):A.tag,shouldRender:!0}));let e=t._dom;if(!e){e={elMap:{htmlAttrs:s.documentElement,bodyAttrs:s.body}};for(const A of["body","head"]){const R=(x=s==null?void 0:s[A])==null?void 0:x.children;for(const L of[...R].filter(B=>Gm.includes(B.tagName.toLowerCase())))e.elMap[L.getAttribute("data-hid")||z3(await ok(L))]=L}}e.pendingSideEffects={...e.sideEffects||{}},e.sideEffects={};function d(A,R,L){const B=`${A}:${R}`;e.sideEffects[B]=L,delete e.pendingSideEffects[B]}function y({id:A,$el:R,tag:L}){const B=L.tag.endsWith("Attrs");e.elMap[A]=R,B||(["textContent","innerHTML"].forEach(I=>{L[I]&&L[I]!==R[I]&&(R[I]=L[I])}),d(A,"el",()=>{e.elMap[A].remove(),delete e.elMap[A]})),Object.entries(L.props).forEach(([I,G])=>{const z=`attr:${I}`;if(I==="class")for(const Q of(G||"").split(" ").filter(Boolean))B&&d(A,`${z}:${Q}`,()=>R.classList.remove(Q)),!R.classList.contains(Q)&&R.classList.add(Q);else R.getAttribute(I)!==G&&R.setAttribute(I,G===!0?"":String(G)),B&&d(A,z,()=>R.removeAttribute(I))})}const _=[],E={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const A of r){const{tag:R,shouldRender:L,id:B}=A;if(L){if(R.tag==="title"){s.title=R.textContent;continue}A.$el=A.$el||e.elMap[B],A.$el?y(A):Gm.includes(R.tag)&&_.push(A)}}for(const A of _){const R=A.tag.tagPosition||"head";A.$el=s.createElement(A.tag.tag),y(A),E[R]=E[R]||s.createDocumentFragment(),E[R].appendChild(A.$el)}for(const A of r)await t.hooks.callHook("dom:renderTag",A,s,d);E.head&&s.head.appendChild(E.head),E.bodyOpen&&s.body.insertBefore(E.bodyOpen,s.body.firstChild),E.bodyClose&&s.body.appendChild(E.bodyClose),Object.values(e.pendingSideEffects).forEach(A=>A()),t._dom=e,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:r})}async function ck(t,i={}){const s=i.delayFn||(a=>setTimeout(a,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(a=>s(async()=>{await lk(t,i),delete t._domUpdatePromise,a()}))}function uk(t){return i=>{var a,r;const s=((r=(a=i.resolvedOptions.document)==null?void 0:a.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return s&&i.push(JSON.parse(s)),{mode:"client",hooks:{"entries:updated":function(e){ck(e,t)}}}}}const fk=["templateParams","htmlAttrs","bodyAttrs"],hk={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(a=>{t.props[a]&&(t.key=t.props[a],delete t.props[a])});const s=BF(t)||(t.key?`${t.tag}:${t.key}`:!1);s&&(t._d=s)},"tags:resolve":function(t){const i={};t.tags.forEach(a=>{const r=(a.key?`${a.tag}:${a.key}`:a._d)||a._p,e=i[r];if(e){let y=a==null?void 0:a.tagDuplicateStrategy;if(!y&&fk.includes(a.tag)&&(y="merge"),y==="merge"){const _=e.props;["class","style"].forEach(E=>{a.props[E]&&_[E]&&(E==="style"&&!_[E].endsWith(";")&&(_[E]+=";"),a.props[E]=`${_[E]} ${a.props[E]}`)}),i[r].props={..._,...a.props};return}else if(a._e===e._e){e._duped=e._duped||[],a._d=`${e._d}:${e._duped.length+1}`,e._duped.push(a);return}else if(u2(a)>u2(e))return}const d=Object.keys(a.props).length+(a.innerHTML?1:0)+(a.textContent?1:0);if(Gm.includes(a.tag)&&d===0){delete i[r];return}i[r]=a});const s=[];Object.values(i).forEach(a=>{const r=a._duped;delete a._duped,s.push(a),r&&s.push(...r)}),t.tags=s,t.tags=t.tags.filter(a=>!(a.tag==="meta"&&(a.props.name||a.props.property)&&!a.props.content))}}},dk={mode:"server",hooks:{"tags:resolve":function(t){const i={};t.tags.filter(s=>["titleTemplate","templateParams","title"].includes(s.tag)&&s._m==="server").forEach(s=>{i[s.tag]=s.tag.startsWith("title")?s.textContent:s.props}),Object.keys(i).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(i),props:{id:"unhead:payload",type:"application/json"}})}}},Y3=["script","link","bodyAttrs"];function q3(t){const i={},s={};return Object.entries(t.props).forEach(([a,r])=>{a.startsWith("on")&&typeof r=="function"?s[a]=r:i[a]=r}),{props:i,eventHandlers:s}}const pk={hooks:{"ssr:render":function(t){t.tags=t.tags.map(i=>(!Y3.includes(i.tag)||!Object.entries(i.props).find(([s,a])=>s.startsWith("on")&&typeof a=="function")||(i.props=q3(i).props),i))},"tags:resolve":function(t){t.tags=t.tags.map(i=>{if(!Y3.includes(i.tag))return i;const{props:s,eventHandlers:a}=q3(i);return Object.keys(a).length&&(i.props=s,i._eventHandlers=a),i})},"dom:renderTag":function(t,i,s){if(!t.tag._eventHandlers)return;const a=t.tag.tag==="bodyAttrs"?i.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([r,e])=>{const d=`${t.tag._d||t.tag._p}:${r}`,y=r.slice(2).toLowerCase(),_=`data-h-${y}`;if(s(t.id,d,()=>{}),t.$el.hasAttribute(_))return;const E=e;t.$el.setAttribute(_,""),a.addEventListener(y,E),t.entry&&s(t.id,d,()=>{a.removeEventListener(y,E),t.$el.removeAttribute(_)})})}}},gk=["link","style","script","noscript"],mk={hooks:{"tag:normalise":({tag:t})=>{t.key&&gk.includes(t.tag)&&(t.props["data-hid"]=t._h=LF(t.key))}}},vk={hooks:{"tags:resolve":t=>{const i=s=>{var a;return(a=t.tags.find(r=>r._d===s))==null?void 0:a._p};for(const{prefix:s,offset:a}of ak)for(const r of t.tags.filter(e=>typeof e.tagPriority=="string"&&e.tagPriority.startsWith(s))){const e=i(r.tagPriority.replace(s,""));typeof e<"u"&&(r._p=e+a)}t.tags.sort((s,a)=>s._p-a._p).sort((s,a)=>u2(s)-u2(a))}}},bk={hooks:{"tags:resolve":t=>{var d;const{tags:i}=t,s=(d=i.find(y=>y.tag==="title"))==null?void 0:d.textContent,a=i.findIndex(y=>y.tag==="templateParams"),r=a!==-1?i[a].props:{},e=r.separator||"|";delete r.separator,r.pageTitle=H0(r.pageTitle||s||"",r,e);for(const y of i)y.processTemplateParams!==!1&&(["titleTemplate","title"].includes(y.tag)&&typeof y.textContent=="string"?y.textContent=H0(y.textContent,r,e):y.tag==="meta"&&typeof y.props.content=="string"?y.props.content=H0(y.props.content,r,e):y.tag==="link"&&typeof y.props.href=="string"?y.props.href=H0(y.props.href,r,e):y.processTemplateParams===!0&&(y.innerHTML?y.innerHTML=H0(y.innerHTML,r,e):y.textContent&&(y.textContent=H0(y.textContent,r,e))));t.tags=i.filter(y=>y.tag!=="templateParams")}}},yk={hooks:{"tags:resolve":t=>{const{tags:i}=t;let s=i.findIndex(r=>r.tag==="titleTemplate");const a=i.findIndex(r=>r.tag==="title");if(a!==-1&&s!==-1){const r=j3(i[s].textContent,i[a].textContent);r!==null?i[a].textContent=r||i[a].textContent:delete i[a]}else if(s!==-1){const r=j3(i[s].textContent);r!==null&&(i[s].textContent=r,i[s].tag="title",s=-1)}s!==-1&&delete i[s],t.tags=i.filter(Boolean)}}};function _k(t={}){const i=wk(t);return i.use(uk()),i}function K3(t,i){return!t||t==="server"&&i||t==="client"&&!i}function wk(t={}){const i=QS();i.addHooks(t.hooks||{}),t.document=t.document||(tk?document:void 0);const s=!t.document;t.plugins=[hk,dk,pk,mk,vk,bk,yk,...(t==null?void 0:t.plugins)||[]];const a=()=>{d.dirty=!0,i.callHook("entries:updated",d)};let r=0,e=[];const d={dirty:!1,resolvedOptions:t,hooks:i,headEntries(){return e},use(y){const _=typeof y=="function"?y(d):y;K3(_.mode,s)&&i.addHooks(_.hooks||{})},push(y,_){_==null||delete _.head;const E={_i:r++,input:y,..._};return K3(E.mode,s)&&(e.push(E),a()),{dispose(){e=e.filter(x=>x._i!==E._i),i.callHook("entries:updated",d),a()},patch(x){e=e.map(A=>(A._i===E._i&&(A.input=E.input=x),A)),a()}}},async resolveTags(){const y={tags:[],entries:[...e]};await i.callHook("entries:resolve",y);for(const _ of y.entries){const E=_.resolvedInput||_.input;if(_.resolvedInput=await(_.transform?_.transform(E):E),_.resolvedInput)for(const x of await sk(_)){const A={tag:x,entry:_,resolvedOptions:d.resolvedOptions};await i.callHook("tag:normalise",A),y.tags.push(A.tag)}}return await i.callHook("tags:beforeResolve",y),await i.callHook("tags:resolve",y),y.tags},ssr:s};return t.plugins.forEach(y=>d.use(y)),d.hooks.callHook("init",d),d}const Dk=A_.startsWith("3");function Ek(t){return typeof t=="function"?t():vr(t)}function Sy(t,i=""){if(t instanceof Promise)return t;const s=Ek(t);return!t||!s?s:Array.isArray(s)?s.map(a=>Sy(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,vr(r)]:[a,Sy(r,a)])):s}const Fk={hooks:{"entries:resolve":function(t){for(const i of t.entries)i.resolvedInput=Sy(i.input)}}},xk="usehead";function Ck(t){return{install(s){Dk&&(s.config.globalProperties.$unhead=t,s.config.globalProperties.$head=t,s.provide(xk,t))}}.install}function Tk(t={}){t.domDelayFn=t.domDelayFn||(s=>Ql(()=>setTimeout(()=>s(),0)));const i=_k(t);return i.use(Fk),i.install=Ck(i),i}function Ak(t){try{return JSON.parse(t||"{}")}catch(i){return console.error("[SSG] On state deserialization -",i,t),{}}}function Sk(t){return document.readyState==="loading"?new Promise(i=>{document.addEventListener("DOMContentLoaded",()=>i(t))}):Promise.resolve(t)}const kk=ds({setup(t,{slots:i}){const s=dr(!1);return yl(()=>s.value=!0),()=>s.value?i.default&&i.default({}):i.placeholder&&i.placeholder({})}});function Ok(t,i,s,a={}){const{transformState:r,registerComponents:e=!0,useHead:d=!0,rootContainer:y="#app"}=a,_=typeof window<"u";async function E(x=!1,A){const R=x?R_(t):aF(t);let L;d&&(L=Tk(),R.use(L));const B=HS({history:x?rS(i.base):nS(i.base),...i}),{routes:I}=i;e&&R.component("ClientOnly",kk);const G=[],ce={app:R,head:L,isClient:_,router:B,routes:I,onSSRAppRendered:x?()=>{}:ie=>G.push(ie),triggerOnSSRAppRendered:()=>Promise.all(G.map(ie=>ie())),initialState:{},transformState:r,routePath:A};x&&(await Sk(),ce.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||Ak(window.__INITIAL_STATE__)),await(s==null?void 0:s(ce)),R.use(B);let Y,V=!0;if(B.beforeEach((ie,U,H)=>{(V||Y&&Y===ie.path)&&(V=!1,Y=ie.path,ie.meta.state=ce.initialState),H()}),!x){const ie=ce.routePath??"/";B.push(ie),await B.isReady(),ce.initialState=B.currentRoute.value.meta.state||{}}const Z=ce.initialState;return{...ce,initialState:Z}}return _&&(async()=>{const{app:x,router:A}=await E(!0);await A.isReady(),x.mount(y,!0)})(),E}var Rk=function(){function t(i,s){s===void 0&&(s=[]),this._eventType=i,this._eventFunctions=s}return t.prototype.init=function(){var i=this;this._eventFunctions.forEach(function(s){typeof window<"u"&&window.addEventListener(i._eventType,s)})},t}(),f2=globalThis&&globalThis.__assign||function(){return f2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},f2.apply(this,arguments)},h2={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},$F=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=h2),this._items=i,this._options=f2(f2({},h2),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&this._items.map(function(s){s.active&&i.open(s.id),s.triggerEl.addEventListener("click",function(){i.toggle(s.id)})})},t.prototype.getItem=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.open=function(i){var s,a,r=this,e=this.getItem(i);this._options.alwaysOpen||this._items.map(function(d){var y,_;d!==e&&((y=d.triggerEl.classList).remove.apply(y,r._options.activeClasses.split(" ")),(_=d.triggerEl.classList).add.apply(_,r._options.inactiveClasses.split(" ")),d.targetEl.classList.add("hidden"),d.triggerEl.setAttribute("aria-expanded","false"),d.active=!1,d.iconEl&&d.iconEl.classList.remove("rotate-180"))}),(s=e.triggerEl.classList).add.apply(s,this._options.activeClasses.split(" ")),(a=e.triggerEl.classList).remove.apply(a,this._options.inactiveClasses.split(" ")),e.triggerEl.setAttribute("aria-expanded","true"),e.targetEl.classList.remove("hidden"),e.active=!0,e.iconEl&&e.iconEl.classList.add("rotate-180"),this._options.onOpen(this,e)},t.prototype.toggle=function(i){var s=this.getItem(i);s.active?this.close(i):this.open(i),this._options.onToggle(this,s)},t.prototype.close=function(i){var s,a,r=this.getItem(i);(s=r.triggerEl.classList).remove.apply(s,this._options.activeClasses.split(" ")),(a=r.triggerEl.classList).add.apply(a,this._options.inactiveClasses.split(" ")),r.targetEl.classList.add("hidden"),r.triggerEl.setAttribute("aria-expanded","false"),r.active=!1,r.iconEl&&r.iconEl.classList.remove("rotate-180"),this._options.onClose(this,r)},t}();function L_(){document.querySelectorAll("[data-accordion]").forEach(function(t){var i=t.getAttribute("data-accordion"),s=t.getAttribute("data-active-classes"),a=t.getAttribute("data-inactive-classes"),r=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var d={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),iconEl:e.querySelector("[data-accordion-icon]"),active:e.getAttribute("aria-expanded")==="true"};r.push(d)}}),new $F(r,{alwaysOpen:i==="open",activeClasses:s||h2.activeClasses,inactiveClasses:a||h2.inactiveClasses})})}typeof window<"u"&&(window.Accordion=$F,window.initAccordions=L_);var d2=globalThis&&globalThis.__assign||function(){return d2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},d2.apply(this,arguments)},Q3={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},HF=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Q3),this._targetEl=i,this._triggerEl=s,this._options=d2(d2({},Q3),a),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){i.toggle()}))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function B_(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var i=t.getAttribute("data-collapse-toggle"),s=document.getElementById(i);s?new HF(s,t):console.error('The target element with id "'.concat(i,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=HF,window.initCollapses=B_);var V0=globalThis&&globalThis.__assign||function(){return V0=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},V0.apply(this,arguments)},Ym={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},WF=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=Ym),this._items=i,this._options=V0(V0(V0({},Ym),s),{indicators:V0(V0({},Ym.indicators),s.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return t.prototype._init=function(){var i=this;this._items.map(function(s){s.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(s,a){s.el.addEventListener("click",function(){i.slideTo(a)})})},t.prototype.getItem=function(i){return this._items[i]},t.prototype.slideTo=function(i){var s=this._items[i],a={left:s.position===0?this._items[this._items.length-1]:this._items[s.position-1],middle:s,right:s.position===this._items.length-1?this._items[0]:this._items[s.position+1]};this._rotate(a),this._setActiveItem(s),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var i=this._getActiveItem(),s=null;i.position===this._items.length-1?s=this._items[0]:s=this._items[i.position+1],this.slideTo(s.position),this._options.onNext(this)},t.prototype.prev=function(){var i=this._getActiveItem(),s=null;i.position===0?s=this._items[this._items.length-1]:s=this._items[i.position-1],this.slideTo(s.position),this._options.onPrev(this)},t.prototype._rotate=function(i){this._items.map(function(s){s.el.classList.add("hidden")}),i.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.left.el.classList.add("-translate-x-full","z-10"),i.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),i.middle.el.classList.add("translate-x-0","z-20"),i.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var i=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){i.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(i){var s,a,r=this;this._activeItem=i;var e=i.position;this._indicators.length&&(this._indicators.map(function(d){var y,_;d.el.setAttribute("aria-current","false"),(y=d.el.classList).remove.apply(y,r._options.indicators.activeClasses.split(" ")),(_=d.el.classList).add.apply(_,r._options.indicators.inactiveClasses.split(" "))}),(s=this._indicators[e].el.classList).add.apply(s,this._options.indicators.activeClasses.split(" ")),(a=this._indicators[e].el.classList).remove.apply(a,this._options.indicators.inactiveClasses.split(" ")),this._indicators[e].el.setAttribute("aria-current","true"))},t}();function U_(){document.querySelectorAll("[data-carousel]").forEach(function(t){var i=t.getAttribute("data-carousel-interval"),s=t.getAttribute("data-carousel")==="slide",a=[],r=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(E,x){a.push({position:x,el:E}),E.getAttribute("data-carousel-item")==="active"&&(r=x)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(E){e.push({position:parseInt(E.getAttribute("data-carousel-slide-to")),el:E})});var d=new WF(a,{defaultPosition:r,indicators:{items:e},interval:i||Ym.interval});s&&d.cycle();var y=t.querySelector("[data-carousel-next]"),_=t.querySelector("[data-carousel-prev]");y&&y.addEventListener("click",function(){d.next()}),_&&_.addEventListener("click",function(){d.prev()})})}typeof window<"u"&&(window.Carousel=WF,window.initCarousels=U_);var p2=globalThis&&globalThis.__assign||function(){return p2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},p2.apply(this,arguments)},X3={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},zF=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=X3),this._targetEl=i,this._triggerEl=s,this._options=p2(p2({},X3),a),this._init()}return t.prototype._init=function(){var i=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){i.hide()})},t.prototype.hide=function(){var i=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){i._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function $_(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var i=t.getAttribute("data-dismiss-target"),s=document.querySelector(i);s?new zF(s,t):console.error('The dismiss element with id "'.concat(i,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=zF,window.initDismisses=$_);var Ba="top",Ro="bottom",Po="right",Ua="left",H_="auto",tg=[Ba,Ro,Po,Ua],Bd="start",Hp="end",Pk="clippingParents",jF="viewport",sp="popper",Ik="reference",J3=tg.reduce(function(t,i){return t.concat([i+"-"+Bd,i+"-"+Hp])},[]),VF=[].concat(tg,[H_]).reduce(function(t,i){return t.concat([i,i+"-"+Bd,i+"-"+Hp])},[]),Nk="beforeRead",Mk="read",Lk="afterRead",Bk="beforeMain",Uk="main",$k="afterMain",Hk="beforeWrite",Wk="write",zk="afterWrite",jk=[Nk,Mk,Lk,Bk,Uk,$k,Hk,Wk,zk];function Yl(t){return t?(t.nodeName||"").toLowerCase():null}function lo(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var i=t.ownerDocument;return i&&i.defaultView||window}return t}function ih(t){var i=lo(t).Element;return t instanceof i||t instanceof Element}function ko(t){var i=lo(t).HTMLElement;return t instanceof i||t instanceof HTMLElement}function W_(t){if(typeof ShadowRoot>"u")return!1;var i=lo(t).ShadowRoot;return t instanceof i||t instanceof ShadowRoot}function Vk(t){var i=t.state;Object.keys(i.elements).forEach(function(s){var a=i.styles[s]||{},r=i.attributes[s]||{},e=i.elements[s];!ko(e)||!Yl(e)||(Object.assign(e.style,a),Object.keys(r).forEach(function(d){var y=r[d];y===!1?e.removeAttribute(d):e.setAttribute(d,y===!0?"":y)}))})}function Gk(t){var i=t.state,s={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,s.popper),i.styles=s,i.elements.arrow&&Object.assign(i.elements.arrow.style,s.arrow),function(){Object.keys(i.elements).forEach(function(a){var r=i.elements[a],e=i.attributes[a]||{},d=Object.keys(i.styles.hasOwnProperty(a)?i.styles[a]:s[a]),y=d.reduce(function(_,E){return _[E]="",_},{});!ko(r)||!Yl(r)||(Object.assign(r.style,y),Object.keys(e).forEach(function(_){r.removeAttribute(_)}))})}}const Yk={name:"applyStyles",enabled:!0,phase:"write",fn:Vk,effect:Gk,requires:["computeStyles"]};function zl(t){return t.split("-")[0]}var Z0=Math.max,g2=Math.min,Ud=Math.round;function ky(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function GF(){return!/^((?!chrome|android).)*safari/i.test(ky())}function $d(t,i,s){i===void 0&&(i=!1),s===void 0&&(s=!1);var a=t.getBoundingClientRect(),r=1,e=1;i&&ko(t)&&(r=t.offsetWidth>0&&Ud(a.width)/t.offsetWidth||1,e=t.offsetHeight>0&&Ud(a.height)/t.offsetHeight||1);var d=ih(t)?lo(t):window,y=d.visualViewport,_=!GF()&&s,E=(a.left+(_&&y?y.offsetLeft:0))/r,x=(a.top+(_&&y?y.offsetTop:0))/e,A=a.width/r,R=a.height/e;return{width:A,height:R,top:x,right:E+A,bottom:x+R,left:E,x:E,y:x}}function z_(t){var i=$d(t),s=t.offsetWidth,a=t.offsetHeight;return Math.abs(i.width-s)<=1&&(s=i.width),Math.abs(i.height-a)<=1&&(a=i.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:a}}function YF(t,i){var s=i.getRootNode&&i.getRootNode();if(t.contains(i))return!0;if(s&&W_(s)){var a=i;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Gc(t){return lo(t).getComputedStyle(t)}function qk(t){return["table","td","th"].indexOf(Yl(t))>=0}function Af(t){return((ih(t)?t.ownerDocument:t.document)||window.document).documentElement}function nv(t){return Yl(t)==="html"?t:t.assignedSlot||t.parentNode||(W_(t)?t.host:null)||Af(t)}function Z3(t){return!ko(t)||Gc(t).position==="fixed"?null:t.offsetParent}function Kk(t){var i=/firefox/i.test(ky()),s=/Trident/i.test(ky());if(s&&ko(t)){var a=Gc(t);if(a.position==="fixed")return null}var r=nv(t);for(W_(r)&&(r=r.host);ko(r)&&["html","body"].indexOf(Yl(r))<0;){var e=Gc(r);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||i&&e.willChange==="filter"||i&&e.filter&&e.filter!=="none")return r;r=r.parentNode}return null}function rg(t){for(var i=lo(t),s=Z3(t);s&&qk(s)&&Gc(s).position==="static";)s=Z3(s);return s&&(Yl(s)==="html"||Yl(s)==="body"&&Gc(s).position==="static")?i:s||Kk(t)||i}function j_(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function wp(t,i,s){return Z0(t,g2(i,s))}function Qk(t,i,s){var a=wp(t,i,s);return a>s?s:a}function qF(){return{top:0,right:0,bottom:0,left:0}}function KF(t){return Object.assign({},qF(),t)}function QF(t,i){return i.reduce(function(s,a){return s[a]=t,s},{})}var Xk=function(i,s){return i=typeof i=="function"?i(Object.assign({},s.rects,{placement:s.placement})):i,KF(typeof i!="number"?i:QF(i,tg))};function Jk(t){var i,s=t.state,a=t.name,r=t.options,e=s.elements.arrow,d=s.modifiersData.popperOffsets,y=zl(s.placement),_=j_(y),E=[Ua,Po].indexOf(y)>=0,x=E?"height":"width";if(!(!e||!d)){var A=Xk(r.padding,s),R=z_(e),L=_==="y"?Ba:Ua,B=_==="y"?Ro:Po,I=s.rects.reference[x]+s.rects.reference[_]-d[_]-s.rects.popper[x],G=d[_]-s.rects.reference[_],z=rg(e),Q=z?_==="y"?z.clientHeight||0:z.clientWidth||0:0,ce=I/2-G/2,Y=A[L],V=Q-R[x]-A[B],Z=Q/2-R[x]/2+ce,ie=wp(Y,Z,V),U=_;s.modifiersData[a]=(i={},i[U]=ie,i.centerOffset=ie-Z,i)}}function Zk(t){var i=t.state,s=t.options,a=s.element,r=a===void 0?"[data-popper-arrow]":a;r!=null&&(typeof r=="string"&&(r=i.elements.popper.querySelector(r),!r)||YF(i.elements.popper,r)&&(i.elements.arrow=r))}const e7={name:"arrow",enabled:!0,phase:"main",fn:Jk,effect:Zk,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hd(t){return t.split("-")[1]}var t7={top:"auto",right:"auto",bottom:"auto",left:"auto"};function r7(t,i){var s=t.x,a=t.y,r=i.devicePixelRatio||1;return{x:Ud(s*r)/r||0,y:Ud(a*r)/r||0}}function ew(t){var i,s=t.popper,a=t.popperRect,r=t.placement,e=t.variation,d=t.offsets,y=t.position,_=t.gpuAcceleration,E=t.adaptive,x=t.roundOffsets,A=t.isFixed,R=d.x,L=R===void 0?0:R,B=d.y,I=B===void 0?0:B,G=typeof x=="function"?x({x:L,y:I}):{x:L,y:I};L=G.x,I=G.y;var z=d.hasOwnProperty("x"),Q=d.hasOwnProperty("y"),ce=Ua,Y=Ba,V=window;if(E){var Z=rg(s),ie="clientHeight",U="clientWidth";if(Z===lo(s)&&(Z=Af(s),Gc(Z).position!=="static"&&y==="absolute"&&(ie="scrollHeight",U="scrollWidth")),Z=Z,r===Ba||(r===Ua||r===Po)&&e===Hp){Y=Ro;var H=A&&Z===V&&V.visualViewport?V.visualViewport.height:Z[ie];I-=H-a.height,I*=_?1:-1}if(r===Ua||(r===Ba||r===Ro)&&e===Hp){ce=Po;var te=A&&Z===V&&V.visualViewport?V.visualViewport.width:Z[U];L-=te-a.width,L*=_?1:-1}}var fe=Object.assign({position:y},E&&t7),Ee=x===!0?r7({x:L,y:I},lo(s)):{x:L,y:I};if(L=Ee.x,I=Ee.y,_){var ye;return Object.assign({},fe,(ye={},ye[Y]=Q?"0":"",ye[ce]=z?"0":"",ye.transform=(V.devicePixelRatio||1)<=1?"translate("+L+"px, "+I+"px)":"translate3d("+L+"px, "+I+"px, 0)",ye))}return Object.assign({},fe,(i={},i[Y]=Q?I+"px":"",i[ce]=z?L+"px":"",i.transform="",i))}function n7(t){var i=t.state,s=t.options,a=s.gpuAcceleration,r=a===void 0?!0:a,e=s.adaptive,d=e===void 0?!0:e,y=s.roundOffsets,_=y===void 0?!0:y,E={placement:zl(i.placement),variation:Hd(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:r,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,ew(Object.assign({},E,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:d,roundOffsets:_})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,ew(Object.assign({},E,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:_})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const i7={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:n7,data:{}};var Om={passive:!0};function s7(t){var i=t.state,s=t.instance,a=t.options,r=a.scroll,e=r===void 0?!0:r,d=a.resize,y=d===void 0?!0:d,_=lo(i.elements.popper),E=[].concat(i.scrollParents.reference,i.scrollParents.popper);return e&&E.forEach(function(x){x.addEventListener("scroll",s.update,Om)}),y&&_.addEventListener("resize",s.update,Om),function(){e&&E.forEach(function(x){x.removeEventListener("scroll",s.update,Om)}),y&&_.removeEventListener("resize",s.update,Om)}}const a7={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:s7,data:{}};var o7={left:"right",right:"left",bottom:"top",top:"bottom"};function qm(t){return t.replace(/left|right|bottom|top/g,function(i){return o7[i]})}var l7={start:"end",end:"start"};function tw(t){return t.replace(/start|end/g,function(i){return l7[i]})}function V_(t){var i=lo(t),s=i.pageXOffset,a=i.pageYOffset;return{scrollLeft:s,scrollTop:a}}function G_(t){return $d(Af(t)).left+V_(t).scrollLeft}function c7(t,i){var s=lo(t),a=Af(t),r=s.visualViewport,e=a.clientWidth,d=a.clientHeight,y=0,_=0;if(r){e=r.width,d=r.height;var E=GF();(E||!E&&i==="fixed")&&(y=r.offsetLeft,_=r.offsetTop)}return{width:e,height:d,x:y+G_(t),y:_}}function u7(t){var i,s=Af(t),a=V_(t),r=(i=t.ownerDocument)==null?void 0:i.body,e=Z0(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),d=Z0(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),y=-a.scrollLeft+G_(t),_=-a.scrollTop;return Gc(r||s).direction==="rtl"&&(y+=Z0(s.clientWidth,r?r.clientWidth:0)-e),{width:e,height:d,x:y,y:_}}function Y_(t){var i=Gc(t),s=i.overflow,a=i.overflowX,r=i.overflowY;return/auto|scroll|overlay|hidden/.test(s+r+a)}function XF(t){return["html","body","#document"].indexOf(Yl(t))>=0?t.ownerDocument.body:ko(t)&&Y_(t)?t:XF(nv(t))}function Dp(t,i){var s;i===void 0&&(i=[]);var a=XF(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=lo(a),d=r?[e].concat(e.visualViewport||[],Y_(a)?a:[]):a,y=i.concat(d);return r?y:y.concat(Dp(nv(d)))}function Oy(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function f7(t,i){var s=$d(t,!1,i==="fixed");return s.top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s}function rw(t,i,s){return i===jF?Oy(c7(t,s)):ih(i)?f7(i,s):Oy(u7(Af(t)))}function h7(t){var i=Dp(nv(t)),s=["absolute","fixed"].indexOf(Gc(t).position)>=0,a=s&&ko(t)?rg(t):t;return ih(a)?i.filter(function(r){return ih(r)&&YF(r,a)&&Yl(r)!=="body"}):[]}function d7(t,i,s,a){var r=i==="clippingParents"?h7(t):[].concat(i),e=[].concat(r,[s]),d=e[0],y=e.reduce(function(_,E){var x=rw(t,E,a);return _.top=Z0(x.top,_.top),_.right=g2(x.right,_.right),_.bottom=g2(x.bottom,_.bottom),_.left=Z0(x.left,_.left),_},rw(t,d,a));return y.width=y.right-y.left,y.height=y.bottom-y.top,y.x=y.left,y.y=y.top,y}function JF(t){var i=t.reference,s=t.element,a=t.placement,r=a?zl(a):null,e=a?Hd(a):null,d=i.x+i.width/2-s.width/2,y=i.y+i.height/2-s.height/2,_;switch(r){case Ba:_={x:d,y:i.y-s.height};break;case Ro:_={x:d,y:i.y+i.height};break;case Po:_={x:i.x+i.width,y};break;case Ua:_={x:i.x-s.width,y};break;default:_={x:i.x,y:i.y}}var E=r?j_(r):null;if(E!=null){var x=E==="y"?"height":"width";switch(e){case Bd:_[E]=_[E]-(i[x]/2-s[x]/2);break;case Hp:_[E]=_[E]+(i[x]/2-s[x]/2);break}}return _}function Wp(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=a===void 0?t.placement:a,e=s.strategy,d=e===void 0?t.strategy:e,y=s.boundary,_=y===void 0?Pk:y,E=s.rootBoundary,x=E===void 0?jF:E,A=s.elementContext,R=A===void 0?sp:A,L=s.altBoundary,B=L===void 0?!1:L,I=s.padding,G=I===void 0?0:I,z=KF(typeof G!="number"?G:QF(G,tg)),Q=R===sp?Ik:sp,ce=t.rects.popper,Y=t.elements[B?Q:R],V=d7(ih(Y)?Y:Y.contextElement||Af(t.elements.popper),_,x,d),Z=$d(t.elements.reference),ie=JF({reference:Z,element:ce,strategy:"absolute",placement:r}),U=Oy(Object.assign({},ce,ie)),H=R===sp?U:Z,te={top:V.top-H.top+z.top,bottom:H.bottom-V.bottom+z.bottom,left:V.left-H.left+z.left,right:H.right-V.right+z.right},fe=t.modifiersData.offset;if(R===sp&&fe){var Ee=fe[r];Object.keys(te).forEach(function(ye){var be=[Po,Ro].indexOf(ye)>=0?1:-1,$e=[Ba,Ro].indexOf(ye)>=0?"y":"x";te[ye]+=Ee[$e]*be})}return te}function p7(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=s.boundary,e=s.rootBoundary,d=s.padding,y=s.flipVariations,_=s.allowedAutoPlacements,E=_===void 0?VF:_,x=Hd(a),A=x?y?J3:J3.filter(function(B){return Hd(B)===x}):tg,R=A.filter(function(B){return E.indexOf(B)>=0});R.length===0&&(R=A);var L=R.reduce(function(B,I){return B[I]=Wp(t,{placement:I,boundary:r,rootBoundary:e,padding:d})[zl(I)],B},{});return Object.keys(L).sort(function(B,I){return L[B]-L[I]})}function g7(t){if(zl(t)===H_)return[];var i=qm(t);return[tw(t),i,tw(i)]}function m7(t){var i=t.state,s=t.options,a=t.name;if(!i.modifiersData[a]._skip){for(var r=s.mainAxis,e=r===void 0?!0:r,d=s.altAxis,y=d===void 0?!0:d,_=s.fallbackPlacements,E=s.padding,x=s.boundary,A=s.rootBoundary,R=s.altBoundary,L=s.flipVariations,B=L===void 0?!0:L,I=s.allowedAutoPlacements,G=i.options.placement,z=zl(G),Q=z===G,ce=_||(Q||!B?[qm(G)]:g7(G)),Y=[G].concat(ce).reduce(function(We,xe){return We.concat(zl(xe)===H_?p7(i,{placement:xe,boundary:x,rootBoundary:A,padding:E,flipVariations:B,allowedAutoPlacements:I}):xe)},[]),V=i.rects.reference,Z=i.rects.popper,ie=new Map,U=!0,H=Y[0],te=0;te<Y.length;te++){var fe=Y[te],Ee=zl(fe),ye=Hd(fe)===Bd,be=[Ba,Ro].indexOf(Ee)>=0,$e=be?"width":"height",je=Wp(i,{placement:fe,boundary:x,rootBoundary:A,altBoundary:R,padding:E}),Fe=be?ye?Po:Ua:ye?Ro:Ba;V[$e]>Z[$e]&&(Fe=qm(Fe));var lt=qm(Fe),Xe=[];if(e&&Xe.push(je[Ee]<=0),y&&Xe.push(je[Fe]<=0,je[lt]<=0),Xe.every(function(We){return We})){H=fe,U=!1;break}ie.set(fe,Xe)}if(U)for(var Je=B?3:1,de=function(xe){var Be=Y.find(function(se){var He=ie.get(se);if(He)return He.slice(0,xe).every(function(pe){return pe})});if(Be)return H=Be,"break"},Se=Je;Se>0;Se--){var rt=de(Se);if(rt==="break")break}i.placement!==H&&(i.modifiersData[a]._skip=!0,i.placement=H,i.reset=!0)}}const v7={name:"flip",enabled:!0,phase:"main",fn:m7,requiresIfExists:["offset"],data:{_skip:!1}};function nw(t,i,s){return s===void 0&&(s={x:0,y:0}),{top:t.top-i.height-s.y,right:t.right-i.width+s.x,bottom:t.bottom-i.height+s.y,left:t.left-i.width-s.x}}function iw(t){return[Ba,Po,Ro,Ua].some(function(i){return t[i]>=0})}function b7(t){var i=t.state,s=t.name,a=i.rects.reference,r=i.rects.popper,e=i.modifiersData.preventOverflow,d=Wp(i,{elementContext:"reference"}),y=Wp(i,{altBoundary:!0}),_=nw(d,a),E=nw(y,r,e),x=iw(_),A=iw(E);i.modifiersData[s]={referenceClippingOffsets:_,popperEscapeOffsets:E,isReferenceHidden:x,hasPopperEscaped:A},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":x,"data-popper-escaped":A})}const y7={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:b7};function _7(t,i,s){var a=zl(t),r=[Ua,Ba].indexOf(a)>=0?-1:1,e=typeof s=="function"?s(Object.assign({},i,{placement:t})):s,d=e[0],y=e[1];return d=d||0,y=(y||0)*r,[Ua,Po].indexOf(a)>=0?{x:y,y:d}:{x:d,y}}function w7(t){var i=t.state,s=t.options,a=t.name,r=s.offset,e=r===void 0?[0,0]:r,d=VF.reduce(function(x,A){return x[A]=_7(A,i.rects,e),x},{}),y=d[i.placement],_=y.x,E=y.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=_,i.modifiersData.popperOffsets.y+=E),i.modifiersData[a]=d}const D7={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:w7};function E7(t){var i=t.state,s=t.name;i.modifiersData[s]=JF({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}const F7={name:"popperOffsets",enabled:!0,phase:"read",fn:E7,data:{}};function x7(t){return t==="x"?"y":"x"}function C7(t){var i=t.state,s=t.options,a=t.name,r=s.mainAxis,e=r===void 0?!0:r,d=s.altAxis,y=d===void 0?!1:d,_=s.boundary,E=s.rootBoundary,x=s.altBoundary,A=s.padding,R=s.tether,L=R===void 0?!0:R,B=s.tetherOffset,I=B===void 0?0:B,G=Wp(i,{boundary:_,rootBoundary:E,padding:A,altBoundary:x}),z=zl(i.placement),Q=Hd(i.placement),ce=!Q,Y=j_(z),V=x7(Y),Z=i.modifiersData.popperOffsets,ie=i.rects.reference,U=i.rects.popper,H=typeof I=="function"?I(Object.assign({},i.rects,{placement:i.placement})):I,te=typeof H=="number"?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),fe=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Ee={x:0,y:0};if(Z){if(e){var ye,be=Y==="y"?Ba:Ua,$e=Y==="y"?Ro:Po,je=Y==="y"?"height":"width",Fe=Z[Y],lt=Fe+G[be],Xe=Fe-G[$e],Je=L?-U[je]/2:0,de=Q===Bd?ie[je]:U[je],Se=Q===Bd?-U[je]:-ie[je],rt=i.elements.arrow,We=L&&rt?z_(rt):{width:0,height:0},xe=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:qF(),Be=xe[be],se=xe[$e],He=wp(0,ie[je],We[je]),pe=ce?ie[je]/2-Je-He-Be-te.mainAxis:de-He-Be-te.mainAxis,it=ce?-ie[je]/2+Je+He+se+te.mainAxis:Se+He+se+te.mainAxis,kt=i.elements.arrow&&rg(i.elements.arrow),ne=kt?Y==="y"?kt.clientTop||0:kt.clientLeft||0:0,le=(ye=fe==null?void 0:fe[Y])!=null?ye:0,he=Fe+pe-le-ne,Ue=Fe+it-le,Le=wp(L?g2(lt,he):lt,Fe,L?Z0(Xe,Ue):Xe);Z[Y]=Le,Ee[Y]=Le-Fe}if(y){var et,xt=Y==="x"?Ba:Ua,bt=Y==="x"?Ro:Po,mt=Z[V],Ke=V==="y"?"height":"width",Ae=mt+G[xt],Re=mt-G[bt],Rt=[Ba,Ua].indexOf(z)!==-1,_t=(et=fe==null?void 0:fe[V])!=null?et:0,nr=Rt?Ae:mt-ie[Ke]-U[Ke]-_t+te.altAxis,fr=Rt?mt+ie[Ke]+U[Ke]-_t-te.altAxis:Re,ir=L&&Rt?Qk(nr,mt,fr):wp(L?nr:Ae,mt,L?fr:Re);Z[V]=ir,Ee[V]=ir-mt}i.modifiersData[a]=Ee}}const T7={name:"preventOverflow",enabled:!0,phase:"main",fn:C7,requiresIfExists:["offset"]};function A7(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function S7(t){return t===lo(t)||!ko(t)?V_(t):A7(t)}function k7(t){var i=t.getBoundingClientRect(),s=Ud(i.width)/t.offsetWidth||1,a=Ud(i.height)/t.offsetHeight||1;return s!==1||a!==1}function O7(t,i,s){s===void 0&&(s=!1);var a=ko(i),r=ko(i)&&k7(i),e=Af(i),d=$d(t,r,s),y={scrollLeft:0,scrollTop:0},_={x:0,y:0};return(a||!a&&!s)&&((Yl(i)!=="body"||Y_(e))&&(y=S7(i)),ko(i)?(_=$d(i,!0),_.x+=i.clientLeft,_.y+=i.clientTop):e&&(_.x=G_(e))),{x:d.left+y.scrollLeft-_.x,y:d.top+y.scrollTop-_.y,width:d.width,height:d.height}}function R7(t){var i=new Map,s=new Set,a=[];t.forEach(function(e){i.set(e.name,e)});function r(e){s.add(e.name);var d=[].concat(e.requires||[],e.requiresIfExists||[]);d.forEach(function(y){if(!s.has(y)){var _=i.get(y);_&&r(_)}}),a.push(e)}return t.forEach(function(e){s.has(e.name)||r(e)}),a}function P7(t){var i=R7(t);return jk.reduce(function(s,a){return s.concat(i.filter(function(r){return r.phase===a}))},[])}function I7(t){var i;return function(){return i||(i=new Promise(function(s){Promise.resolve().then(function(){i=void 0,s(t())})})),i}}function N7(t){var i=t.reduce(function(s,a){var r=s[a.name];return s[a.name]=r?Object.assign({},r,a,{options:Object.assign({},r.options,a.options),data:Object.assign({},r.data,a.data)}):a,s},{});return Object.keys(i).map(function(s){return i[s]})}var sw={placement:"bottom",modifiers:[],strategy:"absolute"};function aw(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return!i.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function M7(t){t===void 0&&(t={});var i=t,s=i.defaultModifiers,a=s===void 0?[]:s,r=i.defaultOptions,e=r===void 0?sw:r;return function(y,_,E){E===void 0&&(E=e);var x={placement:"bottom",orderedModifiers:[],options:Object.assign({},sw,e),modifiersData:{},elements:{reference:y,popper:_},attributes:{},styles:{}},A=[],R=!1,L={state:x,setOptions:function(z){var Q=typeof z=="function"?z(x.options):z;I(),x.options=Object.assign({},e,x.options,Q),x.scrollParents={reference:ih(y)?Dp(y):y.contextElement?Dp(y.contextElement):[],popper:Dp(_)};var ce=P7(N7([].concat(a,x.options.modifiers)));return x.orderedModifiers=ce.filter(function(Y){return Y.enabled}),B(),L.update()},forceUpdate:function(){if(!R){var z=x.elements,Q=z.reference,ce=z.popper;if(aw(Q,ce)){x.rects={reference:O7(Q,rg(ce),x.options.strategy==="fixed"),popper:z_(ce)},x.reset=!1,x.placement=x.options.placement,x.orderedModifiers.forEach(function(te){return x.modifiersData[te.name]=Object.assign({},te.data)});for(var Y=0;Y<x.orderedModifiers.length;Y++){if(x.reset===!0){x.reset=!1,Y=-1;continue}var V=x.orderedModifiers[Y],Z=V.fn,ie=V.options,U=ie===void 0?{}:ie,H=V.name;typeof Z=="function"&&(x=Z({state:x,options:U,name:H,instance:L})||x)}}}},update:I7(function(){return new Promise(function(G){L.forceUpdate(),G(x)})}),destroy:function(){I(),R=!0}};if(!aw(y,_))return L;L.setOptions(E).then(function(G){!R&&E.onFirstUpdate&&E.onFirstUpdate(G)});function B(){x.orderedModifiers.forEach(function(G){var z=G.name,Q=G.options,ce=Q===void 0?{}:Q,Y=G.effect;if(typeof Y=="function"){var V=Y({state:x,name:z,instance:L,options:ce}),Z=function(){};A.push(V||Z)}})}function I(){A.forEach(function(G){return G()}),A=[]}return L}}var L7=[a7,F7,i7,Yk,D7,v7,T7,e7,y7],q_=M7({defaultModifiers:L7}),lf=globalThis&&globalThis.__assign||function(){return lf=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},lf.apply(this,arguments)},Rm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},cf={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},ZF=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=cf),this._targetEl=i,this._triggerEl=s,this._options=lf(lf({},cf),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();this._options.triggerType==="click"&&s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.toggle()})}),this._options.triggerType==="hover"&&(s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){a==="click"?i.toggle():setTimeout(function(){i.show()},i._options.delay)}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},i._options.delay)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},i._options.delay)})}))},t.prototype._createPopperInstance=function(){return q_(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target,r=this._options.ignoreClickOutsideClass,e=!1;if(r){var d=document.querySelectorAll(".".concat(r));d.forEach(function(y){if(y.contains(a)){e=!0;return}})}a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&!e&&this.isVisible()&&this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(i){return lf(lf({},i),{modifiers:Rm(Rm([],i.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(i){return lf(lf({},i),{modifiers:Rm(Rm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function K_(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var i=t.getAttribute("data-dropdown-toggle"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-dropdown-placement"),r=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),d=t.getAttribute("data-dropdown-trigger"),y=t.getAttribute("data-dropdown-delay"),_=t.getAttribute("data-dropdown-ignore-click-outside-class");new ZF(s,t,{placement:a||cf.placement,triggerType:d||cf.triggerType,offsetSkidding:r?parseInt(r):cf.offsetSkidding,offsetDistance:e?parseInt(e):cf.offsetDistance,delay:y?parseInt(y):cf.delay,ignoreClickOutsideClass:_||cf.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(i,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=ZF,window.initDropdowns=K_);var m2=globalThis&&globalThis.__assign||function(){return m2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},m2.apply(this,arguments)},yd={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},Ry=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=yd),this._targetEl=i,this._options=m2(m2({},yd),s),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&this._getPlacementClasses().map(function(s){i._targetEl.classList.add(s)})},t.prototype._createBackdrop=function(){var i;if(this._isHidden){var s=document.createElement("div");s.setAttribute("modal-backdrop",""),(i=s.classList).add.apply(i,this._options.backdropClasses.split(" ")),document.querySelector("body").append(s),this._backdropEl=s}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var i=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(s){i._handleOutsideClick(s.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(i){(i===this._targetEl||i===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),Pm=function(t,i){return i.some(function(s){return s.id===t})?i.find(function(s){return s.id===t}):null};function Q_(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(i){var s=i.getAttribute("data-modal-target"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop");Pm(s,t)||t.push({id:s,object:new Ry(a,{placement:r||yd.placement,backdrop:e||yd.backdrop})})}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(i){var s=i.getAttribute("data-modal-toggle"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop"),d=Pm(s,t);d||(d={id:s,object:new Ry(a,{placement:r||yd.placement,backdrop:e||yd.backdrop})},t.push(d)),i.addEventListener("click",function(){d.object.toggle()})}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(i){var s=i.getAttribute("data-modal-show"),a=document.getElementById(s);if(a){var r=Pm(s,t);r?i.addEventListener("click",function(){r.object.isHidden&&r.object.show()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(i){var s=i.getAttribute("data-modal-hide"),a=document.getElementById(s);if(a){var r=Pm(s,t);r?i.addEventListener("click",function(){r.object.isVisible&&r.object.hide()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=Ry,window.initModals=Q_);var v2=globalThis&&globalThis.__assign||function(){return v2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},v2.apply(this,arguments)},G0={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},e6=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=G0),this._targetEl=i,this._options=v2(v2({},G0),s),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(s){i._targetEl.classList.add(s)}),document.addEventListener("keydown",function(s){s.key==="Escape"&&i.isVisible()&&i.hide()})},t.prototype.hide=function(){var i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.add(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._targetEl.classList.add(s)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.remove(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._targetEl.classList.remove(s)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var i,s=this;if(!this._visible){var a=document.createElement("div");a.setAttribute("drawer-backdrop",""),(i=a.classList).add.apply(i,this._options.backdropClasses.split(" ")),document.querySelector("body").append(a),a.addEventListener("click",function(){s.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(i){switch(i){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),Im=function(t,i){if(i.some(function(s){return s.id===t}))return i.find(function(s){return s.id===t})};function X_(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(i){var s=i.getAttribute("data-drawer-target"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-drawer-placement"),e=i.getAttribute("data-drawer-body-scrolling"),d=i.getAttribute("data-drawer-backdrop"),y=i.getAttribute("data-drawer-edge"),_=i.getAttribute("data-drawer-edge-offset");Im(s,t)||t.push({id:s,object:new e6(a,{placement:r||G0.placement,bodyScrolling:e?e==="true":G0.bodyScrolling,backdrop:d?d==="true":G0.backdrop,edge:y?y==="true":G0.edge,edgeOffset:_||G0.edgeOffset})})}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(i){var s=i.getAttribute("data-drawer-toggle"),a=document.getElementById(s);if(a){var r=Im(s,t);r?i.addEventListener("click",function(){r.object.toggle()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(i){var s=i.getAttribute("data-drawer-dismiss")?i.getAttribute("data-drawer-dismiss"):i.getAttribute("data-drawer-hide"),a=document.getElementById(s);if(a){var r=Im(s,t);r?i.addEventListener("click",function(){r.object.hide()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(i){var s=i.getAttribute("data-drawer-show"),a=document.getElementById(s);if(a){var r=Im(s,t);r?i.addEventListener("click",function(){r.object.show()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=e6,window.initDrawers=X_);var b2=globalThis&&globalThis.__assign||function(){return b2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},b2.apply(this,arguments)},ow={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},t6=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=ow),this._items=i,this._activeTab=s?this.getTab(s.defaultTabId):null,this._options=b2(b2({},ow),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(s){s.triggerEl.addEventListener("click",function(){i.show(s.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(i){this._activeTab=i},t.prototype.getTab=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.show=function(i,s){var a,r,e=this;s===void 0&&(s=!1);var d=this.getTab(i);d===this._activeTab&&!s||(this._items.map(function(y){var _,E;y!==d&&((_=y.triggerEl.classList).remove.apply(_,e._options.activeClasses.split(" ")),(E=y.triggerEl.classList).add.apply(E,e._options.inactiveClasses.split(" ")),y.targetEl.classList.add("hidden"),y.triggerEl.setAttribute("aria-selected","false"))}),(a=d.triggerEl.classList).add.apply(a,this._options.activeClasses.split(" ")),(r=d.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),d.triggerEl.setAttribute("aria-selected","true"),d.targetEl.classList.remove("hidden"),this._setActiveTab(d),this._options.onShow(this,d))},t}();function J_(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var i=[],s=null;t.querySelectorAll('[role="tab"]').forEach(function(a){var r=a.getAttribute("aria-selected")==="true",e={id:a.getAttribute("data-tabs-target"),triggerEl:a,targetEl:document.querySelector(a.getAttribute("data-tabs-target"))};i.push(e),r&&(s=e.id)}),new t6(i,{defaultTabId:s})})}typeof window<"u"&&(window.Tabs=t6,window.initTabs=J_);var uf=globalThis&&globalThis.__assign||function(){return uf=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},uf.apply(this,arguments)},Nm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},y2={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Z_=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=y2),this._targetEl=i,this._triggerEl=s,this._options=uf(uf({},y2),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.hide()})})},t.prototype._createPopperInstance=function(){return q_(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(i){return uf(uf({},i),{modifiers:Nm(Nm([],i.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(i){return uf(uf({},i),{modifiers:Nm(Nm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function e4(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var i=t.getAttribute("data-tooltip-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-tooltip-trigger"),r=t.getAttribute("data-tooltip-placement");new Z_(s,t,{placement:r||y2.placement,triggerType:a||y2.triggerType})}else console.error('The tooltip element with id "'.concat(i,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=Z_,window.initTooltips=e4);var ff=globalThis&&globalThis.__assign||function(){return ff=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},ff.apply(this,arguments)},Mm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},Ep={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},r6=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Ep),this._targetEl=i,this._triggerEl=s,this._options=ff(ff({},Ep),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},100)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},100)})})},t.prototype._createPopperInstance=function(){return q_(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(i){return ff(ff({},i),{modifiers:Mm(Mm([],i.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(i){return ff(ff({},i),{modifiers:Mm(Mm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function t4(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var i=t.getAttribute("data-popover-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-popover-trigger"),r=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new r6(s,t,{placement:r||Ep.placement,offset:e?parseInt(e):Ep.offset,triggerType:a||Ep.triggerType})}else console.error('The popover element with id "'.concat(i,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=r6,window.initPopovers=t4);var _2=globalThis&&globalThis.__assign||function(){return _2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},_2.apply(this,arguments)},Py={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},n6=function(){function t(i,s,a,r){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=null),r===void 0&&(r=Py),this._parentEl=i,this._triggerEl=s,this._targetEl=a,this._options=_2(_2({},Py),r),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;if(this._triggerEl){var s=this._getTriggerEventTypes(this._options.triggerType);s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._parentEl.addEventListener(a,function(){i._parentEl.matches(":hover")||i.hide()})})}},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this._visible?this.hide():this.show()},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype._getTriggerEventTypes=function(i){switch(i){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t}();function r4(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var i=t.querySelector("[data-dial-toggle]");if(i){var s=i.getAttribute("data-dial-toggle"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-dial-trigger");new n6(t,i,a,{triggerType:r||Py.triggerType})}else console.error("Dial with id ".concat(s," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}typeof window<"u"&&(window.Dial=n6,window.initDials=r4);function B7(){L_(),B_(),U_(),$_(),K_(),Q_(),X_(),J_(),e4(),t4(),r4()}typeof window<"u"&&(window.initFlowbite=B7);var U7=new Rk("load",[L_,B_,U_,$_,K_,Q_,X_,J_,e4,t4,r4]);U7.init();const $7=zt("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1),i6=ds({__name:"Tooltip",props:{placement:null},setup(t){const i=t,s=dr(null),a=dr(null),r=mn(()=>i.placement??"auto");return yl(()=>{if(s.value&&a.value){const e={placement:r.value,triggerType:"hover"};new Z_(s.value,a.value,e)}}),(e,d)=>(hn(),Yn("div",null,[zt("div",{ref_key:"tooltipTriggerEl",ref:a},[rh(e.$slots,"default")],512),zt("div",{ref_key:"tooltipTargetEl",ref:s,role:"tooltip",class:"tooltip inline-block absolute invisible px-3 py-2 transition-opacity duration-300 shadow-sm opacity-0","z-99999":"",rounded:"","text-base":"","text-white":"","font-medium":"","bg-gray-900":"","dark:bg-gray-700":""},[zt("div",null,[rh(e.$slots,"popper")]),$7],512)]))}}),H7="Board - XCPCIO",YN="Balloon - XCPCIO",qN="Countdown - XCPCIO",W7=mn(()=>window?window.CDN_HOST:""),z7=mn(()=>window?window.DATA_HOST:""),j7=mn(()=>window?window.DATA_REGION:""),V7="0.44.3",s6="https://github.com/xcpcio/xcpcio",G7="f96867ef12";var dl=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(dl||{}),$t=(t=>(t.PENDING="PENDING",t.WAITING="WAITING",t.PREPARING="PREPARING",t.COMPILING="COMPILING",t.RUNNING="RUNNING",t.JUDGING="JUDGING",t.FROZEN="FROZEN",t.ACCEPTED="ACCEPTED",t.CORRECT="CORRECT",t.PARTIALLY_CORRECT="PARTIALLY_CORRECT",t.REJECTED="REJECTED",t.WRONG_ANSWER="WRONG_ANSWER",t.NO_OUTPUT="NO_OUTPUT",t.COMPILATION_ERROR="COMPILATION_ERROR",t.PRESENTATION_ERROR="PRESENTATION_ERROR",t.RUNTIME_ERROR="RUNTIME_ERROR",t.TIME_LIMIT_EXCEEDED="TIME_LIMIT_EXCEEDED",t.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",t.OUTPUT_LIMIT_EXCEEDED="OUTPUT_LIMIT_EXCEEDED",t.IDLENESS_LIMIT_EXCEEDED="IDLENESS_LIMIT_EXCEEDED",t.HACKED="HACKED",t.JUDGEMENT_FAILED="JUDGEMENT_FAILED",t.CONFIGURATION_ERROR="CONFIGURATION_ERROR",t.FILE_ERROR="FILE_ERROR",t.SYSTEM_ERROR="SYSTEM_ERROR",t.CANCELED="CANCELED",t.SKIPPED="SKIPPED",t.SECURITY_VIOLATED="SECURITY_VIOLATED",t.DENIAL_OF_JUDGEMENT="DENIAL_OF_JUDGEMENT",t.UNKNOWN="UNKNOWN",t.UNDEFINED="UNDEFINED",t))($t||{});const KN={PENDING:"Pending",WAITING:"Waiting",PREPARING:"Preparing",COMPILING:"Compiling",RUNNING:"Running",JUDGING:"Judging",FROZEN:"Frozen",ACCEPTED:"Accepted",CORRECT:"Correct",PARTIALLY_CORRECT:"Partially Correct",REJECTED:"Rejected",WRONG_ANSWER:"Wrong Answer",NO_OUTPUT:"No Output",COMPILATION_ERROR:"Compilation Error",PRESENTATION_ERROR:"Presentation Error",RUNTIME_ERROR:"Runtime Error",TIME_LIMIT_EXCEEDED:"Time Limit Exceeded",MEMORY_LIMIT_EXCEEDED:"Memory Limit Exceeded",OUTPUT_LIMIT_EXCEEDED:"Output Limit Exceeded",IDLENESS_LIMIT_EXCEEDED:"Idleness Limit Exceeded",HACKED:"Hacked",JUDGEMENT_FAILED:"Judgement Failed",CONFIGURATION_ERROR:"Configuration Error",FILE_ERROR:"File Error",SYSTEM_ERROR:"System Error",CANCELED:"Canceled",SKIPPED:"Skipped",SECURITY_VIOLATED:"Security Violated",DENIAL_OF_JUDGEMENT:"Denial Of Judgement",UNKNOWN:"Unknown",UNDEFINED:"Undefined"},QN={PENDING:"PD",WAITING:"PD",PREPARING:"PD",COMPILING:"PD",RUNNING:"PD",JUDGING:"PD",FROZEN:"?",ACCEPTED:"AC",CORRECT:"AC",PARTIALLY_CORRECT:"RJ",REJECTED:"RJ",WRONG_ANSWER:"WA",NO_OUTPUT:"NO",COMPILATION_ERROR:"CE",PRESENTATION_ERROR:"PE",RUNTIME_ERROR:"RTE",TIME_LIMIT_EXCEEDED:"TLE",MEMORY_LIMIT_EXCEEDED:"MLE",OUTPUT_LIMIT_EXCEEDED:"OLE",IDLENESS_LIMIT_EXCEEDED:"ILE",HACKED:"RJ",JUDGEMENT_FAILED:"RJ",CONFIGURATION_ERROR:"RJ",FILE_ERROR:"RJ",SYSTEM_ERROR:"RJ",CANCELED:"RJ",SKIPPED:"RJ",SECURITY_VIOLATED:"RJ",DENIAL_OF_JUDGEMENT:"RJ",UNKNOWN:"RJ",UNDEFINED:"RJ"},Y7={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},q7={"text-center":"","w-full":""},K7=zt("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),Q7=zt("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1),X7={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},J7={"mr-4":"","md:mr-6":""},Z7=["href"],eO={flex:"","justify-center":"","items-start":"","flex-col":""},tO={"mr-4":"","md:mr-6":""},rO=zt("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1),nO={flex:"","justify-center":"","items-start":"","flex-col":""},iO={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},sO=ds({__name:"Footer",setup(t){return(i,s)=>{const a=vl("RouterLink"),r=i6;return hn(),Yn("footer",Y7,[zt("div",q7,[Yr(a,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:Es(()=>[K7,Wl(" Get more balloons ")]),_:1}),Q7,zt("ul",X7,[zt("li",null,[Yr(a,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:Es(()=>[Wl(" Home ")]),_:1})]),zt("li",null,[zt("div",J7,[Yr(r,null,{popper:Es(()=>[zt("div",eO,[zt("div",null,"Tag: "+rs(vr(V7)),1),zt("div",null,"Sha: "+rs(vr(G7)),1)])]),default:Es(()=>[zt("a",{href:vr(s6),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,Z7)]),_:1})])]),zt("li",null,[zt("div",tO,[Yr(r,null,{popper:Es(()=>[zt("div",nO,[zt("div",null,"CDN Host: "+rs("CDN_HOST"in i?i.CDN_HOST:vr(W7)),1),zt("div",null,"DATA Host: "+rs("DATA_HOST"in i?i.DATA_HOST:vr(z7)),1),zt("div",null,"Data Region: "+rs("DATA_REGION"in i?i.DATA_REGION:vr(j7)),1)])]),default:Es(()=>[rO]),_:1})])])]),zt("span",iO,[Wl("© 2020-PRESENT "),Yr(a,{to:"/","hover:underline":""},{default:Es(()=>[Wl("XCPCIO™")]),_:1}),Wl(". All Rights Reserved.")])])])}}});function ql(t){return M2()?(r_(t),!0):!1}function $b(){const t=new Set,i=r=>{t.delete(r)};return{on:r=>{t.add(r);const e=()=>i(r);return ql(e),{off:e}},off:i,trigger:r=>Promise.all(Array.from(t).map(e=>e(r)))}}function Ri(t){return typeof t=="function"?t():vr(t)}const Wd=typeof window<"u",aO=t=>typeof t<"u",oO=t=>t!=null,Td=()=>{};function lO(t,i){function s(...a){return new Promise((r,e)=>{Promise.resolve(t(()=>i.apply(this,a),{fn:i,thisArg:this,args:a})).then(r).catch(e)})}return s}const a6=t=>t();function cO(t=a6){const i=dr(!0);function s(){i.value=!1}function a(){i.value=!0}const r=(...e)=>{i.value&&t(...e)};return{isActive:oh(i),pause:s,resume:a,eventFilter:r}}function lw(t,i=!1,s="Timeout"){return new Promise((a,r)=>{setTimeout(i?()=>r(s):a,t)})}function uO(t,...i){return i.some(s=>s in t)}function Fp(...t){if(t.length!==1)return YD(...t);const i=t[0];return typeof i=="function"?oh(u_(()=>({get:i,set:Td}))):dr(i)}function fO(t,i=!0){Cs()?yl(t):i?t():Ql(t)}function Iy(t,i=!1){function s(A,{flush:R="sync",deep:L=!1,timeout:B,throwOnTimeout:I}={}){let G=null;const Q=[new Promise(ce=>{G=Qn(t,Y=>{A(Y)!==i&&(G==null||G(),ce(Y))},{flush:R,deep:L,immediate:!0})})];return B!=null&&Q.push(lw(B,I).then(()=>Ri(t)).finally(()=>G==null?void 0:G())),Promise.race(Q)}function a(A,R){if(!Ln(A))return s(Y=>Y===A,R);const{flush:L="sync",deep:B=!1,timeout:I,throwOnTimeout:G}=R??{};let z=null;const ce=[new Promise(Y=>{z=Qn([t,A],([V,Z])=>{i!==(V===Z)&&(z==null||z(),Y(V))},{flush:L,deep:B,immediate:!0})})];return I!=null&&ce.push(lw(I,G).then(()=>Ri(t)).finally(()=>(z==null||z(),Ri(t)))),Promise.race(ce)}function r(A){return s(R=>!!R,A)}function e(A){return a(null,A)}function d(A){return a(void 0,A)}function y(A){return s(Number.isNaN,A)}function _(A,R){return s(L=>{const B=Array.from(L);return B.includes(A)||B.includes(Ri(A))},R)}function E(A){return x(1,A)}function x(A=1,R){let L=-1;return s(()=>(L+=1,L>=A),R)}return Array.isArray(Ri(t))?{toMatch:s,toContains:_,changed:E,changedTimes:x,get not(){return Iy(t,!i)}}:{toMatch:s,toBe:a,toBeTruthy:r,toBeNull:e,toBeNaN:y,toBeUndefined:d,changed:E,changedTimes:x,get not(){return Iy(t,!i)}}}function hO(t){return Iy(t)}function dO(t,i=1e3,s={}){const{immediate:a=!0,immediateCallback:r=!1}=s;let e=null;const d=dr(!1);function y(){e&&(clearInterval(e),e=null)}function _(){d.value=!1,y()}function E(){const x=Ri(i);x<=0||(d.value=!0,r&&t(),y(),e=setInterval(t,x))}if(a&&Wd&&E(),Ln(i)||typeof i=="function"){const x=Qn(i,()=>{d.value&&Wd&&E()});ql(x)}return ql(_),{isActive:d,pause:_,resume:E}}function o6(t,i,s={}){const{immediate:a=!0}=s,r=dr(!1);let e=null;function d(){e&&(clearTimeout(e),e=null)}function y(){r.value=!1,d()}function _(...E){d(),r.value=!0,e=setTimeout(()=>{r.value=!1,e=null,t(...E)},Ri(i))}return a&&(r.value=!0,Wd&&_()),ql(y),{isPending:oh(r),start:_,stop:y}}function pO(t=!1,i={}){const{truthyValue:s=!0,falsyValue:a=!1}=i,r=Ln(t),e=dr(t);function d(y){if(arguments.length)return e.value=y,e.value;{const _=Ri(s);return e.value=e.value===_?Ri(a):_,e.value}}return r?d:[e,d]}var cw=Object.getOwnPropertySymbols,gO=Object.prototype.hasOwnProperty,mO=Object.prototype.propertyIsEnumerable,vO=(t,i)=>{var s={};for(var a in t)gO.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&cw)for(var a of cw(t))i.indexOf(a)<0&&mO.call(t,a)&&(s[a]=t[a]);return s};function bO(t,i,s={}){const a=s,{eventFilter:r=a6}=a,e=vO(a,["eventFilter"]);return Qn(t,lO(r,i),e)}var yO=Object.defineProperty,_O=Object.defineProperties,wO=Object.getOwnPropertyDescriptors,w2=Object.getOwnPropertySymbols,l6=Object.prototype.hasOwnProperty,c6=Object.prototype.propertyIsEnumerable,uw=(t,i,s)=>i in t?yO(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,DO=(t,i)=>{for(var s in i||(i={}))l6.call(i,s)&&uw(t,s,i[s]);if(w2)for(var s of w2(i))c6.call(i,s)&&uw(t,s,i[s]);return t},EO=(t,i)=>_O(t,wO(i)),FO=(t,i)=>{var s={};for(var a in t)l6.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&w2)for(var a of w2(t))i.indexOf(a)<0&&c6.call(t,a)&&(s[a]=t[a]);return s};function xO(t,i,s={}){const a=s,{eventFilter:r}=a,e=FO(a,["eventFilter"]),{eventFilter:d,pause:y,resume:_,isActive:E}=cO(r);return{stop:bO(t,i,EO(DO({},e),{eventFilter:d})),pause:y,resume:_,isActive:E}}function Ad(t){var i;const s=Ri(t);return(i=s==null?void 0:s.$el)!=null?i:s}const co=Wd?window:void 0,CO=Wd?window.document:void 0,TO=Wd?window.navigator:void 0;function $c(...t){let i,s,a,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,a,r]=t,i=co):[i,s,a,r]=t,!i)return Td;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const e=[],d=()=>{e.forEach(x=>x()),e.length=0},y=(x,A,R,L)=>(x.addEventListener(A,R,L),()=>x.removeEventListener(A,R,L)),_=Qn(()=>[Ad(i),Ri(r)],([x,A])=>{d(),x&&e.push(...s.flatMap(R=>a.map(L=>y(x,R,L,A))))},{immediate:!0,flush:"post"}),E=()=>{_(),d()};return ql(E),E}function AO(t){return typeof t=="function"?t:typeof t=="string"?i=>i.key===t:Array.isArray(t)?i=>t.includes(i.key):()=>!0}function XN(...t){let i,s,a={};t.length===3?(i=t[0],s=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(i=!0,s=t[0],a=t[1]):(i=t[0],s=t[1]):(i=!0,s=t[0]);const{target:r=co,eventName:e="keydown",passive:d=!1,dedupe:y=!1}=a,_=AO(i);return $c(r,e,x=>{x.repeat&&Ri(y)||_(x)&&s(x)},d)}function SO(){const t=dr(!1);return Cs()&&yl(()=>{t.value=!0}),t}function iv(t){const i=SO();return mn(()=>(i.value,!!t()))}function kO(t,i={}){const{immediate:s=!0,window:a=co}=i,r=dr(!1);let e=0,d=null;function y(x){if(!r.value||!a)return;const A=x-(e||x);t({delta:A,timestamp:x}),e=x,d=a.requestAnimationFrame(y)}function _(){!r.value&&a&&(r.value=!0,d=a.requestAnimationFrame(y))}function E(){r.value=!1,d!=null&&a&&(a.cancelAnimationFrame(d),d=null)}return s&&_(),ql(E),{isActive:oh(r),pause:E,resume:_}}function OO(t,i={}){const{window:s=co}=i,a=iv(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function");let r;const e=dr(!1),d=E=>{e.value=E.matches},y=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",d):r.removeListener(d))},_=g_(()=>{a.value&&(y(),r=s.matchMedia(Ri(t)),"addEventListener"in r?r.addEventListener("change",d):r.addListener(d),e.value=r.matches)});return ql(()=>{_(),y(),r=void 0}),e}function JN(t={}){const{navigator:i=TO,read:s=!1,source:a,copiedDuring:r=1500,legacy:e=!1}=t,d=iv(()=>i&&"clipboard"in i),y=mn(()=>d.value||e),_=dr(""),E=dr(!1),x=o6(()=>E.value=!1,r);function A(){d.value?i.clipboard.readText().then(I=>{_.value=I}):_.value=B()}y.value&&s&&$c(["copy","cut"],A);async function R(I=Ri(a)){y.value&&I!=null&&(d.value?await i.clipboard.writeText(I):L(I),_.value=I,E.value=!0,x.start())}function L(I){const G=document.createElement("textarea");G.value=I??"",G.style.position="absolute",G.style.opacity="0",document.body.appendChild(G),G.select(),document.execCommand("copy"),G.remove()}function B(){var I,G,z;return(z=(G=(I=document==null?void 0:document.getSelection)==null?void 0:I.call(document))==null?void 0:G.toString())!=null?z:""}return{isSupported:y,text:_,copied:E,copy:R}}function RO(t){return JSON.parse(JSON.stringify(t))}const Lm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bm="__vueuse_ssr_handlers__",PO=IO();function IO(){return Bm in Lm||(Lm[Bm]=Lm[Bm]||{}),Lm[Bm]}function u6(t,i){return PO[t]||i}function NO(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}var MO=Object.defineProperty,fw=Object.getOwnPropertySymbols,LO=Object.prototype.hasOwnProperty,BO=Object.prototype.propertyIsEnumerable,hw=(t,i,s)=>i in t?MO(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,dw=(t,i)=>{for(var s in i||(i={}))LO.call(i,s)&&hw(t,s,i[s]);if(fw)for(var s of fw(i))BO.call(i,s)&&hw(t,s,i[s]);return t};const UO={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},pw="vueuse-storage";function $O(t,i,s,a={}){var r;const{flush:e="pre",deep:d=!0,listenToStorageChanges:y=!0,writeDefaults:_=!0,mergeDefaults:E=!1,shallow:x,window:A=co,eventFilter:R,onError:L=U=>{console.error(U)}}=a,B=(x?Fd:dr)(i);if(!s)try{s=u6("getDefaultStorage",()=>{var U;return(U=co)==null?void 0:U.localStorage})()}catch(U){L(U)}if(!s)return B;const I=Ri(i),G=NO(I),z=(r=a.serializer)!=null?r:UO[G],{pause:Q,resume:ce}=xO(B,()=>Y(B.value),{flush:e,deep:d,eventFilter:R});return A&&y&&($c(A,"storage",ie),$c(A,pw,Z)),ie(),B;function Y(U){try{if(U==null)s.removeItem(t);else{const H=z.write(U),te=s.getItem(t);te!==H&&(s.setItem(t,H),A&&A.dispatchEvent(new CustomEvent(pw,{detail:{key:t,oldValue:te,newValue:H,storageArea:s}})))}}catch(H){L(H)}}function V(U){const H=U?U.newValue:s.getItem(t);if(H==null)return _&&I!==null&&s.setItem(t,z.write(I)),I;if(!U&&E){const te=z.read(H);return typeof E=="function"?E(te,I):G==="object"&&!Array.isArray(te)?dw(dw({},I),te):te}else return typeof H!="string"?H:z.read(H)}function Z(U){ie(U.detail)}function ie(U){if(!(U&&U.storageArea!==s)){if(U&&U.key==null){B.value=I;return}if(!(U&&U.key!==t)){Q();try{B.value=V(U)}catch(H){L(H)}finally{U?Ql(ce):ce()}}}}}function f6(t){return OO("(prefers-color-scheme: dark)",t)}var HO=Object.defineProperty,gw=Object.getOwnPropertySymbols,WO=Object.prototype.hasOwnProperty,zO=Object.prototype.propertyIsEnumerable,mw=(t,i,s)=>i in t?HO(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,jO=(t,i)=>{for(var s in i||(i={}))WO.call(i,s)&&mw(t,s,i[s]);if(gw)for(var s of gw(i))zO.call(i,s)&&mw(t,s,i[s]);return t};function VO(t={}){const{selector:i="html",attribute:s="class",initialValue:a="auto",window:r=co,storage:e,storageKey:d="vueuse-color-scheme",listenToStorageChanges:y=!0,storageRef:_,emitAuto:E,disableTransition:x=!0}=t,A=jO({auto:"",light:"light",dark:"dark"},t.modes||{}),R=f6({window:r}),L=mn(()=>R.value?"dark":"light"),B=_||(d==null?Fp(a):$O(d,a,e,{window:r,listenToStorageChanges:y})),I=mn(()=>B.value==="auto"?L.value:B.value),G=u6("updateHTMLAttrs",(Y,V,Z)=>{const ie=typeof Y=="string"?r==null?void 0:r.document.querySelector(Y):Ad(Y);if(!ie)return;let U;if(x){U=r.document.createElement("style");const H="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";U.appendChild(document.createTextNode(H)),r.document.head.appendChild(U)}if(V==="class"){const H=Z.split(/\s/g);Object.values(A).flatMap(te=>(te||"").split(/\s/g)).filter(Boolean).forEach(te=>{H.includes(te)?ie.classList.add(te):ie.classList.remove(te)})}else ie.setAttribute(V,Z);x&&(r.getComputedStyle(U).opacity,document.head.removeChild(U))});function z(Y){var V;G(i,s,(V=A[Y])!=null?V:Y)}function Q(Y){t.onChanged?t.onChanged(Y,z):z(Y)}Qn(I,Q,{flush:"post",immediate:!0}),fO(()=>Q(I.value));const ce=mn({get(){return E?B.value:I.value},set(Y){B.value=Y}});try{return Object.assign(ce,{store:B,system:L,state:I})}catch{return ce}}var vw=Object.getOwnPropertySymbols,GO=Object.prototype.hasOwnProperty,YO=Object.prototype.propertyIsEnumerable,qO=(t,i)=>{var s={};for(var a in t)GO.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&vw)for(var a of vw(t))i.indexOf(a)<0&&YO.call(t,a)&&(s[a]=t[a]);return s};function KO(t,i,s={}){const a=s,{window:r=co}=a,e=qO(a,["window"]);let d;const y=iv(()=>r&&"MutationObserver"in r),_=()=>{d&&(d.disconnect(),d=void 0)},E=Qn(()=>Ad(t),A=>{_(),y.value&&r&&A&&(d=new MutationObserver(i),d.observe(A,e))},{immediate:!0}),x=()=>{_(),E()};return ql(x),{isSupported:y,stop:x}}var QO=Object.defineProperty,XO=Object.defineProperties,JO=Object.getOwnPropertyDescriptors,bw=Object.getOwnPropertySymbols,ZO=Object.prototype.hasOwnProperty,e9=Object.prototype.propertyIsEnumerable,yw=(t,i,s)=>i in t?QO(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,t9=(t,i)=>{for(var s in i||(i={}))ZO.call(i,s)&&yw(t,s,i[s]);if(bw)for(var s of bw(i))e9.call(i,s)&&yw(t,s,i[s]);return t},r9=(t,i)=>XO(t,JO(i));function n9(t={}){const{valueDark:i="dark",valueLight:s=""}=t,a=VO(r9(t9({},t),{onChanged:(e,d)=>{var y;t.onChanged?(y=t.onChanged)==null||y.call(t,e==="dark",d,e):d(e)},modes:{dark:i,light:s}}));return mn({get(){return a.value==="dark"},set(e){const d=e?"dark":"light";a.system.value===d?a.value="auto":a.value=d}})}function i9(t,i,s={}){const{root:a,rootMargin:r="0px",threshold:e=.1,window:d=co,immediate:y=!0}=s,_=iv(()=>d&&"IntersectionObserver"in d),E=mn(()=>{const B=Ri(t);return(Array.isArray(B)?B:[B]).map(Ad).filter(oO)});let x=Td;const A=dr(y),R=_.value?Qn(()=>[E.value,Ad(a),A.value],([B,I])=>{if(x(),!A.value||!B.length)return;const G=new IntersectionObserver(i,{root:Ad(I),rootMargin:r,threshold:e});B.forEach(z=>z&&G.observe(z)),x=()=>{G.disconnect(),x=Td}},{immediate:y,flush:"post"}):Td,L=()=>{x(),R(),A.value=!1};return ql(L),{isSupported:_,isActive:A,pause(){x(),A.value=!1},resume(){A.value=!0},stop:L}}function s9(t,{window:i=co,scrollTarget:s}={}){const a=dr(!1);return i9(t,([{isIntersecting:r}])=>{a.value=r},{root:s,window:i}),a}var a9=Object.defineProperty,o9=Object.defineProperties,l9=Object.getOwnPropertyDescriptors,_w=Object.getOwnPropertySymbols,c9=Object.prototype.hasOwnProperty,u9=Object.prototype.propertyIsEnumerable,ww=(t,i,s)=>i in t?a9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,Pa=(t,i)=>{for(var s in i||(i={}))c9.call(i,s)&&ww(t,s,i[s]);if(_w)for(var s of _w(i))u9.call(i,s)&&ww(t,s,i[s]);return t},ap=(t,i)=>o9(t,l9(i));const f9={json:"application/json",text:"text/plain"};function Dw(t){return t&&uO(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Hb(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries([...t.entries()]):t}function h9(t,...i){var s;const a=typeof AbortController=="function";let r={},e={immediate:!0,refetch:!1,timeout:0};const d={method:"GET",type:"text",payload:void 0};i.length>0&&(Dw(i[0])?e=Pa(Pa({},e),i[0]):r=i[0]),i.length>1&&Dw(i[1])&&(e=Pa(Pa({},e),i[1]));const{fetch:y=(s=co)==null?void 0:s.fetch,initialData:_,timeout:E}=e,x=$b(),A=$b(),R=$b(),L=dr(!1),B=dr(!1),I=dr(!1),G=dr(null),z=Fd(null),Q=Fd(null),ce=Fd(_||null),Y=mn(()=>a&&B.value);let V,Z;const ie=()=>{a&&(V==null||V.abort(),V=new AbortController,V.signal.onabort=()=>I.value=!0,r=ap(Pa({},r),{signal:V.signal}))},U=$e=>{B.value=$e,L.value=!$e};E&&(Z=o6(ie,E,{immediate:!1}));const H=async($e=!1)=>{var je;ie(),U(!0),Q.value=null,G.value=null,I.value=!1;const Fe={method:d.method,headers:{}};if(d.payload){const de=Hb(Fe.headers),Se=Ri(d.payload);!d.payloadType&&Se&&Object.getPrototypeOf(Se)===Object.prototype&&!(Se instanceof FormData)&&(d.payloadType="json"),d.payloadType&&(de["Content-Type"]=(je=f9[d.payloadType])!=null?je:d.payloadType),Fe.body=d.payloadType==="json"?JSON.stringify(Se):Se}let lt=!1;const Xe={url:Ri(t),options:Pa(Pa({},Fe),r),cancel:()=>{lt=!0}};if(e.beforeFetch&&Object.assign(Xe,await e.beforeFetch(Xe)),lt||!y)return U(!1),Promise.resolve(null);let Je=null;return Z&&Z.start(),new Promise((de,Se)=>{var rt;y(Xe.url,ap(Pa(Pa({},Fe),Xe.options),{headers:Pa(Pa({},Hb(Fe.headers)),Hb((rt=Xe.options)==null?void 0:rt.headers))})).then(async We=>{if(z.value=We,G.value=We.status,Je=await We[d.type](),!We.ok)throw ce.value=_||null,new Error(We.statusText);return e.afterFetch&&({data:Je}=await e.afterFetch({data:Je,response:We})),ce.value=Je,x.trigger(We),de(We)}).catch(async We=>{let xe=We.message||We.name;return e.onFetchError&&({error:xe}=await e.onFetchError({data:Je,error:We,response:z.value})),Q.value=xe,A.trigger(We),$e?Se(We):de(null)}).finally(()=>{U(!1),Z&&Z.stop(),R.trigger(null)})})},te=Fp(e.refetch);Qn([te,Fp(t)],([$e])=>$e&&H(),{deep:!0});const fe={isFinished:L,statusCode:G,response:z,error:Q,data:ce,isFetching:B,canAbort:Y,aborted:I,abort:ie,execute:H,onFetchResponse:x.on,onFetchError:A.on,onFetchFinally:R.on,get:Ee("GET"),put:Ee("PUT"),post:Ee("POST"),delete:Ee("DELETE"),patch:Ee("PATCH"),head:Ee("HEAD"),options:Ee("OPTIONS"),json:be("json"),text:be("text"),blob:be("blob"),arrayBuffer:be("arrayBuffer"),formData:be("formData")};function Ee($e){return(je,Fe)=>{if(!B.value)return d.method=$e,d.payload=je,d.payloadType=Fe,Ln(d.payload)&&Qn([te,Fp(d.payload)],([lt])=>lt&&H(),{deep:!0}),ap(Pa({},fe),{then(lt,Xe){return ye().then(lt,Xe)}})}}function ye(){return new Promise(($e,je)=>{hO(L).toBe(!0).then(()=>$e(fe)).catch(Fe=>je(Fe))})}function be($e){return()=>{if(!B.value)return d.type=$e,ap(Pa({},fe),{then(je,Fe){return ye().then(je,Fe)}})}}return e.immediate&&Promise.resolve().then(()=>H()),ap(Pa({},fe),{then($e,je){return ye().then($e,je)}})}const d9={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function ZN(t={}){const{reactive:i=!1,target:s=co,aliasMap:a=d9,passive:r=!0,onEventFired:e=Td}=t,d=_f(new Set),y={toJSON(){return{}},current:d},_=i?_f(y):y,E=new Set,x=new Set;function A(I,G){I in _&&(i?_[I]=G:_[I].value=G)}function R(){d.clear();for(const I of x)A(I,!1)}function L(I,G){var z,Q;const ce=(z=I.key)==null?void 0:z.toLowerCase(),V=[(Q=I.code)==null?void 0:Q.toLowerCase(),ce].filter(Boolean);ce&&(G?d.add(ce):d.delete(ce));for(const Z of V)x.add(Z),A(Z,G);ce==="meta"&&!G?(E.forEach(Z=>{d.delete(Z),A(Z,!1)}),E.clear()):typeof I.getModifierState=="function"&&I.getModifierState("Meta")&&G&&[...d,...V].forEach(Z=>E.add(Z))}$c(s,"keydown",I=>(L(I,!0),e(I)),{passive:r}),$c(s,"keyup",I=>(L(I,!1),e(I)),{passive:r}),$c("blur",R,{passive:!0}),$c("focus",R,{passive:!0});const B=new Proxy(_,{get(I,G,z){if(typeof G!="string")return Reflect.get(I,G,z);if(G=G.toLowerCase(),G in a&&(G=a[G]),!(G in _))if(/[+_-]/.test(G)){const ce=G.split(/[+_-]/g).map(Y=>Y.trim());_[G]=mn(()=>ce.every(Y=>Ri(B[Y])))}else _[G]=dr(!1);const Q=Reflect.get(I,G,z);return i?Ri(Q):Q}});return B}var p9=Object.defineProperty,Ew=Object.getOwnPropertySymbols,g9=Object.prototype.hasOwnProperty,m9=Object.prototype.propertyIsEnumerable,Fw=(t,i,s)=>i in t?p9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,v9=(t,i)=>{for(var s in i||(i={}))g9.call(i,s)&&Fw(t,s,i[s]);if(Ew)for(var s of Ew(i))m9.call(i,s)&&Fw(t,s,i[s]);return t};function h6(t={}){const{controls:i=!1,interval:s="requestAnimationFrame"}=t,a=dr(new Date),r=()=>a.value=new Date,e=s==="requestAnimationFrame"?kO(r,{immediate:!0}):dO(r,s,{immediate:!0});return i?v9({now:a},e):a}function b9(t=null,i={}){var s,a;const{document:r=CO}=i,e=Fp((s=t??(r==null?void 0:r.title))!=null?s:null),d=t&&typeof t=="function";function y(_){if(!("titleTemplate"in i))return _;const E=i.titleTemplate||"%s";return typeof E=="function"?E(_):Ri(E).replace(/%s/g,_)}return Qn(e,(_,E)=>{_!==E&&r&&(r.title=y(typeof _=="string"?_:""))},{immediate:!0}),i.observe&&!i.titleTemplate&&r&&!d&&KO((a=r.head)==null?void 0:a.querySelector("title"),()=>{r&&r.title!==e.value&&(e.value=y(r.title))},{childList:!0}),e}function xw(t,i,s,a={}){var r,e,d;const{clone:y=!1,passive:_=!1,eventName:E,deep:x=!1,defaultValue:A,shouldEmit:R}=a,L=Cs(),B=s||(L==null?void 0:L.emit)||((r=L==null?void 0:L.$emit)==null?void 0:r.bind(L))||((d=(e=L==null?void 0:L.proxy)==null?void 0:e.$emit)==null?void 0:d.bind(L==null?void 0:L.proxy));let I=E;i||(i="modelValue"),I=I||`update:${i.toString()}`;const G=ce=>y?typeof y=="function"?y(ce):RO(ce):ce,z=()=>aO(t[i])?G(t[i]):A,Q=ce=>{R?R(ce)&&B(I,ce):B(I,ce)};if(_){const ce=z(),Y=dr(ce);return Qn(()=>t[i],V=>Y.value=G(V)),Qn(Y,V=>{(V!==t[i]||x)&&Q(V)},{deep:x}),Y}else return mn({get(){return z()},set(ce){Q(ce)}})}function y9({window:t=co}={}){if(!t)return{x:dr(0),y:dr(0)};const i=dr(t.scrollX),s=dr(t.scrollY);return $c(t,"scroll",()=>{i.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:s}}const d6=n9(),_9=pO(d6),w9=f6(),Yd=t=>(V2("data-v-a79e7085"),t=t(),G2(),t),D9=Yd(()=>zt("div",{"i-ri-arrow-up-line":""},null,-1)),E9=[D9],F9=Yd(()=>zt("div",{class:"spacer"},null,-1)),x9={class:"right","print:op0":""},C9=Yd(()=>zt("div",{"i-ion-balloon-sharp":""},null,-1)),T9=["title"],A9=Yd(()=>zt("div",{"i-carbon-language":""},null,-1)),S9=[A9],k9=["title"],O9=Yd(()=>zt("div",{i:"carbon-sun dark:carbon-moon"},null,-1)),R9=[O9],P9=["href"],I9=Yd(()=>zt("div",{"i-carbon-logo-github":""},null,-1)),N9=[I9],M9=ds({__name:"NavBar",props:{width:null},setup(t){const i=t,{t:s,locale:a}=Gd(),{y:r}=y9();function e(){window.scrollTo({top:0,behavior:"smooth"})}async function d(){const y=gF,_=y[(y.indexOf(a.value)+1)%y.length];await I_(_),a.value=_}return(y,_)=>{const E=vl("RouterLink");return hn(),Yn("header",{class:ma(["header z-40",[(i==null?void 0:i.width)??""]])},[zt("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:ma(vr(r)>300?"op30":"op0! pointer-events-none"),onClick:_[0]||(_[0]=x=>e())},E9,2),zt("nav",{class:ma(["nav",[i!=null&&i.width?"":"fixed"]]),"text-xl":""},[F9,zt("div",x9,[Yr(E,{"icon-btn":"",title:vr(s)("button.home"),to:"/",focusable:"false"},{default:Es(()=>[C9]),_:1},8,["title"]),zt("a",{"icon-btn":"",title:vr(s)("button.toggle_langs"),onClick:_[1]||(_[1]=x=>d())},S9,8,T9),zt("a",{"icon-btn":"",title:vr(s)("button.toggle_dark"),onClick:_[2]||(_[2]=x=>("toggleDark"in y?y.toggleDark:vr(_9))())},R9,8,k9),zt("a",{"icon-btn":"",rel:"noreferrer",href:vr(s6),target:"_blank",title:"GitHub"},N9,8,P9)])],2)],2)}}});const qd=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s},L9=qd(M9,[["__scopeId","data-v-a79e7085"]]),B9={},U9={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function $9(t,i){const s=L9,a=vl("RouterView"),r=sO;return hn(),Yn(Ni,null,[Yr(s),zt("main",U9,[Yr(a),Yr(r)])],64)}const H9=qd(B9,[["render",$9]]),W9={"board-layout":()=>Na(()=>import("./board-layout-697d2319.js"),[],import.meta.url),default:H9,headless:()=>Na(()=>import("./headless-e0c7ce47.js"),[],import.meta.url),home:()=>Na(()=>import("./home-745f3988.js"),[],import.meta.url),"index-layout":()=>Na(()=>import("./index-layout-c825e6e2.js"),[],import.meta.url)};function z9(t){return t.map(i=>{var s;return{path:i.path,meta:i.meta,component:W9[((s=i.meta)==null?void 0:s.layout)||"default"],children:i.path==="/"?[i]:[{...i,path:""}]}})}const j9=["top","right","bottom","left"],Cw=["start","end"],Tw=j9.reduce((t,i)=>t.concat(i,i+"-"+Cw[0],i+"-"+Cw[1]),[]),zp=Math.min,W0=Math.max,V9={left:"right",right:"left",bottom:"top",top:"bottom"},G9={start:"end",end:"start"};function Ny(t,i,s){return W0(t,zp(i,s))}function fh(t,i){return typeof t=="function"?t(i):t}function Kl(t){return t.split("-")[0]}function ml(t){return t.split("-")[1]}function p6(t){return t==="x"?"y":"x"}function n4(t){return t==="y"?"height":"width"}function ng(t){return["top","bottom"].includes(Kl(t))?"y":"x"}function i4(t){return p6(ng(t))}function g6(t,i,s){s===void 0&&(s=!1);const a=ml(t),r=i4(t),e=n4(r);let d=r==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return i.reference[e]>i.floating[e]&&(d=E2(d)),[d,E2(d)]}function Y9(t){const i=E2(t);return[D2(t),i,D2(i)]}function D2(t){return t.replace(/start|end/g,i=>G9[i])}function q9(t,i,s){const a=["left","right"],r=["right","left"],e=["top","bottom"],d=["bottom","top"];switch(t){case"top":case"bottom":return s?i?r:a:i?a:r;case"left":case"right":return i?e:d;default:return[]}}function K9(t,i,s,a){const r=ml(t);let e=q9(Kl(t),s==="start",a);return r&&(e=e.map(d=>d+"-"+r),i&&(e=e.concat(e.map(D2)))),e}function E2(t){return t.replace(/left|right|bottom|top/g,i=>V9[i])}function Q9(t){return{top:0,right:0,bottom:0,left:0,...t}}function m6(t){return typeof t!="number"?Q9(t):{top:t,right:t,bottom:t,left:t}}function xp(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Aw(t,i,s){let{reference:a,floating:r}=t;const e=ng(i),d=i4(i),y=n4(d),_=Kl(i),E=e==="y",x=a.x+a.width/2-r.width/2,A=a.y+a.height/2-r.height/2,R=a[y]/2-r[y]/2;let L;switch(_){case"top":L={x,y:a.y-r.height};break;case"bottom":L={x,y:a.y+a.height};break;case"right":L={x:a.x+a.width,y:A};break;case"left":L={x:a.x-r.width,y:A};break;default:L={x:a.x,y:a.y}}switch(ml(i)){case"start":L[d]-=R*(s&&E?-1:1);break;case"end":L[d]+=R*(s&&E?-1:1);break}return L}const X9=async(t,i,s)=>{const{placement:a="bottom",strategy:r="absolute",middleware:e=[],platform:d}=s,y=e.filter(Boolean),_=await(d.isRTL==null?void 0:d.isRTL(i));let E=await d.getElementRects({reference:t,floating:i,strategy:r}),{x,y:A}=Aw(E,a,_),R=a,L={},B=0;for(let I=0;I<y.length;I++){const{name:G,fn:z}=y[I],{x:Q,y:ce,data:Y,reset:V}=await z({x,y:A,initialPlacement:a,placement:R,strategy:r,middlewareData:L,rects:E,platform:d,elements:{reference:t,floating:i}});if(x=Q??x,A=ce??A,L={...L,[G]:{...L[G],...Y}},V&&B<=50){B++,typeof V=="object"&&(V.placement&&(R=V.placement),V.rects&&(E=V.rects===!0?await d.getElementRects({reference:t,floating:i,strategy:r}):V.rects),{x,y:A}=Aw(E,R,_)),I=-1;continue}}return{x,y:A,placement:R,strategy:r,middlewareData:L}};async function sv(t,i){var s;i===void 0&&(i={});const{x:a,y:r,platform:e,rects:d,elements:y,strategy:_}=t,{boundary:E="clippingAncestors",rootBoundary:x="viewport",elementContext:A="floating",altBoundary:R=!1,padding:L=0}=fh(i,t),B=m6(L),G=y[R?A==="floating"?"reference":"floating":A],z=xp(await e.getClippingRect({element:(s=await(e.isElement==null?void 0:e.isElement(G)))==null||s?G:G.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(y.floating)),boundary:E,rootBoundary:x,strategy:_})),Q=A==="floating"?{...d.floating,x:a,y:r}:d.reference,ce=await(e.getOffsetParent==null?void 0:e.getOffsetParent(y.floating)),Y=await(e.isElement==null?void 0:e.isElement(ce))?await(e.getScale==null?void 0:e.getScale(ce))||{x:1,y:1}:{x:1,y:1},V=xp(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Q,offsetParent:ce,strategy:_}):Q);return{top:(z.top-V.top+B.top)/Y.y,bottom:(V.bottom-z.bottom+B.bottom)/Y.y,left:(z.left-V.left+B.left)/Y.x,right:(V.right-z.right+B.right)/Y.x}}const J9=t=>({name:"arrow",options:t,async fn(i){const{x:s,y:a,placement:r,rects:e,platform:d,elements:y}=i,{element:_,padding:E=0}=fh(t,i)||{};if(_==null)return{};const x=m6(E),A={x:s,y:a},R=i4(r),L=n4(R),B=await d.getDimensions(_),I=R==="y",G=I?"top":"left",z=I?"bottom":"right",Q=I?"clientHeight":"clientWidth",ce=e.reference[L]+e.reference[R]-A[R]-e.floating[L],Y=A[R]-e.reference[R],V=await(d.getOffsetParent==null?void 0:d.getOffsetParent(_));let Z=V?V[Q]:0;(!Z||!await(d.isElement==null?void 0:d.isElement(V)))&&(Z=y.floating[Q]||e.floating[L]);const ie=ce/2-Y/2,U=Z/2-B[L]/2-1,H=zp(x[G],U),te=zp(x[z],U),fe=H,Ee=Z-B[L]-te,ye=Z/2-B[L]/2+ie,be=Ny(fe,ye,Ee),je=ml(r)!=null&&ye!=be&&e.reference[L]/2-(ye<fe?H:te)-B[L]/2<0?ye<fe?fe-ye:Ee-ye:0;return{[R]:A[R]-je,data:{[R]:be,centerOffset:ye-be+je}}}});function Z9(t,i,s){return(t?[...s.filter(r=>ml(r)===t),...s.filter(r=>ml(r)!==t)]:s.filter(r=>Kl(r)===r)).filter(r=>t?ml(r)===t||(i?D2(r)!==r:!1):!0)}const eR=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(i){var s,a,r;const{rects:e,middlewareData:d,placement:y,platform:_,elements:E}=i,{crossAxis:x=!1,alignment:A,allowedPlacements:R=Tw,autoAlignment:L=!0,...B}=fh(t,i),I=A!==void 0||R===Tw?Z9(A||null,L,R):R,G=await sv(i,B),z=((s=d.autoPlacement)==null?void 0:s.index)||0,Q=I[z];if(Q==null)return{};const ce=g6(Q,e,await(_.isRTL==null?void 0:_.isRTL(E.floating)));if(y!==Q)return{reset:{placement:I[0]}};const Y=[G[Kl(Q)],G[ce[0]],G[ce[1]]],V=[...((a=d.autoPlacement)==null?void 0:a.overflows)||[],{placement:Q,overflows:Y}],Z=I[z+1];if(Z)return{data:{index:z+1,overflows:V},reset:{placement:Z}};const ie=V.map(te=>{const fe=ml(te.placement);return[te.placement,fe&&x?te.overflows.slice(0,2).reduce((Ee,ye)=>Ee+ye,0):te.overflows[0],te.overflows]}).sort((te,fe)=>te[1]-fe[1]),H=((r=ie.filter(te=>te[2].slice(0,ml(te[0])?2:3).every(fe=>fe<=0))[0])==null?void 0:r[0])||ie[0][0];return H!==y?{data:{index:z+1,overflows:V},reset:{placement:H}}:{}}}},tR=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(i){var s;const{placement:a,middlewareData:r,rects:e,initialPlacement:d,platform:y,elements:_}=i,{mainAxis:E=!0,crossAxis:x=!0,fallbackPlacements:A,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:B=!0,...I}=fh(t,i),G=Kl(a),z=Kl(d)===d,Q=await(y.isRTL==null?void 0:y.isRTL(_.floating)),ce=A||(z||!B?[E2(d)]:Y9(d));!A&&L!=="none"&&ce.push(...K9(d,B,L,Q));const Y=[d,...ce],V=await sv(i,I),Z=[];let ie=((s=r.flip)==null?void 0:s.overflows)||[];if(E&&Z.push(V[G]),x){const fe=g6(a,e,Q);Z.push(V[fe[0]],V[fe[1]])}if(ie=[...ie,{placement:a,overflows:Z}],!Z.every(fe=>fe<=0)){var U,H;const fe=(((U=r.flip)==null?void 0:U.index)||0)+1,Ee=Y[fe];if(Ee)return{data:{index:fe,overflows:ie},reset:{placement:Ee}};let ye=(H=ie.filter(be=>be.overflows[0]<=0).sort((be,$e)=>be.overflows[1]-$e.overflows[1])[0])==null?void 0:H.placement;if(!ye)switch(R){case"bestFit":{var te;const be=(te=ie.map($e=>[$e.placement,$e.overflows.filter(je=>je>0).reduce((je,Fe)=>je+Fe,0)]).sort(($e,je)=>$e[1]-je[1])[0])==null?void 0:te[0];be&&(ye=be);break}case"initialPlacement":ye=d;break}if(a!==ye)return{reset:{placement:ye}}}return{}}}};async function rR(t,i){const{placement:s,platform:a,elements:r}=t,e=await(a.isRTL==null?void 0:a.isRTL(r.floating)),d=Kl(s),y=ml(s),_=ng(s)==="y",E=["left","top"].includes(d)?-1:1,x=e&&_?-1:1,A=fh(i,t);let{mainAxis:R,crossAxis:L,alignmentAxis:B}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...A};return y&&typeof B=="number"&&(L=y==="end"?B*-1:B),_?{x:L*x,y:R*E}:{x:R*E,y:L*x}}const nR=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(i){const{x:s,y:a}=i,r=await rR(i,t);return{x:s+r.x,y:a+r.y,data:r}}}},iR=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(i){const{x:s,y:a,placement:r}=i,{mainAxis:e=!0,crossAxis:d=!1,limiter:y={fn:G=>{let{x:z,y:Q}=G;return{x:z,y:Q}}},..._}=fh(t,i),E={x:s,y:a},x=await sv(i,_),A=ng(Kl(r)),R=p6(A);let L=E[R],B=E[A];if(e){const G=R==="y"?"top":"left",z=R==="y"?"bottom":"right",Q=L+x[G],ce=L-x[z];L=Ny(Q,L,ce)}if(d){const G=A==="y"?"top":"left",z=A==="y"?"bottom":"right",Q=B+x[G],ce=B-x[z];B=Ny(Q,B,ce)}const I=y.fn({...i,[R]:L,[A]:B});return{...I,data:{x:I.x-s,y:I.y-a}}}}},sR=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(i){const{placement:s,rects:a,platform:r,elements:e}=i,{apply:d=()=>{},...y}=fh(t,i),_=await sv(i,y),E=Kl(s),x=ml(s),A=ng(s)==="y",{width:R,height:L}=a.floating;let B,I;E==="top"||E==="bottom"?(B=E,I=x===(await(r.isRTL==null?void 0:r.isRTL(e.floating))?"start":"end")?"left":"right"):(I=E,B=x==="end"?"top":"bottom");const G=L-_[B],z=R-_[I],Q=!i.middlewareData.shift;let ce=G,Y=z;if(A){const Z=R-_.left-_.right;Y=x||Q?zp(z,Z):Z}else{const Z=L-_.top-_.bottom;ce=x||Q?zp(G,Z):Z}if(Q&&!x){const Z=W0(_.left,0),ie=W0(_.right,0),U=W0(_.top,0),H=W0(_.bottom,0);A?Y=R-2*(Z!==0||ie!==0?Z+ie:W0(_.left,_.right)):ce=L-2*(U!==0||H!==0?U+H:W0(_.top,_.bottom))}await d({...i,availableWidth:Y,availableHeight:ce});const V=await r.getDimensions(e.floating);return R!==V.width||L!==V.height?{reset:{rects:!0}}:{}}}};function So(t){var i;return((i=t.ownerDocument)==null?void 0:i.defaultView)||window}function jl(t){return So(t).getComputedStyle(t)}const Sw=Math.min,Cp=Math.max,F2=Math.round;function v6(t){const i=jl(t);let s=parseFloat(i.width),a=parseFloat(i.height);const r=t.offsetWidth,e=t.offsetHeight,d=F2(s)!==r||F2(a)!==e;return d&&(s=r,a=e),{width:s,height:a,fallback:d}}function xf(t){return y6(t)?(t.nodeName||"").toLowerCase():""}let Um;function b6(){if(Um)return Um;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(Um=t.brands.map(i=>i.brand+"/"+i.version).join(" "),Um):navigator.userAgent}function Vl(t){return t instanceof So(t).HTMLElement}function gf(t){return t instanceof So(t).Element}function y6(t){return t instanceof So(t).Node}function kw(t){return typeof ShadowRoot>"u"?!1:t instanceof So(t).ShadowRoot||t instanceof ShadowRoot}function av(t){const{overflow:i,overflowX:s,overflowY:a,display:r}=jl(t);return/auto|scroll|overlay|hidden|clip/.test(i+a+s)&&!["inline","contents"].includes(r)}function aR(t){return["table","td","th"].includes(xf(t))}function My(t){const i=/firefox/i.test(b6()),s=jl(t),a=s.backdropFilter||s.WebkitBackdropFilter;return s.transform!=="none"||s.perspective!=="none"||!!a&&a!=="none"||i&&s.willChange==="filter"||i&&!!s.filter&&s.filter!=="none"||["transform","perspective"].some(r=>s.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const e=s.contain;return e!=null&&e.includes(r)})}function _6(){return!/^((?!chrome|android).)*safari/i.test(b6())}function s4(t){return["html","body","#document"].includes(xf(t))}function w6(t){return gf(t)?t:t.contextElement}const D6={x:1,y:1};function Sd(t){const i=w6(t);if(!Vl(i))return D6;const s=i.getBoundingClientRect(),{width:a,height:r,fallback:e}=v6(i);let d=(e?F2(s.width):s.width)/a,y=(e?F2(s.height):s.height)/r;return d&&Number.isFinite(d)||(d=1),y&&Number.isFinite(y)||(y=1),{x:d,y}}function jp(t,i,s,a){var r,e;i===void 0&&(i=!1),s===void 0&&(s=!1);const d=t.getBoundingClientRect(),y=w6(t);let _=D6;i&&(a?gf(a)&&(_=Sd(a)):_=Sd(t));const E=y?So(y):window,x=!_6()&&s;let A=(d.left+(x&&((r=E.visualViewport)==null?void 0:r.offsetLeft)||0))/_.x,R=(d.top+(x&&((e=E.visualViewport)==null?void 0:e.offsetTop)||0))/_.y,L=d.width/_.x,B=d.height/_.y;if(y){const I=So(y),G=a&&gf(a)?So(a):a;let z=I.frameElement;for(;z&&a&&G!==I;){const Q=Sd(z),ce=z.getBoundingClientRect(),Y=getComputedStyle(z);ce.x+=(z.clientLeft+parseFloat(Y.paddingLeft))*Q.x,ce.y+=(z.clientTop+parseFloat(Y.paddingTop))*Q.y,A*=Q.x,R*=Q.y,L*=Q.x,B*=Q.y,A+=ce.x,R+=ce.y,z=So(z).frameElement}}return{width:L,height:B,top:R,right:A+L,bottom:R+B,left:A,x:A,y:R}}function mf(t){return((y6(t)?t.ownerDocument:t.document)||window.document).documentElement}function ov(t){return gf(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function E6(t){return jp(mf(t)).left+ov(t).scrollLeft}function Vp(t){if(xf(t)==="html")return t;const i=t.assignedSlot||t.parentNode||kw(t)&&t.host||mf(t);return kw(i)?i.host:i}function F6(t){const i=Vp(t);return s4(i)?i.ownerDocument.body:Vl(i)&&av(i)?i:F6(i)}function x2(t,i){var s;i===void 0&&(i=[]);const a=F6(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=So(a);return r?i.concat(e,e.visualViewport||[],av(a)?a:[]):i.concat(a,x2(a))}function Ow(t,i,s){return i==="viewport"?xp(function(a,r){const e=So(a),d=mf(a),y=e.visualViewport;let _=d.clientWidth,E=d.clientHeight,x=0,A=0;if(y){_=y.width,E=y.height;const R=_6();(R||!R&&r==="fixed")&&(x=y.offsetLeft,A=y.offsetTop)}return{width:_,height:E,x,y:A}}(t,s)):gf(i)?xp(function(a,r){const e=jp(a,!0,r==="fixed"),d=e.top+a.clientTop,y=e.left+a.clientLeft,_=Vl(a)?Sd(a):{x:1,y:1};return{width:a.clientWidth*_.x,height:a.clientHeight*_.y,x:y*_.x,y:d*_.y}}(i,s)):xp(function(a){const r=mf(a),e=ov(a),d=a.ownerDocument.body,y=Cp(r.scrollWidth,r.clientWidth,d.scrollWidth,d.clientWidth),_=Cp(r.scrollHeight,r.clientHeight,d.scrollHeight,d.clientHeight);let E=-e.scrollLeft+E6(a);const x=-e.scrollTop;return jl(d).direction==="rtl"&&(E+=Cp(r.clientWidth,d.clientWidth)-y),{width:y,height:_,x:E,y:x}}(mf(t)))}function Rw(t){return Vl(t)&&jl(t).position!=="fixed"?t.offsetParent:null}function Pw(t){const i=So(t);let s=Rw(t);for(;s&&aR(s)&&jl(s).position==="static";)s=Rw(s);return s&&(xf(s)==="html"||xf(s)==="body"&&jl(s).position==="static"&&!My(s))?i:s||function(a){let r=Vp(a);for(;Vl(r)&&!s4(r);){if(My(r))return r;r=Vp(r)}return null}(t)||i}function oR(t,i,s){const a=Vl(i),r=mf(i),e=jp(t,!0,s==="fixed",i);let d={scrollLeft:0,scrollTop:0};const y={x:0,y:0};if(a||!a&&s!=="fixed")if((xf(i)!=="body"||av(r))&&(d=ov(i)),Vl(i)){const _=jp(i,!0);y.x=_.x+i.clientLeft,y.y=_.y+i.clientTop}else r&&(y.x=E6(r));return{x:e.left+d.scrollLeft-y.x,y:e.top+d.scrollTop-y.y,width:e.width,height:e.height}}const lR={getClippingRect:function(t){let{element:i,boundary:s,rootBoundary:a,strategy:r}=t;const e=s==="clippingAncestors"?function(E,x){const A=x.get(E);if(A)return A;let R=x2(E).filter(G=>gf(G)&&xf(G)!=="body"),L=null;const B=jl(E).position==="fixed";let I=B?Vp(E):E;for(;gf(I)&&!s4(I);){const G=jl(I),z=My(I);(B?z||L:z||G.position!=="static"||!L||!["absolute","fixed"].includes(L.position))?L=G:R=R.filter(Q=>Q!==I),I=Vp(I)}return x.set(E,R),R}(i,this._c):[].concat(s),d=[...e,a],y=d[0],_=d.reduce((E,x)=>{const A=Ow(i,x,r);return E.top=Cp(A.top,E.top),E.right=Sw(A.right,E.right),E.bottom=Sw(A.bottom,E.bottom),E.left=Cp(A.left,E.left),E},Ow(i,y,r));return{width:_.right-_.left,height:_.bottom-_.top,x:_.left,y:_.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:i,offsetParent:s,strategy:a}=t;const r=Vl(s),e=mf(s);if(s===e)return i;let d={scrollLeft:0,scrollTop:0},y={x:1,y:1};const _={x:0,y:0};if((r||!r&&a!=="fixed")&&((xf(s)!=="body"||av(e))&&(d=ov(s)),Vl(s))){const E=jp(s);y=Sd(s),_.x=E.x+s.clientLeft,_.y=E.y+s.clientTop}return{width:i.width*y.x,height:i.height*y.y,x:i.x*y.x-d.scrollLeft*y.x+_.x,y:i.y*y.y-d.scrollTop*y.y+_.y}},isElement:gf,getDimensions:function(t){return Vl(t)?v6(t):t.getBoundingClientRect()},getOffsetParent:Pw,getDocumentElement:mf,getScale:Sd,async getElementRects(t){let{reference:i,floating:s,strategy:a}=t;const r=this.getOffsetParent||Pw,e=this.getDimensions;return{reference:oR(i,await r(s),a),floating:{x:0,y:0,...await e(s)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>jl(t).direction==="rtl"},cR=(t,i,s)=>{const a=new Map,r={platform:lR,...s},e={...r.platform,_c:a};return X9(t,i,{...r,platform:e})};function x6(t,i){for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(typeof i[s]=="object"&&t[s]?x6(t[s],i[s]):t[s]=i[s])}const jc={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Gp(t,i){let s=jc.themes[t]||{},a;do a=s[i],typeof a>"u"?s.$extend?s=jc.themes[s.$extend]||{}:(s=null,a=jc[i]):s=null;while(s);return a}function uR(t){const i=[t];let s=jc.themes[t]||{};do s.$extend&&!s.$resetCss?(i.push(s.$extend),s=jc.themes[s.$extend]||{}):s=null;while(s);return i.map(a=>`v-popper--theme-${a}`)}function Iw(t){const i=[t];let s=jc.themes[t]||{};do s.$extend?(i.push(s.$extend),s=jc.themes[s.$extend]||{}):s=null;while(s);return i}let sh=!1;if(typeof window<"u"){sh=!1;try{const t=Object.defineProperty({},"passive",{get(){sh=!0}});window.addEventListener("test",null,t)}catch{}}let C6=!1;typeof window<"u"&&typeof navigator<"u"&&(C6=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const T6=["auto","top","bottom","left","right"].reduce((t,i)=>t.concat([i,`${i}-start`,`${i}-end`]),[]),Nw={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Mw={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Lw(t,i){const s=t.indexOf(i);s!==-1&&t.splice(s,1)}function Wb(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const hl=[];let $0=null;const Bw={};function Uw(t){let i=Bw[t];return i||(i=Bw[t]=[]),i}let Ly=function(){};typeof window<"u"&&(Ly=window.Element);function Tn(t){return function(i){return Gp(i.theme,t)}}const zb="__floating-vue__popper",A6=()=>ds({name:"VPopper",provide(){return{[zb]:{parentPopper:this}}},inject:{[zb]:{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:Tn("disabled")},positioningDisabled:{type:Boolean,default:Tn("positioningDisabled")},placement:{type:String,default:Tn("placement"),validator:t=>T6.includes(t)},delay:{type:[String,Number,Object],default:Tn("delay")},distance:{type:[Number,String],default:Tn("distance")},skidding:{type:[Number,String],default:Tn("skidding")},triggers:{type:Array,default:Tn("triggers")},showTriggers:{type:[Array,Function],default:Tn("showTriggers")},hideTriggers:{type:[Array,Function],default:Tn("hideTriggers")},popperTriggers:{type:Array,default:Tn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Tn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Tn("popperHideTriggers")},container:{type:[String,Object,Ly,Boolean],default:Tn("container")},boundary:{type:[String,Ly],default:Tn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:Tn("strategy")},autoHide:{type:[Boolean,Function],default:Tn("autoHide")},handleResize:{type:Boolean,default:Tn("handleResize")},instantMove:{type:Boolean,default:Tn("instantMove")},eagerMount:{type:Boolean,default:Tn("eagerMount")},popperClass:{type:[String,Array,Object],default:Tn("popperClass")},computeTransformOrigin:{type:Boolean,default:Tn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Tn("autoMinSize")},autoSize:{type:[Boolean,String],default:Tn("autoSize")},autoMaxSize:{type:Boolean,default:Tn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Tn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Tn("preventOverflow")},overflowPadding:{type:[Number,String],default:Tn("overflowPadding")},arrowPadding:{type:[Number,String],default:Tn("arrowPadding")},arrowOverflow:{type:Boolean,default:Tn("arrowOverflow")},flip:{type:Boolean,default:Tn("flip")},shift:{type:Boolean,default:Tn("shift")},shiftCrossAxis:{type:Boolean,default:Tn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Tn("noAutoFocus")},disposeTimeout:{type:Number,default:Tn("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[zb])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,i;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((i=this.popperShowTriggers)==null?void 0:i.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,i)=>(t[i]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,i)=>(t[i]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:i=!1,force:s=!1}={}){var a,r;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,i),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:i=!1}={}){var s;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:i}),this.parentPopper.lockedChild=null)},1e3));return}((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,i),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(i=>i.nodeType===i.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(nR({mainAxis:this.distance,crossAxis:this.skidding}));const i=this.placement.startsWith("auto");if(i?t.middleware.push(eR({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(iR({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!i&&this.flip&&t.middleware.push(tR({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(J9({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:a,rects:r,middlewareData:e})=>{let d;const{centerOffset:y}=e.arrow;return a.startsWith("top")||a.startsWith("bottom")?d=Math.abs(y)>r.reference.width/2:d=Math.abs(y)>r.reference.height/2,{data:{overflow:d}}}}),this.autoMinSize||this.autoSize){const a=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:e,middlewareData:d})=>{var y;if((y=d.autoSize)!=null&&y.skip)return{};let _,E;return e.startsWith("top")||e.startsWith("bottom")?_=r.reference.width:E=r.reference.height,this.$_innerNode.style[a==="min"?"minWidth":a==="max"?"maxWidth":"width"]=_!=null?`${_}px`:null,this.$_innerNode.style[a==="min"?"minHeight":a==="max"?"maxHeight":"height"]=E!=null?`${E}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(sR({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:a,availableHeight:r})=>{this.$_innerNode.style.maxWidth=a!=null?`${a}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const s=await cR(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:s.x,y:s.y,placement:s.placement,strategy:s.strategy,arrow:{...s.middlewareData.arrow,...s.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,i=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),$0&&this.instantMove&&$0.instantMove&&$0!==this.parentPopper){$0.$_applyHide(!0),this.$_applyShow(!0);return}i?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,i=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&($0=this),i?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const i=this.delay;return parseInt(i&&i[t]||i||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Wb(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...x2(this.$_referenceNode),...x2(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const i=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),r=i.x+i.width/2-(a.left+s.offsetLeft),e=i.y+i.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${r}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let i;for(let s=0;s<hl.length;s++)i=hl[s],i.showGroup!==t&&(i.hide(),i.$emit("close-group"))}hl.push(this),document.body.classList.add("v-popper--some-open");for(const i of Iw(this.theme))Uw(i).push(this),document.body.classList.add(`v-popper--some-open--${i}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Wb(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,Lw(hl,this),hl.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of Iw(this.theme)){const a=Uw(s);Lw(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}$0===this&&($0=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const i=this.disposeTimeout;i!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},i)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Wb(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=s=>{this.isShown&&!this.$_hideInProgress||(s.usedByTooltip=!0,!this.$_preventShow&&this.show({event:s}))};this.$_registerTriggerListeners(this.$_targetNodes,Nw,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Nw,this.popperTriggers,this.popperShowTriggers,t);const i=s=>{s.usedByTooltip||this.hide({event:s})};this.$_registerTriggerListeners(this.$_targetNodes,Mw,this.triggers,this.hideTriggers,i),this.$_registerTriggerListeners([this.$_popperNode],Mw,this.popperTriggers,this.popperHideTriggers,i)},$_registerEventListeners(t,i,s){this.$_events.push({targetNodes:t,eventType:i,handler:s}),t.forEach(a=>a.addEventListener(i,s,sh?{passive:!0}:void 0))},$_registerTriggerListeners(t,i,s,a,r){let e=s;a!=null&&(e=typeof a=="function"?a(e):a),e.forEach(d=>{const y=i[d];y&&this.$_registerEventListeners(t,y,r)})},$_removeEventListeners(t){const i=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:r,handler:e}=s;!t||t===r?a.forEach(d=>d.removeEventListener(r,e)):i.push(s)}),this.$_events=i},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,i=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),i&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,i){for(const s of this.$_targetNodes){const a=s.getAttribute(t);a&&(s.removeAttribute(t),s.setAttribute(i,a))}},$_applyAttrsToTarget(t){for(const i of this.$_targetNodes)for(const s in t){const a=t[s];a==null?i.removeAttribute(s):i.setAttribute(s,a)}},$_updateParentShownChildren(t){let i=this.parentPopper;for(;i;)t?i.shownChildren.add(this.randomId):(i.shownChildren.delete(this.randomId),i.$_pendingHide&&i.hide()),i=i.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(Tp>=t.left&&Tp<=t.right&&Ap>=t.top&&Ap<=t.bottom){const i=this.$_popperNode.getBoundingClientRect(),s=Tp-nf,a=Ap-sf,r=i.left+i.width/2-nf+(i.top+i.height/2)-sf+i.width+i.height,e=nf+s*r,d=sf+a*r;return $m(nf,sf,e,d,i.left,i.top,i.left,i.bottom)||$m(nf,sf,e,d,i.left,i.top,i.right,i.top)||$m(nf,sf,e,d,i.right,i.top,i.right,i.bottom)||$m(nf,sf,e,d,i.left,i.bottom,i.right,i.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(C6?(document.addEventListener("touchstart",$w,sh?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",hR,sh?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",$w,!0),window.addEventListener("click",fR,!0)),window.addEventListener("resize",gR));function $w(t){for(let i=0;i<hl.length;i++){const s=hl[i];try{const a=s.popperNode();s.$_mouseDownContains=a.contains(t.target)}catch{}}}function fR(t){S6(t)}function hR(t){S6(t,!0)}function S6(t,i=!1){const s={};for(let a=hl.length-1;a>=0;a--){const r=hl[a];try{const e=r.$_containsGlobalTarget=dR(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!s[r.randomId]&&Hw(r,e,t)){if(r.$_handleGlobalClose(t,i),!t.closeAllPopover&&t.closePopover&&e){let y=r.parentPopper;for(;y;)s[y.randomId]=!0,y=y.parentPopper;return}let d=r.parentPopper;for(;d&&Hw(d,d.$_containsGlobalTarget,t);)d.$_handleGlobalClose(t,i),d=d.parentPopper}})}catch{}}}function dR(t,i){const s=t.popperNode();return t.$_mouseDownContains||s.contains(i.target)}function Hw(t,i,s){return s.closeAllPopover||s.closePopover&&i||pR(t,s)&&!i}function pR(t,i){if(typeof t.autoHide=="function"){const s=t.autoHide(i);return t.lastAutoHide=s,s}return t.autoHide}function gR(t){for(let i=0;i<hl.length;i++)hl[i].$_computePosition(t)}let nf=0,sf=0,Tp=0,Ap=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{nf=Tp,sf=Ap,Tp=t.clientX,Ap=t.clientY},sh?{passive:!0}:void 0);function $m(t,i,s,a,r,e,d,y){const _=((d-r)*(i-e)-(y-e)*(t-r))/((y-e)*(s-t)-(d-r)*(a-i)),E=((s-t)*(i-e)-(a-i)*(t-r))/((y-e)*(s-t)-(d-r)*(a-i));return _>=0&&_<=1&&E>=0&&E<=1}const mR={extends:A6()},lv=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s};function vR(t,i,s,a,r,e){return hn(),Yn("div",{ref:"reference",class:ma(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[rh(t.$slots,"default",SD(x_(t.slotData)))],2)}const bR=lv(mR,[["render",vR]]);function yR(){var t=window.navigator.userAgent,i=t.indexOf("MSIE ");if(i>0)return parseInt(t.substring(i+5,t.indexOf(".",i)),10);var s=t.indexOf("Trident/");if(s>0){var a=t.indexOf("rv:");return parseInt(t.substring(a+3,t.indexOf(".",a)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let Km;function By(){By.init||(By.init=!0,Km=yR()!==-1)}var cv={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){By(),Ql(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Km&&this.$el.appendChild(t),t.data="about:blank",Km||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Km&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const _R=eE();V2("data-v-b329ee4c");const wR={class:"resize-observer",tabindex:"-1"};G2();const DR=_R((t,i,s,a,r,e)=>(hn(),qc("div",wR)));cv.render=DR;cv.__scopeId="data-v-b329ee4c";cv.__file="src/components/ResizeObserver.vue";const k6=(t="theme")=>({computed:{themeClass(){return uR(this[t])}}}),ER=ds({name:"VPopperContent",components:{ResizeObserver:cv},mixins:[k6()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),FR=["id","aria-hidden","tabindex","data-popper-placement"],xR={ref:"inner",class:"v-popper__inner"},CR=zt("div",{class:"v-popper__arrow-outer"},null,-1),TR=zt("div",{class:"v-popper__arrow-inner"},null,-1),AR=[CR,TR];function SR(t,i,s,a,r,e){const d=vl("ResizeObserver");return hn(),Yn("div",{id:t.popperId,ref:"popover",class:ma(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:gl(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:i[2]||(i[2]=eF(y=>t.autoHide&&t.$emit("hide"),["esc"]))},[zt("div",{class:"v-popper__backdrop",onClick:i[0]||(i[0]=y=>t.autoHide&&t.$emit("hide"))}),zt("div",{class:"v-popper__wrapper",style:gl(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[zt("div",xR,[t.mounted?(hn(),Yn(Ni,{key:0},[zt("div",null,[rh(t.$slots,"default")]),t.handleResize?(hn(),qc(d,{key:0,onNotify:i[1]||(i[1]=y=>t.$emit("resize",y))})):so("",!0)],64)):so("",!0)],512),zt("div",{ref:"arrow",class:"v-popper__arrow-container",style:gl(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},AR,4)],4)],46,FR)}const O6=lv(ER,[["render",SR]]),R6={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},kR=ds({name:"VPopperWrapper",components:{Popper:bR,PopperContent:O6},mixins:[R6,k6("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function OR(t,i,s,a,r,e){const d=vl("PopperContent"),y=vl("Popper");return hn(),qc(y,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:ma([t.themeClass])},{default:Es(({popperId:_,isShown:E,shouldMountContent:x,skipTransition:A,autoHide:R,show:L,hide:B,handleResize:I,onResize:G,classes:z,result:Q})=>[rh(t.$slots,"default",{shown:E,show:L,hide:B}),Yr(d,{ref:"popperContent","popper-id":_,theme:t.finalTheme,shown:E,mounted:x,"skip-transition":A,"auto-hide":R,"handle-resize":I,classes:z,result:Q,onHide:B,onResize:G},{default:Es(()=>[rh(t.$slots,"popper",{shown:E,hide:B})]),_: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 a4=lv(kR,[["render",OR]]),RR={...a4,name:"VDropdown",vPopperTheme:"dropdown"},PR={...a4,name:"VMenu",vPopperTheme:"menu"},IR={...a4,name:"VTooltip",vPopperTheme:"tooltip"},NR=ds({name:"VTooltipDirective",components:{Popper:A6(),PopperContent:O6},mixins:[R6],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Gp(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Gp(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const i=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(i,a)):this.onResult(i,s)}},onResult(t,i){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=i)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),MR=["innerHTML"],LR=["textContent"];function BR(t,i,s,a,r,e){const d=vl("PopperContent"),y=vl("Popper");return hn(),qc(y,X2({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Es(({popperId:_,isShown:E,shouldMountContent:x,skipTransition:A,autoHide:R,hide:L,handleResize:B,onResize:I,classes:G,result:z})=>[Yr(d,{ref:"popperContent",class:ma({"v-popper--tooltip-loading":t.loading}),"popper-id":_,theme:t.theme,shown:E,mounted:x,"skip-transition":A,"auto-hide":R,"handle-resize":B,classes:G,result:z,onHide:L,onResize:I},{default:Es(()=>[t.html?(hn(),Yn("div",{key:0,innerHTML:t.finalContent},null,8,MR)):(hn(),Yn("div",{key:1,textContent:rs(t.finalContent)},null,8,LR))]),_: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 UR=lv(NR,[["render",BR]]),P6="v-popper--has-tooltip";function $R(t,i){let s=t.placement;if(!s&&i)for(const a of T6)i[a]&&(s=a);return s||(s=Gp(t.theme||"tooltip","placement")),s}function I6(t,i,s){let a;const r=typeof i;return r==="string"?a={content:i}:i&&r==="object"?a=i:a={content:!1},a.placement=$R(a,s),a.targetNodes=()=>[t],a.referenceNode=()=>t,a}let jb,Yp,HR=0;function WR(){if(jb)return;Yp=dr([]),jb=R_({name:"VTooltipDirectiveApp",setup(){return{directives:Yp}},render(){return this.directives.map(i=>uh(UR,{...i.options,shown:i.shown||i.options.shown,key:i.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),jb.mount(t)}function zR(t,i,s){WR();const a=dr(I6(t,i,s)),r=dr(!1),e={id:HR++,options:a,shown:r};return Yp.value.push(e),t.classList&&t.classList.add(P6),t.$_popper={options:a,item:e,show(){r.value=!0},hide(){r.value=!1}}}function N6(t){if(t.$_popper){const i=Yp.value.indexOf(t.$_popper.item);i!==-1&&Yp.value.splice(i,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(P6)}function Ww(t,{value:i,modifiers:s}){const a=I6(t,i,s);if(!a.content||Gp(a.theme||"tooltip","disabled"))N6(t);else{let r;t.$_popper?(r=t.$_popper,r.options.value=a):r=zR(t,i,s),typeof i.shown<"u"&&i.shown!==t.$_popperOldShown&&(t.$_popperOldShown=i.shown,i.shown?r.show():r.hide())}}const jR={beforeMount:Ww,updated:Ww,beforeUnmount(t){N6(t)}};function zw(t){t.addEventListener("click",M6),t.addEventListener("touchstart",L6,sh?{passive:!0}:!1)}function jw(t){t.removeEventListener("click",M6),t.removeEventListener("touchstart",L6),t.removeEventListener("touchend",B6),t.removeEventListener("touchcancel",U6)}function M6(t){const i=t.currentTarget;t.closePopover=!i.$_vclosepopover_touch,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}function L6(t){if(t.changedTouches.length===1){const i=t.currentTarget;i.$_vclosepopover_touch=!0;const s=t.changedTouches[0];i.$_vclosepopover_touchPoint=s,i.addEventListener("touchend",B6),i.addEventListener("touchcancel",U6)}}function B6(t){const i=t.currentTarget;if(i.$_vclosepopover_touch=!1,t.changedTouches.length===1){const s=t.changedTouches[0],a=i.$_vclosepopover_touchPoint;t.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}}function U6(t){const i=t.currentTarget;i.$_vclosepopover_touch=!1}const VR={beforeMount(t,{value:i,modifiers:s}){t.$_closePopoverModifiers=s,(typeof i>"u"||i)&&zw(t)},updated(t,{value:i,oldValue:s,modifiers:a}){t.$_closePopoverModifiers=a,i!==s&&(typeof i>"u"||i?zw(t):jw(t))},beforeUnmount(t){jw(t)}};function GR(t,i={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,x6(jc,i),t.directive("tooltip",jR),t.directive("close-popper",VR),t.component("VTooltip",IR),t.component("VDropdown",RR),t.component("VMenu",PR))}const YR={version:"2.0.0-beta.24",install:GR,options:jc};class uv{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(i){const s={listener:i};return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const fv=typeof window>"u"||"Deno"in window;function cl(){}function qR(t,i){return typeof t=="function"?t(i):t}function KR(t){return typeof t=="number"&&t>=0&&t!==1/0}function QR(t,i){return Math.max(t+(i||0)-Date.now(),0)}function Hm(t,i,s){return hv(t)?typeof i=="function"?{...s,queryKey:t,queryFn:i}:{...i,queryKey:t}:t}function hf(t,i,s){return hv(t)?[{...i,queryKey:t},s]:[t||{},i]}function Vw(t,i){const{type:s="all",exact:a,fetchStatus:r,predicate:e,queryKey:d,stale:y}=t;if(hv(d)){if(a){if(i.queryHash!==o4(d,i.options))return!1}else if(!C2(i.queryKey,d))return!1}if(s!=="all"){const _=i.isActive();if(s==="active"&&!_||s==="inactive"&&_)return!1}return!(typeof y=="boolean"&&i.isStale()!==y||typeof r<"u"&&r!==i.state.fetchStatus||e&&!e(i))}function Gw(t,i){const{exact:s,fetching:a,predicate:r,mutationKey:e}=t;if(hv(e)){if(!i.options.mutationKey)return!1;if(s){if(q0(i.options.mutationKey)!==q0(e))return!1}else if(!C2(i.options.mutationKey,e))return!1}return!(typeof a=="boolean"&&i.state.status==="loading"!==a||r&&!r(i))}function o4(t,i){return((i==null?void 0:i.queryKeyHashFn)||q0)(t)}function q0(t){return JSON.stringify(t,(i,s)=>Uy(s)?Object.keys(s).sort().reduce((a,r)=>(a[r]=s[r],a),{}):s)}function C2(t,i){return $6(t,i)}function $6(t,i){return t===i?!0:typeof t!=typeof i?!1:t&&i&&typeof t=="object"&&typeof i=="object"?!Object.keys(i).some(s=>!$6(t[s],i[s])):!1}function H6(t,i){if(t===i)return t;const s=Yw(t)&&Yw(i);if(s||Uy(t)&&Uy(i)){const a=s?t.length:Object.keys(t).length,r=s?i:Object.keys(i),e=r.length,d=s?[]:{};let y=0;for(let _=0;_<e;_++){const E=s?_:r[_];d[E]=H6(t[E],i[E]),d[E]===t[E]&&y++}return a===e&&y===a?t:d}return i}function eM(t,i){if(t&&!i||i&&!t)return!1;for(const s in t)if(t[s]!==i[s])return!1;return!0}function Yw(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Uy(t){if(!qw(t))return!1;const i=t.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!qw(s)||!s.hasOwnProperty("isPrototypeOf"))}function qw(t){return Object.prototype.toString.call(t)==="[object Object]"}function hv(t){return Array.isArray(t)}function W6(t){return new Promise(i=>{setTimeout(i,t)})}function Kw(t){W6(0).then(t)}function XR(){if(typeof AbortController=="function")return new AbortController}function JR(t,i,s){return s.isDataEqual!=null&&s.isDataEqual(t,i)?t:typeof s.structuralSharing=="function"?s.structuralSharing(t,i):s.structuralSharing!==!1?H6(t,i):i}class ZR extends uv{constructor(){super(),this.setup=i=>{if(!fv&&window.addEventListener){const s=()=>i();return window.addEventListener("visibilitychange",s,!1),window.addEventListener("focus",s,!1),()=>{window.removeEventListener("visibilitychange",s),window.removeEventListener("focus",s)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(i){this.focused!==i&&(this.focused=i,this.onFocus())}onFocus(){this.listeners.forEach(({listener:i})=>{i()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const $y=new ZR,Qw=["online","offline"];class eP extends uv{constructor(){super(),this.setup=i=>{if(!fv&&window.addEventListener){const s=()=>i();return Qw.forEach(a=>{window.addEventListener(a,s,!1)}),()=>{Qw.forEach(a=>{window.removeEventListener(a,s)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setOnline(a):this.onOnline()})}setOnline(i){this.online!==i&&(this.online=i,this.onOnline())}onOnline(){this.listeners.forEach(({listener:i})=>{i()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const T2=new eP;function tP(t){return Math.min(1e3*2**t,3e4)}function l4(t){return(t??"online")==="online"?T2.isOnline():!0}class z6{constructor(i){this.revert=i==null?void 0:i.revert,this.silent=i==null?void 0:i.silent}}function Vb(t){return t instanceof z6}function j6(t){let i=!1,s=0,a=!1,r,e,d;const y=new Promise((G,z)=>{e=G,d=z}),_=G=>{a||(L(new z6(G)),t.abort==null||t.abort())},E=()=>{i=!0},x=()=>{i=!1},A=()=>!$y.isFocused()||t.networkMode!=="always"&&!T2.isOnline(),R=G=>{a||(a=!0,t.onSuccess==null||t.onSuccess(G),r==null||r(),e(G))},L=G=>{a||(a=!0,t.onError==null||t.onError(G),r==null||r(),d(G))},B=()=>new Promise(G=>{r=z=>{const Q=a||!A();return Q&&G(z),Q},t.onPause==null||t.onPause()}).then(()=>{r=void 0,a||t.onContinue==null||t.onContinue()}),I=()=>{if(a)return;let G;try{G=t.fn()}catch(z){G=Promise.reject(z)}Promise.resolve(G).then(R).catch(z=>{var Q,ce;if(a)return;const Y=(Q=t.retry)!=null?Q:3,V=(ce=t.retryDelay)!=null?ce:tP,Z=typeof V=="function"?V(s,z):V,ie=Y===!0||typeof Y=="number"&&s<Y||typeof Y=="function"&&Y(s,z);if(i||!ie){L(z);return}s++,t.onFail==null||t.onFail(s,z),W6(Z).then(()=>{if(A())return B()}).then(()=>{i?L(z):I()})})};return l4(t.networkMode)?I():B().then(I),{promise:y,cancel:_,continue:()=>(r==null?void 0:r())?y:Promise.resolve(),cancelRetry:E,continueRetry:x}}const c4=console;function rP(){let t=[],i=0,s=x=>{x()},a=x=>{x()};const r=x=>{let A;i++;try{A=x()}finally{i--,i||y()}return A},e=x=>{i?t.push(x):Kw(()=>{s(x)})},d=x=>(...A)=>{e(()=>{x(...A)})},y=()=>{const x=t;t=[],x.length&&Kw(()=>{a(()=>{x.forEach(A=>{s(A)})})})};return{batch:r,batchCalls:d,schedule:e,setNotifyFunction:x=>{s=x},setBatchNotifyFunction:x=>{a=x}}}const pa=rP();class V6{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),KR(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(i){this.cacheTime=Math.max(this.cacheTime||0,i??(fv?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class nP extends V6{constructor(i){super(),this.abortSignalConsumed=!1,this.defaultOptions=i.defaultOptions,this.setOptions(i.options),this.observers=[],this.cache=i.cache,this.logger=i.logger||c4,this.queryKey=i.queryKey,this.queryHash=i.queryHash,this.initialState=i.state||iP(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(i,s){const a=JR(this.state.data,i,this.options);return this.dispatch({data:a,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),a}setState(i,s){this.dispatch({type:"setState",state:i,setStateOptions:s})}cancel(i){var s;const a=this.promise;return(s=this.retryer)==null||s.cancel(i),a?a.then(cl).catch(cl):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(i=>i.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(i=>i.getCurrentResult().isStale)}isStaleByTime(i=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!QR(this.state.dataUpdatedAt,i)}onFocus(){var i;const s=this.observers.find(a=>a.shouldFetchOnWindowFocus());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}onOnline(){var i;const s=this.observers.find(a=>a.shouldFetchOnReconnect());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:i}))}removeObserver(i){this.observers.includes(i)&&(this.observers=this.observers.filter(s=>s!==i),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:i}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(i,s){var a,r;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&s!=null&&s.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var e;return(e=this.retryer)==null||e.continueRetry(),this.promise}}if(i&&this.setOptions(i),!this.options.queryFn){const L=this.observers.find(B=>B.options.queryFn);L&&this.setOptions(L.options)}Array.isArray(this.options.queryKey);const d=XR(),y={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},_=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>{if(d)return this.abortSignalConsumed=!0,d.signal}})};_(y);const E=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(y)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),x={fetchOptions:s,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:E};if(_(x),(a=this.options.behavior)==null||a.onFetch(x),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((r=x.fetchOptions)==null?void 0:r.meta)){var A;this.dispatch({type:"fetch",meta:(A=x.fetchOptions)==null?void 0:A.meta})}const R=L=>{if(Vb(L)&&L.silent||this.dispatch({type:"error",error:L}),!Vb(L)){var B,I,G,z;(B=(I=this.cache.config).onError)==null||B.call(I,L,this),(G=(z=this.cache.config).onSettled)==null||G.call(z,this.state.data,L,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=j6({fn:x.fetchFn,abort:d==null?void 0:d.abort.bind(d),onSuccess:L=>{var B,I,G,z;if(typeof L>"u"){R(new Error(this.queryHash+" data is undefined"));return}this.setData(L),(B=(I=this.cache.config).onSuccess)==null||B.call(I,L,this),(G=(z=this.cache.config).onSettled)==null||G.call(z,L,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:R,onFail:(L,B)=>{this.dispatch({type:"failed",failureCount:L,error:B})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:x.options.retry,retryDelay:x.options.retryDelay,networkMode:x.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(i){const s=a=>{var r,e;switch(i.type){case"failed":return{...a,fetchFailureCount:i.failureCount,fetchFailureReason:i.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(r=i.meta)!=null?r:null,fetchStatus:l4(this.options.networkMode)?"fetching":"paused",...!a.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...a,data:i.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:(e=i.dataUpdatedAt)!=null?e:Date.now(),error:null,isInvalidated:!1,status:"success",...!i.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const d=i.error;return Vb(d)&&d.revert&&this.revertState?{...this.revertState}:{...a,error:d,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:d,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...i.state}}};this.state=s(this.state),pa.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate(i)}),this.cache.notify({query:this,type:"updated",action:i})})}}function iP(t){const i=typeof t.initialData=="function"?t.initialData():t.initialData,s=typeof i<"u",a=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"loading",fetchStatus:"idle"}}let G6=class extends uv{constructor(i){super(),this.config=i||{},this.queries=[],this.queriesMap={}}build(i,s,a){var r;const e=s.queryKey,d=(r=s.queryHash)!=null?r:o4(e,s);let y=this.get(d);return y||(y=new nP({cache:this,logger:i.getLogger(),queryKey:e,queryHash:d,options:i.defaultQueryOptions(s),state:a,defaultOptions:i.getQueryDefaults(e)}),this.add(y)),y}add(i){this.queriesMap[i.queryHash]||(this.queriesMap[i.queryHash]=i,this.queries.push(i),this.notify({type:"added",query:i}))}remove(i){const s=this.queriesMap[i.queryHash];s&&(i.destroy(),this.queries=this.queries.filter(a=>a!==i),s===i&&delete this.queriesMap[i.queryHash],this.notify({type:"removed",query:i}))}clear(){pa.batch(()=>{this.queries.forEach(i=>{this.remove(i)})})}get(i){return this.queriesMap[i]}getAll(){return this.queries}find(i,s){const[a]=hf(i,s);return typeof a.exact>"u"&&(a.exact=!0),this.queries.find(r=>Vw(a,r))}findAll(i,s){const[a]=hf(i,s);return Object.keys(a).length>0?this.queries.filter(r=>Vw(a,r)):this.queries}notify(i){pa.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}onFocus(){pa.batch(()=>{this.queries.forEach(i=>{i.onFocus()})})}onOnline(){pa.batch(()=>{this.queries.forEach(i=>{i.onOnline()})})}};class sP extends V6{constructor(i){super(),this.defaultOptions=i.defaultOptions,this.mutationId=i.mutationId,this.mutationCache=i.mutationCache,this.logger=i.logger||c4,this.observers=[],this.state=i.state||aP(),this.setOptions(i.options),this.scheduleGc()}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(i){this.dispatch({type:"setState",state:i})}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:i}))}removeObserver(i){this.observers=this.observers.filter(s=>s!==i),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:i})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var i,s;return(i=(s=this.retryer)==null?void 0:s.continue())!=null?i:this.execute()}async execute(){const i=()=>{var ie;return this.retryer=j6({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(U,H)=>{this.dispatch({type:"failed",failureCount:U,error:H})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(ie=this.options.retry)!=null?ie:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},s=this.state.status==="loading";try{var a,r,e,d,y,_,E,x;if(!s){var A,R,L,B;this.dispatch({type:"loading",variables:this.options.variables}),await((A=(R=this.mutationCache.config).onMutate)==null?void 0:A.call(R,this.state.variables,this));const U=await((L=(B=this.options).onMutate)==null?void 0:L.call(B,this.state.variables));U!==this.state.context&&this.dispatch({type:"loading",context:U,variables:this.state.variables})}const ie=await i();return await((a=(r=this.mutationCache.config).onSuccess)==null?void 0:a.call(r,ie,this.state.variables,this.state.context,this)),await((e=(d=this.options).onSuccess)==null?void 0:e.call(d,ie,this.state.variables,this.state.context)),await((y=(_=this.mutationCache.config).onSettled)==null?void 0:y.call(_,ie,null,this.state.variables,this.state.context,this)),await((E=(x=this.options).onSettled)==null?void 0:E.call(x,ie,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:ie}),ie}catch(ie){try{var I,G,z,Q,ce,Y,V,Z;throw await((I=(G=this.mutationCache.config).onError)==null?void 0:I.call(G,ie,this.state.variables,this.state.context,this)),await((z=(Q=this.options).onError)==null?void 0:z.call(Q,ie,this.state.variables,this.state.context)),await((ce=(Y=this.mutationCache.config).onSettled)==null?void 0:ce.call(Y,void 0,ie,this.state.variables,this.state.context,this)),await((V=(Z=this.options).onSettled)==null?void 0:V.call(Z,void 0,ie,this.state.variables,this.state.context)),ie}finally{this.dispatch({type:"error",error:ie})}}}dispatch(i){const s=a=>{switch(i.type){case"failed":return{...a,failureCount:i.failureCount,failureReason:i.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"loading":return{...a,context:i.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!l4(this.options.networkMode),status:"loading",variables:i.variables};case"success":return{...a,data:i.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:i.error,failureCount:a.failureCount+1,failureReason:i.error,isPaused:!1,status:"error"};case"setState":return{...a,...i.state}}};this.state=s(this.state),pa.batch(()=>{this.observers.forEach(a=>{a.onMutationUpdate(i)}),this.mutationCache.notify({mutation:this,type:"updated",action:i})})}}function aP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let Y6=class extends uv{constructor(i){super(),this.config=i||{},this.mutations=[],this.mutationId=0}build(i,s,a){const r=new sP({mutationCache:this,logger:i.getLogger(),mutationId:++this.mutationId,options:i.defaultMutationOptions(s),state:a,defaultOptions:s.mutationKey?i.getMutationDefaults(s.mutationKey):void 0});return this.add(r),r}add(i){this.mutations.push(i),this.notify({type:"added",mutation:i})}remove(i){this.mutations=this.mutations.filter(s=>s!==i),this.notify({type:"removed",mutation:i})}clear(){pa.batch(()=>{this.mutations.forEach(i=>{this.remove(i)})})}getAll(){return this.mutations}find(i){return typeof i.exact>"u"&&(i.exact=!0),this.mutations.find(s=>Gw(i,s))}findAll(i){return this.mutations.filter(s=>Gw(i,s))}notify(i){pa.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}resumePausedMutations(){var i;return this.resuming=((i=this.resuming)!=null?i:Promise.resolve()).then(()=>{const s=this.mutations.filter(a=>a.state.isPaused);return pa.batch(()=>s.reduce((a,r)=>a.then(()=>r.continue().catch(cl)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};function oP(){return{onFetch:t=>{t.fetchFn=()=>{var i,s,a,r,e,d;const y=(i=t.fetchOptions)==null||(s=i.meta)==null?void 0:s.refetchPage,_=(a=t.fetchOptions)==null||(r=a.meta)==null?void 0:r.fetchMore,E=_==null?void 0:_.pageParam,x=(_==null?void 0:_.direction)==="forward",A=(_==null?void 0:_.direction)==="backward",R=((e=t.state.data)==null?void 0:e.pages)||[],L=((d=t.state.data)==null?void 0:d.pageParams)||[];let B=L,I=!1;const G=Z=>{Object.defineProperty(Z,"signal",{enumerable:!0,get:()=>{var ie;if((ie=t.signal)!=null&&ie.aborted)I=!0;else{var U;(U=t.signal)==null||U.addEventListener("abort",()=>{I=!0})}return t.signal}})},z=t.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+t.options.queryHash+"'")),Q=(Z,ie,U,H)=>(B=H?[ie,...B]:[...B,ie],H?[U,...Z]:[...Z,U]),ce=(Z,ie,U,H)=>{if(I)return Promise.reject("Cancelled");if(typeof U>"u"&&!ie&&Z.length)return Promise.resolve(Z);const te={queryKey:t.queryKey,pageParam:U,meta:t.options.meta};G(te);const fe=z(te);return Promise.resolve(fe).then(ye=>Q(Z,U,ye,H))};let Y;if(!R.length)Y=ce([]);else if(x){const Z=typeof E<"u",ie=Z?E:Xw(t.options,R);Y=ce(R,Z,ie)}else if(A){const Z=typeof E<"u",ie=Z?E:lP(t.options,R);Y=ce(R,Z,ie,!0)}else{B=[];const Z=typeof t.options.getNextPageParam>"u";Y=(y&&R[0]?y(R[0],0,R):!0)?ce([],Z,L[0]):Promise.resolve(Q([],L[0],R[0]));for(let U=1;U<R.length;U++)Y=Y.then(H=>{if(y&&R[U]?y(R[U],U,R):!0){const fe=Z?L[U]:Xw(t.options,H);return ce(H,Z,fe)}return Promise.resolve(Q(H,L[U],R[U]))})}return Y.then(Z=>({pages:Z,pageParams:B}))}}}}function Xw(t,i){return t.getNextPageParam==null?void 0:t.getNextPageParam(i[i.length-1],i)}function lP(t,i){return t.getPreviousPageParam==null?void 0:t.getPreviousPageParam(i[0],i)}let cP=class{constructor(i={}){this.queryCache=i.queryCache||new G6,this.mutationCache=i.mutationCache||new Y6,this.logger=i.logger||c4,this.defaultOptions=i.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=$y.subscribe(()=>{$y.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=T2.subscribe(()=>{T2.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var i,s;this.mountCount--,this.mountCount===0&&((i=this.unsubscribeFocus)==null||i.call(this),this.unsubscribeFocus=void 0,(s=this.unsubscribeOnline)==null||s.call(this),this.unsubscribeOnline=void 0)}isFetching(i,s){const[a]=hf(i,s);return a.fetchStatus="fetching",this.queryCache.findAll(a).length}isMutating(i){return this.mutationCache.findAll({...i,fetching:!0}).length}getQueryData(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state.data}ensureQueryData(i,s,a){const r=Hm(i,s,a),e=this.getQueryData(r.queryKey);return e?Promise.resolve(e):this.fetchQuery(r)}getQueriesData(i){return this.getQueryCache().findAll(i).map(({queryKey:s,state:a})=>{const r=a.data;return[s,r]})}setQueryData(i,s,a){const r=this.queryCache.find(i),e=r==null?void 0:r.state.data,d=qR(s,e);if(typeof d>"u")return;const y=Hm(i),_=this.defaultQueryOptions(y);return this.queryCache.build(this,_).setData(d,{...a,manual:!0})}setQueriesData(i,s,a){return pa.batch(()=>this.getQueryCache().findAll(i).map(({queryKey:r})=>[r,this.setQueryData(r,s,a)]))}getQueryState(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state}removeQueries(i,s){const[a]=hf(i,s),r=this.queryCache;pa.batch(()=>{r.findAll(a).forEach(e=>{r.remove(e)})})}resetQueries(i,s,a){const[r,e]=hf(i,s,a),d=this.queryCache,y={type:"active",...r};return pa.batch(()=>(d.findAll(r).forEach(_=>{_.reset()}),this.refetchQueries(y,e)))}cancelQueries(i,s,a){const[r,e={}]=hf(i,s,a);typeof e.revert>"u"&&(e.revert=!0);const d=pa.batch(()=>this.queryCache.findAll(r).map(y=>y.cancel(e)));return Promise.all(d).then(cl).catch(cl)}invalidateQueries(i,s,a){const[r,e]=hf(i,s,a);return pa.batch(()=>{var d,y;if(this.queryCache.findAll(r).forEach(E=>{E.invalidate()}),r.refetchType==="none")return Promise.resolve();const _={...r,type:(d=(y=r.refetchType)!=null?y:r.type)!=null?d:"active"};return this.refetchQueries(_,e)})}refetchQueries(i,s,a){const[r,e]=hf(i,s,a),d=pa.batch(()=>this.queryCache.findAll(r).filter(_=>!_.isDisabled()).map(_=>{var E;return _.fetch(void 0,{...e,cancelRefetch:(E=e==null?void 0:e.cancelRefetch)!=null?E:!0,meta:{refetchPage:r.refetchPage}})}));let y=Promise.all(d).then(cl);return e!=null&&e.throwOnError||(y=y.catch(cl)),y}fetchQuery(i,s,a){const r=Hm(i,s,a),e=this.defaultQueryOptions(r);typeof e.retry>"u"&&(e.retry=!1);const d=this.queryCache.build(this,e);return d.isStaleByTime(e.staleTime)?d.fetch(e):Promise.resolve(d.state.data)}prefetchQuery(i,s,a){return this.fetchQuery(i,s,a).then(cl).catch(cl)}fetchInfiniteQuery(i,s,a){const r=Hm(i,s,a);return r.behavior=oP(),this.fetchQuery(r)}prefetchInfiniteQuery(i,s,a){return this.fetchInfiniteQuery(i,s,a).then(cl).catch(cl)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(i){this.defaultOptions=i}setQueryDefaults(i,s){const a=this.queryDefaults.find(r=>q0(i)===q0(r.queryKey));a?a.defaultOptions=s:this.queryDefaults.push({queryKey:i,defaultOptions:s})}getQueryDefaults(i){if(!i)return;const s=this.queryDefaults.find(a=>C2(i,a.queryKey));return s==null?void 0:s.defaultOptions}setMutationDefaults(i,s){const a=this.mutationDefaults.find(r=>q0(i)===q0(r.mutationKey));a?a.defaultOptions=s:this.mutationDefaults.push({mutationKey:i,defaultOptions:s})}getMutationDefaults(i){if(!i)return;const s=this.mutationDefaults.find(a=>C2(i,a.mutationKey));return s==null?void 0:s.defaultOptions}defaultQueryOptions(i){if(i!=null&&i._defaulted)return i;const s={...this.defaultOptions.queries,...this.getQueryDefaults(i==null?void 0:i.queryKey),...i,_defaulted:!0};return!s.queryHash&&s.queryKey&&(s.queryHash=o4(s.queryKey,s)),typeof s.refetchOnReconnect>"u"&&(s.refetchOnReconnect=s.networkMode!=="always"),typeof s.useErrorBoundary>"u"&&(s.useErrorBoundary=!!s.suspense),s}defaultMutationOptions(i){return i!=null&&i._defaulted?i:{...this.defaultOptions.mutations,...this.getMutationDefaults(i==null?void 0:i.mutationKey),...i,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};const uP="VUE_QUERY_CLIENT";function fP(t){const i=t?":"+t:"";return""+uP+i}function ll(t){return Array.isArray(t)}function iM(t,i){Object.keys(t).forEach(s=>{t[s]=i[s]})}function Hy(t,i){if(i){const s=i(t);if(s!==void 0||Ln(t))return s}if(Array.isArray(t))return t.map(s=>Hy(s,i));if(typeof t=="object"&&hP(t)){const s=Object.entries(t).map(([a,r])=>[a,Hy(r,i)]);return Object.fromEntries(s)}return t}function Cr(t){return Hy(t,i=>{if(Ln(i))return Cr(vr(i))})}function hP(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const i=Object.getPrototypeOf(t);return i===null||i===Object.prototype}function sM(t,i){return typeof t=="function"?t(...i):!!t}class dP extends G6{find(i,s){const a=Cr(i),r=Cr(s);return super.find(a,r)}findAll(i,s){const a=Cr(i),r=Cr(s);return ll(a)?super.findAll(a,r):super.findAll(a)}}class pP extends Y6{find(i){return super.find(Cr(i))}findAll(i){return super.findAll(Cr(i))}}class Jw extends cP{constructor(i={}){const s=Cr(i),a={logger:Cr(s.logger),defaultOptions:Cr(s.defaultOptions),queryCache:s.queryCache||new dP,mutationCache:s.mutationCache||new pP};super(a),this.isRestoring=dr(!1)}isFetching(i,s){const a=Cr(i),r=Cr(s);return ll(a)?super.isFetching(a,r):super.isFetching(a)}isMutating(i){return super.isMutating(Cr(i))}getQueryData(i,s){return super.getQueryData(Cr(i),Cr(s))}getQueriesData(i){const s=Cr(i);return ll(s)?super.getQueriesData(s):super.getQueriesData(s)}setQueryData(i,s,a){return super.setQueryData(Cr(i),s,Cr(a))}setQueriesData(i,s,a){const r=Cr(i),e=Cr(a);return ll(r)?super.setQueriesData(r,s,e):super.setQueriesData(r,s,e)}getQueryState(i,s){return super.getQueryState(Cr(i),Cr(s))}removeQueries(i,s){const a=Cr(i);return ll(a)?super.removeQueries(a,Cr(s)):super.removeQueries(a)}resetQueries(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.resetQueries(r,e,Cr(a)):super.resetQueries(r,e)}cancelQueries(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.cancelQueries(r,e,Cr(a)):super.cancelQueries(r,e)}invalidateQueries(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.invalidateQueries(r,e,Cr(a)):super.invalidateQueries(r,e)}refetchQueries(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.refetchQueries(r,e,Cr(a)):super.refetchQueries(r,e)}fetchQuery(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.fetchQuery(r,e,Cr(a)):super.fetchQuery(r)}prefetchQuery(i,s,a){return super.prefetchQuery(Cr(i),Cr(s),Cr(a))}fetchInfiniteQuery(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.fetchInfiniteQuery(r,e,Cr(a)):super.fetchInfiniteQuery(r)}prefetchInfiniteQuery(i,s,a){return super.prefetchInfiniteQuery(Cr(i),Cr(s),Cr(a))}setDefaultOptions(i){super.setDefaultOptions(Cr(i))}setQueryDefaults(i,s){super.setQueryDefaults(Cr(i),Cr(s))}getQueryDefaults(i){return super.getQueryDefaults(Cr(i))}setMutationDefaults(i,s){super.setMutationDefaults(Cr(i),Cr(s))}getMutationDefaults(i){return super.getMutationDefaults(Cr(i))}}const gP={install:(t,i={})=>{const s=fP(i.queryClientKey);let a;if("queryClient"in i&&i.queryClient)a=i.queryClient;else if(i.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)a=window.__VUE_QUERY_CONTEXT__;else{const d="queryClientConfig"in i?i.queryClientConfig:void 0;a=new Jw(d),window.__VUE_QUERY_CONTEXT__=a}else{const d="queryClientConfig"in i?i.queryClientConfig:void 0;a=new Jw(d)}fv||a.mount();let r=()=>{};if(i.clientPersister){a.isRestoring.value=!0;const[d,y]=i.clientPersister(a);r=d,y.then(()=>{a.isRestoring.value=!1})}const e=()=>{a.unmount(),r()};if(t.onUnmount)t.onUnmount(e);else{const d=t.unmount;t.unmount=function(){e(),d()}}t.provide(s,a)}};let mP;function vP(){return mP}function bP(t){return typeof t=="function"?t():vr(t)}function Wy(t,i=""){if(t instanceof Promise)return t;const s=bP(t);return!t||!s?s:Array.isArray(s)?s.map(a=>Wy(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,vr(r)]:[a,Wy(r,a)])):s}const yP="usehead";function _P(){return Cs()&&va(yP)||vP()}function wP(t,i={}){const s=_P();if(s)return s.ssr?s.push(t,i):DP(s,t,i)}function DP(t,i,s={}){const a=dr(!1),r=dr({});g_(()=>{r.value=a.value?{}:Wy(i)});const e=t.push(r.value,s);return Qn(r,y=>{e.patch(y)}),Cs()&&(eg(()=>{e.dispose()}),y_(()=>{a.value=!0}),b_(()=>{a.value=!1})),e}const EP=ds({__name:"App",setup(t){return wP({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>d6.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>w9.value?"/favicon-dark.svg":"/favicon.svg"}]}),(i,s)=>{const a=vl("RouterView");return hn(),qc(a)}}});var FP=Object.defineProperty,Zw=Object.getOwnPropertySymbols,xP=Object.prototype.hasOwnProperty,CP=Object.prototype.propertyIsEnumerable,eD=(t,i,s)=>i in t?FP(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,tD=(t,i)=>{for(var s in i||(i={}))xP.call(i,s)&&eD(t,s,i[s]);if(Zw)for(var s of Zw(i))CP.call(i,s)&&eD(t,s,i[s]);return t};const Gb=new WeakMap;function q6(t,i,s={}){const{mode:a="replace",route:r=jS(),router:e=zS(),transform:d=x=>x}=s;Gb.has(r)||Gb.set(r,new Map);const y=Gb.get(r);ql(()=>{y.delete(t)}),y.set(t,r.query[t]);let _;const E=u_((x,A)=>(_=A,{get(){x();const R=y.get(t);return d(R!==void 0?R:Ri(i))},set(R){y.get(t)!==R&&(y.set(t,R),A(),Ql(()=>{const{params:L,query:B,hash:I}=r;e[Ri(a)]({params:L,query:tD(tD({},B),Object.fromEntries(y.entries())),hash:I})}))}}));return Qn(()=>r.query[t],x=>{y.set(t,x),_()},{flush:"sync"}),E}var K6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){var s=1e3,a=6e4,r=36e5,e="millisecond",d="second",y="minute",_="hour",E="day",x="week",A="month",R="quarter",L="year",B="date",I="Invalid Date",G=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,z=/\[([^\]]+)]|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,Q={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(ye){var be=["th","st","nd","rd"],$e=ye%100;return"["+ye+(be[($e-20)%10]||be[$e]||be[0])+"]"}},ce=function(ye,be,$e){var je=String(ye);return!je||je.length>=be?ye:""+Array(be+1-je.length).join($e)+ye},Y={s:ce,z:function(ye){var be=-ye.utcOffset(),$e=Math.abs(be),je=Math.floor($e/60),Fe=$e%60;return(be<=0?"+":"-")+ce(je,2,"0")+":"+ce(Fe,2,"0")},m:function ye(be,$e){if(be.date()<$e.date())return-ye($e,be);var je=12*($e.year()-be.year())+($e.month()-be.month()),Fe=be.clone().add(je,A),lt=$e-Fe<0,Xe=be.clone().add(je+(lt?-1:1),A);return+(-(je+($e-Fe)/(lt?Fe-Xe:Xe-Fe))||0)},a:function(ye){return ye<0?Math.ceil(ye)||0:Math.floor(ye)},p:function(ye){return{M:A,y:L,w:x,d:E,D:B,h:_,m:y,s:d,ms:e,Q:R}[ye]||String(ye||"").toLowerCase().replace(/s$/,"")},u:function(ye){return ye===void 0}},V="en",Z={};Z[V]=Q;var ie=function(ye){return ye instanceof fe},U=function ye(be,$e,je){var Fe;if(!be)return V;if(typeof be=="string"){var lt=be.toLowerCase();Z[lt]&&(Fe=lt),$e&&(Z[lt]=$e,Fe=lt);var Xe=be.split("-");if(!Fe&&Xe.length>1)return ye(Xe[0])}else{var Je=be.name;Z[Je]=be,Fe=Je}return!je&&Fe&&(V=Fe),Fe||!je&&V},H=function(ye,be){if(ie(ye))return ye.clone();var $e=typeof be=="object"?be:{};return $e.date=ye,$e.args=arguments,new fe($e)},te=Y;te.l=U,te.i=ie,te.w=function(ye,be){return H(ye,{locale:be.$L,utc:be.$u,x:be.$x,$offset:be.$offset})};var fe=function(){function ye($e){this.$L=U($e.locale,null,!0),this.parse($e)}var be=ye.prototype;return be.parse=function($e){this.$d=function(je){var Fe=je.date,lt=je.utc;if(Fe===null)return new Date(NaN);if(te.u(Fe))return new Date;if(Fe instanceof Date)return new Date(Fe);if(typeof Fe=="string"&&!/Z$/i.test(Fe)){var Xe=Fe.match(G);if(Xe){var Je=Xe[2]-1||0,de=(Xe[7]||"0").substring(0,3);return lt?new Date(Date.UTC(Xe[1],Je,Xe[3]||1,Xe[4]||0,Xe[5]||0,Xe[6]||0,de)):new Date(Xe[1],Je,Xe[3]||1,Xe[4]||0,Xe[5]||0,Xe[6]||0,de)}}return new Date(Fe)}($e),this.$x=$e.x||{},this.init()},be.init=function(){var $e=this.$d;this.$y=$e.getFullYear(),this.$M=$e.getMonth(),this.$D=$e.getDate(),this.$W=$e.getDay(),this.$H=$e.getHours(),this.$m=$e.getMinutes(),this.$s=$e.getSeconds(),this.$ms=$e.getMilliseconds()},be.$utils=function(){return te},be.isValid=function(){return this.$d.toString()!==I},be.isSame=function($e,je){var Fe=H($e);return this.startOf(je)<=Fe&&Fe<=this.endOf(je)},be.isAfter=function($e,je){return H($e)<this.startOf(je)},be.isBefore=function($e,je){return this.endOf(je)<H($e)},be.$g=function($e,je,Fe){return te.u($e)?this[je]:this.set(Fe,$e)},be.unix=function(){return Math.floor(this.valueOf()/1e3)},be.valueOf=function(){return this.$d.getTime()},be.startOf=function($e,je){var Fe=this,lt=!!te.u(je)||je,Xe=te.p($e),Je=function(He,pe){var it=te.w(Fe.$u?Date.UTC(Fe.$y,pe,He):new Date(Fe.$y,pe,He),Fe);return lt?it:it.endOf(E)},de=function(He,pe){return te.w(Fe.toDate()[He].apply(Fe.toDate("s"),(lt?[0,0,0,0]:[23,59,59,999]).slice(pe)),Fe)},Se=this.$W,rt=this.$M,We=this.$D,xe="set"+(this.$u?"UTC":"");switch(Xe){case L:return lt?Je(1,0):Je(31,11);case A:return lt?Je(1,rt):Je(0,rt+1);case x:var Be=this.$locale().weekStart||0,se=(Se<Be?Se+7:Se)-Be;return Je(lt?We-se:We+(6-se),rt);case E:case B:return de(xe+"Hours",0);case _:return de(xe+"Minutes",1);case y:return de(xe+"Seconds",2);case d:return de(xe+"Milliseconds",3);default:return this.clone()}},be.endOf=function($e){return this.startOf($e,!1)},be.$set=function($e,je){var Fe,lt=te.p($e),Xe="set"+(this.$u?"UTC":""),Je=(Fe={},Fe[E]=Xe+"Date",Fe[B]=Xe+"Date",Fe[A]=Xe+"Month",Fe[L]=Xe+"FullYear",Fe[_]=Xe+"Hours",Fe[y]=Xe+"Minutes",Fe[d]=Xe+"Seconds",Fe[e]=Xe+"Milliseconds",Fe)[lt],de=lt===E?this.$D+(je-this.$W):je;if(lt===A||lt===L){var Se=this.clone().set(B,1);Se.$d[Je](de),Se.init(),this.$d=Se.set(B,Math.min(this.$D,Se.daysInMonth())).$d}else Je&&this.$d[Je](de);return this.init(),this},be.set=function($e,je){return this.clone().$set($e,je)},be.get=function($e){return this[te.p($e)]()},be.add=function($e,je){var Fe,lt=this;$e=Number($e);var Xe=te.p(je),Je=function(rt){var We=H(lt);return te.w(We.date(We.date()+Math.round(rt*$e)),lt)};if(Xe===A)return this.set(A,this.$M+$e);if(Xe===L)return this.set(L,this.$y+$e);if(Xe===E)return Je(1);if(Xe===x)return Je(7);var de=(Fe={},Fe[y]=a,Fe[_]=r,Fe[d]=s,Fe)[Xe]||1,Se=this.$d.getTime()+$e*de;return te.w(Se,this)},be.subtract=function($e,je){return this.add(-1*$e,je)},be.format=function($e){var je=this,Fe=this.$locale();if(!this.isValid())return Fe.invalidDate||I;var lt=$e||"YYYY-MM-DDTHH:mm:ssZ",Xe=te.z(this),Je=this.$H,de=this.$m,Se=this.$M,rt=Fe.weekdays,We=Fe.months,xe=function(pe,it,kt,ne){return pe&&(pe[it]||pe(je,lt))||kt[it].slice(0,ne)},Be=function(pe){return te.s(Je%12||12,pe,"0")},se=Fe.meridiem||function(pe,it,kt){var ne=pe<12?"AM":"PM";return kt?ne.toLowerCase():ne},He={YY:String(this.$y).slice(-2),YYYY:te.s(this.$y,4,"0"),M:Se+1,MM:te.s(Se+1,2,"0"),MMM:xe(Fe.monthsShort,Se,We,3),MMMM:xe(We,Se),D:this.$D,DD:te.s(this.$D,2,"0"),d:String(this.$W),dd:xe(Fe.weekdaysMin,this.$W,rt,2),ddd:xe(Fe.weekdaysShort,this.$W,rt,3),dddd:rt[this.$W],H:String(Je),HH:te.s(Je,2,"0"),h:Be(1),hh:Be(2),a:se(Je,de,!0),A:se(Je,de,!1),m:String(de),mm:te.s(de,2,"0"),s:String(this.$s),ss:te.s(this.$s,2,"0"),SSS:te.s(this.$ms,3,"0"),Z:Xe};return lt.replace(z,function(pe,it){return it||He[pe]||Xe.replace(":","")})},be.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},be.diff=function($e,je,Fe){var lt,Xe=te.p(je),Je=H($e),de=(Je.utcOffset()-this.utcOffset())*a,Se=this-Je,rt=te.m(this,Je);return rt=(lt={},lt[L]=rt/12,lt[A]=rt,lt[R]=rt/3,lt[x]=(Se-de)/6048e5,lt[E]=(Se-de)/864e5,lt[_]=Se/r,lt[y]=Se/a,lt[d]=Se/s,lt)[Xe]||Se,Fe?rt:te.a(rt)},be.daysInMonth=function(){return this.endOf(A).$D},be.$locale=function(){return Z[this.$L]},be.locale=function($e,je){if(!$e)return this.$L;var Fe=this.clone(),lt=U($e,je,!0);return lt&&(Fe.$L=lt),Fe},be.clone=function(){return te.w(this.$d,this)},be.toDate=function(){return new Date(this.valueOf())},be.toJSON=function(){return this.isValid()?this.toISOString():null},be.toISOString=function(){return this.$d.toISOString()},be.toString=function(){return this.$d.toUTCString()},ye}(),Ee=fe.prototype;return H.prototype=Ee,[["$ms",e],["$s",d],["$m",y],["$H",_],["$W",E],["$M",A],["$y",L],["$D",B]].forEach(function(ye){Ee[ye[1]]=function(be){return this.$g(be,ye[0],ye[1])}}),H.extend=function(ye,be){return ye.$i||(ye(be,fe,H),ye.$i=!0),H},H.locale=U,H.isDayjs=ie,H.unix=function(ye){return H(1e3*ye)},H.en=Z[V],H.Ls=Z,H.p={},H})})(K6);var TP=K6.exports;const Gs=qs(TP);var Q6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){var s,a,r=1e3,e=6e4,d=36e5,y=864e5,_=/\[([^\]]+)]|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,E=31536e6,x=2592e6,A=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,R={years:E,months:x,days:y,hours:d,minutes:e,seconds:r,milliseconds:1,weeks:6048e5},L=function(V){return V instanceof Y},B=function(V,Z,ie){return new Y(V,ie,Z.$l)},I=function(V){return a.p(V)+"s"},G=function(V){return V<0},z=function(V){return G(V)?Math.ceil(V):Math.floor(V)},Q=function(V){return Math.abs(V)},ce=function(V,Z){return V?G(V)?{negative:!0,format:""+Q(V)+Z}:{negative:!1,format:""+V+Z}:{negative:!1,format:""}},Y=function(){function V(ie,U,H){var te=this;if(this.$d={},this.$l=H,ie===void 0&&(this.$ms=0,this.parseFromMilliseconds()),U)return B(ie*R[I(U)],this);if(typeof ie=="number")return this.$ms=ie,this.parseFromMilliseconds(),this;if(typeof ie=="object")return Object.keys(ie).forEach(function(ye){te.$d[I(ye)]=ie[ye]}),this.calMilliseconds(),this;if(typeof ie=="string"){var fe=ie.match(A);if(fe){var Ee=fe.slice(2).map(function(ye){return ye!=null?Number(ye):0});return this.$d.years=Ee[0],this.$d.months=Ee[1],this.$d.weeks=Ee[2],this.$d.days=Ee[3],this.$d.hours=Ee[4],this.$d.minutes=Ee[5],this.$d.seconds=Ee[6],this.calMilliseconds(),this}}return this}var Z=V.prototype;return Z.calMilliseconds=function(){var ie=this;this.$ms=Object.keys(this.$d).reduce(function(U,H){return U+(ie.$d[H]||0)*R[H]},0)},Z.parseFromMilliseconds=function(){var ie=this.$ms;this.$d.years=z(ie/E),ie%=E,this.$d.months=z(ie/x),ie%=x,this.$d.days=z(ie/y),ie%=y,this.$d.hours=z(ie/d),ie%=d,this.$d.minutes=z(ie/e),ie%=e,this.$d.seconds=z(ie/r),ie%=r,this.$d.milliseconds=ie},Z.toISOString=function(){var ie=ce(this.$d.years,"Y"),U=ce(this.$d.months,"M"),H=+this.$d.days||0;this.$d.weeks&&(H+=7*this.$d.weeks);var te=ce(H,"D"),fe=ce(this.$d.hours,"H"),Ee=ce(this.$d.minutes,"M"),ye=this.$d.seconds||0;this.$d.milliseconds&&(ye+=this.$d.milliseconds/1e3);var be=ce(ye,"S"),$e=ie.negative||U.negative||te.negative||fe.negative||Ee.negative||be.negative,je=fe.format||Ee.format||be.format?"T":"",Fe=($e?"-":"")+"P"+ie.format+U.format+te.format+je+fe.format+Ee.format+be.format;return Fe==="P"||Fe==="-P"?"P0D":Fe},Z.toJSON=function(){return this.toISOString()},Z.format=function(ie){var U=ie||"YYYY-MM-DDTHH:mm:ss",H={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return U.replace(_,function(te,fe){return fe||String(H[te])})},Z.as=function(ie){return this.$ms/R[I(ie)]},Z.get=function(ie){var U=this.$ms,H=I(ie);return H==="milliseconds"?U%=1e3:U=H==="weeks"?z(U/R[H]):this.$d[H],U===0?0:U},Z.add=function(ie,U,H){var te;return te=U?ie*R[I(U)]:L(ie)?ie.$ms:B(ie,this).$ms,B(this.$ms+te*(H?-1:1),this)},Z.subtract=function(ie,U){return this.add(ie,U,!0)},Z.locale=function(ie){var U=this.clone();return U.$l=ie,U},Z.clone=function(){return B(this.$ms,this)},Z.humanize=function(ie){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!ie)},Z.valueOf=function(){return this.asMilliseconds()},Z.milliseconds=function(){return this.get("milliseconds")},Z.asMilliseconds=function(){return this.as("milliseconds")},Z.seconds=function(){return this.get("seconds")},Z.asSeconds=function(){return this.as("seconds")},Z.minutes=function(){return this.get("minutes")},Z.asMinutes=function(){return this.as("minutes")},Z.hours=function(){return this.get("hours")},Z.asHours=function(){return this.as("hours")},Z.days=function(){return this.get("days")},Z.asDays=function(){return this.as("days")},Z.weeks=function(){return this.get("weeks")},Z.asWeeks=function(){return this.as("weeks")},Z.months=function(){return this.get("months")},Z.asMonths=function(){return this.as("months")},Z.years=function(){return this.get("years")},Z.asYears=function(){return this.as("years")},V}();return function(V,Z,ie){s=ie,a=ie().$utils(),ie.duration=function(te,fe){var Ee=ie.locale();return B(te,{$l:Ee},fe)},ie.isDuration=L;var U=Z.prototype.add,H=Z.prototype.subtract;Z.prototype.add=function(te,fe){return L(te)&&(te=te.asMilliseconds()),U.bind(this)(te,fe)},Z.prototype.subtract=function(te,fe){return L(te)&&(te=te.asMilliseconds()),H.bind(this)(te,fe)}}})})(Q6);var AP=Q6.exports;const SP=qs(AP);var X6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){var s="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(e,d,y){var _=d.prototype;y.utc=function(I){var G={date:I,utc:!0,args:arguments};return new d(G)},_.utc=function(I){var G=y(this.toDate(),{locale:this.$L,utc:!0});return I?G.add(this.utcOffset(),s):G},_.local=function(){return y(this.toDate(),{locale:this.$L,utc:!1})};var E=_.parse;_.parse=function(I){I.utc&&(this.$u=!0),this.$utils().u(I.$offset)||(this.$offset=I.$offset),E.call(this,I)};var x=_.init;_.init=function(){if(this.$u){var I=this.$d;this.$y=I.getUTCFullYear(),this.$M=I.getUTCMonth(),this.$D=I.getUTCDate(),this.$W=I.getUTCDay(),this.$H=I.getUTCHours(),this.$m=I.getUTCMinutes(),this.$s=I.getUTCSeconds(),this.$ms=I.getUTCMilliseconds()}else x.call(this)};var A=_.utcOffset;_.utcOffset=function(I,G){var z=this.$utils().u;if(z(I))return this.$u?0:z(this.$offset)?A.call(this):this.$offset;if(typeof I=="string"&&(I=function(V){V===void 0&&(V="");var Z=V.match(a);if(!Z)return null;var ie=(""+Z[0]).match(r)||["-",0,0],U=ie[0],H=60*+ie[1]+ +ie[2];return H===0?0:U==="+"?H:-H}(I),I===null))return this;var Q=Math.abs(I)<=16?60*I:I,ce=this;if(G)return ce.$offset=Q,ce.$u=I===0,ce;if(I!==0){var Y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(ce=this.local().add(Q+Y,s)).$offset=Q,ce.$x.$localOffset=Y}else ce=this.utc();return ce};var R=_.format;_.format=function(I){var G=I||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return R.call(this,G)},_.valueOf=function(){var I=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*I},_.isUTC=function(){return!!this.$u},_.toISOString=function(){return this.toDate().toISOString()},_.toString=function(){return this.toDate().toUTCString()};var L=_.toDate;_.toDate=function(I){return I==="s"&&this.$offset?y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var B=_.diff;_.diff=function(I,G,z){if(I&&this.$u===I.$u)return B.call(this,I,G,z);var Q=this.local(),ce=y(I).local();return B.call(Q,ce,G,z)}}})})(X6);var kP=X6.exports;const OP=qs(kP);var J6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){var s={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,e,d){var y,_=function(R,L,B){B===void 0&&(B={});var I=new Date(R),G=function(z,Q){Q===void 0&&(Q={});var ce=Q.timeZoneName||"short",Y=z+"|"+ce,V=a[Y];return V||(V=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:z,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:ce}),a[Y]=V),V}(L,B);return G.formatToParts(I)},E=function(R,L){for(var B=_(R,L),I=[],G=0;G<B.length;G+=1){var z=B[G],Q=z.type,ce=z.value,Y=s[Q];Y>=0&&(I[Y]=parseInt(ce,10))}var V=I[3],Z=V===24?0:V,ie=I[0]+"-"+I[1]+"-"+I[2]+" "+Z+":"+I[4]+":"+I[5]+":000",U=+R;return(d.utc(ie).valueOf()-(U-=U%1e3))/6e4},x=e.prototype;x.tz=function(R,L){R===void 0&&(R=y);var B=this.utcOffset(),I=this.toDate(),G=I.toLocaleString("en-US",{timeZone:R}),z=Math.round((I-new Date(G))/1e3/60),Q=d(G).$set("millisecond",this.$ms).utcOffset(15*-Math.round(I.getTimezoneOffset()/15)-z,!0);if(L){var ce=Q.utcOffset();Q=Q.add(B-ce,"minute")}return Q.$x.$timezone=R,Q},x.offsetName=function(R){var L=this.$x.$timezone||d.tz.guess(),B=_(this.valueOf(),L,{timeZoneName:R}).find(function(I){return I.type.toLowerCase()==="timezonename"});return B&&B.value};var A=x.startOf;x.startOf=function(R,L){if(!this.$x||!this.$x.$timezone)return A.call(this,R,L);var B=d(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return A.call(B,R,L).tz(this.$x.$timezone,!0)},d.tz=function(R,L,B){var I=B&&L,G=B||L||y,z=E(+d(),G);if(typeof R!="string")return d(R).tz(G);var Q=function(Z,ie,U){var H=Z-60*ie*1e3,te=E(H,U);if(ie===te)return[H,ie];var fe=E(H-=60*(te-ie)*1e3,U);return te===fe?[H,te]:[Z-60*Math.min(te,fe)*1e3,Math.max(te,fe)]}(d.utc(R,I).valueOf(),z,G),ce=Q[0],Y=Q[1],V=d(ce).utcOffset(Y);return V.$x.$timezone=G,V},d.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},d.tz.setDefault=function(R){y=R}}})})(J6);var RP=J6.exports;const PP=qs(RP);var Z6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a){var r=a.prototype,e=r.format;r.format=function(d){var y=this,_=this.$locale();if(!this.isValid())return e.bind(this)(d);var E=this.$utils(),x=(d||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(A){switch(A){case"Q":return Math.ceil((y.$M+1)/3);case"Do":return _.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return _.ordinal(y.week(),"W");case"w":case"ww":return E.s(y.week(),A==="w"?1:2,"0");case"W":case"WW":return E.s(y.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return E.s(String(y.$H===0?24:y.$H),A==="k"?1:2,"0");case"X":return Math.floor(y.$d.getTime()/1e3);case"x":return y.$d.getTime();case"z":return"["+y.offsetName()+"]";case"zzz":return"["+y.offsetName("long")+"]";default:return A}});return e.bind(this)(x)}}})})(Z6);var IP=Z6.exports;const NP=qs(IP);var e5={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a){a.prototype.isSameOrBefore=function(r,e){return this.isSame(r,e)||this.isBefore(r,e)}}})})(e5);var MP=e5.exports;const LP=qs(MP);var t5={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a){a.prototype.isSameOrAfter=function(r,e){return this.isSame(r,e)||this.isAfter(r,e)}}})})(t5);var BP=t5.exports;const UP=qs(BP);var r5={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a,r){var e=function(d,y){if(!y||!y.length||!y[0]||y.length===1&&!y[0].length)return null;var _;y.length===1&&y[0].length>0&&(y=y[0]),_=y[0];for(var E=1;E<y.length;E+=1)y[E].isValid()&&!y[E][d](_)||(_=y[E]);return _};r.max=function(){var d=[].slice.call(arguments,0);return e("isAfter",d)},r.min=function(){var d=[].slice.call(arguments,0);return e("isBefore",d)}}})})(r5);var $P=r5.exports;const HP=qs($P);var n5={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a,r){s=s||{};var e=a.prototype,d={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 y(E,x,A,R){return e.fromToBase(E,x,A,R)}r.en.relativeTime=d,e.fromToBase=function(E,x,A,R,L){for(var B,I,G,z=A.$locale().relativeTime||d,Q=s.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ce=Q.length,Y=0;Y<ce;Y+=1){var V=Q[Y];V.d&&(B=R?r(E).diff(A,V.d,!0):A.diff(E,V.d,!0));var Z=(s.rounding||Math.round)(Math.abs(B));if(G=B>0,Z<=V.r||!V.r){Z<=1&&Y>0&&(V=Q[Y-1]);var ie=z[V.l];L&&(Z=L(""+Z)),I=typeof ie=="string"?ie.replace("%d",Z):ie(Z,x,V.l,G);break}}if(x)return I;var U=G?z.future:z.past;return typeof U=="function"?U(I):U.replace("%s",I)},e.to=function(E,x){return y(E,x,this,!0)},e.from=function(E,x){return y(E,x,this)};var _=function(E){return E.$u?r.utc():r()};e.toNow=function(E){return this.to(_(this),E)},e.fromNow=function(E){return this.from(_(this),E)}}})})(n5);var WP=n5.exports;const zP=qs(WP);var A2={exports:{}};/**
30
+ */const md=typeof window<"u";function H8(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const Gn=Object.assign;function Nb(t,i){const s={};for(const a in i){const r=i[a];s[a]=bl(r)?r.map(t):t(r)}return s}const _p=()=>{},bl=Array.isArray,W8=/\/$/,z8=t=>t.replace(W8,"");function Mb(t,i,s="/"){let a,r={},e="",d="";const y=i.indexOf("#");let _=i.indexOf("?");return y<_&&y>=0&&(_=-1),_>-1&&(a=i.slice(0,_),e=i.slice(_+1,y>-1?y:i.length),r=t(e)),y>-1&&(a=a||i.slice(0,y),d=i.slice(y,i.length)),a=Y8(a??i,s),{fullPath:a+(e&&"?")+e+d,path:a,query:r,hash:d}}function j8(t,i){const s=i.query?t(i.query):"";return i.path+(s&&"?")+s+(i.hash||"")}function T3(t,i){return!i||!t.toLowerCase().startsWith(i.toLowerCase())?t:t.slice(i.length)||"/"}function V8(t,i,s){const a=i.matched.length-1,r=s.matched.length-1;return a>-1&&a===r&&Nd(i.matched[a],s.matched[r])&&EF(i.params,s.params)&&t(i.query)===t(s.query)&&i.hash===s.hash}function Nd(t,i){return(t.aliasOf||t)===(i.aliasOf||i)}function EF(t,i){if(Object.keys(t).length!==Object.keys(i).length)return!1;for(const s in t)if(!G8(t[s],i[s]))return!1;return!0}function G8(t,i){return bl(t)?A3(t,i):bl(i)?A3(i,t):t===i}function A3(t,i){return bl(i)?t.length===i.length&&t.every((s,a)=>s===i[a]):t.length===1&&t[0]===i}function Y8(t,i){if(t.startsWith("/"))return t;if(!t)return i;const s=i.split("/"),a=t.split("/"),r=a[a.length-1];(r===".."||r===".")&&a.push("");let e=s.length-1,d,y;for(d=0;d<a.length;d++)if(y=a[d],y!==".")if(y==="..")e>1&&e--;else break;return s.slice(0,e).join("/")+"/"+a.slice(d-(d===a.length?1:0)).join("/")}var Md;(function(t){t.pop="pop",t.push="push"})(Md||(Md={}));var J0;(function(t){t.back="back",t.forward="forward",t.unknown=""})(J0||(J0={}));const Lb="";function FF(t){if(!t)if(md){const i=document.querySelector("base");t=i&&i.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),z8(t)}const q8=/^[^#]+#/;function xF(t,i){return t.replace(q8,"#")+i}function K8(t,i){const s=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{behavior:i.behavior,left:a.left-s.left-(i.left||0),top:a.top-s.top-(i.top||0)}}const tv=()=>({left:window.pageXOffset,top:window.pageYOffset});function Q8(t){let i;if("el"in t){const s=t.el,a=typeof s=="string"&&s.startsWith("#"),r=typeof s=="string"?a?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!r)return;i=K8(r,t)}else i=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(i):window.scrollTo(i.left!=null?i.left:window.pageXOffset,i.top!=null?i.top:window.pageYOffset)}function S3(t,i){return(history.state?history.state.position-i:-1)+t}const xy=new Map;function X8(t,i){xy.set(t,i)}function J8(t){const i=xy.get(t);return xy.delete(t),i}let Z8=()=>location.protocol+"//"+location.host;function CF(t,i){const{pathname:s,search:a,hash:r}=i,e=t.indexOf("#");if(e>-1){let y=r.includes(t.slice(e))?t.slice(e).length:1,_=r.slice(y);return _[0]!=="/"&&(_="/"+_),T3(_,"")}return T3(s,t)+a+r}function eS(t,i,s,a){let r=[],e=[],d=null;const y=({state:R})=>{const L=CF(t,location),B=s.value,I=i.value;let G=0;if(R){if(s.value=L,i.value=R,d&&d===B){d=null;return}G=I?R.position-I.position:0}else a(L);r.forEach(z=>{z(s.value,B,{delta:G,type:Md.pop,direction:G?G>0?J0.forward:J0.back:J0.unknown})})};function _(){d=s.value}function E(R){r.push(R);const L=()=>{const B=r.indexOf(R);B>-1&&r.splice(B,1)};return e.push(L),L}function x(){const{history:R}=window;R.state&&R.replaceState(Gn({},R.state,{scroll:tv()}),"")}function A(){for(const R of e)R();e=[],window.removeEventListener("popstate",y),window.removeEventListener("beforeunload",x)}return window.addEventListener("popstate",y),window.addEventListener("beforeunload",x,{passive:!0}),{pauseListeners:_,listen:E,destroy:A}}function k3(t,i,s,a=!1,r=!1){return{back:t,current:i,forward:s,replaced:a,position:window.history.length,scroll:r?tv():null}}function tS(t){const{history:i,location:s}=window,a={value:CF(t,s)},r={value:i.state};r.value||e(a.value,{back:null,current:a.value,forward:null,position:i.length-1,replaced:!0,scroll:null},!0);function e(_,E,x){const A=t.indexOf("#"),R=A>-1?(s.host&&document.querySelector("base")?t:t.slice(A))+_:Z8()+t+_;try{i[x?"replaceState":"pushState"](E,"",R),r.value=E}catch(L){console.error(L),s[x?"replace":"assign"](R)}}function d(_,E){const x=Gn({},i.state,k3(r.value.back,_,r.value.forward,!0),E,{position:r.value.position});e(_,x,!0),a.value=_}function y(_,E){const x=Gn({},r.value,i.state,{forward:_,scroll:tv()});e(x.current,x,!0);const A=Gn({},k3(a.value,_,null),{position:x.position+1},E);e(_,A,!1),a.value=_}return{location:a,state:r,push:y,replace:d}}function rS(t){t=FF(t);const i=tS(t),s=eS(t,i.state,i.location,i.replace);function a(e,d=!0){d||s.pauseListeners(),history.go(e)}const r=Gn({location:"",base:t,go:a,createHref:xF.bind(null,t)},i,s);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>i.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>i.state.value}),r}function nS(t=""){let i=[],s=[Lb],a=0;t=FF(t);function r(y){a++,a===s.length||s.splice(a),s.push(y)}function e(y,_,{direction:E,delta:x}){const A={direction:E,delta:x,type:Md.pop};for(const R of i)R(y,_,A)}const d={location:Lb,state:{},base:t,createHref:xF.bind(null,t),replace(y){s.splice(a--,1),r(y)},push(y,_){r(y)},listen(y){return i.push(y),()=>{const _=i.indexOf(y);_>-1&&i.splice(_,1)}},destroy(){i=[],s=[Lb],a=0},go(y,_=!0){const E=this.location,x=y<0?J0.back:J0.forward;a=Math.max(0,Math.min(a+y,s.length-1)),_&&e(this.location,E,{direction:x,delta:y})}};return Object.defineProperty(d,"location",{enumerable:!0,get:()=>s[a]}),d}function iS(t){return typeof t=="string"||t&&typeof t=="object"}function TF(t){return typeof t=="string"||typeof t=="symbol"}const Zu={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},AF=Symbol("");var O3;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(O3||(O3={}));function Ld(t,i){return Gn(new Error,{type:t,[AF]:!0},i)}function Mc(t,i){return t instanceof Error&&AF in t&&(i==null||!!(t.type&i))}const R3="[^/]+?",sS={sensitive:!1,strict:!1,start:!0,end:!0},aS=/[.+*?^${}()[\]/\\]/g;function oS(t,i){const s=Gn({},sS,i),a=[];let r=s.start?"^":"";const e=[];for(const E of t){const x=E.length?[]:[90];s.strict&&!E.length&&(r+="/");for(let A=0;A<E.length;A++){const R=E[A];let L=40+(s.sensitive?.25:0);if(R.type===0)A||(r+="/"),r+=R.value.replace(aS,"\\$&"),L+=40;else if(R.type===1){const{value:B,repeatable:I,optional:G,regexp:z}=R;e.push({name:B,repeatable:I,optional:G});const Q=z||R3;if(Q!==R3){L+=10;try{new RegExp(`(${Q})`)}catch(Y){throw new Error(`Invalid custom RegExp for param "${B}" (${Q}): `+Y.message)}}let ce=I?`((?:${Q})(?:/(?:${Q}))*)`:`(${Q})`;A||(ce=G&&E.length<2?`(?:/${ce})`:"/"+ce),G&&(ce+="?"),r+=ce,L+=20,G&&(L+=-8),I&&(L+=-20),Q===".*"&&(L+=-50)}x.push(L)}a.push(x)}if(s.strict&&s.end){const E=a.length-1;a[E][a[E].length-1]+=.7000000000000001}s.strict||(r+="/?"),s.end?r+="$":s.strict&&(r+="(?:/|$)");const d=new RegExp(r,s.sensitive?"":"i");function y(E){const x=E.match(d),A={};if(!x)return null;for(let R=1;R<x.length;R++){const L=x[R]||"",B=e[R-1];A[B.name]=L&&B.repeatable?L.split("/"):L}return A}function _(E){let x="",A=!1;for(const R of t){(!A||!x.endsWith("/"))&&(x+="/"),A=!1;for(const L of R)if(L.type===0)x+=L.value;else if(L.type===1){const{value:B,repeatable:I,optional:G}=L,z=B in E?E[B]:"";if(bl(z)&&!I)throw new Error(`Provided param "${B}" is an array but it is not repeatable (* or + modifiers)`);const Q=bl(z)?z.join("/"):z;if(!Q)if(G)R.length<2&&(x.endsWith("/")?x=x.slice(0,-1):A=!0);else throw new Error(`Missing required param "${B}"`);x+=Q}}return x||"/"}return{re:d,score:a,keys:e,parse:y,stringify:_}}function lS(t,i){let s=0;for(;s<t.length&&s<i.length;){const a=i[s]-t[s];if(a)return a;s++}return t.length<i.length?t.length===1&&t[0]===40+40?-1:1:t.length>i.length?i.length===1&&i[0]===40+40?1:-1:0}function cS(t,i){let s=0;const a=t.score,r=i.score;for(;s<a.length&&s<r.length;){const e=lS(a[s],r[s]);if(e)return e;s++}if(Math.abs(r.length-a.length)===1){if(P3(a))return 1;if(P3(r))return-1}return r.length-a.length}function P3(t){const i=t[t.length-1];return t.length>0&&i[i.length-1]<0}const uS={type:0,value:""},fS=/[a-zA-Z0-9_]/;function hS(t){if(!t)return[[]];if(t==="/")return[[uS]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function i(L){throw new Error(`ERR (${s})/"${E}": ${L}`)}let s=0,a=s;const r=[];let e;function d(){e&&r.push(e),e=[]}let y=0,_,E="",x="";function A(){E&&(s===0?e.push({type:0,value:E}):s===1||s===2||s===3?(e.length>1&&(_==="*"||_==="+")&&i(`A repeatable param (${E}) must be alone in its segment. eg: '/:ids+.`),e.push({type:1,value:E,regexp:x,repeatable:_==="*"||_==="+",optional:_==="*"||_==="?"})):i("Invalid state to consume buffer"),E="")}function R(){E+=_}for(;y<t.length;){if(_=t[y++],_==="\\"&&s!==2){a=s,s=4;continue}switch(s){case 0:_==="/"?(E&&A(),d()):_===":"?(A(),s=1):R();break;case 4:R(),s=a;break;case 1:_==="("?s=2:fS.test(_)?R():(A(),s=0,_!=="*"&&_!=="?"&&_!=="+"&&y--);break;case 2:_===")"?x[x.length-1]=="\\"?x=x.slice(0,-1)+_:s=3:x+=_;break;case 3:A(),s=0,_!=="*"&&_!=="?"&&_!=="+"&&y--,x="";break;default:i("Unknown state");break}}return s===2&&i(`Unfinished custom RegExp for param "${E}"`),A(),d(),r}function dS(t,i,s){const a=oS(hS(t.path),s),r=Gn(a,{record:t,parent:i,children:[],alias:[]});return i&&!r.record.aliasOf==!i.record.aliasOf&&i.children.push(r),r}function pS(t,i){const s=[],a=new Map;i=M3({strict:!1,end:!0,sensitive:!1},i);function r(x){return a.get(x)}function e(x,A,R){const L=!R,B=gS(x);B.aliasOf=R&&R.record;const I=M3(i,x),G=[B];if("alias"in x){const ce=typeof x.alias=="string"?[x.alias]:x.alias;for(const Y of ce)G.push(Gn({},B,{components:R?R.record.components:B.components,path:Y,aliasOf:R?R.record:B}))}let z,Q;for(const ce of G){const{path:Y}=ce;if(A&&Y[0]!=="/"){const V=A.record.path,Z=V[V.length-1]==="/"?"":"/";ce.path=A.record.path+(Y&&Z+Y)}if(z=dS(ce,A,I),R?R.alias.push(z):(Q=Q||z,Q!==z&&Q.alias.push(z),L&&x.name&&!N3(z)&&d(x.name)),B.children){const V=B.children;for(let Z=0;Z<V.length;Z++)e(V[Z],z,R&&R.children[Z])}R=R||z,(z.record.components&&Object.keys(z.record.components).length||z.record.name||z.record.redirect)&&_(z)}return Q?()=>{d(Q)}:_p}function d(x){if(TF(x)){const A=a.get(x);A&&(a.delete(x),s.splice(s.indexOf(A),1),A.children.forEach(d),A.alias.forEach(d))}else{const A=s.indexOf(x);A>-1&&(s.splice(A,1),x.record.name&&a.delete(x.record.name),x.children.forEach(d),x.alias.forEach(d))}}function y(){return s}function _(x){let A=0;for(;A<s.length&&cS(x,s[A])>=0&&(x.record.path!==s[A].record.path||!SF(x,s[A]));)A++;s.splice(A,0,x),x.record.name&&!N3(x)&&a.set(x.record.name,x)}function E(x,A){let R,L={},B,I;if("name"in x&&x.name){if(R=a.get(x.name),!R)throw Ld(1,{location:x});I=R.record.name,L=Gn(I3(A.params,R.keys.filter(Q=>!Q.optional).map(Q=>Q.name)),x.params&&I3(x.params,R.keys.map(Q=>Q.name))),B=R.stringify(L)}else if("path"in x)B=x.path,R=s.find(Q=>Q.re.test(B)),R&&(L=R.parse(B),I=R.record.name);else{if(R=A.name?a.get(A.name):s.find(Q=>Q.re.test(A.path)),!R)throw Ld(1,{location:x,currentLocation:A});I=R.record.name,L=Gn({},A.params,x.params),B=R.stringify(L)}const G=[];let z=R;for(;z;)G.unshift(z.record),z=z.parent;return{name:I,path:B,params:L,matched:G,meta:vS(G)}}return t.forEach(x=>e(x)),{addRoute:e,resolve:E,removeRoute:d,getRoutes:y,getRecordMatcher:r}}function I3(t,i){const s={};for(const a of i)a in t&&(s[a]=t[a]);return s}function gS(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:mS(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function mS(t){const i={},s=t.props||!1;if("component"in t)i.default=s;else for(const a in t.components)i[a]=typeof s=="object"?s[a]:s;return i}function N3(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function vS(t){return t.reduce((i,s)=>Gn(i,s.meta),{})}function M3(t,i){const s={};for(const a in t)s[a]=a in i?i[a]:t[a];return s}function SF(t,i){return i.children.some(s=>s===t||SF(t,s))}const kF=/#/g,bS=/&/g,yS=/\//g,_S=/=/g,wS=/\?/g,OF=/\+/g,DS=/%5B/g,ES=/%5D/g,RF=/%5E/g,FS=/%60/g,PF=/%7B/g,xS=/%7C/g,IF=/%7D/g,CS=/%20/g;function N_(t){return encodeURI(""+t).replace(xS,"|").replace(DS,"[").replace(ES,"]")}function TS(t){return N_(t).replace(PF,"{").replace(IF,"}").replace(RF,"^")}function Cy(t){return N_(t).replace(OF,"%2B").replace(CS,"+").replace(kF,"%23").replace(bS,"%26").replace(FS,"`").replace(PF,"{").replace(IF,"}").replace(RF,"^")}function AS(t){return Cy(t).replace(_S,"%3D")}function SS(t){return N_(t).replace(kF,"%23").replace(wS,"%3F")}function kS(t){return t==null?"":SS(t).replace(yS,"%2F")}function c2(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function OS(t){const i={};if(t===""||t==="?")return i;const a=(t[0]==="?"?t.slice(1):t).split("&");for(let r=0;r<a.length;++r){const e=a[r].replace(OF," "),d=e.indexOf("="),y=c2(d<0?e:e.slice(0,d)),_=d<0?null:c2(e.slice(d+1));if(y in i){let E=i[y];bl(E)||(E=i[y]=[E]),E.push(_)}else i[y]=_}return i}function L3(t){let i="";for(let s in t){const a=t[s];if(s=AS(s),a==null){a!==void 0&&(i+=(i.length?"&":"")+s);continue}(bl(a)?a.map(e=>e&&Cy(e)):[a&&Cy(a)]).forEach(e=>{e!==void 0&&(i+=(i.length?"&":"")+s,e!=null&&(i+="="+e))})}return i}function RS(t){const i={};for(const s in t){const a=t[s];a!==void 0&&(i[s]=bl(a)?a.map(r=>r==null?null:""+r):a==null?a:""+a)}return i}const PS=Symbol(""),B3=Symbol(""),rv=Symbol(""),M_=Symbol(""),Ty=Symbol("");function ip(){let t=[];function i(a){return t.push(a),()=>{const r=t.indexOf(a);r>-1&&t.splice(r,1)}}function s(){t=[]}return{add:i,list:()=>t.slice(),reset:s}}function of(t,i,s,a,r){const e=a&&(a.enterCallbacks[r]=a.enterCallbacks[r]||[]);return()=>new Promise((d,y)=>{const _=A=>{A===!1?y(Ld(4,{from:s,to:i})):A instanceof Error?y(A):iS(A)?y(Ld(2,{from:i,to:A})):(e&&a.enterCallbacks[r]===e&&typeof A=="function"&&e.push(A),d())},E=t.call(a&&a.instances[r],i,s,_);let x=Promise.resolve(E);t.length<3&&(x=x.then(_)),x.catch(A=>y(A))})}function Bb(t,i,s,a){const r=[];for(const e of t)for(const d in e.components){let y=e.components[d];if(!(i!=="beforeRouteEnter"&&!e.instances[d]))if(IS(y)){const E=(y.__vccOpts||y)[i];E&&r.push(of(E,s,a,e,d))}else{let _=y();r.push(()=>_.then(E=>{if(!E)return Promise.reject(new Error(`Couldn't resolve component "${d}" at "${e.path}"`));const x=H8(E)?E.default:E;e.components[d]=x;const R=(x.__vccOpts||x)[i];return R&&of(R,s,a,e,d)()}))}}return r}function IS(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function U3(t){const i=va(rv),s=va(M_),a=mn(()=>i.resolve(vr(t.to))),r=mn(()=>{const{matched:_}=a.value,{length:E}=_,x=_[E-1],A=s.matched;if(!x||!A.length)return-1;const R=A.findIndex(Nd.bind(null,x));if(R>-1)return R;const L=$3(_[E-2]);return E>1&&$3(x)===L&&A[A.length-1].path!==L?A.findIndex(Nd.bind(null,_[E-2])):R}),e=mn(()=>r.value>-1&&BS(s.params,a.value.params)),d=mn(()=>r.value>-1&&r.value===s.matched.length-1&&EF(s.params,a.value.params));function y(_={}){return LS(_)?i[vr(t.replace)?"replace":"push"](vr(t.to)).catch(_p):Promise.resolve()}return{route:a,href:mn(()=>a.value.href),isActive:e,isExactActive:d,navigate:y}}const NS=ds({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:U3,setup(t,{slots:i}){const s=_f(U3(t)),{options:a}=va(rv),r=mn(()=>({[H3(t.activeClass,a.linkActiveClass,"router-link-active")]:s.isActive,[H3(t.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const e=i.default&&i.default(s);return t.custom?e:uh("a",{"aria-current":s.isExactActive?t.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},e)}}}),MS=NS;function LS(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const i=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(i))return}return t.preventDefault&&t.preventDefault(),!0}}function BS(t,i){for(const s in i){const a=i[s],r=t[s];if(typeof a=="string"){if(a!==r)return!1}else if(!bl(r)||r.length!==a.length||a.some((e,d)=>e!==r[d]))return!1}return!0}function $3(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const H3=(t,i,s)=>t??i??s,US=ds({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:i,slots:s}){const a=va(Ty),r=mn(()=>t.route||a.value),e=va(B3,0),d=mn(()=>{let E=vr(e);const{matched:x}=r.value;let A;for(;(A=x[E])&&!A.components;)E++;return E}),y=mn(()=>r.value.matched[d.value]);pp(B3,mn(()=>d.value+1)),pp(PS,y),pp(Ty,r);const _=dr();return Qn(()=>[_.value,y.value,t.name],([E,x,A],[R,L,B])=>{x&&(x.instances[A]=E,L&&L!==x&&E&&E===R&&(x.leaveGuards.size||(x.leaveGuards=L.leaveGuards),x.updateGuards.size||(x.updateGuards=L.updateGuards))),E&&x&&(!L||!Nd(x,L)||!R)&&(x.enterCallbacks[A]||[]).forEach(I=>I(E))},{flush:"post"}),()=>{const E=r.value,x=t.name,A=y.value,R=A&&A.components[x];if(!R)return W3(s.default,{Component:R,route:E});const L=A.props[x],B=L?L===!0?E.params:typeof L=="function"?L(E):L:null,G=uh(R,Gn({},B,i,{onVnodeUnmounted:z=>{z.component.isUnmounted&&(A.instances[x]=null)},ref:_}));return W3(s.default,{Component:G,route:E})||G}}});function W3(t,i){if(!t)return null;const s=t(i);return s.length===1?s[0]:s}const $S=US;function HS(t){const i=pS(t.routes,t),s=t.parseQuery||OS,a=t.stringifyQuery||L3,r=t.history,e=ip(),d=ip(),y=ip(),_=Fd(Zu);let E=Zu;md&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const x=Nb.bind(null,se=>""+se),A=Nb.bind(null,kS),R=Nb.bind(null,c2);function L(se,He){let pe,it;return TF(se)?(pe=i.getRecordMatcher(se),it=He):it=se,i.addRoute(it,pe)}function B(se){const He=i.getRecordMatcher(se);He&&i.removeRoute(He)}function I(){return i.getRoutes().map(se=>se.record)}function G(se){return!!i.getRecordMatcher(se)}function z(se,He){if(He=Gn({},He||_.value),typeof se=="string"){const he=Mb(s,se,He.path),Ue=i.resolve({path:he.path},He),Le=r.createHref(he.fullPath);return Gn(he,Ue,{params:R(Ue.params),hash:c2(he.hash),redirectedFrom:void 0,href:Le})}let pe;if("path"in se)pe=Gn({},se,{path:Mb(s,se.path,He.path).path});else{const he=Gn({},se.params);for(const Ue in he)he[Ue]==null&&delete he[Ue];pe=Gn({},se,{params:A(he)}),He.params=A(He.params)}const it=i.resolve(pe,He),kt=se.hash||"";it.params=x(R(it.params));const ne=j8(a,Gn({},se,{hash:TS(kt),path:it.path})),le=r.createHref(ne);return Gn({fullPath:ne,hash:kt,query:a===L3?RS(se.query):se.query||{}},it,{redirectedFrom:void 0,href:le})}function Q(se){return typeof se=="string"?Mb(s,se,_.value.path):Gn({},se)}function ce(se,He){if(E!==se)return Ld(8,{from:He,to:se})}function Y(se){return ie(se)}function V(se){return Y(Gn(Q(se),{replace:!0}))}function Z(se){const He=se.matched[se.matched.length-1];if(He&&He.redirect){const{redirect:pe}=He;let it=typeof pe=="function"?pe(se):pe;return typeof it=="string"&&(it=it.includes("?")||it.includes("#")?it=Q(it):{path:it},it.params={}),Gn({query:se.query,hash:se.hash,params:"path"in it?{}:se.params},it)}}function ie(se,He){const pe=E=z(se),it=_.value,kt=se.state,ne=se.force,le=se.replace===!0,he=Z(pe);if(he)return ie(Gn(Q(he),{state:typeof he=="object"?Gn({},kt,he.state):kt,force:ne,replace:le}),He||pe);const Ue=pe;Ue.redirectedFrom=He;let Le;return!ne&&V8(a,it,pe)&&(Le=Ld(16,{to:Ue,from:it}),de(it,it,!0,!1)),(Le?Promise.resolve(Le):te(Ue,it)).catch(et=>Mc(et)?Mc(et,2)?et:Je(et):lt(et,Ue,it)).then(et=>{if(et){if(Mc(et,2))return ie(Gn({replace:le},Q(et.to),{state:typeof et.to=="object"?Gn({},kt,et.to.state):kt,force:ne}),He||Ue)}else et=Ee(Ue,it,!0,le,kt);return fe(Ue,it,et),et})}function U(se,He){const pe=ce(se,He);return pe?Promise.reject(pe):Promise.resolve()}function H(se){const He=We.values().next().value;return He&&typeof He.runWithContext=="function"?He.runWithContext(se):se()}function te(se,He){let pe;const[it,kt,ne]=WS(se,He);pe=Bb(it.reverse(),"beforeRouteLeave",se,He);for(const he of it)he.leaveGuards.forEach(Ue=>{pe.push(of(Ue,se,He))});const le=U.bind(null,se,He);return pe.push(le),Be(pe).then(()=>{pe=[];for(const he of e.list())pe.push(of(he,se,He));return pe.push(le),Be(pe)}).then(()=>{pe=Bb(kt,"beforeRouteUpdate",se,He);for(const he of kt)he.updateGuards.forEach(Ue=>{pe.push(of(Ue,se,He))});return pe.push(le),Be(pe)}).then(()=>{pe=[];for(const he of ne)if(he.beforeEnter)if(bl(he.beforeEnter))for(const Ue of he.beforeEnter)pe.push(of(Ue,se,He));else pe.push(of(he.beforeEnter,se,He));return pe.push(le),Be(pe)}).then(()=>(se.matched.forEach(he=>he.enterCallbacks={}),pe=Bb(ne,"beforeRouteEnter",se,He),pe.push(le),Be(pe))).then(()=>{pe=[];for(const he of d.list())pe.push(of(he,se,He));return pe.push(le),Be(pe)}).catch(he=>Mc(he,8)?he:Promise.reject(he))}function fe(se,He,pe){y.list().forEach(it=>H(()=>it(se,He,pe)))}function Ee(se,He,pe,it,kt){const ne=ce(se,He);if(ne)return ne;const le=He===Zu,he=md?history.state:{};pe&&(it||le?r.replace(se.fullPath,Gn({scroll:le&&he&&he.scroll},kt)):r.push(se.fullPath,kt)),_.value=se,de(se,He,pe,le),Je()}let ye;function be(){ye||(ye=r.listen((se,He,pe)=>{if(!xe.listening)return;const it=z(se),kt=Z(it);if(kt){ie(Gn(kt,{replace:!0}),it).catch(_p);return}E=it;const ne=_.value;md&&X8(S3(ne.fullPath,pe.delta),tv()),te(it,ne).catch(le=>Mc(le,12)?le:Mc(le,2)?(ie(le.to,it).then(he=>{Mc(he,20)&&!pe.delta&&pe.type===Md.pop&&r.go(-1,!1)}).catch(_p),Promise.reject()):(pe.delta&&r.go(-pe.delta,!1),lt(le,it,ne))).then(le=>{le=le||Ee(it,ne,!1),le&&(pe.delta&&!Mc(le,8)?r.go(-pe.delta,!1):pe.type===Md.pop&&Mc(le,20)&&r.go(-1,!1)),fe(it,ne,le)}).catch(_p)}))}let $e=ip(),je=ip(),Fe;function lt(se,He,pe){Je(se);const it=je.list();return it.length?it.forEach(kt=>kt(se,He,pe)):console.error(se),Promise.reject(se)}function Xe(){return Fe&&_.value!==Zu?Promise.resolve():new Promise((se,He)=>{$e.add([se,He])})}function Je(se){return Fe||(Fe=!se,be(),$e.list().forEach(([He,pe])=>se?pe(se):He()),$e.reset()),se}function de(se,He,pe,it){const{scrollBehavior:kt}=t;if(!md||!kt)return Promise.resolve();const ne=!pe&&J8(S3(se.fullPath,0))||(it||!pe)&&history.state&&history.state.scroll||null;return Ql().then(()=>kt(se,He,ne)).then(le=>le&&Q8(le)).catch(le=>lt(le,se,He))}const Se=se=>r.go(se);let rt;const We=new Set,xe={currentRoute:_,listening:!0,addRoute:L,removeRoute:B,hasRoute:G,getRoutes:I,resolve:z,options:t,push:Y,replace:V,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:e.add,beforeResolve:d.add,afterEach:y.add,onError:je.add,isReady:Xe,install(se){const He=this;se.component("RouterLink",MS),se.component("RouterView",$S),se.config.globalProperties.$router=He,Object.defineProperty(se.config.globalProperties,"$route",{enumerable:!0,get:()=>vr(_)}),md&&!rt&&_.value===Zu&&(rt=!0,Y(r.location).catch(kt=>{}));const pe={};for(const kt in Zu)Object.defineProperty(pe,kt,{get:()=>_.value[kt],enumerable:!0});se.provide(rv,He),se.provide(M_,s_(pe)),se.provide(Ty,_);const it=se.unmount;We.add(se),se.unmount=function(){We.delete(se),We.size<1&&(E=Zu,ye&&ye(),ye=null,_.value=Zu,rt=!1,Fe=!1),it()}}};function Be(se){return se.reduce((He,pe)=>He.then(()=>H(pe)),Promise.resolve())}return xe}function WS(t,i){const s=[],a=[],r=[],e=Math.max(i.matched.length,t.matched.length);for(let d=0;d<e;d++){const y=i.matched[d];y&&(t.matched.find(E=>Nd(E,y))?a.push(y):s.push(y));const _=t.matched[d];_&&(i.matched.find(E=>Nd(E,_))||r.push(_))}return[s,a,r]}function zS(){return va(rv)}function jS(){return va(M_)}function Ay(t,i={},s){for(const a in t){const r=t[a],e=s?`${s}:${a}`:a;typeof r=="object"&&r!==null?Ay(r,i,e):typeof r=="function"&&(i[e]=r)}return i}const VS={run:t=>t()},GS=()=>VS,NF=typeof console.createTask<"u"?console.createTask:GS;function YS(t,i){const s=i.shift(),a=NF(s);return t.reduce((r,e)=>r.then(()=>a.run(()=>e(...i))),Promise.resolve())}function qS(t,i){const s=i.shift(),a=NF(s);return Promise.all(t.map(r=>a.run(()=>r(...i))))}function Ub(t,i){for(const s of[...t])s(i)}class KS{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(i,s,a={}){if(!i||typeof s!="function")return()=>{};const r=i;let e;for(;this._deprecatedHooks[i];)e=this._deprecatedHooks[i],i=e.to;if(e&&!a.allowDeprecated){let d=e.message;d||(d=`${r} hook has been deprecated`+(e.to?`, please use ${e.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(d)||(console.warn(d),this._deprecatedMessages.add(d))}if(!s.name)try{Object.defineProperty(s,"name",{get:()=>"_"+i.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[i]=this._hooks[i]||[],this._hooks[i].push(s),()=>{s&&(this.removeHook(i,s),s=void 0)}}hookOnce(i,s){let a,r=(...e)=>(typeof a=="function"&&a(),a=void 0,r=void 0,s(...e));return a=this.hook(i,r),a}removeHook(i,s){if(this._hooks[i]){const a=this._hooks[i].indexOf(s);a!==-1&&this._hooks[i].splice(a,1),this._hooks[i].length===0&&delete this._hooks[i]}}deprecateHook(i,s){this._deprecatedHooks[i]=typeof s=="string"?{to:s}:s;const a=this._hooks[i]||[];delete this._hooks[i];for(const r of a)this.hook(i,r)}deprecateHooks(i){Object.assign(this._deprecatedHooks,i);for(const s in i)this.deprecateHook(s,i[s])}addHooks(i){const s=Ay(i),a=Object.keys(s).map(r=>this.hook(r,s[r]));return()=>{for(const r of a.splice(0,a.length))r()}}removeHooks(i){const s=Ay(i);for(const a in s)this.removeHook(a,s[a])}removeAllHooks(){for(const i in this._hooks)delete this._hooks[i]}callHook(i,...s){return s.unshift(i),this.callHookWith(YS,i,...s)}callHookParallel(i,...s){return s.unshift(i),this.callHookWith(qS,i,...s)}callHookWith(i,s,...a){const r=this._before||this._after?{name:s,args:a,context:{}}:void 0;this._before&&Ub(this._before,r);const e=i(s in this._hooks?[...this._hooks[s]]:[],a);return e instanceof Promise?e.finally(()=>{this._after&&r&&Ub(this._after,r)}):(this._after&&r&&Ub(this._after,r),e)}beforeEach(i){return this._before=this._before||[],this._before.push(i),()=>{if(this._before!==void 0){const s=this._before.indexOf(i);s!==-1&&this._before.splice(s,1)}}}afterEach(i){return this._after=this._after||[],this._after.push(i),()=>{if(this._after!==void 0){const s=this._after.indexOf(i);s!==-1&&this._after.splice(s,1)}}}}function QS(){return new KS}function XS(t){return Array.isArray(t)?t:[t]}const JS=["title","titleTemplate","script","style","noscript"],Gm=["base","meta","link","style","script","noscript"],ZS=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],ek=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],MF=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent","processTemplateParams"],tk=typeof window<"u";function LF(t){let i=9;for(let s=0;s<t.length;)i=Math.imul(i^t.charCodeAt(s++),9**9);return((i^i>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function z3(t){return t._h||LF(t._d?t._d:`${t.tag}:${t.textContent||t.innerHTML||""}:${Object.entries(t.props).map(([i,s])=>`${i}:${String(s)}`).join(",")}`)}function BF(t,i){const{props:s,tag:a}=t;if(ek.includes(a))return a;if(a==="link"&&s.rel==="canonical")return"canonical";if(s.charset)return"charset";const r=["id"];a==="meta"&&r.push("name","property","http-equiv");for(const e of r)if(typeof s[e]<"u"){const d=String(s[e]);return i&&!i(d)?!1:`${a}:${e}:${d}`}return!1}function j3(t,i){return t==null?i||null:typeof t=="function"?t(i):t}async function rk(t,i,s){const a={tag:t,props:await UF(typeof i=="object"&&typeof i!="function"&&!(i instanceof Promise)?{...i}:{[["script","noscript","style"].includes(t)?"innerHTML":"textContent"]:i},["templateParams","titleTemplate"].includes(t))};return MF.forEach(r=>{const e=typeof a.props[r]<"u"?a.props[r]:s[r];typeof e<"u"&&((!["innerHTML","textContent"].includes(r)||JS.includes(a.tag))&&(a[r]=e),delete a.props[r])}),a.props.body&&(a.tagPosition="bodyClose",delete a.props.body),a.props.children&&(a.innerHTML=a.props.children,delete a.props.children),a.tag==="script"&&(typeof a.innerHTML=="object"&&(a.innerHTML=JSON.stringify(a.innerHTML),a.props.type=a.props.type||"application/json"),a.innerHTML&&["application/ld+json","application/json"].includes(a.props.type)&&(a.innerHTML=a.innerHTML.replace(/</g,"\\u003C"))),Array.isArray(a.props.content)?a.props.content.map(r=>({...a,props:{...a.props,content:r}})):a}function nk(t){return typeof t=="object"&&!Array.isArray(t)&&(t=Object.keys(t).filter(i=>t[i])),(Array.isArray(t)?t.join(" "):t).split(" ").filter(i=>i.trim()).filter(Boolean).join(" ")}async function UF(t,i){for(const s of Object.keys(t)){if(s==="class"){t[s]=nk(t[s]);continue}if(t[s]instanceof Promise&&(t[s]=await t[s]),!i&&!MF.includes(s)){const a=String(t[s]),r=s.startsWith("data-");a==="true"||a===""?t[s]=r?"true":!0:t[s]||(r&&a==="false"?t[s]="false":delete t[s])}}return t}const ik=10;async function sk(t){const i=[];return Object.entries(t.resolvedInput).filter(([s,a])=>typeof a<"u"&&ZS.includes(s)).forEach(([s,a])=>{const r=XS(a);i.push(...r.map(e=>rk(s,e,t)).flat())}),(await Promise.all(i)).flat().filter(Boolean).map((s,a)=>(s._e=t._i,t.mode&&(s._m=t.mode),s._p=(t._i<<ik)+a,s))}const V3={base:-10,title:10},G3={critical:-80,high:-10,low:20};function u2(t){let i=100;const s=t.tagPriority;return typeof s=="number"?s:(t.tag==="meta"?(t.props["http-equiv"]==="content-security-policy"&&(i=-30),t.props.charset&&(i=-20),t.props.name==="viewport"&&(i=-15)):t.tag==="link"&&t.props.rel==="preconnect"?i=20:t.tag in V3&&(i=V3[t.tag]),typeof s=="string"&&s in G3?i+G3[s]:i)}const ak=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ef="%separator";function H0(t,i,s){if(typeof t!="string"||!t.includes("%"))return t;function a(d){let y;return["s","pageTitle"].includes(d)?y=i.pageTitle:d.includes(".")?y=d.split(".").reduce((_,E)=>_&&_[E]||void 0,i):y=i[d],typeof y<"u"?(y||"").replace(/"/g,'\\"'):!1}let r=t;try{r=decodeURI(t)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(d=>{const y=a(d.slice(1));typeof y=="string"&&(t=t.replace(new RegExp(`\\${d}(\\W|$)`,"g"),(_,E)=>`${y}${E}`).trim())}),t.includes(ef)&&(t.endsWith(ef)&&(t=t.slice(0,-ef.length).trim()),t.startsWith(ef)&&(t=t.slice(ef.length).trim()),t=t.replace(new RegExp(`\\${ef}\\s*\\${ef}`,"g"),ef),t=H0(t,{separator:s},s)),t}async function ok(t){const i={tag:t.tagName.toLowerCase(),props:await UF(t.getAttributeNames().reduce((s,a)=>({...s,[a]:t.getAttribute(a)}),{})),innerHTML:t.innerHTML};return i._d=BF(i),i}async function lk(t,i={}){var x;const s=i.document||t.resolvedOptions.document;if(!s)return;const a={shouldRender:t.dirty,tags:[]};if(await t.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const r=(await t.resolveTags()).map(A=>({tag:A,id:Gm.includes(A.tag)?z3(A):A.tag,shouldRender:!0}));let e=t._dom;if(!e){e={elMap:{htmlAttrs:s.documentElement,bodyAttrs:s.body}};for(const A of["body","head"]){const R=(x=s==null?void 0:s[A])==null?void 0:x.children;for(const L of[...R].filter(B=>Gm.includes(B.tagName.toLowerCase())))e.elMap[L.getAttribute("data-hid")||z3(await ok(L))]=L}}e.pendingSideEffects={...e.sideEffects||{}},e.sideEffects={};function d(A,R,L){const B=`${A}:${R}`;e.sideEffects[B]=L,delete e.pendingSideEffects[B]}function y({id:A,$el:R,tag:L}){const B=L.tag.endsWith("Attrs");e.elMap[A]=R,B||(["textContent","innerHTML"].forEach(I=>{L[I]&&L[I]!==R[I]&&(R[I]=L[I])}),d(A,"el",()=>{e.elMap[A].remove(),delete e.elMap[A]})),Object.entries(L.props).forEach(([I,G])=>{const z=`attr:${I}`;if(I==="class")for(const Q of(G||"").split(" ").filter(Boolean))B&&d(A,`${z}:${Q}`,()=>R.classList.remove(Q)),!R.classList.contains(Q)&&R.classList.add(Q);else R.getAttribute(I)!==G&&R.setAttribute(I,G===!0?"":String(G)),B&&d(A,z,()=>R.removeAttribute(I))})}const _=[],E={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const A of r){const{tag:R,shouldRender:L,id:B}=A;if(L){if(R.tag==="title"){s.title=R.textContent;continue}A.$el=A.$el||e.elMap[B],A.$el?y(A):Gm.includes(R.tag)&&_.push(A)}}for(const A of _){const R=A.tag.tagPosition||"head";A.$el=s.createElement(A.tag.tag),y(A),E[R]=E[R]||s.createDocumentFragment(),E[R].appendChild(A.$el)}for(const A of r)await t.hooks.callHook("dom:renderTag",A,s,d);E.head&&s.head.appendChild(E.head),E.bodyOpen&&s.body.insertBefore(E.bodyOpen,s.body.firstChild),E.bodyClose&&s.body.appendChild(E.bodyClose),Object.values(e.pendingSideEffects).forEach(A=>A()),t._dom=e,t.dirty=!1,await t.hooks.callHook("dom:rendered",{renders:r})}async function ck(t,i={}){const s=i.delayFn||(a=>setTimeout(a,10));return t._domUpdatePromise=t._domUpdatePromise||new Promise(a=>s(async()=>{await lk(t,i),delete t._domUpdatePromise,a()}))}function uk(t){return i=>{var a,r;const s=((r=(a=i.resolvedOptions.document)==null?void 0:a.head.querySelector('script[id="unhead:payload"]'))==null?void 0:r.innerHTML)||!1;return s&&i.push(JSON.parse(s)),{mode:"client",hooks:{"entries:updated":function(e){ck(e,t)}}}}}const fk=["templateParams","htmlAttrs","bodyAttrs"],hk={hooks:{"tag:normalise":function({tag:t}){["hid","vmid","key"].forEach(a=>{t.props[a]&&(t.key=t.props[a],delete t.props[a])});const s=BF(t)||(t.key?`${t.tag}:${t.key}`:!1);s&&(t._d=s)},"tags:resolve":function(t){const i={};t.tags.forEach(a=>{const r=(a.key?`${a.tag}:${a.key}`:a._d)||a._p,e=i[r];if(e){let y=a==null?void 0:a.tagDuplicateStrategy;if(!y&&fk.includes(a.tag)&&(y="merge"),y==="merge"){const _=e.props;["class","style"].forEach(E=>{a.props[E]&&_[E]&&(E==="style"&&!_[E].endsWith(";")&&(_[E]+=";"),a.props[E]=`${_[E]} ${a.props[E]}`)}),i[r].props={..._,...a.props};return}else if(a._e===e._e){e._duped=e._duped||[],a._d=`${e._d}:${e._duped.length+1}`,e._duped.push(a);return}else if(u2(a)>u2(e))return}const d=Object.keys(a.props).length+(a.innerHTML?1:0)+(a.textContent?1:0);if(Gm.includes(a.tag)&&d===0){delete i[r];return}i[r]=a});const s=[];Object.values(i).forEach(a=>{const r=a._duped;delete a._duped,s.push(a),r&&s.push(...r)}),t.tags=s,t.tags=t.tags.filter(a=>!(a.tag==="meta"&&(a.props.name||a.props.property)&&!a.props.content))}}},dk={mode:"server",hooks:{"tags:resolve":function(t){const i={};t.tags.filter(s=>["titleTemplate","templateParams","title"].includes(s.tag)&&s._m==="server").forEach(s=>{i[s.tag]=s.tag.startsWith("title")?s.textContent:s.props}),Object.keys(i).length&&t.tags.push({tag:"script",innerHTML:JSON.stringify(i),props:{id:"unhead:payload",type:"application/json"}})}}},Y3=["script","link","bodyAttrs"];function q3(t){const i={},s={};return Object.entries(t.props).forEach(([a,r])=>{a.startsWith("on")&&typeof r=="function"?s[a]=r:i[a]=r}),{props:i,eventHandlers:s}}const pk={hooks:{"ssr:render":function(t){t.tags=t.tags.map(i=>(!Y3.includes(i.tag)||!Object.entries(i.props).find(([s,a])=>s.startsWith("on")&&typeof a=="function")||(i.props=q3(i).props),i))},"tags:resolve":function(t){t.tags=t.tags.map(i=>{if(!Y3.includes(i.tag))return i;const{props:s,eventHandlers:a}=q3(i);return Object.keys(a).length&&(i.props=s,i._eventHandlers=a),i})},"dom:renderTag":function(t,i,s){if(!t.tag._eventHandlers)return;const a=t.tag.tag==="bodyAttrs"?i.defaultView:t.$el;Object.entries(t.tag._eventHandlers).forEach(([r,e])=>{const d=`${t.tag._d||t.tag._p}:${r}`,y=r.slice(2).toLowerCase(),_=`data-h-${y}`;if(s(t.id,d,()=>{}),t.$el.hasAttribute(_))return;const E=e;t.$el.setAttribute(_,""),a.addEventListener(y,E),t.entry&&s(t.id,d,()=>{a.removeEventListener(y,E),t.$el.removeAttribute(_)})})}}},gk=["link","style","script","noscript"],mk={hooks:{"tag:normalise":({tag:t})=>{t.key&&gk.includes(t.tag)&&(t.props["data-hid"]=t._h=LF(t.key))}}},vk={hooks:{"tags:resolve":t=>{const i=s=>{var a;return(a=t.tags.find(r=>r._d===s))==null?void 0:a._p};for(const{prefix:s,offset:a}of ak)for(const r of t.tags.filter(e=>typeof e.tagPriority=="string"&&e.tagPriority.startsWith(s))){const e=i(r.tagPriority.replace(s,""));typeof e<"u"&&(r._p=e+a)}t.tags.sort((s,a)=>s._p-a._p).sort((s,a)=>u2(s)-u2(a))}}},bk={hooks:{"tags:resolve":t=>{var d;const{tags:i}=t,s=(d=i.find(y=>y.tag==="title"))==null?void 0:d.textContent,a=i.findIndex(y=>y.tag==="templateParams"),r=a!==-1?i[a].props:{},e=r.separator||"|";delete r.separator,r.pageTitle=H0(r.pageTitle||s||"",r,e);for(const y of i)y.processTemplateParams!==!1&&(["titleTemplate","title"].includes(y.tag)&&typeof y.textContent=="string"?y.textContent=H0(y.textContent,r,e):y.tag==="meta"&&typeof y.props.content=="string"?y.props.content=H0(y.props.content,r,e):y.tag==="link"&&typeof y.props.href=="string"?y.props.href=H0(y.props.href,r,e):y.processTemplateParams===!0&&(y.innerHTML?y.innerHTML=H0(y.innerHTML,r,e):y.textContent&&(y.textContent=H0(y.textContent,r,e))));t.tags=i.filter(y=>y.tag!=="templateParams")}}},yk={hooks:{"tags:resolve":t=>{const{tags:i}=t;let s=i.findIndex(r=>r.tag==="titleTemplate");const a=i.findIndex(r=>r.tag==="title");if(a!==-1&&s!==-1){const r=j3(i[s].textContent,i[a].textContent);r!==null?i[a].textContent=r||i[a].textContent:delete i[a]}else if(s!==-1){const r=j3(i[s].textContent);r!==null&&(i[s].textContent=r,i[s].tag="title",s=-1)}s!==-1&&delete i[s],t.tags=i.filter(Boolean)}}};function _k(t={}){const i=wk(t);return i.use(uk()),i}function K3(t,i){return!t||t==="server"&&i||t==="client"&&!i}function wk(t={}){const i=QS();i.addHooks(t.hooks||{}),t.document=t.document||(tk?document:void 0);const s=!t.document;t.plugins=[hk,dk,pk,mk,vk,bk,yk,...(t==null?void 0:t.plugins)||[]];const a=()=>{d.dirty=!0,i.callHook("entries:updated",d)};let r=0,e=[];const d={dirty:!1,resolvedOptions:t,hooks:i,headEntries(){return e},use(y){const _=typeof y=="function"?y(d):y;K3(_.mode,s)&&i.addHooks(_.hooks||{})},push(y,_){_==null||delete _.head;const E={_i:r++,input:y,..._};return K3(E.mode,s)&&(e.push(E),a()),{dispose(){e=e.filter(x=>x._i!==E._i),i.callHook("entries:updated",d),a()},patch(x){e=e.map(A=>(A._i===E._i&&(A.input=E.input=x),A)),a()}}},async resolveTags(){const y={tags:[],entries:[...e]};await i.callHook("entries:resolve",y);for(const _ of y.entries){const E=_.resolvedInput||_.input;if(_.resolvedInput=await(_.transform?_.transform(E):E),_.resolvedInput)for(const x of await sk(_)){const A={tag:x,entry:_,resolvedOptions:d.resolvedOptions};await i.callHook("tag:normalise",A),y.tags.push(A.tag)}}return await i.callHook("tags:beforeResolve",y),await i.callHook("tags:resolve",y),y.tags},ssr:s};return t.plugins.forEach(y=>d.use(y)),d.hooks.callHook("init",d),d}const Dk=A_.startsWith("3");function Ek(t){return typeof t=="function"?t():vr(t)}function Sy(t,i=""){if(t instanceof Promise)return t;const s=Ek(t);return!t||!s?s:Array.isArray(s)?s.map(a=>Sy(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,vr(r)]:[a,Sy(r,a)])):s}const Fk={hooks:{"entries:resolve":function(t){for(const i of t.entries)i.resolvedInput=Sy(i.input)}}},xk="usehead";function Ck(t){return{install(s){Dk&&(s.config.globalProperties.$unhead=t,s.config.globalProperties.$head=t,s.provide(xk,t))}}.install}function Tk(t={}){t.domDelayFn=t.domDelayFn||(s=>Ql(()=>setTimeout(()=>s(),0)));const i=_k(t);return i.use(Fk),i.install=Ck(i),i}function Ak(t){try{return JSON.parse(t||"{}")}catch(i){return console.error("[SSG] On state deserialization -",i,t),{}}}function Sk(t){return document.readyState==="loading"?new Promise(i=>{document.addEventListener("DOMContentLoaded",()=>i(t))}):Promise.resolve(t)}const kk=ds({setup(t,{slots:i}){const s=dr(!1);return yl(()=>s.value=!0),()=>s.value?i.default&&i.default({}):i.placeholder&&i.placeholder({})}});function Ok(t,i,s,a={}){const{transformState:r,registerComponents:e=!0,useHead:d=!0,rootContainer:y="#app"}=a,_=typeof window<"u";async function E(x=!1,A){const R=x?R_(t):aF(t);let L;d&&(L=Tk(),R.use(L));const B=HS({history:x?rS(i.base):nS(i.base),...i}),{routes:I}=i;e&&R.component("ClientOnly",kk);const G=[],ce={app:R,head:L,isClient:_,router:B,routes:I,onSSRAppRendered:x?()=>{}:ie=>G.push(ie),triggerOnSSRAppRendered:()=>Promise.all(G.map(ie=>ie())),initialState:{},transformState:r,routePath:A};x&&(await Sk(),ce.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||Ak(window.__INITIAL_STATE__)),await(s==null?void 0:s(ce)),R.use(B);let Y,V=!0;if(B.beforeEach((ie,U,H)=>{(V||Y&&Y===ie.path)&&(V=!1,Y=ie.path,ie.meta.state=ce.initialState),H()}),!x){const ie=ce.routePath??"/";B.push(ie),await B.isReady(),ce.initialState=B.currentRoute.value.meta.state||{}}const Z=ce.initialState;return{...ce,initialState:Z}}return _&&(async()=>{const{app:x,router:A}=await E(!0);await A.isReady(),x.mount(y,!0)})(),E}var Rk=function(){function t(i,s){s===void 0&&(s=[]),this._eventType=i,this._eventFunctions=s}return t.prototype.init=function(){var i=this;this._eventFunctions.forEach(function(s){typeof window<"u"&&window.addEventListener(i._eventType,s)})},t}(),f2=globalThis&&globalThis.__assign||function(){return f2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},f2.apply(this,arguments)},h2={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},$F=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=h2),this._items=i,this._options=f2(f2({},h2),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&this._items.map(function(s){s.active&&i.open(s.id),s.triggerEl.addEventListener("click",function(){i.toggle(s.id)})})},t.prototype.getItem=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.open=function(i){var s,a,r=this,e=this.getItem(i);this._options.alwaysOpen||this._items.map(function(d){var y,_;d!==e&&((y=d.triggerEl.classList).remove.apply(y,r._options.activeClasses.split(" ")),(_=d.triggerEl.classList).add.apply(_,r._options.inactiveClasses.split(" ")),d.targetEl.classList.add("hidden"),d.triggerEl.setAttribute("aria-expanded","false"),d.active=!1,d.iconEl&&d.iconEl.classList.remove("rotate-180"))}),(s=e.triggerEl.classList).add.apply(s,this._options.activeClasses.split(" ")),(a=e.triggerEl.classList).remove.apply(a,this._options.inactiveClasses.split(" ")),e.triggerEl.setAttribute("aria-expanded","true"),e.targetEl.classList.remove("hidden"),e.active=!0,e.iconEl&&e.iconEl.classList.add("rotate-180"),this._options.onOpen(this,e)},t.prototype.toggle=function(i){var s=this.getItem(i);s.active?this.close(i):this.open(i),this._options.onToggle(this,s)},t.prototype.close=function(i){var s,a,r=this.getItem(i);(s=r.triggerEl.classList).remove.apply(s,this._options.activeClasses.split(" ")),(a=r.triggerEl.classList).add.apply(a,this._options.inactiveClasses.split(" ")),r.targetEl.classList.add("hidden"),r.triggerEl.setAttribute("aria-expanded","false"),r.active=!1,r.iconEl&&r.iconEl.classList.remove("rotate-180"),this._options.onClose(this,r)},t}();function L_(){document.querySelectorAll("[data-accordion]").forEach(function(t){var i=t.getAttribute("data-accordion"),s=t.getAttribute("data-active-classes"),a=t.getAttribute("data-inactive-classes"),r=[];t.querySelectorAll("[data-accordion-target]").forEach(function(e){if(e.closest("[data-accordion]")===t){var d={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),iconEl:e.querySelector("[data-accordion-icon]"),active:e.getAttribute("aria-expanded")==="true"};r.push(d)}}),new $F(r,{alwaysOpen:i==="open",activeClasses:s||h2.activeClasses,inactiveClasses:a||h2.inactiveClasses})})}typeof window<"u"&&(window.Accordion=$F,window.initAccordions=L_);var d2=globalThis&&globalThis.__assign||function(){return d2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},d2.apply(this,arguments)},Q3={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},HF=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Q3),this._targetEl=i,this._triggerEl=s,this._options=d2(d2({},Q3),a),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible=this._triggerEl.getAttribute("aria-expanded")==="true":this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",function(){i.toggle()}))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function B_(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(t){var i=t.getAttribute("data-collapse-toggle"),s=document.getElementById(i);s?new HF(s,t):console.error('The target element with id "'.concat(i,'" does not exist. Please check the data-collapse-toggle attribute.'))})}typeof window<"u"&&(window.Collapse=HF,window.initCollapses=B_);var V0=globalThis&&globalThis.__assign||function(){return V0=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},V0.apply(this,arguments)},Ym={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3e3,onNext:function(){},onPrev:function(){},onChange:function(){}},WF=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=Ym),this._items=i,this._options=V0(V0(V0({},Ym),s),{indicators:V0(V0({},Ym.indicators),s.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._init()}return t.prototype._init=function(){var i=this;this._items.map(function(s){s.el.classList.add("absolute","inset-0","transition-transform","transform")}),this._getActiveItem()?this.slideTo(this._getActiveItem().position):this.slideTo(0),this._indicators.map(function(s,a){s.el.addEventListener("click",function(){i.slideTo(a)})})},t.prototype.getItem=function(i){return this._items[i]},t.prototype.slideTo=function(i){var s=this._items[i],a={left:s.position===0?this._items[this._items.length-1]:this._items[s.position-1],middle:s,right:s.position===this._items.length-1?this._items[0]:this._items[s.position+1]};this._rotate(a),this._setActiveItem(s),this._intervalInstance&&(this.pause(),this.cycle()),this._options.onChange(this)},t.prototype.next=function(){var i=this._getActiveItem(),s=null;i.position===this._items.length-1?s=this._items[0]:s=this._items[i.position+1],this.slideTo(s.position),this._options.onNext(this)},t.prototype.prev=function(){var i=this._getActiveItem(),s=null;i.position===0?s=this._items[this._items.length-1]:s=this._items[i.position-1],this.slideTo(s.position),this._options.onPrev(this)},t.prototype._rotate=function(i){this._items.map(function(s){s.el.classList.add("hidden")}),i.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.left.el.classList.add("-translate-x-full","z-10"),i.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),i.middle.el.classList.add("translate-x-0","z-20"),i.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),i.right.el.classList.add("translate-x-full","z-10")},t.prototype.cycle=function(){var i=this;typeof window<"u"&&(this._intervalInstance=window.setInterval(function(){i.next()},this._intervalDuration))},t.prototype.pause=function(){clearInterval(this._intervalInstance)},t.prototype._getActiveItem=function(){return this._activeItem},t.prototype._setActiveItem=function(i){var s,a,r=this;this._activeItem=i;var e=i.position;this._indicators.length&&(this._indicators.map(function(d){var y,_;d.el.setAttribute("aria-current","false"),(y=d.el.classList).remove.apply(y,r._options.indicators.activeClasses.split(" ")),(_=d.el.classList).add.apply(_,r._options.indicators.inactiveClasses.split(" "))}),(s=this._indicators[e].el.classList).add.apply(s,this._options.indicators.activeClasses.split(" ")),(a=this._indicators[e].el.classList).remove.apply(a,this._options.indicators.inactiveClasses.split(" ")),this._indicators[e].el.setAttribute("aria-current","true"))},t}();function U_(){document.querySelectorAll("[data-carousel]").forEach(function(t){var i=t.getAttribute("data-carousel-interval"),s=t.getAttribute("data-carousel")==="slide",a=[],r=0;t.querySelectorAll("[data-carousel-item]").length&&Array.from(t.querySelectorAll("[data-carousel-item]")).map(function(E,x){a.push({position:x,el:E}),E.getAttribute("data-carousel-item")==="active"&&(r=x)});var e=[];t.querySelectorAll("[data-carousel-slide-to]").length&&Array.from(t.querySelectorAll("[data-carousel-slide-to]")).map(function(E){e.push({position:parseInt(E.getAttribute("data-carousel-slide-to")),el:E})});var d=new WF(a,{defaultPosition:r,indicators:{items:e},interval:i||Ym.interval});s&&d.cycle();var y=t.querySelector("[data-carousel-next]"),_=t.querySelector("[data-carousel-prev]");y&&y.addEventListener("click",function(){d.next()}),_&&_.addEventListener("click",function(){d.prev()})})}typeof window<"u"&&(window.Carousel=WF,window.initCarousels=U_);var p2=globalThis&&globalThis.__assign||function(){return p2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},p2.apply(this,arguments)},X3={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},zF=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=X3),this._targetEl=i,this._triggerEl=s,this._options=p2(p2({},X3),a),this._init()}return t.prototype._init=function(){var i=this;this._triggerEl&&this._triggerEl.addEventListener("click",function(){i.hide()})},t.prototype.hide=function(){var i=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){i._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},t}();function $_(){document.querySelectorAll("[data-dismiss-target]").forEach(function(t){var i=t.getAttribute("data-dismiss-target"),s=document.querySelector(i);s?new zF(s,t):console.error('The dismiss element with id "'.concat(i,'" does not exist. Please check the data-dismiss-target attribute.'))})}typeof window<"u"&&(window.Dismiss=zF,window.initDismisses=$_);var Ba="top",Ro="bottom",Po="right",Ua="left",H_="auto",tg=[Ba,Ro,Po,Ua],Bd="start",Hp="end",Pk="clippingParents",jF="viewport",sp="popper",Ik="reference",J3=tg.reduce(function(t,i){return t.concat([i+"-"+Bd,i+"-"+Hp])},[]),VF=[].concat(tg,[H_]).reduce(function(t,i){return t.concat([i,i+"-"+Bd,i+"-"+Hp])},[]),Nk="beforeRead",Mk="read",Lk="afterRead",Bk="beforeMain",Uk="main",$k="afterMain",Hk="beforeWrite",Wk="write",zk="afterWrite",jk=[Nk,Mk,Lk,Bk,Uk,$k,Hk,Wk,zk];function Yl(t){return t?(t.nodeName||"").toLowerCase():null}function lo(t){if(t==null)return window;if(t.toString()!=="[object Window]"){var i=t.ownerDocument;return i&&i.defaultView||window}return t}function ih(t){var i=lo(t).Element;return t instanceof i||t instanceof Element}function ko(t){var i=lo(t).HTMLElement;return t instanceof i||t instanceof HTMLElement}function W_(t){if(typeof ShadowRoot>"u")return!1;var i=lo(t).ShadowRoot;return t instanceof i||t instanceof ShadowRoot}function Vk(t){var i=t.state;Object.keys(i.elements).forEach(function(s){var a=i.styles[s]||{},r=i.attributes[s]||{},e=i.elements[s];!ko(e)||!Yl(e)||(Object.assign(e.style,a),Object.keys(r).forEach(function(d){var y=r[d];y===!1?e.removeAttribute(d):e.setAttribute(d,y===!0?"":y)}))})}function Gk(t){var i=t.state,s={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,s.popper),i.styles=s,i.elements.arrow&&Object.assign(i.elements.arrow.style,s.arrow),function(){Object.keys(i.elements).forEach(function(a){var r=i.elements[a],e=i.attributes[a]||{},d=Object.keys(i.styles.hasOwnProperty(a)?i.styles[a]:s[a]),y=d.reduce(function(_,E){return _[E]="",_},{});!ko(r)||!Yl(r)||(Object.assign(r.style,y),Object.keys(e).forEach(function(_){r.removeAttribute(_)}))})}}const Yk={name:"applyStyles",enabled:!0,phase:"write",fn:Vk,effect:Gk,requires:["computeStyles"]};function zl(t){return t.split("-")[0]}var Z0=Math.max,g2=Math.min,Ud=Math.round;function ky(){var t=navigator.userAgentData;return t!=null&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function GF(){return!/^((?!chrome|android).)*safari/i.test(ky())}function $d(t,i,s){i===void 0&&(i=!1),s===void 0&&(s=!1);var a=t.getBoundingClientRect(),r=1,e=1;i&&ko(t)&&(r=t.offsetWidth>0&&Ud(a.width)/t.offsetWidth||1,e=t.offsetHeight>0&&Ud(a.height)/t.offsetHeight||1);var d=ih(t)?lo(t):window,y=d.visualViewport,_=!GF()&&s,E=(a.left+(_&&y?y.offsetLeft:0))/r,x=(a.top+(_&&y?y.offsetTop:0))/e,A=a.width/r,R=a.height/e;return{width:A,height:R,top:x,right:E+A,bottom:x+R,left:E,x:E,y:x}}function z_(t){var i=$d(t),s=t.offsetWidth,a=t.offsetHeight;return Math.abs(i.width-s)<=1&&(s=i.width),Math.abs(i.height-a)<=1&&(a=i.height),{x:t.offsetLeft,y:t.offsetTop,width:s,height:a}}function YF(t,i){var s=i.getRootNode&&i.getRootNode();if(t.contains(i))return!0;if(s&&W_(s)){var a=i;do{if(a&&t.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function Gc(t){return lo(t).getComputedStyle(t)}function qk(t){return["table","td","th"].indexOf(Yl(t))>=0}function Af(t){return((ih(t)?t.ownerDocument:t.document)||window.document).documentElement}function nv(t){return Yl(t)==="html"?t:t.assignedSlot||t.parentNode||(W_(t)?t.host:null)||Af(t)}function Z3(t){return!ko(t)||Gc(t).position==="fixed"?null:t.offsetParent}function Kk(t){var i=/firefox/i.test(ky()),s=/Trident/i.test(ky());if(s&&ko(t)){var a=Gc(t);if(a.position==="fixed")return null}var r=nv(t);for(W_(r)&&(r=r.host);ko(r)&&["html","body"].indexOf(Yl(r))<0;){var e=Gc(r);if(e.transform!=="none"||e.perspective!=="none"||e.contain==="paint"||["transform","perspective"].indexOf(e.willChange)!==-1||i&&e.willChange==="filter"||i&&e.filter&&e.filter!=="none")return r;r=r.parentNode}return null}function rg(t){for(var i=lo(t),s=Z3(t);s&&qk(s)&&Gc(s).position==="static";)s=Z3(s);return s&&(Yl(s)==="html"||Yl(s)==="body"&&Gc(s).position==="static")?i:s||Kk(t)||i}function j_(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function wp(t,i,s){return Z0(t,g2(i,s))}function Qk(t,i,s){var a=wp(t,i,s);return a>s?s:a}function qF(){return{top:0,right:0,bottom:0,left:0}}function KF(t){return Object.assign({},qF(),t)}function QF(t,i){return i.reduce(function(s,a){return s[a]=t,s},{})}var Xk=function(i,s){return i=typeof i=="function"?i(Object.assign({},s.rects,{placement:s.placement})):i,KF(typeof i!="number"?i:QF(i,tg))};function Jk(t){var i,s=t.state,a=t.name,r=t.options,e=s.elements.arrow,d=s.modifiersData.popperOffsets,y=zl(s.placement),_=j_(y),E=[Ua,Po].indexOf(y)>=0,x=E?"height":"width";if(!(!e||!d)){var A=Xk(r.padding,s),R=z_(e),L=_==="y"?Ba:Ua,B=_==="y"?Ro:Po,I=s.rects.reference[x]+s.rects.reference[_]-d[_]-s.rects.popper[x],G=d[_]-s.rects.reference[_],z=rg(e),Q=z?_==="y"?z.clientHeight||0:z.clientWidth||0:0,ce=I/2-G/2,Y=A[L],V=Q-R[x]-A[B],Z=Q/2-R[x]/2+ce,ie=wp(Y,Z,V),U=_;s.modifiersData[a]=(i={},i[U]=ie,i.centerOffset=ie-Z,i)}}function Zk(t){var i=t.state,s=t.options,a=s.element,r=a===void 0?"[data-popper-arrow]":a;r!=null&&(typeof r=="string"&&(r=i.elements.popper.querySelector(r),!r)||YF(i.elements.popper,r)&&(i.elements.arrow=r))}const e7={name:"arrow",enabled:!0,phase:"main",fn:Jk,effect:Zk,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Hd(t){return t.split("-")[1]}var t7={top:"auto",right:"auto",bottom:"auto",left:"auto"};function r7(t,i){var s=t.x,a=t.y,r=i.devicePixelRatio||1;return{x:Ud(s*r)/r||0,y:Ud(a*r)/r||0}}function ew(t){var i,s=t.popper,a=t.popperRect,r=t.placement,e=t.variation,d=t.offsets,y=t.position,_=t.gpuAcceleration,E=t.adaptive,x=t.roundOffsets,A=t.isFixed,R=d.x,L=R===void 0?0:R,B=d.y,I=B===void 0?0:B,G=typeof x=="function"?x({x:L,y:I}):{x:L,y:I};L=G.x,I=G.y;var z=d.hasOwnProperty("x"),Q=d.hasOwnProperty("y"),ce=Ua,Y=Ba,V=window;if(E){var Z=rg(s),ie="clientHeight",U="clientWidth";if(Z===lo(s)&&(Z=Af(s),Gc(Z).position!=="static"&&y==="absolute"&&(ie="scrollHeight",U="scrollWidth")),Z=Z,r===Ba||(r===Ua||r===Po)&&e===Hp){Y=Ro;var H=A&&Z===V&&V.visualViewport?V.visualViewport.height:Z[ie];I-=H-a.height,I*=_?1:-1}if(r===Ua||(r===Ba||r===Ro)&&e===Hp){ce=Po;var te=A&&Z===V&&V.visualViewport?V.visualViewport.width:Z[U];L-=te-a.width,L*=_?1:-1}}var fe=Object.assign({position:y},E&&t7),Ee=x===!0?r7({x:L,y:I},lo(s)):{x:L,y:I};if(L=Ee.x,I=Ee.y,_){var ye;return Object.assign({},fe,(ye={},ye[Y]=Q?"0":"",ye[ce]=z?"0":"",ye.transform=(V.devicePixelRatio||1)<=1?"translate("+L+"px, "+I+"px)":"translate3d("+L+"px, "+I+"px, 0)",ye))}return Object.assign({},fe,(i={},i[Y]=Q?I+"px":"",i[ce]=z?L+"px":"",i.transform="",i))}function n7(t){var i=t.state,s=t.options,a=s.gpuAcceleration,r=a===void 0?!0:a,e=s.adaptive,d=e===void 0?!0:e,y=s.roundOffsets,_=y===void 0?!0:y,E={placement:zl(i.placement),variation:Hd(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:r,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,ew(Object.assign({},E,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:d,roundOffsets:_})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,ew(Object.assign({},E,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:_})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const i7={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:n7,data:{}};var Om={passive:!0};function s7(t){var i=t.state,s=t.instance,a=t.options,r=a.scroll,e=r===void 0?!0:r,d=a.resize,y=d===void 0?!0:d,_=lo(i.elements.popper),E=[].concat(i.scrollParents.reference,i.scrollParents.popper);return e&&E.forEach(function(x){x.addEventListener("scroll",s.update,Om)}),y&&_.addEventListener("resize",s.update,Om),function(){e&&E.forEach(function(x){x.removeEventListener("scroll",s.update,Om)}),y&&_.removeEventListener("resize",s.update,Om)}}const a7={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:s7,data:{}};var o7={left:"right",right:"left",bottom:"top",top:"bottom"};function qm(t){return t.replace(/left|right|bottom|top/g,function(i){return o7[i]})}var l7={start:"end",end:"start"};function tw(t){return t.replace(/start|end/g,function(i){return l7[i]})}function V_(t){var i=lo(t),s=i.pageXOffset,a=i.pageYOffset;return{scrollLeft:s,scrollTop:a}}function G_(t){return $d(Af(t)).left+V_(t).scrollLeft}function c7(t,i){var s=lo(t),a=Af(t),r=s.visualViewport,e=a.clientWidth,d=a.clientHeight,y=0,_=0;if(r){e=r.width,d=r.height;var E=GF();(E||!E&&i==="fixed")&&(y=r.offsetLeft,_=r.offsetTop)}return{width:e,height:d,x:y+G_(t),y:_}}function u7(t){var i,s=Af(t),a=V_(t),r=(i=t.ownerDocument)==null?void 0:i.body,e=Z0(s.scrollWidth,s.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),d=Z0(s.scrollHeight,s.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),y=-a.scrollLeft+G_(t),_=-a.scrollTop;return Gc(r||s).direction==="rtl"&&(y+=Z0(s.clientWidth,r?r.clientWidth:0)-e),{width:e,height:d,x:y,y:_}}function Y_(t){var i=Gc(t),s=i.overflow,a=i.overflowX,r=i.overflowY;return/auto|scroll|overlay|hidden/.test(s+r+a)}function XF(t){return["html","body","#document"].indexOf(Yl(t))>=0?t.ownerDocument.body:ko(t)&&Y_(t)?t:XF(nv(t))}function Dp(t,i){var s;i===void 0&&(i=[]);var a=XF(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=lo(a),d=r?[e].concat(e.visualViewport||[],Y_(a)?a:[]):a,y=i.concat(d);return r?y:y.concat(Dp(nv(d)))}function Oy(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function f7(t,i){var s=$d(t,!1,i==="fixed");return s.top=s.top+t.clientTop,s.left=s.left+t.clientLeft,s.bottom=s.top+t.clientHeight,s.right=s.left+t.clientWidth,s.width=t.clientWidth,s.height=t.clientHeight,s.x=s.left,s.y=s.top,s}function rw(t,i,s){return i===jF?Oy(c7(t,s)):ih(i)?f7(i,s):Oy(u7(Af(t)))}function h7(t){var i=Dp(nv(t)),s=["absolute","fixed"].indexOf(Gc(t).position)>=0,a=s&&ko(t)?rg(t):t;return ih(a)?i.filter(function(r){return ih(r)&&YF(r,a)&&Yl(r)!=="body"}):[]}function d7(t,i,s,a){var r=i==="clippingParents"?h7(t):[].concat(i),e=[].concat(r,[s]),d=e[0],y=e.reduce(function(_,E){var x=rw(t,E,a);return _.top=Z0(x.top,_.top),_.right=g2(x.right,_.right),_.bottom=g2(x.bottom,_.bottom),_.left=Z0(x.left,_.left),_},rw(t,d,a));return y.width=y.right-y.left,y.height=y.bottom-y.top,y.x=y.left,y.y=y.top,y}function JF(t){var i=t.reference,s=t.element,a=t.placement,r=a?zl(a):null,e=a?Hd(a):null,d=i.x+i.width/2-s.width/2,y=i.y+i.height/2-s.height/2,_;switch(r){case Ba:_={x:d,y:i.y-s.height};break;case Ro:_={x:d,y:i.y+i.height};break;case Po:_={x:i.x+i.width,y};break;case Ua:_={x:i.x-s.width,y};break;default:_={x:i.x,y:i.y}}var E=r?j_(r):null;if(E!=null){var x=E==="y"?"height":"width";switch(e){case Bd:_[E]=_[E]-(i[x]/2-s[x]/2);break;case Hp:_[E]=_[E]+(i[x]/2-s[x]/2);break}}return _}function Wp(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=a===void 0?t.placement:a,e=s.strategy,d=e===void 0?t.strategy:e,y=s.boundary,_=y===void 0?Pk:y,E=s.rootBoundary,x=E===void 0?jF:E,A=s.elementContext,R=A===void 0?sp:A,L=s.altBoundary,B=L===void 0?!1:L,I=s.padding,G=I===void 0?0:I,z=KF(typeof G!="number"?G:QF(G,tg)),Q=R===sp?Ik:sp,ce=t.rects.popper,Y=t.elements[B?Q:R],V=d7(ih(Y)?Y:Y.contextElement||Af(t.elements.popper),_,x,d),Z=$d(t.elements.reference),ie=JF({reference:Z,element:ce,strategy:"absolute",placement:r}),U=Oy(Object.assign({},ce,ie)),H=R===sp?U:Z,te={top:V.top-H.top+z.top,bottom:H.bottom-V.bottom+z.bottom,left:V.left-H.left+z.left,right:H.right-V.right+z.right},fe=t.modifiersData.offset;if(R===sp&&fe){var Ee=fe[r];Object.keys(te).forEach(function(ye){var be=[Po,Ro].indexOf(ye)>=0?1:-1,$e=[Ba,Ro].indexOf(ye)>=0?"y":"x";te[ye]+=Ee[$e]*be})}return te}function p7(t,i){i===void 0&&(i={});var s=i,a=s.placement,r=s.boundary,e=s.rootBoundary,d=s.padding,y=s.flipVariations,_=s.allowedAutoPlacements,E=_===void 0?VF:_,x=Hd(a),A=x?y?J3:J3.filter(function(B){return Hd(B)===x}):tg,R=A.filter(function(B){return E.indexOf(B)>=0});R.length===0&&(R=A);var L=R.reduce(function(B,I){return B[I]=Wp(t,{placement:I,boundary:r,rootBoundary:e,padding:d})[zl(I)],B},{});return Object.keys(L).sort(function(B,I){return L[B]-L[I]})}function g7(t){if(zl(t)===H_)return[];var i=qm(t);return[tw(t),i,tw(i)]}function m7(t){var i=t.state,s=t.options,a=t.name;if(!i.modifiersData[a]._skip){for(var r=s.mainAxis,e=r===void 0?!0:r,d=s.altAxis,y=d===void 0?!0:d,_=s.fallbackPlacements,E=s.padding,x=s.boundary,A=s.rootBoundary,R=s.altBoundary,L=s.flipVariations,B=L===void 0?!0:L,I=s.allowedAutoPlacements,G=i.options.placement,z=zl(G),Q=z===G,ce=_||(Q||!B?[qm(G)]:g7(G)),Y=[G].concat(ce).reduce(function(We,xe){return We.concat(zl(xe)===H_?p7(i,{placement:xe,boundary:x,rootBoundary:A,padding:E,flipVariations:B,allowedAutoPlacements:I}):xe)},[]),V=i.rects.reference,Z=i.rects.popper,ie=new Map,U=!0,H=Y[0],te=0;te<Y.length;te++){var fe=Y[te],Ee=zl(fe),ye=Hd(fe)===Bd,be=[Ba,Ro].indexOf(Ee)>=0,$e=be?"width":"height",je=Wp(i,{placement:fe,boundary:x,rootBoundary:A,altBoundary:R,padding:E}),Fe=be?ye?Po:Ua:ye?Ro:Ba;V[$e]>Z[$e]&&(Fe=qm(Fe));var lt=qm(Fe),Xe=[];if(e&&Xe.push(je[Ee]<=0),y&&Xe.push(je[Fe]<=0,je[lt]<=0),Xe.every(function(We){return We})){H=fe,U=!1;break}ie.set(fe,Xe)}if(U)for(var Je=B?3:1,de=function(xe){var Be=Y.find(function(se){var He=ie.get(se);if(He)return He.slice(0,xe).every(function(pe){return pe})});if(Be)return H=Be,"break"},Se=Je;Se>0;Se--){var rt=de(Se);if(rt==="break")break}i.placement!==H&&(i.modifiersData[a]._skip=!0,i.placement=H,i.reset=!0)}}const v7={name:"flip",enabled:!0,phase:"main",fn:m7,requiresIfExists:["offset"],data:{_skip:!1}};function nw(t,i,s){return s===void 0&&(s={x:0,y:0}),{top:t.top-i.height-s.y,right:t.right-i.width+s.x,bottom:t.bottom-i.height+s.y,left:t.left-i.width-s.x}}function iw(t){return[Ba,Po,Ro,Ua].some(function(i){return t[i]>=0})}function b7(t){var i=t.state,s=t.name,a=i.rects.reference,r=i.rects.popper,e=i.modifiersData.preventOverflow,d=Wp(i,{elementContext:"reference"}),y=Wp(i,{altBoundary:!0}),_=nw(d,a),E=nw(y,r,e),x=iw(_),A=iw(E);i.modifiersData[s]={referenceClippingOffsets:_,popperEscapeOffsets:E,isReferenceHidden:x,hasPopperEscaped:A},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":x,"data-popper-escaped":A})}const y7={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:b7};function _7(t,i,s){var a=zl(t),r=[Ua,Ba].indexOf(a)>=0?-1:1,e=typeof s=="function"?s(Object.assign({},i,{placement:t})):s,d=e[0],y=e[1];return d=d||0,y=(y||0)*r,[Ua,Po].indexOf(a)>=0?{x:y,y:d}:{x:d,y}}function w7(t){var i=t.state,s=t.options,a=t.name,r=s.offset,e=r===void 0?[0,0]:r,d=VF.reduce(function(x,A){return x[A]=_7(A,i.rects,e),x},{}),y=d[i.placement],_=y.x,E=y.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=_,i.modifiersData.popperOffsets.y+=E),i.modifiersData[a]=d}const D7={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:w7};function E7(t){var i=t.state,s=t.name;i.modifiersData[s]=JF({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}const F7={name:"popperOffsets",enabled:!0,phase:"read",fn:E7,data:{}};function x7(t){return t==="x"?"y":"x"}function C7(t){var i=t.state,s=t.options,a=t.name,r=s.mainAxis,e=r===void 0?!0:r,d=s.altAxis,y=d===void 0?!1:d,_=s.boundary,E=s.rootBoundary,x=s.altBoundary,A=s.padding,R=s.tether,L=R===void 0?!0:R,B=s.tetherOffset,I=B===void 0?0:B,G=Wp(i,{boundary:_,rootBoundary:E,padding:A,altBoundary:x}),z=zl(i.placement),Q=Hd(i.placement),ce=!Q,Y=j_(z),V=x7(Y),Z=i.modifiersData.popperOffsets,ie=i.rects.reference,U=i.rects.popper,H=typeof I=="function"?I(Object.assign({},i.rects,{placement:i.placement})):I,te=typeof H=="number"?{mainAxis:H,altAxis:H}:Object.assign({mainAxis:0,altAxis:0},H),fe=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,Ee={x:0,y:0};if(Z){if(e){var ye,be=Y==="y"?Ba:Ua,$e=Y==="y"?Ro:Po,je=Y==="y"?"height":"width",Fe=Z[Y],lt=Fe+G[be],Xe=Fe-G[$e],Je=L?-U[je]/2:0,de=Q===Bd?ie[je]:U[je],Se=Q===Bd?-U[je]:-ie[je],rt=i.elements.arrow,We=L&&rt?z_(rt):{width:0,height:0},xe=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:qF(),Be=xe[be],se=xe[$e],He=wp(0,ie[je],We[je]),pe=ce?ie[je]/2-Je-He-Be-te.mainAxis:de-He-Be-te.mainAxis,it=ce?-ie[je]/2+Je+He+se+te.mainAxis:Se+He+se+te.mainAxis,kt=i.elements.arrow&&rg(i.elements.arrow),ne=kt?Y==="y"?kt.clientTop||0:kt.clientLeft||0:0,le=(ye=fe==null?void 0:fe[Y])!=null?ye:0,he=Fe+pe-le-ne,Ue=Fe+it-le,Le=wp(L?g2(lt,he):lt,Fe,L?Z0(Xe,Ue):Xe);Z[Y]=Le,Ee[Y]=Le-Fe}if(y){var et,xt=Y==="x"?Ba:Ua,bt=Y==="x"?Ro:Po,mt=Z[V],Ke=V==="y"?"height":"width",Ae=mt+G[xt],Re=mt-G[bt],Rt=[Ba,Ua].indexOf(z)!==-1,_t=(et=fe==null?void 0:fe[V])!=null?et:0,nr=Rt?Ae:mt-ie[Ke]-U[Ke]-_t+te.altAxis,fr=Rt?mt+ie[Ke]+U[Ke]-_t-te.altAxis:Re,ir=L&&Rt?Qk(nr,mt,fr):wp(L?nr:Ae,mt,L?fr:Re);Z[V]=ir,Ee[V]=ir-mt}i.modifiersData[a]=Ee}}const T7={name:"preventOverflow",enabled:!0,phase:"main",fn:C7,requiresIfExists:["offset"]};function A7(t){return{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}}function S7(t){return t===lo(t)||!ko(t)?V_(t):A7(t)}function k7(t){var i=t.getBoundingClientRect(),s=Ud(i.width)/t.offsetWidth||1,a=Ud(i.height)/t.offsetHeight||1;return s!==1||a!==1}function O7(t,i,s){s===void 0&&(s=!1);var a=ko(i),r=ko(i)&&k7(i),e=Af(i),d=$d(t,r,s),y={scrollLeft:0,scrollTop:0},_={x:0,y:0};return(a||!a&&!s)&&((Yl(i)!=="body"||Y_(e))&&(y=S7(i)),ko(i)?(_=$d(i,!0),_.x+=i.clientLeft,_.y+=i.clientTop):e&&(_.x=G_(e))),{x:d.left+y.scrollLeft-_.x,y:d.top+y.scrollTop-_.y,width:d.width,height:d.height}}function R7(t){var i=new Map,s=new Set,a=[];t.forEach(function(e){i.set(e.name,e)});function r(e){s.add(e.name);var d=[].concat(e.requires||[],e.requiresIfExists||[]);d.forEach(function(y){if(!s.has(y)){var _=i.get(y);_&&r(_)}}),a.push(e)}return t.forEach(function(e){s.has(e.name)||r(e)}),a}function P7(t){var i=R7(t);return jk.reduce(function(s,a){return s.concat(i.filter(function(r){return r.phase===a}))},[])}function I7(t){var i;return function(){return i||(i=new Promise(function(s){Promise.resolve().then(function(){i=void 0,s(t())})})),i}}function N7(t){var i=t.reduce(function(s,a){var r=s[a.name];return s[a.name]=r?Object.assign({},r,a,{options:Object.assign({},r.options,a.options),data:Object.assign({},r.data,a.data)}):a,s},{});return Object.keys(i).map(function(s){return i[s]})}var sw={placement:"bottom",modifiers:[],strategy:"absolute"};function aw(){for(var t=arguments.length,i=new Array(t),s=0;s<t;s++)i[s]=arguments[s];return!i.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function M7(t){t===void 0&&(t={});var i=t,s=i.defaultModifiers,a=s===void 0?[]:s,r=i.defaultOptions,e=r===void 0?sw:r;return function(y,_,E){E===void 0&&(E=e);var x={placement:"bottom",orderedModifiers:[],options:Object.assign({},sw,e),modifiersData:{},elements:{reference:y,popper:_},attributes:{},styles:{}},A=[],R=!1,L={state:x,setOptions:function(z){var Q=typeof z=="function"?z(x.options):z;I(),x.options=Object.assign({},e,x.options,Q),x.scrollParents={reference:ih(y)?Dp(y):y.contextElement?Dp(y.contextElement):[],popper:Dp(_)};var ce=P7(N7([].concat(a,x.options.modifiers)));return x.orderedModifiers=ce.filter(function(Y){return Y.enabled}),B(),L.update()},forceUpdate:function(){if(!R){var z=x.elements,Q=z.reference,ce=z.popper;if(aw(Q,ce)){x.rects={reference:O7(Q,rg(ce),x.options.strategy==="fixed"),popper:z_(ce)},x.reset=!1,x.placement=x.options.placement,x.orderedModifiers.forEach(function(te){return x.modifiersData[te.name]=Object.assign({},te.data)});for(var Y=0;Y<x.orderedModifiers.length;Y++){if(x.reset===!0){x.reset=!1,Y=-1;continue}var V=x.orderedModifiers[Y],Z=V.fn,ie=V.options,U=ie===void 0?{}:ie,H=V.name;typeof Z=="function"&&(x=Z({state:x,options:U,name:H,instance:L})||x)}}}},update:I7(function(){return new Promise(function(G){L.forceUpdate(),G(x)})}),destroy:function(){I(),R=!0}};if(!aw(y,_))return L;L.setOptions(E).then(function(G){!R&&E.onFirstUpdate&&E.onFirstUpdate(G)});function B(){x.orderedModifiers.forEach(function(G){var z=G.name,Q=G.options,ce=Q===void 0?{}:Q,Y=G.effect;if(typeof Y=="function"){var V=Y({state:x,name:z,instance:L,options:ce}),Z=function(){};A.push(V||Z)}})}function I(){A.forEach(function(G){return G()}),A=[]}return L}}var L7=[a7,F7,i7,Yk,D7,v7,T7,e7,y7],q_=M7({defaultModifiers:L7}),lf=globalThis&&globalThis.__assign||function(){return lf=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},lf.apply(this,arguments)},Rm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},cf={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},ZF=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=cf),this._targetEl=i,this._triggerEl=s,this._options=lf(lf({},cf),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();this._options.triggerType==="click"&&s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.toggle()})}),this._options.triggerType==="hover"&&(s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){a==="click"?i.toggle():setTimeout(function(){i.show()},i._options.delay)}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},i._options.delay)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},i._options.delay)})}))},t.prototype._createPopperInstance=function(){return q_(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target,r=this._options.ignoreClickOutsideClass,e=!1;if(r){var d=document.querySelectorAll(".".concat(r));d.forEach(function(y){if(y.contains(a)){e=!0;return}})}a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&!e&&this.isVisible()&&this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(i){return lf(lf({},i),{modifiers:Rm(Rm([],i.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(i){return lf(lf({},i),{modifiers:Rm(Rm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function K_(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(t){var i=t.getAttribute("data-dropdown-toggle"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-dropdown-placement"),r=t.getAttribute("data-dropdown-offset-skidding"),e=t.getAttribute("data-dropdown-offset-distance"),d=t.getAttribute("data-dropdown-trigger"),y=t.getAttribute("data-dropdown-delay"),_=t.getAttribute("data-dropdown-ignore-click-outside-class");new ZF(s,t,{placement:a||cf.placement,triggerType:d||cf.triggerType,offsetSkidding:r?parseInt(r):cf.offsetSkidding,offsetDistance:e?parseInt(e):cf.offsetDistance,delay:y?parseInt(y):cf.delay,ignoreClickOutsideClass:_||cf.ignoreClickOutsideClass})}else console.error('The dropdown element with id "'.concat(i,'" does not exist. Please check the data-dropdown-toggle attribute.'))})}typeof window<"u"&&(window.Dropdown=ZF,window.initDropdowns=K_);var m2=globalThis&&globalThis.__assign||function(){return m2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},m2.apply(this,arguments)},yd={placement:"center",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},Ry=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=yd),this._targetEl=i,this._options=m2(m2({},yd),s),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&this._getPlacementClasses().map(function(s){i._targetEl.classList.add(s)})},t.prototype._createBackdrop=function(){var i;if(this._isHidden){var s=document.createElement("div");s.setAttribute("modal-backdrop",""),(i=s.classList).add.apply(i,this._options.backdropClasses.split(" ")),document.querySelector("body").append(s),this._backdropEl=s}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var i=this;this._options.backdrop==="dynamic"&&(this._clickOutsideEventListener=function(s){i._handleOutsideClick(s.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){this._options.backdrop==="dynamic"&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(i){(i===this._targetEl||i===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"];default:return["justify-center","items-center"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),Pm=function(t,i){return i.some(function(s){return s.id===t})?i.find(function(s){return s.id===t}):null};function Q_(){var t=[];document.querySelectorAll("[data-modal-target]").forEach(function(i){var s=i.getAttribute("data-modal-target"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop");Pm(s,t)||t.push({id:s,object:new Ry(a,{placement:r||yd.placement,backdrop:e||yd.backdrop})})}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))}),document.querySelectorAll("[data-modal-toggle]").forEach(function(i){var s=i.getAttribute("data-modal-toggle"),a=document.getElementById(s);if(a){var r=a.getAttribute("data-modal-placement"),e=a.getAttribute("data-modal-backdrop"),d=Pm(s,t);d||(d={id:s,object:new Ry(a,{placement:r||yd.placement,backdrop:e||yd.backdrop})},t.push(d)),i.addEventListener("click",function(){d.object.toggle()})}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-show]").forEach(function(i){var s=i.getAttribute("data-modal-show"),a=document.getElementById(s);if(a){var r=Pm(s,t);r?i.addEventListener("click",function(){r.object.isHidden&&r.object.show()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))}),document.querySelectorAll("[data-modal-hide]").forEach(function(i){var s=i.getAttribute("data-modal-hide"),a=document.getElementById(s);if(a){var r=Pm(s,t);r?i.addEventListener("click",function(){r.object.isVisible&&r.object.hide()}):console.error("Modal with id ".concat(s," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(s," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}typeof window<"u"&&(window.Modal=Ry,window.initModals=Q_);var v2=globalThis&&globalThis.__assign||function(){return v2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},v2.apply(this,arguments)},G0={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900 bg-opacity-50 dark:bg-opacity-80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},e6=function(){function t(i,s){i===void 0&&(i=null),s===void 0&&(s=G0),this._targetEl=i,this._options=v2(v2({},G0),s),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map(function(s){i._targetEl.classList.add(s)}),document.addEventListener("keydown",function(s){s.key==="Escape"&&i.isVisible()&&i.hide()})},t.prototype.hide=function(){var i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.add(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.remove(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._targetEl.classList.add(s)})),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var i=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(s){i._targetEl.classList.remove(s)})):(this._getPlacementClasses(this._options.placement).active.map(function(s){i._targetEl.classList.add(s)}),this._getPlacementClasses(this._options.placement).inactive.map(function(s){i._targetEl.classList.remove(s)})),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var i,s=this;if(!this._visible){var a=document.createElement("div");a.setAttribute("drawer-backdrop",""),(i=a.classList).add.apply(i,this._options.backdropClasses.split(" ")),document.querySelector("body").append(a),a.addEventListener("click",function(){s.hide()})}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(i){switch(i){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),Im=function(t,i){if(i.some(function(s){return s.id===t}))return i.find(function(s){return s.id===t})};function X_(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach(function(i){var s=i.getAttribute("data-drawer-target"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-drawer-placement"),e=i.getAttribute("data-drawer-body-scrolling"),d=i.getAttribute("data-drawer-backdrop"),y=i.getAttribute("data-drawer-edge"),_=i.getAttribute("data-drawer-edge-offset");Im(s,t)||t.push({id:s,object:new e6(a,{placement:r||G0.placement,bodyScrolling:e?e==="true":G0.bodyScrolling,backdrop:d?d==="true":G0.backdrop,edge:y?y==="true":G0.edge,edgeOffset:_||G0.edgeOffset})})}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(i){var s=i.getAttribute("data-drawer-toggle"),a=document.getElementById(s);if(a){var r=Im(s,t);r?i.addEventListener("click",function(){r.object.toggle()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach(function(i){var s=i.getAttribute("data-drawer-dismiss")?i.getAttribute("data-drawer-dismiss"):i.getAttribute("data-drawer-hide"),a=document.getElementById(s);if(a){var r=Im(s,t);r?i.addEventListener("click",function(){r.object.hide()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(i){var s=i.getAttribute("data-drawer-show"),a=document.getElementById(s);if(a){var r=Im(s,t);r?i.addEventListener("click",function(){r.object.show()}):console.error("Drawer with id ".concat(s," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(s," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}typeof window<"u"&&(window.Drawer=e6,window.initDrawers=X_);var b2=globalThis&&globalThis.__assign||function(){return b2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},b2.apply(this,arguments)},ow={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},t6=function(){function t(i,s){i===void 0&&(i=[]),s===void 0&&(s=ow),this._items=i,this._activeTab=s?this.getTab(s.defaultTabId):null,this._options=b2(b2({},ow),s),this._init()}return t.prototype._init=function(){var i=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map(function(s){s.triggerEl.addEventListener("click",function(){i.show(s.id)})}))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(i){this._activeTab=i},t.prototype.getTab=function(i){return this._items.filter(function(s){return s.id===i})[0]},t.prototype.show=function(i,s){var a,r,e=this;s===void 0&&(s=!1);var d=this.getTab(i);d===this._activeTab&&!s||(this._items.map(function(y){var _,E;y!==d&&((_=y.triggerEl.classList).remove.apply(_,e._options.activeClasses.split(" ")),(E=y.triggerEl.classList).add.apply(E,e._options.inactiveClasses.split(" ")),y.targetEl.classList.add("hidden"),y.triggerEl.setAttribute("aria-selected","false"))}),(a=d.triggerEl.classList).add.apply(a,this._options.activeClasses.split(" ")),(r=d.triggerEl.classList).remove.apply(r,this._options.inactiveClasses.split(" ")),d.triggerEl.setAttribute("aria-selected","true"),d.targetEl.classList.remove("hidden"),this._setActiveTab(d),this._options.onShow(this,d))},t}();function J_(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(t){var i=[],s=null;t.querySelectorAll('[role="tab"]').forEach(function(a){var r=a.getAttribute("aria-selected")==="true",e={id:a.getAttribute("data-tabs-target"),triggerEl:a,targetEl:document.querySelector(a.getAttribute("data-tabs-target"))};i.push(e),r&&(s=e.id)}),new t6(i,{defaultTabId:s})})}typeof window<"u"&&(window.Tabs=t6,window.initTabs=J_);var uf=globalThis&&globalThis.__assign||function(){return uf=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},uf.apply(this,arguments)},Nm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},y2={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},Z_=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=y2),this._targetEl=i,this._triggerEl=s,this._options=uf(uf({},y2),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.hide()})})},t.prototype._createPopperInstance=function(){return q_(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(i){return uf(uf({},i),{modifiers:Nm(Nm([],i.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(i){return uf(uf({},i),{modifiers:Nm(Nm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function e4(){document.querySelectorAll("[data-tooltip-target]").forEach(function(t){var i=t.getAttribute("data-tooltip-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-tooltip-trigger"),r=t.getAttribute("data-tooltip-placement");new Z_(s,t,{placement:r||y2.placement,triggerType:a||y2.triggerType})}else console.error('The tooltip element with id "'.concat(i,'" does not exist. Please check the data-tooltip-target attribute.'))})}typeof window<"u"&&(window.Tooltip=Z_,window.initTooltips=e4);var ff=globalThis&&globalThis.__assign||function(){return ff=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},ff.apply(this,arguments)},Mm=globalThis&&globalThis.__spreadArray||function(t,i,s){if(s||arguments.length===2)for(var a=0,r=i.length,e;a<r;a++)(e||!(a in i))&&(e||(e=Array.prototype.slice.call(i,0,a)),e[a]=i[a]);return t.concat(e||Array.prototype.slice.call(i))},Ep={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},r6=function(){function t(i,s,a){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=Ep),this._targetEl=i,this._triggerEl=s,this._options=ff(ff({},Ep),a),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var i=this,s=this._getTriggerEvents();s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){setTimeout(function(){i._targetEl.matches(":hover")||i.hide()},100)}),i._targetEl.addEventListener(a,function(){setTimeout(function(){i._triggerEl.matches(":hover")||i.hide()},100)})})},t.prototype._createPopperInstance=function(){return q_(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t.prototype._setupKeydownListener=function(){var i=this;this._keydownEventListener=function(s){s.key==="Escape"&&i.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var i=this;this._clickOutsideEventListener=function(s){i._handleClickOutside(s,i._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(i,s){var a=i.target;a!==s&&!s.contains(a)&&!this._triggerEl.contains(a)&&this.isVisible()&&this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(i){return ff(ff({},i),{modifiers:Mm(Mm([],i.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(i){return ff(ff({},i),{modifiers:Mm(Mm([],i.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function t4(){document.querySelectorAll("[data-popover-target]").forEach(function(t){var i=t.getAttribute("data-popover-target"),s=document.getElementById(i);if(s){var a=t.getAttribute("data-popover-trigger"),r=t.getAttribute("data-popover-placement"),e=t.getAttribute("data-popover-offset");new r6(s,t,{placement:r||Ep.placement,offset:e?parseInt(e):Ep.offset,triggerType:a||Ep.triggerType})}else console.error('The popover element with id "'.concat(i,'" does not exist. Please check the data-popover-target attribute.'))})}typeof window<"u"&&(window.Popover=r6,window.initPopovers=t4);var _2=globalThis&&globalThis.__assign||function(){return _2=Object.assign||function(t){for(var i,s=1,a=arguments.length;s<a;s++){i=arguments[s];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},_2.apply(this,arguments)},Py={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},n6=function(){function t(i,s,a,r){i===void 0&&(i=null),s===void 0&&(s=null),a===void 0&&(a=null),r===void 0&&(r=Py),this._parentEl=i,this._triggerEl=s,this._targetEl=a,this._options=_2(_2({},Py),r),this._visible=!1,this._init()}return t.prototype._init=function(){var i=this;if(this._triggerEl){var s=this._getTriggerEventTypes(this._options.triggerType);s.showEvents.forEach(function(a){i._triggerEl.addEventListener(a,function(){i.show()}),i._targetEl.addEventListener(a,function(){i.show()})}),s.hideEvents.forEach(function(a){i._parentEl.addEventListener(a,function(){i._parentEl.matches(":hover")||i.hide()})})}},t.prototype.hide=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this._visible?this.hide():this.show()},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t.prototype._getTriggerEventTypes=function(i){switch(i){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},t}();function r4(){document.querySelectorAll("[data-dial-init]").forEach(function(t){var i=t.querySelector("[data-dial-toggle]");if(i){var s=i.getAttribute("data-dial-toggle"),a=document.getElementById(s);if(a){var r=i.getAttribute("data-dial-trigger");new n6(t,i,a,{triggerType:r||Py.triggerType})}else console.error("Dial with id ".concat(s," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(t.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}typeof window<"u"&&(window.Dial=n6,window.initDials=r4);function B7(){L_(),B_(),U_(),$_(),K_(),Q_(),X_(),J_(),e4(),t4(),r4()}typeof window<"u"&&(window.initFlowbite=B7);var U7=new Rk("load",[L_,B_,U_,$_,K_,Q_,X_,J_,e4,t4,r4]);U7.init();const $7=zt("div",{class:"tooltip-arrow","data-popper-arrow":""},null,-1),i6=ds({__name:"Tooltip",props:{placement:null},setup(t){const i=t,s=dr(null),a=dr(null),r=mn(()=>i.placement??"auto");return yl(()=>{if(s.value&&a.value){const e={placement:r.value,triggerType:"hover"};new Z_(s.value,a.value,e)}}),(e,d)=>(hn(),Yn("div",null,[zt("div",{ref_key:"tooltipTriggerEl",ref:a},[rh(e.$slots,"default")],512),zt("div",{ref_key:"tooltipTargetEl",ref:s,role:"tooltip",class:"tooltip inline-block absolute invisible px-3 py-2 transition-opacity duration-300 shadow-sm opacity-0","z-99999":"",rounded:"","text-base":"","text-white":"","font-medium":"","bg-gray-900":"","dark:bg-gray-700":""},[zt("div",null,[rh(e.$slots,"popper")]),$7],512)]))}}),H7="Board - XCPCIO",YN="Balloon - XCPCIO",qN="Countdown - XCPCIO",W7=mn(()=>window?window.CDN_HOST:""),z7=mn(()=>window?window.DATA_HOST:""),j7=mn(()=>window?window.DATA_REGION:""),V7="0.45.0",s6="https://github.com/xcpcio/xcpcio",G7="00de6c6e5c";var dl=(t=>(t.PENDING="PENDING",t.RUNNING="RUNNING",t.FROZEN="FROZEN",t.FINISHED="FINISHED",t.PAUSED="PAUSED",t))(dl||{}),$t=(t=>(t.PENDING="PENDING",t.WAITING="WAITING",t.PREPARING="PREPARING",t.COMPILING="COMPILING",t.RUNNING="RUNNING",t.JUDGING="JUDGING",t.FROZEN="FROZEN",t.ACCEPTED="ACCEPTED",t.CORRECT="CORRECT",t.PARTIALLY_CORRECT="PARTIALLY_CORRECT",t.REJECTED="REJECTED",t.WRONG_ANSWER="WRONG_ANSWER",t.NO_OUTPUT="NO_OUTPUT",t.COMPILATION_ERROR="COMPILATION_ERROR",t.PRESENTATION_ERROR="PRESENTATION_ERROR",t.RUNTIME_ERROR="RUNTIME_ERROR",t.TIME_LIMIT_EXCEEDED="TIME_LIMIT_EXCEEDED",t.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",t.OUTPUT_LIMIT_EXCEEDED="OUTPUT_LIMIT_EXCEEDED",t.IDLENESS_LIMIT_EXCEEDED="IDLENESS_LIMIT_EXCEEDED",t.HACKED="HACKED",t.JUDGEMENT_FAILED="JUDGEMENT_FAILED",t.CONFIGURATION_ERROR="CONFIGURATION_ERROR",t.FILE_ERROR="FILE_ERROR",t.SYSTEM_ERROR="SYSTEM_ERROR",t.CANCELED="CANCELED",t.SKIPPED="SKIPPED",t.SECURITY_VIOLATED="SECURITY_VIOLATED",t.DENIAL_OF_JUDGEMENT="DENIAL_OF_JUDGEMENT",t.UNKNOWN="UNKNOWN",t.UNDEFINED="UNDEFINED",t))($t||{});const KN={PENDING:"Pending",WAITING:"Waiting",PREPARING:"Preparing",COMPILING:"Compiling",RUNNING:"Running",JUDGING:"Judging",FROZEN:"Frozen",ACCEPTED:"Accepted",CORRECT:"Correct",PARTIALLY_CORRECT:"Partially Correct",REJECTED:"Rejected",WRONG_ANSWER:"Wrong Answer",NO_OUTPUT:"No Output",COMPILATION_ERROR:"Compilation Error",PRESENTATION_ERROR:"Presentation Error",RUNTIME_ERROR:"Runtime Error",TIME_LIMIT_EXCEEDED:"Time Limit Exceeded",MEMORY_LIMIT_EXCEEDED:"Memory Limit Exceeded",OUTPUT_LIMIT_EXCEEDED:"Output Limit Exceeded",IDLENESS_LIMIT_EXCEEDED:"Idleness Limit Exceeded",HACKED:"Hacked",JUDGEMENT_FAILED:"Judgement Failed",CONFIGURATION_ERROR:"Configuration Error",FILE_ERROR:"File Error",SYSTEM_ERROR:"System Error",CANCELED:"Canceled",SKIPPED:"Skipped",SECURITY_VIOLATED:"Security Violated",DENIAL_OF_JUDGEMENT:"Denial Of Judgement",UNKNOWN:"Unknown",UNDEFINED:"Undefined"},QN={PENDING:"PD",WAITING:"PD",PREPARING:"PD",COMPILING:"PD",RUNNING:"PD",JUDGING:"PD",FROZEN:"?",ACCEPTED:"AC",CORRECT:"AC",PARTIALLY_CORRECT:"RJ",REJECTED:"RJ",WRONG_ANSWER:"WA",NO_OUTPUT:"NO",COMPILATION_ERROR:"CE",PRESENTATION_ERROR:"PE",RUNTIME_ERROR:"RTE",TIME_LIMIT_EXCEEDED:"TLE",MEMORY_LIMIT_EXCEEDED:"MLE",OUTPUT_LIMIT_EXCEEDED:"OLE",IDLENESS_LIMIT_EXCEEDED:"ILE",HACKED:"RJ",JUDGEMENT_FAILED:"RJ",CONFIGURATION_ERROR:"RJ",FILE_ERROR:"RJ",SYSTEM_ERROR:"RJ",CANCELED:"RJ",SKIPPED:"RJ",SECURITY_VIOLATED:"RJ",DENIAL_OF_JUDGEMENT:"RJ",UNKNOWN:"RJ",UNDEFINED:"RJ"},Y7={"mt-8":"","py-4":"","md:py-8":"","lg:py-10":"","w-full":"",flex:"","justify-center":"","items-center":""},q7={"text-center":"","w-full":""},K7=zt("div",{"i-ion-balloon-sharp":"","mr-4":"","h-8":""},null,-1),Q7=zt("p",{"my-6":"","text-gray-500":"","dark:text-gray-400":"","w-full":"",flex:"","justify-center":""}," Open-source project of ICPC/CCPC Standings. ",-1),X7={"mb-6":"","w-full":"",flex:"","flex-wrap":"","items-center":"","justify-center":"","text-gray-900":"","dark:text-white":""},J7={"mr-4":"","md:mr-6":""},Z7=["href"],eO={flex:"","justify-center":"","items-start":"","flex-col":""},tO={"mr-4":"","md:mr-6":""},rO=zt("a",{href:"mailto:hi@dup4.com","hover:underline":""}," Contact ",-1),nO={flex:"","justify-center":"","items-start":"","flex-col":""},iO={"text-sm":"","text-gray-500":"","sm:text-center":"","dark:text-gray-400":"","w-full":""},sO=ds({__name:"Footer",setup(t){return(i,s)=>{const a=vl("RouterLink"),r=i6;return hn(),Yn("footer",Y7,[zt("div",q7,[Yr(a,{flex:"","items-center":"","justify-center":"","text-2xl":"","font-semibold":"","text-gray-900":"","dark:text-white":"",to:"/"},{default:Es(()=>[K7,Wl(" Get more balloons ")]),_:1}),Q7,zt("ul",X7,[zt("li",null,[Yr(a,{to:"/","mr-4":"","md:mr-6":"","hover:underline":""},{default:Es(()=>[Wl(" Home ")]),_:1})]),zt("li",null,[zt("div",J7,[Yr(r,null,{popper:Es(()=>[zt("div",eO,[zt("div",null,"Tag: "+rs(vr(V7)),1),zt("div",null,"Sha: "+rs(vr(G7)),1)])]),default:Es(()=>[zt("a",{href:vr(s6),"hover:underline":"",rel:"noreferrer",target:"_blank",title:"GitHub"}," GitHub ",8,Z7)]),_:1})])]),zt("li",null,[zt("div",tO,[Yr(r,null,{popper:Es(()=>[zt("div",nO,[zt("div",null,"CDN Host: "+rs("CDN_HOST"in i?i.CDN_HOST:vr(W7)),1),zt("div",null,"DATA Host: "+rs("DATA_HOST"in i?i.DATA_HOST:vr(z7)),1),zt("div",null,"Data Region: "+rs("DATA_REGION"in i?i.DATA_REGION:vr(j7)),1)])]),default:Es(()=>[rO]),_:1})])])]),zt("span",iO,[Wl("© 2020-PRESENT "),Yr(a,{to:"/","hover:underline":""},{default:Es(()=>[Wl("XCPCIO™")]),_:1}),Wl(". All Rights Reserved.")])])])}}});function ql(t){return M2()?(r_(t),!0):!1}function $b(){const t=new Set,i=r=>{t.delete(r)};return{on:r=>{t.add(r);const e=()=>i(r);return ql(e),{off:e}},off:i,trigger:r=>Promise.all(Array.from(t).map(e=>e(r)))}}function Ri(t){return typeof t=="function"?t():vr(t)}const Wd=typeof window<"u",aO=t=>typeof t<"u",oO=t=>t!=null,Td=()=>{};function lO(t,i){function s(...a){return new Promise((r,e)=>{Promise.resolve(t(()=>i.apply(this,a),{fn:i,thisArg:this,args:a})).then(r).catch(e)})}return s}const a6=t=>t();function cO(t=a6){const i=dr(!0);function s(){i.value=!1}function a(){i.value=!0}const r=(...e)=>{i.value&&t(...e)};return{isActive:oh(i),pause:s,resume:a,eventFilter:r}}function lw(t,i=!1,s="Timeout"){return new Promise((a,r)=>{setTimeout(i?()=>r(s):a,t)})}function uO(t,...i){return i.some(s=>s in t)}function Fp(...t){if(t.length!==1)return YD(...t);const i=t[0];return typeof i=="function"?oh(u_(()=>({get:i,set:Td}))):dr(i)}function fO(t,i=!0){Cs()?yl(t):i?t():Ql(t)}function Iy(t,i=!1){function s(A,{flush:R="sync",deep:L=!1,timeout:B,throwOnTimeout:I}={}){let G=null;const Q=[new Promise(ce=>{G=Qn(t,Y=>{A(Y)!==i&&(G==null||G(),ce(Y))},{flush:R,deep:L,immediate:!0})})];return B!=null&&Q.push(lw(B,I).then(()=>Ri(t)).finally(()=>G==null?void 0:G())),Promise.race(Q)}function a(A,R){if(!Ln(A))return s(Y=>Y===A,R);const{flush:L="sync",deep:B=!1,timeout:I,throwOnTimeout:G}=R??{};let z=null;const ce=[new Promise(Y=>{z=Qn([t,A],([V,Z])=>{i!==(V===Z)&&(z==null||z(),Y(V))},{flush:L,deep:B,immediate:!0})})];return I!=null&&ce.push(lw(I,G).then(()=>Ri(t)).finally(()=>(z==null||z(),Ri(t)))),Promise.race(ce)}function r(A){return s(R=>!!R,A)}function e(A){return a(null,A)}function d(A){return a(void 0,A)}function y(A){return s(Number.isNaN,A)}function _(A,R){return s(L=>{const B=Array.from(L);return B.includes(A)||B.includes(Ri(A))},R)}function E(A){return x(1,A)}function x(A=1,R){let L=-1;return s(()=>(L+=1,L>=A),R)}return Array.isArray(Ri(t))?{toMatch:s,toContains:_,changed:E,changedTimes:x,get not(){return Iy(t,!i)}}:{toMatch:s,toBe:a,toBeTruthy:r,toBeNull:e,toBeNaN:y,toBeUndefined:d,changed:E,changedTimes:x,get not(){return Iy(t,!i)}}}function hO(t){return Iy(t)}function dO(t,i=1e3,s={}){const{immediate:a=!0,immediateCallback:r=!1}=s;let e=null;const d=dr(!1);function y(){e&&(clearInterval(e),e=null)}function _(){d.value=!1,y()}function E(){const x=Ri(i);x<=0||(d.value=!0,r&&t(),y(),e=setInterval(t,x))}if(a&&Wd&&E(),Ln(i)||typeof i=="function"){const x=Qn(i,()=>{d.value&&Wd&&E()});ql(x)}return ql(_),{isActive:d,pause:_,resume:E}}function o6(t,i,s={}){const{immediate:a=!0}=s,r=dr(!1);let e=null;function d(){e&&(clearTimeout(e),e=null)}function y(){r.value=!1,d()}function _(...E){d(),r.value=!0,e=setTimeout(()=>{r.value=!1,e=null,t(...E)},Ri(i))}return a&&(r.value=!0,Wd&&_()),ql(y),{isPending:oh(r),start:_,stop:y}}function pO(t=!1,i={}){const{truthyValue:s=!0,falsyValue:a=!1}=i,r=Ln(t),e=dr(t);function d(y){if(arguments.length)return e.value=y,e.value;{const _=Ri(s);return e.value=e.value===_?Ri(a):_,e.value}}return r?d:[e,d]}var cw=Object.getOwnPropertySymbols,gO=Object.prototype.hasOwnProperty,mO=Object.prototype.propertyIsEnumerable,vO=(t,i)=>{var s={};for(var a in t)gO.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&cw)for(var a of cw(t))i.indexOf(a)<0&&mO.call(t,a)&&(s[a]=t[a]);return s};function bO(t,i,s={}){const a=s,{eventFilter:r=a6}=a,e=vO(a,["eventFilter"]);return Qn(t,lO(r,i),e)}var yO=Object.defineProperty,_O=Object.defineProperties,wO=Object.getOwnPropertyDescriptors,w2=Object.getOwnPropertySymbols,l6=Object.prototype.hasOwnProperty,c6=Object.prototype.propertyIsEnumerable,uw=(t,i,s)=>i in t?yO(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,DO=(t,i)=>{for(var s in i||(i={}))l6.call(i,s)&&uw(t,s,i[s]);if(w2)for(var s of w2(i))c6.call(i,s)&&uw(t,s,i[s]);return t},EO=(t,i)=>_O(t,wO(i)),FO=(t,i)=>{var s={};for(var a in t)l6.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&w2)for(var a of w2(t))i.indexOf(a)<0&&c6.call(t,a)&&(s[a]=t[a]);return s};function xO(t,i,s={}){const a=s,{eventFilter:r}=a,e=FO(a,["eventFilter"]),{eventFilter:d,pause:y,resume:_,isActive:E}=cO(r);return{stop:bO(t,i,EO(DO({},e),{eventFilter:d})),pause:y,resume:_,isActive:E}}function Ad(t){var i;const s=Ri(t);return(i=s==null?void 0:s.$el)!=null?i:s}const co=Wd?window:void 0,CO=Wd?window.document:void 0,TO=Wd?window.navigator:void 0;function $c(...t){let i,s,a,r;if(typeof t[0]=="string"||Array.isArray(t[0])?([s,a,r]=t,i=co):[i,s,a,r]=t,!i)return Td;Array.isArray(s)||(s=[s]),Array.isArray(a)||(a=[a]);const e=[],d=()=>{e.forEach(x=>x()),e.length=0},y=(x,A,R,L)=>(x.addEventListener(A,R,L),()=>x.removeEventListener(A,R,L)),_=Qn(()=>[Ad(i),Ri(r)],([x,A])=>{d(),x&&e.push(...s.flatMap(R=>a.map(L=>y(x,R,L,A))))},{immediate:!0,flush:"post"}),E=()=>{_(),d()};return ql(E),E}function AO(t){return typeof t=="function"?t:typeof t=="string"?i=>i.key===t:Array.isArray(t)?i=>t.includes(i.key):()=>!0}function XN(...t){let i,s,a={};t.length===3?(i=t[0],s=t[1],a=t[2]):t.length===2?typeof t[1]=="object"?(i=!0,s=t[0],a=t[1]):(i=t[0],s=t[1]):(i=!0,s=t[0]);const{target:r=co,eventName:e="keydown",passive:d=!1,dedupe:y=!1}=a,_=AO(i);return $c(r,e,x=>{x.repeat&&Ri(y)||_(x)&&s(x)},d)}function SO(){const t=dr(!1);return Cs()&&yl(()=>{t.value=!0}),t}function iv(t){const i=SO();return mn(()=>(i.value,!!t()))}function kO(t,i={}){const{immediate:s=!0,window:a=co}=i,r=dr(!1);let e=0,d=null;function y(x){if(!r.value||!a)return;const A=x-(e||x);t({delta:A,timestamp:x}),e=x,d=a.requestAnimationFrame(y)}function _(){!r.value&&a&&(r.value=!0,d=a.requestAnimationFrame(y))}function E(){r.value=!1,d!=null&&a&&(a.cancelAnimationFrame(d),d=null)}return s&&_(),ql(E),{isActive:oh(r),pause:E,resume:_}}function OO(t,i={}){const{window:s=co}=i,a=iv(()=>s&&"matchMedia"in s&&typeof s.matchMedia=="function");let r;const e=dr(!1),d=E=>{e.value=E.matches},y=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",d):r.removeListener(d))},_=g_(()=>{a.value&&(y(),r=s.matchMedia(Ri(t)),"addEventListener"in r?r.addEventListener("change",d):r.addListener(d),e.value=r.matches)});return ql(()=>{_(),y(),r=void 0}),e}function JN(t={}){const{navigator:i=TO,read:s=!1,source:a,copiedDuring:r=1500,legacy:e=!1}=t,d=iv(()=>i&&"clipboard"in i),y=mn(()=>d.value||e),_=dr(""),E=dr(!1),x=o6(()=>E.value=!1,r);function A(){d.value?i.clipboard.readText().then(I=>{_.value=I}):_.value=B()}y.value&&s&&$c(["copy","cut"],A);async function R(I=Ri(a)){y.value&&I!=null&&(d.value?await i.clipboard.writeText(I):L(I),_.value=I,E.value=!0,x.start())}function L(I){const G=document.createElement("textarea");G.value=I??"",G.style.position="absolute",G.style.opacity="0",document.body.appendChild(G),G.select(),document.execCommand("copy"),G.remove()}function B(){var I,G,z;return(z=(G=(I=document==null?void 0:document.getSelection)==null?void 0:I.call(document))==null?void 0:G.toString())!=null?z:""}return{isSupported:y,text:_,copied:E,copy:R}}function RO(t){return JSON.parse(JSON.stringify(t))}const Lm=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Bm="__vueuse_ssr_handlers__",PO=IO();function IO(){return Bm in Lm||(Lm[Bm]=Lm[Bm]||{}),Lm[Bm]}function u6(t,i){return PO[t]||i}function NO(t){return t==null?"any":t instanceof Set?"set":t instanceof Map?"map":t instanceof Date?"date":typeof t=="boolean"?"boolean":typeof t=="string"?"string":typeof t=="object"?"object":Number.isNaN(t)?"any":"number"}var MO=Object.defineProperty,fw=Object.getOwnPropertySymbols,LO=Object.prototype.hasOwnProperty,BO=Object.prototype.propertyIsEnumerable,hw=(t,i,s)=>i in t?MO(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,dw=(t,i)=>{for(var s in i||(i={}))LO.call(i,s)&&hw(t,s,i[s]);if(fw)for(var s of fw(i))BO.call(i,s)&&hw(t,s,i[s]);return t};const UO={boolean:{read:t=>t==="true",write:t=>String(t)},object:{read:t=>JSON.parse(t),write:t=>JSON.stringify(t)},number:{read:t=>Number.parseFloat(t),write:t=>String(t)},any:{read:t=>t,write:t=>String(t)},string:{read:t=>t,write:t=>String(t)},map:{read:t=>new Map(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t.entries()))},set:{read:t=>new Set(JSON.parse(t)),write:t=>JSON.stringify(Array.from(t))},date:{read:t=>new Date(t),write:t=>t.toISOString()}},pw="vueuse-storage";function $O(t,i,s,a={}){var r;const{flush:e="pre",deep:d=!0,listenToStorageChanges:y=!0,writeDefaults:_=!0,mergeDefaults:E=!1,shallow:x,window:A=co,eventFilter:R,onError:L=U=>{console.error(U)}}=a,B=(x?Fd:dr)(i);if(!s)try{s=u6("getDefaultStorage",()=>{var U;return(U=co)==null?void 0:U.localStorage})()}catch(U){L(U)}if(!s)return B;const I=Ri(i),G=NO(I),z=(r=a.serializer)!=null?r:UO[G],{pause:Q,resume:ce}=xO(B,()=>Y(B.value),{flush:e,deep:d,eventFilter:R});return A&&y&&($c(A,"storage",ie),$c(A,pw,Z)),ie(),B;function Y(U){try{if(U==null)s.removeItem(t);else{const H=z.write(U),te=s.getItem(t);te!==H&&(s.setItem(t,H),A&&A.dispatchEvent(new CustomEvent(pw,{detail:{key:t,oldValue:te,newValue:H,storageArea:s}})))}}catch(H){L(H)}}function V(U){const H=U?U.newValue:s.getItem(t);if(H==null)return _&&I!==null&&s.setItem(t,z.write(I)),I;if(!U&&E){const te=z.read(H);return typeof E=="function"?E(te,I):G==="object"&&!Array.isArray(te)?dw(dw({},I),te):te}else return typeof H!="string"?H:z.read(H)}function Z(U){ie(U.detail)}function ie(U){if(!(U&&U.storageArea!==s)){if(U&&U.key==null){B.value=I;return}if(!(U&&U.key!==t)){Q();try{B.value=V(U)}catch(H){L(H)}finally{U?Ql(ce):ce()}}}}}function f6(t){return OO("(prefers-color-scheme: dark)",t)}var HO=Object.defineProperty,gw=Object.getOwnPropertySymbols,WO=Object.prototype.hasOwnProperty,zO=Object.prototype.propertyIsEnumerable,mw=(t,i,s)=>i in t?HO(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,jO=(t,i)=>{for(var s in i||(i={}))WO.call(i,s)&&mw(t,s,i[s]);if(gw)for(var s of gw(i))zO.call(i,s)&&mw(t,s,i[s]);return t};function VO(t={}){const{selector:i="html",attribute:s="class",initialValue:a="auto",window:r=co,storage:e,storageKey:d="vueuse-color-scheme",listenToStorageChanges:y=!0,storageRef:_,emitAuto:E,disableTransition:x=!0}=t,A=jO({auto:"",light:"light",dark:"dark"},t.modes||{}),R=f6({window:r}),L=mn(()=>R.value?"dark":"light"),B=_||(d==null?Fp(a):$O(d,a,e,{window:r,listenToStorageChanges:y})),I=mn(()=>B.value==="auto"?L.value:B.value),G=u6("updateHTMLAttrs",(Y,V,Z)=>{const ie=typeof Y=="string"?r==null?void 0:r.document.querySelector(Y):Ad(Y);if(!ie)return;let U;if(x){U=r.document.createElement("style");const H="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";U.appendChild(document.createTextNode(H)),r.document.head.appendChild(U)}if(V==="class"){const H=Z.split(/\s/g);Object.values(A).flatMap(te=>(te||"").split(/\s/g)).filter(Boolean).forEach(te=>{H.includes(te)?ie.classList.add(te):ie.classList.remove(te)})}else ie.setAttribute(V,Z);x&&(r.getComputedStyle(U).opacity,document.head.removeChild(U))});function z(Y){var V;G(i,s,(V=A[Y])!=null?V:Y)}function Q(Y){t.onChanged?t.onChanged(Y,z):z(Y)}Qn(I,Q,{flush:"post",immediate:!0}),fO(()=>Q(I.value));const ce=mn({get(){return E?B.value:I.value},set(Y){B.value=Y}});try{return Object.assign(ce,{store:B,system:L,state:I})}catch{return ce}}var vw=Object.getOwnPropertySymbols,GO=Object.prototype.hasOwnProperty,YO=Object.prototype.propertyIsEnumerable,qO=(t,i)=>{var s={};for(var a in t)GO.call(t,a)&&i.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&vw)for(var a of vw(t))i.indexOf(a)<0&&YO.call(t,a)&&(s[a]=t[a]);return s};function KO(t,i,s={}){const a=s,{window:r=co}=a,e=qO(a,["window"]);let d;const y=iv(()=>r&&"MutationObserver"in r),_=()=>{d&&(d.disconnect(),d=void 0)},E=Qn(()=>Ad(t),A=>{_(),y.value&&r&&A&&(d=new MutationObserver(i),d.observe(A,e))},{immediate:!0}),x=()=>{_(),E()};return ql(x),{isSupported:y,stop:x}}var QO=Object.defineProperty,XO=Object.defineProperties,JO=Object.getOwnPropertyDescriptors,bw=Object.getOwnPropertySymbols,ZO=Object.prototype.hasOwnProperty,e9=Object.prototype.propertyIsEnumerable,yw=(t,i,s)=>i in t?QO(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,t9=(t,i)=>{for(var s in i||(i={}))ZO.call(i,s)&&yw(t,s,i[s]);if(bw)for(var s of bw(i))e9.call(i,s)&&yw(t,s,i[s]);return t},r9=(t,i)=>XO(t,JO(i));function n9(t={}){const{valueDark:i="dark",valueLight:s=""}=t,a=VO(r9(t9({},t),{onChanged:(e,d)=>{var y;t.onChanged?(y=t.onChanged)==null||y.call(t,e==="dark",d,e):d(e)},modes:{dark:i,light:s}}));return mn({get(){return a.value==="dark"},set(e){const d=e?"dark":"light";a.system.value===d?a.value="auto":a.value=d}})}function i9(t,i,s={}){const{root:a,rootMargin:r="0px",threshold:e=.1,window:d=co,immediate:y=!0}=s,_=iv(()=>d&&"IntersectionObserver"in d),E=mn(()=>{const B=Ri(t);return(Array.isArray(B)?B:[B]).map(Ad).filter(oO)});let x=Td;const A=dr(y),R=_.value?Qn(()=>[E.value,Ad(a),A.value],([B,I])=>{if(x(),!A.value||!B.length)return;const G=new IntersectionObserver(i,{root:Ad(I),rootMargin:r,threshold:e});B.forEach(z=>z&&G.observe(z)),x=()=>{G.disconnect(),x=Td}},{immediate:y,flush:"post"}):Td,L=()=>{x(),R(),A.value=!1};return ql(L),{isSupported:_,isActive:A,pause(){x(),A.value=!1},resume(){A.value=!0},stop:L}}function s9(t,{window:i=co,scrollTarget:s}={}){const a=dr(!1);return i9(t,([{isIntersecting:r}])=>{a.value=r},{root:s,window:i}),a}var a9=Object.defineProperty,o9=Object.defineProperties,l9=Object.getOwnPropertyDescriptors,_w=Object.getOwnPropertySymbols,c9=Object.prototype.hasOwnProperty,u9=Object.prototype.propertyIsEnumerable,ww=(t,i,s)=>i in t?a9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,Pa=(t,i)=>{for(var s in i||(i={}))c9.call(i,s)&&ww(t,s,i[s]);if(_w)for(var s of _w(i))u9.call(i,s)&&ww(t,s,i[s]);return t},ap=(t,i)=>o9(t,l9(i));const f9={json:"application/json",text:"text/plain"};function Dw(t){return t&&uO(t,"immediate","refetch","initialData","timeout","beforeFetch","afterFetch","onFetchError","fetch")}function Hb(t){return typeof Headers<"u"&&t instanceof Headers?Object.fromEntries([...t.entries()]):t}function h9(t,...i){var s;const a=typeof AbortController=="function";let r={},e={immediate:!0,refetch:!1,timeout:0};const d={method:"GET",type:"text",payload:void 0};i.length>0&&(Dw(i[0])?e=Pa(Pa({},e),i[0]):r=i[0]),i.length>1&&Dw(i[1])&&(e=Pa(Pa({},e),i[1]));const{fetch:y=(s=co)==null?void 0:s.fetch,initialData:_,timeout:E}=e,x=$b(),A=$b(),R=$b(),L=dr(!1),B=dr(!1),I=dr(!1),G=dr(null),z=Fd(null),Q=Fd(null),ce=Fd(_||null),Y=mn(()=>a&&B.value);let V,Z;const ie=()=>{a&&(V==null||V.abort(),V=new AbortController,V.signal.onabort=()=>I.value=!0,r=ap(Pa({},r),{signal:V.signal}))},U=$e=>{B.value=$e,L.value=!$e};E&&(Z=o6(ie,E,{immediate:!1}));const H=async($e=!1)=>{var je;ie(),U(!0),Q.value=null,G.value=null,I.value=!1;const Fe={method:d.method,headers:{}};if(d.payload){const de=Hb(Fe.headers),Se=Ri(d.payload);!d.payloadType&&Se&&Object.getPrototypeOf(Se)===Object.prototype&&!(Se instanceof FormData)&&(d.payloadType="json"),d.payloadType&&(de["Content-Type"]=(je=f9[d.payloadType])!=null?je:d.payloadType),Fe.body=d.payloadType==="json"?JSON.stringify(Se):Se}let lt=!1;const Xe={url:Ri(t),options:Pa(Pa({},Fe),r),cancel:()=>{lt=!0}};if(e.beforeFetch&&Object.assign(Xe,await e.beforeFetch(Xe)),lt||!y)return U(!1),Promise.resolve(null);let Je=null;return Z&&Z.start(),new Promise((de,Se)=>{var rt;y(Xe.url,ap(Pa(Pa({},Fe),Xe.options),{headers:Pa(Pa({},Hb(Fe.headers)),Hb((rt=Xe.options)==null?void 0:rt.headers))})).then(async We=>{if(z.value=We,G.value=We.status,Je=await We[d.type](),!We.ok)throw ce.value=_||null,new Error(We.statusText);return e.afterFetch&&({data:Je}=await e.afterFetch({data:Je,response:We})),ce.value=Je,x.trigger(We),de(We)}).catch(async We=>{let xe=We.message||We.name;return e.onFetchError&&({error:xe}=await e.onFetchError({data:Je,error:We,response:z.value})),Q.value=xe,A.trigger(We),$e?Se(We):de(null)}).finally(()=>{U(!1),Z&&Z.stop(),R.trigger(null)})})},te=Fp(e.refetch);Qn([te,Fp(t)],([$e])=>$e&&H(),{deep:!0});const fe={isFinished:L,statusCode:G,response:z,error:Q,data:ce,isFetching:B,canAbort:Y,aborted:I,abort:ie,execute:H,onFetchResponse:x.on,onFetchError:A.on,onFetchFinally:R.on,get:Ee("GET"),put:Ee("PUT"),post:Ee("POST"),delete:Ee("DELETE"),patch:Ee("PATCH"),head:Ee("HEAD"),options:Ee("OPTIONS"),json:be("json"),text:be("text"),blob:be("blob"),arrayBuffer:be("arrayBuffer"),formData:be("formData")};function Ee($e){return(je,Fe)=>{if(!B.value)return d.method=$e,d.payload=je,d.payloadType=Fe,Ln(d.payload)&&Qn([te,Fp(d.payload)],([lt])=>lt&&H(),{deep:!0}),ap(Pa({},fe),{then(lt,Xe){return ye().then(lt,Xe)}})}}function ye(){return new Promise(($e,je)=>{hO(L).toBe(!0).then(()=>$e(fe)).catch(Fe=>je(Fe))})}function be($e){return()=>{if(!B.value)return d.type=$e,ap(Pa({},fe),{then(je,Fe){return ye().then(je,Fe)}})}}return e.immediate&&Promise.resolve().then(()=>H()),ap(Pa({},fe),{then($e,je){return ye().then($e,je)}})}const d9={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function ZN(t={}){const{reactive:i=!1,target:s=co,aliasMap:a=d9,passive:r=!0,onEventFired:e=Td}=t,d=_f(new Set),y={toJSON(){return{}},current:d},_=i?_f(y):y,E=new Set,x=new Set;function A(I,G){I in _&&(i?_[I]=G:_[I].value=G)}function R(){d.clear();for(const I of x)A(I,!1)}function L(I,G){var z,Q;const ce=(z=I.key)==null?void 0:z.toLowerCase(),V=[(Q=I.code)==null?void 0:Q.toLowerCase(),ce].filter(Boolean);ce&&(G?d.add(ce):d.delete(ce));for(const Z of V)x.add(Z),A(Z,G);ce==="meta"&&!G?(E.forEach(Z=>{d.delete(Z),A(Z,!1)}),E.clear()):typeof I.getModifierState=="function"&&I.getModifierState("Meta")&&G&&[...d,...V].forEach(Z=>E.add(Z))}$c(s,"keydown",I=>(L(I,!0),e(I)),{passive:r}),$c(s,"keyup",I=>(L(I,!1),e(I)),{passive:r}),$c("blur",R,{passive:!0}),$c("focus",R,{passive:!0});const B=new Proxy(_,{get(I,G,z){if(typeof G!="string")return Reflect.get(I,G,z);if(G=G.toLowerCase(),G in a&&(G=a[G]),!(G in _))if(/[+_-]/.test(G)){const ce=G.split(/[+_-]/g).map(Y=>Y.trim());_[G]=mn(()=>ce.every(Y=>Ri(B[Y])))}else _[G]=dr(!1);const Q=Reflect.get(I,G,z);return i?Ri(Q):Q}});return B}var p9=Object.defineProperty,Ew=Object.getOwnPropertySymbols,g9=Object.prototype.hasOwnProperty,m9=Object.prototype.propertyIsEnumerable,Fw=(t,i,s)=>i in t?p9(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,v9=(t,i)=>{for(var s in i||(i={}))g9.call(i,s)&&Fw(t,s,i[s]);if(Ew)for(var s of Ew(i))m9.call(i,s)&&Fw(t,s,i[s]);return t};function h6(t={}){const{controls:i=!1,interval:s="requestAnimationFrame"}=t,a=dr(new Date),r=()=>a.value=new Date,e=s==="requestAnimationFrame"?kO(r,{immediate:!0}):dO(r,s,{immediate:!0});return i?v9({now:a},e):a}function b9(t=null,i={}){var s,a;const{document:r=CO}=i,e=Fp((s=t??(r==null?void 0:r.title))!=null?s:null),d=t&&typeof t=="function";function y(_){if(!("titleTemplate"in i))return _;const E=i.titleTemplate||"%s";return typeof E=="function"?E(_):Ri(E).replace(/%s/g,_)}return Qn(e,(_,E)=>{_!==E&&r&&(r.title=y(typeof _=="string"?_:""))},{immediate:!0}),i.observe&&!i.titleTemplate&&r&&!d&&KO((a=r.head)==null?void 0:a.querySelector("title"),()=>{r&&r.title!==e.value&&(e.value=y(r.title))},{childList:!0}),e}function xw(t,i,s,a={}){var r,e,d;const{clone:y=!1,passive:_=!1,eventName:E,deep:x=!1,defaultValue:A,shouldEmit:R}=a,L=Cs(),B=s||(L==null?void 0:L.emit)||((r=L==null?void 0:L.$emit)==null?void 0:r.bind(L))||((d=(e=L==null?void 0:L.proxy)==null?void 0:e.$emit)==null?void 0:d.bind(L==null?void 0:L.proxy));let I=E;i||(i="modelValue"),I=I||`update:${i.toString()}`;const G=ce=>y?typeof y=="function"?y(ce):RO(ce):ce,z=()=>aO(t[i])?G(t[i]):A,Q=ce=>{R?R(ce)&&B(I,ce):B(I,ce)};if(_){const ce=z(),Y=dr(ce);return Qn(()=>t[i],V=>Y.value=G(V)),Qn(Y,V=>{(V!==t[i]||x)&&Q(V)},{deep:x}),Y}else return mn({get(){return z()},set(ce){Q(ce)}})}function y9({window:t=co}={}){if(!t)return{x:dr(0),y:dr(0)};const i=dr(t.scrollX),s=dr(t.scrollY);return $c(t,"scroll",()=>{i.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:s}}const d6=n9(),_9=pO(d6),w9=f6(),Yd=t=>(V2("data-v-a79e7085"),t=t(),G2(),t),D9=Yd(()=>zt("div",{"i-ri-arrow-up-line":""},null,-1)),E9=[D9],F9=Yd(()=>zt("div",{class:"spacer"},null,-1)),x9={class:"right","print:op0":""},C9=Yd(()=>zt("div",{"i-ion-balloon-sharp":""},null,-1)),T9=["title"],A9=Yd(()=>zt("div",{"i-carbon-language":""},null,-1)),S9=[A9],k9=["title"],O9=Yd(()=>zt("div",{i:"carbon-sun dark:carbon-moon"},null,-1)),R9=[O9],P9=["href"],I9=Yd(()=>zt("div",{"i-carbon-logo-github":""},null,-1)),N9=[I9],M9=ds({__name:"NavBar",props:{width:null},setup(t){const i=t,{t:s,locale:a}=Gd(),{y:r}=y9();function e(){window.scrollTo({top:0,behavior:"smooth"})}async function d(){const y=gF,_=y[(y.indexOf(a.value)+1)%y.length];await I_(_),a.value=_}return(y,_)=>{const E=vl("RouterLink");return hn(),Yn("header",{class:ma(["header z-40",[(i==null?void 0:i.width)??""]])},[zt("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:ma(vr(r)>300?"op30":"op0! pointer-events-none"),onClick:_[0]||(_[0]=x=>e())},E9,2),zt("nav",{class:ma(["nav",[i!=null&&i.width?"":"fixed"]]),"text-xl":""},[F9,zt("div",x9,[Yr(E,{"icon-btn":"",title:vr(s)("button.home"),to:"/",focusable:"false"},{default:Es(()=>[C9]),_:1},8,["title"]),zt("a",{"icon-btn":"",title:vr(s)("button.toggle_langs"),onClick:_[1]||(_[1]=x=>d())},S9,8,T9),zt("a",{"icon-btn":"",title:vr(s)("button.toggle_dark"),onClick:_[2]||(_[2]=x=>("toggleDark"in y?y.toggleDark:vr(_9))())},R9,8,k9),zt("a",{"icon-btn":"",rel:"noreferrer",href:vr(s6),target:"_blank",title:"GitHub"},N9,8,P9)])],2)],2)}}});const qd=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s},L9=qd(M9,[["__scopeId","data-v-a79e7085"]]),B9={},U9={"py-10":"","text-gray-700":"","dark:text-gray-200":""};function $9(t,i){const s=L9,a=vl("RouterView"),r=sO;return hn(),Yn(Ni,null,[Yr(s),zt("main",U9,[Yr(a),Yr(r)])],64)}const H9=qd(B9,[["render",$9]]),W9={"board-layout":()=>Na(()=>import("./board-layout-ca4c1273.js"),[],import.meta.url),default:H9,headless:()=>Na(()=>import("./headless-e170f56d.js"),[],import.meta.url),home:()=>Na(()=>import("./home-3bd8e303.js"),[],import.meta.url),"index-layout":()=>Na(()=>import("./index-layout-4c56300c.js"),[],import.meta.url)};function z9(t){return t.map(i=>{var s;return{path:i.path,meta:i.meta,component:W9[((s=i.meta)==null?void 0:s.layout)||"default"],children:i.path==="/"?[i]:[{...i,path:""}]}})}const j9=["top","right","bottom","left"],Cw=["start","end"],Tw=j9.reduce((t,i)=>t.concat(i,i+"-"+Cw[0],i+"-"+Cw[1]),[]),zp=Math.min,W0=Math.max,V9={left:"right",right:"left",bottom:"top",top:"bottom"},G9={start:"end",end:"start"};function Ny(t,i,s){return W0(t,zp(i,s))}function fh(t,i){return typeof t=="function"?t(i):t}function Kl(t){return t.split("-")[0]}function ml(t){return t.split("-")[1]}function p6(t){return t==="x"?"y":"x"}function n4(t){return t==="y"?"height":"width"}function ng(t){return["top","bottom"].includes(Kl(t))?"y":"x"}function i4(t){return p6(ng(t))}function g6(t,i,s){s===void 0&&(s=!1);const a=ml(t),r=i4(t),e=n4(r);let d=r==="x"?a===(s?"end":"start")?"right":"left":a==="start"?"bottom":"top";return i.reference[e]>i.floating[e]&&(d=E2(d)),[d,E2(d)]}function Y9(t){const i=E2(t);return[D2(t),i,D2(i)]}function D2(t){return t.replace(/start|end/g,i=>G9[i])}function q9(t,i,s){const a=["left","right"],r=["right","left"],e=["top","bottom"],d=["bottom","top"];switch(t){case"top":case"bottom":return s?i?r:a:i?a:r;case"left":case"right":return i?e:d;default:return[]}}function K9(t,i,s,a){const r=ml(t);let e=q9(Kl(t),s==="start",a);return r&&(e=e.map(d=>d+"-"+r),i&&(e=e.concat(e.map(D2)))),e}function E2(t){return t.replace(/left|right|bottom|top/g,i=>V9[i])}function Q9(t){return{top:0,right:0,bottom:0,left:0,...t}}function m6(t){return typeof t!="number"?Q9(t):{top:t,right:t,bottom:t,left:t}}function xp(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function Aw(t,i,s){let{reference:a,floating:r}=t;const e=ng(i),d=i4(i),y=n4(d),_=Kl(i),E=e==="y",x=a.x+a.width/2-r.width/2,A=a.y+a.height/2-r.height/2,R=a[y]/2-r[y]/2;let L;switch(_){case"top":L={x,y:a.y-r.height};break;case"bottom":L={x,y:a.y+a.height};break;case"right":L={x:a.x+a.width,y:A};break;case"left":L={x:a.x-r.width,y:A};break;default:L={x:a.x,y:a.y}}switch(ml(i)){case"start":L[d]-=R*(s&&E?-1:1);break;case"end":L[d]+=R*(s&&E?-1:1);break}return L}const X9=async(t,i,s)=>{const{placement:a="bottom",strategy:r="absolute",middleware:e=[],platform:d}=s,y=e.filter(Boolean),_=await(d.isRTL==null?void 0:d.isRTL(i));let E=await d.getElementRects({reference:t,floating:i,strategy:r}),{x,y:A}=Aw(E,a,_),R=a,L={},B=0;for(let I=0;I<y.length;I++){const{name:G,fn:z}=y[I],{x:Q,y:ce,data:Y,reset:V}=await z({x,y:A,initialPlacement:a,placement:R,strategy:r,middlewareData:L,rects:E,platform:d,elements:{reference:t,floating:i}});if(x=Q??x,A=ce??A,L={...L,[G]:{...L[G],...Y}},V&&B<=50){B++,typeof V=="object"&&(V.placement&&(R=V.placement),V.rects&&(E=V.rects===!0?await d.getElementRects({reference:t,floating:i,strategy:r}):V.rects),{x,y:A}=Aw(E,R,_)),I=-1;continue}}return{x,y:A,placement:R,strategy:r,middlewareData:L}};async function sv(t,i){var s;i===void 0&&(i={});const{x:a,y:r,platform:e,rects:d,elements:y,strategy:_}=t,{boundary:E="clippingAncestors",rootBoundary:x="viewport",elementContext:A="floating",altBoundary:R=!1,padding:L=0}=fh(i,t),B=m6(L),G=y[R?A==="floating"?"reference":"floating":A],z=xp(await e.getClippingRect({element:(s=await(e.isElement==null?void 0:e.isElement(G)))==null||s?G:G.contextElement||await(e.getDocumentElement==null?void 0:e.getDocumentElement(y.floating)),boundary:E,rootBoundary:x,strategy:_})),Q=A==="floating"?{...d.floating,x:a,y:r}:d.reference,ce=await(e.getOffsetParent==null?void 0:e.getOffsetParent(y.floating)),Y=await(e.isElement==null?void 0:e.isElement(ce))?await(e.getScale==null?void 0:e.getScale(ce))||{x:1,y:1}:{x:1,y:1},V=xp(e.convertOffsetParentRelativeRectToViewportRelativeRect?await e.convertOffsetParentRelativeRectToViewportRelativeRect({rect:Q,offsetParent:ce,strategy:_}):Q);return{top:(z.top-V.top+B.top)/Y.y,bottom:(V.bottom-z.bottom+B.bottom)/Y.y,left:(z.left-V.left+B.left)/Y.x,right:(V.right-z.right+B.right)/Y.x}}const J9=t=>({name:"arrow",options:t,async fn(i){const{x:s,y:a,placement:r,rects:e,platform:d,elements:y}=i,{element:_,padding:E=0}=fh(t,i)||{};if(_==null)return{};const x=m6(E),A={x:s,y:a},R=i4(r),L=n4(R),B=await d.getDimensions(_),I=R==="y",G=I?"top":"left",z=I?"bottom":"right",Q=I?"clientHeight":"clientWidth",ce=e.reference[L]+e.reference[R]-A[R]-e.floating[L],Y=A[R]-e.reference[R],V=await(d.getOffsetParent==null?void 0:d.getOffsetParent(_));let Z=V?V[Q]:0;(!Z||!await(d.isElement==null?void 0:d.isElement(V)))&&(Z=y.floating[Q]||e.floating[L]);const ie=ce/2-Y/2,U=Z/2-B[L]/2-1,H=zp(x[G],U),te=zp(x[z],U),fe=H,Ee=Z-B[L]-te,ye=Z/2-B[L]/2+ie,be=Ny(fe,ye,Ee),je=ml(r)!=null&&ye!=be&&e.reference[L]/2-(ye<fe?H:te)-B[L]/2<0?ye<fe?fe-ye:Ee-ye:0;return{[R]:A[R]-je,data:{[R]:be,centerOffset:ye-be+je}}}});function Z9(t,i,s){return(t?[...s.filter(r=>ml(r)===t),...s.filter(r=>ml(r)!==t)]:s.filter(r=>Kl(r)===r)).filter(r=>t?ml(r)===t||(i?D2(r)!==r:!1):!0)}const eR=function(t){return t===void 0&&(t={}),{name:"autoPlacement",options:t,async fn(i){var s,a,r;const{rects:e,middlewareData:d,placement:y,platform:_,elements:E}=i,{crossAxis:x=!1,alignment:A,allowedPlacements:R=Tw,autoAlignment:L=!0,...B}=fh(t,i),I=A!==void 0||R===Tw?Z9(A||null,L,R):R,G=await sv(i,B),z=((s=d.autoPlacement)==null?void 0:s.index)||0,Q=I[z];if(Q==null)return{};const ce=g6(Q,e,await(_.isRTL==null?void 0:_.isRTL(E.floating)));if(y!==Q)return{reset:{placement:I[0]}};const Y=[G[Kl(Q)],G[ce[0]],G[ce[1]]],V=[...((a=d.autoPlacement)==null?void 0:a.overflows)||[],{placement:Q,overflows:Y}],Z=I[z+1];if(Z)return{data:{index:z+1,overflows:V},reset:{placement:Z}};const ie=V.map(te=>{const fe=ml(te.placement);return[te.placement,fe&&x?te.overflows.slice(0,2).reduce((Ee,ye)=>Ee+ye,0):te.overflows[0],te.overflows]}).sort((te,fe)=>te[1]-fe[1]),H=((r=ie.filter(te=>te[2].slice(0,ml(te[0])?2:3).every(fe=>fe<=0))[0])==null?void 0:r[0])||ie[0][0];return H!==y?{data:{index:z+1,overflows:V},reset:{placement:H}}:{}}}},tR=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(i){var s;const{placement:a,middlewareData:r,rects:e,initialPlacement:d,platform:y,elements:_}=i,{mainAxis:E=!0,crossAxis:x=!0,fallbackPlacements:A,fallbackStrategy:R="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:B=!0,...I}=fh(t,i),G=Kl(a),z=Kl(d)===d,Q=await(y.isRTL==null?void 0:y.isRTL(_.floating)),ce=A||(z||!B?[E2(d)]:Y9(d));!A&&L!=="none"&&ce.push(...K9(d,B,L,Q));const Y=[d,...ce],V=await sv(i,I),Z=[];let ie=((s=r.flip)==null?void 0:s.overflows)||[];if(E&&Z.push(V[G]),x){const fe=g6(a,e,Q);Z.push(V[fe[0]],V[fe[1]])}if(ie=[...ie,{placement:a,overflows:Z}],!Z.every(fe=>fe<=0)){var U,H;const fe=(((U=r.flip)==null?void 0:U.index)||0)+1,Ee=Y[fe];if(Ee)return{data:{index:fe,overflows:ie},reset:{placement:Ee}};let ye=(H=ie.filter(be=>be.overflows[0]<=0).sort((be,$e)=>be.overflows[1]-$e.overflows[1])[0])==null?void 0:H.placement;if(!ye)switch(R){case"bestFit":{var te;const be=(te=ie.map($e=>[$e.placement,$e.overflows.filter(je=>je>0).reduce((je,Fe)=>je+Fe,0)]).sort(($e,je)=>$e[1]-je[1])[0])==null?void 0:te[0];be&&(ye=be);break}case"initialPlacement":ye=d;break}if(a!==ye)return{reset:{placement:ye}}}return{}}}};async function rR(t,i){const{placement:s,platform:a,elements:r}=t,e=await(a.isRTL==null?void 0:a.isRTL(r.floating)),d=Kl(s),y=ml(s),_=ng(s)==="y",E=["left","top"].includes(d)?-1:1,x=e&&_?-1:1,A=fh(i,t);let{mainAxis:R,crossAxis:L,alignmentAxis:B}=typeof A=="number"?{mainAxis:A,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...A};return y&&typeof B=="number"&&(L=y==="end"?B*-1:B),_?{x:L*x,y:R*E}:{x:R*E,y:L*x}}const nR=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(i){const{x:s,y:a}=i,r=await rR(i,t);return{x:s+r.x,y:a+r.y,data:r}}}},iR=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(i){const{x:s,y:a,placement:r}=i,{mainAxis:e=!0,crossAxis:d=!1,limiter:y={fn:G=>{let{x:z,y:Q}=G;return{x:z,y:Q}}},..._}=fh(t,i),E={x:s,y:a},x=await sv(i,_),A=ng(Kl(r)),R=p6(A);let L=E[R],B=E[A];if(e){const G=R==="y"?"top":"left",z=R==="y"?"bottom":"right",Q=L+x[G],ce=L-x[z];L=Ny(Q,L,ce)}if(d){const G=A==="y"?"top":"left",z=A==="y"?"bottom":"right",Q=B+x[G],ce=B-x[z];B=Ny(Q,B,ce)}const I=y.fn({...i,[R]:L,[A]:B});return{...I,data:{x:I.x-s,y:I.y-a}}}}},sR=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(i){const{placement:s,rects:a,platform:r,elements:e}=i,{apply:d=()=>{},...y}=fh(t,i),_=await sv(i,y),E=Kl(s),x=ml(s),A=ng(s)==="y",{width:R,height:L}=a.floating;let B,I;E==="top"||E==="bottom"?(B=E,I=x===(await(r.isRTL==null?void 0:r.isRTL(e.floating))?"start":"end")?"left":"right"):(I=E,B=x==="end"?"top":"bottom");const G=L-_[B],z=R-_[I],Q=!i.middlewareData.shift;let ce=G,Y=z;if(A){const Z=R-_.left-_.right;Y=x||Q?zp(z,Z):Z}else{const Z=L-_.top-_.bottom;ce=x||Q?zp(G,Z):Z}if(Q&&!x){const Z=W0(_.left,0),ie=W0(_.right,0),U=W0(_.top,0),H=W0(_.bottom,0);A?Y=R-2*(Z!==0||ie!==0?Z+ie:W0(_.left,_.right)):ce=L-2*(U!==0||H!==0?U+H:W0(_.top,_.bottom))}await d({...i,availableWidth:Y,availableHeight:ce});const V=await r.getDimensions(e.floating);return R!==V.width||L!==V.height?{reset:{rects:!0}}:{}}}};function So(t){var i;return((i=t.ownerDocument)==null?void 0:i.defaultView)||window}function jl(t){return So(t).getComputedStyle(t)}const Sw=Math.min,Cp=Math.max,F2=Math.round;function v6(t){const i=jl(t);let s=parseFloat(i.width),a=parseFloat(i.height);const r=t.offsetWidth,e=t.offsetHeight,d=F2(s)!==r||F2(a)!==e;return d&&(s=r,a=e),{width:s,height:a,fallback:d}}function xf(t){return y6(t)?(t.nodeName||"").toLowerCase():""}let Um;function b6(){if(Um)return Um;const t=navigator.userAgentData;return t&&Array.isArray(t.brands)?(Um=t.brands.map(i=>i.brand+"/"+i.version).join(" "),Um):navigator.userAgent}function Vl(t){return t instanceof So(t).HTMLElement}function gf(t){return t instanceof So(t).Element}function y6(t){return t instanceof So(t).Node}function kw(t){return typeof ShadowRoot>"u"?!1:t instanceof So(t).ShadowRoot||t instanceof ShadowRoot}function av(t){const{overflow:i,overflowX:s,overflowY:a,display:r}=jl(t);return/auto|scroll|overlay|hidden|clip/.test(i+a+s)&&!["inline","contents"].includes(r)}function aR(t){return["table","td","th"].includes(xf(t))}function My(t){const i=/firefox/i.test(b6()),s=jl(t),a=s.backdropFilter||s.WebkitBackdropFilter;return s.transform!=="none"||s.perspective!=="none"||!!a&&a!=="none"||i&&s.willChange==="filter"||i&&!!s.filter&&s.filter!=="none"||["transform","perspective"].some(r=>s.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const e=s.contain;return e!=null&&e.includes(r)})}function _6(){return!/^((?!chrome|android).)*safari/i.test(b6())}function s4(t){return["html","body","#document"].includes(xf(t))}function w6(t){return gf(t)?t:t.contextElement}const D6={x:1,y:1};function Sd(t){const i=w6(t);if(!Vl(i))return D6;const s=i.getBoundingClientRect(),{width:a,height:r,fallback:e}=v6(i);let d=(e?F2(s.width):s.width)/a,y=(e?F2(s.height):s.height)/r;return d&&Number.isFinite(d)||(d=1),y&&Number.isFinite(y)||(y=1),{x:d,y}}function jp(t,i,s,a){var r,e;i===void 0&&(i=!1),s===void 0&&(s=!1);const d=t.getBoundingClientRect(),y=w6(t);let _=D6;i&&(a?gf(a)&&(_=Sd(a)):_=Sd(t));const E=y?So(y):window,x=!_6()&&s;let A=(d.left+(x&&((r=E.visualViewport)==null?void 0:r.offsetLeft)||0))/_.x,R=(d.top+(x&&((e=E.visualViewport)==null?void 0:e.offsetTop)||0))/_.y,L=d.width/_.x,B=d.height/_.y;if(y){const I=So(y),G=a&&gf(a)?So(a):a;let z=I.frameElement;for(;z&&a&&G!==I;){const Q=Sd(z),ce=z.getBoundingClientRect(),Y=getComputedStyle(z);ce.x+=(z.clientLeft+parseFloat(Y.paddingLeft))*Q.x,ce.y+=(z.clientTop+parseFloat(Y.paddingTop))*Q.y,A*=Q.x,R*=Q.y,L*=Q.x,B*=Q.y,A+=ce.x,R+=ce.y,z=So(z).frameElement}}return{width:L,height:B,top:R,right:A+L,bottom:R+B,left:A,x:A,y:R}}function mf(t){return((y6(t)?t.ownerDocument:t.document)||window.document).documentElement}function ov(t){return gf(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function E6(t){return jp(mf(t)).left+ov(t).scrollLeft}function Vp(t){if(xf(t)==="html")return t;const i=t.assignedSlot||t.parentNode||kw(t)&&t.host||mf(t);return kw(i)?i.host:i}function F6(t){const i=Vp(t);return s4(i)?i.ownerDocument.body:Vl(i)&&av(i)?i:F6(i)}function x2(t,i){var s;i===void 0&&(i=[]);const a=F6(t),r=a===((s=t.ownerDocument)==null?void 0:s.body),e=So(a);return r?i.concat(e,e.visualViewport||[],av(a)?a:[]):i.concat(a,x2(a))}function Ow(t,i,s){return i==="viewport"?xp(function(a,r){const e=So(a),d=mf(a),y=e.visualViewport;let _=d.clientWidth,E=d.clientHeight,x=0,A=0;if(y){_=y.width,E=y.height;const R=_6();(R||!R&&r==="fixed")&&(x=y.offsetLeft,A=y.offsetTop)}return{width:_,height:E,x,y:A}}(t,s)):gf(i)?xp(function(a,r){const e=jp(a,!0,r==="fixed"),d=e.top+a.clientTop,y=e.left+a.clientLeft,_=Vl(a)?Sd(a):{x:1,y:1};return{width:a.clientWidth*_.x,height:a.clientHeight*_.y,x:y*_.x,y:d*_.y}}(i,s)):xp(function(a){const r=mf(a),e=ov(a),d=a.ownerDocument.body,y=Cp(r.scrollWidth,r.clientWidth,d.scrollWidth,d.clientWidth),_=Cp(r.scrollHeight,r.clientHeight,d.scrollHeight,d.clientHeight);let E=-e.scrollLeft+E6(a);const x=-e.scrollTop;return jl(d).direction==="rtl"&&(E+=Cp(r.clientWidth,d.clientWidth)-y),{width:y,height:_,x:E,y:x}}(mf(t)))}function Rw(t){return Vl(t)&&jl(t).position!=="fixed"?t.offsetParent:null}function Pw(t){const i=So(t);let s=Rw(t);for(;s&&aR(s)&&jl(s).position==="static";)s=Rw(s);return s&&(xf(s)==="html"||xf(s)==="body"&&jl(s).position==="static"&&!My(s))?i:s||function(a){let r=Vp(a);for(;Vl(r)&&!s4(r);){if(My(r))return r;r=Vp(r)}return null}(t)||i}function oR(t,i,s){const a=Vl(i),r=mf(i),e=jp(t,!0,s==="fixed",i);let d={scrollLeft:0,scrollTop:0};const y={x:0,y:0};if(a||!a&&s!=="fixed")if((xf(i)!=="body"||av(r))&&(d=ov(i)),Vl(i)){const _=jp(i,!0);y.x=_.x+i.clientLeft,y.y=_.y+i.clientTop}else r&&(y.x=E6(r));return{x:e.left+d.scrollLeft-y.x,y:e.top+d.scrollTop-y.y,width:e.width,height:e.height}}const lR={getClippingRect:function(t){let{element:i,boundary:s,rootBoundary:a,strategy:r}=t;const e=s==="clippingAncestors"?function(E,x){const A=x.get(E);if(A)return A;let R=x2(E).filter(G=>gf(G)&&xf(G)!=="body"),L=null;const B=jl(E).position==="fixed";let I=B?Vp(E):E;for(;gf(I)&&!s4(I);){const G=jl(I),z=My(I);(B?z||L:z||G.position!=="static"||!L||!["absolute","fixed"].includes(L.position))?L=G:R=R.filter(Q=>Q!==I),I=Vp(I)}return x.set(E,R),R}(i,this._c):[].concat(s),d=[...e,a],y=d[0],_=d.reduce((E,x)=>{const A=Ow(i,x,r);return E.top=Cp(A.top,E.top),E.right=Sw(A.right,E.right),E.bottom=Sw(A.bottom,E.bottom),E.left=Cp(A.left,E.left),E},Ow(i,y,r));return{width:_.right-_.left,height:_.bottom-_.top,x:_.left,y:_.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:i,offsetParent:s,strategy:a}=t;const r=Vl(s),e=mf(s);if(s===e)return i;let d={scrollLeft:0,scrollTop:0},y={x:1,y:1};const _={x:0,y:0};if((r||!r&&a!=="fixed")&&((xf(s)!=="body"||av(e))&&(d=ov(s)),Vl(s))){const E=jp(s);y=Sd(s),_.x=E.x+s.clientLeft,_.y=E.y+s.clientTop}return{width:i.width*y.x,height:i.height*y.y,x:i.x*y.x-d.scrollLeft*y.x+_.x,y:i.y*y.y-d.scrollTop*y.y+_.y}},isElement:gf,getDimensions:function(t){return Vl(t)?v6(t):t.getBoundingClientRect()},getOffsetParent:Pw,getDocumentElement:mf,getScale:Sd,async getElementRects(t){let{reference:i,floating:s,strategy:a}=t;const r=this.getOffsetParent||Pw,e=this.getDimensions;return{reference:oR(i,await r(s),a),floating:{x:0,y:0,...await e(s)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>jl(t).direction==="rtl"},cR=(t,i,s)=>{const a=new Map,r={platform:lR,...s},e={...r.platform,_c:a};return X9(t,i,{...r,platform:e})};function x6(t,i){for(const s in i)Object.prototype.hasOwnProperty.call(i,s)&&(typeof i[s]=="object"&&t[s]?x6(t[s],i[s]):t[s]=i[s])}const jc={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:t=>[...t,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Gp(t,i){let s=jc.themes[t]||{},a;do a=s[i],typeof a>"u"?s.$extend?s=jc.themes[s.$extend]||{}:(s=null,a=jc[i]):s=null;while(s);return a}function uR(t){const i=[t];let s=jc.themes[t]||{};do s.$extend&&!s.$resetCss?(i.push(s.$extend),s=jc.themes[s.$extend]||{}):s=null;while(s);return i.map(a=>`v-popper--theme-${a}`)}function Iw(t){const i=[t];let s=jc.themes[t]||{};do s.$extend?(i.push(s.$extend),s=jc.themes[s.$extend]||{}):s=null;while(s);return i}let sh=!1;if(typeof window<"u"){sh=!1;try{const t=Object.defineProperty({},"passive",{get(){sh=!0}});window.addEventListener("test",null,t)}catch{}}let C6=!1;typeof window<"u"&&typeof navigator<"u"&&(C6=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const T6=["auto","top","bottom","left","right"].reduce((t,i)=>t.concat([i,`${i}-start`,`${i}-end`]),[]),Nw={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Mw={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Lw(t,i){const s=t.indexOf(i);s!==-1&&t.splice(s,1)}function Wb(){return new Promise(t=>requestAnimationFrame(()=>{requestAnimationFrame(t)}))}const hl=[];let $0=null;const Bw={};function Uw(t){let i=Bw[t];return i||(i=Bw[t]=[]),i}let Ly=function(){};typeof window<"u"&&(Ly=window.Element);function Tn(t){return function(i){return Gp(i.theme,t)}}const zb="__floating-vue__popper",A6=()=>ds({name:"VPopper",provide(){return{[zb]:{parentPopper:this}}},inject:{[zb]:{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:Tn("disabled")},positioningDisabled:{type:Boolean,default:Tn("positioningDisabled")},placement:{type:String,default:Tn("placement"),validator:t=>T6.includes(t)},delay:{type:[String,Number,Object],default:Tn("delay")},distance:{type:[Number,String],default:Tn("distance")},skidding:{type:[Number,String],default:Tn("skidding")},triggers:{type:Array,default:Tn("triggers")},showTriggers:{type:[Array,Function],default:Tn("showTriggers")},hideTriggers:{type:[Array,Function],default:Tn("hideTriggers")},popperTriggers:{type:Array,default:Tn("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Tn("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Tn("popperHideTriggers")},container:{type:[String,Object,Ly,Boolean],default:Tn("container")},boundary:{type:[String,Ly],default:Tn("boundary")},strategy:{type:String,validator:t=>["absolute","fixed"].includes(t),default:Tn("strategy")},autoHide:{type:[Boolean,Function],default:Tn("autoHide")},handleResize:{type:Boolean,default:Tn("handleResize")},instantMove:{type:Boolean,default:Tn("instantMove")},eagerMount:{type:Boolean,default:Tn("eagerMount")},popperClass:{type:[String,Array,Object],default:Tn("popperClass")},computeTransformOrigin:{type:Boolean,default:Tn("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Tn("autoMinSize")},autoSize:{type:[Boolean,String],default:Tn("autoSize")},autoMaxSize:{type:Boolean,default:Tn("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Tn("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Tn("preventOverflow")},overflowPadding:{type:[Number,String],default:Tn("overflowPadding")},arrowPadding:{type:[Number,String],default:Tn("arrowPadding")},arrowOverflow:{type:Boolean,default:Tn("arrowOverflow")},flip:{type:Boolean,default:Tn("flip")},shift:{type:Boolean,default:Tn("shift")},shiftCrossAxis:{type:Boolean,default:Tn("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Tn("noAutoFocus")},disposeTimeout:{type:Number,default:Tn("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var t;return(t=this[zb])==null?void 0:t.parentPopper},hasPopperShowTriggerHover(){var t,i;return((t=this.popperTriggers)==null?void 0:t.includes("hover"))||((i=this.popperShowTriggers)==null?void 0:i.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(t){t?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((t,i)=>(t[i]="$_refreshListeners",t),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((t,i)=>(t[i]="$_computePosition",t),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(t=>t.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:t=null,skipDelay:i=!1,force:s=!1}={}){var a,r;(a=this.parentPopper)!=null&&a.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(s||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(t,i),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:t=null,skipDelay:i=!1}={}){var s;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:i}),this.parentPopper.lockedChild=null)},1e3));return}((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(t,i),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var t;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((t=this.referenceNode)==null?void 0:t.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(i=>i.nodeType===i.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const t={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&t.middleware.push(nR({mainAxis:this.distance,crossAxis:this.skidding}));const i=this.placement.startsWith("auto");if(i?t.middleware.push(eR({alignment:this.placement.split("-")[1]??""})):t.placement=this.placement,this.preventOverflow&&(this.shift&&t.middleware.push(iR({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!i&&this.flip&&t.middleware.push(tR({padding:this.overflowPadding,boundary:this.boundary}))),t.middleware.push(J9({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&t.middleware.push({name:"arrowOverflow",fn:({placement:a,rects:r,middlewareData:e})=>{let d;const{centerOffset:y}=e.arrow;return a.startsWith("top")||a.startsWith("bottom")?d=Math.abs(y)>r.reference.width/2:d=Math.abs(y)>r.reference.height/2,{data:{overflow:d}}}}),this.autoMinSize||this.autoSize){const a=this.autoSize?this.autoSize:this.autoMinSize?"min":null;t.middleware.push({name:"autoSize",fn:({rects:r,placement:e,middlewareData:d})=>{var y;if((y=d.autoSize)!=null&&y.skip)return{};let _,E;return e.startsWith("top")||e.startsWith("bottom")?_=r.reference.width:E=r.reference.height,this.$_innerNode.style[a==="min"?"minWidth":a==="max"?"maxWidth":"width"]=_!=null?`${_}px`:null,this.$_innerNode.style[a==="min"?"minHeight":a==="max"?"maxHeight":"height"]=E!=null?`${E}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,t.middleware.push(sR({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:a,availableHeight:r})=>{this.$_innerNode.style.maxWidth=a!=null?`${a}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const s=await cR(this.$_referenceNode,this.$_popperNode,t);Object.assign(this.result,{x:s.x,y:s.y,placement:s.placement,strategy:s.strategy,arrow:{...s.middlewareData.arrow,...s.middlewareData.arrowOverflow}})},$_scheduleShow(t=null,i=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),$0&&this.instantMove&&$0.instantMove&&$0!==this.parentPopper){$0.$_applyHide(!0),this.$_applyShow(!0);return}i?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(t=null,i=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&($0=this),i?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(t){const i=this.delay;return parseInt(i&&i[t]||i||0)},async $_applyShow(t=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=t,!this.isShown&&(this.$_ensureTeleport(),await Wb(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...x2(this.$_referenceNode),...x2(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const i=this.$_referenceNode.getBoundingClientRect(),s=this.$_popperNode.querySelector(".v-popper__wrapper"),a=s.parentNode.getBoundingClientRect(),r=i.x+i.width/2-(a.left+s.offsetLeft),e=i.y+i.height/2-(a.top+s.offsetTop);this.result.transformOrigin=`${r}px ${e}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const t=this.showGroup;if(t){let i;for(let s=0;s<hl.length;s++)i=hl[s],i.showGroup!==t&&(i.hide(),i.$emit("close-group"))}hl.push(this),document.body.classList.add("v-popper--some-open");for(const i of Iw(this.theme))Uw(i).push(this),document.body.classList.add(`v-popper--some-open--${i}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Wb(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=t,Lw(hl,this),hl.length===0&&document.body.classList.remove("v-popper--some-open");for(const s of Iw(this.theme)){const a=Uw(s);Lw(a,this),a.length===0&&document.body.classList.remove(`v-popper--some-open--${s}`)}$0===this&&($0=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const i=this.disposeTimeout;i!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},i)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Wb(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let t=this.container;if(typeof t=="string"?t=window.document.querySelector(t):t===!1&&(t=this.$_targetNodes[0].parentNode),!t)throw new Error("No container for popover: "+this.container);t.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const t=s=>{this.isShown&&!this.$_hideInProgress||(s.usedByTooltip=!0,!this.$_preventShow&&this.show({event:s}))};this.$_registerTriggerListeners(this.$_targetNodes,Nw,this.triggers,this.showTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Nw,this.popperTriggers,this.popperShowTriggers,t);const i=s=>{s.usedByTooltip||this.hide({event:s})};this.$_registerTriggerListeners(this.$_targetNodes,Mw,this.triggers,this.hideTriggers,i),this.$_registerTriggerListeners([this.$_popperNode],Mw,this.popperTriggers,this.popperHideTriggers,i)},$_registerEventListeners(t,i,s){this.$_events.push({targetNodes:t,eventType:i,handler:s}),t.forEach(a=>a.addEventListener(i,s,sh?{passive:!0}:void 0))},$_registerTriggerListeners(t,i,s,a,r){let e=s;a!=null&&(e=typeof a=="function"?a(e):a),e.forEach(d=>{const y=i[d];y&&this.$_registerEventListeners(t,y,r)})},$_removeEventListeners(t){const i=[];this.$_events.forEach(s=>{const{targetNodes:a,eventType:r,handler:e}=s;!t||t===r?a.forEach(d=>d.removeEventListener(r,e)):i.push(s)}),this.$_events=i},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(t,i=!1){this.$_showFrameLocked||(this.hide({event:t}),t.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),i&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(t,i){for(const s of this.$_targetNodes){const a=s.getAttribute(t);a&&(s.removeAttribute(t),s.setAttribute(i,a))}},$_applyAttrsToTarget(t){for(const i of this.$_targetNodes)for(const s in t){const a=t[s];a==null?i.removeAttribute(s):i.setAttribute(s,a)}},$_updateParentShownChildren(t){let i=this.parentPopper;for(;i;)t?i.shownChildren.add(this.randomId):(i.shownChildren.delete(this.randomId),i.$_pendingHide&&i.hide()),i=i.parentPopper},$_isAimingPopper(){const t=this.$_referenceNode.getBoundingClientRect();if(Tp>=t.left&&Tp<=t.right&&Ap>=t.top&&Ap<=t.bottom){const i=this.$_popperNode.getBoundingClientRect(),s=Tp-nf,a=Ap-sf,r=i.left+i.width/2-nf+(i.top+i.height/2)-sf+i.width+i.height,e=nf+s*r,d=sf+a*r;return $m(nf,sf,e,d,i.left,i.top,i.left,i.bottom)||$m(nf,sf,e,d,i.left,i.top,i.right,i.top)||$m(nf,sf,e,d,i.right,i.top,i.right,i.bottom)||$m(nf,sf,e,d,i.left,i.bottom,i.right,i.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(C6?(document.addEventListener("touchstart",$w,sh?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",hR,sh?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",$w,!0),window.addEventListener("click",fR,!0)),window.addEventListener("resize",gR));function $w(t){for(let i=0;i<hl.length;i++){const s=hl[i];try{const a=s.popperNode();s.$_mouseDownContains=a.contains(t.target)}catch{}}}function fR(t){S6(t)}function hR(t){S6(t,!0)}function S6(t,i=!1){const s={};for(let a=hl.length-1;a>=0;a--){const r=hl[a];try{const e=r.$_containsGlobalTarget=dR(r,t);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!s[r.randomId]&&Hw(r,e,t)){if(r.$_handleGlobalClose(t,i),!t.closeAllPopover&&t.closePopover&&e){let y=r.parentPopper;for(;y;)s[y.randomId]=!0,y=y.parentPopper;return}let d=r.parentPopper;for(;d&&Hw(d,d.$_containsGlobalTarget,t);)d.$_handleGlobalClose(t,i),d=d.parentPopper}})}catch{}}}function dR(t,i){const s=t.popperNode();return t.$_mouseDownContains||s.contains(i.target)}function Hw(t,i,s){return s.closeAllPopover||s.closePopover&&i||pR(t,s)&&!i}function pR(t,i){if(typeof t.autoHide=="function"){const s=t.autoHide(i);return t.lastAutoHide=s,s}return t.autoHide}function gR(t){for(let i=0;i<hl.length;i++)hl[i].$_computePosition(t)}let nf=0,sf=0,Tp=0,Ap=0;typeof window<"u"&&window.addEventListener("mousemove",t=>{nf=Tp,sf=Ap,Tp=t.clientX,Ap=t.clientY},sh?{passive:!0}:void 0);function $m(t,i,s,a,r,e,d,y){const _=((d-r)*(i-e)-(y-e)*(t-r))/((y-e)*(s-t)-(d-r)*(a-i)),E=((s-t)*(i-e)-(a-i)*(t-r))/((y-e)*(s-t)-(d-r)*(a-i));return _>=0&&_<=1&&E>=0&&E<=1}const mR={extends:A6()},lv=(t,i)=>{const s=t.__vccOpts||t;for(const[a,r]of i)s[a]=r;return s};function vR(t,i,s,a,r,e){return hn(),Yn("div",{ref:"reference",class:ma(["v-popper",{"v-popper--shown":t.slotData.isShown}])},[rh(t.$slots,"default",SD(x_(t.slotData)))],2)}const bR=lv(mR,[["render",vR]]);function yR(){var t=window.navigator.userAgent,i=t.indexOf("MSIE ");if(i>0)return parseInt(t.substring(i+5,t.indexOf(".",i)),10);var s=t.indexOf("Trident/");if(s>0){var a=t.indexOf("rv:");return parseInt(t.substring(a+3,t.indexOf(".",a)),10)}var r=t.indexOf("Edge/");return r>0?parseInt(t.substring(r+5,t.indexOf(".",r)),10):-1}let Km;function By(){By.init||(By.init=!0,Km=yR()!==-1)}var cv={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){By(),Ql(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const t=document.createElement("object");this._resizeObject=t,t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex",-1),t.onload=this.addResizeHandlers,t.type="text/html",Km&&this.$el.appendChild(t),t.data="about:blank",Km||this.$el.appendChild(t)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Km&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const _R=eE();V2("data-v-b329ee4c");const wR={class:"resize-observer",tabindex:"-1"};G2();const DR=_R((t,i,s,a,r,e)=>(hn(),qc("div",wR)));cv.render=DR;cv.__scopeId="data-v-b329ee4c";cv.__file="src/components/ResizeObserver.vue";const k6=(t="theme")=>({computed:{themeClass(){return uR(this[t])}}}),ER=ds({name:"VPopperContent",components:{ResizeObserver:cv},mixins:[k6()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(t){return t!=null&&!isNaN(t)?`${t}px`:null}}}),FR=["id","aria-hidden","tabindex","data-popper-placement"],xR={ref:"inner",class:"v-popper__inner"},CR=zt("div",{class:"v-popper__arrow-outer"},null,-1),TR=zt("div",{class:"v-popper__arrow-inner"},null,-1),AR=[CR,TR];function SR(t,i,s,a,r,e){const d=vl("ResizeObserver");return hn(),Yn("div",{id:t.popperId,ref:"popover",class:ma(["v-popper__popper",[t.themeClass,t.classes.popperClass,{"v-popper__popper--shown":t.shown,"v-popper__popper--hidden":!t.shown,"v-popper__popper--show-from":t.classes.showFrom,"v-popper__popper--show-to":t.classes.showTo,"v-popper__popper--hide-from":t.classes.hideFrom,"v-popper__popper--hide-to":t.classes.hideTo,"v-popper__popper--skip-transition":t.skipTransition,"v-popper__popper--arrow-overflow":t.result&&t.result.arrow.overflow,"v-popper__popper--no-positioning":!t.result}]]),style:gl(t.result?{position:t.result.strategy,transform:`translate3d(${Math.round(t.result.x)}px,${Math.round(t.result.y)}px,0)`}:void 0),"aria-hidden":t.shown?"false":"true",tabindex:t.autoHide?0:void 0,"data-popper-placement":t.result?t.result.placement:void 0,onKeyup:i[2]||(i[2]=eF(y=>t.autoHide&&t.$emit("hide"),["esc"]))},[zt("div",{class:"v-popper__backdrop",onClick:i[0]||(i[0]=y=>t.autoHide&&t.$emit("hide"))}),zt("div",{class:"v-popper__wrapper",style:gl(t.result?{transformOrigin:t.result.transformOrigin}:void 0)},[zt("div",xR,[t.mounted?(hn(),Yn(Ni,{key:0},[zt("div",null,[rh(t.$slots,"default")]),t.handleResize?(hn(),qc(d,{key:0,onNotify:i[1]||(i[1]=y=>t.$emit("resize",y))})):so("",!0)],64)):so("",!0)],512),zt("div",{ref:"arrow",class:"v-popper__arrow-container",style:gl(t.result?{left:t.toPx(t.result.arrow.x),top:t.toPx(t.result.arrow.y)}:void 0)},AR,4)],4)],46,FR)}const O6=lv(ER,[["render",SR]]),R6={methods:{show(...t){return this.$refs.popper.show(...t)},hide(...t){return this.$refs.popper.hide(...t)},dispose(...t){return this.$refs.popper.dispose(...t)},onResize(...t){return this.$refs.popper.onResize(...t)}}},kR=ds({name:"VPopperWrapper",components:{Popper:bR,PopperContent:O6},mixins:[R6,k6("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(t=>t!==this.$refs.popperContent.$el)}}});function OR(t,i,s,a,r,e){const d=vl("PopperContent"),y=vl("Popper");return hn(),qc(y,{ref:"popper",theme:t.finalTheme,"target-nodes":t.getTargetNodes,"popper-node":()=>t.$refs.popperContent.$el,class:ma([t.themeClass])},{default:Es(({popperId:_,isShown:E,shouldMountContent:x,skipTransition:A,autoHide:R,show:L,hide:B,handleResize:I,onResize:G,classes:z,result:Q})=>[rh(t.$slots,"default",{shown:E,show:L,hide:B}),Yr(d,{ref:"popperContent","popper-id":_,theme:t.finalTheme,shown:E,mounted:x,"skip-transition":A,"auto-hide":R,"handle-resize":I,classes:z,result:Q,onHide:B,onResize:G},{default:Es(()=>[rh(t.$slots,"popper",{shown:E,hide:B})]),_: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 a4=lv(kR,[["render",OR]]),RR={...a4,name:"VDropdown",vPopperTheme:"dropdown"},PR={...a4,name:"VMenu",vPopperTheme:"menu"},IR={...a4,name:"VTooltip",vPopperTheme:"tooltip"},NR=ds({name:"VTooltipDirective",components:{Popper:A6(),PopperContent:O6},mixins:[R6],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:t=>Gp(t.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:t=>Gp(t.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(t){if(typeof this.content=="function"&&this.$_isShown&&(t||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const i=++this.$_fetchId,s=this.content(this);s.then?s.then(a=>this.onResult(i,a)):this.onResult(i,s)}},onResult(t,i){t===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=i)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),MR=["innerHTML"],LR=["textContent"];function BR(t,i,s,a,r,e){const d=vl("PopperContent"),y=vl("Popper");return hn(),qc(y,X2({ref:"popper"},t.$attrs,{theme:t.theme,"target-nodes":t.targetNodes,"popper-node":()=>t.$refs.popperContent.$el,onApplyShow:t.onShow,onApplyHide:t.onHide}),{default:Es(({popperId:_,isShown:E,shouldMountContent:x,skipTransition:A,autoHide:R,hide:L,handleResize:B,onResize:I,classes:G,result:z})=>[Yr(d,{ref:"popperContent",class:ma({"v-popper--tooltip-loading":t.loading}),"popper-id":_,theme:t.theme,shown:E,mounted:x,"skip-transition":A,"auto-hide":R,"handle-resize":B,classes:G,result:z,onHide:L,onResize:I},{default:Es(()=>[t.html?(hn(),Yn("div",{key:0,innerHTML:t.finalContent},null,8,MR)):(hn(),Yn("div",{key:1,textContent:rs(t.finalContent)},null,8,LR))]),_: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 UR=lv(NR,[["render",BR]]),P6="v-popper--has-tooltip";function $R(t,i){let s=t.placement;if(!s&&i)for(const a of T6)i[a]&&(s=a);return s||(s=Gp(t.theme||"tooltip","placement")),s}function I6(t,i,s){let a;const r=typeof i;return r==="string"?a={content:i}:i&&r==="object"?a=i:a={content:!1},a.placement=$R(a,s),a.targetNodes=()=>[t],a.referenceNode=()=>t,a}let jb,Yp,HR=0;function WR(){if(jb)return;Yp=dr([]),jb=R_({name:"VTooltipDirectiveApp",setup(){return{directives:Yp}},render(){return this.directives.map(i=>uh(UR,{...i.options,shown:i.shown||i.options.shown,key:i.id}))},devtools:{hide:!0}});const t=document.createElement("div");document.body.appendChild(t),jb.mount(t)}function zR(t,i,s){WR();const a=dr(I6(t,i,s)),r=dr(!1),e={id:HR++,options:a,shown:r};return Yp.value.push(e),t.classList&&t.classList.add(P6),t.$_popper={options:a,item:e,show(){r.value=!0},hide(){r.value=!1}}}function N6(t){if(t.$_popper){const i=Yp.value.indexOf(t.$_popper.item);i!==-1&&Yp.value.splice(i,1),delete t.$_popper,delete t.$_popperOldShown,delete t.$_popperMountTarget}t.classList&&t.classList.remove(P6)}function Ww(t,{value:i,modifiers:s}){const a=I6(t,i,s);if(!a.content||Gp(a.theme||"tooltip","disabled"))N6(t);else{let r;t.$_popper?(r=t.$_popper,r.options.value=a):r=zR(t,i,s),typeof i.shown<"u"&&i.shown!==t.$_popperOldShown&&(t.$_popperOldShown=i.shown,i.shown?r.show():r.hide())}}const jR={beforeMount:Ww,updated:Ww,beforeUnmount(t){N6(t)}};function zw(t){t.addEventListener("click",M6),t.addEventListener("touchstart",L6,sh?{passive:!0}:!1)}function jw(t){t.removeEventListener("click",M6),t.removeEventListener("touchstart",L6),t.removeEventListener("touchend",B6),t.removeEventListener("touchcancel",U6)}function M6(t){const i=t.currentTarget;t.closePopover=!i.$_vclosepopover_touch,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}function L6(t){if(t.changedTouches.length===1){const i=t.currentTarget;i.$_vclosepopover_touch=!0;const s=t.changedTouches[0];i.$_vclosepopover_touchPoint=s,i.addEventListener("touchend",B6),i.addEventListener("touchcancel",U6)}}function B6(t){const i=t.currentTarget;if(i.$_vclosepopover_touch=!1,t.changedTouches.length===1){const s=t.changedTouches[0],a=i.$_vclosepopover_touchPoint;t.closePopover=Math.abs(s.screenY-a.screenY)<20&&Math.abs(s.screenX-a.screenX)<20,t.closeAllPopover=i.$_closePopoverModifiers&&!!i.$_closePopoverModifiers.all}}function U6(t){const i=t.currentTarget;i.$_vclosepopover_touch=!1}const VR={beforeMount(t,{value:i,modifiers:s}){t.$_closePopoverModifiers=s,(typeof i>"u"||i)&&zw(t)},updated(t,{value:i,oldValue:s,modifiers:a}){t.$_closePopoverModifiers=a,i!==s&&(typeof i>"u"||i?zw(t):jw(t))},beforeUnmount(t){jw(t)}};function GR(t,i={}){t.$_vTooltipInstalled||(t.$_vTooltipInstalled=!0,x6(jc,i),t.directive("tooltip",jR),t.directive("close-popper",VR),t.component("VTooltip",IR),t.component("VDropdown",RR),t.component("VMenu",PR))}const YR={version:"2.0.0-beta.24",install:GR,options:jc};class uv{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(i){const s={listener:i};return this.listeners.add(s),this.onSubscribe(),()=>{this.listeners.delete(s),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}const fv=typeof window>"u"||"Deno"in window;function cl(){}function qR(t,i){return typeof t=="function"?t(i):t}function KR(t){return typeof t=="number"&&t>=0&&t!==1/0}function QR(t,i){return Math.max(t+(i||0)-Date.now(),0)}function Hm(t,i,s){return hv(t)?typeof i=="function"?{...s,queryKey:t,queryFn:i}:{...i,queryKey:t}:t}function hf(t,i,s){return hv(t)?[{...i,queryKey:t},s]:[t||{},i]}function Vw(t,i){const{type:s="all",exact:a,fetchStatus:r,predicate:e,queryKey:d,stale:y}=t;if(hv(d)){if(a){if(i.queryHash!==o4(d,i.options))return!1}else if(!C2(i.queryKey,d))return!1}if(s!=="all"){const _=i.isActive();if(s==="active"&&!_||s==="inactive"&&_)return!1}return!(typeof y=="boolean"&&i.isStale()!==y||typeof r<"u"&&r!==i.state.fetchStatus||e&&!e(i))}function Gw(t,i){const{exact:s,fetching:a,predicate:r,mutationKey:e}=t;if(hv(e)){if(!i.options.mutationKey)return!1;if(s){if(q0(i.options.mutationKey)!==q0(e))return!1}else if(!C2(i.options.mutationKey,e))return!1}return!(typeof a=="boolean"&&i.state.status==="loading"!==a||r&&!r(i))}function o4(t,i){return((i==null?void 0:i.queryKeyHashFn)||q0)(t)}function q0(t){return JSON.stringify(t,(i,s)=>Uy(s)?Object.keys(s).sort().reduce((a,r)=>(a[r]=s[r],a),{}):s)}function C2(t,i){return $6(t,i)}function $6(t,i){return t===i?!0:typeof t!=typeof i?!1:t&&i&&typeof t=="object"&&typeof i=="object"?!Object.keys(i).some(s=>!$6(t[s],i[s])):!1}function H6(t,i){if(t===i)return t;const s=Yw(t)&&Yw(i);if(s||Uy(t)&&Uy(i)){const a=s?t.length:Object.keys(t).length,r=s?i:Object.keys(i),e=r.length,d=s?[]:{};let y=0;for(let _=0;_<e;_++){const E=s?_:r[_];d[E]=H6(t[E],i[E]),d[E]===t[E]&&y++}return a===e&&y===a?t:d}return i}function eM(t,i){if(t&&!i||i&&!t)return!1;for(const s in t)if(t[s]!==i[s])return!1;return!0}function Yw(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function Uy(t){if(!qw(t))return!1;const i=t.constructor;if(typeof i>"u")return!0;const s=i.prototype;return!(!qw(s)||!s.hasOwnProperty("isPrototypeOf"))}function qw(t){return Object.prototype.toString.call(t)==="[object Object]"}function hv(t){return Array.isArray(t)}function W6(t){return new Promise(i=>{setTimeout(i,t)})}function Kw(t){W6(0).then(t)}function XR(){if(typeof AbortController=="function")return new AbortController}function JR(t,i,s){return s.isDataEqual!=null&&s.isDataEqual(t,i)?t:typeof s.structuralSharing=="function"?s.structuralSharing(t,i):s.structuralSharing!==!1?H6(t,i):i}class ZR extends uv{constructor(){super(),this.setup=i=>{if(!fv&&window.addEventListener){const s=()=>i();return window.addEventListener("visibilitychange",s,!1),window.addEventListener("focus",s,!1),()=>{window.removeEventListener("visibilitychange",s),window.removeEventListener("focus",s)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setFocused(a):this.onFocus()})}setFocused(i){this.focused!==i&&(this.focused=i,this.onFocus())}onFocus(){this.listeners.forEach(({listener:i})=>{i()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const $y=new ZR,Qw=["online","offline"];class eP extends uv{constructor(){super(),this.setup=i=>{if(!fv&&window.addEventListener){const s=()=>i();return Qw.forEach(a=>{window.addEventListener(a,s,!1)}),()=>{Qw.forEach(a=>{window.removeEventListener(a,s)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var i;(i=this.cleanup)==null||i.call(this),this.cleanup=void 0}}setEventListener(i){var s;this.setup=i,(s=this.cleanup)==null||s.call(this),this.cleanup=i(a=>{typeof a=="boolean"?this.setOnline(a):this.onOnline()})}setOnline(i){this.online!==i&&(this.online=i,this.onOnline())}onOnline(){this.listeners.forEach(({listener:i})=>{i()})}isOnline(){return typeof this.online=="boolean"?this.online:typeof navigator>"u"||typeof navigator.onLine>"u"?!0:navigator.onLine}}const T2=new eP;function tP(t){return Math.min(1e3*2**t,3e4)}function l4(t){return(t??"online")==="online"?T2.isOnline():!0}class z6{constructor(i){this.revert=i==null?void 0:i.revert,this.silent=i==null?void 0:i.silent}}function Vb(t){return t instanceof z6}function j6(t){let i=!1,s=0,a=!1,r,e,d;const y=new Promise((G,z)=>{e=G,d=z}),_=G=>{a||(L(new z6(G)),t.abort==null||t.abort())},E=()=>{i=!0},x=()=>{i=!1},A=()=>!$y.isFocused()||t.networkMode!=="always"&&!T2.isOnline(),R=G=>{a||(a=!0,t.onSuccess==null||t.onSuccess(G),r==null||r(),e(G))},L=G=>{a||(a=!0,t.onError==null||t.onError(G),r==null||r(),d(G))},B=()=>new Promise(G=>{r=z=>{const Q=a||!A();return Q&&G(z),Q},t.onPause==null||t.onPause()}).then(()=>{r=void 0,a||t.onContinue==null||t.onContinue()}),I=()=>{if(a)return;let G;try{G=t.fn()}catch(z){G=Promise.reject(z)}Promise.resolve(G).then(R).catch(z=>{var Q,ce;if(a)return;const Y=(Q=t.retry)!=null?Q:3,V=(ce=t.retryDelay)!=null?ce:tP,Z=typeof V=="function"?V(s,z):V,ie=Y===!0||typeof Y=="number"&&s<Y||typeof Y=="function"&&Y(s,z);if(i||!ie){L(z);return}s++,t.onFail==null||t.onFail(s,z),W6(Z).then(()=>{if(A())return B()}).then(()=>{i?L(z):I()})})};return l4(t.networkMode)?I():B().then(I),{promise:y,cancel:_,continue:()=>(r==null?void 0:r())?y:Promise.resolve(),cancelRetry:E,continueRetry:x}}const c4=console;function rP(){let t=[],i=0,s=x=>{x()},a=x=>{x()};const r=x=>{let A;i++;try{A=x()}finally{i--,i||y()}return A},e=x=>{i?t.push(x):Kw(()=>{s(x)})},d=x=>(...A)=>{e(()=>{x(...A)})},y=()=>{const x=t;t=[],x.length&&Kw(()=>{a(()=>{x.forEach(A=>{s(A)})})})};return{batch:r,batchCalls:d,schedule:e,setNotifyFunction:x=>{s=x},setBatchNotifyFunction:x=>{a=x}}}const pa=rP();class V6{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),KR(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(i){this.cacheTime=Math.max(this.cacheTime||0,i??(fv?1/0:5*60*1e3))}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}class nP extends V6{constructor(i){super(),this.abortSignalConsumed=!1,this.defaultOptions=i.defaultOptions,this.setOptions(i.options),this.observers=[],this.cache=i.cache,this.logger=i.logger||c4,this.queryKey=i.queryKey,this.queryHash=i.queryHash,this.initialState=i.state||iP(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.cache.remove(this)}setData(i,s){const a=JR(this.state.data,i,this.options);return this.dispatch({data:a,type:"success",dataUpdatedAt:s==null?void 0:s.updatedAt,manual:s==null?void 0:s.manual}),a}setState(i,s){this.dispatch({type:"setState",state:i,setStateOptions:s})}cancel(i){var s;const a=this.promise;return(s=this.retryer)==null||s.cancel(i),a?a.then(cl).catch(cl):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(i=>i.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(i=>i.getCurrentResult().isStale)}isStaleByTime(i=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!QR(this.state.dataUpdatedAt,i)}onFocus(){var i;const s=this.observers.find(a=>a.shouldFetchOnWindowFocus());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}onOnline(){var i;const s=this.observers.find(a=>a.shouldFetchOnReconnect());s&&s.refetch({cancelRefetch:!1}),(i=this.retryer)==null||i.continue()}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:i}))}removeObserver(i){this.observers.includes(i)&&(this.observers=this.observers.filter(s=>s!==i),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:i}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(i,s){var a,r;if(this.state.fetchStatus!=="idle"){if(this.state.dataUpdatedAt&&s!=null&&s.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var e;return(e=this.retryer)==null||e.continueRetry(),this.promise}}if(i&&this.setOptions(i),!this.options.queryFn){const L=this.observers.find(B=>B.options.queryFn);L&&this.setOptions(L.options)}Array.isArray(this.options.queryKey);const d=XR(),y={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},_=L=>{Object.defineProperty(L,"signal",{enumerable:!0,get:()=>{if(d)return this.abortSignalConsumed=!0,d.signal}})};_(y);const E=()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(y)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'"),x={fetchOptions:s,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:E};if(_(x),(a=this.options.behavior)==null||a.onFetch(x),this.revertState=this.state,this.state.fetchStatus==="idle"||this.state.fetchMeta!==((r=x.fetchOptions)==null?void 0:r.meta)){var A;this.dispatch({type:"fetch",meta:(A=x.fetchOptions)==null?void 0:A.meta})}const R=L=>{if(Vb(L)&&L.silent||this.dispatch({type:"error",error:L}),!Vb(L)){var B,I,G,z;(B=(I=this.cache.config).onError)==null||B.call(I,L,this),(G=(z=this.cache.config).onSettled)==null||G.call(z,this.state.data,L,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=j6({fn:x.fetchFn,abort:d==null?void 0:d.abort.bind(d),onSuccess:L=>{var B,I,G,z;if(typeof L>"u"){R(new Error(this.queryHash+" data is undefined"));return}this.setData(L),(B=(I=this.cache.config).onSuccess)==null||B.call(I,L,this),(G=(z=this.cache.config).onSettled)==null||G.call(z,L,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:R,onFail:(L,B)=>{this.dispatch({type:"failed",failureCount:L,error:B})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:x.options.retry,retryDelay:x.options.retryDelay,networkMode:x.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(i){const s=a=>{var r,e;switch(i.type){case"failed":return{...a,fetchFailureCount:i.failureCount,fetchFailureReason:i.error};case"pause":return{...a,fetchStatus:"paused"};case"continue":return{...a,fetchStatus:"fetching"};case"fetch":return{...a,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(r=i.meta)!=null?r:null,fetchStatus:l4(this.options.networkMode)?"fetching":"paused",...!a.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...a,data:i.data,dataUpdateCount:a.dataUpdateCount+1,dataUpdatedAt:(e=i.dataUpdatedAt)!=null?e:Date.now(),error:null,isInvalidated:!1,status:"success",...!i.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const d=i.error;return Vb(d)&&d.revert&&this.revertState?{...this.revertState}:{...a,error:d,errorUpdateCount:a.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:a.fetchFailureCount+1,fetchFailureReason:d,fetchStatus:"idle",status:"error"};case"invalidate":return{...a,isInvalidated:!0};case"setState":return{...a,...i.state}}};this.state=s(this.state),pa.batch(()=>{this.observers.forEach(a=>{a.onQueryUpdate(i)}),this.cache.notify({query:this,type:"updated",action:i})})}}function iP(t){const i=typeof t.initialData=="function"?t.initialData():t.initialData,s=typeof i<"u",a=s?typeof t.initialDataUpdatedAt=="function"?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:i,dataUpdateCount:0,dataUpdatedAt:s?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:s?"success":"loading",fetchStatus:"idle"}}let G6=class extends uv{constructor(i){super(),this.config=i||{},this.queries=[],this.queriesMap={}}build(i,s,a){var r;const e=s.queryKey,d=(r=s.queryHash)!=null?r:o4(e,s);let y=this.get(d);return y||(y=new nP({cache:this,logger:i.getLogger(),queryKey:e,queryHash:d,options:i.defaultQueryOptions(s),state:a,defaultOptions:i.getQueryDefaults(e)}),this.add(y)),y}add(i){this.queriesMap[i.queryHash]||(this.queriesMap[i.queryHash]=i,this.queries.push(i),this.notify({type:"added",query:i}))}remove(i){const s=this.queriesMap[i.queryHash];s&&(i.destroy(),this.queries=this.queries.filter(a=>a!==i),s===i&&delete this.queriesMap[i.queryHash],this.notify({type:"removed",query:i}))}clear(){pa.batch(()=>{this.queries.forEach(i=>{this.remove(i)})})}get(i){return this.queriesMap[i]}getAll(){return this.queries}find(i,s){const[a]=hf(i,s);return typeof a.exact>"u"&&(a.exact=!0),this.queries.find(r=>Vw(a,r))}findAll(i,s){const[a]=hf(i,s);return Object.keys(a).length>0?this.queries.filter(r=>Vw(a,r)):this.queries}notify(i){pa.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}onFocus(){pa.batch(()=>{this.queries.forEach(i=>{i.onFocus()})})}onOnline(){pa.batch(()=>{this.queries.forEach(i=>{i.onOnline()})})}};class sP extends V6{constructor(i){super(),this.defaultOptions=i.defaultOptions,this.mutationId=i.mutationId,this.mutationCache=i.mutationCache,this.logger=i.logger||c4,this.observers=[],this.state=i.state||aP(),this.setOptions(i.options),this.scheduleGc()}setOptions(i){this.options={...this.defaultOptions,...i},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(i){this.dispatch({type:"setState",state:i})}addObserver(i){this.observers.includes(i)||(this.observers.push(i),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:i}))}removeObserver(i){this.observers=this.observers.filter(s=>s!==i),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:i})}optionalRemove(){this.observers.length||(this.state.status==="loading"?this.scheduleGc():this.mutationCache.remove(this))}continue(){var i,s;return(i=(s=this.retryer)==null?void 0:s.continue())!=null?i:this.execute()}async execute(){const i=()=>{var ie;return this.retryer=j6({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(U,H)=>{this.dispatch({type:"failed",failureCount:U,error:H})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:(ie=this.options.retry)!=null?ie:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},s=this.state.status==="loading";try{var a,r,e,d,y,_,E,x;if(!s){var A,R,L,B;this.dispatch({type:"loading",variables:this.options.variables}),await((A=(R=this.mutationCache.config).onMutate)==null?void 0:A.call(R,this.state.variables,this));const U=await((L=(B=this.options).onMutate)==null?void 0:L.call(B,this.state.variables));U!==this.state.context&&this.dispatch({type:"loading",context:U,variables:this.state.variables})}const ie=await i();return await((a=(r=this.mutationCache.config).onSuccess)==null?void 0:a.call(r,ie,this.state.variables,this.state.context,this)),await((e=(d=this.options).onSuccess)==null?void 0:e.call(d,ie,this.state.variables,this.state.context)),await((y=(_=this.mutationCache.config).onSettled)==null?void 0:y.call(_,ie,null,this.state.variables,this.state.context,this)),await((E=(x=this.options).onSettled)==null?void 0:E.call(x,ie,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:ie}),ie}catch(ie){try{var I,G,z,Q,ce,Y,V,Z;throw await((I=(G=this.mutationCache.config).onError)==null?void 0:I.call(G,ie,this.state.variables,this.state.context,this)),await((z=(Q=this.options).onError)==null?void 0:z.call(Q,ie,this.state.variables,this.state.context)),await((ce=(Y=this.mutationCache.config).onSettled)==null?void 0:ce.call(Y,void 0,ie,this.state.variables,this.state.context,this)),await((V=(Z=this.options).onSettled)==null?void 0:V.call(Z,void 0,ie,this.state.variables,this.state.context)),ie}finally{this.dispatch({type:"error",error:ie})}}}dispatch(i){const s=a=>{switch(i.type){case"failed":return{...a,failureCount:i.failureCount,failureReason:i.error};case"pause":return{...a,isPaused:!0};case"continue":return{...a,isPaused:!1};case"loading":return{...a,context:i.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!l4(this.options.networkMode),status:"loading",variables:i.variables};case"success":return{...a,data:i.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...a,data:void 0,error:i.error,failureCount:a.failureCount+1,failureReason:i.error,isPaused:!1,status:"error"};case"setState":return{...a,...i.state}}};this.state=s(this.state),pa.batch(()=>{this.observers.forEach(a=>{a.onMutationUpdate(i)}),this.mutationCache.notify({mutation:this,type:"updated",action:i})})}}function aP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}let Y6=class extends uv{constructor(i){super(),this.config=i||{},this.mutations=[],this.mutationId=0}build(i,s,a){const r=new sP({mutationCache:this,logger:i.getLogger(),mutationId:++this.mutationId,options:i.defaultMutationOptions(s),state:a,defaultOptions:s.mutationKey?i.getMutationDefaults(s.mutationKey):void 0});return this.add(r),r}add(i){this.mutations.push(i),this.notify({type:"added",mutation:i})}remove(i){this.mutations=this.mutations.filter(s=>s!==i),this.notify({type:"removed",mutation:i})}clear(){pa.batch(()=>{this.mutations.forEach(i=>{this.remove(i)})})}getAll(){return this.mutations}find(i){return typeof i.exact>"u"&&(i.exact=!0),this.mutations.find(s=>Gw(i,s))}findAll(i){return this.mutations.filter(s=>Gw(i,s))}notify(i){pa.batch(()=>{this.listeners.forEach(({listener:s})=>{s(i)})})}resumePausedMutations(){var i;return this.resuming=((i=this.resuming)!=null?i:Promise.resolve()).then(()=>{const s=this.mutations.filter(a=>a.state.isPaused);return pa.batch(()=>s.reduce((a,r)=>a.then(()=>r.continue().catch(cl)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}};function oP(){return{onFetch:t=>{t.fetchFn=()=>{var i,s,a,r,e,d;const y=(i=t.fetchOptions)==null||(s=i.meta)==null?void 0:s.refetchPage,_=(a=t.fetchOptions)==null||(r=a.meta)==null?void 0:r.fetchMore,E=_==null?void 0:_.pageParam,x=(_==null?void 0:_.direction)==="forward",A=(_==null?void 0:_.direction)==="backward",R=((e=t.state.data)==null?void 0:e.pages)||[],L=((d=t.state.data)==null?void 0:d.pageParams)||[];let B=L,I=!1;const G=Z=>{Object.defineProperty(Z,"signal",{enumerable:!0,get:()=>{var ie;if((ie=t.signal)!=null&&ie.aborted)I=!0;else{var U;(U=t.signal)==null||U.addEventListener("abort",()=>{I=!0})}return t.signal}})},z=t.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+t.options.queryHash+"'")),Q=(Z,ie,U,H)=>(B=H?[ie,...B]:[...B,ie],H?[U,...Z]:[...Z,U]),ce=(Z,ie,U,H)=>{if(I)return Promise.reject("Cancelled");if(typeof U>"u"&&!ie&&Z.length)return Promise.resolve(Z);const te={queryKey:t.queryKey,pageParam:U,meta:t.options.meta};G(te);const fe=z(te);return Promise.resolve(fe).then(ye=>Q(Z,U,ye,H))};let Y;if(!R.length)Y=ce([]);else if(x){const Z=typeof E<"u",ie=Z?E:Xw(t.options,R);Y=ce(R,Z,ie)}else if(A){const Z=typeof E<"u",ie=Z?E:lP(t.options,R);Y=ce(R,Z,ie,!0)}else{B=[];const Z=typeof t.options.getNextPageParam>"u";Y=(y&&R[0]?y(R[0],0,R):!0)?ce([],Z,L[0]):Promise.resolve(Q([],L[0],R[0]));for(let U=1;U<R.length;U++)Y=Y.then(H=>{if(y&&R[U]?y(R[U],U,R):!0){const fe=Z?L[U]:Xw(t.options,H);return ce(H,Z,fe)}return Promise.resolve(Q(H,L[U],R[U]))})}return Y.then(Z=>({pages:Z,pageParams:B}))}}}}function Xw(t,i){return t.getNextPageParam==null?void 0:t.getNextPageParam(i[i.length-1],i)}function lP(t,i){return t.getPreviousPageParam==null?void 0:t.getPreviousPageParam(i[0],i)}let cP=class{constructor(i={}){this.queryCache=i.queryCache||new G6,this.mutationCache=i.mutationCache||new Y6,this.logger=i.logger||c4,this.defaultOptions=i.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,this.mountCount===1&&(this.unsubscribeFocus=$y.subscribe(()=>{$y.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=T2.subscribe(()=>{T2.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var i,s;this.mountCount--,this.mountCount===0&&((i=this.unsubscribeFocus)==null||i.call(this),this.unsubscribeFocus=void 0,(s=this.unsubscribeOnline)==null||s.call(this),this.unsubscribeOnline=void 0)}isFetching(i,s){const[a]=hf(i,s);return a.fetchStatus="fetching",this.queryCache.findAll(a).length}isMutating(i){return this.mutationCache.findAll({...i,fetching:!0}).length}getQueryData(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state.data}ensureQueryData(i,s,a){const r=Hm(i,s,a),e=this.getQueryData(r.queryKey);return e?Promise.resolve(e):this.fetchQuery(r)}getQueriesData(i){return this.getQueryCache().findAll(i).map(({queryKey:s,state:a})=>{const r=a.data;return[s,r]})}setQueryData(i,s,a){const r=this.queryCache.find(i),e=r==null?void 0:r.state.data,d=qR(s,e);if(typeof d>"u")return;const y=Hm(i),_=this.defaultQueryOptions(y);return this.queryCache.build(this,_).setData(d,{...a,manual:!0})}setQueriesData(i,s,a){return pa.batch(()=>this.getQueryCache().findAll(i).map(({queryKey:r})=>[r,this.setQueryData(r,s,a)]))}getQueryState(i,s){var a;return(a=this.queryCache.find(i,s))==null?void 0:a.state}removeQueries(i,s){const[a]=hf(i,s),r=this.queryCache;pa.batch(()=>{r.findAll(a).forEach(e=>{r.remove(e)})})}resetQueries(i,s,a){const[r,e]=hf(i,s,a),d=this.queryCache,y={type:"active",...r};return pa.batch(()=>(d.findAll(r).forEach(_=>{_.reset()}),this.refetchQueries(y,e)))}cancelQueries(i,s,a){const[r,e={}]=hf(i,s,a);typeof e.revert>"u"&&(e.revert=!0);const d=pa.batch(()=>this.queryCache.findAll(r).map(y=>y.cancel(e)));return Promise.all(d).then(cl).catch(cl)}invalidateQueries(i,s,a){const[r,e]=hf(i,s,a);return pa.batch(()=>{var d,y;if(this.queryCache.findAll(r).forEach(E=>{E.invalidate()}),r.refetchType==="none")return Promise.resolve();const _={...r,type:(d=(y=r.refetchType)!=null?y:r.type)!=null?d:"active"};return this.refetchQueries(_,e)})}refetchQueries(i,s,a){const[r,e]=hf(i,s,a),d=pa.batch(()=>this.queryCache.findAll(r).filter(_=>!_.isDisabled()).map(_=>{var E;return _.fetch(void 0,{...e,cancelRefetch:(E=e==null?void 0:e.cancelRefetch)!=null?E:!0,meta:{refetchPage:r.refetchPage}})}));let y=Promise.all(d).then(cl);return e!=null&&e.throwOnError||(y=y.catch(cl)),y}fetchQuery(i,s,a){const r=Hm(i,s,a),e=this.defaultQueryOptions(r);typeof e.retry>"u"&&(e.retry=!1);const d=this.queryCache.build(this,e);return d.isStaleByTime(e.staleTime)?d.fetch(e):Promise.resolve(d.state.data)}prefetchQuery(i,s,a){return this.fetchQuery(i,s,a).then(cl).catch(cl)}fetchInfiniteQuery(i,s,a){const r=Hm(i,s,a);return r.behavior=oP(),this.fetchQuery(r)}prefetchInfiniteQuery(i,s,a){return this.fetchInfiniteQuery(i,s,a).then(cl).catch(cl)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(i){this.defaultOptions=i}setQueryDefaults(i,s){const a=this.queryDefaults.find(r=>q0(i)===q0(r.queryKey));a?a.defaultOptions=s:this.queryDefaults.push({queryKey:i,defaultOptions:s})}getQueryDefaults(i){if(!i)return;const s=this.queryDefaults.find(a=>C2(i,a.queryKey));return s==null?void 0:s.defaultOptions}setMutationDefaults(i,s){const a=this.mutationDefaults.find(r=>q0(i)===q0(r.mutationKey));a?a.defaultOptions=s:this.mutationDefaults.push({mutationKey:i,defaultOptions:s})}getMutationDefaults(i){if(!i)return;const s=this.mutationDefaults.find(a=>C2(i,a.mutationKey));return s==null?void 0:s.defaultOptions}defaultQueryOptions(i){if(i!=null&&i._defaulted)return i;const s={...this.defaultOptions.queries,...this.getQueryDefaults(i==null?void 0:i.queryKey),...i,_defaulted:!0};return!s.queryHash&&s.queryKey&&(s.queryHash=o4(s.queryKey,s)),typeof s.refetchOnReconnect>"u"&&(s.refetchOnReconnect=s.networkMode!=="always"),typeof s.useErrorBoundary>"u"&&(s.useErrorBoundary=!!s.suspense),s}defaultMutationOptions(i){return i!=null&&i._defaulted?i:{...this.defaultOptions.mutations,...this.getMutationDefaults(i==null?void 0:i.mutationKey),...i,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}};const uP="VUE_QUERY_CLIENT";function fP(t){const i=t?":"+t:"";return""+uP+i}function ll(t){return Array.isArray(t)}function iM(t,i){Object.keys(t).forEach(s=>{t[s]=i[s]})}function Hy(t,i){if(i){const s=i(t);if(s!==void 0||Ln(t))return s}if(Array.isArray(t))return t.map(s=>Hy(s,i));if(typeof t=="object"&&hP(t)){const s=Object.entries(t).map(([a,r])=>[a,Hy(r,i)]);return Object.fromEntries(s)}return t}function Cr(t){return Hy(t,i=>{if(Ln(i))return Cr(vr(i))})}function hP(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;const i=Object.getPrototypeOf(t);return i===null||i===Object.prototype}function sM(t,i){return typeof t=="function"?t(...i):!!t}class dP extends G6{find(i,s){const a=Cr(i),r=Cr(s);return super.find(a,r)}findAll(i,s){const a=Cr(i),r=Cr(s);return ll(a)?super.findAll(a,r):super.findAll(a)}}class pP extends Y6{find(i){return super.find(Cr(i))}findAll(i){return super.findAll(Cr(i))}}class Jw extends cP{constructor(i={}){const s=Cr(i),a={logger:Cr(s.logger),defaultOptions:Cr(s.defaultOptions),queryCache:s.queryCache||new dP,mutationCache:s.mutationCache||new pP};super(a),this.isRestoring=dr(!1)}isFetching(i,s){const a=Cr(i),r=Cr(s);return ll(a)?super.isFetching(a,r):super.isFetching(a)}isMutating(i){return super.isMutating(Cr(i))}getQueryData(i,s){return super.getQueryData(Cr(i),Cr(s))}getQueriesData(i){const s=Cr(i);return ll(s)?super.getQueriesData(s):super.getQueriesData(s)}setQueryData(i,s,a){return super.setQueryData(Cr(i),s,Cr(a))}setQueriesData(i,s,a){const r=Cr(i),e=Cr(a);return ll(r)?super.setQueriesData(r,s,e):super.setQueriesData(r,s,e)}getQueryState(i,s){return super.getQueryState(Cr(i),Cr(s))}removeQueries(i,s){const a=Cr(i);return ll(a)?super.removeQueries(a,Cr(s)):super.removeQueries(a)}resetQueries(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.resetQueries(r,e,Cr(a)):super.resetQueries(r,e)}cancelQueries(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.cancelQueries(r,e,Cr(a)):super.cancelQueries(r,e)}invalidateQueries(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.invalidateQueries(r,e,Cr(a)):super.invalidateQueries(r,e)}refetchQueries(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.refetchQueries(r,e,Cr(a)):super.refetchQueries(r,e)}fetchQuery(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.fetchQuery(r,e,Cr(a)):super.fetchQuery(r)}prefetchQuery(i,s,a){return super.prefetchQuery(Cr(i),Cr(s),Cr(a))}fetchInfiniteQuery(i,s,a){const r=Cr(i),e=Cr(s);return ll(r)?super.fetchInfiniteQuery(r,e,Cr(a)):super.fetchInfiniteQuery(r)}prefetchInfiniteQuery(i,s,a){return super.prefetchInfiniteQuery(Cr(i),Cr(s),Cr(a))}setDefaultOptions(i){super.setDefaultOptions(Cr(i))}setQueryDefaults(i,s){super.setQueryDefaults(Cr(i),Cr(s))}getQueryDefaults(i){return super.getQueryDefaults(Cr(i))}setMutationDefaults(i,s){super.setMutationDefaults(Cr(i),Cr(s))}getMutationDefaults(i){return super.getMutationDefaults(Cr(i))}}const gP={install:(t,i={})=>{const s=fP(i.queryClientKey);let a;if("queryClient"in i&&i.queryClient)a=i.queryClient;else if(i.contextSharing&&typeof window<"u")if(window.__VUE_QUERY_CONTEXT__)a=window.__VUE_QUERY_CONTEXT__;else{const d="queryClientConfig"in i?i.queryClientConfig:void 0;a=new Jw(d),window.__VUE_QUERY_CONTEXT__=a}else{const d="queryClientConfig"in i?i.queryClientConfig:void 0;a=new Jw(d)}fv||a.mount();let r=()=>{};if(i.clientPersister){a.isRestoring.value=!0;const[d,y]=i.clientPersister(a);r=d,y.then(()=>{a.isRestoring.value=!1})}const e=()=>{a.unmount(),r()};if(t.onUnmount)t.onUnmount(e);else{const d=t.unmount;t.unmount=function(){e(),d()}}t.provide(s,a)}};let mP;function vP(){return mP}function bP(t){return typeof t=="function"?t():vr(t)}function Wy(t,i=""){if(t instanceof Promise)return t;const s=bP(t);return!t||!s?s:Array.isArray(s)?s.map(a=>Wy(a,i)):typeof s=="object"?Object.fromEntries(Object.entries(s).map(([a,r])=>a==="titleTemplate"||a.startsWith("on")?[a,vr(r)]:[a,Wy(r,a)])):s}const yP="usehead";function _P(){return Cs()&&va(yP)||vP()}function wP(t,i={}){const s=_P();if(s)return s.ssr?s.push(t,i):DP(s,t,i)}function DP(t,i,s={}){const a=dr(!1),r=dr({});g_(()=>{r.value=a.value?{}:Wy(i)});const e=t.push(r.value,s);return Qn(r,y=>{e.patch(y)}),Cs()&&(eg(()=>{e.dispose()}),y_(()=>{a.value=!0}),b_(()=>{a.value=!1})),e}const EP=ds({__name:"App",setup(t){return wP({title:"Board - XCPCIO",meta:[{name:"description",content:"XCPCIO-Board 主要收录 *CPC 系列竞赛的榜单。"},{name:"keywords",content:"icpc, ccpc, rank, board, standings"},{name:"theme-color",content:()=>d6.value?"#00aba9":"#ffffff"}],link:[{rel:"icon",type:"image/svg+xml",href:()=>w9.value?"/favicon-dark.svg":"/favicon.svg"}]}),(i,s)=>{const a=vl("RouterView");return hn(),qc(a)}}});var FP=Object.defineProperty,Zw=Object.getOwnPropertySymbols,xP=Object.prototype.hasOwnProperty,CP=Object.prototype.propertyIsEnumerable,eD=(t,i,s)=>i in t?FP(t,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):t[i]=s,tD=(t,i)=>{for(var s in i||(i={}))xP.call(i,s)&&eD(t,s,i[s]);if(Zw)for(var s of Zw(i))CP.call(i,s)&&eD(t,s,i[s]);return t};const Gb=new WeakMap;function q6(t,i,s={}){const{mode:a="replace",route:r=jS(),router:e=zS(),transform:d=x=>x}=s;Gb.has(r)||Gb.set(r,new Map);const y=Gb.get(r);ql(()=>{y.delete(t)}),y.set(t,r.query[t]);let _;const E=u_((x,A)=>(_=A,{get(){x();const R=y.get(t);return d(R!==void 0?R:Ri(i))},set(R){y.get(t)!==R&&(y.set(t,R),A(),Ql(()=>{const{params:L,query:B,hash:I}=r;e[Ri(a)]({params:L,query:tD(tD({},B),Object.fromEntries(y.entries())),hash:I})}))}}));return Qn(()=>r.query[t],x=>{y.set(t,x),_()},{flush:"sync"}),E}var K6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){var s=1e3,a=6e4,r=36e5,e="millisecond",d="second",y="minute",_="hour",E="day",x="week",A="month",R="quarter",L="year",B="date",I="Invalid Date",G=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,z=/\[([^\]]+)]|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,Q={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(ye){var be=["th","st","nd","rd"],$e=ye%100;return"["+ye+(be[($e-20)%10]||be[$e]||be[0])+"]"}},ce=function(ye,be,$e){var je=String(ye);return!je||je.length>=be?ye:""+Array(be+1-je.length).join($e)+ye},Y={s:ce,z:function(ye){var be=-ye.utcOffset(),$e=Math.abs(be),je=Math.floor($e/60),Fe=$e%60;return(be<=0?"+":"-")+ce(je,2,"0")+":"+ce(Fe,2,"0")},m:function ye(be,$e){if(be.date()<$e.date())return-ye($e,be);var je=12*($e.year()-be.year())+($e.month()-be.month()),Fe=be.clone().add(je,A),lt=$e-Fe<0,Xe=be.clone().add(je+(lt?-1:1),A);return+(-(je+($e-Fe)/(lt?Fe-Xe:Xe-Fe))||0)},a:function(ye){return ye<0?Math.ceil(ye)||0:Math.floor(ye)},p:function(ye){return{M:A,y:L,w:x,d:E,D:B,h:_,m:y,s:d,ms:e,Q:R}[ye]||String(ye||"").toLowerCase().replace(/s$/,"")},u:function(ye){return ye===void 0}},V="en",Z={};Z[V]=Q;var ie=function(ye){return ye instanceof fe},U=function ye(be,$e,je){var Fe;if(!be)return V;if(typeof be=="string"){var lt=be.toLowerCase();Z[lt]&&(Fe=lt),$e&&(Z[lt]=$e,Fe=lt);var Xe=be.split("-");if(!Fe&&Xe.length>1)return ye(Xe[0])}else{var Je=be.name;Z[Je]=be,Fe=Je}return!je&&Fe&&(V=Fe),Fe||!je&&V},H=function(ye,be){if(ie(ye))return ye.clone();var $e=typeof be=="object"?be:{};return $e.date=ye,$e.args=arguments,new fe($e)},te=Y;te.l=U,te.i=ie,te.w=function(ye,be){return H(ye,{locale:be.$L,utc:be.$u,x:be.$x,$offset:be.$offset})};var fe=function(){function ye($e){this.$L=U($e.locale,null,!0),this.parse($e)}var be=ye.prototype;return be.parse=function($e){this.$d=function(je){var Fe=je.date,lt=je.utc;if(Fe===null)return new Date(NaN);if(te.u(Fe))return new Date;if(Fe instanceof Date)return new Date(Fe);if(typeof Fe=="string"&&!/Z$/i.test(Fe)){var Xe=Fe.match(G);if(Xe){var Je=Xe[2]-1||0,de=(Xe[7]||"0").substring(0,3);return lt?new Date(Date.UTC(Xe[1],Je,Xe[3]||1,Xe[4]||0,Xe[5]||0,Xe[6]||0,de)):new Date(Xe[1],Je,Xe[3]||1,Xe[4]||0,Xe[5]||0,Xe[6]||0,de)}}return new Date(Fe)}($e),this.$x=$e.x||{},this.init()},be.init=function(){var $e=this.$d;this.$y=$e.getFullYear(),this.$M=$e.getMonth(),this.$D=$e.getDate(),this.$W=$e.getDay(),this.$H=$e.getHours(),this.$m=$e.getMinutes(),this.$s=$e.getSeconds(),this.$ms=$e.getMilliseconds()},be.$utils=function(){return te},be.isValid=function(){return this.$d.toString()!==I},be.isSame=function($e,je){var Fe=H($e);return this.startOf(je)<=Fe&&Fe<=this.endOf(je)},be.isAfter=function($e,je){return H($e)<this.startOf(je)},be.isBefore=function($e,je){return this.endOf(je)<H($e)},be.$g=function($e,je,Fe){return te.u($e)?this[je]:this.set(Fe,$e)},be.unix=function(){return Math.floor(this.valueOf()/1e3)},be.valueOf=function(){return this.$d.getTime()},be.startOf=function($e,je){var Fe=this,lt=!!te.u(je)||je,Xe=te.p($e),Je=function(He,pe){var it=te.w(Fe.$u?Date.UTC(Fe.$y,pe,He):new Date(Fe.$y,pe,He),Fe);return lt?it:it.endOf(E)},de=function(He,pe){return te.w(Fe.toDate()[He].apply(Fe.toDate("s"),(lt?[0,0,0,0]:[23,59,59,999]).slice(pe)),Fe)},Se=this.$W,rt=this.$M,We=this.$D,xe="set"+(this.$u?"UTC":"");switch(Xe){case L:return lt?Je(1,0):Je(31,11);case A:return lt?Je(1,rt):Je(0,rt+1);case x:var Be=this.$locale().weekStart||0,se=(Se<Be?Se+7:Se)-Be;return Je(lt?We-se:We+(6-se),rt);case E:case B:return de(xe+"Hours",0);case _:return de(xe+"Minutes",1);case y:return de(xe+"Seconds",2);case d:return de(xe+"Milliseconds",3);default:return this.clone()}},be.endOf=function($e){return this.startOf($e,!1)},be.$set=function($e,je){var Fe,lt=te.p($e),Xe="set"+(this.$u?"UTC":""),Je=(Fe={},Fe[E]=Xe+"Date",Fe[B]=Xe+"Date",Fe[A]=Xe+"Month",Fe[L]=Xe+"FullYear",Fe[_]=Xe+"Hours",Fe[y]=Xe+"Minutes",Fe[d]=Xe+"Seconds",Fe[e]=Xe+"Milliseconds",Fe)[lt],de=lt===E?this.$D+(je-this.$W):je;if(lt===A||lt===L){var Se=this.clone().set(B,1);Se.$d[Je](de),Se.init(),this.$d=Se.set(B,Math.min(this.$D,Se.daysInMonth())).$d}else Je&&this.$d[Je](de);return this.init(),this},be.set=function($e,je){return this.clone().$set($e,je)},be.get=function($e){return this[te.p($e)]()},be.add=function($e,je){var Fe,lt=this;$e=Number($e);var Xe=te.p(je),Je=function(rt){var We=H(lt);return te.w(We.date(We.date()+Math.round(rt*$e)),lt)};if(Xe===A)return this.set(A,this.$M+$e);if(Xe===L)return this.set(L,this.$y+$e);if(Xe===E)return Je(1);if(Xe===x)return Je(7);var de=(Fe={},Fe[y]=a,Fe[_]=r,Fe[d]=s,Fe)[Xe]||1,Se=this.$d.getTime()+$e*de;return te.w(Se,this)},be.subtract=function($e,je){return this.add(-1*$e,je)},be.format=function($e){var je=this,Fe=this.$locale();if(!this.isValid())return Fe.invalidDate||I;var lt=$e||"YYYY-MM-DDTHH:mm:ssZ",Xe=te.z(this),Je=this.$H,de=this.$m,Se=this.$M,rt=Fe.weekdays,We=Fe.months,xe=function(pe,it,kt,ne){return pe&&(pe[it]||pe(je,lt))||kt[it].slice(0,ne)},Be=function(pe){return te.s(Je%12||12,pe,"0")},se=Fe.meridiem||function(pe,it,kt){var ne=pe<12?"AM":"PM";return kt?ne.toLowerCase():ne},He={YY:String(this.$y).slice(-2),YYYY:te.s(this.$y,4,"0"),M:Se+1,MM:te.s(Se+1,2,"0"),MMM:xe(Fe.monthsShort,Se,We,3),MMMM:xe(We,Se),D:this.$D,DD:te.s(this.$D,2,"0"),d:String(this.$W),dd:xe(Fe.weekdaysMin,this.$W,rt,2),ddd:xe(Fe.weekdaysShort,this.$W,rt,3),dddd:rt[this.$W],H:String(Je),HH:te.s(Je,2,"0"),h:Be(1),hh:Be(2),a:se(Je,de,!0),A:se(Je,de,!1),m:String(de),mm:te.s(de,2,"0"),s:String(this.$s),ss:te.s(this.$s,2,"0"),SSS:te.s(this.$ms,3,"0"),Z:Xe};return lt.replace(z,function(pe,it){return it||He[pe]||Xe.replace(":","")})},be.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},be.diff=function($e,je,Fe){var lt,Xe=te.p(je),Je=H($e),de=(Je.utcOffset()-this.utcOffset())*a,Se=this-Je,rt=te.m(this,Je);return rt=(lt={},lt[L]=rt/12,lt[A]=rt,lt[R]=rt/3,lt[x]=(Se-de)/6048e5,lt[E]=(Se-de)/864e5,lt[_]=Se/r,lt[y]=Se/a,lt[d]=Se/s,lt)[Xe]||Se,Fe?rt:te.a(rt)},be.daysInMonth=function(){return this.endOf(A).$D},be.$locale=function(){return Z[this.$L]},be.locale=function($e,je){if(!$e)return this.$L;var Fe=this.clone(),lt=U($e,je,!0);return lt&&(Fe.$L=lt),Fe},be.clone=function(){return te.w(this.$d,this)},be.toDate=function(){return new Date(this.valueOf())},be.toJSON=function(){return this.isValid()?this.toISOString():null},be.toISOString=function(){return this.$d.toISOString()},be.toString=function(){return this.$d.toUTCString()},ye}(),Ee=fe.prototype;return H.prototype=Ee,[["$ms",e],["$s",d],["$m",y],["$H",_],["$W",E],["$M",A],["$y",L],["$D",B]].forEach(function(ye){Ee[ye[1]]=function(be){return this.$g(be,ye[0],ye[1])}}),H.extend=function(ye,be){return ye.$i||(ye(be,fe,H),ye.$i=!0),H},H.locale=U,H.isDayjs=ie,H.unix=function(ye){return H(1e3*ye)},H.en=Z[V],H.Ls=Z,H.p={},H})})(K6);var TP=K6.exports;const Gs=qs(TP);var Q6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){var s,a,r=1e3,e=6e4,d=36e5,y=864e5,_=/\[([^\]]+)]|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,E=31536e6,x=2592e6,A=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,R={years:E,months:x,days:y,hours:d,minutes:e,seconds:r,milliseconds:1,weeks:6048e5},L=function(V){return V instanceof Y},B=function(V,Z,ie){return new Y(V,ie,Z.$l)},I=function(V){return a.p(V)+"s"},G=function(V){return V<0},z=function(V){return G(V)?Math.ceil(V):Math.floor(V)},Q=function(V){return Math.abs(V)},ce=function(V,Z){return V?G(V)?{negative:!0,format:""+Q(V)+Z}:{negative:!1,format:""+V+Z}:{negative:!1,format:""}},Y=function(){function V(ie,U,H){var te=this;if(this.$d={},this.$l=H,ie===void 0&&(this.$ms=0,this.parseFromMilliseconds()),U)return B(ie*R[I(U)],this);if(typeof ie=="number")return this.$ms=ie,this.parseFromMilliseconds(),this;if(typeof ie=="object")return Object.keys(ie).forEach(function(ye){te.$d[I(ye)]=ie[ye]}),this.calMilliseconds(),this;if(typeof ie=="string"){var fe=ie.match(A);if(fe){var Ee=fe.slice(2).map(function(ye){return ye!=null?Number(ye):0});return this.$d.years=Ee[0],this.$d.months=Ee[1],this.$d.weeks=Ee[2],this.$d.days=Ee[3],this.$d.hours=Ee[4],this.$d.minutes=Ee[5],this.$d.seconds=Ee[6],this.calMilliseconds(),this}}return this}var Z=V.prototype;return Z.calMilliseconds=function(){var ie=this;this.$ms=Object.keys(this.$d).reduce(function(U,H){return U+(ie.$d[H]||0)*R[H]},0)},Z.parseFromMilliseconds=function(){var ie=this.$ms;this.$d.years=z(ie/E),ie%=E,this.$d.months=z(ie/x),ie%=x,this.$d.days=z(ie/y),ie%=y,this.$d.hours=z(ie/d),ie%=d,this.$d.minutes=z(ie/e),ie%=e,this.$d.seconds=z(ie/r),ie%=r,this.$d.milliseconds=ie},Z.toISOString=function(){var ie=ce(this.$d.years,"Y"),U=ce(this.$d.months,"M"),H=+this.$d.days||0;this.$d.weeks&&(H+=7*this.$d.weeks);var te=ce(H,"D"),fe=ce(this.$d.hours,"H"),Ee=ce(this.$d.minutes,"M"),ye=this.$d.seconds||0;this.$d.milliseconds&&(ye+=this.$d.milliseconds/1e3);var be=ce(ye,"S"),$e=ie.negative||U.negative||te.negative||fe.negative||Ee.negative||be.negative,je=fe.format||Ee.format||be.format?"T":"",Fe=($e?"-":"")+"P"+ie.format+U.format+te.format+je+fe.format+Ee.format+be.format;return Fe==="P"||Fe==="-P"?"P0D":Fe},Z.toJSON=function(){return this.toISOString()},Z.format=function(ie){var U=ie||"YYYY-MM-DDTHH:mm:ss",H={Y:this.$d.years,YY:a.s(this.$d.years,2,"0"),YYYY:a.s(this.$d.years,4,"0"),M:this.$d.months,MM:a.s(this.$d.months,2,"0"),D:this.$d.days,DD:a.s(this.$d.days,2,"0"),H:this.$d.hours,HH:a.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:a.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:a.s(this.$d.seconds,2,"0"),SSS:a.s(this.$d.milliseconds,3,"0")};return U.replace(_,function(te,fe){return fe||String(H[te])})},Z.as=function(ie){return this.$ms/R[I(ie)]},Z.get=function(ie){var U=this.$ms,H=I(ie);return H==="milliseconds"?U%=1e3:U=H==="weeks"?z(U/R[H]):this.$d[H],U===0?0:U},Z.add=function(ie,U,H){var te;return te=U?ie*R[I(U)]:L(ie)?ie.$ms:B(ie,this).$ms,B(this.$ms+te*(H?-1:1),this)},Z.subtract=function(ie,U){return this.add(ie,U,!0)},Z.locale=function(ie){var U=this.clone();return U.$l=ie,U},Z.clone=function(){return B(this.$ms,this)},Z.humanize=function(ie){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!ie)},Z.valueOf=function(){return this.asMilliseconds()},Z.milliseconds=function(){return this.get("milliseconds")},Z.asMilliseconds=function(){return this.as("milliseconds")},Z.seconds=function(){return this.get("seconds")},Z.asSeconds=function(){return this.as("seconds")},Z.minutes=function(){return this.get("minutes")},Z.asMinutes=function(){return this.as("minutes")},Z.hours=function(){return this.get("hours")},Z.asHours=function(){return this.as("hours")},Z.days=function(){return this.get("days")},Z.asDays=function(){return this.as("days")},Z.weeks=function(){return this.get("weeks")},Z.asWeeks=function(){return this.as("weeks")},Z.months=function(){return this.get("months")},Z.asMonths=function(){return this.as("months")},Z.years=function(){return this.get("years")},Z.asYears=function(){return this.as("years")},V}();return function(V,Z,ie){s=ie,a=ie().$utils(),ie.duration=function(te,fe){var Ee=ie.locale();return B(te,{$l:Ee},fe)},ie.isDuration=L;var U=Z.prototype.add,H=Z.prototype.subtract;Z.prototype.add=function(te,fe){return L(te)&&(te=te.asMilliseconds()),U.bind(this)(te,fe)},Z.prototype.subtract=function(te,fe){return L(te)&&(te=te.asMilliseconds()),H.bind(this)(te,fe)}}})})(Q6);var AP=Q6.exports;const SP=qs(AP);var X6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){var s="minute",a=/[+-]\d\d(?::?\d\d)?/g,r=/([+-]|\d\d)/g;return function(e,d,y){var _=d.prototype;y.utc=function(I){var G={date:I,utc:!0,args:arguments};return new d(G)},_.utc=function(I){var G=y(this.toDate(),{locale:this.$L,utc:!0});return I?G.add(this.utcOffset(),s):G},_.local=function(){return y(this.toDate(),{locale:this.$L,utc:!1})};var E=_.parse;_.parse=function(I){I.utc&&(this.$u=!0),this.$utils().u(I.$offset)||(this.$offset=I.$offset),E.call(this,I)};var x=_.init;_.init=function(){if(this.$u){var I=this.$d;this.$y=I.getUTCFullYear(),this.$M=I.getUTCMonth(),this.$D=I.getUTCDate(),this.$W=I.getUTCDay(),this.$H=I.getUTCHours(),this.$m=I.getUTCMinutes(),this.$s=I.getUTCSeconds(),this.$ms=I.getUTCMilliseconds()}else x.call(this)};var A=_.utcOffset;_.utcOffset=function(I,G){var z=this.$utils().u;if(z(I))return this.$u?0:z(this.$offset)?A.call(this):this.$offset;if(typeof I=="string"&&(I=function(V){V===void 0&&(V="");var Z=V.match(a);if(!Z)return null;var ie=(""+Z[0]).match(r)||["-",0,0],U=ie[0],H=60*+ie[1]+ +ie[2];return H===0?0:U==="+"?H:-H}(I),I===null))return this;var Q=Math.abs(I)<=16?60*I:I,ce=this;if(G)return ce.$offset=Q,ce.$u=I===0,ce;if(I!==0){var Y=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(ce=this.local().add(Q+Y,s)).$offset=Q,ce.$x.$localOffset=Y}else ce=this.utc();return ce};var R=_.format;_.format=function(I){var G=I||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return R.call(this,G)},_.valueOf=function(){var I=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*I},_.isUTC=function(){return!!this.$u},_.toISOString=function(){return this.toDate().toISOString()},_.toString=function(){return this.toDate().toUTCString()};var L=_.toDate;_.toDate=function(I){return I==="s"&&this.$offset?y(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():L.call(this)};var B=_.diff;_.diff=function(I,G,z){if(I&&this.$u===I.$u)return B.call(this,I,G,z);var Q=this.local(),ce=y(I).local();return B.call(Q,ce,G,z)}}})})(X6);var kP=X6.exports;const OP=qs(kP);var J6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){var s={year:0,month:1,day:2,hour:3,minute:4,second:5},a={};return function(r,e,d){var y,_=function(R,L,B){B===void 0&&(B={});var I=new Date(R),G=function(z,Q){Q===void 0&&(Q={});var ce=Q.timeZoneName||"short",Y=z+"|"+ce,V=a[Y];return V||(V=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:z,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:ce}),a[Y]=V),V}(L,B);return G.formatToParts(I)},E=function(R,L){for(var B=_(R,L),I=[],G=0;G<B.length;G+=1){var z=B[G],Q=z.type,ce=z.value,Y=s[Q];Y>=0&&(I[Y]=parseInt(ce,10))}var V=I[3],Z=V===24?0:V,ie=I[0]+"-"+I[1]+"-"+I[2]+" "+Z+":"+I[4]+":"+I[5]+":000",U=+R;return(d.utc(ie).valueOf()-(U-=U%1e3))/6e4},x=e.prototype;x.tz=function(R,L){R===void 0&&(R=y);var B=this.utcOffset(),I=this.toDate(),G=I.toLocaleString("en-US",{timeZone:R}),z=Math.round((I-new Date(G))/1e3/60),Q=d(G).$set("millisecond",this.$ms).utcOffset(15*-Math.round(I.getTimezoneOffset()/15)-z,!0);if(L){var ce=Q.utcOffset();Q=Q.add(B-ce,"minute")}return Q.$x.$timezone=R,Q},x.offsetName=function(R){var L=this.$x.$timezone||d.tz.guess(),B=_(this.valueOf(),L,{timeZoneName:R}).find(function(I){return I.type.toLowerCase()==="timezonename"});return B&&B.value};var A=x.startOf;x.startOf=function(R,L){if(!this.$x||!this.$x.$timezone)return A.call(this,R,L);var B=d(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return A.call(B,R,L).tz(this.$x.$timezone,!0)},d.tz=function(R,L,B){var I=B&&L,G=B||L||y,z=E(+d(),G);if(typeof R!="string")return d(R).tz(G);var Q=function(Z,ie,U){var H=Z-60*ie*1e3,te=E(H,U);if(ie===te)return[H,ie];var fe=E(H-=60*(te-ie)*1e3,U);return te===fe?[H,te]:[Z-60*Math.min(te,fe)*1e3,Math.max(te,fe)]}(d.utc(R,I).valueOf(),z,G),ce=Q[0],Y=Q[1],V=d(ce).utcOffset(Y);return V.$x.$timezone=G,V},d.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},d.tz.setDefault=function(R){y=R}}})})(J6);var RP=J6.exports;const PP=qs(RP);var Z6={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a){var r=a.prototype,e=r.format;r.format=function(d){var y=this,_=this.$locale();if(!this.isValid())return e.bind(this)(d);var E=this.$utils(),x=(d||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(A){switch(A){case"Q":return Math.ceil((y.$M+1)/3);case"Do":return _.ordinal(y.$D);case"gggg":return y.weekYear();case"GGGG":return y.isoWeekYear();case"wo":return _.ordinal(y.week(),"W");case"w":case"ww":return E.s(y.week(),A==="w"?1:2,"0");case"W":case"WW":return E.s(y.isoWeek(),A==="W"?1:2,"0");case"k":case"kk":return E.s(String(y.$H===0?24:y.$H),A==="k"?1:2,"0");case"X":return Math.floor(y.$d.getTime()/1e3);case"x":return y.$d.getTime();case"z":return"["+y.offsetName()+"]";case"zzz":return"["+y.offsetName("long")+"]";default:return A}});return e.bind(this)(x)}}})})(Z6);var IP=Z6.exports;const NP=qs(IP);var e5={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a){a.prototype.isSameOrBefore=function(r,e){return this.isSame(r,e)||this.isBefore(r,e)}}})})(e5);var MP=e5.exports;const LP=qs(MP);var t5={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a){a.prototype.isSameOrAfter=function(r,e){return this.isSame(r,e)||this.isAfter(r,e)}}})})(t5);var BP=t5.exports;const UP=qs(BP);var r5={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a,r){var e=function(d,y){if(!y||!y.length||!y[0]||y.length===1&&!y[0].length)return null;var _;y.length===1&&y[0].length>0&&(y=y[0]),_=y[0];for(var E=1;E<y.length;E+=1)y[E].isValid()&&!y[E][d](_)||(_=y[E]);return _};r.max=function(){var d=[].slice.call(arguments,0);return e("isAfter",d)},r.min=function(){var d=[].slice.call(arguments,0);return e("isBefore",d)}}})})(r5);var $P=r5.exports;const HP=qs($P);var n5={exports:{}};(function(t,i){(function(s,a){t.exports=a()})(hs,function(){return function(s,a,r){s=s||{};var e=a.prototype,d={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 y(E,x,A,R){return e.fromToBase(E,x,A,R)}r.en.relativeTime=d,e.fromToBase=function(E,x,A,R,L){for(var B,I,G,z=A.$locale().relativeTime||d,Q=s.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ce=Q.length,Y=0;Y<ce;Y+=1){var V=Q[Y];V.d&&(B=R?r(E).diff(A,V.d,!0):A.diff(E,V.d,!0));var Z=(s.rounding||Math.round)(Math.abs(B));if(G=B>0,Z<=V.r||!V.r){Z<=1&&Y>0&&(V=Q[Y-1]);var ie=z[V.l];L&&(Z=L(""+Z)),I=typeof ie=="string"?ie.replace("%d",Z):ie(Z,x,V.l,G);break}}if(x)return I;var U=G?z.future:z.past;return typeof U=="function"?U(I):U.replace("%s",I)},e.to=function(E,x){return y(E,x,this,!0)},e.from=function(E,x){return y(E,x,this)};var _=function(E){return E.$u?r.utc():r()};e.toNow=function(E){return this.to(_(this),E)},e.fromNow=function(E){return this.from(_(this),E)}}})})(n5);var WP=n5.exports;const zP=qs(WP);var A2={exports:{}};/**
31
31
  * @license
32
32
  * Lodash <https://lodash.com/>
33
33
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
@@ -267,8 +267,8 @@ License: MIT
267
267
  `});let a=1;const r=new Map,e=new Map;i.teams.forEach(d=>{let y=d.name;d.organization&&(y=`${d.organization} - ${y}`),d.members&&(y=`${y} - ${d.membersToString}`),s+=`@t ${a},0,1,${y}
268
268
  `,r.set(d.id,a),a++;{const _=new Map;i.contest.problems.forEach(E=>{_.set(E.id,0)}),e.set(d.id,_)}});for(let d=0;d<100;d++)s+=`@t ${a},0,1,Пополнить команду
269
269
  `,a++;return i.getSubmissions().forEach(d=>{var R;const y=d.teamId,_=d.problemId,E=i.contest.problemsMap.get(_),x=r.get(y);if(!E||!x)return;const A=this.submissionStatusToCodeforcesGymDatStatus(d.status);e.get(y).set(_,e.get(y).get(_)+1),s+=`@s ${x},${E.label},${(R=e.get(y))==null?void 0:R.get(_)},${d.timestampToSecond},${A}
270
- `}),s}submissionStatusToCodeforcesGymDatStatus(i){return D5(i)?"OK":i===$t.WRONG_ANSWER?"WA":i===$t.TIME_LIMIT_EXCEEDED?"TL":i===$t.MEMORY_LIMIT_EXCEEDED?"ML":i===$t.OUTPUT_LIMIT_EXCEEDED?"IL":i===$t.PRESENTATION_ERROR?"PE":i===$t.RUNTIME_ERROR?"RT":i===$t.COMPILATION_ERROR||F5(i)?"CE":E5(i)?"PD":"RJ"}}var Hc=(t=>(t.UNKNOWN="Unknown",t.GOLD="Gold",t.SILVER="Silver",t.BRONZE="Bronze",t.HONORABLE="Honorable",t))(Hc||{});class _d{constructor(){this.medalType="Unknown",this.minRank=0,this.maxRank=0}}function x5(t){return["Gold","Silver","Bronze","Honorable"].includes(t)}class oM{constructor(){}convert(i){const s=vf.cloneDeep(i);s.options.disableFilterTeamsByGroup(),s.options.disableFilterSubmissionByTimestamp();const a=pd.utils.book_new();for(const[r,e]of s.contest.group){s.options.setGroup(r),s.buildRank();const d=this.convertToSheet(s);pd.utils.book_append_sheet(a,d,e.names.get(e.defaultLang))}return a}convertAndWrite(i,s){return pd.writeFile(this.convert(i),s,{compression:!0})}convertToSheet(i){const s=this.convertToAoa(i),a=pd.utils.aoa_to_sheet(s),r=[],e=s[1];for(let E=0;E<e.length;E++){let x=10;for(let A=1;A<s.length;A++)x=Math.max(x,eI(s[A][E])+2);r.push({wch:x})}a["!cols"]=r;{const E={s:{r:0,c:0},e:{r:0,c:e.length-1}},x=[{s:E.s,e:E.e}];a["!merges"]=x}const d={name:"Arial Unicode MS",bold:!1,italic:!1,sz:12},y={style:"thin"},_={alignment:{vertical:"center",horizontal:"center"},border:{top:y,bottom:y,left:y,right:y},font:d};for(let E=1;E<s.length;E++)for(let x=0;x<s[E].length;x++){const A=pd.utils.encode_cell({r:E,c:x}),R=a[A];R.s=_}{const E=pd.utils.encode_cell({r:0,c:0}),x=a[E],A=vf.cloneDeep(_);A.font.sz=28,A.font.bold=!0,x.s=A}return a}convertToAoa(i){var d,y;const s=[],a=i.contest.isEnableAwards(i.options.group),r=(Array.isArray(i.teams)&&((d=i.teams[0])==null?void 0:d.members))??!1,e=((y=i.teams[0])==null?void 0:y.coach)??!1;s.push([i.contest.name]);{const _=[];_.push("Rank"),i.contest.organization&&(_.push(`${i.contest.organization} Rank`),_.push(i.contest.organization)),_.push("Team","Solved","Penalty",...i.contest.problems.map(E=>E.label),"Dirt"),a&&_.push("Medal"),r&&_.push("Member1","Member2","Member3"),e&&_.push("Coach"),_.push("Unofficial"),_.push("Girl"),s.push(_)}for(const _ of i.teams){const E=[];E.push(_.rank.toString()),_.organization&&(_.organizationRank!==-1?E.push(_.organizationRank.toString()):E.push(""),E.push(_.organization)),E.push(_.name,_.solvedProblemNum.toString(),_.penaltyToMinute.toString());for(const x of _.problemStatistics)x.isUnSubmitted&&E.push("-"),x.isSolved&&E.push(`+${x.totalCount}(${x.solvedTimestampToMinute})`),x.isWrongAnswer&&E.push(`-${x.failedCount}`),x.isPending&&E.push(`? ${x.failedCount} + ${x.pendingCount}`);if(E.push(`${_.dirt}%`),a){const x=_.awards.filter(A=>x5(A)).map(A=>A.toString());E.push(x.join(", "))}if(r){const x=_.members;Array.isArray(x)?(E.push(x[0]??""),E.push(x[1]??""),E.push(x[2]??"")):E.push("","","")}e&&(typeof _.coach=="string"?E.push(_.coach??""):E.push("")),E.push(_.isUnofficial?"Y":"N"),E.push(_.isGirl?"Y":"N"),s.push(E)}return s}}class lM{constructor(){}convert(i){var e;const s=vf.cloneDeep(i);s.options.disableFilterTeamsByGroup(),s.options.disableFilterSubmissionByTimestamp(),s.options.setGroup("official"),s.buildRank();const a=[];for(const d of s.teams){const y={teamId:d.icpcID??"",rank:d.rank,medalCitation:this.getMedalCitation(d),problemsSolved:d.solvedProblemNum,totalTime:d.penaltyToMinute,lastProblemTime:((e=d.lastSolvedProblemStatistics)==null?void 0:e.solvedTimestampToMinute)??0,siteCitation:s.contest.name,citation:sI(d.rank),teamName:d.name,institution:d.organization};a.push(y)}return rI.unparse(a)}getMedalCitation(i){if(i.solvedProblemNum===0)return"";const s=i.awards.filter(a=>x5(a)).map(a=>a.toString());if(s.length===1){const a=s[0];if(a==="Gold")return"Gold Medal";if(a==="Silver")return"Silver Medal";if(a==="Bronze")return"Bronze Medal";if(a==="Honorable")return"Honorable Mention"}return""}}function C5(t,i){return i===0?0:Math.floor((t-i)*100/t)}function T5(t){const[i,s,a]=oI(t).rgb();return(i*299+s*587+a*114)/1e3<=148?"#fff":"#000"}class DI{constructor(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}reset(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}get dirt(){return this.acceptedNum===0?0:C5(this.attemptedNum,this.acceptedNum)}calcSE(i){const s=(i-this.acceptedNum)/i;return this.se=Math.round(s*100)/100,this.se}}class dv{constructor(){this.id="",this.label="",this.name="",this.statistics=new DI,this.balloonColor={background_color:"#a0f0a0",color:"#000"}}}function EI(t){const i=new dv;return i.id=String(t.id),i.label=t.label,i.name=t.name??"",i.timeLimit=t.time_limit,i.memoryLimit=t.memory_limit,t.balloon_color&&(i.balloonColor=vf.cloneDeep(t.balloon_color)),i.balloonColor.color=T5(i.balloonColor.background_color),i}function FI(t){return t.map(i=>EI(i))}function xI(t,i){const s=t.map((a,r)=>{const e=new dv;return e.id=String(r),e.label=a,e});if(i!=null)for(const a in i)s[a].balloonColor=vf.cloneDeep(i[a]);return s.forEach(a=>{a.balloonColor.color=T5(a.balloonColor.background_color)}),s}class CI{constructor(i){var s,a,r,e,d,y,_,E,x,A,R,L;this.isFirstSolved=((s=i==null?void 0:i.teamProblemStatistics)==null?void 0:s.isFirstSolved)??!1,this.isSolved=((a=i==null?void 0:i.teamProblemStatistics)==null?void 0:a.isSolved)??!1,this.solvedTimestamp=((r=i==null?void 0:i.teamProblemStatistics)==null?void 0:r.solvedTimestamp)??0,this.isSubmitted=((e=i==null?void 0:i.teamProblemStatistics)==null?void 0:e.isSubmitted)??!1,this.lastSubmitTimestamp=((d=i==null?void 0:i.teamProblemStatistics)==null?void 0:d.lastSubmitTimestamp)??0,this.failedCount=((y=i==null?void 0:i.teamProblemStatistics)==null?void 0:y.failedCount)??0,this.pendingCount=((_=i==null?void 0:i.teamProblemStatistics)==null?void 0:_.pendingCount)??0,this.ignoreCount=((E=i==null?void 0:i.teamProblemStatistics)==null?void 0:E.ignoreCount)??0,this.totalCount=((x=i==null?void 0:i.teamProblemStatistics)==null?void 0:x.totalCount)??0,this.submissions=((A=i==null?void 0:i.teamProblemStatistics)==null?void 0:A.submissions)??[],this.problem=((R=i==null?void 0:i.teamProblemStatistics)==null?void 0:R.problem)??new dv,this.contestPenalty=((L=i==null?void 0:i.teamProblemStatistics)==null?void 0:L.contestPenalty)??20*60}get isAccepted(){return this.isSolved}get isWrongAnswer(){return!this.isSolved&&this.pendingCount===0&&this.failedCount>0}get isPending(){return!this.isSolved&&this.pendingCount>0}get isUnSubmitted(){return this.totalCount===0}get solvedTimestampToMinute(){return Math.floor(this.solvedTimestamp/60)}get penalty(){return this.isSolved===!1?0:this.solvedTimestampToMinute*60+this.failedCount*this.contestPenalty}get penaltyToMinute(){return Math.floor(this.penalty/60)}get penaltyInSecond(){return this.isSolved===!1?0:this.solvedTimestamp+this.failedCount*this.contestPenalty}}class Sp{constructor(){this.id="",this.name="",this.organization="",this.group=[],this.tag=[],this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemStatistics=null,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[],this.se=0}reset(){this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemStatistics=null,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[],this.se=0}get penaltyToMinute(){return Math.floor(this.penalty/60)}get isUnofficial(){return this.group.includes("unofficial")}get isGirl(){return this.group.includes("girl")}get membersToArray(){if(Array.isArray(this.members))return this.members;if(typeof this.members=="string"){if(this.members.includes(", "))return this.members.split(", ");if(this.members.includes("、"))return this.members.split("、")}return[]}get membersToString(){var i;return typeof this.members=="string"?this.members:(i=this.members)==null?void 0:i.join(", ")}get isEffectiveTeam(){return this.solvedProblemNum>0}get dirt(){const i=this.attemptedProblemNum,s=this.solvedProblemNum;return C5(i,s)}calcSE(i){let s=0,a=0;if(this.problemStatistics.forEach(e=>{e.isSolved&&(s+=1,a+=e.problem.statistics.acceptedNum)}),i===0||s===0)return 0;const r=(s*i-a)/i/s;return this.se=Math.round(r*100)/100,this.se}calcSolvedData(i){this.solvedProblemNum=0,this.attemptedProblemNum=0,this.penalty=0;for(const s of this.problemStatistics)s.isAccepted&&(this.solvedProblemNum++,this.attemptedProblemNum+=s.failedCount+1,(i==null?void 0:i.calculationOfPenalty)==="in_seconds"||(i==null?void 0:i.calculationOfPenalty)==="accumulate_in_seconds_and_finally_to_the_minute"?this.penalty+=s.penaltyInSecond:this.penalty+=s.penalty);(i==null?void 0:i.calculationOfPenalty)==="accumulate_in_seconds_and_finally_to_the_minute"&&(this.penalty=Math.floor(this.penalty/60)*60)}calcAwards(i){if(i)for(const s of i)this.rank>=s.minRank&&this.rank<=s.maxRank&&this.awards.push(s.medalType)}isEqualRank(i){return this.solvedProblemNum===i.solvedProblemNum&&this.penalty===i.penalty}postProcessPlaceChartPoints(){if(this.placeChartPoints.length===0)return;const i=[];i.push(this.placeChartPoints[0]);for(let s=1;s<this.placeChartPoints.length-1;s++){const a=this.placeChartPoints[s],r=i[i.length-1];(a.rank!==r.rank||a.lastSolvedProblem!==r.lastSolvedProblem)&&i.push(a)}this.placeChartPoints.length>1&&i.push(this.placeChartPoints[this.placeChartPoints.length-1]),this.placeChartPoints=i}static compare(i,s){return i.solvedProblemNum!==s.solvedProblemNum?s.solvedProblemNum-i.solvedProblemNum:i.penalty!==s.penalty?i.penalty-s.penalty:i.lastSolvedProblemStatistics&&s.lastSolvedProblemStatistics?i.lastSolvedProblemStatistics.solvedTimestampToMinute-s.lastSolvedProblemStatistics.solvedTimestampToMinute:i.name<s.name?-1:i.name>s.name?1:0}}function lD(t){const i=new Sp;i.id=t.id??t.team_id??"",i.name=t.name??t.team_name??"",i.organization=t.organization??"",i.badge=t.badge,i.group=t.group??[],i.tag=t.group??[],i.coach=t.coach,i.members=t.members,t.official&&i.group.push("official"),t.unofficial&&i.group.push("unofficial"),t.girl&&i.group.push("girl");{const s=t;for(const a of Object.keys(s))(s[a]===1||s[a]===!0)&&i.group.push(a)}return i.group=[...new Set(i.group)],i.group.sort(),t.location&&(i.location=t.location),t.icpc_id&&(i.icpcID=t.icpc_id),i}function cM(t){return Array.isArray(t)?t.map(i=>lD(i)):Object.entries(t).map(([s,a])=>lD({...a,team_id:a.team_id??s}))}class S2{constructor(){this.status=$t.UNKNOWN,this.isIgnore=!1,this.isSolved=!1,this.isFirstSolved=!1,this.id="",this.teamId="",this.problemId="",this.timestamp=0,this.timestampUnit="second"}isAccepted(){return D5(this.status)}isRejected(){return wI(this.status)}isPending(){return E5(this.status)}isNotCalculatedPenaltyStatus(){return F5(this.status)}get timestampToMinute(){return this.timestampUnit==="nanosecond"?Math.floor(this.timestamp/60/1e3/1e3/1e3):this.timestampUnit==="microsecond"?Math.floor(this.timestamp/60/1e3/1e3):this.timestampUnit==="millisecond"?Math.floor(this.timestamp/60/1e3):Math.floor(this.timestamp/60)}get timestampToSecond(){return this.timestampUnit==="nanosecond"?Math.floor(this.timestamp/1e3/1e3/1e3):this.timestampUnit==="microsecond"?Math.floor(this.timestamp/1e3/1e3):this.timestampUnit==="millisecond"?Math.floor(this.timestamp/1e3):this.timestamp}get timestampDisplayFormatWithSecond(){const i=this.timestampToSecond,s=Math.floor(i/3600),a=Math.floor(i%3600/60),r=i%60,e=y=>y.toString().padStart(2,"0");return`${e(s)}:${e(a)}:${e(r)}`}get timestampDisplayFormatWithMilliSecond(){let i=this.timestampDisplayFormatWithSecond;if(this.timestampUnit==="millisecond"){const s=(this.timestamp%1e3).toString().padEnd(3,"0");i+=`.${s}`}return i}static compare(i,s){if(i.timestamp!==s.timestamp)return i.timestamp-s.timestamp;if(i.teamId===s.teamId){if(i.isAccepted()&&!s.isAccepted())return-1;if(!i.isAccepted()&&s.isAccepted())return 1}return i.id<s.id?-1:i.id===s.id?0:1}}function cD(t){const i=new S2;return i.id=String(t.id??t.submission_id??""),i.teamId=String(t.team_id),i.problemId=String(t.problem_id),i.timestamp=t.timestamp,i.status=_I(t.status),i.isIgnore=t.is_ignore??!1,t.time&&(i.time=t.time),t.language&&(i.language=t.language),i}function uM(t){return Array.isArray(t)?t.map((i,s)=>cD({...i,id:i.submission_id??String(s)})):Object.entries(t).map(([s,a])=>cD({...a,id:a.submission_id??s}))}class TI{constructor(){this.problem=new dv,this.team=new Sp,this.submission=new S2}get key(){return`balloon-${this.team.id}-${this.problem.id}`}static compare(i,s){return S2.compare(i.submission,s.submission)}}var AI=(t=>(t[t.BLUE=0]="BLUE",t[t.RED=1]="RED",t))(AI||{});class zm{constructor(i=0){this.type=i,this.name=`${i===0?"Blue":"Red"} Team`,this.teams=[],this.filterOrganizations=[],this.filterOrganizationMap=new Map,this.filterTeams=[],this.filterTeamMap=new Map}setFilterOrganizations(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterOrganizations=i,this.filterOrganizationMap=s}setFilterTeams(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterTeams=i,this.filterTeamMap=s}refreshName(){return this.filterOrganizations.length>0?this.name=this.filterOrganizations[0].text:this.name=`${this.type===0?"Blue":"Red"} Team`,this.name}get totalSolvedProblemNum(){let i=0;return this.teams.forEach(s=>{i+=s.solvedProblemNum}),i}get totalPenalty(){let i=0;return this.teams.forEach(s=>{i+=s.penaltyToMinute}),i}get totalPenaltyToString(){const i=this.totalPenalty,s=e=>e<10?`0${e}`:String(e),a=Math.floor(i/60),r=Math.floor(i%60);return[s(a),s(r)].join(":")}toJSON(){return{type:this.type,name:this.name,filterOrganizations:this.filterOrganizations,filterTeams:this.filterTeams}}}class SI{constructor(){this.enable=!1,this.topX=5,this.equalTeams=!0,this.persist=!1,this.blueTeam=new zm(0),this.redTeam=new zm(1)}ToBase64(){return Kb.encode(JSON.stringify(this))}FromBase64(i){if(i.length===0||Kb.isValid(i)===!1)return;const s=JSON.parse(Kb.decode(i));this.enable=s.enable,this.topX=s.topX,this.equalTeams=s.equalTeams,this.persist=s.persist,this.blueTeam=new zm(0),this.blueTeam.name=s.blueTeam.name,this.blueTeam.setFilterOrganizations(s.blueTeam.filterOrganizations),this.blueTeam.setFilterTeams(s.blueTeam.filterTeams),this.redTeam=new zm(1),this.redTeam.name=s.redTeam.name,this.redTeam.setFilterOrganizations(s.redTeam.filterOrganizations),this.redTeam.setFilterTeams(s.redTeam.filterTeams)}}class uD{constructor(){this.names=new Map,this.defaultLang="zh-CN",this.isDefault=!1}}class A5{constructor(){this.calculationOfPenalty="in_minutes",this.submissionTimestampUnit="second",this.submissionHasTimeField=!1,this.submissionHasLanguageField=!1}}function kI(t={}){const i=t,s=new A5;return i.calculation_of_penalty&&(s.calculationOfPenalty=i.calculation_of_penalty),i.submission_timestamp_unit&&(s.submissionTimestampUnit=i.submission_timestamp_unit),s}class S5{constructor(){this.name="",this.startTime=da(),this.endTime=da(),this.freezeTime=da(),this.totalDurationTimestamp=0,this.freezeDurationTimestamp=0,this.unFreezeDurationTimestamp=0,this.penalty=20*60,this.problems=[],this.problemsMap=new Map,this.statusTimeDisplay={correct:!0,incorrect:!0,pending:!0},this.group=new Map,this.tag=new Map,this.options=new A5}getStartTime(){return this.replayStartTime??this.startTime}getEndTime(){return this.replayEndTime??this.endTime}getFreezeTime(){return this.replayFreezeTime??this.freezeTime}getContestDuration(i="HH:mm:ss"){return Gs.duration(this.getEndTime().diff(this.getStartTime())).format(i)}getContestState(i){const s=da(i);return s.isBefore(this.getStartTime())?dl.PENDING:s.isSameOrAfter(this.getEndTime())?dl.FINISHED:s.isSameOrAfter(this.getFreezeTime())?dl.FROZEN:dl.RUNNING}getContestPendingTime(i){let s=da(i);return s.isAfter(this.getStartTime())&&(s=this.getStartTime()),Jm(Math.floor(Gs.duration(this.getStartTime().diff(s)).asSeconds()))}getContestElapsedTime(i){let s=da(i);return s.isAfter(this.getEndTime())&&(s=this.getEndTime()),s.isBefore(this.getStartTime())&&(s=this.getStartTime()),Jm(Math.floor(Gs.duration(s.diff(this.getStartTime())).asSeconds()))}getContestRemainingTime(i){let s=da(i);return s.isAfter(this.getEndTime())&&(s=this.getEndTime()),s.isBefore(this.getStartTime())&&(s=this.getStartTime()),Jm(Math.floor(Gs.duration(this.getEndTime().diff(s)).asSeconds()))}getContestProgressRatio(i){const s=da(i);if(this.getStartTime().isSameOrAfter(s))return 0;if(this.getEndTime().isSameOrBefore(s))return 100;const a=this.getEndTime().diff(this.getStartTime(),"s"),r=s.diff(this.getStartTime(),"s");return Math.round(r*100/a)}isEnableAwards(i){return!(!this.awards||!this.awards.has(i))}resetReplayTime(){this.replayStartTime=void 0,this.replayEndTime=void 0,this.replayFreezeTime=void 0,this.replayNowTime=void 0,this.replayContestStartTimestamp=void 0}setReplayTime(i){if(i===0){this.resetReplayTime();return}const a=da(i).diff(this.startTime,"s");this.replayStartTime=this.startTime.add(a,"s"),this.replayEndTime=this.endTime.add(a,"s"),this.replayFreezeTime=this.freezeTime.add(a,"s"),this.replayNowTime=da(),this.replayContestStartTimestamp=this.replayNowTime.diff(this.replayStartTime,"s")}}function OI(t){const i=new S5;i.name=t.contest_name,i.startTime=da(t.start_time),i.endTime=da(t.end_time),i.totalDurationTimestamp=i.endTime.unix()-i.startTime.unix();{if(i.freezeTime=i.endTime,i.freezeDurationTimestamp=0,t.frozen_time!==void 0&&t.frozen_time!=null){const s=Number(t.frozen_time);i.freezeTime=da(i.endTime.unix()-s),i.freezeDurationTimestamp=s}t.freeze_time!==void 0&&t.freeze_time!==null&&(i.freezeTime=da(t.freeze_time),i.freezeDurationTimestamp=i.endTime.unix()-i.freezeTime.unix()),i.unFreezeDurationTimestamp=i.totalDurationTimestamp-i.freezeDurationTimestamp}i.penalty=t.penalty,t.problem_id!==void 0&&t.problem_id!==null&&(i.problems=xI(t.problem_id,t.balloon_color)),t.problems!==void 0&&t.problems!==null&&(i.problems=FI(t.problems)),i.problemsMap=new Map(i.problems.map(s=>[s.id,s])),t.status_time_display!==void 0&&t.status_time_display!==null&&(i.statusTimeDisplay={correct:!!(t.status_time_display.correct??!1),incorrect:!!(t.status_time_display.incorrect??!1),pending:!!(t.status_time_display.pending??!1)}),i.badge=t.badge,i.medal=t.medal,(()=>{if(!(t.medal===void 0||t.medal===null)&&(i.awards=new Map,typeof t.medal!="string"))for(const s in t.medal){const a=t.medal[s];{const r=[];let e=1;const d=(y,_)=>{if(Object.keys(a).includes(y)){const E=new _d;E.medalType=_,E.minRank=e,e+=Number(a[y]),E.maxRank=e-1,r.push(E)}};d("gold",Hc.GOLD),d("silver",Hc.SILVER),d("bronze",Hc.BRONZE);{const y=new _d;y.medalType=Hc.HONORABLE,y.minRank=e,y.maxRank=1061109567,r.push(y)}i.awards.set(s,r)}}})(),i.organization=t.organization;{const s=new uD;s.names.set("en","All"),s.names.set("zh-CN","所有队伍"),s.isDefault=!0,i.group.set("all",s)}for(const[s,a]of Object.entries((t==null?void 0:t.group)??{})){let r=s;const e=new uD;e.names.set("zh-CN",a),s==="official"&&e.names.set("en","Official"),s==="unofficial"&&e.names.set("en","Unofficial"),(s==="girl"||s==="girls")&&(e.names.set("en","Girls"),r="girl"),i.group.set(r,e)}return i.banner=t.banner,i.logo=t.logo,i.boardLink=t.board_link,t.options&&(i.options=kI(t.options)),i}class RI{constructor(){this.contest=new S5,this.boardLink=""}}function PI(t){const i=new RI,s=t.config;return i.contest=OI(s),i.boardLink=t.board_link,i}function II(t){const i=[],s=a=>{if(Object.prototype.hasOwnProperty.call(a,"config"))i.push(PI(a));else for(const r in a)s(a[r])};return s(t),i.sort((a,r)=>a.contest.startTime.isBefore(r.contest.startTime)?1:a.contest.startTime.isAfter(r.contest.startTime)?-1:a.contest.endTime.isBefore(r.contest.endTime)?1:a.contest.endTime.isAfter(r.contest.endTime)?-1:a.contest.name<r.contest.name?1:a.contest.name>r.contest.name?-1:0),i}function NI(t,i){return t!=null&&t.url?!i||t.url.startsWith("http")?t.url:`${i}/${t.url}`:t!=null&&t.base64?`data:image/${t.type??"png"};base64,${t.base64}`:""}class MI{constructor(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0,this.effectiveTeamNum=0,this.totalTeamNum=0}reset(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0,this.effectiveTeamNum=0,this.totalTeamNum=0}getTeamSolvedNumIndex(i){return this.teamSolvedNumIndex[i]??0}}class LI{constructor(){this.enableFilterSubmissionsByTimestamp=!1,this.width=0,this.timestamp=0,this.enableFilterTeamsByGroup=!1,this.group="all",this.filterOrganizations=[],this.filterOrganizationMap=new Map,this.filterTeams=[],this.filterTeamMap=new Map,this.enableAnimatedSubmissions=!1,this.battleOfGiants=new SI}setSelf(i){this.enableFilterSubmissionsByTimestamp=i.enableFilterSubmissionsByTimestamp,this.width=i.width,this.timestamp=i.timestamp,this.enableFilterTeamsByGroup=i.enableFilterTeamsByGroup,this.group=i.group,this.filterOrganizations=i.filterOrganizations,this.filterOrganizationMap=i.filterOrganizationMap,this.filterTeams=i.filterTeams,this.filterTeamMap=i.filterTeamMap,this.enableAnimatedSubmissions=i.enableAnimatedSubmissions,this.battleOfGiants=i.battleOfGiants}setWidth(i,s){this.width=i,this.timestamp=Math.floor((s.getEndTime().unix()-s.getStartTime().unix())*this.width*1e-4),this.enableFilterSubmissionsByTimestamp=!0}disableFilterSubmissionByTimestamp(){this.enableFilterSubmissionsByTimestamp=!1}setGroup(i){this.group=i,this.enableFilterTeamsByGroup=!0,this.group==="all"&&this.disableFilterTeamsByGroup()}disableFilterTeamsByGroup(){this.enableFilterTeamsByGroup=!1,this.group="all"}setFilterOrganizations(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterOrganizations=i,this.filterOrganizationMap=s}setFilterTeams(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterTeams=i,this.filterTeamMap=s}isNeedReBuildRank(i){return this.enableFilterSubmissionsByTimestamp!==i.enableFilterSubmissionsByTimestamp||this.width!==i.width||this.timestamp!==i.timestamp||this.enableFilterTeamsByGroup!==i.enableFilterTeamsByGroup||this.group!==i.group}}class fM{constructor(i,s,a){this.contest=i,this.teams=vf.cloneDeep(s),this.teamsMap=new Map(this.teams.map(r=>[r.id,r])),this.submissions=vf.cloneDeep(a).sort(S2.compare);{const r=this.contest.options,e=vf.cloneDeep(r.submissionTimestampUnit);this.submissions.forEach(d=>{d.timestampUnit=e,d.time&&(r.submissionHasTimeField=!0),d.language&&(r.submissionHasLanguageField=!0)})}this.submissionsMap=new Map(this.submissions.map(r=>[r.id,r])),this.organizations=this.buildOrganizations(),this.originTeams=this.teams.map(r=>r),this.originTeams.sort(Sp.compare),this.rankStatistics=new MI,this.options=new LI,this.balloons=[];{const r=new Set;this.submissions.forEach(e=>{e.language&&r.add(e.language)}),this.languages=[...r].sort()}{const r=new Set;this.submissions.forEach(e=>{r.add(e.status)}),this.statuses=[...r].sort()}}cleanRank(){(()=>{this.teams=[];for(const[i,s]of this.teamsMap)this.filterTeamByOrg(s)||this.teams.push(s)})();for(const i of this.teams)i.reset(),i.problemStatistics=this.contest.problems.map(s=>{const a=new CI;return a.problem=s,a.contestPenalty=this.contest.penalty,a}),i.problemStatisticsMap=new Map(i.problemStatistics.map(s=>[s.problem.id,s]));this.contest.problems.forEach(i=>{i.statistics.reset()})}buildRank(){return(()=>{this.cleanRank(),this.teams.forEach(a=>a.placeChartPoints.push({timePoint:0,rank:1,lastSolvedProblem:null})),this.rankStatistics.reset(),this.rankStatistics.teamSolvedNum=Array(this.contest.problems.length+1).fill(0),this.rankStatistics.teamSolvedNumIndex=Array(this.contest.problems.length+1).fill(0);let i=0;const s=this.getSubmissions();for(let a=0;a<s.length;a++){const r=s[a],e=r.teamId,d=r.problemId,y=this.teamsMap.get(e),_=this.contest.problemsMap.get(d);(()=>{if(y===void 0||this.filterTeamByOrg(y)||_===void 0)return;const E=y.problemStatisticsMap.get(d);if(E.submissions.push(r),y.submissions.push(r),_.statistics.submittedNum++,E.isSolved){r.isSolved=!1,r.isFirstSolved=!1;return}if(r.isIgnore||r.isNotCalculatedPenaltyStatus()){_.statistics.ignoreNum++,E.ignoreCount++;return}if(E.isSubmitted=!0,E.lastSubmitTimestamp=r.timestampToSecond,E.totalCount++,r.isAccepted()){for(r.isSolved=!0,E.isSolved=!0,E.solvedTimestamp=r.timestampToSecond,_.statistics.acceptedNum++,_.statistics.attemptedNum+=E.failedCount+1,(_.statistics.firstSolveSubmissions.length===0||_.statistics.firstSolveSubmissions[_.statistics.firstSolveSubmissions.length-1].timestamp===r.timestamp)&&(r.isFirstSolved=!0,E.isFirstSolved=!0,_.statistics.firstSolveSubmissions.push(r));_.statistics.lastSolveSubmissions.length>0;)_.statistics.lastSolveSubmissions.pop();_.statistics.lastSolveSubmissions.push(r),y.lastSolvedProblem=_,y.lastSolvedProblemStatistics=E}r.isRejected()&&(E.failedCount++,_.statistics.rejectedNum++),r.isPending()&&(E.pendingCount++,_.statistics.pendingNum++)})(),(r.timestampToMinute>i||a===s.length-1)&&(this.teams.forEach(E=>E.calcSolvedData(this.contest.options)),this.teams.sort(Sp.compare),this.buildTeamRank(),this.teams.forEach(E=>E.placeChartPoints.push({timePoint:r.timestampToMinute,rank:E.rank,lastSolvedProblem:E.lastSolvedProblem}))),i=r.timestampToMinute}this.teams.forEach(a=>a.calcSolvedData(this.contest.options)),this.teams.sort(Sp.compare),this.buildTeamRank(),this.buildOrgRank(),this.rankStatistics.effectiveTeamNum=this.teams.filter(a=>a.isEffectiveTeam).length,this.rankStatistics.totalTeamNum=this.teams.length,this.teams.forEach(a=>a.calcSE(this.rankStatistics.totalTeamNum)),this.contest.problems.forEach(a=>a.statistics.calcSE(this.rankStatistics.totalTeamNum)),this.buildAwards(),this.teams.forEach(a=>{var r;return a.calcAwards((r=this.contest.awards)==null?void 0:r.get(this.options.group))}),this.teams.forEach(a=>a.postProcessPlaceChartPoints())})(),(()=>{for(const i of this.teams)this.rankStatistics.teamSolvedNum[i.solvedProblemNum]++;{let i=0;const s=this.rankStatistics.teamSolvedNum,a=this.rankStatistics.teamSolvedNumIndex;for(let r=a.length-1;r>=0;r--)i+=s[r]>0?1:0,a[r]=i}this.teams.length>0&&(this.rankStatistics.maxSolvedProblems=this.teams[0].solvedProblemNum)})(),this}buildTeamRank(){let i=1,s=1,a=null;for(const r of this.teams)r.rank=i++,r.originalRank=s++,a!==null&&r.isEqualRank(a)&&(r.rank=a.rank),a=r}buildOrgRank(){if(!this.contest.organization)return;let i=1,s=null;const a=new Set;for(const r of this.teams){const e=r.organization;a.has(e)||(a.add(e),r.organizationRank=i++,s!==null&&r.isEqualRank(s)&&(r.organizationRank=s.organizationRank),s=r)}}buildOrganizations(){if(!this.contest.organization)return[];const i=new Array,s=new Set;return this.teams.forEach(a=>{const r=a.organization;s.has(r)||(i.push(r),s.add(r))}),i.sort(),i}buildAwards(){if(this.contest.medal==="ccpc"){this.contest.awards=new Map;const i=this.rankStatistics.effectiveTeamNum,s=[],a=new _d,r=new _d,e=new _d,d=new _d;a.medalType=Hc.GOLD,a.minRank=1,a.maxRank=Math.ceil(i*.1),a.maxRank>=a.minRank&&s.push(a),r.medalType=Hc.SILVER,r.minRank=a.maxRank+1,r.maxRank=Math.ceil(i*.3),r.maxRank>=r.minRank&&s.push(r),e.medalType=Hc.BRONZE,e.minRank=r.maxRank+1,e.maxRank=Math.ceil(i*.6),e.maxRank>=e.minRank&&s.push(e),d.medalType=Hc.HONORABLE,d.minRank=e.maxRank+1,this.teams.forEach(y=>{y.solvedProblemNum>0&&(d.maxRank=Math.max(d.maxRank,y.rank))}),d.maxRank>=d.minRank&&s.push(d),this.contest.awards.set("official",s)}}filterTeamByOrg(i){var a;const s=this.options;return!!(s.enableFilterTeamsByGroup&&!((a=i.group)!=null&&a.includes(s.group)))}getSubmissions(){return this.contest.replayContestStartTimestamp===void 0&&this.options.enableFilterSubmissionsByTimestamp===!1?this.submissions:this.submissions.filter(i=>!(this.contest.replayContestStartTimestamp!==void 0&&i.timestampToSecond>this.contest.replayContestStartTimestamp||this.options.enableFilterSubmissionsByTimestamp&&i.timestampToSecond>this.options.timestamp))}buildBalloons(){this.balloons=[],this.cleanRank();const i=this.getSubmissions();for(let s=0;s<i.length;s++){const a=i[s],r=a.teamId,e=a.problemId,d=this.teamsMap.get(r),y=this.contest.problemsMap.get(e);(()=>{if(d===void 0||y===void 0)return;const _=d.problemStatisticsMap.get(e);if(!_.isSolved&&a.isAccepted()){_.isSolved=!0,_.solvedTimestamp=a.timestampToSecond;const E=new TI;E.team=d,E.problem=y,E.submission=a,this.balloons.push(E)}})()}}setReplayTime(i){this.contest.setReplayTime(i)}}const BI=(...t)=>{const i=Cs().proxy.$props,s=Object.create(null);for(const a of t)if(typeof a=="string")s[a]=xw(i,a,void 0,{eventName:`update:${a}`,passive:!0});else{const[r,e=r,d=`update:${r}`,y={}]=a;s[r]=xw(i,e,void 0,{eventName:d,passive:!0,...y})}return s},UI={relative:""},$I=zt("span",{"i-carbon-close":"",ma:"",block:"","aria-hidden":"true"},null,-1),HI=[$I],WI=ds({__name:"SearchInput",props:{modelValue:null},emits:["update:modelValue"],setup(t,{expose:i}){const{modelValue:s}=BI("modelValue"),a=dr(),r={mounted:y=>y.focus()};function e(){var y;s.value=null,(y=a.value)==null||y.focus()}function d(){var y;(y=a.value)==null||y.focus()}return i({focus:d}),(y,_)=>{var E;return hn(),Yn("div",UI,[sE(zt("input",X2({ref_key:"inputEl",ref:a,"onUpdate:modelValue":_[0]||(_[0]=x=>Ln(s)?s.value=x:null),type:"text"},y.$attrs,{p:"x-4 y-2",text:"left",bg:"transparent",autocomplete:"off",w:"full",border:"~ rounded gray-300 dark:gray-500",outline:"none active:none","aria-label":"Search",placeholder:"Search..."}),null,16),[[$p,vr(s)],[r]]),(E=vr(s))!=null&&E.length?(hn(),Yn("button",{key:0,absolute:"",flex:"","right-2":"","w-10":"","top-2":"","bottom-2":"","text-xl":"",op30:"","hover:op90":"","aria-label":"Clear search",onClick:_[1]||(_[1]=x=>e())},HI)):so("",!0)])}}}),zI={},jI={class:"color-gray-700 dark:color-gray-200"},VI=zt("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1161",width:"30",height:"30"},[zt("path",{d:"M837.9904 570.0608H124.5696a29.0304 29.0304 0 0 1-29.0304-29.0304V482.9696a29.0304 29.0304 0 0 1 29.0304-29.0304h713.4208z",fill:"currentColor","p-id":"1162"}),zt("path",{d:"M561.3056 808.96l-40.96-40.96a28.928 28.928 0 0 1 0-40.96l215.04-215.04-215.04-215.04a28.9792 28.9792 0 0 1 0-40.96l40.96-40.96a28.9792 28.9792 0 0 1 40.96 0l296.96 296.96-296.96 296.96a28.9792 28.9792 0 0 1-40.96 0z",fill:"currentColor","p-id":"1163"})],-1),GI=[VI];function YI(t,i){return hn(),Yn("div",jI,GI)}const qI=qd(zI,[["render",YI]]),KI=ds({__name:"Progress",props:{width:null,state:null,needScroll:{type:Boolean},rank:null,rankOptions:null,elapsedTime:null},emits:["update:rank-options"],setup(t,{emit:i}){const s=t,a=mn({get(){return s.rankOptions},set(Y){i("update:rank-options",Y)}}),r=mn(()=>{switch(s.state){case dl.PENDING:return"am-progress-bar-secondary";case dl.RUNNING:return"am-progress-bar-success";case dl.FROZEN:return"am-progress-bar-danger";case dl.FINISHED:return"am-progress-bar-primary"}}),e=dr(!1),d=dr(!1),y=dr(0),_=dr(s.width),E=dr(0),x=q6("progress-ratio",-1,{transform:Number}),A=dr(null),R=dr(null),L=dr(null),B=dr(null),I=dr(null);function G(Y){d.value=!0;const V=Y.clientX-L.value.offsetLeft,Z=U=>{var Ee,ye;if(!d.value)return;e.value=!0;let H=U.clientX-V;H=Math.max(H,0),H=Math.min(H,A.value.offsetWidth-L.value.offsetWidth);const te=A.value.offsetWidth*Number.parseInt((Ee=R.value.style)==null?void 0:Ee.width)*.01;H>=te&&(H=te,e.value=!1);let fe=0;H>0&&(fe=Math.round((H+L.value.offsetWidth)/A.value.offsetWidth*1e4)),fe>1e4&&(fe=1e4),fe===1e4&&(e.value=!1),(ye=window.getSelection())==null||ye.removeAllRanges(),y.value=fe,E.value=H,_.value=fe*.01},ie=()=>{var U,H;document.removeEventListener("mouseup",ie),document.removeEventListener("mousemove",Z),d.value=!1,e.value===!0?(x.value=y.value,(U=a.value)==null||U.setWidth(y.value,s.rank.contest)):(x.value=void 0,(H=a.value)==null||H.disableFilterSubmissionByTimestamp())};document.addEventListener("mousemove",Z),document.addEventListener("mouseup",ie)}function z(){const Y=s.rank.contest.getStartTime(),V=s.rank.contest.getEndTime(),Z=V.unix()-Y.unix(),ie=Math.floor(Z*_.value*.01),U=da(),H=Math.max(0,Math.min(U.unix(),V.unix())-Y.unix());return Jm(Math.min(ie,H))}function Q(){return e.value===!0?z():s.elapsedTime}function ce(){return e.value===!0?`${Math.max(0,E.value)}px`:`max(calc(0%), min(calc(${s.width}%), calc(100% - 10px)))`}return yl(()=>{var Y,V;s.needScroll===!0&&(A.value.onmouseenter=()=>{B.value.classList.add("in")},A.value.onmouseleave=()=>{B.value.classList.remove("in")}),x.value!==-1?(e.value=!0,y.value=Math.max(0,Math.min(1e4,x.value)),_.value=y.value*.01,E.value=_.value*.01*A.value.offsetWidth-L.value.offsetWidth,(Y=a.value)==null||Y.setWidth(x.value,s.rank.contest)):(V=a.value)==null||V.disableFilterSubmissionByTimestamp()}),ch(()=>{}),(Y,V)=>(hn(),Yn("div",{ref_key:"scroll",ref:A,class:"am-progress am-progress-striped am-active","w-full":"",style:{position:"relative"}},[zt("div",{ref_key:"mask",ref:R,class:ma(["am-progress-bar",[vr(r)]]),style:gl({width:`${s.width}%`})},[s.needScroll?(hn(),Yn(Ni,{key:0},[zt("div",{ref_key:"tooltip",ref:B,class:"tooltip tooltip-top",style:gl({marginLeft:"-32px",bottom:"22px",left:ce()})},[zt("div",{ref_key:"tooltipInner",ref:I,class:"tooltip-inner"},rs(Q()),513)],4),zt("div",{ref_key:"bar",ref:L,class:ma(["am-progress-bar am-progress-cursor am-progress-scroll-size z-999",[vr(r)]]),style:gl({left:ce()}),onMousedown:G},null,38)],64)):so("",!0)],6)],512))}});const QI=qd(KI,[["__scopeId","data-v-20f092d3"]]),XI={flex:"","flex-row":"","items-center":"","justify-center":""},JI={key:0,"ml-2":""},ZI={key:1,"ml-2":""},eN=ds({__name:"ContestStateBadge",props:{state:null,pendingTime:null,pausedTime:null},setup(t){const i=t;return(s,a)=>(hn(),Yn("div",XI,[zt("div",{class:ma(["label",i.state])},null,2),zt("div",null,rs(i.state),1),i.pendingTime&&i.state===vr(dl).PENDING?(hn(),Yn("div",JI,rs(i.pendingTime),1)):so("",!0),i.pausedTime&&i.state===vr(dl).PAUSED?(hn(),Yn("div",ZI,rs(i.pausedTime),1)):so("",!0)]))}});const tN=qd(eN,[["__scopeId","data-v-68586c4d"]]);function rN(){const t={};return t.base64=String.raw`
270
+ `}),s}submissionStatusToCodeforcesGymDatStatus(i){return D5(i)?"OK":i===$t.WRONG_ANSWER?"WA":i===$t.TIME_LIMIT_EXCEEDED?"TL":i===$t.MEMORY_LIMIT_EXCEEDED?"ML":i===$t.OUTPUT_LIMIT_EXCEEDED?"IL":i===$t.PRESENTATION_ERROR?"PE":i===$t.RUNTIME_ERROR?"RT":i===$t.COMPILATION_ERROR||F5(i)?"CE":E5(i)?"PD":"RJ"}}var Hc=(t=>(t.UNKNOWN="Unknown",t.GOLD="Gold",t.SILVER="Silver",t.BRONZE="Bronze",t.HONORABLE="Honorable",t))(Hc||{});class _d{constructor(){this.medalType="Unknown",this.minRank=0,this.maxRank=0}}function x5(t){return["Gold","Silver","Bronze","Honorable"].includes(t)}class oM{constructor(){}convert(i){const s=vf.cloneDeep(i);s.options.disableFilterTeamsByGroup(),s.options.disableFilterSubmissionByTimestamp();const a=pd.utils.book_new();for(const[r,e]of s.contest.group){s.options.setGroup(r),s.buildRank();const d=this.convertToSheet(s);pd.utils.book_append_sheet(a,d,e.names.get(e.defaultLang))}return a}convertAndWrite(i,s){return pd.writeFile(this.convert(i),s,{compression:!0})}convertToSheet(i){const s=this.convertToAoa(i),a=pd.utils.aoa_to_sheet(s),r=[],e=s[1];for(let E=0;E<e.length;E++){let x=10;for(let A=1;A<s.length;A++)x=Math.max(x,eI(s[A][E])+2);r.push({wch:x})}a["!cols"]=r;{const E={s:{r:0,c:0},e:{r:0,c:e.length-1}},x=[{s:E.s,e:E.e}];a["!merges"]=x}const d={name:"Arial Unicode MS",bold:!1,italic:!1,sz:12},y={style:"thin"},_={alignment:{vertical:"center",horizontal:"center"},border:{top:y,bottom:y,left:y,right:y},font:d};for(let E=1;E<s.length;E++)for(let x=0;x<s[E].length;x++){const A=pd.utils.encode_cell({r:E,c:x}),R=a[A];R.s=_}{const E=pd.utils.encode_cell({r:0,c:0}),x=a[E],A=vf.cloneDeep(_);A.font.sz=28,A.font.bold=!0,x.s=A}return a}convertToAoa(i){var d,y;const s=[],a=i.contest.isEnableAwards(i.options.group),r=(Array.isArray(i.teams)&&((d=i.teams[0])==null?void 0:d.members))??!1,e=((y=i.teams[0])==null?void 0:y.coach)??!1;s.push([i.contest.name]);{const _=[];_.push("Rank"),i.contest.organization&&(_.push(`${i.contest.organization} Rank`),_.push(i.contest.organization)),_.push("Team","Solved","Penalty",...i.contest.problems.map(E=>E.label),"Dirt"),a&&_.push("Medal"),r&&_.push("Member1","Member2","Member3"),e&&_.push("Coach"),_.push("Unofficial"),_.push("Girl"),s.push(_)}for(const _ of i.teams){const E=[];E.push(_.rank.toString()),_.organization&&(_.organizationRank!==-1?E.push(_.organizationRank.toString()):E.push(""),E.push(_.organization)),E.push(_.name,_.solvedProblemNum.toString(),_.penaltyToMinute.toString());for(const x of _.problemStatistics)x.isUnSubmitted&&E.push("-"),x.isSolved&&E.push(`+${x.totalCount}(${x.solvedTimestampToMinute})`),x.isWrongAnswer&&E.push(`-${x.failedCount}`),x.isPending&&E.push(`? ${x.failedCount} + ${x.pendingCount}`);if(E.push(`${_.dirt}%`),a){const x=_.awards.filter(A=>x5(A)).map(A=>A.toString());E.push(x.join(", "))}if(r){const x=_.members;Array.isArray(x)?(E.push(x[0]??""),E.push(x[1]??""),E.push(x[2]??"")):E.push("","","")}e&&(typeof _.coach=="string"?E.push(_.coach??""):E.push("")),E.push(_.isUnofficial?"Y":"N"),E.push(_.isGirl?"Y":"N"),s.push(E)}return s}}class lM{constructor(){}convert(i){var e;const s=vf.cloneDeep(i);s.options.disableFilterTeamsByGroup(),s.options.disableFilterSubmissionByTimestamp(),s.options.setGroup("official"),s.buildRank();const a=[];for(const d of s.teams){const y={teamId:d.icpcID??"",rank:d.rank,medalCitation:this.getMedalCitation(d),problemsSolved:d.solvedProblemNum,totalTime:d.penaltyToMinute,lastProblemTime:((e=d.lastSolvedProblemStatistics)==null?void 0:e.solvedTimestampToMinute)??0,siteCitation:s.contest.name,citation:sI(d.rank),teamName:d.name,institution:d.organization};a.push(y)}return rI.unparse(a)}getMedalCitation(i){if(i.solvedProblemNum===0)return"";const s=i.awards.filter(a=>x5(a)).map(a=>a.toString());if(s.length===1){const a=s[0];if(a==="Gold")return"Gold Medal";if(a==="Silver")return"Silver Medal";if(a==="Bronze")return"Bronze Medal";if(a==="Honorable")return"Honorable Mention"}return""}}function C5(t,i){return i===0?0:Math.floor((t-i)*100/t)}function T5(t){const[i,s,a]=oI(t).rgb();return(i*299+s*587+a*114)/1e3<=148?"#fff":"#000"}class DI{constructor(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}reset(){this.acceptedNum=0,this.rejectedNum=0,this.pendingNum=0,this.submittedNum=0,this.attemptedNum=0,this.ignoreNum=0,this.se=0,this.firstSolveSubmissions=[],this.lastSolveSubmissions=[]}get dirt(){return this.acceptedNum===0?0:C5(this.attemptedNum,this.acceptedNum)}calcSE(i){const s=(i-this.acceptedNum)/i;return this.se=Math.round(s*100)/100,this.se}}class dv{constructor(){this.id="",this.label="",this.name="",this.statistics=new DI,this.balloonColor={background_color:"#a0f0a0",color:"#000"}}}function EI(t){const i=new dv;return i.id=String(t.id),i.label=t.label,i.name=t.name??"",i.timeLimit=t.time_limit,i.memoryLimit=t.memory_limit,t.balloon_color&&(i.balloonColor=vf.cloneDeep(t.balloon_color)),i.balloonColor.color=T5(i.balloonColor.background_color),i}function FI(t){return t.map(i=>EI(i))}function xI(t,i){const s=t.map((a,r)=>{const e=new dv;return e.id=String(r),e.label=a,e});if(i!=null)for(const a in i)s[a].balloonColor=vf.cloneDeep(i[a]);return s.forEach(a=>{a.balloonColor.color=T5(a.balloonColor.background_color)}),s}class CI{constructor(i){var s,a,r,e,d,y,_,E,x,A,R,L;this.isFirstSolved=((s=i==null?void 0:i.teamProblemStatistics)==null?void 0:s.isFirstSolved)??!1,this.isSolved=((a=i==null?void 0:i.teamProblemStatistics)==null?void 0:a.isSolved)??!1,this.solvedTimestamp=((r=i==null?void 0:i.teamProblemStatistics)==null?void 0:r.solvedTimestamp)??0,this.isSubmitted=((e=i==null?void 0:i.teamProblemStatistics)==null?void 0:e.isSubmitted)??!1,this.lastSubmitTimestamp=((d=i==null?void 0:i.teamProblemStatistics)==null?void 0:d.lastSubmitTimestamp)??0,this.failedCount=((y=i==null?void 0:i.teamProblemStatistics)==null?void 0:y.failedCount)??0,this.pendingCount=((_=i==null?void 0:i.teamProblemStatistics)==null?void 0:_.pendingCount)??0,this.ignoreCount=((E=i==null?void 0:i.teamProblemStatistics)==null?void 0:E.ignoreCount)??0,this.totalCount=((x=i==null?void 0:i.teamProblemStatistics)==null?void 0:x.totalCount)??0,this.submissions=((A=i==null?void 0:i.teamProblemStatistics)==null?void 0:A.submissions)??[],this.problem=((R=i==null?void 0:i.teamProblemStatistics)==null?void 0:R.problem)??new dv,this.contestPenalty=((L=i==null?void 0:i.teamProblemStatistics)==null?void 0:L.contestPenalty)??20*60}get isAccepted(){return this.isSolved}get isWrongAnswer(){return!this.isSolved&&this.pendingCount===0&&this.failedCount>0}get isPending(){return!this.isSolved&&this.pendingCount>0}get isUnSubmitted(){return this.totalCount===0}get solvedTimestampToMinute(){return Math.floor(this.solvedTimestamp/60)}get penalty(){return this.isSolved===!1?0:this.solvedTimestampToMinute*60+this.failedCount*this.contestPenalty}get penaltyToMinute(){return Math.floor(this.penalty/60)}get penaltyInSecond(){return this.isSolved===!1?0:this.solvedTimestamp+this.failedCount*this.contestPenalty}}class Sp{constructor(){this.id="",this.name="",this.organization="",this.group=[],this.tag=[],this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemStatistics=null,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[],this.se=0}reset(){this.rank=0,this.originalRank=0,this.organizationRank=-1,this.solvedProblemNum=0,this.attemptedProblemNum=0,this.lastSolvedProblem=null,this.lastSolvedProblemStatistics=null,this.penalty=0,this.problemStatistics=[],this.problemStatisticsMap=new Map,this.submissions=[],this.placeChartPoints=[],this.awards=[],this.se=0}get penaltyToMinute(){return Math.floor(this.penalty/60)}get isUnofficial(){return this.group.includes("unofficial")}get isGirl(){return this.group.includes("girl")}get membersToArray(){if(Array.isArray(this.members))return this.members;if(typeof this.members=="string"){if(this.members.includes(", "))return this.members.split(", ");if(this.members.includes("、"))return this.members.split("、")}return[]}get membersToString(){var i;return typeof this.members=="string"?this.members:(i=this.members)==null?void 0:i.join(", ")}get isEffectiveTeam(){return this.solvedProblemNum>0}get dirt(){const i=this.attemptedProblemNum,s=this.solvedProblemNum;return C5(i,s)}calcSE(i){let s=0,a=0;if(this.problemStatistics.forEach(e=>{e.isSolved&&(s+=1,a+=e.problem.statistics.acceptedNum)}),i===0||s===0)return 0;const r=(s*i-a)/i/s;return this.se=Math.round(r*100)/100,this.se}calcSolvedData(i){this.solvedProblemNum=0,this.attemptedProblemNum=0,this.penalty=0;for(const s of this.problemStatistics)s.isAccepted&&(this.solvedProblemNum++,this.attemptedProblemNum+=s.failedCount+1,(i==null?void 0:i.calculationOfPenalty)==="in_seconds"||(i==null?void 0:i.calculationOfPenalty)==="accumulate_in_seconds_and_finally_to_the_minute"?this.penalty+=s.penaltyInSecond:this.penalty+=s.penalty);(i==null?void 0:i.calculationOfPenalty)==="accumulate_in_seconds_and_finally_to_the_minute"&&(this.penalty=Math.floor(this.penalty/60)*60)}calcAwards(i){if(i)for(const s of i)this.rank>=s.minRank&&this.rank<=s.maxRank&&this.awards.push(s.medalType)}isEqualRank(i){return this.solvedProblemNum===i.solvedProblemNum&&this.penalty===i.penalty}postProcessPlaceChartPoints(){if(this.placeChartPoints.length===0)return;const i=[];i.push(this.placeChartPoints[0]);for(let s=1;s<this.placeChartPoints.length-1;s++){const a=this.placeChartPoints[s],r=i[i.length-1];(a.rank!==r.rank||a.lastSolvedProblem!==r.lastSolvedProblem)&&i.push(a)}this.placeChartPoints.length>1&&i.push(this.placeChartPoints[this.placeChartPoints.length-1]),this.placeChartPoints=i}static compare(i,s){return i.solvedProblemNum!==s.solvedProblemNum?s.solvedProblemNum-i.solvedProblemNum:i.penalty!==s.penalty?i.penalty-s.penalty:i.lastSolvedProblemStatistics&&s.lastSolvedProblemStatistics?i.lastSolvedProblemStatistics.solvedTimestampToMinute-s.lastSolvedProblemStatistics.solvedTimestampToMinute:i.name<s.name?-1:i.name>s.name?1:0}}function lD(t){const i=new Sp;i.id=t.id??t.team_id??"",i.name=t.name??t.team_name??"",i.organization=t.organization??"",i.badge=t.badge,i.group=t.group??[],i.tag=t.group??[],i.coach=t.coach,i.members=t.members,t.official&&i.group.push("official"),t.unofficial&&i.group.push("unofficial"),t.girl&&i.group.push("girl");{const s=t;for(const a of Object.keys(s))(s[a]===1||s[a]===!0)&&i.group.push(a)}return i.group=[...new Set(i.group)],i.group.sort(),t.location&&(i.location=t.location),t.icpc_id&&(i.icpcID=t.icpc_id),i}function cM(t){return Array.isArray(t)?t.map(i=>lD(i)):Object.entries(t).map(([s,a])=>lD({...a,team_id:a.team_id??s}))}class S2{constructor(){this.status=$t.UNKNOWN,this.isIgnore=!1,this.isSolved=!1,this.isFirstSolved=!1,this.id="",this.teamId="",this.problemId="",this.timestamp=0,this.timestampUnit="second"}isAccepted(){return D5(this.status)}isRejected(){return wI(this.status)}isPending(){return E5(this.status)}isNotCalculatedPenaltyStatus(){return F5(this.status)}get timestampToMinute(){return this.timestampUnit==="nanosecond"?Math.floor(this.timestamp/60/1e3/1e3/1e3):this.timestampUnit==="microsecond"?Math.floor(this.timestamp/60/1e3/1e3):this.timestampUnit==="millisecond"?Math.floor(this.timestamp/60/1e3):Math.floor(this.timestamp/60)}get timestampToSecond(){return this.timestampUnit==="nanosecond"?Math.floor(this.timestamp/1e3/1e3/1e3):this.timestampUnit==="microsecond"?Math.floor(this.timestamp/1e3/1e3):this.timestampUnit==="millisecond"?Math.floor(this.timestamp/1e3):this.timestamp}get timestampDisplayFormatWithSecond(){const i=this.timestampToSecond,s=Math.floor(i/3600),a=Math.floor(i%3600/60),r=i%60,e=y=>y.toString().padStart(2,"0");return`${e(s)}:${e(a)}:${e(r)}`}get timestampDisplayFormatWithMilliSecond(){let i=this.timestampDisplayFormatWithSecond;if(this.timestampUnit==="millisecond"){const s=(this.timestamp%1e3).toString().padEnd(3,"0");i+=`.${s}`}return i}static compare(i,s){if(i.timestamp!==s.timestamp)return i.timestamp-s.timestamp;if(i.teamId===s.teamId){if(i.isAccepted()&&!s.isAccepted())return-1;if(!i.isAccepted()&&s.isAccepted())return 1}return i.id<s.id?-1:i.id===s.id?0:1}}function cD(t){const i=new S2;return i.id=String(t.id??t.submission_id??""),i.teamId=String(t.team_id),i.problemId=String(t.problem_id),i.timestamp=t.timestamp,i.status=_I(t.status),i.isIgnore=t.is_ignore??!1,t.time&&(i.time=t.time),t.language&&(i.language=t.language),i}function uM(t){return Array.isArray(t)?t.map((i,s)=>cD({...i,id:i.submission_id??String(s)})):Object.entries(t).map(([s,a])=>cD({...a,id:a.submission_id??s}))}class TI{constructor(){this.problem=new dv,this.team=new Sp,this.submission=new S2}get key(){return`balloon-${this.team.id}-${this.problem.id}`}static compare(i,s){return S2.compare(i.submission,s.submission)}}var AI=(t=>(t[t.BLUE=0]="BLUE",t[t.RED=1]="RED",t))(AI||{});class zm{constructor(i=0){this.type=i,this.name=`${i===0?"Blue":"Red"} Team`,this.teams=[],this.filterOrganizations=[],this.filterOrganizationMap=new Map,this.filterTeams=[],this.filterTeamMap=new Map}setFilterOrganizations(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterOrganizations=i,this.filterOrganizationMap=s}setFilterTeams(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterTeams=i,this.filterTeamMap=s}refreshName(){return this.filterOrganizations.length>0?this.name=this.filterOrganizations[0].text:this.name=`${this.type===0?"Blue":"Red"} Team`,this.name}get totalSolvedProblemNum(){let i=0;return this.teams.forEach(s=>{i+=s.solvedProblemNum}),i}get totalPenalty(){let i=0;return this.teams.forEach(s=>{i+=s.penaltyToMinute}),i}get totalPenaltyToString(){const i=this.totalPenalty,s=e=>e<10?`0${e}`:String(e),a=Math.floor(i/60),r=Math.floor(i%60);return[s(a),s(r)].join(":")}toJSON(){return{type:this.type,name:this.name,filterOrganizations:this.filterOrganizations,filterTeams:this.filterTeams}}}class SI{constructor(){this.enable=!1,this.topX=5,this.equalTeams=!0,this.persist=!1,this.blueTeam=new zm(0),this.redTeam=new zm(1)}ToBase64(){return Kb.encode(JSON.stringify(this))}FromBase64(i){if(i.length===0||Kb.isValid(i)===!1)return;const s=JSON.parse(Kb.decode(i));this.enable=s.enable,this.topX=s.topX,this.equalTeams=s.equalTeams,this.persist=s.persist,this.blueTeam=new zm(0),this.blueTeam.name=s.blueTeam.name,this.blueTeam.setFilterOrganizations(s.blueTeam.filterOrganizations),this.blueTeam.setFilterTeams(s.blueTeam.filterTeams),this.redTeam=new zm(1),this.redTeam.name=s.redTeam.name,this.redTeam.setFilterOrganizations(s.redTeam.filterOrganizations),this.redTeam.setFilterTeams(s.redTeam.filterTeams)}}class uD{constructor(){this.names=new Map,this.defaultLang="zh-CN",this.isDefault=!1}}class A5{constructor(){this.calculationOfPenalty="in_minutes",this.submissionTimestampUnit="second",this.submissionHasTimeField=!1,this.submissionHasLanguageField=!1}}function kI(t={}){const i=t,s=new A5;return i.calculation_of_penalty&&(s.calculationOfPenalty=i.calculation_of_penalty),i.submission_timestamp_unit&&(s.submissionTimestampUnit=i.submission_timestamp_unit),s}class S5{constructor(){this.name="",this.startTime=da(),this.endTime=da(),this.freezeTime=da(),this.totalDurationTimestamp=0,this.freezeDurationTimestamp=0,this.unFreezeDurationTimestamp=0,this.penalty=20*60,this.problems=[],this.problemsMap=new Map,this.statusTimeDisplay={correct:!0,incorrect:!0,pending:!0},this.group=new Map,this.tag=new Map,this.options=new A5}getStartTime(){return this.replayStartTime??this.startTime}getEndTime(){return this.replayEndTime??this.endTime}getFreezeTime(){return this.replayFreezeTime??this.freezeTime}getContestDuration(i="HH:mm:ss"){return Gs.duration(this.getEndTime().diff(this.getStartTime())).format(i)}getContestState(i){const s=da(i);return s.isBefore(this.getStartTime())?dl.PENDING:s.isSameOrAfter(this.getEndTime())?dl.FINISHED:s.isSameOrAfter(this.getFreezeTime())?dl.FROZEN:dl.RUNNING}getContestPendingTime(i){let s=da(i);return s.isAfter(this.getStartTime())&&(s=this.getStartTime()),Jm(Math.floor(Gs.duration(this.getStartTime().diff(s)).asSeconds()))}getContestElapsedTime(i){let s=da(i);return s.isAfter(this.getEndTime())&&(s=this.getEndTime()),s.isBefore(this.getStartTime())&&(s=this.getStartTime()),Jm(Math.floor(Gs.duration(s.diff(this.getStartTime())).asSeconds()))}getContestRemainingTime(i){let s=da(i);return s.isAfter(this.getEndTime())&&(s=this.getEndTime()),s.isBefore(this.getStartTime())&&(s=this.getStartTime()),Jm(Math.floor(Gs.duration(this.getEndTime().diff(s)).asSeconds()))}getContestProgressRatio(i){const s=da(i);if(this.getStartTime().isSameOrAfter(s))return 0;if(this.getEndTime().isSameOrBefore(s))return 100;const a=this.getEndTime().diff(this.getStartTime(),"s"),r=s.diff(this.getStartTime(),"s");return Math.round(r*100/a)}isEnableAwards(i){return!(!this.awards||!this.awards.has(i))}resetReplayTime(){this.replayStartTime=void 0,this.replayEndTime=void 0,this.replayFreezeTime=void 0,this.replayNowTime=void 0,this.replayContestStartTimestamp=void 0}setReplayTime(i){if(i===0){this.resetReplayTime();return}const a=da(i).diff(this.startTime,"s");this.replayStartTime=this.startTime.add(a,"s"),this.replayEndTime=this.endTime.add(a,"s"),this.replayFreezeTime=this.freezeTime.add(a,"s"),this.replayNowTime=da(),this.replayContestStartTimestamp=this.replayNowTime.diff(this.replayStartTime,"s")}}function OI(t){const i=new S5;i.name=t.contest_name,i.startTime=da(t.start_time),i.endTime=da(t.end_time),i.totalDurationTimestamp=i.endTime.unix()-i.startTime.unix();{if(i.freezeTime=i.endTime,i.freezeDurationTimestamp=0,t.frozen_time!==void 0&&t.frozen_time!=null){const s=Number(t.frozen_time);i.freezeTime=da(i.endTime.unix()-s),i.freezeDurationTimestamp=s}t.freeze_time!==void 0&&t.freeze_time!==null&&(i.freezeTime=da(t.freeze_time),i.freezeDurationTimestamp=i.endTime.unix()-i.freezeTime.unix()),i.unFreezeDurationTimestamp=i.totalDurationTimestamp-i.freezeDurationTimestamp}i.penalty=t.penalty,t.problem_id!==void 0&&t.problem_id!==null&&(i.problems=xI(t.problem_id,t.balloon_color)),t.problems!==void 0&&t.problems!==null&&(i.problems=FI(t.problems)),i.problemsMap=new Map(i.problems.map(s=>[s.id,s])),t.status_time_display!==void 0&&t.status_time_display!==null&&(i.statusTimeDisplay={correct:!!(t.status_time_display.correct??!1),incorrect:!!(t.status_time_display.incorrect??!1),pending:!!(t.status_time_display.pending??!1)}),i.badge=t.badge,i.medal=t.medal,(()=>{if(!(t.medal===void 0||t.medal===null)&&(i.awards=new Map,typeof t.medal!="string"))for(const s in t.medal){const a=t.medal[s];{const r=[];let e=1;const d=(y,_)=>{if(Object.keys(a).includes(y)){const E=new _d;E.medalType=_,E.minRank=e,e+=Number(a[y]),E.maxRank=e-1,r.push(E)}};d("gold",Hc.GOLD),d("silver",Hc.SILVER),d("bronze",Hc.BRONZE);{const y=new _d;y.medalType=Hc.HONORABLE,y.minRank=e,y.maxRank=1061109567,r.push(y)}i.awards.set(s,r)}}})(),i.organization=t.organization;{const s=new uD;s.names.set("en","All"),s.names.set("zh-CN","所有队伍"),s.isDefault=!0,i.group.set("all",s)}for(const[s,a]of Object.entries((t==null?void 0:t.group)??{})){let r=s;const e=new uD;e.names.set("zh-CN",a),s==="official"&&e.names.set("en","Official"),s==="unofficial"&&e.names.set("en","Unofficial"),(s==="girl"||s==="girls")&&(e.names.set("en","Girls"),r="girl"),i.group.set(r,e)}return i.banner=t.banner,i.banner&&(i.bannerMode=t.banner_mode??"ALL"),i.logo=t.logo,i.boardLink=t.board_link,t.options&&(i.options=kI(t.options)),i}class RI{constructor(){this.contest=new S5,this.boardLink=""}}function PI(t){const i=new RI,s=t.config;return i.contest=OI(s),i.boardLink=t.board_link,i}function II(t){const i=[],s=a=>{if(Object.prototype.hasOwnProperty.call(a,"config"))i.push(PI(a));else for(const r in a)s(a[r])};return s(t),i.sort((a,r)=>a.contest.startTime.isBefore(r.contest.startTime)?1:a.contest.startTime.isAfter(r.contest.startTime)?-1:a.contest.endTime.isBefore(r.contest.endTime)?1:a.contest.endTime.isAfter(r.contest.endTime)?-1:a.contest.name<r.contest.name?1:a.contest.name>r.contest.name?-1:0),i}function NI(t,i){return t!=null&&t.url?!i||t.url.startsWith("http")?t.url:`${i}/${t.url}`:t!=null&&t.base64?`data:image/${t.type??"png"};base64,${t.base64}`:""}class MI{constructor(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0,this.effectiveTeamNum=0,this.totalTeamNum=0}reset(){this.teamSolvedNum=[],this.teamSolvedNumIndex=[],this.maxSolvedProblems=0,this.effectiveTeamNum=0,this.totalTeamNum=0}getTeamSolvedNumIndex(i){return this.teamSolvedNumIndex[i]??0}}class LI{constructor(){this.enableFilterSubmissionsByTimestamp=!1,this.width=0,this.timestamp=0,this.enableFilterTeamsByGroup=!1,this.group="all",this.filterOrganizations=[],this.filterOrganizationMap=new Map,this.filterTeams=[],this.filterTeamMap=new Map,this.enableAnimatedSubmissions=!1,this.battleOfGiants=new SI}setSelf(i){this.enableFilterSubmissionsByTimestamp=i.enableFilterSubmissionsByTimestamp,this.width=i.width,this.timestamp=i.timestamp,this.enableFilterTeamsByGroup=i.enableFilterTeamsByGroup,this.group=i.group,this.filterOrganizations=i.filterOrganizations,this.filterOrganizationMap=i.filterOrganizationMap,this.filterTeams=i.filterTeams,this.filterTeamMap=i.filterTeamMap,this.enableAnimatedSubmissions=i.enableAnimatedSubmissions,this.battleOfGiants=i.battleOfGiants}setWidth(i,s){this.width=i,this.timestamp=Math.floor((s.getEndTime().unix()-s.getStartTime().unix())*this.width*1e-4),this.enableFilterSubmissionsByTimestamp=!0}disableFilterSubmissionByTimestamp(){this.enableFilterSubmissionsByTimestamp=!1}setGroup(i){this.group=i,this.enableFilterTeamsByGroup=!0,this.group==="all"&&this.disableFilterTeamsByGroup()}disableFilterTeamsByGroup(){this.enableFilterTeamsByGroup=!1,this.group="all"}setFilterOrganizations(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterOrganizations=i,this.filterOrganizationMap=s}setFilterTeams(i){const s=new Map;i.forEach(a=>{s.set(a.value,a)}),this.filterTeams=i,this.filterTeamMap=s}isNeedReBuildRank(i){return this.enableFilterSubmissionsByTimestamp!==i.enableFilterSubmissionsByTimestamp||this.width!==i.width||this.timestamp!==i.timestamp||this.enableFilterTeamsByGroup!==i.enableFilterTeamsByGroup||this.group!==i.group}}class fM{constructor(i,s,a){this.contest=i,this.teams=vf.cloneDeep(s),this.teamsMap=new Map(this.teams.map(r=>[r.id,r])),this.submissions=vf.cloneDeep(a).sort(S2.compare);{const r=this.contest.options,e=vf.cloneDeep(r.submissionTimestampUnit);this.submissions.forEach(d=>{d.timestampUnit=e,d.time&&(r.submissionHasTimeField=!0),d.language&&(r.submissionHasLanguageField=!0)})}this.submissionsMap=new Map(this.submissions.map(r=>[r.id,r])),this.organizations=this.buildOrganizations(),this.originTeams=this.teams.map(r=>r),this.originTeams.sort(Sp.compare),this.rankStatistics=new MI,this.options=new LI,this.balloons=[];{const r=new Set;this.submissions.forEach(e=>{e.language&&r.add(e.language)}),this.languages=[...r].sort()}{const r=new Set;this.submissions.forEach(e=>{r.add(e.status)}),this.statuses=[...r].sort()}}cleanRank(){(()=>{this.teams=[];for(const[i,s]of this.teamsMap)this.filterTeamByOrg(s)||this.teams.push(s)})();for(const i of this.teams)i.reset(),i.problemStatistics=this.contest.problems.map(s=>{const a=new CI;return a.problem=s,a.contestPenalty=this.contest.penalty,a}),i.problemStatisticsMap=new Map(i.problemStatistics.map(s=>[s.problem.id,s]));this.contest.problems.forEach(i=>{i.statistics.reset()})}buildRank(){return(()=>{this.cleanRank(),this.teams.forEach(a=>a.placeChartPoints.push({timePoint:0,rank:1,lastSolvedProblem:null})),this.rankStatistics.reset(),this.rankStatistics.teamSolvedNum=Array(this.contest.problems.length+1).fill(0),this.rankStatistics.teamSolvedNumIndex=Array(this.contest.problems.length+1).fill(0);let i=0;const s=this.getSubmissions();for(let a=0;a<s.length;a++){const r=s[a],e=r.teamId,d=r.problemId,y=this.teamsMap.get(e),_=this.contest.problemsMap.get(d);(()=>{if(y===void 0||this.filterTeamByOrg(y)||_===void 0)return;const E=y.problemStatisticsMap.get(d);if(E.submissions.push(r),y.submissions.push(r),_.statistics.submittedNum++,E.isSolved){r.isSolved=!1,r.isFirstSolved=!1;return}if(r.isIgnore||r.isNotCalculatedPenaltyStatus()){_.statistics.ignoreNum++,E.ignoreCount++;return}if(E.isSubmitted=!0,E.lastSubmitTimestamp=r.timestampToSecond,E.totalCount++,r.isAccepted()){for(r.isSolved=!0,E.isSolved=!0,E.solvedTimestamp=r.timestampToSecond,_.statistics.acceptedNum++,_.statistics.attemptedNum+=E.failedCount+1,(_.statistics.firstSolveSubmissions.length===0||_.statistics.firstSolveSubmissions[_.statistics.firstSolveSubmissions.length-1].timestamp===r.timestamp)&&(r.isFirstSolved=!0,E.isFirstSolved=!0,_.statistics.firstSolveSubmissions.push(r));_.statistics.lastSolveSubmissions.length>0;)_.statistics.lastSolveSubmissions.pop();_.statistics.lastSolveSubmissions.push(r),y.lastSolvedProblem=_,y.lastSolvedProblemStatistics=E}r.isRejected()&&(E.failedCount++,_.statistics.rejectedNum++),r.isPending()&&(E.pendingCount++,_.statistics.pendingNum++)})(),(r.timestampToMinute>i||a===s.length-1)&&(this.teams.forEach(E=>E.calcSolvedData(this.contest.options)),this.teams.sort(Sp.compare),this.buildTeamRank(),this.teams.forEach(E=>E.placeChartPoints.push({timePoint:r.timestampToMinute,rank:E.rank,lastSolvedProblem:E.lastSolvedProblem}))),i=r.timestampToMinute}this.teams.forEach(a=>a.calcSolvedData(this.contest.options)),this.teams.sort(Sp.compare),this.buildTeamRank(),this.buildOrgRank(),this.rankStatistics.effectiveTeamNum=this.teams.filter(a=>a.isEffectiveTeam).length,this.rankStatistics.totalTeamNum=this.teams.length,this.teams.forEach(a=>a.calcSE(this.rankStatistics.totalTeamNum)),this.contest.problems.forEach(a=>a.statistics.calcSE(this.rankStatistics.totalTeamNum)),this.buildAwards(),this.teams.forEach(a=>{var r;return a.calcAwards((r=this.contest.awards)==null?void 0:r.get(this.options.group))}),this.teams.forEach(a=>a.postProcessPlaceChartPoints())})(),(()=>{for(const i of this.teams)this.rankStatistics.teamSolvedNum[i.solvedProblemNum]++;{let i=0;const s=this.rankStatistics.teamSolvedNum,a=this.rankStatistics.teamSolvedNumIndex;for(let r=a.length-1;r>=0;r--)i+=s[r]>0?1:0,a[r]=i}this.teams.length>0&&(this.rankStatistics.maxSolvedProblems=this.teams[0].solvedProblemNum)})(),this}buildTeamRank(){let i=1,s=1,a=null;for(const r of this.teams)r.rank=i++,r.originalRank=s++,a!==null&&r.isEqualRank(a)&&(r.rank=a.rank),a=r}buildOrgRank(){if(!this.contest.organization)return;let i=1,s=null;const a=new Set;for(const r of this.teams){const e=r.organization;a.has(e)||(a.add(e),r.organizationRank=i++,s!==null&&r.isEqualRank(s)&&(r.organizationRank=s.organizationRank),s=r)}}buildOrganizations(){if(!this.contest.organization)return[];const i=new Array,s=new Set;return this.teams.forEach(a=>{const r=a.organization;s.has(r)||(i.push(r),s.add(r))}),i.sort(),i}buildAwards(){if(this.contest.medal==="ccpc"){this.contest.awards=new Map;const i=this.rankStatistics.effectiveTeamNum,s=[],a=new _d,r=new _d,e=new _d,d=new _d;a.medalType=Hc.GOLD,a.minRank=1,a.maxRank=Math.ceil(i*.1),a.maxRank>=a.minRank&&s.push(a),r.medalType=Hc.SILVER,r.minRank=a.maxRank+1,r.maxRank=Math.ceil(i*.3),r.maxRank>=r.minRank&&s.push(r),e.medalType=Hc.BRONZE,e.minRank=r.maxRank+1,e.maxRank=Math.ceil(i*.6),e.maxRank>=e.minRank&&s.push(e),d.medalType=Hc.HONORABLE,d.minRank=e.maxRank+1,this.teams.forEach(y=>{y.solvedProblemNum>0&&(d.maxRank=Math.max(d.maxRank,y.rank))}),d.maxRank>=d.minRank&&s.push(d),this.contest.awards.set("official",s)}}filterTeamByOrg(i){var a;const s=this.options;return!!(s.enableFilterTeamsByGroup&&!((a=i.group)!=null&&a.includes(s.group)))}getSubmissions(){return this.contest.replayContestStartTimestamp===void 0&&this.options.enableFilterSubmissionsByTimestamp===!1?this.submissions:this.submissions.filter(i=>!(this.contest.replayContestStartTimestamp!==void 0&&i.timestampToSecond>this.contest.replayContestStartTimestamp||this.options.enableFilterSubmissionsByTimestamp&&i.timestampToSecond>this.options.timestamp))}buildBalloons(){this.balloons=[],this.cleanRank();const i=this.getSubmissions();for(let s=0;s<i.length;s++){const a=i[s],r=a.teamId,e=a.problemId,d=this.teamsMap.get(r),y=this.contest.problemsMap.get(e);(()=>{if(d===void 0||y===void 0)return;const _=d.problemStatisticsMap.get(e);if(!_.isSolved&&a.isAccepted()){_.isSolved=!0,_.solvedTimestamp=a.timestampToSecond;const E=new TI;E.team=d,E.problem=y,E.submission=a,this.balloons.push(E)}})()}}setReplayTime(i){this.contest.setReplayTime(i)}}const BI=(...t)=>{const i=Cs().proxy.$props,s=Object.create(null);for(const a of t)if(typeof a=="string")s[a]=xw(i,a,void 0,{eventName:`update:${a}`,passive:!0});else{const[r,e=r,d=`update:${r}`,y={}]=a;s[r]=xw(i,e,void 0,{eventName:d,passive:!0,...y})}return s},UI={relative:""},$I=zt("span",{"i-carbon-close":"",ma:"",block:"","aria-hidden":"true"},null,-1),HI=[$I],WI=ds({__name:"SearchInput",props:{modelValue:null},emits:["update:modelValue"],setup(t,{expose:i}){const{modelValue:s}=BI("modelValue"),a=dr(),r={mounted:y=>y.focus()};function e(){var y;s.value=null,(y=a.value)==null||y.focus()}function d(){var y;(y=a.value)==null||y.focus()}return i({focus:d}),(y,_)=>{var E;return hn(),Yn("div",UI,[sE(zt("input",X2({ref_key:"inputEl",ref:a,"onUpdate:modelValue":_[0]||(_[0]=x=>Ln(s)?s.value=x:null),type:"text"},y.$attrs,{p:"x-4 y-2",text:"left",bg:"transparent",autocomplete:"off",w:"full",border:"~ rounded gray-300 dark:gray-500",outline:"none active:none","aria-label":"Search",placeholder:"Search..."}),null,16),[[$p,vr(s)],[r]]),(E=vr(s))!=null&&E.length?(hn(),Yn("button",{key:0,absolute:"",flex:"","right-2":"","w-10":"","top-2":"","bottom-2":"","text-xl":"",op30:"","hover:op90":"","aria-label":"Clear search",onClick:_[1]||(_[1]=x=>e())},HI)):so("",!0)])}}}),zI={},jI={class:"color-gray-700 dark:color-gray-200"},VI=zt("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1161",width:"30",height:"30"},[zt("path",{d:"M837.9904 570.0608H124.5696a29.0304 29.0304 0 0 1-29.0304-29.0304V482.9696a29.0304 29.0304 0 0 1 29.0304-29.0304h713.4208z",fill:"currentColor","p-id":"1162"}),zt("path",{d:"M561.3056 808.96l-40.96-40.96a28.928 28.928 0 0 1 0-40.96l215.04-215.04-215.04-215.04a28.9792 28.9792 0 0 1 0-40.96l40.96-40.96a28.9792 28.9792 0 0 1 40.96 0l296.96 296.96-296.96 296.96a28.9792 28.9792 0 0 1-40.96 0z",fill:"currentColor","p-id":"1163"})],-1),GI=[VI];function YI(t,i){return hn(),Yn("div",jI,GI)}const qI=qd(zI,[["render",YI]]),KI=ds({__name:"Progress",props:{width:null,state:null,needScroll:{type:Boolean},rank:null,rankOptions:null,elapsedTime:null},emits:["update:rank-options"],setup(t,{emit:i}){const s=t,a=mn({get(){return s.rankOptions},set(Y){i("update:rank-options",Y)}}),r=mn(()=>{switch(s.state){case dl.PENDING:return"am-progress-bar-secondary";case dl.RUNNING:return"am-progress-bar-success";case dl.FROZEN:return"am-progress-bar-danger";case dl.FINISHED:return"am-progress-bar-primary"}}),e=dr(!1),d=dr(!1),y=dr(0),_=dr(s.width),E=dr(0),x=q6("progress-ratio",-1,{transform:Number}),A=dr(null),R=dr(null),L=dr(null),B=dr(null),I=dr(null);function G(Y){d.value=!0;const V=Y.clientX-L.value.offsetLeft,Z=U=>{var Ee,ye;if(!d.value)return;e.value=!0;let H=U.clientX-V;H=Math.max(H,0),H=Math.min(H,A.value.offsetWidth-L.value.offsetWidth);const te=A.value.offsetWidth*Number.parseInt((Ee=R.value.style)==null?void 0:Ee.width)*.01;H>=te&&(H=te,e.value=!1);let fe=0;H>0&&(fe=Math.round((H+L.value.offsetWidth)/A.value.offsetWidth*1e4)),fe>1e4&&(fe=1e4),fe===1e4&&(e.value=!1),(ye=window.getSelection())==null||ye.removeAllRanges(),y.value=fe,E.value=H,_.value=fe*.01},ie=()=>{var U,H;document.removeEventListener("mouseup",ie),document.removeEventListener("mousemove",Z),d.value=!1,e.value===!0?(x.value=y.value,(U=a.value)==null||U.setWidth(y.value,s.rank.contest)):(x.value=void 0,(H=a.value)==null||H.disableFilterSubmissionByTimestamp())};document.addEventListener("mousemove",Z),document.addEventListener("mouseup",ie)}function z(){const Y=s.rank.contest.getStartTime(),V=s.rank.contest.getEndTime(),Z=V.unix()-Y.unix(),ie=Math.floor(Z*_.value*.01),U=da(),H=Math.max(0,Math.min(U.unix(),V.unix())-Y.unix());return Jm(Math.min(ie,H))}function Q(){return e.value===!0?z():s.elapsedTime}function ce(){return e.value===!0?`${Math.max(0,E.value)}px`:`max(calc(0%), min(calc(${s.width}%), calc(100% - 10px)))`}return yl(()=>{var Y,V;s.needScroll===!0&&(A.value.onmouseenter=()=>{B.value.classList.add("in")},A.value.onmouseleave=()=>{B.value.classList.remove("in")}),x.value!==-1?(e.value=!0,y.value=Math.max(0,Math.min(1e4,x.value)),_.value=y.value*.01,E.value=_.value*.01*A.value.offsetWidth-L.value.offsetWidth,(Y=a.value)==null||Y.setWidth(x.value,s.rank.contest)):(V=a.value)==null||V.disableFilterSubmissionByTimestamp()}),ch(()=>{}),(Y,V)=>(hn(),Yn("div",{ref_key:"scroll",ref:A,class:"am-progress am-progress-striped am-active","w-full":"",style:{position:"relative"}},[zt("div",{ref_key:"mask",ref:R,class:ma(["am-progress-bar",[vr(r)]]),style:gl({width:`${s.width}%`})},[s.needScroll?(hn(),Yn(Ni,{key:0},[zt("div",{ref_key:"tooltip",ref:B,class:"tooltip tooltip-top",style:gl({marginLeft:"-32px",bottom:"22px",left:ce()})},[zt("div",{ref_key:"tooltipInner",ref:I,class:"tooltip-inner"},rs(Q()),513)],4),zt("div",{ref_key:"bar",ref:L,class:ma(["am-progress-bar am-progress-cursor am-progress-scroll-size z-999",[vr(r)]]),style:gl({left:ce()}),onMousedown:G},null,38)],64)):so("",!0)],6)],512))}});const QI=qd(KI,[["__scopeId","data-v-20f092d3"]]),XI={flex:"","flex-row":"","items-center":"","justify-center":""},JI={key:0,"ml-2":""},ZI={key:1,"ml-2":""},eN=ds({__name:"ContestStateBadge",props:{state:null,pendingTime:null,pausedTime:null},setup(t){const i=t;return(s,a)=>(hn(),Yn("div",XI,[zt("div",{class:ma(["label",i.state])},null,2),zt("div",null,rs(i.state),1),i.pendingTime&&i.state===vr(dl).PENDING?(hn(),Yn("div",JI,rs(i.pendingTime),1)):so("",!0),i.pausedTime&&i.state===vr(dl).PAUSED?(hn(),Yn("div",ZI,rs(i.pausedTime),1)):so("",!0)]))}});const tN=qd(eN,[["__scopeId","data-v-68586c4d"]]);function rN(){const t={};return t.base64=String.raw`
271
271
  iVBORw0KGgoAAAANSUhEUgAAAYYAAAFqCAMAAAAp2A0uAAACNFBMVEUAAABQd7NfgsBfgsBfgsBfgsCYLiIFRHNfgsCYLiLsuUFfgsAjVoqYLiKYLiKpTCiYLiIFRHPsuUFfgsCYLiIFRHPsuUEFRHMFRHMFRHPsuUEFRHMFRHPsuUGYLiJfgsAFRHMFRHMFRHNfgsBfgsDsuUEFRHNfgsBfgsBfgsAFRHPsuUGYLiKYLiKYLiJfgsCYLiKYLiJfgsAFRHOYLiIFRHNfgsAFRHNfgsAFRHOYLiJfgsCYLiKYLiKYLiIFRHMFRHMFRHMFRHMFRHOYLiJfgsDsuUEFRHNfgsCYLiLsuUEFRHNfgsDsuUHsuUFfgsAFRHNfgsCYLiIFRHPsuUEFRHMFRHPsuUEFRHOYLiIFRHOYLiIFRHNfgsCYLiLsuUFfgsDsuUEFRHOYLiJfgsCYLiIFRHOYLiKYLiIFRHMFRHOYLiKYLiIFRHOYLiLsuUEFRHNfgsBfgsCYLiJfgsAFRHPsuUGYLiIFRHNfgsCYLiJfgsCYLiJfgsDsuUHsuUEFRHMFRHNfgsAFRHNfgsBfgsBfgsAFRHPsuUFfgsDsuUHsuUEFRHMFRHPsuUGYLiLsuUFfgsCYLiLsuUEFRHOYLiJfgsDsuUHsuUGYLiKYLiJfgsBfgsDsuUHsuUFfgsBfgsBfgsBfgsBfgsBfgsDsuUHsuUHsuUHsuUGYLiJfgsCYLiJfgsDsuUHsuUFfgsDsuUHsuUFfgsBfgsDsuUFfgsAFRHNfgsBfgsCYLiLsuUEFRHO2wI4EAAAAuHRSTlMABAv98zX++OnoHBUH7hsDFgzo9/rL8XsU3V8o5cv0jE6WRMavBR7vhHUh+K+V2N/fLBgaB+7lxG5kJg7RwbagVS9cO8oaDdXNqmLivJA9q+nYX0ktrKb8jonYkINUEQnTinVUTAr0dEHSiYFoNx8Tz7aaRyMQozixfExGMjD14JuTkGljHxC97cHArD62e3pqKA3Zb28rKNO6ook3IrWglWhZOqOCWDIXml8iqZpyP09HQjw4p2ylG/gsHwAAJuVJREFUeNrs3LFr20AUBvA3CVSQ5UF0qzdPrYUNnkTsyUsC7WAKJQRSigk2JHgx1BBCu4YMTXExNP4D0gSTTl2+++sqpdCmtKTS3VMo8vebM91H7u7de7IQERERERERERERERERERERERHdFU7G17048AB4QdxbjSddoYc1HQ7wp3iZhEIPZRTgF8/zcMc5g3gYrZ8h9M9nnWQ9XSed2bgf4YeoVxcq2zJCJloNa/K7+qjl49Z2TahM6zYyWyP5u5NeA5mlUHmWyAy6co9DZBr7QiW5QCpO5H6Lc6SioVAZuj2kxvJvyQCpQ6ESZGsbJJLLLlK7Quq2APiSV8djDmXYBhB3JbdaxH1J3zGAthQxzXKYCSlaAIi6UkjNA6KFkJ5nAI6loElW6AmpOQGwZ3GecFtSFQNYSHEBEAgpqQM4EgvHfF5S1AN8seIDsZDaP0PL/lDpCGnVDAdipRsBPSENfYelvAYaHBVQ4XLOLgCPrQetouFEbPkAOw9aLTenW9aFkLtrp0tnKwuRVFqfLbE2vL1mkbMtp919DoDzMgp8YO5W+yVCzhpO69i9vWeRMw9eIvYYg1oMa7EWMob/IYZ9Pu7piJzOhg6AqZCzAOi4Pc9yLkBB26mhPGYVrWMALJ3GzNpCKsMxK6cQW0Lu9pye9nzOyOg4ctndQ7Z9lMxdXoWGm9UEDZvNppQEwMjhaPBlc1y+O31fVg4xsCd2Dhqb9ZXDjjGPy4rh0H4iOJvq3qSjocwYssPBNsENqxrKjKFuPyGDrObYIGXGILHtrjQBMJFqujx7nTuGnZsrcTcDIrGxquxgffOpMS/yxhC+Mua5Th90LMWFFZ6rf2LMp7wxfDFpZkqfRIdSWKvCvYZ0wc23fDFkkX3Wmp+cS2FBlSf20hje5ovhpTHmo9asUtvmtupV97eVvhpj8sVwk/2liqHFl6ALVPpTnytjzE2uGIwxH0RHo/iS7lZ8Xu/MmNM8MbxJY3gkOrIKYFx4FqAvFfadvbt7TSqM4wD+7YVIoU6Y7ELYbkoqXOViRFTblUhFDRoDGVESKxosklosiJp3YQ42S0J7cUEwXcRW0i48v7+ucx6to+d5ztHjk2576nMRUeiF3+Pze95NEVG1gxgCRIOQZi3fDHm+6kTdymDKEw20j6HCfRlkZzTGvNVn/QGUViaiqbYxZIjS4Ejd1zDvaZdYEIoLEC21i6HE9VYl+TwMxkaNkn5A5frMLHPtDR/DBtdySXrmoQP6XrHLlPwhpyJ91z2GOBGtQWB9E11a6bg83NLVOg4d56bm+EddHMMaEa2DV5Joqs50eJHMtGqFIU1Eq+BwDT8fQ4aVD041QURldEfzddT9eaAbvkEhhQgRDWrCfAJuMZSJqCScF5SZ+j4yxOcgTuEZlBIOENFACgw/KOBjsGLKgJMjyfmNkQN8DvyAQcUT6Xky+EVfh6JzDCnhQsMGGaqQ8c3M4bTrcXTDDJSjLRFRYgIGewkuOcaQJQrALkuGCuR8C7r1gt5GdWWXn2+QIQSbBNGaUwx+QQUIF83mrQRZI4fM8cMjiEya35VDz1/MP59X8KDVXTJsCsLhYnBeklhfJKK0Bimj90eBtz6HJ/7IuN7sqnLHoUPEL7kVWDTiGPgVCT8ZipDx7swBU2zl4mX2KfNLQ3YPoZgtMgxyTX1evJU4x9WAaoLlKGE8qP8xxP70zbaE4NNbKVmqS4tmDnH7SnPVqXNVlBku8N6e0QU+vEXdo5Wo3hA7PfnsCICLD5RcA9UCRBRIwRJeDOQcMssuVuwzgbQGCWNG7R2Kzc3MPLwViw5ZQUwC0Eau6swB3/AsLCNqHj4sEtFiSw4uoaHJKhl+yF56GLPe/MV7vWGI/W9QZy4fRrM7QTUvLbEGEJ4Myg8XjJocbEn2/gtfvVkCM6PXRae15hgU3SzGDyDai7Phgh9SovbVg9lxnXlkbetrGHt3EXUzu75R8ueSEFn2PCeUypDjWmhp2csM9/wdMKNHLs4F9brx5m19UZ/ecHVy5OKLr6wh29WyFMlBpEqGVXRsnc3QigPKU8JLbdAPBKOx2Jlg8ID+x2zz98WHb2O6ZffPaiTJEFiDQIUMU+hUwGm4MMUqRrbzfRY20flYy9LOo/rm7Tuzw7rlOXa1QpZMizkNnEKGNtExLSMcLmytkmlgWUOHZsd0S2x6BKO20dmZP1cbzs4NX/Yd8sWmd/+ht0KemHISdvENeJBaBsefrYewBk/mp8djsfHTDy/CdNV24HlExUEza7pNkVyP3phyYUh4a1TpYTQb2/UdI7GpLHE1QhKrCcy1OKTMcAdPnil7tGeiHkRE7sHla0Jm+W/s8D5063Sz6aCyB91QyhMTSkKef9CqCZLmdZ7SvwOaKpIpsglJqTQx18KQN66LKH0/RmVVvkag8rsmJAF5o+PDjLn+8364mWIbY1psNWrEBLqUFNYEec/V25Hkys9tk/EmzQZr4MkfeljBv8SoEXmJVwtrgrwhFVfY3G2to3vVJHrh6//76HeCWbZF479tNmpOgOO/7fZg9y/uqGA0+I/1WXeoFV3/t67T26EuK7ktbNe5o///rfqd4BnLQcN/0uRnvYf+/4DPdhsZMvTl9uEvx88e/GuunDyHjvnXBgOmgQKAGwEHORiyAaGBLQAL7K/ppR/o3ORw1NeRcdw3YO6Qz9n7dxrkfH9d+9vOfkRH7qbptwkzBhJbhmGQONYrs/RbdgudmB/TO2SddZjRXV1+iO5dOl7riXto60eELGUAyyS0CSA8SE4KAIpkWYqjnTvDujdzMB326a6iI+jSm1qvPEEbC9wTXyYR1tCkyVEYwAA1W4e7i7pnZ0Yb28bczaArL2u9cx2uVqnFAoAtEphqk0ICBts/Ff5yClZf6YPu7gG6sOdorYdOwsUatcoCKBBncaq+cdvZquCFA0k4ux/Uu/KO2+8q8gzena311CeIiR78PIA42WVKMFRX0+Qox06/2Qy67qPv0umOcrgPr37WeusmHOXJJgLWxLdKpNCgbQYiJDQFYInsKi478ro2ptWn+1xNw6v9tR67DQcTxCkIWqpEZtXqf8ZLd0VJJFlHyS7jcrane1GYHuqujuywL0Ot9hoO0sTZAJAi3sBq047UUmgpQS2WYEjwhXvdcY5IxuVRGB60qSHenKz12gmIxSPEiWjsXK7QYKgQRkNygeuchoiXc1zmlxJr3196D2+u13ruEoT8ROLnd4HEEtl1mDR/llqkYciIkoNYTJdzGSa3MXgQ3pyvSZAaS084DZY1Eln8EQezHCCbMoD1BAnIlwax923fBt4crfXcBQiFHMdhS8RZmABTWYiQXRGOU1EQO6TLWoHh29+r0ftqPXfKPQb+yS5Rq/QNMMlqngSqrK73Lwbr7OGMsjEU7aPrRL5gHV0XWYDhbr9jOKDBcEbVGCgEINyUwl3NGjPk0g5jBj/1OYbGHgFtSNUYMrA3S+mNchwNqfJGgJol/DAUpWKQmF6aUzUG2oBhk1rlN6fiaPDfsNUS5KjPMTCH2VupGgNV6uWBUyxrMCUzrU0YSrQtMVxlVVrZGMjv9IQvwzARaV37RCrRvxj4+Wx1Y0iHIVyGK9uaq8wUDOE0bVMM4zBMKhsDBeIw+NPUjO3b0DZa13qAeIAkYpDzll0moGwMv9cYcgmy3GhdoohMgWuR+h3DMAxRdWOgyI/GtSQtMSQD1gxTGKZqhLYxhkMagEmFYyDa0GDScommGBaJSYSsgXW/Y+A/bKVjIKo/8FqEjyESh2krQtscwwoM0T7FcOLxk8/H+h8DRUIwBAQxaAAqAaLtjiEKw1gfYjh64eleMOdu7+9zDPVLuZf4GNL19mj7Y9A1AB96HsPje2h2qt8x0DqwycewACC/I2I4AmCuxzHcfAqbp/v7HEMBmOBjuAaAdkQMjwA87E0M/Mf38+TjJ29gelVzse/8+aN/OYYKoPExFIDUzonhF3v3+ppUGMBx/KeuYVktOtG72gsNHV2sEYeR1TvDwAojiIiV0aKgKDQpzC4gc3SBaAV2cV1cV0b3iH7ur+tc1JN2zHk8j3NxPq9io4J9p895Hp/znMNCM+Sg+R6XqZHHoShQIwWGXyVpCE8WfS6oIoWZrGxbhq8ANv+VAcDz/skg9NUwC9VcmIaS9hWSr25A5UtTl55Go+hIzJ4M9wGsbc5wG8D7/siwBsBZgRkCUIyGTd5e/CnUzVLhh5loSrIhwz0AT5ozPALwrj8yDAHYKjADFNMeNnmNJhPkd+hWzqbvxPw/R6ZR5cp3n+ERgLvNGTYAONUXGbZD8VRchmEAbk/rHXi5eNI/A8XHKFTRgMwaKZEuQOPLW8xgAHCvOcM9tU1fZNBm0bvFZfgOIN1yz9GPZOM+sEyATWJz0Ez7u8xwEnjbnOE+gJt9keEEFBvFZYgC8PJvMSiy1HmmaiOEmfGVUI15uspwBPjanOEbgPl+yKCtsO4QuLTnBkAzLiDJmvw/t8FKr6HyzXaT4Svw3MigX7teAh73RYZnUGwRmCHSKkMWcmMUxNhSzAfF9y9dZPgMDB3RfACGHmt/AvC1LzLs1M/5EZdhusWbEuVg05WTn/9SBhBlyXqGAzB1vx8y7NefqCswwziAX2xrEln+m9+NAplwW81wD6Y+9UOGXfoyt8AMLwEU2dZwhm3dUDJQiljMsAGm7vZBhmMwBmiR07cQ2wn42d4NL8mBglkG6/ogwxkononM4Am5ALhitMN3BEjKK/+zDOf0u9wFZki4oPEFaYOcPhOM/V8Z9kK1W2CGMjTFsIc2ZUBKHc8tZdhg6vZiZ9hm3F8tKMMNqL7EaJMcFEHS47aSAabuLWIG48d8ZlBYhgGfvlRH2+Rq91+P/z8Zdhj3ggrJILmr69c2Z0CMDFvKsM/EyReLm+Fy9bxiYRly9t8sPV7f1TFlIcNmU0cXNcPh6iHqwjKk9QoCMsyQXPZ/XCnpFU6sE5chAyBNERmiJHMWMqw3tXkRMxyuPZ1PWAYZQIRCMmTUidx/MEQPXoVqaFVFXIZhAGkRGfRRf3rpZxhcbZz3ICxDCEBeTIZXJJf+Beu2NUYFcRniIg66moPKSwaW/Cx6CzSrN1aEZqAbQJH2mqxdr04v9TWls8YTi8VmGINiKmx/BomUlvjS3saL0ByuCM/AGajmJJszJNUXg6UM3w6aWYRZ9PEh42gy4RmkIjQh2b4M+rD/EZYy7IOZK73OsPwyNCf2VERmMHyBbiIs2ZVBrZDAEs4wuB/GsNCbDMbW4EguSRuUD5EccFvMcOCUmSc9zbB8NXTPKsIzGDx5VHlpA21zfgxL97PoC9Dt2FbpSQZDKGLfGt8YhtV/calm2A/jOXzCMgRpSoIiR1vM6rMGNxp9ne/ArStVT+zIsHzhg8K2E9BdXNfhcRodif1j5kt7ZPSZeQCNjsx34B6qTs134DbM7V7woLALVVsGKx1BZ9I0BfsWlzxQfCFlwKCfnLpwLyxluAJzeysLsvsyqi5stLBjoBOzNFO28RyHZO0hEWi0afP8wt19fER3pZMMB2Hu8IIinEbVjt2dz/XQGRdNeHwA3tAeWe2/8ZIzJtf+Qh29hBbajwnLd6DqzFNLB491KMu/DQBwBWkPvbasDtWNhuYFe4FWjrXbC3YRNc/WWdrF1Cl3i43EBdqjjNqrYdbkQwORNm9CKyf++Uo4ZkQ4v87i/pmO5cwPNy/RFgnoGQaMDQGG9fMi3Udrl1v/Ip9FzZnDlu8CsuAVm/kAJGiHgZXQREjCYFyzinMFrbRelhjcY0y7hi5Yf66AJSE2sW3S4HUbI5AXPe1wD620XK/efu0E6o5b/ohuDyyaZaMpm54oEHCjSmpxmMDjtfNivEU7F5pmaud3oG7N1nUVq47DuoBksge7S4kJ1Lxu/ailAyIGiCfv0d6ZPYP1BnuvwrBjf8Wy3dfRlTHZU8NDADL0dOVjoXHJREYrD24ftXW2cPTFJSzM0PmNg4qnu2DYeXZjZdCidc9OoGtu32hN3O/3Z3xdiOBPc/pncC1dWmGjD5vQgYdrVp/BnxVWX7y42pKLqx/CZjmS0iRUNwroWpAMwtG5Q1SFY2EyjG7p+wEcFqRYNwlTGe/UwhdxA3BY8iXIKglmch7SP4r29P0ADquKk6FSqEQy2XpF8NAytPGTpHcKju74SabQxHeHNbEfbrSW0W5Nj8LRLVn9WZu9FMofqUu3DDFMfW+Mo2vuoIcMzqFu2EtFMAP4RqiTD702+YtvBqhIrYTDBr4EFeHs90J0OjcSp6YEXTlGnedOaLzoQtVoLqR/Q5qDwyZxNvL4fagrHPLSEL4TvxOrf0H6CYd9pr0mC6eG0Tc0NQKHvYolvYT31esIFJkbo/hTZkIbCQzJMWfiLMZoIQqVK5ugKj6OBpGZuZFSPl8aKU8U4RDsO+uSETgWxxgV4Xz2jaRtpXEsilGSwz6oijIpu+BYBAky9OcS9g84ei8iMYG6G2QKjt5xQ+fz8CcMzsdqvTMa95L0Blx6hlRDhjAcPTHGmtfASomS689vleDohbK6bDc+M5nUb9zJk/IUdEXSMwpHLwxQ8kE1q4/HYdKThcIXJ5mGoxcmjaeWBEgXMCVT4Q0HqfgFhzAz+ZjXm3z1BYoUJVRN6LcTul6ySp6EQ5gSq1IAAkaGfP2u2pGk7JXjE3CIkyUZyw/f0e9bG6/PmnMNn0k7ixiCJaqXQitTJICgh/HxTLHsJ+msX4s28TGRTC+DIsgyNMvIKLBMYpXHeRcS7Y1xw6DMFDRj+ljgvjOgNgg6q0fCTbIqqu2zi/1m7/xf2zaiAP6UZtNgGkF4RjYyVHKGkxq2QDzXzfKDv624kMIcgk0WvFG8YkjA4G4zpNsCSbPOBBLGIAzGBu22/jQKg411Ke+fm9472ScpTpN0ThZn/vzgpj7pJN1HunenO0t3Z1//wwkOO8Bo8w9vzo+CwdnzlmfesHbd8zP1EefJfd/LGx6LHtojGHHOLMpHpTM3H8KI/4C7joid82yQKooC582Eb5tJo1qtt/vtGH/+P4JhGjEOPpKWZcKp2LUsHaDYwDU4EVuebRajyIR18LOOWARARDiKSAwz4MOydmE4iR3SUEeswakoISYBniFm4EQsy20uYY+Ah4qrQYWjMIOOFMQSDCeHNewjGnAqwqwBrDk4tYY0ojqn6QYirp1WA5j7kaCGMAwnQkPcsiBfySxrAEubiFWL6urtUjlc4MO1cjpkq7Br5TTNzlRTQDQ7sVjHAtCsKOJ2DnTLyoODnl0o7xW5estZSTAye6LM29VYObzv12AgqhwWLPfMTlRjsYp5SIO5V466miLr5VYzkrNSzoYtzmZ/tRy1dYB8DjFqRcSeZ5ZgsDz8cWdmKhR6bfH2/dkj4vqTycWZxcm/PoJ+KDfuLTrrT83sPP7pKA0LiOtImEoaiTzVvES0zYUVV3GVznoDiQIXE7OipZCBvKOPK34mrHA1ZXN2Vb7ImEbSq6GMWAems9fRATaRqQQ0ZJFQaaUcEnuIFkScrTvWY8jMgY3EEmgLSPybC8N9cYBkwzed/t6G/4kzr9FwXEhOtf8ZgnzjexTQzN3+GihOlkuI2IF15++FcJISypk0Yos1pOmQM1SMpYbzwZV6Y71CxRjJON+EW1RVZwHqpCaMHCe20aHkLIMTQLL2KiuIJY8GreGv3ecQcbWFiPs+DXEqVNo7nYoe06uIrIEzc4y0Kh1EhP0MYiPTpIMphxvO5v6lhre8gw4B7vt+STUDyqIvOTR7zGOa7ihHaKgAFBFX+Bw2OP5FRd29Sxowk4uThjJAgsujghgBugK2ODYkwNVQRswBRFRKJg1J/qoIOVQpdKi4MCE16Kqv6teQVuaw7dOg8p824jZlGaYFpYaSGhPhKQXAiU06Ct7zyKA03Dk4xFOfBm08mP5r4CFNQabG+mpQdS6VqAjRXD3sizqgBobbAsmI6gjpAPW2DmBWuhqSroaIY2oCAKqUsM1iYI9rClo+ZWBQQwMkece2u50lj4aE2HyKrswO4i5FF6lBb2ugkLkUhegW739OVI75AWmYPBDcejw9/eS6/1cjVz1vUd/59OqTxW7F9N3hRzRdfzQ9/emtA8HtE2loYZcsaVjj4hFlwGc65KjGwqAGi09I1hcmDWuiB7BEUTaGhE+Dv1IqIi67gXvbo6GJPWh3U1R7SQ2wVlIRPRps7JIbjIanB+K/88C8Iq6NkCI1EFM3ur81vHLAjMlRa+aOG5nn3TuHd0+ooRxl1qhYakENdQrfnVpQQ849oa2ABi7LWMZI+zQoXOcxRq2m7woNlPczvwY1Kuhq2JYaMk7q6mbHpyEWZZYGouHz3t1W/9Vxw6dhBhj2JF+UxVwJRpr74to5iYYst2GYfhqUNMeDfFBDEjHmdpSzPg1VUaH5NHDSQrc+QvrYc7/NSQ2U5wq4dPjKgk2pQWxwXWqo85aYgWgYdwtdMiaqHa+GEHj4qTtawTyRTzv0xxrtBBry4oq3Y+VCPw1aGqMsKBiiG6xkwvkn79PQcUO6X0MbRcm3y4hV/l8CqNhRlxroA00AKx2zocDe8jJE66I5jFJDUdSLlVgsMQgNfwZPdn4kEvHQo+Fun0fOTHs0hjTwMCsG916ooYAYqyaopbGapSaqdtTVsFyoImvoIGYqrEG0/CvZMp3AwathvbCGAQ3cI1BLK8hhnxLUatVRaINXQ46+rqgkWEcHJ3fv1dDYflZiDUDLmWLPw4hpZRAaRGTYAEbO5Hb4U2oYBz+cfgeIjw6IJ32eyX7vhRoSovuWV5FQ8xDUwEW2hUSYQ0Gh233L8kJMOuHVYEFcxOc0NnSpgRMF6TzIlUua1IBAngnOzExz901qCPNedugLiCHlHGmIHHUYhIYDeTJLxkMOX0sNv4FE1jpAzEiNkh9p/VsgqdmbJn1uaQDalk3FbXZKpSSAVlFVtQoOS/amxaGTl4UtO6s7qzipc2DbWWo1hUslSNl2gaNzTFUbrG1306b15uzNPEC8oapZMGx7F3K2bUIXs6U6yxsgyJVVNT0HYq0kQNbeAodCWlVXTXcRu6ZzS0m3bYPUqWo0mbDtfbrRUWo1AYD23B5MbPg12Lpk5gmNNfQdH53uvShrLNTvatE4AzgZijbxwlQ4Aq1/iqYcsbiuHbOy/LpZr8dlp0Am9dm3wWi4Jl8heYrnkWz0wvos10+X7fkA1E+rzdlcL54hUsMj2Qc4WsNU/wwecHNXCLlcaFGUcUJydhruybbp0Rpm+mfwV6+hdfmmltVUh5UmnClSww5XOsdo2IEgHBGe9hpKv8PlQ9c1CHDGGqaO0fBW/3dmPep1MX6FEf+FBnE74+QaastMLa7D2bFkmHA8KWOBuiK5C/AArkBsCB2jYbL/22l+7o00fHn8IGiXJJwVFvfFj6OALmV4AUYsXYCjeFaOFQaoQd4ROkbDaxDgd9Fv6LWUvj65hhicFe0GrsNx5NEhHVbxxdMr1hDnjnYkE8+23/DkA4cvZb9BAz8PhLxev+Fv8PMLrf/Ar6E4MaEsoewQtYFImL28FbMNHnTu1CVN3fOVJvtR3kx0BQLovT8of4miIi6YdOmoiAl3idThNWuIBQjuYMqMdOf2DPpq2DjoU+t8w2X7+9G96JleM1YL9avVbsuuudTg3s2ZA2N1RanxOHsNHcIsRrMRMWOWVg2AaKuaWsAU6Fm+fpYAoNpq5WmIOZVYFQWph1vZYgNxXSumnRUjAKmV1jpApbWSoqzWSE2kg4i21SrFQdDszVRyUtZ688jqpHylFdYzyEUcLdNIuS6GrbGT6tVmaQuUTMxJjOoD1QCiGOf9dU7wDus18KGJhpIs8WDHQfbpAhrWaahlE7HOt4kXPONXYSTSfNsTkQ410ksvcDJTRibFA8xIrCARBXfAYJUyIRydUO5mmpOT1KrARPL5hIwUUccDoipyzAMybciiQOc1GUMR2UcGqEE+ZhW8TLEaGRuC3exbnqK/KS+nwI3wQGzIuzf+444GYoWcoJXfQ1TFaWfs7qHQwKSWHFeJhJMSFhrqW9yxrZMY0oCN7Q6fy2u0tNSAa/EOZ5qlJeMrKDVUaexbkkRHS55cbPNW1e2lGGIFzE1Ew1TitCbt4CqPcORTcYpt5jInDlADFyMzCwIZL37zangMEu6yyVbu4qHo8pAvltsBDaVwuIUOQBrUJoDmzmqI0hUSFmEv2tVAt2KXKhWqvrsamvy5xcoM1jDB53tcjO5LDc4iOm1IU1m+4tHQIYOSGmK2N4sMOSvHfbQboqv8DSygqlCqyQ3vMwjRsqDvaIHZLuOKTPXXMHcPfI3UP4JTBGZlep+WUo41LIuJKiV3XL9Dh0r181xXQxuISLFeVbsaIrzmLoDlaohCd0jO9mnIszuEiCrGPrNSw56/BPfEwqDS1cQuKJcFoYHzqhcKhSilluliye624Uw08MvyiNCGbAUR96UkZkfx/3DuenB6zA2/pUnop2GVot2mOAydy5cPvAVlbNAGlroa3FJipIYsYvN4DaarIUW1iYMhNWz5JzCHxcKwQv+KrZoeDQvYpQlFFBgD1yDH2pjrk59e/evOuJzfIjWwp8Un125cveWmh8a87SZm6s7fVz/tPR33m6CGoqbRwILUoPGYrjuqGwtcDW7jvbFtRtRTazj6arCokJlaOm1DxtVQRkwe0sB29gtMBEC3OkiYZ6QBfiIPfiYV343u6WD6+PcgUciDn9BDOKQBBFKDimm39bRMpVfwxgbRulV1svWyGjSV/55AqSHB57PDBE+ascWeRBBR66NhXdRZZrMJTaO+C9B0cjfOSgPMXu87Z09qgICHmdePfKC0jDTHaOCTbS/Spi5dhFtK9WYVAxqSoO29tAaokoBi2KMB1rltZFJQTotpq812ylmnCkENdd6pWKqdR1QVy1m+DVoFsUAajPZgNcjnKEluzUNQA3zvuWKufA1BNsa9l8orACfREEEXWw7TSw3ufAp0aL2kBrffoHo0KGXsUuSWk0DV/BoK9F0bYjIgNLpLUuKA+g2H3xOmbUxPhpzK5NaD32f7jr4przwa5zJ+1P9VGp9/fe81x9DM3x99DodJezVkqZlO5FX3IB20Nb7vibjV06Bzco5vO5T4wKucDc941cXtqRIlUo6W28aJejW06eTflCHaQa8is2CylSwSsQR4NKSpwuTWmr6KBO1tstGbQgIx1nCOSA3M2Bi8HKlEUtZTkURCB8FS3ZjrHZDzbYFbMslEEghtu/Ys5ayb0OhDoTUpGy2RaDtLJ1IA3e9pESVJ3/CWZBbgJNv+nxql5mq1/Sa4JOeM/V0geBWRi0MzXqT4WKwbBR2YeN3Yp3w4cVeBc0NqOGv49wMK6AtUYgOjgbg5wXVfCoab89KwK4cBBkcdXTIw5JyXBthHJp2EAZJFZlWHIefcNEBke3nLiMNgMevLy/UmDD2OhtHDiP97RhouBCMNF4KRhgvBSMOF4OrB6G0yF4D5mw6jJ6SPGDFixIgRI0aMGDFixIgRI0aMGHGJmd145YKy8b95Iv/8tSsHofELSujKweP/xUtCpq9MfjemKReVsZuP/g/vup68vgEXnJu3p+bhcrM4CUPAg4PL7eHH12AoeHqp3zq+MSxnmTL+C1xe/hqaFxjfvcxTTA7GYFgIXfiWxEvzx3UYGt66CpeVa7dhaJgeon09JdMfgOSXUOg0YfDj9199/hWchi/e+BD68O3zNz+D47kxFC3rf6/hKb1b8Xhk6b3x/ntwGj55/jb4ePedNwDgh+fPPxxp+Ie9s3ltIgjD+NOmhgabJpA9rweFWsjHpoQgaXZPEbrgpbmVohRqSaAhYFsolngRW/AUWlCoCqnWS4gg6MF5/jvnnXzVRQU/Ds3HD3Z3mJ0JYX5k39nN8O6AmeV7+AM8NoB/1GATmloZUw1/i8fCf9EgTDUMWW19m5XZ04P80nprFTjZa2F5LbN1AcPKt8xS5sklumT9CJPJOtDxnaiTNEY2vTo05WRZdtVFP+2UyhBy7VL6fP+oq6HiOpFiKq61JC36fu7Mb+ck1rSdaMSrmhZetpB0HPdoEjWsKHViUmVltpaUWsH9UOiTyqwnVGil+x6U/FZ+kHypaluM2lkckumSQ8qIFZk1NrgJbHCDlhMhawAWSSsdpScaYmnapVKEfIRX0TAjTm6R1o5uE6ZTSnfb+9ykrTvwcFI1nCr1BcBtdUdrUOoUQEatA5gz8fu9CqGHF+4AMduM236Y9aAGlsyApgGk6QJ4Q9GQZQTdkTa9ARgNsTB3AbGalZP0ALj0JlXDkroLzbFSouFeL1nQJW6pNcDY+DzQUAAqTEI4ZyqowcpBQ1tLYtiUXWlU4xFEnHTMDTVUjR057QG+KJQfiD2hGvT2GsK7yxmt4SaEvHqKJb0Jzy5vXtUQ5TaEBktBDR6EqA2kdIVQG4bo+puAhjbLEDqkaNiF5pHFCdXwTKkZ9NAa+lkQ9xYSwezFRkOOzEKI0Qlq2BxoOOcRhG6Iru+WLJIBDUUWIMTDRkNtsjXoQIyhhkT/vu5iNqG+/kTDDlmHsMP0QEOqqyE10OCyCmFf6g5JK5KsbQc0OPrThMWpBq3hVG9XLkowZNTyTKI3RXr940WpP5k5ojvQ4AY1JFmBUJY6spwDENTgsgGhQGuq4WRBqcdXQvQ7aGbluKU+QkioG1c1uNyFUOKGaBAnMTuoockIBF/XdcgzaJoBDRX66Na3pxpOcFetL5jMb89Fg0nbd6HywKkKHQB4oeaBqrfR11CgFZcIHaY+nNMzgTioIU4THKpkSspZ6cCAhjp5aMosTDWcABkV+tRKqNCqaJgLtZ7PdSdPLaVeXmSU+iyDx3L/YYZHJpvnpgL7ZNSz6Qc1YJssbrhMM2U6pDYiLNJqIxalZW7fzoAK6TZ9so0J13BzXpahzLxVmr1ViIbVvC6vH0N4GNLltQMAr2w3B7TTdWhq1NjVXoQgrf1tpwlU9E4oFaGpUtNsOLtAzO+2L5HAYZhWLh4p7khni2R4G5pNxxzOis4EahhwcDycsB4/WxlOnQ5m8RMKjUX0icfxc7LZGHo8ypr2OwjSaXSmj/aCGA3XiKmGa8Hy+GpYfvA7DepaaXg7vv9FX87j18x+eIFrxJO7GFtGaZ3Sa4wteyOzZP3FOC9iPRiVNayYe4gx5ml+BqPAnfGdJxnW1kbBw/P5UfiW/8KDxCmuOQuZEVpr+719O6gBGASCANjUSj+VgA0EIARnJ48HKOB1gRkPm2w22V0taslcmNoX/fQsrJ0gEqv/FU/Q6U3qAQAAAAAAAADgLAMC+fDleFjAMgAAAABJRU5ErkJggg==
272
272
  `,t}function nN(){const t={};return t.base64=String.raw`
273
273
  iVBORw0KGgoAAAANSUhEUgAAAL0AAAC9CAMAAADRCYwCAAAB41BMVEVHcEwau034r2WEe974tmmF5WgnwlPgv5Bz5WT7vHPxe1GRheFscds1Tc8sxlMlxU0/0FZQ3lf9tzxJ3VnyXTXzXjdT3138tTvyWDT5uHErxVQ/UdHxTyo8z1hGzlr9tjxhZ9nwQyHyeFFna9r5rWMauE9Y1mD0e1NPXtMXt0tQ22Atz079uUT9sS1+ed3zXDlL1FgtyFL9tznzcUrza0X9sy5MXdROX9TvOhtLVtbzYT38u184yFo1Tc5UYNb9vlNcZdY1z1Ni1GP9sCn9tzspSMpGWNJh22Ks6X31jGT0b0v5wolV0Gaiwidycdv9tzn0dU79vlE5T9AYt01q32X8v1BeZ9fzdFB6326M5XBDVdJaZNb8v1MPrEyBfNzwSSX8vFmz54R23W/2lG79tDSYi+D3yGXzfVj0e1SfUZxtctn52a2hleH7q0OT3on727bwy22r1DFSuKboztr7y3UwmKSroNv+sSYoR8rvMxYRsksoRcsTtEkRskn+sSQPsEsMrUzvNRclR8kPsU7xMRT/tCfxNhgVtUYJqU30NRcZuVIoSs71PyD/ty4yTtD2TSv/uTw9VdLvuR9wvi6hOXPKN0lfO6VBQrtMuzflMyvMvyLP3agpgLEgsHaZylH/0IGVjSRsRSpHAAAAd3RSTlMA2icvHg7+BxsTNhAf59q3szWEQZQjJFXiZOoz7ZfarYv4U0dF8K6X8LBRScBkbPl8yuhpqPrf/uVox3n59XY1zWLS19n3xGwqjvM2/v1Z9H6Y1D9Z/aHkjEibt9L2p8btV67cl5Czyrj26EjI5ub45K/0t49u/SxprvcAABVaSURBVHja7FtrT9taFiWEJBASEtSAAgTEo7xaiYCCeN2CKBJQYFQhWkFbRDvDVQW9d3Tnw3xJHFs2tuXEDyVCglbVSKP5qbP38bET3okdJSB1owKF5GR5n7XXXvvENDX9il/xK2oYbS0tXVa0tLQ9JeiB4PDJQTy+YEYifvB7KtgWeBLQW7pSSwnDUFRFVWX4UBRFNYzE0niw+dFjDwJ0RZUzEGdm4HeZDFxM4iD1/FFvQDAWN2RZMVGflX+BkGUjGXv+eLHPAnYbbQm2HRnZiJ8+Tvxtu4ky7HcE4E9uPT4FCvQsDakPYSf4leJs12NL/GzxOnYsXFnOlBcw5b/yJdXyuBhvyNcYIqtG0QzDUOUrlMqoxdNHxJ5g3MiUyhSQK8XkQSw2voUxHovNbhdBikroz+Ti7mPRzkAqXsaajHyW2B4f7tkp51XP8O5B4kwtiag89EjIH9hNlsCjJo53Nd9MbKC5a7dcT2Xj9FFwfzgp27QBPZxtvpMTzacJxeaPXBwPPAbOy6VqXFgavg9SW3CpKNtXOtR47gfjagl8MvXQw5vHF2yaKcXhRuv8kg0mYyxVYgKCXxQbfjzY4CZl63zGiFVWhi1fbO0xlhpaubtFC7w6FKuUxcO2wMpGIys3mKA1qMiVgyfwrUppIHcCMcXK/EKqmiSCyNInGrGGoU8NURDyUJXqsWs9U1kYbhhvLAIosSrpG5g1MpQ7S41hvo3gTN2umr3NJvXRr6UaV7KEN4nqdz+wVbSSP9sQs2xvvrHr5NzkgNJOTjaC+c1f6MurzlpOykq+0Qj0u1bqi1vOrv7AIl4DqBNwmfqS3sqJ+s8pw9QjZIa2nFZ90lphuGE1q8adGq22WYpePam35P+5TV9acc7aFB0U69+weuxtd26zUkWK/ku90acsxUk+d52BBqCnA1LmYMfxGi1LKnVqdZ5RLLF21metiJkbmDG26os+uF0LtbPRj9cZfbIWnaZh6Km/lOPNTxi96gr9OBWuuqO3PMp2LXJf3Hqy6DMZeeH5E8593buVhV5xV7X4XnQmU3/0tdGcxMLCwplad5dWG71vw1swtk5O6n0cWJteaw5pEHU2aTsW+npLdU2i7VQx34SVt3eeIHzL358la6LVvlZf5/HxWBRj7PhDt6+mxwzAzVAfDcJTe7YyanCQ53u/NuDx+DVNYzUMv6djbdNXG+TtoVDf4cZGeJ3GxsbhVKhn23z3OKMeuBstfN3d/R2aJDGSwPECBCcIPCtJR57ou263V9A+MrI/EQ6ndT2b1dMYuq4X1sMT3y7PVOUMPhKuqNM53Tt6JPA8x3A8w7IcD5/hO/giCUe9/S8/utGjt/vzBVFMp7Np/AcfWfO7tCj++H7xU1WBOqfOl9/s72XyvMQCbIbjGDaXY3Msy3A5lmPhu3xe+9u0U/jtU4dhHaBDzgloK8z/iHoW8MuK7PjNm9Z+vyZwDMPnWMaEz3HkE8vgXsBVAItGI5uO8IcOz3XMu5n4LPlnXwRugyjqiN/hmzeB7ogm8AzSBdPOwQ4AZuA8/EQi/OFwA3jJH+2seu3Q4J5uQaef6AZYP8Gvevr7ZSbhpN92jnkEnmNzABw/oGJ5IBDDMJLEcwIvIXQGNoZjBanjWWt1eV+ZWNfTNtisxfh02QWY/NfTFz8dnMN2zmg8wIU8Y/qFvMBommdyMhKZnJwc1VhQH7gSuDb4PVzX6NrH6khj5dsGK9qRzdq5J/i/X1YLP/DSg3nNcTxSnBc0f+/M2gcrwaD+HX6NFxjEz2MNCNrAs4oXH9nQTZ2hOAG5Xiicz2OcnxegGiinyIYg/Orul2jt1/ICpJVFenN5tjd6/A9fmbYHfG8+jPXCY5A4LOoPL0UqJE9gao4wvhTr86uLi4tTZiwurqxOLKfFsvyLP779Vg34iMazKCkCn8vlpVf9t9Li4/SAlodGQKoB+BN5WZFODs6nRUsaIbfre6sj3tCVh3i9fStzsAVZa4MAfuWV2z0pAeNB2lEdGf90510d9c3mANEgxsx+byXwp85NXhDGZAsTg+3tN7enKdA+NQeCaimpmP5W6U26m708ch61nZdGo8/ueVrA99ojMahKTI6pCP5IOGvro1iYGwzd+Ujv572Cbsm/mP32WyXwA5t+CXNOWqngef3gRiHLiDSBd5jpfqi9hs1ORBxNeN/7cE+gXUD8cVFB6QY++EELcwy2IkGLdlfAs6gmMKicwB8hem/pBr7OW50UEr8x8uDafdjSCP2z4o/LB2/zQ/DYXdGOSZ7NNxWVyfSoAI/PoURp/ffq/JxNhfT6PaQpo89cQcyatat//xl/4BbjZ68IeAbIIL16X2lzeOERSN+VAP59VPtk6UhaX16pbG3vasHuWxdq8SR4D/7WGWIAQEI4oaPy9tMEO8aiaWYloeNOsgVWlm0bFl6pdGkC32xrPy5lNXEyvHPHBbROgoDkOLRgVYFvenOs5dE04wRwZ/LfnltNSt/rq3xt7wZtbtB0fyqKOrQ9m+ppuxW8hG0fWo9UFXh46pjGg2aiIxp9fxeFiT+ANOrhvmrW9lrVIqYvVLwdVikml2Kx2DhGbJzWQncEbBmHE5QgvHpR7fzYLxFnwXFS9FZla98viJQ46yvVrT2yTJ0/6I5KbwBXDXoLuHHQTDnPY9thkfPVgscGDc/OoZMevfXJ3gnqyUR9pdq1BwvUtukXsmLe6kpuvicR7yLeBqcn0jeFKmljxmspj24HWDdzi7MIHFpSqW+0VzvKtH8Sqd+Ewr1yGz4e1HYheInJIXMk3hn4Jl8EpxgcVkY7b3MI1iQSHql+7VCYWiNI/rW/1FATXdAwsV6BtZwg9ToCD/5IwyYN3NGiN3+5X6CVd77iYOn2Q536HZCda+gXuroHJCLYMI044TzVnQ4BdQeKd+ZGj/aGral11etk7RFQW6JY6Uv56p+ZKAtBsCrAenhhsAcOMw/0nAZjDVMvK/g3b6be7LLi+Vdnpyf7lmp+SxpnMvlTGfOP3OShNXhZ6FLYYZ2DB+bPSAweoAja9HXe7tEX11dDztZeOTdTL57/51+/byeGhgwaxf8RVwm2UnLMeTOiEp6cwEr91yR/kLZZp6lHwTVnRbHwzz93doLBnt/N+Pt/BQEPmSBvUu97N+CbXhzhoQmXE159vCHYZAxMz4Wcrv1JN4+r9FVTcNtIvFkDzrM4i7CSx1XmoW495JiEzfufXbMqItX6FcdrvyWVgx6prF20RiU05zAI8oJb8Kg65PiH066OiG/nqT8Lh5yjnzepU47eF9WwwYM5Z11ynqAfyONYxrLCu1vzlp5rd7x2aIMeMeyFSt5KE3LkPEMS/H+9afL5fG4OtFvX8uBzYCfz/VfMwqJl6w+do0fiE/otfy3ztdjeuRyMRTm/Z2ZmZmDaTfJfI3qQfGGgfL4N/UFN1vqIi7U/FahsfbbBm4dhPOh8L7hzXhDyk27QvztizGPPK+i9f5gnA+Jyn4u1Bwtmvyt8LmUez8FA6Ds6wehAsxVYd+hxuoI6yne0XtNqAr+G6AP9GlgDCd9cEHpfNEVAezgYrF2jx7K9hj5MO82E1xV6sYQeaQOdUeIl0x5EMPdg712ih9TDKlfR94Vpp3WPHgLRtx5r6CoZFHqi8xHyfohb5hxJ+IYQcwt69Ciu0ROj87nJN+bn8OwDPDHV+YhEJjt3uZ/OYz54Jj9wS+6zNcl99vwrcp5ULBCd+vmIRFymK963rOUZJCN79USwdszB4jn/N6ENx+XQz9MxLoKZd1m10Gt5Dscr4YpTqA1zPuGBiiiK83/9v72r/0kjW8OoFCQoFZpo6I3FxGK6ikZJ0DSo+MFtTRQNXdmsvbpxN64/bJvtdu/HmIFhTphMZjJkyKi/mLa7/Vfv+55zBvEbGC/uJPckKv3I8MyZ933e5/044iO07Yp63s5BwWtpS7BrxwH6EBFRrEqlCc8lzqGF1xdOGHNx9s1CrVY9+oKqEoU46PnwuTYnVKH4vneiMWVIjTE9eXJJm1Nx6yxa+YPB0dGf//O7ImHBDJQs8rz9b2O0N3tNXtRKXr4HngO6Sb+o7yHWsmqSI/QM5q8+dFis99VtnhZSFYm2qkoO0ENuhbQlys/WLialts5ZdIr+W3i6CiTPsEWN4D2DXbSECW7btsp81KVAyIPs/vLze8lr2EdLQafgJQmLToA0FL5cz8Ai8DUFgabZHlwHxCr4zvSVvIildW/6HIEfxyaZRDsjT8cvsR3BNiEY/li7W/+shHxZ0qTQJd4a5TKtWBtxAv5JHPYX+5Pi1TTwNRYzsEf7bK1Nn43TJm+JXKml+TGzwGZbdbbPidkgPhH1WNeVWuMTHwGqxpS6PdPpHRBlFPcaMb6/IU4CZ045AU+xS0QJXS2UDoLpoE2JykBb81qvsftTQtH97ErjcGqOc2Ztyd+2zdPugoR6/roEfBpyXKyBy75wG1cfnEG+0cB0rm69J/iqSkvYxaP+NpPDibiCdUb5gs0HoukIXel0+nBDx2RF0shw6xsEuo8oOMyjkevK94vHtI5ZrNTetrP53p+6aC8TqFKnNh/wPj+MxRJblsmWZVk5DWux8H+M1tXCNtqNiAotfl27Hzef6cyFl2241E8+BKZhGjj/xBNYf57IJk1TVct8CfB1cqYj6aBltWo7409xWAfb1OTxtV4z9XdeAq/Otiw0IRmh24rdhfnP/4weFlKqjVwQBPt7TkPbBeV558DBFY9XMKGFO9d915f/g0tVXtSptlrUYXUbSYEwq89//vDVMgWKFr6Ec/CCoJ7qSNiiIhsDvS2RJU6aYhwhysr10cI/tVDh0za171qCj3MQbIaS6Bufv1p8x9mqmw6+/qQRjDhAHcZY8/DXxrB5gaH6svy4wPlsBhA89/iHYCvgFUzYMIfVN34rCDb0+t7z1/CHco4Q2rxBwdAs6/+4YtBWKRgOid/cNhp9UWXjrkeVuear+GGwSWRKEcCfFUzbSuh2c3e1HRf+4lSnKZZMZGO4OfhrK4Yu0qqWfPuICJvNocTTvxlsNooYBKc+wG700xOKUKhvehl8lzMm9WJBQN5RsH+lNDknN0iLESgSgBZu9xba9WRrrinjCYx/Q4dXsVTDwQsCvwFBNa1E7HxlLVNF09epYABMyuPxu7Z/bfsxgeit4XQRufN239bskbTKcROuGx7wyQrNNaVG8GzXsxBgGw8EZdKTB1sMPs6rYx7gG76dOcMrPkKweAaeLt39rHBegg/oHNX+0XcXUYYMnY0+K4QAeNxztu2CmZ3MXKU1fyadVHOajnOkOClKjNDwzZD8yyGR4IAyzlfAzt8dI6Ze1IdfK7U3L2/Zfv/4jAGPn45VinTn60tNFfI3Dcd2H27lwGclmWYCsmLM3GA+j6YfG9gpxQKIpjXpJaNUrrE2QnVhabPvetXT+3omrhAFSF6jNp9TbV4E7Nn0+s0GHcjkcxKRZUJHYSEJjs8sD65dhNa7Nrg8swcPFAcBcfJRNpochcVZIT7Di/hnFzd7rvrSMjINCmLs6ki6TMHzgJqMeG/Xef7ujz5d1tAVMZuRyV58Y2V5e/tHtrbHl1fm43sE58NlVHXI88PNBreepVqlPuV9VK3NLY2MjDbgCU+vzJd0GZkAK6LAlCKC5/HUzGaaUKQfz3TYeyJqOOmqgMuLhm9+g655nw+eJahhUdEkepqAKHePbTak6L/wciobWq9Ua8cv3r60179nfKLOSqwaBilZ9/1p1t3VTGSaeYtHH091XaJkKFPfgVCn45EZHX9QSSMpEBOwhCIroZYkac9if/28ADvjUMGjMnRVv2BdAuvBVLGKEugyi4dXQbASTR6a9B4i9dA5rxK7DgKmE74oCUo4/yor+BZ6fLhVPT06W600HntgAbgC91H8ouFmARWg4UjE2Phc4BYvlM1E0yc+vYefTgnVR4z6JaoG6Mirxu4Fh3dlIj4Ot54G9ywdV4v2AQ17Up3WTL4Y9GQLvgshytNfP3ytBykz38IJtUDezJ0R9B8ZmRMfAzusUcJSOT05QxQjtNxWCh8ceVWjM8bFYrHxwE+xZgB2BQhbl42nw4PvPlhlzpVmoqUTEIGEepI7Q3vHG0BWL9ERX3isogLupJfiM2ODnjZXcPFVDU9pnENnY39/4GQcXNz4ZngbMOyqnCtbMBtuPAnIFnNnGlxLEfm8oIhDvrAzOoGtmXbUWe/bfLtQrJ9Z4icFAH1J1kWIMUjB/nSKU72abfmU81AKiOrkU+70TEOu0RnnwKu9+PzA8o7jU7fBv/0wd0yH7KtFel4GnOEPIvpC02EWPqIFroZVK9ry1QMxk0bok5NPfyLP+wwDvs1vjH0bDvd67mMFR0dHfpnt7+9fOD4+rsHP2d/HJibq5pg2baPPt3HxtMVzGXN3Z2eCr52dezrdySN7H67N9+/f/9wDL3obD+ccqJwuD9o5EOtPmIyv1MT/+nfQXHf++3mKJVPqanvv3p3lPm+lPZ1feSYty+pum2eRIyZDb0Y6D96bZIZTTkXbvcKqytRdovOfSwCUxwhnv92j8QE0HdR41lDHt35X5cqy7efuj/GsQOg4+swWqziVC9H2rwHRjj6/jqOPphjXqzG/gx3giU2kw7/QIvCbyQKtOeRxhJ56/n6H3Tawa7LCU8rBqf71ff78kp1Gz0ONE8PxdO8yqdF59KuM7VVHkWZSZWnlg6CHfbsP9GXhAdCXnbE9Q89o92Esp+xQo0zy5OYh0GNbwTn6B7J7+tDvZe87z/fMchzbPYMfCzwE5zj2WlNFpVPutM5hdi84ZExv5OBgv1CwHgQ90sWB0yutR6PRTn8ABCoFWhNI/nU/L+wOlYac2fm86J4UMsut3Ije/68U7YULaiLgQvg0M0TWsaIuRN+9r/LUIu93IfxoihfytjIuRO9N8p6POulGv83b3fGs151+y3Y/FXHj5h+onPK3hlzpt3a/MOFC26H9A9bij7kQfnSLZxeCdejCiBupj+W4MeKC7di06Ual/DyrnsN/5D74q7yeKQjJQ/e57qRpz2Cqlvv0mj9m8pALrnvgut33Us+1G8fpgCvhs5Kemkqk3fXJ9h4vNR4+/q2mkrtDATc5QCBvqQ1zvGYqm89kMutucQJvfrUBPqTqQmorub87yVb3Xx5/JmueH3gAF1BVe1TQYbGwQ1l6JKXWx8DtF3gPqhvQe/zRZEpthG97srrrht/x7++OZBsMhp/fgB+Fd+6Iu95ILMUbafZsMrwsuEZ+BoZiFjs9c25FlovEsz+d3y808D/IH3dJ/3fRoQvLjXXa/6+b138BVEE6mOU/ueYAAAAASUVORK5CYII=
274
- `,t}function iN(){const t={};return t.url="/logos/hunan_cpc.png",t}function sN(t){if(!t.preset)return t;const i=t.preset.toUpperCase();return i==="ICPC"?rN():i==="CCPC"?nN():i==="HUNAN_CPC"?iN():t}const aN=t=>(V2("data-v-32fa4e5c"),t=t(),G2(),t),oN={"h-32":""},lN={key:0},cN={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},uN={"w-full":"",flex:""},fN={key:0,class:"logo"},hN=["src"],dN={class:"title","w-inherit":""},pN={"overflow-hidden":"","text-2xl":"",truncate:""},gN={"text-lg":""},mN={flex:"","items-end":""},vN={"float-left":"","font-mono":"","text-base":""},bN={class:"pl-0.5"},yN=aN(()=>zt("br",null,null,-1)),_N={"flex-1":""},wN={flex:"","items-center":"","justify-center":""},DN={"font-bold":"","font-mono":"",class:"w-[68%]"},EN={"float-right":""},FN={class:"MuiIconButton-label"},xN=ds({__name:"ContestIndexUI",props:{data:null},setup(t){const i=t,{t:s}=Gd(),a=mn(()=>i.data.contest),r=h6(),e=dr(null),d=s9(e),y=mn(()=>{if(a.value.logo)return sN(a.value.logo)});return(_,E)=>{const x=i6,A=tN,R=QI,L=qI,B=vl("RouterLink");return hn(),Yn("div",{ref_key:"el",ref:e},[zt("div",oN,[vr(d)?(hn(),Yn("div",lN,[zt("div",cN,[zt("div",uN,[vr(y)!==void 0?(hn(),Yn("div",fN,[zt("img",{class:"h-10 w-10",src:vr(NI)(vr(y)),alt:"logo"},null,8,hN)])):so("",!0),zt("div",dN,[Yr(x,null,{popper:Es(()=>[zt("div",gN,rs(vr(a).name),1)]),default:Es(()=>[zt("div",pN,rs(vr(a).name),1)]),_:1})])]),zt("div",mN,[zt("div",vN,[Wl(rs(vr(s)("index.start"))+": "+rs(vr(a).startTime.format("YYYY-MM-DD HH:mm:ss")),1),zt("sup",bN,rs(vr(a).startTime.format("z")),1),yN,Wl(" "+rs(vr(s)("index.duration"))+": "+rs(vr(a).getContestDuration()),1)]),zt("div",_N,[zt("div",wN,[zt("div",DN,[zt("div",null,[Yr(A,{state:vr(a).getContestState(vr(r)),"pending-time":vr(a).getContestPendingTime(vr(r))},null,8,["state","pending-time"])]),Yr(R,{width:vr(a).getContestProgressRatio(vr(r)),state:vr(a).getContestState(vr(r))},null,8,["width","state"])])])]),zt("div",EN,[Yr(B,{class:"go MuiIconButton-root",to:i.data.boardLink},{default:Es(()=>[zt("span",FN,[Yr(L)])]),_:1},8,["to"])])])])])):so("",!0)])],512)}}});const CN=qd(xN,[["__scopeId","data-v-32fa4e5c"]]),TN={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},AN={key:0,"mt-4":"","mb-4":"",class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":"","items-center":""},SN={key:0},kN={key:1},ON={key:1,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},RN={"w-240":""},PN={key:0,"mt-4":""},IN={key:1,p10:""},NN=zt("div",{op40:"",italic:"",mb5:""}," No result found ",-1),MN={row:"","justify-center":""},fD=1e3*60*5,k5=ds({__name:"index",setup(t){const{t:i}=Gd();b9(H7);const s=h6(),a=mn(()=>Math.floor(s.value.getTime()/fD));function r(){return`${window.DATA_HOST}index/contest_list.json?t=${a.value}`}const e=dr(r()),d=q6("s","",{transform:String}),y=dr(d.value),_=dr(null),E=dr([]),x=dr([]);function A(){x.value=E.value.filter(z=>{var Q;return((Q=y.value)==null?void 0:Q.length)===0&&(y.value=null),y.value===null?(d.value=void 0,!0):(d.value=y.value,!!(z.contest.name.includes(y.value)||z.contest.name.toLowerCase().includes(y.value.toLowerCase())||z.boardLink.toLocaleLowerCase().includes(y.value.toLowerCase())))})}function R(){var z;y.value=null,(z=_.value)==null||z.focus()}const{error:L,isFetching:B,isFinished:I}=h9(e,{refetch:!0,afterFetch:z=>(E.value=II(JSON.parse(z.data)),x.value=E.value.map(Q=>Q),A(),z)}).get();Qn(y,()=>{A()});const G=setInterval(()=>{e.value=r()},fD);return ch(()=>{clearInterval(G)}),(z,Q)=>(hn(),Yn("div",TN,[zt("div",null,[vr(B)||vr(L)?(hn(),Yn("div",AN,[vr(B)?(hn(),Yn("div",SN,rs(vr(i)("common.loading"))+"... ",1)):so("",!0),vr(L)?(hn(),Yn("div",kN,rs(vr(L)),1)):so("",!0)])):so("",!0),vr(I)?(hn(),Yn("div",ON,[zt("div",RN,[Yr(WI,{ref_key:"searchInputRef",ref:_,modelValue:vr(y),"onUpdate:modelValue":Q[0]||(Q[0]=ce=>Ln(y)?y.value=ce:null)},null,8,["modelValue"])]),vr(x).length?(hn(),Yn("div",PN,[(hn(!0),Yn(Ni,null,mE(vr(x),ce=>(hn(),qc(CN,{key:ce.boardLink,data:ce},null,8,["data"]))),128))])):(hn(),Yn("div",IN,[NN,zt("div",MN,[zt("button",{btn:"",onClick:Q[1]||(Q[1]=ce=>R())}," Clear search ")])]))])):so("",!0)])]))}}),hD={};typeof hD=="function"&&hD(k5);const LN=()=>Na(()=>import("./index-944742ec.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/index-944742ec.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/query-ebd5f692.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-b0ab1d18.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-2780acad.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/index-67b2a8c5.css"],import.meta.url),BN=()=>Na(()=>import("./index-0429e829.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/index-0429e829.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/query-ebd5f692.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-b0ab1d18.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-2780acad.js"],import.meta.url),UN=()=>Na(()=>import("./test-883825b2.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/test-883825b2.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-2780acad.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/user-cb76ec54.js"],import.meta.url),$N=()=>Na(()=>import("./board-bb2136d4.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/board-bb2136d4.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/Board-c41a7b12.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-2780acad.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/query-ebd5f692.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/Board-916a327e.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-b0ab1d18.js"],import.meta.url),HN=()=>Na(()=>import("./about-c29fef0e.js"),[],import.meta.url),WN=()=>Na(()=>import("./_...all_-f78942d0.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/_...all_-f78942d0.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/Board-c41a7b12.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-2780acad.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/query-ebd5f692.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/Board-916a327e.css"],import.meta.url),zN=()=>Na(()=>import("./_name_-8fee1ac6.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/_name_-8fee1ac6.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.44.3/dist/assets/user-cb76ec54.js"],import.meta.url),jN=[{name:"countdown",path:"/countdown",component:LN,props:!0,meta:{layout:"headless"}},{name:"balloon",path:"/balloon",component:BN,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:UN,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:k5,props:!0,meta:{layout:"index-layout"}},{name:"board",path:"/board",component:$N,props:!0,meta:{layout:"board-layout"}},{name:"about",path:"/about",component:HN,props:!0},{name:"all",path:"/:all(.*)*",component:WN,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:zN,props:!0}];const VN=z9(jN);Ok(EP,{routes:VN,base:"/"},t=>{Object.values(Object.assign({"./modules/i18n.ts":w8,"./modules/nprogress.ts":F8,"./modules/pinia.ts":P8,"./modules/pwa.ts":N8,"./modules/toast.ts":$8})).forEach(i=>{var s;return(s=i.install)==null?void 0:s.call(i,t)}),t.app.use(YR),t.app.use(gP)});export{Ql as $,TI as A,YN as B,qN as C,mE as D,qc as E,Ni as F,zS as G,Ln as H,eF as I,jS as J,wP as K,ZT as L,Es as M,Wl as N,ZN as O,rh as P,GA as Q,fM as R,sE as S,$p as T,AI as U,i6 as V,BI as W,k_ as X,$O as Y,vf as Z,Na as _,qd as a,Hc as a0,QN as a1,S2 as a2,LA as a3,hs as a4,qs as a5,L8 as a6,JN as a7,aM as a8,oM as a9,l4 as aA,JR as aB,Vb as aC,pa as aD,Cs as aE,va as aF,fP as aG,_f as aH,iM as aI,r_ as aJ,sM as aK,GD as aL,oh as aM,ll as aN,Cr as aO,JE as aP,X2 as aQ,g_ as aR,GN as aS,lM as aa,Jm as ab,M8 as ac,KN as ad,V2 as ae,G2 as af,NI as ag,Sp as ah,q6 as ai,yl as aj,ZF as ak,H7 as al,LI as am,dO as an,XN as ao,ch as ap,z7 as aq,tN as ar,QI as as,uv as at,eM as au,cl as av,fv as aw,KR as ax,QR as ay,$y as az,Yr as b,Yn as c,zt as d,L9 as e,sO as f,ds as g,b9 as h,h6 as i,dr as j,OI as k,vr as l,so as m,ma as n,hn as o,dl as p,hD as q,vl as r,mn as s,rs as t,Gd as u,s9 as v,Qn as w,gl as x,cM as y,uM as z};
274
+ `,t}function iN(){const t={};return t.url="/logos/hunan_cpc.png",t}function sN(t){if(!t.preset)return t;const i=t.preset.toUpperCase();return i==="ICPC"?rN():i==="CCPC"?nN():i==="HUNAN_CPC"?iN():t}const aN=t=>(V2("data-v-32fa4e5c"),t=t(),G2(),t),oN={"h-32":""},lN={key:0},cN={"w-240":"",flex:"","flex-col":"","justify-center":"","font-serif":"","pb-2":"",border:"b-2 gray-200 dark:gray-700"},uN={"w-full":"",flex:""},fN={key:0,class:"logo"},hN=["src"],dN={class:"title","w-inherit":""},pN={"overflow-hidden":"","text-2xl":"",truncate:""},gN={"text-lg":""},mN={flex:"","items-end":""},vN={"float-left":"","font-mono":"","text-base":""},bN={class:"pl-0.5"},yN=aN(()=>zt("br",null,null,-1)),_N={"flex-1":""},wN={flex:"","items-center":"","justify-center":""},DN={"font-bold":"","font-mono":"",class:"w-[68%]"},EN={"float-right":""},FN={class:"MuiIconButton-label"},xN=ds({__name:"ContestIndexUI",props:{data:null},setup(t){const i=t,{t:s}=Gd(),a=mn(()=>i.data.contest),r=h6(),e=dr(null),d=s9(e),y=mn(()=>{if(a.value.logo)return sN(a.value.logo)});return(_,E)=>{const x=i6,A=tN,R=QI,L=qI,B=vl("RouterLink");return hn(),Yn("div",{ref_key:"el",ref:e},[zt("div",oN,[vr(d)?(hn(),Yn("div",lN,[zt("div",cN,[zt("div",uN,[vr(y)!==void 0?(hn(),Yn("div",fN,[zt("img",{class:"h-10 w-10",src:vr(NI)(vr(y)),alt:"logo"},null,8,hN)])):so("",!0),zt("div",dN,[Yr(x,null,{popper:Es(()=>[zt("div",gN,rs(vr(a).name),1)]),default:Es(()=>[zt("div",pN,rs(vr(a).name),1)]),_:1})])]),zt("div",mN,[zt("div",vN,[Wl(rs(vr(s)("index.start"))+": "+rs(vr(a).startTime.format("YYYY-MM-DD HH:mm:ss")),1),zt("sup",bN,rs(vr(a).startTime.format("z")),1),yN,Wl(" "+rs(vr(s)("index.duration"))+": "+rs(vr(a).getContestDuration()),1)]),zt("div",_N,[zt("div",wN,[zt("div",DN,[zt("div",null,[Yr(A,{state:vr(a).getContestState(vr(r)),"pending-time":vr(a).getContestPendingTime(vr(r))},null,8,["state","pending-time"])]),Yr(R,{width:vr(a).getContestProgressRatio(vr(r)),state:vr(a).getContestState(vr(r))},null,8,["width","state"])])])]),zt("div",EN,[Yr(B,{class:"go MuiIconButton-root",to:i.data.boardLink},{default:Es(()=>[zt("span",FN,[Yr(L)])]),_:1},8,["to"])])])])])):so("",!0)])],512)}}});const CN=qd(xN,[["__scopeId","data-v-32fa4e5c"]]),TN={class:"sm:w-[1024px] lg:w-screen","lg:of-x-hidden":"",flex:"","flex-col":"","justify-center":"","items-center":""},AN={key:0,"mt-4":"","mb-4":"",class:"sm:w-[1000px] lg:w-screen",flex:"","justify-center":"","items-center":""},SN={key:0},kN={key:1},ON={key:1,class:"sm:w-[1000px] lg:w-screen min-h-120",flex:"","flex-col":"","items-center":""},RN={"w-240":""},PN={key:0,"mt-4":""},IN={key:1,p10:""},NN=zt("div",{op40:"",italic:"",mb5:""}," No result found ",-1),MN={row:"","justify-center":""},fD=1e3*60*5,k5=ds({__name:"index",setup(t){const{t:i}=Gd();b9(H7);const s=h6(),a=mn(()=>Math.floor(s.value.getTime()/fD));function r(){return`${window.DATA_HOST}index/contest_list.json?t=${a.value}`}const e=dr(r()),d=q6("s","",{transform:String}),y=dr(d.value),_=dr(null),E=dr([]),x=dr([]);function A(){x.value=E.value.filter(z=>{var Q;return((Q=y.value)==null?void 0:Q.length)===0&&(y.value=null),y.value===null?(d.value=void 0,!0):(d.value=y.value,!!(z.contest.name.includes(y.value)||z.contest.name.toLowerCase().includes(y.value.toLowerCase())||z.boardLink.toLocaleLowerCase().includes(y.value.toLowerCase())))})}function R(){var z;y.value=null,(z=_.value)==null||z.focus()}const{error:L,isFetching:B,isFinished:I}=h9(e,{refetch:!0,afterFetch:z=>(E.value=II(JSON.parse(z.data)),x.value=E.value.map(Q=>Q),A(),z)}).get();Qn(y,()=>{A()});const G=setInterval(()=>{e.value=r()},fD);return ch(()=>{clearInterval(G)}),(z,Q)=>(hn(),Yn("div",TN,[zt("div",null,[vr(B)||vr(L)?(hn(),Yn("div",AN,[vr(B)?(hn(),Yn("div",SN,rs(vr(i)("common.loading"))+"... ",1)):so("",!0),vr(L)?(hn(),Yn("div",kN,rs(vr(L)),1)):so("",!0)])):so("",!0),vr(I)?(hn(),Yn("div",ON,[zt("div",RN,[Yr(WI,{ref_key:"searchInputRef",ref:_,modelValue:vr(y),"onUpdate:modelValue":Q[0]||(Q[0]=ce=>Ln(y)?y.value=ce:null)},null,8,["modelValue"])]),vr(x).length?(hn(),Yn("div",PN,[(hn(!0),Yn(Ni,null,mE(vr(x),ce=>(hn(),qc(CN,{key:ce.boardLink,data:ce},null,8,["data"]))),128))])):(hn(),Yn("div",IN,[NN,zt("div",MN,[zt("button",{btn:"",onClick:Q[1]||(Q[1]=ce=>R())}," Clear search ")])]))])):so("",!0)])]))}}),hD={};typeof hD=="function"&&hD(k5);const LN=()=>Na(()=>import("./index-eb93e748.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/index-eb93e748.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/query-3fa14ec7.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-355e8892.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-d53a2e94.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/index-67b2a8c5.css"],import.meta.url),BN=()=>Na(()=>import("./index-fa8b49d4.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/index-fa8b49d4.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/query-3fa14ec7.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-355e8892.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-d53a2e94.js"],import.meta.url),UN=()=>Na(()=>import("./test-8377af2c.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/test-8377af2c.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-d53a2e94.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/user-59dce06c.js"],import.meta.url),$N=()=>Na(()=>import("./board-ac08a49e.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/board-ac08a49e.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/Board-d8672557.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-d53a2e94.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/query-3fa14ec7.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/Board-eada7b82.css","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/DataSourceInput.vue_vue_type_script_setup_true_lang-355e8892.js"],import.meta.url),HN=()=>Na(()=>import("./about-aafa19e0.js"),[],import.meta.url),WN=()=>Na(()=>import("./_...all_-49fdf693.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/_...all_-49fdf693.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/Board-d8672557.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/TheInput.vue_vue_type_script_setup_true_lang-d53a2e94.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/query-3fa14ec7.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/Board-eada7b82.css"],import.meta.url),zN=()=>Na(()=>import("./_name_-ecfcaff9.js"),["https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/_name_-ecfcaff9.js","https://cdn.jsdelivr.net/npm/@xcpcio/board-app@0.45.0/dist/assets/user-59dce06c.js"],import.meta.url),jN=[{name:"countdown",path:"/countdown",component:LN,props:!0,meta:{layout:"headless"}},{name:"balloon",path:"/balloon",component:BN,props:!0,meta:{layout:"headless"}},{name:"test",path:"/test",component:UN,props:!0,meta:{layout:"home"}},{name:"index",path:"/",component:k5,props:!0,meta:{layout:"index-layout"}},{name:"board",path:"/board",component:$N,props:!0,meta:{layout:"board-layout"}},{name:"about",path:"/about",component:HN,props:!0},{name:"all",path:"/:all(.*)*",component:WN,props:!0,meta:{layout:"board-layout"}},{name:"hi-name",path:"/hi/:name",component:zN,props:!0}];const VN=z9(jN);Ok(EP,{routes:VN,base:"/"},t=>{Object.values(Object.assign({"./modules/i18n.ts":w8,"./modules/nprogress.ts":F8,"./modules/pinia.ts":P8,"./modules/pwa.ts":N8,"./modules/toast.ts":$8})).forEach(i=>{var s;return(s=i.install)==null?void 0:s.call(i,t)}),t.app.use(YR),t.app.use(gP)});export{Ql as $,TI as A,YN as B,qN as C,mE as D,qc as E,Ni as F,zS as G,Ln as H,eF as I,jS as J,wP as K,ZT as L,Es as M,Wl as N,ZN as O,rh as P,GA as Q,fM as R,sE as S,$p as T,AI as U,i6 as V,BI as W,k_ as X,$O as Y,vf as Z,Na as _,qd as a,Hc as a0,QN as a1,S2 as a2,LA as a3,hs as a4,qs as a5,L8 as a6,JN as a7,aM as a8,oM as a9,l4 as aA,JR as aB,Vb as aC,pa as aD,Cs as aE,va as aF,fP as aG,_f as aH,iM as aI,r_ as aJ,sM as aK,GD as aL,oh as aM,ll as aN,Cr as aO,j7 as aP,JE as aQ,X2 as aR,g_ as aS,GN as aT,lM as aa,Jm as ab,M8 as ac,KN as ad,V2 as ae,G2 as af,NI as ag,Sp as ah,q6 as ai,yl as aj,ZF as ak,H7 as al,LI as am,dO as an,XN as ao,ch as ap,z7 as aq,tN as ar,QI as as,uv as at,eM as au,cl as av,fv as aw,KR as ax,QR as ay,$y as az,Yr as b,Yn as c,zt as d,L9 as e,sO as f,ds as g,b9 as h,h6 as i,dr as j,OI as k,vr as l,so as m,ma as n,hn as o,dl as p,hD as q,vl as r,mn as s,rs as t,Gd as u,s9 as v,Qn as w,gl as x,cM as y,uM as z};