mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-06-28 01:06:58 +00:00
42 lines
272 KiB
JavaScript
42 lines
272 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&s(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
|
* @vue/shared v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**//*! #__NO_SIDE_EFFECTS__ */function ll(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Fe={},qs=[],rn=()=>{},Gb=()=>!1,qi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),cl=e=>e.startsWith("onUpdate:"),et=Object.assign,ul=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jb=Object.prototype.hasOwnProperty,$e=(e,t)=>Jb.call(e,t),de=Array.isArray,Ks=e=>Hr(e)==="[object Map]",er=e=>Hr(e)==="[object Set]",mu=e=>Hr(e)==="[object Date]",me=e=>typeof e=="function",Ye=e=>typeof e=="string",ln=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",fl=e=>(He(e)||me(e))&&me(e.then)&&me(e.catch),cd=Object.prototype.toString,Hr=e=>cd.call(e),Qb=e=>Hr(e).slice(8,-1),ud=e=>Hr(e)==="[object Object]",dl=e=>Ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yr=ll(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ki=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Xb=/-(\w)/g,Vt=Ki(e=>e.replace(Xb,(t,n)=>n?n.toUpperCase():"")),Zb=/\B([A-Z])/g,ys=Ki(e=>e.replace(Zb,"-$1").toLowerCase()),Wi=Ki(e=>e.charAt(0).toUpperCase()+e.slice(1)),zo=Ki(e=>e?`on${Wi(e)}`:""),Hn=(e,t)=>!Object.is(e,t),wi=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},fd=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Di=e=>{const t=parseFloat(e);return isNaN(t)?e:t},dd=e=>{const t=Ye(e)?Number(e):NaN;return isNaN(t)?e:t};let gu;const zi=()=>gu||(gu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hl(e){if(de(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=Ye(s)?sv(s):hl(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(Ye(e)||He(e))return e}const ev=/;(?![^(]*\))/g,tv=/:([^]+)/,nv=/\/\*[^]*?\*\//g;function sv(e){const t={};return e.replace(nv,"").split(ev).forEach(n=>{if(n){const s=n.split(tv);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function bn(e){let t="";if(Ye(e))t=e;else if(de(e))for(let n=0;n<e.length;n++){const s=bn(e[n]);s&&(t+=s+" ")}else if(He(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const rv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",iv=ll(rv);function hd(e){return!!e||e===""}function ov(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=gs(e[s],t[s]);return n}function gs(e,t){if(e===t)return!0;let n=mu(e),s=mu(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ln(e),s=ln(t),n||s)return e===t;if(n=de(e),s=de(t),n||s)return n&&s?ov(e,t):!1;if(n=He(e),s=He(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const a in e){const l=e.hasOwnProperty(a),u=t.hasOwnProperty(a);if(l&&!u||!l&&u||!gs(e[a],t[a]))return!1}}return String(e)===String(t)}function pl(e,t){return e.findIndex(n=>gs(n,t))}const pd=e=>!!(e&&e.__v_isRef===!0),yn=e=>Ye(e)?e:e==null?"":de(e)||He(e)&&(e.toString===cd||!me(e.toString))?pd(e)?yn(e.value):JSON.stringify(e,md,2):String(e),md=(e,t)=>pd(t)?md(e,t.value):Ks(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Yo(s,o)+" =>"]=r,n),{})}:er(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Yo(n))}:ln(t)?Yo(t):He(t)&&!de(t)&&!ud(t)?String(t):t,Yo=(e,t="")=>{var n;return ln(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
* @vue/reactivity v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let ft;class gd{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ft,!t&&ft&&(this.index=(ft.scopes||(ft.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ft;try{return ft=this,t()}finally{ft=n}}}on(){++this._on===1&&(this.prevScope=ft,ft=this)}off(){this._on>0&&--this._on===0&&(ft=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function _d(e){return new gd(e)}function bd(){return ft}function av(e,t=!1){ft&&ft.cleanups.push(e)}let Ue;const Go=new WeakSet;class vd{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ft&&ft.active&&ft.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Go.has(this)&&(Go.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ed(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,_u(this),wd(this);const t=Ue,n=Wt;Ue=this,Wt=!0;try{return this.fn()}finally{Td(this),Ue=t,Wt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)_l(t);this.deps=this.depsTail=void 0,_u(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Go.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ma(this)&&this.run()}get dirty(){return Ma(this)}}let yd=0,Er,wr;function Ed(e,t=!1){if(e.flags|=8,t){e.next=wr,wr=e;return}e.next=Er,Er=e}function ml(){yd++}function gl(){if(--yd>0)return;if(wr){let t=wr;for(wr=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Er;){let t=Er;for(Er=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function wd(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Td(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),_l(s),lv(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ma(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ad(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ad(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Nr)||(e.globalVersion=Nr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ma(e))))return;e.flags|=2;const t=e.dep,n=Ue,s=Wt;Ue=e,Wt=!0;try{wd(e);const r=e.fn(e._value);(t.version===0||Hn(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Ue=n,Wt=s,Td(e),e.flags&=-3}}function _l(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)_l(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function lv(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Wt=!0;const Cd=[];function En(){Cd.push(Wt),Wt=!1}function wn(){const e=Cd.pop();Wt=e===void 0?!0:e}function _u(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Ue;Ue=void 0;try{t()}finally{Ue=n}}}let Nr=0;class cv{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class bl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Ue||!Wt||Ue===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Ue)n=this.activeLink=new cv(Ue,this),Ue.deps?(n.prevDep=Ue.depsTail,Ue.depsTail.nextDep=n,Ue.depsTail=n):Ue.deps=Ue.depsTail=n,Sd(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=Ue.depsTail,n.nextDep=void 0,Ue.depsTail.nextDep=n,Ue.depsTail=n,Ue.deps===n&&(Ue.deps=s)}return n}trigger(t){this.version++,Nr++,this.notify(t)}notify(t){ml();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{gl()}}}function Sd(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Sd(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const $i=new WeakMap,hs=Symbol(""),ka=Symbol(""),xr=Symbol("");function dt(e,t,n){if(Wt&&Ue){let s=$i.get(e);s||$i.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new bl),r.map=s,r.key=n),r.track()}}function mn(e,t,n,s,r,o){const a=$i.get(e);if(!a){Nr++;return}const l=u=>{u&&u.trigger()};if(ml(),t==="clear")a.forEach(l);else{const u=de(e),d=u&&dl(n);if(u&&n==="length"){const h=Number(s);a.forEach((p,_)=>{(_==="length"||_===xr||!ln(_)&&_>=h)&&l(p)})}else switch((n!==void 0||a.has(void 0))&&l(a.get(n)),d&&l(a.get(xr)),t){case"add":u?d&&l(a.get("length")):(l(a.get(hs)),Ks(e)&&l(a.get(ka)));break;case"delete":u||(l(a.get(hs)),Ks(e)&&l(a.get(ka)));break;case"set":Ks(e)&&l(a.get(hs));break}}gl()}function uv(e,t){const n=$i.get(e);return n&&n.get(t)}function Fs(e){const t=Oe(e);return t===e?t:(dt(t,"iterate",xr),Bt(e)?t:t.map(at))}function Yi(e){return dt(e=Oe(e),"iterate",xr),e}const fv={__proto__:null,[Symbol.iterator](){return Jo(this,Symbol.iterator,at)},concat(...e){return Fs(this).concat(...e.map(t=>de(t)?Fs(t):t))},entries(){return Jo(this,"entries",e=>(e[1]=at(e[1]),e))},every(e,t){return dn(this,"every",e,t,void 0,arguments)},filter(e,t){return dn(this,"filter",e,t,n=>n.map(at),arguments)},find(e,t){return dn(this,"find",e,t,at,arguments)},findIndex(e,t){return dn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return dn(this,"findLast",e,t,at,arguments)},findLastIndex(e,t){return dn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return dn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Qo(this,"includes",e)},indexOf(...e){return Qo(this,"indexOf",e)},join(e){return Fs(this).join(e)},lastIndexOf(...e){return Qo(this,"lastIndexOf",e)},map(e,t){return dn(this,"map",e,t,void 0,arguments)},pop(){return pr(this,"pop")},push(...e){return pr(this,"push",e)},reduce(e,...t){return bu(this,"reduce",e,t)},reduceRight(e,...t){return bu(this,"reduceRight",e,t)},shift(){return pr(this,"shift")},some(e,t){return dn(this,"some",e,t,void 0,arguments)},splice(...e){return pr(this,"splice",e)},toReversed(){return Fs(this).toReversed()},toSorted(e){return Fs(this).toSorted(e)},toSpliced(...e){return Fs(this).toSpliced(...e)},unshift(...e){return pr(this,"unshift",e)},values(){return Jo(this,"values",at)}};function Jo(e,t,n){const s=Yi(e),r=s[t]();return s!==e&&!Bt(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=n(o.value)),o}),r}const dv=Array.prototype;function dn(e,t,n,s,r,o){const a=Yi(e),l=a!==e&&!Bt(e),u=a[t];if(u!==dv[t]){const p=u.apply(e,o);return l?at(p):p}let d=n;a!==e&&(l?d=function(p,_){return n.call(this,at(p),_,e)}:n.length>2&&(d=function(p,_){return n.call(this,p,_,e)}));const h=u.call(a,d,s);return l&&r?r(h):h}function bu(e,t,n,s){const r=Yi(e);let o=n;return r!==e&&(Bt(e)?n.length>3&&(o=function(a,l,u){return n.call(this,a,l,u,e)}):o=function(a,l,u){return n.call(this,a,at(l),u,e)}),r[t](o,...s)}function Qo(e,t,n){const s=Oe(e);dt(s,"iterate",xr);const r=s[t](...n);return(r===-1||r===!1)&&El(n[0])?(n[0]=Oe(n[0]),s[t](...n)):r}function pr(e,t,n=[]){En(),ml();const s=Oe(e)[t].apply(e,n);return gl(),wn(),s}const hv=ll("__proto__,__v_isRef,__isVue"),Od=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ln));function pv(e){ln(e)||(e=String(e));const t=Oe(this);return dt(t,"has",e),t.hasOwnProperty(e)}class Rd{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Av:Dd:o?Pd:xd).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const a=de(t);if(!r){let u;if(a&&(u=fv[n]))return u;if(n==="hasOwnProperty")return pv}const l=Reflect.get(t,n,Qe(t)?t:s);return(ln(n)?Od.has(n):hv(n))||(r||dt(t,"get",n),o)?l:Qe(l)?a&&dl(n)?l:l.value:He(l)?r?Ld(l):Tn(l):l}}class Nd extends Rd{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];if(!this._isShallow){const u=Un(o);if(!Bt(s)&&!Un(s)&&(o=Oe(o),s=Oe(s)),!de(t)&&Qe(o)&&!Qe(s))return u?!1:(o.value=s,!0)}const a=de(t)&&dl(n)?Number(n)<t.length:$e(t,n),l=Reflect.set(t,n,s,Qe(t)?t:r);return t===Oe(r)&&(a?Hn(s,o)&&mn(t,"set",n,s):mn(t,"add",n,s)),l}deleteProperty(t,n){const s=$e(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&mn(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!ln(n)||!Od.has(n))&&dt(t,"has",n),s}ownKeys(t){return dt(t,"iterate",de(t)?"length":hs),Reflect.ownKeys(t)}}class mv extends Rd{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const gv=new Nd,_v=new mv,bv=new Nd(!0);const Ba=e=>e,gi=e=>Reflect.getPrototypeOf(e);function vv(e,t,n){return function(...s){const r=this.__v_raw,o=Oe(r),a=Ks(o),l=e==="entries"||e===Symbol.iterator&&a,u=e==="keys"&&a,d=r[e](...s),h=n?Ba:t?Li:at;return!t&&dt(o,"iterate",u?ka:hs),{next(){const{value:p,done:_}=d.next();return _?{value:p,done:_}:{value:l?[h(p[0]),h(p[1])]:h(p),done:_}},[Symbol.iterator](){return this}}}}function _i(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yv(e,t){const n={get(r){const o=this.__v_raw,a=Oe(o),l=Oe(r);e||(Hn(r,l)&&dt(a,"get",r),dt(a,"get",l));const{has:u}=gi(a),d=t?Ba:e?Li:at;if(u.call(a,r))return d(o.get(r));if(u.call(a,l))return d(o.get(l));o!==a&&o.get(r)},get size(){const r=this.__v_raw;return!e&&dt(Oe(r),"iterate",hs),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,a=Oe(o),l=Oe(r);return e||(Hn(r,l)&&dt(a,"has",r),dt(a,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const a=this,l=a.__v_raw,u=Oe(l),d=t?Ba:e?Li:at;return!e&&dt(u,"iterate",hs),l.forEach((h,p)=>r.call(o,d(h),d(p),a))}};return et(n,e?{add:_i("add"),set:_i("set"),delete:_i("delete"),clear:_i("clear")}:{add(r){!t&&!Bt(r)&&!Un(r)&&(r=Oe(r));const o=Oe(this);return gi(o).has.call(o,r)||(o.add(r),mn(o,"add",r,r)),this},set(r,o){!t&&!Bt(o)&&!Un(o)&&(o=Oe(o));const a=Oe(this),{has:l,get:u}=gi(a);let d=l.call(a,r);d||(r=Oe(r),d=l.call(a,r));const h=u.call(a,r);return a.set(r,o),d?Hn(o,h)&&mn(a,"set",r,o):mn(a,"add",r,o),this},delete(r){const o=Oe(this),{has:a,get:l}=gi(o);let u=a.call(o,r);u||(r=Oe(r),u=a.call(o,r)),l&&l.call(o,r);const d=o.delete(r);return u&&mn(o,"delete",r,void 0),d},clear(){const r=Oe(this),o=r.size!==0,a=r.clear();return o&&mn(r,"clear",void 0,void 0),a}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=vv(r,e,t)}),n}function vl(e,t){const n=yv(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get($e(n,r)&&r in s?n:s,r,o)}const Ev={get:vl(!1,!1)},wv={get:vl(!1,!0)},Tv={get:vl(!0,!1)};const xd=new WeakMap,Pd=new WeakMap,Dd=new WeakMap,Av=new WeakMap;function Cv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Sv(e){return e.__v_skip||!Object.isExtensible(e)?0:Cv(Qb(e))}function Tn(e){return Un(e)?e:yl(e,!1,gv,Ev,xd)}function $d(e){return yl(e,!1,bv,wv,Pd)}function Ld(e){return yl(e,!0,_v,Tv,Dd)}function yl(e,t,n,s,r){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=Sv(e);if(o===0)return e;const a=r.get(e);if(a)return a;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function Vn(e){return Un(e)?Vn(e.__v_raw):!!(e&&e.__v_isReactive)}function Un(e){return!!(e&&e.__v_isReadonly)}function Bt(e){return!!(e&&e.__v_isShallow)}function El(e){return e?!!e.__v_raw:!1}function Oe(e){const t=e&&e.__v_raw;return t?Oe(t):e}function wl(e){return!$e(e,"__v_skip")&&Object.isExtensible(e)&&fd(e,"__v_skip",!0),e}const at=e=>He(e)?Tn(e):e,Li=e=>He(e)?Ld(e):e;function Qe(e){return e?e.__v_isRef===!0:!1}function At(e){return Id(e,!1)}function Ov(e){return Id(e,!0)}function Id(e,t){return Qe(e)?e:new Rv(e,t)}class Rv{constructor(t,n){this.dep=new bl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Oe(t),this._value=n?t:at(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Bt(t)||Un(t);t=s?t:Oe(t),Hn(t,n)&&(this._rawValue=t,this._value=s?t:at(t),this.dep.trigger())}}function on(e){return Qe(e)?e.value:e}const Nv={get:(e,t,n)=>t==="__v_raw"?e:on(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Qe(r)&&!Qe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Md(e){return Vn(e)?e:new Proxy(e,Nv)}function xv(e){const t=de(e)?new Array(e.length):{};for(const n in e)t[n]=Dv(e,n);return t}class Pv{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return uv(Oe(this._object),this._key)}}function Dv(e,t,n){const s=e[t];return Qe(s)?s:new Pv(e,t,n)}class $v{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new bl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Nr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&Ue!==this)return Ed(this,!0),!0}get value(){const t=this.dep.track();return Ad(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Lv(e,t,n=!1){let s,r;return me(e)?s=e:(s=e.get,r=e.set),new $v(s,r,n)}const bi={},Ii=new WeakMap;let fs;function Iv(e,t=!1,n=fs){if(n){let s=Ii.get(n);s||Ii.set(n,s=[]),s.push(e)}}function Mv(e,t,n=Fe){const{immediate:s,deep:r,once:o,scheduler:a,augmentJob:l,call:u}=n,d=B=>r?B:Bt(B)||r===!1||r===0?gn(B,1):gn(B);let h,p,_,g,E=!1,T=!1;if(Qe(e)?(p=()=>e.value,E=Bt(e)):Vn(e)?(p=()=>d(e),E=!0):de(e)?(T=!0,E=e.some(B=>Vn(B)||Bt(B)),p=()=>e.map(B=>{if(Qe(B))return B.value;if(Vn(B))return d(B);if(me(B))return u?u(B,2):B()})):me(e)?t?p=u?()=>u(e,2):e:p=()=>{if(_){En();try{_()}finally{wn()}}const B=fs;fs=h;try{return u?u(e,3,[g]):e(g)}finally{fs=B}}:p=rn,t&&r){const B=p,j=r===!0?1/0:r;p=()=>gn(B(),j)}const k=bd(),P=()=>{h.stop(),k&&k.active&&ul(k.effects,h)};if(o&&t){const B=t;t=(...j)=>{B(...j),P()}}let D=T?new Array(e.length).fill(bi):bi;const I=B=>{if(!(!(h.flags&1)||!h.dirty&&!B))if(t){const j=h.run();if(r||E||(T?j.some((N,K)=>Hn(N,D[K])):Hn(j,D))){_&&_();const N=fs;fs=h;try{const K=[j,D===bi?void 0:T&&D[0]===bi?[]:D,g];D=j,u?u(t,3,K):t(...K)}finally{fs=N}}}else h.run()};return l&&l(I),h=new vd(p),h.scheduler=a?()=>a(I,!1):I,g=B=>Iv(B,!1,h),_=h.onStop=()=>{const B=Ii.get(h);if(B){if(u)u(B,4);else for(const j of B)j();Ii.delete(h)}},t?s?I(!0):D=h.run():a?a(I.bind(null,!0),!0):h.run(),P.pause=h.pause.bind(h),P.resume=h.resume.bind(h),P.stop=P,P}function gn(e,t=1/0,n){if(t<=0||!He(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Qe(e))gn(e.value,t,n);else if(de(e))for(let s=0;s<e.length;s++)gn(e[s],t,n);else if(er(e)||Ks(e))e.forEach(s=>{gn(s,t,n)});else if(ud(e)){for(const s in e)gn(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&gn(e[s],t,n)}return e}/**
|
|
* @vue/runtime-core v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/function Vr(e,t,n,s){try{return s?e(...s):e()}catch(r){Ur(r,t,n)}}function zt(e,t,n,s){if(me(e)){const r=Vr(e,t,n,s);return r&&fl(r)&&r.catch(o=>{Ur(o,t,n)}),r}if(de(e)){const r=[];for(let o=0;o<e.length;o++)r.push(zt(e[o],t,n,s));return r}}function Ur(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||Fe;if(t){let l=t.parent;const u=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const h=l.ec;if(h){for(let p=0;p<h.length;p++)if(h[p](e,u,d)===!1)return}l=l.parent}if(o){En(),Vr(o,null,10,[e,u,d]),wn();return}}kv(e,n,r,s,a)}function kv(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const yt=[];let nn=-1;const Ws=[];let Mn=null,Us=0;const kd=Promise.resolve();let Mi=null;function Gi(e){const t=Mi||kd;return e?t.then(this?e.bind(this):e):t}function Bv(e){let t=nn+1,n=yt.length;for(;t<n;){const s=t+n>>>1,r=yt[s],o=Pr(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Tl(e){if(!(e.flags&1)){const t=Pr(e),n=yt[yt.length-1];!n||!(e.flags&2)&&t>=Pr(n)?yt.push(e):yt.splice(Bv(t),0,e),e.flags|=1,Bd()}}function Bd(){Mi||(Mi=kd.then(Hd))}function Fa(e){de(e)?Ws.push(...e):Mn&&e.id===-1?Mn.splice(Us+1,0,e):e.flags&1||(Ws.push(e),e.flags|=1),Bd()}function vu(e,t,n=nn+1){for(;n<yt.length;n++){const s=yt[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;yt.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Fd(e){if(Ws.length){const t=[...new Set(Ws)].sort((n,s)=>Pr(n)-Pr(s));if(Ws.length=0,Mn){Mn.push(...t);return}for(Mn=t,Us=0;Us<Mn.length;Us++){const n=Mn[Us];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Mn=null,Us=0}}const Pr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Hd(e){try{for(nn=0;nn<yt.length;nn++){const t=yt[nn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Vr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;nn<yt.length;nn++){const t=yt[nn];t&&(t.flags&=-2)}nn=-1,yt.length=0,Fd(),Mi=null,(yt.length||Ws.length)&&Hd()}}let Et=null,Vd=null;function ki(e){const t=Et;return Et=e,Vd=e&&e.type.__scopeId||null,t}function $t(e,t=Et,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Pu(-1);const o=ki(t);let a;try{a=e(...r)}finally{ki(o),s._d&&Pu(1)}return a};return s._n=!0,s._c=!0,s._d=!0,s}function an(e,t){if(Et===null)return e;const n=eo(Et),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,a,l,u=Fe]=t[r];o&&(me(o)&&(o={mounted:o,updated:o}),o.deep&&gn(a),s.push({dir:o,instance:n,value:a,oldValue:void 0,arg:l,modifiers:u}))}return e}function ls(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let a=0;a<r.length;a++){const l=r[a];o&&(l.oldValue=o[a].value);let u=l.dir[s];u&&(En(),zt(u,n,8,[e.el,l,e,t]),wn())}}const Fv=Symbol("_vte"),Ud=e=>e.__isTeleport,kn=Symbol("_leaveCb"),vi=Symbol("_enterCb");function jd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Es(()=>{e.isMounted=!0}),Xd(()=>{e.isUnmounting=!0}),e}const kt=[Function,Array],qd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kt,onEnter:kt,onAfterEnter:kt,onEnterCancelled:kt,onBeforeLeave:kt,onLeave:kt,onAfterLeave:kt,onLeaveCancelled:kt,onBeforeAppear:kt,onAppear:kt,onAfterAppear:kt,onAppearCancelled:kt},Kd=e=>{const t=e.subTree;return t.component?Kd(t.component):t},Hv={name:"BaseTransition",props:qd,setup(e,{slots:t}){const n=xl(),s=jd();return()=>{const r=t.default&&Al(t.default(),!0);if(!r||!r.length)return;const o=Wd(r),a=Oe(e),{mode:l}=a;if(s.isLeaving)return Xo(o);const u=yu(o);if(!u)return Xo(o);let d=Dr(u,a,s,n,p=>d=p);u.type!==lt&&_s(u,d);let h=n.subTree&&yu(n.subTree);if(h&&h.type!==lt&&!sn(u,h)&&Kd(n).type!==lt){let p=Dr(h,a,s,n);if(_s(h,p),l==="out-in"&&u.type!==lt)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,h=void 0},Xo(o);l==="in-out"&&u.type!==lt?p.delayLeave=(_,g,E)=>{const T=zd(s,h);T[String(h.key)]=h,_[kn]=()=>{g(),_[kn]=void 0,delete d.delayedLeave,h=void 0},d.delayedLeave=()=>{E(),delete d.delayedLeave,h=void 0}}:h=void 0}else h&&(h=void 0);return o}}};function Wd(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==lt){t=n;break}}return t}const Vv=Hv;function zd(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Dr(e,t,n,s,r){const{appear:o,mode:a,persisted:l=!1,onBeforeEnter:u,onEnter:d,onAfterEnter:h,onEnterCancelled:p,onBeforeLeave:_,onLeave:g,onAfterLeave:E,onLeaveCancelled:T,onBeforeAppear:k,onAppear:P,onAfterAppear:D,onAppearCancelled:I}=t,B=String(e.key),j=zd(n,e),N=(O,F)=>{O&&zt(O,s,9,F)},K=(O,F)=>{const U=F[1];N(O,F),de(O)?O.every($=>$.length<=1)&&U():O.length<=1&&U()},H={mode:a,persisted:l,beforeEnter(O){let F=u;if(!n.isMounted)if(o)F=k||u;else return;O[kn]&&O[kn](!0);const U=j[B];U&&sn(e,U)&&U.el[kn]&&U.el[kn](),N(F,[O])},enter(O){let F=d,U=h,$=p;if(!n.isMounted)if(o)F=P||d,U=D||h,$=I||p;else return;let Q=!1;const W=O[vi]=X=>{Q||(Q=!0,X?N($,[O]):N(U,[O]),H.delayedLeave&&H.delayedLeave(),O[vi]=void 0)};F?K(F,[O,W]):W()},leave(O,F){const U=String(e.key);if(O[vi]&&O[vi](!0),n.isUnmounting)return F();N(_,[O]);let $=!1;const Q=O[kn]=W=>{$||($=!0,F(),W?N(T,[O]):N(E,[O]),O[kn]=void 0,j[U]===e&&delete j[U])};j[U]=e,g?K(g,[O,Q]):Q()},clone(O){const F=Dr(O,t,n,s,r);return r&&r(F),F}};return H}function Xo(e){if(Ji(e))return e=qn(e),e.children=null,e}function yu(e){if(!Ji(e))return Ud(e.type)&&e.children?Wd(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&me(n.default))return n.default()}}function _s(e,t){e.shapeFlag&6&&e.component?(e.transition=t,_s(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Al(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let a=e[o];const l=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===wt?(a.patchFlag&128&&r++,s=s.concat(Al(a.children,t,l))):(t||a.type!==lt)&&s.push(l!=null?qn(a,{key:l}):a)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function Yd(e,t){return me(e)?et({name:e.name},t,{setup:e}):e}function Gd(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Bi(e,t,n,s,r=!1){if(de(e)){e.forEach((E,T)=>Bi(E,t&&(de(t)?t[T]:t),n,s,r));return}if(Tr(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Bi(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?eo(s.component):s.el,a=r?null:o,{i:l,r:u}=e,d=t&&t.r,h=l.refs===Fe?l.refs={}:l.refs,p=l.setupState,_=Oe(p),g=p===Fe?()=>!1:E=>$e(_,E);if(d!=null&&d!==u&&(Ye(d)?(h[d]=null,g(d)&&(p[d]=null)):Qe(d)&&(d.value=null)),me(u))Vr(u,l,12,[a,h]);else{const E=Ye(u),T=Qe(u);if(E||T){const k=()=>{if(e.f){const P=E?g(u)?p[u]:h[u]:u.value;r?de(P)&&ul(P,o):de(P)?P.includes(o)||P.push(o):E?(h[u]=[o],g(u)&&(p[u]=h[u])):(u.value=[o],e.k&&(h[e.k]=u.value))}else E?(h[u]=a,g(u)&&(p[u]=a)):T&&(u.value=a,e.k&&(h[e.k]=a))};a?(k.id=-1,Dt(k,n)):k()}}}zi().requestIdleCallback;zi().cancelIdleCallback;const Tr=e=>!!e.type.__asyncLoader,Ji=e=>e.type.__isKeepAlive;function Uv(e,t){Jd(e,"a",t)}function jv(e,t){Jd(e,"da",t)}function Jd(e,t,n=nt){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Qi(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ji(r.parent.vnode)&&qv(s,t,n,r),r=r.parent}}function qv(e,t,n,s){const r=Qi(t,e,s,!0);Zd(()=>{ul(s[t],r)},n)}function Qi(e,t,n=nt,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{En();const l=bs(n),u=zt(t,n,e,a);return l(),wn(),u});return s?r.unshift(o):r.push(o),o}}const An=e=>(t,n=nt)=>{(!Mr||e==="sp")&&Qi(e,(...s)=>t(...s),n)},Kv=An("bm"),Es=An("m"),Wv=An("bu"),Qd=An("u"),Xd=An("bum"),Zd=An("um"),zv=An("sp"),Yv=An("rtg"),Gv=An("rtc");function Jv(e,t=nt){Qi("ec",e,t)}const eh="components";function jr(e,t){return nh(eh,e,!0,t)||e}const th=Symbol.for("v-ndc");function Qv(e){return Ye(e)?nh(eh,e,!1)||e:e||th}function nh(e,t,n=!0,s=!1){const r=Et||nt;if(r){const o=r.type;{const l=Wy(o,!1);if(l&&(l===t||l===Vt(t)||l===Wi(Vt(t))))return o}const a=Eu(r[e]||o[e],t)||Eu(r.appContext[e],t);return!a&&s?o:a}}function Eu(e,t){return e&&(e[t]||e[Vt(t)]||e[Wi(Vt(t))])}function Cl(e,t,n,s){let r;const o=n,a=de(e);if(a||Ye(e)){const l=a&&Vn(e);let u=!1,d=!1;l&&(u=!Bt(e),d=Un(e),e=Yi(e)),r=new Array(e.length);for(let h=0,p=e.length;h<p;h++)r[h]=t(u?d?Li(at(e[h])):at(e[h]):e[h],h,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(He(e))if(e[Symbol.iterator])r=Array.from(e,(l,u)=>t(l,u,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let u=0,d=l.length;u<d;u++){const h=l[u];r[u]=t(e[h],h,u,o)}}else r=[];return r}const Ha=e=>e?Ah(e)?eo(e):Ha(e.parent):null,Ar=et(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ha(e.parent),$root:e=>Ha(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>rh(e),$forceUpdate:e=>e.f||(e.f=()=>{Tl(e.update)}),$nextTick:e=>e.n||(e.n=Gi.bind(e.proxy)),$watch:e=>yy.bind(e)}),Zo=(e,t)=>e!==Fe&&!e.__isScriptSetup&&$e(e,t),Xv={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:a,type:l,appContext:u}=e;let d;if(t[0]!=="$"){const g=a[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Zo(s,t))return a[t]=1,s[t];if(r!==Fe&&$e(r,t))return a[t]=2,r[t];if((d=e.propsOptions[0])&&$e(d,t))return a[t]=3,o[t];if(n!==Fe&&$e(n,t))return a[t]=4,n[t];Va&&(a[t]=0)}}const h=Ar[t];let p,_;if(h)return t==="$attrs"&&dt(e.attrs,"get",""),h(e);if((p=l.__cssModules)&&(p=p[t]))return p;if(n!==Fe&&$e(n,t))return a[t]=4,n[t];if(_=u.config.globalProperties,$e(_,t))return _[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Zo(r,t)?(r[t]=n,!0):s!==Fe&&$e(s,t)?(s[t]=n,!0):$e(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},a){let l;return!!n[a]||e!==Fe&&$e(e,a)||Zo(t,a)||(l=o[0])&&$e(l,a)||$e(s,a)||$e(Ar,a)||$e(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:$e(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function wu(e){return de(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Zv(e){const t=xl();let n=e();return Wa(),fl(n)&&(n=n.catch(s=>{throw bs(t),s})),[n,()=>bs(t)]}let Va=!0;function ey(e){const t=rh(e),n=e.proxy,s=e.ctx;Va=!1,t.beforeCreate&&Tu(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:a,watch:l,provide:u,inject:d,created:h,beforeMount:p,mounted:_,beforeUpdate:g,updated:E,activated:T,deactivated:k,beforeDestroy:P,beforeUnmount:D,destroyed:I,unmounted:B,render:j,renderTracked:N,renderTriggered:K,errorCaptured:H,serverPrefetch:O,expose:F,inheritAttrs:U,components:$,directives:Q,filters:W}=t;if(d&&ty(d,s,null),a)for(const J in a){const G=a[J];me(G)&&(s[J]=G.bind(n))}if(r){const J=r.call(n,n);He(J)&&(e.data=Tn(J))}if(Va=!0,o)for(const J in o){const G=o[J],ce=me(G)?G.bind(n,n):me(G.get)?G.get.bind(n,n):rn,ue=!me(G)&&me(G.set)?G.set.bind(n):rn,ge=st({get:ce,set:ue});Object.defineProperty(s,J,{enumerable:!0,configurable:!0,get:()=>ge.value,set:be=>ge.value=be})}if(l)for(const J in l)sh(l[J],s,n,J);if(u){const J=me(u)?u.call(n):u;Reflect.ownKeys(J).forEach(G=>{Ti(G,J[G])})}h&&Tu(h,e,"c");function z(J,G){de(G)?G.forEach(ce=>J(ce.bind(n))):G&&J(G.bind(n))}if(z(Kv,p),z(Es,_),z(Wv,g),z(Qd,E),z(Uv,T),z(jv,k),z(Jv,H),z(Gv,N),z(Yv,K),z(Xd,D),z(Zd,B),z(zv,O),de(F))if(F.length){const J=e.exposed||(e.exposed={});F.forEach(G=>{Object.defineProperty(J,G,{get:()=>n[G],set:ce=>n[G]=ce})})}else e.exposed||(e.exposed={});j&&e.render===rn&&(e.render=j),U!=null&&(e.inheritAttrs=U),$&&(e.components=$),Q&&(e.directives=Q),O&&Gd(e)}function ty(e,t,n=rn){de(e)&&(e=Ua(e));for(const s in e){const r=e[s];let o;He(r)?"default"in r?o=Ft(r.from||s,r.default,!0):o=Ft(r.from||s):o=Ft(r),Qe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[s]=o}}function Tu(e,t,n){zt(de(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function sh(e,t,n,s){let r=s.includes(".")?_h(n,s):()=>n[s];if(Ye(e)){const o=t[e];me(o)&&zs(r,o)}else if(me(e))zs(r,e.bind(n));else if(He(e))if(de(e))e.forEach(o=>sh(o,t,n,s));else{const o=me(e.handler)?e.handler.bind(n):t[e.handler];me(o)&&zs(r,o,e)}}function rh(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let u;return l?u=l:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(d=>Fi(u,d,a,!0)),Fi(u,t,a)),He(t)&&o.set(t,u),u}function Fi(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Fi(e,o,n,!0),r&&r.forEach(a=>Fi(e,a,n,!0));for(const a in t)if(!(s&&a==="expose")){const l=ny[a]||n&&n[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const ny={data:Au,props:Cu,emits:Cu,methods:vr,computed:vr,beforeCreate:vt,created:vt,beforeMount:vt,mounted:vt,beforeUpdate:vt,updated:vt,beforeDestroy:vt,beforeUnmount:vt,destroyed:vt,unmounted:vt,activated:vt,deactivated:vt,errorCaptured:vt,serverPrefetch:vt,components:vr,directives:vr,watch:ry,provide:Au,inject:sy};function Au(e,t){return t?e?function(){return et(me(e)?e.call(this,this):e,me(t)?t.call(this,this):t)}:t:e}function sy(e,t){return vr(Ua(e),Ua(t))}function Ua(e){if(de(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function vt(e,t){return e?[...new Set([].concat(e,t))]:t}function vr(e,t){return e?et(Object.create(null),e,t):t}function Cu(e,t){return e?de(e)&&de(t)?[...new Set([...e,...t])]:et(Object.create(null),wu(e),wu(t??{})):t}function ry(e,t){if(!e)return t;if(!t)return e;const n=et(Object.create(null),e);for(const s in t)n[s]=vt(e[s],t[s]);return n}function ih(){return{app:null,config:{isNativeTag:Gb,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let iy=0;function oy(e,t){return function(s,r=null){me(s)||(s=et({},s)),r!=null&&!He(r)&&(r=null);const o=ih(),a=new WeakSet,l=[];let u=!1;const d=o.app={_uid:iy++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Yy,get config(){return o.config},set config(h){},use(h,...p){return a.has(h)||(h&&me(h.install)?(a.add(h),h.install(d,...p)):me(h)&&(a.add(h),h(d,...p))),d},mixin(h){return o.mixins.includes(h)||o.mixins.push(h),d},component(h,p){return p?(o.components[h]=p,d):o.components[h]},directive(h,p){return p?(o.directives[h]=p,d):o.directives[h]},mount(h,p,_){if(!u){const g=d._ceVNode||xe(s,r);return g.appContext=o,_===!0?_="svg":_===!1&&(_=void 0),e(g,h,_),u=!0,d._container=h,h.__vue_app__=d,eo(g.component)}},onUnmount(h){l.push(h)},unmount(){u&&(zt(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(h,p){return o.provides[h]=p,d},runWithContext(h){const p=ps;ps=d;try{return h()}finally{ps=p}}};return d}}let ps=null;function Ti(e,t){if(nt){let n=nt.provides;const s=nt.parent&&nt.parent.provides;s===n&&(n=nt.provides=Object.create(s)),n[e]=t}}function Ft(e,t,n=!1){const s=nt||Et;if(s||ps){let r=ps?ps._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&me(t)?t.call(s&&s.proxy):t}}function ay(){return!!(nt||Et||ps)}const oh={},ah=()=>Object.create(oh),lh=e=>Object.getPrototypeOf(e)===oh;function ly(e,t,n,s=!1){const r={},o=ah();e.propsDefaults=Object.create(null),ch(e,t,r,o);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=s?r:$d(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function cy(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:a}}=e,l=Oe(r),[u]=e.propsOptions;let d=!1;if((s||a>0)&&!(a&16)){if(a&8){const h=e.vnode.dynamicProps;for(let p=0;p<h.length;p++){let _=h[p];if(Xi(e.emitsOptions,_))continue;const g=t[_];if(u)if($e(o,_))g!==o[_]&&(o[_]=g,d=!0);else{const E=Vt(_);r[E]=ja(u,l,E,g,e,!1)}else g!==o[_]&&(o[_]=g,d=!0)}}}else{ch(e,t,r,o)&&(d=!0);let h;for(const p in l)(!t||!$e(t,p)&&((h=ys(p))===p||!$e(t,h)))&&(u?n&&(n[p]!==void 0||n[h]!==void 0)&&(r[p]=ja(u,l,p,void 0,e,!0)):delete r[p]);if(o!==l)for(const p in o)(!t||!$e(t,p))&&(delete o[p],d=!0)}d&&mn(e.attrs,"set","")}function ch(e,t,n,s){const[r,o]=e.propsOptions;let a=!1,l;if(t)for(let u in t){if(yr(u))continue;const d=t[u];let h;r&&$e(r,h=Vt(u))?!o||!o.includes(h)?n[h]=d:(l||(l={}))[h]=d:Xi(e.emitsOptions,u)||(!(u in s)||d!==s[u])&&(s[u]=d,a=!0)}if(o){const u=Oe(n),d=l||Fe;for(let h=0;h<o.length;h++){const p=o[h];n[p]=ja(r,u,p,d[p],e,!$e(d,p))}}return a}function ja(e,t,n,s,r,o){const a=e[n];if(a!=null){const l=$e(a,"default");if(l&&s===void 0){const u=a.default;if(a.type!==Function&&!a.skipFactory&&me(u)){const{propsDefaults:d}=r;if(n in d)s=d[n];else{const h=bs(r);s=d[n]=u.call(null,t),h()}}else s=u;r.ce&&r.ce._setProp(n,s)}a[0]&&(o&&!l?s=!1:a[1]&&(s===""||s===ys(n))&&(s=!0))}return s}const uy=new WeakMap;function uh(e,t,n=!1){const s=n?uy:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,a={},l=[];let u=!1;if(!me(e)){const h=p=>{u=!0;const[_,g]=uh(p,t,!0);et(a,_),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}if(!o&&!u)return He(e)&&s.set(e,qs),qs;if(de(o))for(let h=0;h<o.length;h++){const p=Vt(o[h]);Su(p)&&(a[p]=Fe)}else if(o)for(const h in o){const p=Vt(h);if(Su(p)){const _=o[h],g=a[p]=de(_)||me(_)?{type:_}:et({},_),E=g.type;let T=!1,k=!0;if(de(E))for(let P=0;P<E.length;++P){const D=E[P],I=me(D)&&D.name;if(I==="Boolean"){T=!0;break}else I==="String"&&(k=!1)}else T=me(E)&&E.name==="Boolean";g[0]=T,g[1]=k,(T||$e(g,"default"))&&l.push(p)}}const d=[a,l];return He(e)&&s.set(e,d),d}function Su(e){return e[0]!=="$"&&!yr(e)}const Sl=e=>e[0]==="_"||e==="$stable",Ol=e=>de(e)?e.map(Kt):[Kt(e)],fy=(e,t,n)=>{if(t._n)return t;const s=$t((...r)=>Ol(t(...r)),n);return s._c=!1,s},fh=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Sl(r))continue;const o=e[r];if(me(o))t[r]=fy(r,o,s);else if(o!=null){const a=Ol(o);t[r]=()=>a}}},dh=(e,t)=>{const n=Ol(t);e.slots.default=()=>n},hh=(e,t,n)=>{for(const s in t)(n||!Sl(s))&&(e[s]=t[s])},dy=(e,t,n)=>{const s=e.slots=ah();if(e.vnode.shapeFlag&32){const r=t._;r?(hh(s,t,n),n&&fd(s,"_",r,!0)):fh(t,s)}else t&&dh(e,t)},hy=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,a=Fe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:hh(r,t,n):(o=!t.$stable,fh(t,r)),a=t}else t&&(dh(e,t),a={default:1});if(o)for(const l in r)!Sl(l)&&a[l]==null&&delete r[l]},Dt=$y;function py(e){return my(e)}function my(e,t){const n=zi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:a,createText:l,createComment:u,setText:d,setElementText:h,parentNode:p,nextSibling:_,setScopeId:g=rn,insertStaticContent:E}=e,T=(b,v,A,V=null,Y=null,C=null,oe=void 0,re=null,se=!!v.dynamicChildren)=>{if(b===v)return;b&&!sn(b,v)&&(V=M(b),be(b,Y,C,!0),b=null),v.patchFlag===-2&&(se=!1,v.dynamicChildren=null);const{type:Z,ref:he,shapeFlag:ae}=v;switch(Z){case Zi:k(b,v,A,V);break;case lt:P(b,v,A,V);break;case Ai:b==null&&D(v,A,V,oe);break;case wt:$(b,v,A,V,Y,C,oe,re,se);break;default:ae&1?j(b,v,A,V,Y,C,oe,re,se):ae&6?Q(b,v,A,V,Y,C,oe,re,se):(ae&64||ae&128)&&Z.process(b,v,A,V,Y,C,oe,re,se,ie)}he!=null&&Y&&Bi(he,b&&b.ref,C,v||b,!v)},k=(b,v,A,V)=>{if(b==null)s(v.el=l(v.children),A,V);else{const Y=v.el=b.el;v.children!==b.children&&d(Y,v.children)}},P=(b,v,A,V)=>{b==null?s(v.el=u(v.children||""),A,V):v.el=b.el},D=(b,v,A,V)=>{[b.el,b.anchor]=E(b.children,v,A,V,b.el,b.anchor)},I=({el:b,anchor:v},A,V)=>{let Y;for(;b&&b!==v;)Y=_(b),s(b,A,V),b=Y;s(v,A,V)},B=({el:b,anchor:v})=>{let A;for(;b&&b!==v;)A=_(b),r(b),b=A;r(v)},j=(b,v,A,V,Y,C,oe,re,se)=>{v.type==="svg"?oe="svg":v.type==="math"&&(oe="mathml"),b==null?N(v,A,V,Y,C,oe,re,se):O(b,v,Y,C,oe,re,se)},N=(b,v,A,V,Y,C,oe,re)=>{let se,Z;const{props:he,shapeFlag:ae,transition:fe,dirs:pe}=b;if(se=b.el=a(b.type,C,he&&he.is,he),ae&8?h(se,b.children):ae&16&&H(b.children,se,null,V,Y,ea(b,C),oe,re),pe&&ls(b,null,V,"created"),K(se,b,b.scopeId,oe,V),he){for(const Me in he)Me!=="value"&&!yr(Me)&&o(se,Me,null,he[Me],C,V);"value"in he&&o(se,"value",null,he.value,C),(Z=he.onVnodeBeforeMount)&&Xt(Z,V,b)}pe&&ls(b,null,V,"beforeMount");const Ee=gy(Y,fe);Ee&&fe.beforeEnter(se),s(se,v,A),((Z=he&&he.onVnodeMounted)||Ee||pe)&&Dt(()=>{Z&&Xt(Z,V,b),Ee&&fe.enter(se),pe&&ls(b,null,V,"mounted")},Y)},K=(b,v,A,V,Y)=>{if(A&&g(b,A),V)for(let C=0;C<V.length;C++)g(b,V[C]);if(Y){let C=Y.subTree;if(v===C||vh(C.type)&&(C.ssContent===v||C.ssFallback===v)){const oe=Y.vnode;K(b,oe,oe.scopeId,oe.slotScopeIds,Y.parent)}}},H=(b,v,A,V,Y,C,oe,re,se=0)=>{for(let Z=se;Z<b.length;Z++){const he=b[Z]=re?Bn(b[Z]):Kt(b[Z]);T(null,he,v,A,V,Y,C,oe,re)}},O=(b,v,A,V,Y,C,oe)=>{const re=v.el=b.el;let{patchFlag:se,dynamicChildren:Z,dirs:he}=v;se|=b.patchFlag&16;const ae=b.props||Fe,fe=v.props||Fe;let pe;if(A&&cs(A,!1),(pe=fe.onVnodeBeforeUpdate)&&Xt(pe,A,v,b),he&&ls(v,b,A,"beforeUpdate"),A&&cs(A,!0),(ae.innerHTML&&fe.innerHTML==null||ae.textContent&&fe.textContent==null)&&h(re,""),Z?F(b.dynamicChildren,Z,re,A,V,ea(v,Y),C):oe||G(b,v,re,null,A,V,ea(v,Y),C,!1),se>0){if(se&16)U(re,ae,fe,A,Y);else if(se&2&&ae.class!==fe.class&&o(re,"class",null,fe.class,Y),se&4&&o(re,"style",ae.style,fe.style,Y),se&8){const Ee=v.dynamicProps;for(let Me=0;Me<Ee.length;Me++){const Pe=Ee[Me],pt=ae[Pe],ct=fe[Pe];(ct!==pt||Pe==="value")&&o(re,Pe,pt,ct,Y,A)}}se&1&&b.children!==v.children&&h(re,v.children)}else!oe&&Z==null&&U(re,ae,fe,A,Y);((pe=fe.onVnodeUpdated)||he)&&Dt(()=>{pe&&Xt(pe,A,v,b),he&&ls(v,b,A,"updated")},V)},F=(b,v,A,V,Y,C,oe)=>{for(let re=0;re<v.length;re++){const se=b[re],Z=v[re],he=se.el&&(se.type===wt||!sn(se,Z)||se.shapeFlag&198)?p(se.el):A;T(se,Z,he,null,V,Y,C,oe,!0)}},U=(b,v,A,V,Y)=>{if(v!==A){if(v!==Fe)for(const C in v)!yr(C)&&!(C in A)&&o(b,C,v[C],null,Y,V);for(const C in A){if(yr(C))continue;const oe=A[C],re=v[C];oe!==re&&C!=="value"&&o(b,C,re,oe,Y,V)}"value"in A&&o(b,"value",v.value,A.value,Y)}},$=(b,v,A,V,Y,C,oe,re,se)=>{const Z=v.el=b?b.el:l(""),he=v.anchor=b?b.anchor:l("");let{patchFlag:ae,dynamicChildren:fe,slotScopeIds:pe}=v;pe&&(re=re?re.concat(pe):pe),b==null?(s(Z,A,V),s(he,A,V),H(v.children||[],A,he,Y,C,oe,re,se)):ae>0&&ae&64&&fe&&b.dynamicChildren?(F(b.dynamicChildren,fe,A,Y,C,oe,re),(v.key!=null||Y&&v===Y.subTree)&&ph(b,v,!0)):G(b,v,A,he,Y,C,oe,re,se)},Q=(b,v,A,V,Y,C,oe,re,se)=>{v.slotScopeIds=re,b==null?v.shapeFlag&512?Y.ctx.activate(v,A,V,oe,se):W(v,A,V,Y,C,oe,se):X(b,v,se)},W=(b,v,A,V,Y,C,oe)=>{const re=b.component=Vy(b,V,Y);if(Ji(b)&&(re.ctx.renderer=ie),Uy(re,!1,oe),re.asyncDep){if(Y&&Y.registerDep(re,z,oe),!b.el){const se=re.subTree=xe(lt);P(null,se,v,A)}}else z(re,b,v,A,Y,C,oe)},X=(b,v,A)=>{const V=v.component=b.component;if(Sy(b,v,A))if(V.asyncDep&&!V.asyncResolved){J(V,v,A);return}else V.next=v,V.update();else v.el=b.el,V.vnode=v},z=(b,v,A,V,Y,C,oe)=>{const re=()=>{if(b.isMounted){let{next:ae,bu:fe,u:pe,parent:Ee,vnode:Me}=b;{const Ot=mh(b);if(Ot){ae&&(ae.el=Me.el,J(b,ae,oe)),Ot.asyncDep.then(()=>{b.isUnmounted||re()});return}}let Pe=ae,pt;cs(b,!1),ae?(ae.el=Me.el,J(b,ae,oe)):ae=Me,fe&&wi(fe),(pt=ae.props&&ae.props.onVnodeBeforeUpdate)&&Xt(pt,Ee,ae,Me),cs(b,!0);const ct=Ru(b),Lt=b.subTree;b.subTree=ct,T(Lt,ct,p(Lt.el),M(Lt),b,Y,C),ae.el=ct.el,Pe===null&&Rl(b,ct.el),pe&&Dt(pe,Y),(pt=ae.props&&ae.props.onVnodeUpdated)&&Dt(()=>Xt(pt,Ee,ae,Me),Y)}else{let ae;const{el:fe,props:pe}=v,{bm:Ee,m:Me,parent:Pe,root:pt,type:ct}=b,Lt=Tr(v);cs(b,!1),Ee&&wi(Ee),!Lt&&(ae=pe&&pe.onVnodeBeforeMount)&&Xt(ae,Pe,v),cs(b,!0);{pt.ce&&pt.ce._injectChildStyle(ct);const Ot=b.subTree=Ru(b);T(null,Ot,A,V,b,Y,C),v.el=Ot.el}if(Me&&Dt(Me,Y),!Lt&&(ae=pe&&pe.onVnodeMounted)){const Ot=v;Dt(()=>Xt(ae,Pe,Ot),Y)}(v.shapeFlag&256||Pe&&Tr(Pe.vnode)&&Pe.vnode.shapeFlag&256)&&b.a&&Dt(b.a,Y),b.isMounted=!0,v=A=V=null}};b.scope.on();const se=b.effect=new vd(re);b.scope.off();const Z=b.update=se.run.bind(se),he=b.job=se.runIfDirty.bind(se);he.i=b,he.id=b.uid,se.scheduler=()=>Tl(he),cs(b,!0),Z()},J=(b,v,A)=>{v.component=b;const V=b.vnode.props;b.vnode=v,b.next=null,cy(b,v.props,V,A),hy(b,v.children,A),En(),vu(b),wn()},G=(b,v,A,V,Y,C,oe,re,se=!1)=>{const Z=b&&b.children,he=b?b.shapeFlag:0,ae=v.children,{patchFlag:fe,shapeFlag:pe}=v;if(fe>0){if(fe&128){ue(Z,ae,A,V,Y,C,oe,re,se);return}else if(fe&256){ce(Z,ae,A,V,Y,C,oe,re,se);return}}pe&8?(he&16&&We(Z,Y,C),ae!==Z&&h(A,ae)):he&16?pe&16?ue(Z,ae,A,V,Y,C,oe,re,se):We(Z,Y,C,!0):(he&8&&h(A,""),pe&16&&H(ae,A,V,Y,C,oe,re,se))},ce=(b,v,A,V,Y,C,oe,re,se)=>{b=b||qs,v=v||qs;const Z=b.length,he=v.length,ae=Math.min(Z,he);let fe;for(fe=0;fe<ae;fe++){const pe=v[fe]=se?Bn(v[fe]):Kt(v[fe]);T(b[fe],pe,A,null,Y,C,oe,re,se)}Z>he?We(b,Y,C,!0,!1,ae):H(v,A,V,Y,C,oe,re,se,ae)},ue=(b,v,A,V,Y,C,oe,re,se)=>{let Z=0;const he=v.length;let ae=b.length-1,fe=he-1;for(;Z<=ae&&Z<=fe;){const pe=b[Z],Ee=v[Z]=se?Bn(v[Z]):Kt(v[Z]);if(sn(pe,Ee))T(pe,Ee,A,null,Y,C,oe,re,se);else break;Z++}for(;Z<=ae&&Z<=fe;){const pe=b[ae],Ee=v[fe]=se?Bn(v[fe]):Kt(v[fe]);if(sn(pe,Ee))T(pe,Ee,A,null,Y,C,oe,re,se);else break;ae--,fe--}if(Z>ae){if(Z<=fe){const pe=fe+1,Ee=pe<he?v[pe].el:V;for(;Z<=fe;)T(null,v[Z]=se?Bn(v[Z]):Kt(v[Z]),A,Ee,Y,C,oe,re,se),Z++}}else if(Z>fe)for(;Z<=ae;)be(b[Z],Y,C,!0),Z++;else{const pe=Z,Ee=Z,Me=new Map;for(Z=Ee;Z<=fe;Z++){const mt=v[Z]=se?Bn(v[Z]):Kt(v[Z]);mt.key!=null&&Me.set(mt.key,Z)}let Pe,pt=0;const ct=fe-Ee+1;let Lt=!1,Ot=0;const Wn=new Array(ct);for(Z=0;Z<ct;Z++)Wn[Z]=0;for(Z=pe;Z<=ae;Z++){const mt=b[Z];if(pt>=ct){be(mt,Y,C,!0);continue}let rt;if(mt.key!=null)rt=Me.get(mt.key);else for(Pe=Ee;Pe<=fe;Pe++)if(Wn[Pe-Ee]===0&&sn(mt,v[Pe])){rt=Pe;break}rt===void 0?be(mt,Y,C,!0):(Wn[rt-Ee]=Z+1,rt>=Ot?Ot=rt:Lt=!0,T(mt,v[rt],A,null,Y,C,oe,re,se),pt++)}const Sn=Lt?_y(Wn):qs;for(Pe=Sn.length-1,Z=ct-1;Z>=0;Z--){const mt=Ee+Z,rt=v[mt],zr=mt+1<he?v[mt+1].el:V;Wn[Z]===0?T(null,rt,A,zr,Y,C,oe,re,se):Lt&&(Pe<0||Z!==Sn[Pe]?ge(rt,A,zr,2):Pe--)}}},ge=(b,v,A,V,Y=null)=>{const{el:C,type:oe,transition:re,children:se,shapeFlag:Z}=b;if(Z&6){ge(b.component.subTree,v,A,V);return}if(Z&128){b.suspense.move(v,A,V);return}if(Z&64){oe.move(b,v,A,ie);return}if(oe===wt){s(C,v,A);for(let ae=0;ae<se.length;ae++)ge(se[ae],v,A,V);s(b.anchor,v,A);return}if(oe===Ai){I(b,v,A);return}if(V!==2&&Z&1&&re)if(V===0)re.beforeEnter(C),s(C,v,A),Dt(()=>re.enter(C),Y);else{const{leave:ae,delayLeave:fe,afterLeave:pe}=re,Ee=()=>{b.ctx.isUnmounted?r(C):s(C,v,A)},Me=()=>{ae(C,()=>{Ee(),pe&&pe()})};fe?fe(C,Ee,Me):Me()}else s(C,v,A)},be=(b,v,A,V=!1,Y=!1)=>{const{type:C,props:oe,ref:re,children:se,dynamicChildren:Z,shapeFlag:he,patchFlag:ae,dirs:fe,cacheIndex:pe}=b;if(ae===-2&&(Y=!1),re!=null&&(En(),Bi(re,null,A,b,!0),wn()),pe!=null&&(v.renderCache[pe]=void 0),he&256){v.ctx.deactivate(b);return}const Ee=he&1&&fe,Me=!Tr(b);let Pe;if(Me&&(Pe=oe&&oe.onVnodeBeforeUnmount)&&Xt(Pe,v,b),he&6)je(b.component,A,V);else{if(he&128){b.suspense.unmount(A,V);return}Ee&&ls(b,null,v,"beforeUnmount"),he&64?b.type.remove(b,v,A,ie,V):Z&&!Z.hasOnce&&(C!==wt||ae>0&&ae&64)?We(Z,v,A,!1,!0):(C===wt&&ae&384||!Y&&he&16)&&We(se,v,A),V&&Re(b)}(Me&&(Pe=oe&&oe.onVnodeUnmounted)||Ee)&&Dt(()=>{Pe&&Xt(Pe,v,b),Ee&&ls(b,null,v,"unmounted")},A)},Re=b=>{const{type:v,el:A,anchor:V,transition:Y}=b;if(v===wt){Ie(A,V);return}if(v===Ai){B(b);return}const C=()=>{r(A),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(b.shapeFlag&1&&Y&&!Y.persisted){const{leave:oe,delayLeave:re}=Y,se=()=>oe(A,C);re?re(b.el,C,se):se()}else C()},Ie=(b,v)=>{let A;for(;b!==v;)A=_(b),r(b),b=A;r(v)},je=(b,v,A)=>{const{bum:V,scope:Y,job:C,subTree:oe,um:re,m:se,a:Z,parent:he,slots:{__:ae}}=b;Ou(se),Ou(Z),V&&wi(V),he&&de(ae)&&ae.forEach(fe=>{he.renderCache[fe]=void 0}),Y.stop(),C&&(C.flags|=8,be(oe,b,v,A)),re&&Dt(re,v),Dt(()=>{b.isUnmounted=!0},v),v&&v.pendingBranch&&!v.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===v.pendingId&&(v.deps--,v.deps===0&&v.resolve())},We=(b,v,A,V=!1,Y=!1,C=0)=>{for(let oe=C;oe<b.length;oe++)be(b[oe],v,A,V,Y)},M=b=>{if(b.shapeFlag&6)return M(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const v=_(b.anchor||b.el),A=v&&v[Fv];return A?_(A):v};let w=!1;const te=(b,v,A)=>{b==null?v._vnode&&be(v._vnode,null,null,!0):T(v._vnode||null,b,v,null,null,null,A),v._vnode=b,w||(w=!0,vu(),Fd(),w=!1)},ie={p:T,um:be,m:ge,r:Re,mt:W,mc:H,pc:G,pbc:F,n:M,o:e};return{render:te,hydrate:void 0,createApp:oy(te)}}function ea({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function cs({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function gy(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ph(e,t,n=!1){const s=e.children,r=t.children;if(de(s)&&de(r))for(let o=0;o<s.length;o++){const a=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=Bn(r[o]),l.el=a.el),!n&&l.patchFlag!==-2&&ph(a,l)),l.type===Zi&&(l.el=a.el),l.type===lt&&!l.el&&(l.el=a.el)}}function _y(e){const t=e.slice(),n=[0];let s,r,o,a,l;const u=e.length;for(s=0;s<u;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(o=0,a=n.length-1;o<a;)l=o+a>>1,e[n[l]]<d?o=l+1:a=l;d<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}function mh(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:mh(t)}function Ou(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const by=Symbol.for("v-scx"),vy=()=>Ft(by);function zs(e,t,n){return gh(e,t,n)}function gh(e,t,n=Fe){const{immediate:s,deep:r,flush:o,once:a}=n,l=et({},n),u=t&&s||!t&&o!=="post";let d;if(Mr){if(o==="sync"){const g=vy();d=g.__watcherHandles||(g.__watcherHandles=[])}else if(!u){const g=()=>{};return g.stop=rn,g.resume=rn,g.pause=rn,g}}const h=nt;l.call=(g,E,T)=>zt(g,h,E,T);let p=!1;o==="post"?l.scheduler=g=>{Dt(g,h&&h.suspense)}:o!=="sync"&&(p=!0,l.scheduler=(g,E)=>{E?g():Tl(g)}),l.augmentJob=g=>{t&&(g.flags|=4),p&&(g.flags|=2,h&&(g.id=h.uid,g.i=h))};const _=Mv(e,t,l);return Mr&&(d?d.push(_):u&&_()),_}function yy(e,t,n){const s=this.proxy,r=Ye(e)?e.includes(".")?_h(s,e):()=>s[e]:e.bind(s,s);let o;me(t)?o=t:(o=t.handler,n=t);const a=bs(this),l=gh(r,o.bind(s),n);return a(),l}function _h(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const Ey=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Vt(t)}Modifiers`]||e[`${ys(t)}Modifiers`];function wy(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||Fe;let r=n;const o=t.startsWith("update:"),a=o&&Ey(s,t.slice(7));a&&(a.trim&&(r=n.map(h=>Ye(h)?h.trim():h)),a.number&&(r=n.map(Di)));let l,u=s[l=zo(t)]||s[l=zo(Vt(t))];!u&&o&&(u=s[l=zo(ys(t))]),u&&zt(u,e,6,r);const d=s[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,zt(d,e,6,r)}}function bh(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let a={},l=!1;if(!me(e)){const u=d=>{const h=bh(d,t,!0);h&&(l=!0,et(a,h))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!l?(He(e)&&s.set(e,null),null):(de(o)?o.forEach(u=>a[u]=null):et(a,o),He(e)&&s.set(e,a),a)}function Xi(e,t){return!e||!qi(t)?!1:(t=t.slice(2).replace(/Once$/,""),$e(e,t[0].toLowerCase()+t.slice(1))||$e(e,ys(t))||$e(e,t))}function Ru(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:a,attrs:l,emit:u,render:d,renderCache:h,props:p,data:_,setupState:g,ctx:E,inheritAttrs:T}=e,k=ki(e);let P,D;try{if(n.shapeFlag&4){const B=r||s,j=B;P=Kt(d.call(j,B,h,p,g,_,E)),D=l}else{const B=t;P=Kt(B.length>1?B(p,{attrs:l,slots:a,emit:u}):B(p,null)),D=t.props?l:Ay(l)}}catch(B){Cr.length=0,Ur(B,e,1),P=xe(lt)}let I=P;if(D&&T!==!1){const B=Object.keys(D),{shapeFlag:j}=I;B.length&&j&7&&(o&&B.some(cl)&&(D=Cy(D,o)),I=qn(I,D,!1,!0))}return n.dirs&&(I=qn(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition&&_s(I,n.transition),P=I,ki(k),P}function Ty(e,t=!0){let n;for(let s=0;s<e.length;s++){const r=e[s];if(Lr(r)){if(r.type!==lt||r.children==="v-if"){if(n)return;n=r}}else return}return n}const Ay=e=>{let t;for(const n in e)(n==="class"||n==="style"||qi(n))&&((t||(t={}))[n]=e[n]);return t},Cy=(e,t)=>{const n={};for(const s in e)(!cl(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Sy(e,t,n){const{props:s,children:r,component:o}=e,{props:a,children:l,patchFlag:u}=t,d=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Nu(s,a,d):!!a;if(u&8){const h=t.dynamicProps;for(let p=0;p<h.length;p++){const _=h[p];if(a[_]!==s[_]&&!Xi(d,_))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===a?!1:s?a?Nu(s,a,d):!0:!!a;return!1}function Nu(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!Xi(n,o))return!0}return!1}function Rl({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const vh=e=>e.__isSuspense;let qa=0;const Oy={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,a,l,u,d){if(e==null)Ny(t,n,s,r,o,a,l,u,d);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}xy(e,t,n,s,r,a,l,u,d)}},hydrate:Py,normalize:Dy},Ry=Oy;function $r(e,t){const n=e.props&&e.props[t];me(n)&&n()}function Ny(e,t,n,s,r,o,a,l,u){const{p:d,o:{createElement:h}}=u,p=h("div"),_=e.suspense=yh(e,r,s,t,p,n,o,a,l,u);d(null,_.pendingBranch=e.ssContent,p,null,s,_,o,a),_.deps>0?($r(e,"onPending"),$r(e,"onFallback"),d(null,e.ssFallback,t,n,s,null,o,a),Ys(_,e.ssFallback)):_.resolve(!1,!0)}function xy(e,t,n,s,r,o,a,l,{p:u,um:d,o:{createElement:h}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const _=t.ssContent,g=t.ssFallback,{activeBranch:E,pendingBranch:T,isInFallback:k,isHydrating:P}=p;if(T)p.pendingBranch=_,sn(_,T)?(u(T,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():k&&(P||(u(E,g,n,s,r,null,o,a,l),Ys(p,g)))):(p.pendingId=qa++,P?(p.isHydrating=!1,p.activeBranch=T):d(T,r,p),p.deps=0,p.effects.length=0,p.hiddenContainer=h("div"),k?(u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0?p.resolve():(u(E,g,n,s,r,null,o,a,l),Ys(p,g))):E&&sn(_,E)?(u(E,_,n,s,r,p,o,a,l),p.resolve(!0)):(u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0&&p.resolve()));else if(E&&sn(_,E))u(E,_,n,s,r,p,o,a,l),Ys(p,_);else if($r(t,"onPending"),p.pendingBranch=_,_.shapeFlag&512?p.pendingId=_.component.suspenseId:p.pendingId=qa++,u(null,_,p.hiddenContainer,null,r,p,o,a,l),p.deps<=0)p.resolve();else{const{timeout:D,pendingId:I}=p;D>0?setTimeout(()=>{p.pendingId===I&&p.fallback(g)},D):D===0&&p.fallback(g)}}function yh(e,t,n,s,r,o,a,l,u,d,h=!1){const{p,m:_,um:g,n:E,o:{parentNode:T,remove:k}}=d;let P;const D=Ly(e);D&&t&&t.pendingBranch&&(P=t.pendingId,t.deps++);const I=e.props?dd(e.props.timeout):void 0,B=o,j={vnode:e,parent:t,parentComponent:n,namespace:a,container:s,hiddenContainer:r,deps:0,pendingId:qa++,timeout:typeof I=="number"?I:-1,activeBranch:null,pendingBranch:null,isInFallback:!h,isHydrating:h,isUnmounted:!1,effects:[],resolve(N=!1,K=!1){const{vnode:H,activeBranch:O,pendingBranch:F,pendingId:U,effects:$,parentComponent:Q,container:W}=j;let X=!1;j.isHydrating?j.isHydrating=!1:N||(X=O&&F.transition&&F.transition.mode==="out-in",X&&(O.transition.afterLeave=()=>{U===j.pendingId&&(_(F,W,o===B?E(O):o,0),Fa($))}),O&&(T(O.el)===W&&(o=E(O)),g(O,Q,j,!0)),X||_(F,W,o,0)),Ys(j,F),j.pendingBranch=null,j.isInFallback=!1;let z=j.parent,J=!1;for(;z;){if(z.pendingBranch){z.effects.push(...$),J=!0;break}z=z.parent}!J&&!X&&Fa($),j.effects=[],D&&t&&t.pendingBranch&&P===t.pendingId&&(t.deps--,t.deps===0&&!K&&t.resolve()),$r(H,"onResolve")},fallback(N){if(!j.pendingBranch)return;const{vnode:K,activeBranch:H,parentComponent:O,container:F,namespace:U}=j;$r(K,"onFallback");const $=E(H),Q=()=>{j.isInFallback&&(p(null,N,F,$,O,null,U,l,u),Ys(j,N))},W=N.transition&&N.transition.mode==="out-in";W&&(H.transition.afterLeave=Q),j.isInFallback=!0,g(H,O,null,!0),W||Q()},move(N,K,H){j.activeBranch&&_(j.activeBranch,N,K,H),j.container=N},next(){return j.activeBranch&&E(j.activeBranch)},registerDep(N,K,H){const O=!!j.pendingBranch;O&&j.deps++;const F=N.vnode.el;N.asyncDep.catch(U=>{Ur(U,N,0)}).then(U=>{if(N.isUnmounted||j.isUnmounted||j.pendingId!==N.suspenseId)return;N.asyncResolved=!0;const{vnode:$}=N;za(N,U),F&&($.el=F);const Q=!F&&N.subTree.el;K(N,$,T(F||N.subTree.el),F?null:E(N.subTree),j,a,H),Q&&k(Q),Rl(N,$.el),O&&--j.deps===0&&j.resolve()})},unmount(N,K){j.isUnmounted=!0,j.activeBranch&&g(j.activeBranch,n,N,K),j.pendingBranch&&g(j.pendingBranch,n,N,K)}};return j}function Py(e,t,n,s,r,o,a,l,u){const d=t.suspense=yh(t,s,n,e.parentNode,document.createElement("div"),null,r,o,a,l,!0),h=u(e,d.pendingBranch=t.ssContent,n,d,o,a);return d.deps===0&&d.resolve(!1,!0),h}function Dy(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=xu(s?n.default:n),e.ssFallback=s?xu(n.fallback):xe(lt)}function xu(e){let t;if(me(e)){const n=Gs&&e._c;n&&(e._d=!1,Te()),e=e(),n&&(e._d=!0,t=Tt,Eh())}return de(e)&&(e=Ty(e)),e=Kt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function $y(e,t){t&&t.pendingBranch?de(e)?t.effects.push(...e):t.effects.push(e):Fa(e)}function Ys(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e;let r=t.el;for(;!r&&t.component;)t=t.component.subTree,r=t.el;n.el=r,s&&s.subTree===n&&(s.vnode.el=r,Rl(s,r))}function Ly(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const wt=Symbol.for("v-fgt"),Zi=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),Ai=Symbol.for("v-stc"),Cr=[];let Tt=null;function Te(e=!1){Cr.push(Tt=e?null:[])}function Eh(){Cr.pop(),Tt=Cr[Cr.length-1]||null}let Gs=1;function Pu(e,t=!1){Gs+=e,e<0&&Tt&&t&&(Tt.hasOnce=!0)}function wh(e){return e.dynamicChildren=Gs>0?Tt||qs:null,Eh(),Gs>0&&Tt&&Tt.push(e),e}function Le(e,t,n,s,r,o){return wh(L(e,t,n,s,r,o,!0))}function jn(e,t,n,s,r){return wh(xe(e,t,n,s,r,!0))}function Lr(e){return e?e.__v_isVNode===!0:!1}function sn(e,t){return e.type===t.type&&e.key===t.key}const Th=({key:e})=>e??null,Ci=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ye(e)||Qe(e)||me(e)?{i:Et,r:e,k:t,f:!!n}:e:null);function L(e,t=null,n=null,s=0,r=null,o=e===wt?0:1,a=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Th(t),ref:t&&Ci(t),scopeId:Vd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Et};return l?(Nl(u,n),o&128&&e.normalize(u)):n&&(u.shapeFlag|=Ye(n)?8:16),Gs>0&&!a&&Tt&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&Tt.push(u),u}const xe=Iy;function Iy(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===th)&&(e=lt),Lr(e)){const l=qn(e,t,!0);return n&&Nl(l,n),Gs>0&&!o&&Tt&&(l.shapeFlag&6?Tt[Tt.indexOf(e)]=l:Tt.push(l)),l.patchFlag=-2,l}if(zy(e)&&(e=e.__vccOpts),t){t=My(t);let{class:l,style:u}=t;l&&!Ye(l)&&(t.class=bn(l)),He(u)&&(El(u)&&!de(u)&&(u=et({},u)),t.style=hl(u))}const a=Ye(e)?1:vh(e)?128:Ud(e)?64:He(e)?4:me(e)?2:0;return L(e,t,n,s,r,a,o,!0)}function My(e){return e?El(e)||lh(e)?et({},e):e:null}function qn(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:a,children:l,transition:u}=e,d=t?By(r||{},t):r,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Th(d),ref:t&&t.ref?n&&o?de(o)?o.concat(Ci(t)):[o,Ci(t)]:Ci(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==wt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&qn(e.ssContent),ssFallback:e.ssFallback&&qn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&s&&_s(h,u.clone(h)),h}function Xe(e=" ",t=0){return xe(Zi,null,e,t)}function ky(e,t){const n=xe(Ai,null,e);return n.staticCount=t,n}function Ir(e="",t=!1){return t?(Te(),jn(lt,null,e)):xe(lt,null,e)}function Kt(e){return e==null||typeof e=="boolean"?xe(lt):de(e)?xe(wt,null,e.slice()):Lr(e)?Bn(e):xe(Zi,null,String(e))}function Bn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:qn(e)}function Nl(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(de(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Nl(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!lh(t)?t._ctx=Et:r===3&&Et&&(Et.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else me(t)?(t={default:t,_ctx:Et},n=32):(t=String(t),s&64?(n=16,t=[Xe(t)]):n=8);e.children=t,e.shapeFlag|=n}function By(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=bn([t.class,s.class]));else if(r==="style")t.style=hl([t.style,s.style]);else if(qi(r)){const o=t[r],a=s[r];a&&o!==a&&!(de(o)&&o.includes(a))&&(t[r]=o?[].concat(o,a):a)}else r!==""&&(t[r]=s[r])}return t}function Xt(e,t,n,s=null){zt(e,t,7,[n,s])}const Fy=ih();let Hy=0;function Vy(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Fy,o={uid:Hy++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new gd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:uh(s,r),emitsOptions:bh(s,r),emit:null,emitted:null,propsDefaults:Fe,inheritAttrs:s.inheritAttrs,ctx:Fe,data:Fe,props:Fe,attrs:Fe,slots:Fe,refs:Fe,setupState:Fe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=wy.bind(null,o),e.ce&&e.ce(o),o}let nt=null;const xl=()=>nt||Et;let Hi,Ka;{const e=zi(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(a=>a(o)):r[0](o)}};Hi=t("__VUE_INSTANCE_SETTERS__",n=>nt=n),Ka=t("__VUE_SSR_SETTERS__",n=>Mr=n)}const bs=e=>{const t=nt;return Hi(e),e.scope.on(),()=>{e.scope.off(),Hi(t)}},Wa=()=>{nt&&nt.scope.off(),Hi(null)};function Ah(e){return e.vnode.shapeFlag&4}let Mr=!1;function Uy(e,t=!1,n=!1){t&&Ka(t);const{props:s,children:r}=e.vnode,o=Ah(e);ly(e,s,o,t),dy(e,r,n||t);const a=o?jy(e,t):void 0;return t&&Ka(!1),a}function jy(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Xv);const{setup:s}=n;if(s){En();const r=e.setupContext=s.length>1?Ky(e):null,o=bs(e),a=Vr(s,e,0,[e.props,r]),l=fl(a);if(wn(),o(),(l||e.sp)&&!Tr(e)&&Gd(e),l){if(a.then(Wa,Wa),t)return a.then(u=>{za(e,u)}).catch(u=>{Ur(u,e,0)});e.asyncDep=a}else za(e,a)}else Ch(e)}function za(e,t,n){me(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=Md(t)),Ch(e)}function Ch(e,t,n){const s=e.type;e.render||(e.render=s.render||rn);{const r=bs(e);En();try{ey(e)}finally{wn(),r()}}}const qy={get(e,t){return dt(e,"get",""),e[t]}};function Ky(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,qy),slots:e.slots,emit:e.emit,expose:t}}function eo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Md(wl(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ar)return Ar[n](e)},has(t,n){return n in t||n in Ar}})):e.proxy}function Wy(e,t=!0){return me(e)?e.displayName||e.name:e.name||t&&e.__name}function zy(e){return me(e)&&"__vccOpts"in e}const st=(e,t)=>Lv(e,t,Mr);function Pl(e,t,n){const s=arguments.length;return s===2?He(t)&&!de(t)?Lr(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Lr(n)&&(n=[n]),xe(e,t,n))}const Yy="3.5.16";/**
|
|
* @vue/runtime-dom v3.5.16
|
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
* @license MIT
|
|
**/let Ya;const Du=typeof window<"u"&&window.trustedTypes;if(Du)try{Ya=Du.createPolicy("vue",{createHTML:e=>e})}catch{}const Sh=Ya?e=>Ya.createHTML(e):e=>e,Gy="http://www.w3.org/2000/svg",Jy="http://www.w3.org/1998/Math/MathML",pn=typeof document<"u"?document:null,$u=pn&&pn.createElement("template"),Qy={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?pn.createElementNS(Gy,e):t==="mathml"?pn.createElementNS(Jy,e):n?pn.createElement(e,{is:n}):pn.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>pn.createTextNode(e),createComment:e=>pn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>pn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const a=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{$u.innerHTML=Sh(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=$u.content;if(s==="svg"||s==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pn="transition",mr="animation",Js=Symbol("_vtc"),Oh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Rh=et({},qd,Oh),Xy=e=>(e.displayName="Transition",e.props=Rh,e),to=Xy((e,{slots:t})=>Pl(Vv,Nh(e),t)),us=(e,t=[])=>{de(e)?e.forEach(n=>n(...t)):e&&e(...t)},Lu=e=>e?de(e)?e.some(t=>t.length>1):e.length>1:!1;function Nh(e){const t={};for(const $ in e)$ in Oh||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:u=o,appearActiveClass:d=a,appearToClass:h=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,E=Zy(r),T=E&&E[0],k=E&&E[1],{onBeforeEnter:P,onEnter:D,onEnterCancelled:I,onLeave:B,onLeaveCancelled:j,onBeforeAppear:N=P,onAppear:K=D,onAppearCancelled:H=I}=t,O=($,Q,W,X)=>{$._enterCancelled=X,Ln($,Q?h:l),Ln($,Q?d:a),W&&W()},F=($,Q)=>{$._isLeaving=!1,Ln($,p),Ln($,g),Ln($,_),Q&&Q()},U=$=>(Q,W)=>{const X=$?K:D,z=()=>O(Q,$,W);us(X,[Q,z]),Iu(()=>{Ln(Q,$?u:o),tn(Q,$?h:l),Lu(X)||Mu(Q,s,T,z)})};return et(t,{onBeforeEnter($){us(P,[$]),tn($,o),tn($,a)},onBeforeAppear($){us(N,[$]),tn($,u),tn($,d)},onEnter:U(!1),onAppear:U(!0),onLeave($,Q){$._isLeaving=!0;const W=()=>F($,Q);tn($,p),$._enterCancelled?(tn($,_),Ga()):(Ga(),tn($,_)),Iu(()=>{$._isLeaving&&(Ln($,p),tn($,g),Lu(B)||Mu($,s,k,W))}),us(B,[$,W])},onEnterCancelled($){O($,!1,void 0,!0),us(I,[$])},onAppearCancelled($){O($,!0,void 0,!0),us(H,[$])},onLeaveCancelled($){F($),us(j,[$])}})}function Zy(e){if(e==null)return null;if(He(e))return[ta(e.enter),ta(e.leave)];{const t=ta(e);return[t,t]}}function ta(e){return dd(e)}function tn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Js]||(e[Js]=new Set)).add(t)}function Ln(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Js];n&&(n.delete(t),n.size||(e[Js]=void 0))}function Iu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let eE=0;function Mu(e,t,n,s){const r=e._endId=++eE,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:a,timeout:l,propCount:u}=xh(e,t);if(!a)return s();const d=a+"end";let h=0;const p=()=>{e.removeEventListener(d,_),o()},_=g=>{g.target===e&&++h>=u&&p()};setTimeout(()=>{h<u&&p()},l+1),e.addEventListener(d,_)}function xh(e,t){const n=window.getComputedStyle(e),s=E=>(n[E]||"").split(", "),r=s(`${Pn}Delay`),o=s(`${Pn}Duration`),a=ku(r,o),l=s(`${mr}Delay`),u=s(`${mr}Duration`),d=ku(l,u);let h=null,p=0,_=0;t===Pn?a>0&&(h=Pn,p=a,_=o.length):t===mr?d>0&&(h=mr,p=d,_=u.length):(p=Math.max(a,d),h=p>0?a>d?Pn:mr:null,_=h?h===Pn?o.length:u.length:0);const g=h===Pn&&/\b(transform|all)(,|$)/.test(s(`${Pn}Property`).toString());return{type:h,timeout:p,propCount:_,hasTransform:g}}function ku(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Bu(n)+Bu(e[s])))}function Bu(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ga(){return document.body.offsetHeight}function tE(e,t,n){const s=e[Js];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Fu=Symbol("_vod"),nE=Symbol("_vsh"),sE=Symbol(""),rE=/(^|;)\s*display\s*:/;function iE(e,t,n){const s=e.style,r=Ye(n);let o=!1;if(n&&!r){if(t)if(Ye(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();n[l]==null&&Si(s,l,"")}else for(const a in t)n[a]==null&&Si(s,a,"");for(const a in n)a==="display"&&(o=!0),Si(s,a,n[a])}else if(r){if(t!==n){const a=s[sE];a&&(n+=";"+a),s.cssText=n,o=rE.test(n)}}else t&&e.removeAttribute("style");Fu in e&&(e[Fu]=o?s.display:"",e[nE]&&(s.display="none"))}const Hu=/\s*!important$/;function Si(e,t,n){if(de(n))n.forEach(s=>Si(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=oE(e,t);Hu.test(n)?e.setProperty(ys(s),n.replace(Hu,""),"important"):e[s]=n}}const Vu=["Webkit","Moz","ms"],na={};function oE(e,t){const n=na[t];if(n)return n;let s=Vt(t);if(s!=="filter"&&s in e)return na[t]=s;s=Wi(s);for(let r=0;r<Vu.length;r++){const o=Vu[r]+s;if(o in e)return na[t]=o}return t}const Uu="http://www.w3.org/1999/xlink";function ju(e,t,n,s,r,o=iv(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Uu,t.slice(6,t.length)):e.setAttributeNS(Uu,t,n):n==null||o&&!hd(n)?e.removeAttribute(t):e.setAttribute(t,o?"":ln(n)?String(n):n)}function qu(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Sh(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(l!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=hd(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(r||t)}function _n(e,t,n,s){e.addEventListener(t,n,s)}function aE(e,t,n,s){e.removeEventListener(t,n,s)}const Ku=Symbol("_vei");function lE(e,t,n,s,r=null){const o=e[Ku]||(e[Ku]={}),a=o[t];if(s&&a)a.value=s;else{const[l,u]=cE(t);if(s){const d=o[t]=dE(s,r);_n(e,l,d,u)}else a&&(aE(e,l,a,u),o[t]=void 0)}}const Wu=/(?:Once|Passive|Capture)$/;function cE(e){let t;if(Wu.test(e)){t={};let s;for(;s=e.match(Wu);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ys(e.slice(2)),t]}let sa=0;const uE=Promise.resolve(),fE=()=>sa||(uE.then(()=>sa=0),sa=Date.now());function dE(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;zt(hE(s,n.value),t,5,[s])};return n.value=e,n.attached=fE(),n}function hE(e,t){if(de(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const zu=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pE=(e,t,n,s,r,o)=>{const a=r==="svg";t==="class"?tE(e,s,a):t==="style"?iE(e,n,s):qi(t)?cl(t)||lE(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):mE(e,t,s,a))?(qu(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ju(e,t,s,a,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ye(s))?qu(e,Vt(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ju(e,t,s,a))};function mE(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&zu(t)&&me(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return zu(t)&&Ye(n)?!1:t in e}const Ph=new WeakMap,Dh=new WeakMap,Vi=Symbol("_moveCb"),Yu=Symbol("_enterCb"),gE=e=>(delete e.props.mode,e),_E=gE({name:"TransitionGroup",props:et({},Rh,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=xl(),s=jd();let r,o;return Qd(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!wE(r[0].el,n.vnode.el,a)){r=[];return}r.forEach(vE),r.forEach(yE);const l=r.filter(EE);Ga(),l.forEach(u=>{const d=u.el,h=d.style;tn(d,a),h.transform=h.webkitTransform=h.transitionDuration="";const p=d[Vi]=_=>{_&&_.target!==d||(!_||/transform$/.test(_.propertyName))&&(d.removeEventListener("transitionend",p),d[Vi]=null,Ln(d,a))};d.addEventListener("transitionend",p)}),r=[]}),()=>{const a=Oe(e),l=Nh(a);let u=a.tag||wt;if(r=[],o)for(let d=0;d<o.length;d++){const h=o[d];h.el&&h.el instanceof Element&&(r.push(h),_s(h,Dr(h,l,s,n)),Ph.set(h,h.el.getBoundingClientRect()))}o=t.default?Al(t.default()):[];for(let d=0;d<o.length;d++){const h=o[d];h.key!=null&&_s(h,Dr(h,l,s,n))}return xe(u,null,o)}}}),bE=_E;function vE(e){const t=e.el;t[Vi]&&t[Vi](),t[Yu]&&t[Yu]()}function yE(e){Dh.set(e,e.el.getBoundingClientRect())}function EE(e){const t=Ph.get(e),n=Dh.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function wE(e,t,n){const s=e.cloneNode(),r=e[Js];r&&r.forEach(l=>{l.split(/\s+/).forEach(u=>u&&s.classList.remove(u))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:a}=xh(s);return o.removeChild(s),a}const Kn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return de(t)?n=>wi(t,n):t};function TE(e){e.target.composing=!0}function Gu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ht=Symbol("_assign"),vn={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ht]=Kn(r);const o=s||r.props&&r.props.type==="number";_n(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;n&&(l=l.trim()),o&&(l=Di(l)),e[Ht](l)}),n&&_n(e,"change",()=>{e.value=e.value.trim()}),t||(_n(e,"compositionstart",TE),_n(e,"compositionend",Gu),_n(e,"change",Gu))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},a){if(e[Ht]=Kn(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Di(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===u)||(e.value=u))}},AE={deep:!0,created(e,t,n){e[Ht]=Kn(n),_n(e,"change",()=>{const s=e._modelValue,r=Qs(e),o=e.checked,a=e[Ht];if(de(s)){const l=pl(s,r),u=l!==-1;if(o&&!u)a(s.concat(r));else if(!o&&u){const d=[...s];d.splice(l,1),a(d)}}else if(er(s)){const l=new Set(s);o?l.add(r):l.delete(r),a(l)}else a($h(e,o))})},mounted:Ju,beforeUpdate(e,t,n){e[Ht]=Kn(n),Ju(e,t,n)}};function Ju(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(de(t))r=pl(t,s.props.value)>-1;else if(er(t))r=t.has(s.props.value);else{if(t===n)return;r=gs(t,$h(e,!0))}e.checked!==r&&(e.checked=r)}const CE={created(e,{value:t},n){e.checked=gs(t,n.props.value),e[Ht]=Kn(n),_n(e,"change",()=>{e[Ht](Qs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ht]=Kn(s),t!==n&&(e.checked=gs(t,s.props.value))}},SE={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=er(t);_n(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?Di(Qs(a)):Qs(a));e[Ht](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Gi(()=>{e._assigning=!1})}),e[Ht]=Kn(s)},mounted(e,{value:t}){Qu(e,t)},beforeUpdate(e,t,n){e[Ht]=Kn(n)},updated(e,{value:t}){e._assigning||Qu(e,t)}};function Qu(e,t){const n=e.multiple,s=de(t);if(!(n&&!s&&!er(t))){for(let r=0,o=e.options.length;r<o;r++){const a=e.options[r],l=Qs(a);if(n)if(s){const u=typeof l;u==="string"||u==="number"?a.selected=t.some(d=>String(d)===String(l)):a.selected=pl(t,l)>-1}else a.selected=t.has(l);else if(gs(Qs(a),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Qs(e){return"_value"in e?e._value:e.value}function $h(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ra={created(e,t,n){yi(e,t,n,null,"created")},mounted(e,t,n){yi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){yi(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){yi(e,t,n,s,"updated")}};function OE(e,t){switch(e){case"SELECT":return SE;case"TEXTAREA":return vn;default:switch(t){case"checkbox":return AE;case"radio":return CE;default:return vn}}}function yi(e,t,n,s,r){const a=OE(e.tagName,n.props&&n.props.type)[r];a&&a(e,t,n,s)}const RE=et({patchProp:pE},Qy);let Xu;function NE(){return Xu||(Xu=py(RE))}const xE=(...e)=>{const t=NE().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=DE(s);if(!r)return;const o=t._component;!me(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const a=n(r,!1,PE(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function PE(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function DE(e){return Ye(e)?document.querySelector(e):e}/*!
|
|
* pinia v3.0.2
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/let Lh;const no=e=>Lh=e,Ih=Symbol();function Ja(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Sr;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Sr||(Sr={}));function $E(){const e=_d(!0),t=e.run(()=>At({}));let n=[],s=[];const r=wl({install(o){no(r),r._a=o,o.provide(Ih,r),o.config.globalProperties.$pinia=r,s.forEach(a=>n.push(a)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const Mh=()=>{};function Zu(e,t,n,s=Mh){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&bd()&&av(r),r}function Hs(e,...t){e.slice().forEach(n=>{n(...t)})}const LE=e=>e(),ef=Symbol(),ia=Symbol();function Qa(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];Ja(r)&&Ja(s)&&e.hasOwnProperty(n)&&!Qe(s)&&!Vn(s)?e[n]=Qa(r,s):e[n]=s}return e}const IE=Symbol();function ME(e){return!Ja(e)||!Object.prototype.hasOwnProperty.call(e,IE)}const{assign:In}=Object;function kE(e){return!!(Qe(e)&&e.effect)}function BE(e,t,n,s){const{state:r,actions:o,getters:a}=t,l=n.state.value[e];let u;function d(){l||(n.state.value[e]=r?r():{});const h=xv(n.state.value[e]);return In(h,o,Object.keys(a||{}).reduce((p,_)=>(p[_]=wl(st(()=>{no(n);const g=n._s.get(e);return a[_].call(g,g)})),p),{}))}return u=kh(e,d,t,n,s,!0),u}function kh(e,t,n={},s,r,o){let a;const l=In({actions:{}},n),u={deep:!0};let d,h,p=[],_=[],g;const E=s.state.value[e];!o&&!E&&(s.state.value[e]={}),At({});let T;function k(H){let O;d=h=!1,typeof H=="function"?(H(s.state.value[e]),O={type:Sr.patchFunction,storeId:e,events:g}):(Qa(s.state.value[e],H),O={type:Sr.patchObject,payload:H,storeId:e,events:g});const F=T=Symbol();Gi().then(()=>{T===F&&(d=!0)}),h=!0,Hs(p,O,s.state.value[e])}const P=o?function(){const{state:O}=n,F=O?O():{};this.$patch(U=>{In(U,F)})}:Mh;function D(){a.stop(),p=[],_=[],s._s.delete(e)}const I=(H,O="")=>{if(ef in H)return H[ia]=O,H;const F=function(){no(s);const U=Array.from(arguments),$=[],Q=[];function W(J){$.push(J)}function X(J){Q.push(J)}Hs(_,{args:U,name:F[ia],store:j,after:W,onError:X});let z;try{z=H.apply(this&&this.$id===e?this:j,U)}catch(J){throw Hs(Q,J),J}return z instanceof Promise?z.then(J=>(Hs($,J),J)).catch(J=>(Hs(Q,J),Promise.reject(J))):(Hs($,z),z)};return F[ef]=!0,F[ia]=O,F},B={_p:s,$id:e,$onAction:Zu.bind(null,_),$patch:k,$reset:P,$subscribe(H,O={}){const F=Zu(p,H,O.detached,()=>U()),U=a.run(()=>zs(()=>s.state.value[e],$=>{(O.flush==="sync"?h:d)&&H({storeId:e,type:Sr.direct,events:g},$)},In({},u,O)));return F},$dispose:D},j=Tn(B);s._s.set(e,j);const K=(s._a&&s._a.runWithContext||LE)(()=>s._e.run(()=>(a=_d()).run(()=>t({action:I}))));for(const H in K){const O=K[H];if(Qe(O)&&!kE(O)||Vn(O))o||(E&&ME(O)&&(Qe(O)?O.value=E[H]:Qa(O,E[H])),s.state.value[e][H]=O);else if(typeof O=="function"){const F=I(O,H);K[H]=F,l.actions[H]=O}}return In(j,K),In(Oe(j),K),Object.defineProperty(j,"$state",{get:()=>s.state.value[e],set:H=>{k(O=>{In(O,H)})}}),s._p.forEach(H=>{In(j,a.run(()=>H({store:j,app:s._a,pinia:s,options:l})))}),E&&o&&n.hydrate&&n.hydrate(j.$state,E),d=!0,h=!0,j}/*! #__NO_SIDE_EFFECTS__ */function FE(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(a,l){const u=ay();return a=a||(u?Ft(Ih,null):null),a&&no(a),a=Lh,a._s.has(e)||(r?kh(e,t,s,a):BE(e,s,a)),a._s.get(e)}return o.$id=e,o}const ot=[];for(let e=0;e<256;++e)ot.push((e+256).toString(16).slice(1));function HE(e,t=0){return(ot[e[t+0]]+ot[e[t+1]]+ot[e[t+2]]+ot[e[t+3]]+"-"+ot[e[t+4]]+ot[e[t+5]]+"-"+ot[e[t+6]]+ot[e[t+7]]+"-"+ot[e[t+8]]+ot[e[t+9]]+"-"+ot[e[t+10]]+ot[e[t+11]]+ot[e[t+12]]+ot[e[t+13]]+ot[e[t+14]]+ot[e[t+15]]).toLowerCase()}let oa;const VE=new Uint8Array(16);function UE(){if(!oa){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");oa=crypto.getRandomValues.bind(crypto)}return oa(VE)}const jE=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),tf={randomUUID:jE};function Bh(e,t,n){var r;if(tf.randomUUID&&!e)return tf.randomUUID();e=e||{};const s=e.random??((r=e.rng)==null?void 0:r.call(e))??UE();if(s.length<16)throw new Error("Random bytes length must be >= 16");return s[6]=s[6]&15|64,s[8]=s[8]&63|128,HE(s)}function Fh(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Oi={exports:{}},qE=Oi.exports,nf;function KE(){return nf||(nf=1,function(e,t){(function(n,s){e.exports=s()})(qE,function(){var n=1e3,s=6e4,r=36e5,o="millisecond",a="second",l="minute",u="hour",d="day",h="week",p="month",_="quarter",g="year",E="date",T="Invalid Date",k=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,P=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,D={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(W){var X=["th","st","nd","rd"],z=W%100;return"["+W+(X[(z-20)%10]||X[z]||X[0])+"]"}},I=function(W,X,z){var J=String(W);return!J||J.length>=X?W:""+Array(X+1-J.length).join(z)+W},B={s:I,z:function(W){var X=-W.utcOffset(),z=Math.abs(X),J=Math.floor(z/60),G=z%60;return(X<=0?"+":"-")+I(J,2,"0")+":"+I(G,2,"0")},m:function W(X,z){if(X.date()<z.date())return-W(z,X);var J=12*(z.year()-X.year())+(z.month()-X.month()),G=X.clone().add(J,p),ce=z-G<0,ue=X.clone().add(J+(ce?-1:1),p);return+(-(J+(z-G)/(ce?G-ue:ue-G))||0)},a:function(W){return W<0?Math.ceil(W)||0:Math.floor(W)},p:function(W){return{M:p,y:g,w:h,d,D:E,h:u,m:l,s:a,ms:o,Q:_}[W]||String(W||"").toLowerCase().replace(/s$/,"")},u:function(W){return W===void 0}},j="en",N={};N[j]=D;var K="$isDayjsObject",H=function(W){return W instanceof $||!(!W||!W[K])},O=function W(X,z,J){var G;if(!X)return j;if(typeof X=="string"){var ce=X.toLowerCase();N[ce]&&(G=ce),z&&(N[ce]=z,G=ce);var ue=X.split("-");if(!G&&ue.length>1)return W(ue[0])}else{var ge=X.name;N[ge]=X,G=ge}return!J&&G&&(j=G),G||!J&&j},F=function(W,X){if(H(W))return W.clone();var z=typeof X=="object"?X:{};return z.date=W,z.args=arguments,new $(z)},U=B;U.l=O,U.i=H,U.w=function(W,X){return F(W,{locale:X.$L,utc:X.$u,x:X.$x,$offset:X.$offset})};var $=function(){function W(z){this.$L=O(z.locale,null,!0),this.parse(z),this.$x=this.$x||z.x||{},this[K]=!0}var X=W.prototype;return X.parse=function(z){this.$d=function(J){var G=J.date,ce=J.utc;if(G===null)return new Date(NaN);if(U.u(G))return new Date;if(G instanceof Date)return new Date(G);if(typeof G=="string"&&!/Z$/i.test(G)){var ue=G.match(k);if(ue){var ge=ue[2]-1||0,be=(ue[7]||"0").substring(0,3);return ce?new Date(Date.UTC(ue[1],ge,ue[3]||1,ue[4]||0,ue[5]||0,ue[6]||0,be)):new Date(ue[1],ge,ue[3]||1,ue[4]||0,ue[5]||0,ue[6]||0,be)}}return new Date(G)}(z),this.init()},X.init=function(){var z=this.$d;this.$y=z.getFullYear(),this.$M=z.getMonth(),this.$D=z.getDate(),this.$W=z.getDay(),this.$H=z.getHours(),this.$m=z.getMinutes(),this.$s=z.getSeconds(),this.$ms=z.getMilliseconds()},X.$utils=function(){return U},X.isValid=function(){return this.$d.toString()!==T},X.isSame=function(z,J){var G=F(z);return this.startOf(J)<=G&&G<=this.endOf(J)},X.isAfter=function(z,J){return F(z)<this.startOf(J)},X.isBefore=function(z,J){return this.endOf(J)<F(z)},X.$g=function(z,J,G){return U.u(z)?this[J]:this.set(G,z)},X.unix=function(){return Math.floor(this.valueOf()/1e3)},X.valueOf=function(){return this.$d.getTime()},X.startOf=function(z,J){var G=this,ce=!!U.u(J)||J,ue=U.p(z),ge=function(te,ie){var ye=U.w(G.$u?Date.UTC(G.$y,ie,te):new Date(G.$y,ie,te),G);return ce?ye:ye.endOf(d)},be=function(te,ie){return U.w(G.toDate()[te].apply(G.toDate("s"),(ce?[0,0,0,0]:[23,59,59,999]).slice(ie)),G)},Re=this.$W,Ie=this.$M,je=this.$D,We="set"+(this.$u?"UTC":"");switch(ue){case g:return ce?ge(1,0):ge(31,11);case p:return ce?ge(1,Ie):ge(0,Ie+1);case h:var M=this.$locale().weekStart||0,w=(Re<M?Re+7:Re)-M;return ge(ce?je-w:je+(6-w),Ie);case d:case E:return be(We+"Hours",0);case u:return be(We+"Minutes",1);case l:return be(We+"Seconds",2);case a:return be(We+"Milliseconds",3);default:return this.clone()}},X.endOf=function(z){return this.startOf(z,!1)},X.$set=function(z,J){var G,ce=U.p(z),ue="set"+(this.$u?"UTC":""),ge=(G={},G[d]=ue+"Date",G[E]=ue+"Date",G[p]=ue+"Month",G[g]=ue+"FullYear",G[u]=ue+"Hours",G[l]=ue+"Minutes",G[a]=ue+"Seconds",G[o]=ue+"Milliseconds",G)[ce],be=ce===d?this.$D+(J-this.$W):J;if(ce===p||ce===g){var Re=this.clone().set(E,1);Re.$d[ge](be),Re.init(),this.$d=Re.set(E,Math.min(this.$D,Re.daysInMonth())).$d}else ge&&this.$d[ge](be);return this.init(),this},X.set=function(z,J){return this.clone().$set(z,J)},X.get=function(z){return this[U.p(z)]()},X.add=function(z,J){var G,ce=this;z=Number(z);var ue=U.p(J),ge=function(Ie){var je=F(ce);return U.w(je.date(je.date()+Math.round(Ie*z)),ce)};if(ue===p)return this.set(p,this.$M+z);if(ue===g)return this.set(g,this.$y+z);if(ue===d)return ge(1);if(ue===h)return ge(7);var be=(G={},G[l]=s,G[u]=r,G[a]=n,G)[ue]||1,Re=this.$d.getTime()+z*be;return U.w(Re,this)},X.subtract=function(z,J){return this.add(-1*z,J)},X.format=function(z){var J=this,G=this.$locale();if(!this.isValid())return G.invalidDate||T;var ce=z||"YYYY-MM-DDTHH:mm:ssZ",ue=U.z(this),ge=this.$H,be=this.$m,Re=this.$M,Ie=G.weekdays,je=G.months,We=G.meridiem,M=function(ie,ye,b,v){return ie&&(ie[ye]||ie(J,ce))||b[ye].slice(0,v)},w=function(ie){return U.s(ge%12||12,ie,"0")},te=We||function(ie,ye,b){var v=ie<12?"AM":"PM";return b?v.toLowerCase():v};return ce.replace(P,function(ie,ye){return ye||function(b){switch(b){case"YY":return String(J.$y).slice(-2);case"YYYY":return U.s(J.$y,4,"0");case"M":return Re+1;case"MM":return U.s(Re+1,2,"0");case"MMM":return M(G.monthsShort,Re,je,3);case"MMMM":return M(je,Re);case"D":return J.$D;case"DD":return U.s(J.$D,2,"0");case"d":return String(J.$W);case"dd":return M(G.weekdaysMin,J.$W,Ie,2);case"ddd":return M(G.weekdaysShort,J.$W,Ie,3);case"dddd":return Ie[J.$W];case"H":return String(ge);case"HH":return U.s(ge,2,"0");case"h":return w(1);case"hh":return w(2);case"a":return te(ge,be,!0);case"A":return te(ge,be,!1);case"m":return String(be);case"mm":return U.s(be,2,"0");case"s":return String(J.$s);case"ss":return U.s(J.$s,2,"0");case"SSS":return U.s(J.$ms,3,"0");case"Z":return ue}return null}(ie)||ue.replace(":","")})},X.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},X.diff=function(z,J,G){var ce,ue=this,ge=U.p(J),be=F(z),Re=(be.utcOffset()-this.utcOffset())*s,Ie=this-be,je=function(){return U.m(ue,be)};switch(ge){case g:ce=je()/12;break;case p:ce=je();break;case _:ce=je()/3;break;case h:ce=(Ie-Re)/6048e5;break;case d:ce=(Ie-Re)/864e5;break;case u:ce=Ie/r;break;case l:ce=Ie/s;break;case a:ce=Ie/n;break;default:ce=Ie}return G?ce:U.a(ce)},X.daysInMonth=function(){return this.endOf(p).$D},X.$locale=function(){return N[this.$L]},X.locale=function(z,J){if(!z)return this.$L;var G=this.clone(),ce=O(z,J,!0);return ce&&(G.$L=ce),G},X.clone=function(){return U.w(this.$d,this)},X.toDate=function(){return new Date(this.valueOf())},X.toJSON=function(){return this.isValid()?this.toISOString():null},X.toISOString=function(){return this.$d.toISOString()},X.toString=function(){return this.$d.toUTCString()},W}(),Q=$.prototype;return F.prototype=Q,[["$ms",o],["$s",a],["$m",l],["$H",u],["$W",d],["$M",p],["$y",g],["$D",E]].forEach(function(W){Q[W[1]]=function(X){return this.$g(X,W[0],W[1])}}),F.extend=function(W,X){return W.$i||(W(X,$,F),W.$i=!0),F},F.locale=O,F.isDayjs=H,F.unix=function(W){return F(1e3*W)},F.en=N[j],F.Ls=N,F.p={},F})}(Oi)),Oi.exports}var WE=KE();const zE=Fh(WE);function Hh(e,t){return function(){return e.apply(t,arguments)}}const{toString:YE}=Object.prototype,{getPrototypeOf:Dl}=Object,{iterator:so,toStringTag:Vh}=Symbol,ro=(e=>t=>{const n=YE.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Gt=e=>(e=e.toLowerCase(),t=>ro(t)===e),io=e=>t=>typeof t===e,{isArray:tr}=Array,kr=io("undefined");function GE(e){return e!==null&&!kr(e)&&e.constructor!==null&&!kr(e.constructor)&&Ct(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Uh=Gt("ArrayBuffer");function JE(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Uh(e.buffer),t}const QE=io("string"),Ct=io("function"),jh=io("number"),oo=e=>e!==null&&typeof e=="object",XE=e=>e===!0||e===!1,Ri=e=>{if(ro(e)!=="object")return!1;const t=Dl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Vh in e)&&!(so in e)},ZE=Gt("Date"),ew=Gt("File"),tw=Gt("Blob"),nw=Gt("FileList"),sw=e=>oo(e)&&Ct(e.pipe),rw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ct(e.append)&&((t=ro(e))==="formdata"||t==="object"&&Ct(e.toString)&&e.toString()==="[object FormData]"))},iw=Gt("URLSearchParams"),[ow,aw,lw,cw]=["ReadableStream","Request","Response","Headers"].map(Gt),uw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function qr(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),tr(e))for(s=0,r=e.length;s<r;s++)t.call(null,e[s],s,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let l;for(s=0;s<a;s++)l=o[s],t.call(null,e[l],l,e)}}function qh(e,t){t=t.toLowerCase();const n=Object.keys(e);let s=n.length,r;for(;s-- >0;)if(r=n[s],t===r.toLowerCase())return r;return null}const ds=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Kh=e=>!kr(e)&&e!==ds;function Xa(){const{caseless:e}=Kh(this)&&this||{},t={},n=(s,r)=>{const o=e&&qh(t,r)||r;Ri(t[o])&&Ri(s)?t[o]=Xa(t[o],s):Ri(s)?t[o]=Xa({},s):tr(s)?t[o]=s.slice():t[o]=s};for(let s=0,r=arguments.length;s<r;s++)arguments[s]&&qr(arguments[s],n);return t}const fw=(e,t,n,{allOwnKeys:s}={})=>(qr(t,(r,o)=>{n&&Ct(r)?e[o]=Hh(r,n):e[o]=r},{allOwnKeys:s}),e),dw=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),hw=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},pw=(e,t,n,s)=>{let r,o,a;const l={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],(!s||s(a,e,t))&&!l[a]&&(t[a]=e[a],l[a]=!0);e=n!==!1&&Dl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},mw=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},gw=e=>{if(!e)return null;if(tr(e))return e;let t=e.length;if(!jh(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},_w=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Dl(Uint8Array)),bw=(e,t)=>{const s=(e&&e[so]).call(e);let r;for(;(r=s.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},vw=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},yw=Gt("HTMLFormElement"),Ew=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),sf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ww=Gt("RegExp"),Wh=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};qr(n,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(s[o]=a||r)}),Object.defineProperties(e,s)},Tw=e=>{Wh(e,(t,n)=>{if(Ct(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(Ct(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Aw=(e,t)=>{const n={},s=r=>{r.forEach(o=>{n[o]=!0})};return tr(e)?s(e):s(String(e).split(t)),n},Cw=()=>{},Sw=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function Ow(e){return!!(e&&Ct(e.append)&&e[Vh]==="FormData"&&e[so])}const Rw=e=>{const t=new Array(10),n=(s,r)=>{if(oo(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const o=tr(s)?[]:{};return qr(s,(a,l)=>{const u=n(a,r+1);!kr(u)&&(o[l]=u)}),t[r]=void 0,o}}return s};return n(e,0)},Nw=Gt("AsyncFunction"),xw=e=>e&&(oo(e)||Ct(e))&&Ct(e.then)&&Ct(e.catch),zh=((e,t)=>e?setImmediate:t?((n,s)=>(ds.addEventListener("message",({source:r,data:o})=>{r===ds&&o===n&&s.length&&s.shift()()},!1),r=>{s.push(r),ds.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Ct(ds.postMessage)),Pw=typeof queueMicrotask<"u"?queueMicrotask.bind(ds):typeof process<"u"&&process.nextTick||zh,Dw=e=>e!=null&&Ct(e[so]),x={isArray:tr,isArrayBuffer:Uh,isBuffer:GE,isFormData:rw,isArrayBufferView:JE,isString:QE,isNumber:jh,isBoolean:XE,isObject:oo,isPlainObject:Ri,isReadableStream:ow,isRequest:aw,isResponse:lw,isHeaders:cw,isUndefined:kr,isDate:ZE,isFile:ew,isBlob:tw,isRegExp:ww,isFunction:Ct,isStream:sw,isURLSearchParams:iw,isTypedArray:_w,isFileList:nw,forEach:qr,merge:Xa,extend:fw,trim:uw,stripBOM:dw,inherits:hw,toFlatObject:pw,kindOf:ro,kindOfTest:Gt,endsWith:mw,toArray:gw,forEachEntry:bw,matchAll:vw,isHTMLForm:yw,hasOwnProperty:sf,hasOwnProp:sf,reduceDescriptors:Wh,freezeMethods:Tw,toObjectSet:Aw,toCamelCase:Ew,noop:Cw,toFiniteNumber:Sw,findKey:qh,global:ds,isContextDefined:Kh,isSpecCompliantForm:Ow,toJSONObject:Rw,isAsyncFn:Nw,isThenable:xw,setImmediate:zh,asap:Pw,isIterable:Dw};function ve(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}x.inherits(ve,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:x.toJSONObject(this.config),code:this.code,status:this.status}}});const Yh=ve.prototype,Gh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Gh[e]={value:e}});Object.defineProperties(ve,Gh);Object.defineProperty(Yh,"isAxiosError",{value:!0});ve.from=(e,t,n,s,r,o)=>{const a=Object.create(Yh);return x.toFlatObject(e,a,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),ve.call(a,e.message,t,n,s,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const $w=null;function Za(e){return x.isPlainObject(e)||x.isArray(e)}function Jh(e){return x.endsWith(e,"[]")?e.slice(0,-2):e}function rf(e,t,n){return e?e.concat(t).map(function(r,o){return r=Jh(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Lw(e){return x.isArray(e)&&!e.some(Za)}const Iw=x.toFlatObject(x,{},null,function(t){return/^is[A-Z]/.test(t)});function ao(e,t,n){if(!x.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=x.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(T,k){return!x.isUndefined(k[T])});const s=n.metaTokens,r=n.visitor||h,o=n.dots,a=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&x.isSpecCompliantForm(t);if(!x.isFunction(r))throw new TypeError("visitor must be a function");function d(E){if(E===null)return"";if(x.isDate(E))return E.toISOString();if(!u&&x.isBlob(E))throw new ve("Blob is not supported. Use a Buffer instead.");return x.isArrayBuffer(E)||x.isTypedArray(E)?u&&typeof Blob=="function"?new Blob([E]):Buffer.from(E):E}function h(E,T,k){let P=E;if(E&&!k&&typeof E=="object"){if(x.endsWith(T,"{}"))T=s?T:T.slice(0,-2),E=JSON.stringify(E);else if(x.isArray(E)&&Lw(E)||(x.isFileList(E)||x.endsWith(T,"[]"))&&(P=x.toArray(E)))return T=Jh(T),P.forEach(function(I,B){!(x.isUndefined(I)||I===null)&&t.append(a===!0?rf([T],B,o):a===null?T:T+"[]",d(I))}),!1}return Za(E)?!0:(t.append(rf(k,T,o),d(E)),!1)}const p=[],_=Object.assign(Iw,{defaultVisitor:h,convertValue:d,isVisitable:Za});function g(E,T){if(!x.isUndefined(E)){if(p.indexOf(E)!==-1)throw Error("Circular reference detected in "+T.join("."));p.push(E),x.forEach(E,function(P,D){(!(x.isUndefined(P)||P===null)&&r.call(t,P,x.isString(D)?D.trim():D,T,_))===!0&&g(P,T?T.concat(D):[D])}),p.pop()}}if(!x.isObject(e))throw new TypeError("data must be an object");return g(e),t}function of(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function $l(e,t){this._pairs=[],e&&ao(e,this,t)}const Qh=$l.prototype;Qh.append=function(t,n){this._pairs.push([t,n])};Qh.toString=function(t){const n=t?function(s){return t.call(this,s,of)}:of;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Mw(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xh(e,t,n){if(!t)return e;const s=n&&n.encode||Mw;x.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=x.isURLSearchParams(t)?t.toString():new $l(t,n).toString(s),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class af{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){x.forEach(this.handlers,function(s){s!==null&&t(s)})}}const Zh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},kw=typeof URLSearchParams<"u"?URLSearchParams:$l,Bw=typeof FormData<"u"?FormData:null,Fw=typeof Blob<"u"?Blob:null,Hw={isBrowser:!0,classes:{URLSearchParams:kw,FormData:Bw,Blob:Fw},protocols:["http","https","file","blob","url","data"]},Ll=typeof window<"u"&&typeof document<"u",el=typeof navigator=="object"&&navigator||void 0,Vw=Ll&&(!el||["ReactNative","NativeScript","NS"].indexOf(el.product)<0),Uw=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",jw=Ll&&window.location.href||"http://localhost",qw=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ll,hasStandardBrowserEnv:Vw,hasStandardBrowserWebWorkerEnv:Uw,navigator:el,origin:jw},Symbol.toStringTag,{value:"Module"})),ht={...qw,...Hw};function Kw(e,t){return ao(e,new ht.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,o){return ht.isNode&&x.isBuffer(n)?(this.append(s,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Ww(e){return x.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function zw(e){const t={},n=Object.keys(e);let s;const r=n.length;let o;for(s=0;s<r;s++)o=n[s],t[o]=e[o];return t}function ep(e){function t(n,s,r,o){let a=n[o++];if(a==="__proto__")return!0;const l=Number.isFinite(+a),u=o>=n.length;return a=!a&&x.isArray(r)?r.length:a,u?(x.hasOwnProp(r,a)?r[a]=[r[a],s]:r[a]=s,!l):((!r[a]||!x.isObject(r[a]))&&(r[a]=[]),t(n,s,r[a],o)&&x.isArray(r[a])&&(r[a]=zw(r[a])),!l)}if(x.isFormData(e)&&x.isFunction(e.entries)){const n={};return x.forEachEntry(e,(s,r)=>{t(Ww(s),r,n,0)}),n}return null}function Yw(e,t,n){if(x.isString(e))try{return(t||JSON.parse)(e),x.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(n||JSON.stringify)(e)}const Kr={transitional:Zh,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,o=x.isObject(t);if(o&&x.isHTMLForm(t)&&(t=new FormData(t)),x.isFormData(t))return r?JSON.stringify(ep(t)):t;if(x.isArrayBuffer(t)||x.isBuffer(t)||x.isStream(t)||x.isFile(t)||x.isBlob(t)||x.isReadableStream(t))return t;if(x.isArrayBufferView(t))return t.buffer;if(x.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(o){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Kw(t,this.formSerializer).toString();if((l=x.isFileList(t))||s.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ao(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Yw(t)):t}],transformResponse:[function(t){const n=this.transitional||Kr.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(x.isResponse(t)||x.isReadableStream(t))return t;if(t&&x.isString(t)&&(s&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(l){if(a)throw l.name==="SyntaxError"?ve.from(l,ve.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ht.classes.FormData,Blob:ht.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};x.forEach(["delete","get","head","post","put","patch"],e=>{Kr.headers[e]={}});const Gw=x.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Jw=e=>{const t={};let n,s,r;return e&&e.split(`
|
|
`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),s=a.substring(r+1).trim(),!(!n||t[n]&&Gw[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},lf=Symbol("internals");function gr(e){return e&&String(e).trim().toLowerCase()}function Ni(e){return e===!1||e==null?e:x.isArray(e)?e.map(Ni):String(e)}function Qw(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const Xw=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function aa(e,t,n,s,r){if(x.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!x.isString(t)){if(x.isString(s))return t.indexOf(s)!==-1;if(x.isRegExp(s))return s.test(t)}}function Zw(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function e0(e,t){const n=x.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,o,a){return this[s].call(this,t,r,o,a)},configurable:!0})})}let St=class{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function o(l,u,d){const h=gr(u);if(!h)throw new Error("header name must be a non-empty string");const p=x.findKey(r,h);(!p||r[p]===void 0||d===!0||d===void 0&&r[p]!==!1)&&(r[p||u]=Ni(l))}const a=(l,u)=>x.forEach(l,(d,h)=>o(d,h,u));if(x.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(x.isString(t)&&(t=t.trim())&&!Xw(t))a(Jw(t),n);else if(x.isObject(t)&&x.isIterable(t)){let l={},u,d;for(const h of t){if(!x.isArray(h))throw TypeError("Object iterator must return a key-value pair");l[d=h[0]]=(u=l[d])?x.isArray(u)?[...u,h[1]]:[u,h[1]]:h[1]}a(l,n)}else t!=null&&o(n,t,s);return this}get(t,n){if(t=gr(t),t){const s=x.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Qw(r);if(x.isFunction(n))return n.call(this,r,s);if(x.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=gr(t),t){const s=x.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||aa(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function o(a){if(a=gr(a),a){const l=x.findKey(s,a);l&&(!n||aa(s,s[l],l,n))&&(delete s[l],r=!0)}}return x.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const o=n[s];(!t||aa(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,s={};return x.forEach(this,(r,o)=>{const a=x.findKey(s,o);if(a){n[a]=Ni(r),delete n[o];return}const l=t?Zw(o):String(o).trim();l!==o&&delete n[o],n[l]=Ni(r),s[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return x.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&x.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
|
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[lf]=this[lf]={accessors:{}}).accessors,r=this.prototype;function o(a){const l=gr(a);s[l]||(e0(r,a),s[l]=!0)}return x.isArray(t)?t.forEach(o):o(t),this}};St.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);x.reduceDescriptors(St.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});x.freezeMethods(St);function la(e,t){const n=this||Kr,s=t||n,r=St.from(s.headers);let o=s.data;return x.forEach(e,function(l){o=l.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function tp(e){return!!(e&&e.__CANCEL__)}function nr(e,t,n){ve.call(this,e??"canceled",ve.ERR_CANCELED,t,n),this.name="CanceledError"}x.inherits(nr,ve,{__CANCEL__:!0});function np(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new ve("Request failed with status code "+n.status,[ve.ERR_BAD_REQUEST,ve.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function t0(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function n0(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(u){const d=Date.now(),h=s[o];a||(a=d),n[r]=u,s[r]=d;let p=o,_=0;for(;p!==r;)_+=n[p++],p=p%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),d-a<t)return;const g=h&&d-h;return g?Math.round(_*1e3/g):void 0}}function s0(e,t){let n=0,s=1e3/t,r,o;const a=(d,h=Date.now())=>{n=h,r=null,o&&(clearTimeout(o),o=null),e.apply(null,d)};return[(...d)=>{const h=Date.now(),p=h-n;p>=s?a(d,h):(r=d,o||(o=setTimeout(()=>{o=null,a(r)},s-p)))},()=>r&&a(r)]}const Ui=(e,t,n=3)=>{let s=0;const r=n0(50,250);return s0(o=>{const a=o.loaded,l=o.lengthComputable?o.total:void 0,u=a-s,d=r(u),h=a<=l;s=a;const p={loaded:a,total:l,progress:l?a/l:void 0,bytes:u,rate:d||void 0,estimated:d&&l&&h?(l-a)/d:void 0,event:o,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(p)},n)},cf=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},uf=e=>(...t)=>x.asap(()=>e(...t)),r0=ht.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ht.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ht.origin),ht.navigator&&/(msie|trident)/i.test(ht.navigator.userAgent)):()=>!0,i0=ht.hasStandardBrowserEnv?{write(e,t,n,s,r,o){const a=[e+"="+encodeURIComponent(t)];x.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),x.isString(s)&&a.push("path="+s),x.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function o0(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function a0(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function sp(e,t,n){let s=!o0(t);return e&&(s||n==!1)?a0(e,t):t}const ff=e=>e instanceof St?{...e}:e;function vs(e,t){t=t||{};const n={};function s(d,h,p,_){return x.isPlainObject(d)&&x.isPlainObject(h)?x.merge.call({caseless:_},d,h):x.isPlainObject(h)?x.merge({},h):x.isArray(h)?h.slice():h}function r(d,h,p,_){if(x.isUndefined(h)){if(!x.isUndefined(d))return s(void 0,d,p,_)}else return s(d,h,p,_)}function o(d,h){if(!x.isUndefined(h))return s(void 0,h)}function a(d,h){if(x.isUndefined(h)){if(!x.isUndefined(d))return s(void 0,d)}else return s(void 0,h)}function l(d,h,p){if(p in t)return s(d,h);if(p in e)return s(void 0,d)}const u={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:(d,h,p)=>r(ff(d),ff(h),p,!0)};return x.forEach(Object.keys(Object.assign({},e,t)),function(h){const p=u[h]||r,_=p(e[h],t[h],h);x.isUndefined(_)&&p!==l||(n[h]=_)}),n}const rp=e=>{const t=vs({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:l}=t;t.headers=a=St.from(a),t.url=Xh(sp(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(x.isFormData(n)){if(ht.hasStandardBrowserEnv||ht.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((u=a.getContentType())!==!1){const[d,...h]=u?u.split(";").map(p=>p.trim()).filter(Boolean):[];a.setContentType([d||"multipart/form-data",...h].join("; "))}}if(ht.hasStandardBrowserEnv&&(s&&x.isFunction(s)&&(s=s(t)),s||s!==!1&&r0(t.url))){const d=r&&o&&i0.read(o);d&&a.set(r,d)}return t},l0=typeof XMLHttpRequest<"u",c0=l0&&function(e){return new Promise(function(n,s){const r=rp(e);let o=r.data;const a=St.from(r.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:d}=r,h,p,_,g,E;function T(){g&&g(),E&&E(),r.cancelToken&&r.cancelToken.unsubscribe(h),r.signal&&r.signal.removeEventListener("abort",h)}let k=new XMLHttpRequest;k.open(r.method.toUpperCase(),r.url,!0),k.timeout=r.timeout;function P(){if(!k)return;const I=St.from("getAllResponseHeaders"in k&&k.getAllResponseHeaders()),j={data:!l||l==="text"||l==="json"?k.responseText:k.response,status:k.status,statusText:k.statusText,headers:I,config:e,request:k};np(function(K){n(K),T()},function(K){s(K),T()},j),k=null}"onloadend"in k?k.onloadend=P:k.onreadystatechange=function(){!k||k.readyState!==4||k.status===0&&!(k.responseURL&&k.responseURL.indexOf("file:")===0)||setTimeout(P)},k.onabort=function(){k&&(s(new ve("Request aborted",ve.ECONNABORTED,e,k)),k=null)},k.onerror=function(){s(new ve("Network Error",ve.ERR_NETWORK,e,k)),k=null},k.ontimeout=function(){let B=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const j=r.transitional||Zh;r.timeoutErrorMessage&&(B=r.timeoutErrorMessage),s(new ve(B,j.clarifyTimeoutError?ve.ETIMEDOUT:ve.ECONNABORTED,e,k)),k=null},o===void 0&&a.setContentType(null),"setRequestHeader"in k&&x.forEach(a.toJSON(),function(B,j){k.setRequestHeader(j,B)}),x.isUndefined(r.withCredentials)||(k.withCredentials=!!r.withCredentials),l&&l!=="json"&&(k.responseType=r.responseType),d&&([_,E]=Ui(d,!0),k.addEventListener("progress",_)),u&&k.upload&&([p,g]=Ui(u),k.upload.addEventListener("progress",p),k.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(h=I=>{k&&(s(!I||I.type?new nr(null,e,k):I),k.abort(),k=null)},r.cancelToken&&r.cancelToken.subscribe(h),r.signal&&(r.signal.aborted?h():r.signal.addEventListener("abort",h)));const D=t0(r.url);if(D&&ht.protocols.indexOf(D)===-1){s(new ve("Unsupported protocol "+D+":",ve.ERR_BAD_REQUEST,e));return}k.send(o||null)})},u0=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const o=function(d){if(!r){r=!0,l();const h=d instanceof Error?d:this.reason;s.abort(h instanceof ve?h:new nr(h instanceof Error?h.message:h))}};let a=t&&setTimeout(()=>{a=null,o(new ve(`timeout ${t} of ms exceeded`,ve.ETIMEDOUT))},t);const l=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(d=>{d.unsubscribe?d.unsubscribe(o):d.removeEventListener("abort",o)}),e=null)};e.forEach(d=>d.addEventListener("abort",o));const{signal:u}=s;return u.unsubscribe=()=>x.asap(l),u}},f0=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let s=0,r;for(;s<n;)r=s+t,yield e.slice(s,r),s=r},d0=async function*(e,t){for await(const n of h0(e))yield*f0(n,t)},h0=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:s}=await t.read();if(n)break;yield s}}finally{await t.cancel()}},df=(e,t,n,s)=>{const r=d0(e,t);let o=0,a,l=u=>{a||(a=!0,s&&s(u))};return new ReadableStream({async pull(u){try{const{done:d,value:h}=await r.next();if(d){l(),u.close();return}let p=h.byteLength;if(n){let _=o+=p;n(_)}u.enqueue(new Uint8Array(h))}catch(d){throw l(d),d}},cancel(u){return l(u),r.return()}},{highWaterMark:2})},lo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ip=lo&&typeof ReadableStream=="function",p0=lo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),op=(e,...t)=>{try{return!!e(...t)}catch{return!1}},m0=ip&&op(()=>{let e=!1;const t=new Request(ht.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),hf=64*1024,tl=ip&&op(()=>x.isReadableStream(new Response("").body)),ji={stream:tl&&(e=>e.body)};lo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!ji[t]&&(ji[t]=x.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new ve(`Response type '${t}' is not supported`,ve.ERR_NOT_SUPPORT,s)})})})(new Response);const g0=async e=>{if(e==null)return 0;if(x.isBlob(e))return e.size;if(x.isSpecCompliantForm(e))return(await new Request(ht.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(x.isArrayBufferView(e)||x.isArrayBuffer(e))return e.byteLength;if(x.isURLSearchParams(e)&&(e=e+""),x.isString(e))return(await p0(e)).byteLength},_0=async(e,t)=>{const n=x.toFiniteNumber(e.getContentLength());return n??g0(t)},b0=lo&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:o,timeout:a,onDownloadProgress:l,onUploadProgress:u,responseType:d,headers:h,withCredentials:p="same-origin",fetchOptions:_}=rp(e);d=d?(d+"").toLowerCase():"text";let g=u0([r,o&&o.toAbortSignal()],a),E;const T=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let k;try{if(u&&m0&&n!=="get"&&n!=="head"&&(k=await _0(h,s))!==0){let j=new Request(t,{method:"POST",body:s,duplex:"half"}),N;if(x.isFormData(s)&&(N=j.headers.get("content-type"))&&h.setContentType(N),j.body){const[K,H]=cf(k,Ui(uf(u)));s=df(j.body,hf,K,H)}}x.isString(p)||(p=p?"include":"omit");const P="credentials"in Request.prototype;E=new Request(t,{..._,signal:g,method:n.toUpperCase(),headers:h.normalize().toJSON(),body:s,duplex:"half",credentials:P?p:void 0});let D=await fetch(E);const I=tl&&(d==="stream"||d==="response");if(tl&&(l||I&&T)){const j={};["status","statusText","headers"].forEach(O=>{j[O]=D[O]});const N=x.toFiniteNumber(D.headers.get("content-length")),[K,H]=l&&cf(N,Ui(uf(l),!0))||[];D=new Response(df(D.body,hf,K,()=>{H&&H(),T&&T()}),j)}d=d||"text";let B=await ji[x.findKey(ji,d)||"text"](D,e);return!I&&T&&T(),await new Promise((j,N)=>{np(j,N,{data:B,headers:St.from(D.headers),status:D.status,statusText:D.statusText,config:e,request:E})})}catch(P){throw T&&T(),P&&P.name==="TypeError"&&/Load failed|fetch/i.test(P.message)?Object.assign(new ve("Network Error",ve.ERR_NETWORK,e,E),{cause:P.cause||P}):ve.from(P,P&&P.code,e,E)}}),nl={http:$w,xhr:c0,fetch:b0};x.forEach(nl,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const pf=e=>`- ${e}`,v0=e=>x.isFunction(e)||e===null||e===!1,ap={getAdapter:e=>{e=x.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let o=0;o<t;o++){n=e[o];let a;if(s=n,!v0(n)&&(s=nl[(a=String(n)).toLowerCase()],s===void 0))throw new ve(`Unknown adapter '${a}'`);if(s)break;r[a||"#"+o]=s}if(!s){const o=Object.entries(r).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
|
|
`+o.map(pf).join(`
|
|
`):" "+pf(o[0]):"as no adapter specified";throw new ve("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return s},adapters:nl};function ca(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new nr(null,e)}function mf(e){return ca(e),e.headers=St.from(e.headers),e.data=la.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ap.getAdapter(e.adapter||Kr.adapter)(e).then(function(s){return ca(e),s.data=la.call(e,e.transformResponse,s),s.headers=St.from(s.headers),s},function(s){return tp(s)||(ca(e),s&&s.response&&(s.response.data=la.call(e,e.transformResponse,s.response),s.response.headers=St.from(s.response.headers))),Promise.reject(s)})}const lp="1.9.0",co={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{co[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const gf={};co.transitional=function(t,n,s){function r(o,a){return"[Axios v"+lp+"] Transitional option '"+o+"'"+a+(s?". "+s:"")}return(o,a,l)=>{if(t===!1)throw new ve(r(a," has been removed"+(n?" in "+n:"")),ve.ERR_DEPRECATED);return n&&!gf[a]&&(gf[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,l):!0}};co.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function y0(e,t,n){if(typeof e!="object")throw new ve("options must be an object",ve.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const o=s[r],a=t[o];if(a){const l=e[o],u=l===void 0||a(l,o,e);if(u!==!0)throw new ve("option "+o+" must be "+u,ve.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ve("Unknown option "+o,ve.ERR_BAD_OPTION)}}const xi={assertOptions:y0,validators:co},Zt=xi.validators;let ms=class{constructor(t){this.defaults=t||{},this.interceptors={request:new af,response:new af}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?o&&!String(s.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
|
`+o):s.stack=o}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=vs(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:o}=n;s!==void 0&&xi.assertOptions(s,{silentJSONParsing:Zt.transitional(Zt.boolean),forcedJSONParsing:Zt.transitional(Zt.boolean),clarifyTimeoutError:Zt.transitional(Zt.boolean)},!1),r!=null&&(x.isFunction(r)?n.paramsSerializer={serialize:r}:xi.assertOptions(r,{encode:Zt.function,serialize:Zt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),xi.assertOptions(n,{baseUrl:Zt.spelling("baseURL"),withXsrfToken:Zt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&x.merge(o.common,o[n.method]);o&&x.forEach(["delete","get","head","post","put","patch","common"],E=>{delete o[E]}),n.headers=St.concat(a,o);const l=[];let u=!0;this.interceptors.request.forEach(function(T){typeof T.runWhen=="function"&&T.runWhen(n)===!1||(u=u&&T.synchronous,l.unshift(T.fulfilled,T.rejected))});const d=[];this.interceptors.response.forEach(function(T){d.push(T.fulfilled,T.rejected)});let h,p=0,_;if(!u){const E=[mf.bind(this),void 0];for(E.unshift.apply(E,l),E.push.apply(E,d),_=E.length,h=Promise.resolve(n);p<_;)h=h.then(E[p++],E[p++]);return h}_=l.length;let g=n;for(p=0;p<_;){const E=l[p++],T=l[p++];try{g=E(g)}catch(k){T.call(this,k);break}}try{h=mf.call(this,g)}catch(E){return Promise.reject(E)}for(p=0,_=d.length;p<_;)h=h.then(d[p++],d[p++]);return h}getUri(t){t=vs(this.defaults,t);const n=sp(t.baseURL,t.url,t.allowAbsoluteUrls);return Xh(n,t.params,t.paramsSerializer)}};x.forEach(["delete","get","head","options"],function(t){ms.prototype[t]=function(n,s){return this.request(vs(s||{},{method:t,url:n,data:(s||{}).data}))}});x.forEach(["post","put","patch"],function(t){function n(s){return function(o,a,l){return this.request(vs(l||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}ms.prototype[t]=n(),ms.prototype[t+"Form"]=n(!0)});let E0=class cp{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const s=this;this.promise.then(r=>{if(!s._listeners)return;let o=s._listeners.length;for(;o-- >0;)s._listeners[o](r);s._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(l=>{s.subscribe(l),o=l}).then(r);return a.cancel=function(){s.unsubscribe(o)},a},t(function(o,a,l){s.reason||(s.reason=new nr(o,a,l),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new cp(function(r){t=r}),cancel:t}}};function w0(e){return function(n){return e.apply(null,n)}}function T0(e){return x.isObject(e)&&e.isAxiosError===!0}const sl={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(sl).forEach(([e,t])=>{sl[t]=e});function up(e){const t=new ms(e),n=Hh(ms.prototype.request,t);return x.extend(n,ms.prototype,t,{allOwnKeys:!0}),x.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return up(vs(e,r))},n}const Ke=up(Kr);Ke.Axios=ms;Ke.CanceledError=nr;Ke.CancelToken=E0;Ke.isCancel=tp;Ke.VERSION=lp;Ke.toFormData=ao;Ke.AxiosError=ve;Ke.Cancel=Ke.CanceledError;Ke.all=function(t){return Promise.all(t)};Ke.spread=w0;Ke.isAxiosError=T0;Ke.mergeConfig=vs;Ke.AxiosHeaders=St;Ke.formToJSON=e=>ep(x.isHTMLForm(e)?new FormData(e):e);Ke.getAdapter=ap.getAdapter;Ke.HttpStatusCode=sl;Ke.default=Ke;const{Axios:Z1,AxiosError:eC,CanceledError:tC,isCancel:nC,CancelToken:sC,VERSION:rC,all:iC,Cancel:oC,isAxiosError:aC,spread:lC,toFormData:cC,AxiosHeaders:uC,HttpStatusCode:fC,formToJSON:dC,getAdapter:hC,mergeConfig:pC}=Ke,Wr=e=>`${window.location.protocol}//${(window.location.host+window.location.pathname+e).replace(/\/\//g,"/")}`,Il=async(e,t={})=>{try{return(await Ke.post(Wr(e),t)).data}catch(n){console.log(n);return}},rl=async(e,t={})=>{try{return(await Ke.get(Wr(e),t)).data}catch(n){console.log(n);return}},Cn=FE("clientStore",{state:()=>({notifications:[],configurations:[],clientProfile:{Email:"",Profile:{}}}),actions:{newNotification(e,t){this.notifications.push({id:Bh().toString(),status:t,content:e,time:zE(),show:!0})},async getClientProfile(){const e=await rl("/api/settings/getClientProfile");e?this.clientProfile.Profile=e.data:this.newNotification("Failed to fetch client profile","danger")},async getConfigurations(){const e=await rl("/api/configurations");e?this.configurations=e.data:this.newNotification("Failed to fetch configurations","danger")}}}),sr=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},A0={class:"card-body"},C0={class:"d-flex align-items-center mb-2"},S0={class:"ms-auto"},O0={class:"fw-medium"},R0={__name:"notification",props:{notificationData:{id:"",show:!0,content:"",time:"",status:""}},setup(e){const t=e;let n;const s=()=>{t.notificationData.show=!0,n=setTimeout(()=>{o()},5e3)},r=()=>clearTimeout(n),o=()=>t.notificationData.show=!1;return Es(()=>{s()}),(a,l)=>(Te(),Le("div",{onMouseenter:l[1]||(l[1]=u=>r()),onMouseleave:l[2]||(l[2]=u=>e.notificationData.show?s():void 0),class:bn([{"text-bg-success":e.notificationData.status==="success","text-bg-warning":e.notificationData.status==="warning","text-bg-danger":e.notificationData.status==="danger"},"card shadow rounded-3 position-relative message ms-auto notification"])},[L("div",A0,[L("div",C0,[L("small",null,yn(e.notificationData.time.format("hh:mm A")),1),L("small",S0,[L("a",{role:"button",onClick:l[0]||(l[0]=u=>o())},l[3]||(l[3]=[Xe(" Dismiss"),L("i",{class:"bi bi-x-lg ms-2"},null,-1)]))])]),L("span",O0,yn(e.notificationData.content),1)])],34))}},N0=sr(R0,[["__scopeId","data-v-3303bfcd"]]),x0={class:"messageCentre text-body position-absolute d-flex"},P0={__name:"notificationList",setup(e){const t=Cn(),n=st(()=>t.notifications.filter(s=>s.show).slice().reverse());return(s,r)=>(Te(),Le("div",x0,[xe(bE,{name:"message",tag:"div",class:"position-relative flex-sm-grow-0 flex-grow-1 d-flex align-items-end ms-sm-auto flex-column gap-2"},{default:$t(()=>[(Te(!0),Le(wt,null,Cl(n.value,o=>(Te(),jn(N0,{notificationData:o,key:o.id},null,8,["notificationData"]))),128))]),_:1})]))}},D0=sr(P0,[["__scopeId","data-v-e4fed80c"]]),$0={"data-bs-theme":"dark",class:"text-body bg-body w-100 h-100"},L0={class:"d-flex vh-100 vw-100 p-sm-4 overflow-y-scroll"},I0={class:"mx-auto my-sm-auto bg-body-tertiary rounded-4 shadow-sm position-relative",id:"listContainer",style:{width:"700px"}},M0={__name:"App",setup(e){return(t,n)=>{const s=jr("RouterView");return Te(),Le("div",$0,[L("div",L0,[L("div",I0,[(Te(),jn(Ry,null,{default:$t(()=>[xe(s,null,{default:$t(({Component:r})=>[xe(to,{name:"app",type:"transition",mode:"out-in"},{default:$t(()=>[(Te(),jn(Qv(r)))]),_:2},1024)]),_:1})]),_:1}))])]),xe(D0)])}}},k0=sr(M0,[["__scopeId","data-v-b0cc6fd5"]]);/*!
|
|
* vue-router v4.5.1
|
|
* (c) 2025 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const js=typeof document<"u";function fp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function B0(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&fp(e.default)}const De=Object.assign;function ua(e,t){const n={};for(const s in t){const r=t[s];n[s]=Yt(r)?r.map(e):e(r)}return n}const Or=()=>{},Yt=Array.isArray,dp=/#/g,F0=/&/g,H0=/\//g,V0=/=/g,U0=/\?/g,hp=/\+/g,j0=/%5B/g,q0=/%5D/g,pp=/%5E/g,K0=/%60/g,mp=/%7B/g,W0=/%7C/g,gp=/%7D/g,z0=/%20/g;function Ml(e){return encodeURI(""+e).replace(W0,"|").replace(j0,"[").replace(q0,"]")}function Y0(e){return Ml(e).replace(mp,"{").replace(gp,"}").replace(pp,"^")}function il(e){return Ml(e).replace(hp,"%2B").replace(z0,"+").replace(dp,"%23").replace(F0,"%26").replace(K0,"`").replace(mp,"{").replace(gp,"}").replace(pp,"^")}function G0(e){return il(e).replace(V0,"%3D")}function J0(e){return Ml(e).replace(dp,"%23").replace(U0,"%3F")}function Q0(e){return e==null?"":J0(e).replace(H0,"%2F")}function Br(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const X0=/\/$/,Z0=e=>e.replace(X0,"");function fa(e,t,n="/"){let s,r={},o="",a="";const l=t.indexOf("#");let u=t.indexOf("?");return l<u&&l>=0&&(u=-1),u>-1&&(s=t.slice(0,u),o=t.slice(u+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),a=t.slice(l,t.length)),s=sT(s??t,n),{fullPath:s+(o&&"?")+o+a,path:s,query:r,hash:Br(a)}}function eT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function _f(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function tT(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Xs(t.matched[s],n.matched[r])&&_p(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Xs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _p(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!nT(e[n],t[n]))return!1;return!0}function nT(e,t){return Yt(e)?bf(e,t):Yt(t)?bf(t,e):e===t}function bf(e,t){return Yt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function sT(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,a,l;for(a=0;a<s.length;a++)if(l=s[a],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(a).join("/")}const Dn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Fr;(function(e){e.pop="pop",e.push="push"})(Fr||(Fr={}));var Rr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rr||(Rr={}));function rT(e){if(!e)if(js){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Z0(e)}const iT=/^[^#]+#/;function oT(e,t){return e.replace(iT,"#")+t}function aT(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const uo=()=>({left:window.scrollX,top:window.scrollY});function lT(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=aT(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function vf(e,t){return(history.state?history.state.position-t:-1)+e}const ol=new Map;function cT(e,t){ol.set(e,t)}function uT(e){const t=ol.get(e);return ol.delete(e),t}let fT=()=>location.protocol+"//"+location.host;function bp(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let l=r.includes(e.slice(o))?e.slice(o).length:1,u=r.slice(l);return u[0]!=="/"&&(u="/"+u),_f(u,"")}return _f(n,e)+s+r}function dT(e,t,n,s){let r=[],o=[],a=null;const l=({state:_})=>{const g=bp(e,location),E=n.value,T=t.value;let k=0;if(_){if(n.value=g,t.value=_,a&&a===E){a=null;return}k=T?_.position-T.position:0}else s(g);r.forEach(P=>{P(n.value,E,{delta:k,type:Fr.pop,direction:k?k>0?Rr.forward:Rr.back:Rr.unknown})})};function u(){a=n.value}function d(_){r.push(_);const g=()=>{const E=r.indexOf(_);E>-1&&r.splice(E,1)};return o.push(g),g}function h(){const{history:_}=window;_.state&&_.replaceState(De({},_.state,{scroll:uo()}),"")}function p(){for(const _ of o)_();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",h)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",h,{passive:!0}),{pauseListeners:u,listen:d,destroy:p}}function yf(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?uo():null}}function hT(e){const{history:t,location:n}=window,s={value:bp(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(u,d,h){const p=e.indexOf("#"),_=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+u:fT()+e+u;try{t[h?"replaceState":"pushState"](d,"",_),r.value=d}catch(g){console.error(g),n[h?"replace":"assign"](_)}}function a(u,d){const h=De({},t.state,yf(r.value.back,u,r.value.forward,!0),d,{position:r.value.position});o(u,h,!0),s.value=u}function l(u,d){const h=De({},r.value,t.state,{forward:u,scroll:uo()});o(h.current,h,!0);const p=De({},yf(s.value,u,null),{position:h.position+1},d);o(u,p,!1),s.value=u}return{location:s,state:r,push:l,replace:a}}function pT(e){e=rT(e);const t=hT(e),n=dT(e,t.state,t.location,t.replace);function s(o,a=!0){a||n.pauseListeners(),history.go(o)}const r=De({location:"",base:e,go:s,createHref:oT.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function mT(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),pT(e)}function gT(e){return typeof e=="string"||e&&typeof e=="object"}function vp(e){return typeof e=="string"||typeof e=="symbol"}const yp=Symbol("");var Ef;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ef||(Ef={}));function Zs(e,t){return De(new Error,{type:e,[yp]:!0},t)}function hn(e,t){return e instanceof Error&&yp in e&&(t==null||!!(e.type&t))}const wf="[^/]+?",_T={sensitive:!1,strict:!1,start:!0,end:!0},bT=/[.+*?^${}()[\]/\\]/g;function vT(e,t){const n=De({},_T,t),s=[];let r=n.start?"^":"";const o=[];for(const d of e){const h=d.length?[]:[90];n.strict&&!d.length&&(r+="/");for(let p=0;p<d.length;p++){const _=d[p];let g=40+(n.sensitive?.25:0);if(_.type===0)p||(r+="/"),r+=_.value.replace(bT,"\\$&"),g+=40;else if(_.type===1){const{value:E,repeatable:T,optional:k,regexp:P}=_;o.push({name:E,repeatable:T,optional:k});const D=P||wf;if(D!==wf){g+=10;try{new RegExp(`(${D})`)}catch(B){throw new Error(`Invalid custom RegExp for param "${E}" (${D}): `+B.message)}}let I=T?`((?:${D})(?:/(?:${D}))*)`:`(${D})`;p||(I=k&&d.length<2?`(?:/${I})`:"/"+I),k&&(I+="?"),r+=I,g+=20,k&&(g+=-8),T&&(g+=-20),D===".*"&&(g+=-50)}h.push(g)}s.push(h)}if(n.strict&&n.end){const d=s.length-1;s[d][s[d].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function l(d){const h=d.match(a),p={};if(!h)return null;for(let _=1;_<h.length;_++){const g=h[_]||"",E=o[_-1];p[E.name]=g&&E.repeatable?g.split("/"):g}return p}function u(d){let h="",p=!1;for(const _ of e){(!p||!h.endsWith("/"))&&(h+="/"),p=!1;for(const g of _)if(g.type===0)h+=g.value;else if(g.type===1){const{value:E,repeatable:T,optional:k}=g,P=E in d?d[E]:"";if(Yt(P)&&!T)throw new Error(`Provided param "${E}" is an array but it is not repeatable (* or + modifiers)`);const D=Yt(P)?P.join("/"):P;if(!D)if(k)_.length<2&&(h.endsWith("/")?h=h.slice(0,-1):p=!0);else throw new Error(`Missing required param "${E}"`);h+=D}}return h||"/"}return{re:a,score:s,keys:o,parse:l,stringify:u}}function yT(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Ep(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=yT(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Tf(s))return 1;if(Tf(r))return-1}return r.length-s.length}function Tf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const ET={type:0,value:""},wT=/[a-zA-Z0-9_]/;function TT(e){if(!e)return[[]];if(e==="/")return[[ET]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${d}": ${g}`)}let n=0,s=n;const r=[];let o;function a(){o&&r.push(o),o=[]}let l=0,u,d="",h="";function p(){d&&(n===0?o.push({type:0,value:d}):n===1||n===2||n===3?(o.length>1&&(u==="*"||u==="+")&&t(`A repeatable param (${d}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:d,regexp:h,repeatable:u==="*"||u==="+",optional:u==="*"||u==="?"})):t("Invalid state to consume buffer"),d="")}function _(){d+=u}for(;l<e.length;){if(u=e[l++],u==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:u==="/"?(d&&p(),a()):u===":"?(p(),n=1):_();break;case 4:_(),n=s;break;case 1:u==="("?n=2:wT.test(u)?_():(p(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&l--);break;case 2:u===")"?h[h.length-1]=="\\"?h=h.slice(0,-1)+u:n=3:h+=u;break;case 3:p(),n=0,u!=="*"&&u!=="?"&&u!=="+"&&l--,h="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${d}"`),p(),a(),r}function AT(e,t,n){const s=vT(TT(e.path),n),r=De(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function CT(e,t){const n=[],s=new Map;t=Of({strict:!1,end:!0,sensitive:!1},t);function r(p){return s.get(p)}function o(p,_,g){const E=!g,T=Cf(p);T.aliasOf=g&&g.record;const k=Of(t,p),P=[T];if("alias"in p){const B=typeof p.alias=="string"?[p.alias]:p.alias;for(const j of B)P.push(Cf(De({},T,{components:g?g.record.components:T.components,path:j,aliasOf:g?g.record:T})))}let D,I;for(const B of P){const{path:j}=B;if(_&&j[0]!=="/"){const N=_.record.path,K=N[N.length-1]==="/"?"":"/";B.path=_.record.path+(j&&K+j)}if(D=AT(B,_,k),g?g.alias.push(D):(I=I||D,I!==D&&I.alias.push(D),E&&p.name&&!Sf(D)&&a(p.name)),wp(D)&&u(D),T.children){const N=T.children;for(let K=0;K<N.length;K++)o(N[K],D,g&&g.children[K])}g=g||D}return I?()=>{a(I)}:Or}function a(p){if(vp(p)){const _=s.get(p);_&&(s.delete(p),n.splice(n.indexOf(_),1),_.children.forEach(a),_.alias.forEach(a))}else{const _=n.indexOf(p);_>-1&&(n.splice(_,1),p.record.name&&s.delete(p.record.name),p.children.forEach(a),p.alias.forEach(a))}}function l(){return n}function u(p){const _=RT(p,n);n.splice(_,0,p),p.record.name&&!Sf(p)&&s.set(p.record.name,p)}function d(p,_){let g,E={},T,k;if("name"in p&&p.name){if(g=s.get(p.name),!g)throw Zs(1,{location:p});k=g.record.name,E=De(Af(_.params,g.keys.filter(I=>!I.optional).concat(g.parent?g.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),p.params&&Af(p.params,g.keys.map(I=>I.name))),T=g.stringify(E)}else if(p.path!=null)T=p.path,g=n.find(I=>I.re.test(T)),g&&(E=g.parse(T),k=g.record.name);else{if(g=_.name?s.get(_.name):n.find(I=>I.re.test(_.path)),!g)throw Zs(1,{location:p,currentLocation:_});k=g.record.name,E=De({},_.params,p.params),T=g.stringify(E)}const P=[];let D=g;for(;D;)P.unshift(D.record),D=D.parent;return{name:k,path:T,params:E,matched:P,meta:OT(P)}}e.forEach(p=>o(p));function h(){n.length=0,s.clear()}return{addRoute:o,resolve:d,removeRoute:a,clearRoutes:h,getRoutes:l,getRecordMatcher:r}}function Af(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Cf(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:ST(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function ST(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Sf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function OT(e){return e.reduce((t,n)=>De(t,n.meta),{})}function Of(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function RT(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ep(e,t[o])<0?s=o:n=o+1}const r=NT(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function NT(e){let t=e;for(;t=t.parent;)if(wp(t)&&Ep(e,t)===0)return t}function wp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function xT(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(hp," "),a=o.indexOf("="),l=Br(a<0?o:o.slice(0,a)),u=a<0?null:Br(o.slice(a+1));if(l in t){let d=t[l];Yt(d)||(d=t[l]=[d]),d.push(u)}else t[l]=u}return t}function Rf(e){let t="";for(let n in e){const s=e[n];if(n=G0(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Yt(s)?s.map(o=>o&&il(o)):[s&&il(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function PT(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Yt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const DT=Symbol(""),Nf=Symbol(""),fo=Symbol(""),kl=Symbol(""),al=Symbol("");function _r(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Fn(e,t,n,s,r,o=a=>a()){const a=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,u)=>{const d=_=>{_===!1?u(Zs(4,{from:n,to:t})):_ instanceof Error?u(_):gT(_)?u(Zs(2,{from:t,to:_})):(a&&s.enterCallbacks[r]===a&&typeof _=="function"&&a.push(_),l())},h=o(()=>e.call(s&&s.instances[r],t,n,d));let p=Promise.resolve(h);e.length<3&&(p=p.then(d)),p.catch(_=>u(_))})}function da(e,t,n,s,r=o=>o()){const o=[];for(const a of e)for(const l in a.components){let u=a.components[l];if(!(t!=="beforeRouteEnter"&&!a.instances[l]))if(fp(u)){const h=(u.__vccOpts||u)[t];h&&o.push(Fn(h,n,s,a,l,r))}else{let d=u();o.push(()=>d.then(h=>{if(!h)throw new Error(`Couldn't resolve component "${l}" at "${a.path}"`);const p=B0(h)?h.default:h;a.mods[l]=h,a.components[l]=p;const g=(p.__vccOpts||p)[t];return g&&Fn(g,n,s,a,l,r)()}))}}return o}function xf(e){const t=Ft(fo),n=Ft(kl),s=st(()=>{const u=on(e.to);return t.resolve(u)}),r=st(()=>{const{matched:u}=s.value,{length:d}=u,h=u[d-1],p=n.matched;if(!h||!p.length)return-1;const _=p.findIndex(Xs.bind(null,h));if(_>-1)return _;const g=Pf(u[d-2]);return d>1&&Pf(h)===g&&p[p.length-1].path!==g?p.findIndex(Xs.bind(null,u[d-2])):_}),o=st(()=>r.value>-1&&kT(n.params,s.value.params)),a=st(()=>r.value>-1&&r.value===n.matched.length-1&&_p(n.params,s.value.params));function l(u={}){if(MT(u)){const d=t[on(e.replace)?"replace":"push"](on(e.to)).catch(Or);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>d),d}return Promise.resolve()}return{route:s,href:st(()=>s.value.href),isActive:o,isExactActive:a,navigate:l}}function $T(e){return e.length===1?e[0]:e}const LT=Yd({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"},viewTransition:Boolean},useLink:xf,setup(e,{slots:t}){const n=Tn(xf(e)),{options:s}=Ft(fo),r=st(()=>({[Df(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Df(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&$T(t.default(n));return e.custom?o:Pl("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),IT=LT;function MT(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function kT(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Yt(r)||r.length!==s.length||s.some((o,a)=>o!==r[a]))return!1}return!0}function Pf(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Df=(e,t,n)=>e??t??n,BT=Yd({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ft(al),r=st(()=>e.route||s.value),o=Ft(Nf,0),a=st(()=>{let d=on(o);const{matched:h}=r.value;let p;for(;(p=h[d])&&!p.components;)d++;return d}),l=st(()=>r.value.matched[a.value]);Ti(Nf,st(()=>a.value+1)),Ti(DT,l),Ti(al,r);const u=At();return zs(()=>[u.value,l.value,e.name],([d,h,p],[_,g,E])=>{h&&(h.instances[p]=d,g&&g!==h&&d&&d===_&&(h.leaveGuards.size||(h.leaveGuards=g.leaveGuards),h.updateGuards.size||(h.updateGuards=g.updateGuards))),d&&h&&(!g||!Xs(h,g)||!_)&&(h.enterCallbacks[p]||[]).forEach(T=>T(d))},{flush:"post"}),()=>{const d=r.value,h=e.name,p=l.value,_=p&&p.components[h];if(!_)return $f(n.default,{Component:_,route:d});const g=p.props[h],E=g?g===!0?d.params:typeof g=="function"?g(d):g:null,k=Pl(_,De({},E,t,{onVnodeUnmounted:P=>{P.component.isUnmounted&&(p.instances[h]=null)},ref:u}));return $f(n.default,{Component:k,route:d})||k}}});function $f(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const FT=BT;function HT(e){const t=CT(e.routes,e),n=e.parseQuery||xT,s=e.stringifyQuery||Rf,r=e.history,o=_r(),a=_r(),l=_r(),u=Ov(Dn);let d=Dn;js&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const h=ua.bind(null,M=>""+M),p=ua.bind(null,Q0),_=ua.bind(null,Br);function g(M,w){let te,ie;return vp(M)?(te=t.getRecordMatcher(M),ie=w):ie=M,t.addRoute(ie,te)}function E(M){const w=t.getRecordMatcher(M);w&&t.removeRoute(w)}function T(){return t.getRoutes().map(M=>M.record)}function k(M){return!!t.getRecordMatcher(M)}function P(M,w){if(w=De({},w||u.value),typeof M=="string"){const A=fa(n,M,w.path),V=t.resolve({path:A.path},w),Y=r.createHref(A.fullPath);return De(A,V,{params:_(V.params),hash:Br(A.hash),redirectedFrom:void 0,href:Y})}let te;if(M.path!=null)te=De({},M,{path:fa(n,M.path,w.path).path});else{const A=De({},M.params);for(const V in A)A[V]==null&&delete A[V];te=De({},M,{params:p(A)}),w.params=p(w.params)}const ie=t.resolve(te,w),ye=M.hash||"";ie.params=h(_(ie.params));const b=eT(s,De({},M,{hash:Y0(ye),path:ie.path})),v=r.createHref(b);return De({fullPath:b,hash:ye,query:s===Rf?PT(M.query):M.query||{}},ie,{redirectedFrom:void 0,href:v})}function D(M){return typeof M=="string"?fa(n,M,u.value.path):De({},M)}function I(M,w){if(d!==M)return Zs(8,{from:w,to:M})}function B(M){return K(M)}function j(M){return B(De(D(M),{replace:!0}))}function N(M){const w=M.matched[M.matched.length-1];if(w&&w.redirect){const{redirect:te}=w;let ie=typeof te=="function"?te(M):te;return typeof ie=="string"&&(ie=ie.includes("?")||ie.includes("#")?ie=D(ie):{path:ie},ie.params={}),De({query:M.query,hash:M.hash,params:ie.path!=null?{}:M.params},ie)}}function K(M,w){const te=d=P(M),ie=u.value,ye=M.state,b=M.force,v=M.replace===!0,A=N(te);if(A)return K(De(D(A),{state:typeof A=="object"?De({},ye,A.state):ye,force:b,replace:v}),w||te);const V=te;V.redirectedFrom=w;let Y;return!b&&tT(s,ie,te)&&(Y=Zs(16,{to:V,from:ie}),ge(ie,ie,!0,!1)),(Y?Promise.resolve(Y):F(V,ie)).catch(C=>hn(C)?hn(C,2)?C:ue(C):G(C,V,ie)).then(C=>{if(C){if(hn(C,2))return K(De({replace:v},D(C.to),{state:typeof C.to=="object"?De({},ye,C.to.state):ye,force:b}),w||V)}else C=$(V,ie,!0,v,ye);return U(V,ie,C),C})}function H(M,w){const te=I(M,w);return te?Promise.reject(te):Promise.resolve()}function O(M){const w=Ie.values().next().value;return w&&typeof w.runWithContext=="function"?w.runWithContext(M):M()}function F(M,w){let te;const[ie,ye,b]=VT(M,w);te=da(ie.reverse(),"beforeRouteLeave",M,w);for(const A of ie)A.leaveGuards.forEach(V=>{te.push(Fn(V,M,w))});const v=H.bind(null,M,w);return te.push(v),We(te).then(()=>{te=[];for(const A of o.list())te.push(Fn(A,M,w));return te.push(v),We(te)}).then(()=>{te=da(ye,"beforeRouteUpdate",M,w);for(const A of ye)A.updateGuards.forEach(V=>{te.push(Fn(V,M,w))});return te.push(v),We(te)}).then(()=>{te=[];for(const A of b)if(A.beforeEnter)if(Yt(A.beforeEnter))for(const V of A.beforeEnter)te.push(Fn(V,M,w));else te.push(Fn(A.beforeEnter,M,w));return te.push(v),We(te)}).then(()=>(M.matched.forEach(A=>A.enterCallbacks={}),te=da(b,"beforeRouteEnter",M,w,O),te.push(v),We(te))).then(()=>{te=[];for(const A of a.list())te.push(Fn(A,M,w));return te.push(v),We(te)}).catch(A=>hn(A,8)?A:Promise.reject(A))}function U(M,w,te){l.list().forEach(ie=>O(()=>ie(M,w,te)))}function $(M,w,te,ie,ye){const b=I(M,w);if(b)return b;const v=w===Dn,A=js?history.state:{};te&&(ie||v?r.replace(M.fullPath,De({scroll:v&&A&&A.scroll},ye)):r.push(M.fullPath,ye)),u.value=M,ge(M,w,te,v),ue()}let Q;function W(){Q||(Q=r.listen((M,w,te)=>{if(!je.listening)return;const ie=P(M),ye=N(ie);if(ye){K(De(ye,{replace:!0,force:!0}),ie).catch(Or);return}d=ie;const b=u.value;js&&cT(vf(b.fullPath,te.delta),uo()),F(ie,b).catch(v=>hn(v,12)?v:hn(v,2)?(K(De(D(v.to),{force:!0}),ie).then(A=>{hn(A,20)&&!te.delta&&te.type===Fr.pop&&r.go(-1,!1)}).catch(Or),Promise.reject()):(te.delta&&r.go(-te.delta,!1),G(v,ie,b))).then(v=>{v=v||$(ie,b,!1),v&&(te.delta&&!hn(v,8)?r.go(-te.delta,!1):te.type===Fr.pop&&hn(v,20)&&r.go(-1,!1)),U(ie,b,v)}).catch(Or)}))}let X=_r(),z=_r(),J;function G(M,w,te){ue(M);const ie=z.list();return ie.length?ie.forEach(ye=>ye(M,w,te)):console.error(M),Promise.reject(M)}function ce(){return J&&u.value!==Dn?Promise.resolve():new Promise((M,w)=>{X.add([M,w])})}function ue(M){return J||(J=!M,W(),X.list().forEach(([w,te])=>M?te(M):w()),X.reset()),M}function ge(M,w,te,ie){const{scrollBehavior:ye}=e;if(!js||!ye)return Promise.resolve();const b=!te&&uT(vf(M.fullPath,0))||(ie||!te)&&history.state&&history.state.scroll||null;return Gi().then(()=>ye(M,w,b)).then(v=>v&&lT(v)).catch(v=>G(v,M,w))}const be=M=>r.go(M);let Re;const Ie=new Set,je={currentRoute:u,listening:!0,addRoute:g,removeRoute:E,clearRoutes:t.clearRoutes,hasRoute:k,getRoutes:T,resolve:P,options:e,push:B,replace:j,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:o.add,beforeResolve:a.add,afterEach:l.add,onError:z.add,isReady:ce,install(M){const w=this;M.component("RouterLink",IT),M.component("RouterView",FT),M.config.globalProperties.$router=w,Object.defineProperty(M.config.globalProperties,"$route",{enumerable:!0,get:()=>on(u)}),js&&!Re&&u.value===Dn&&(Re=!0,B(r.location).catch(ye=>{}));const te={};for(const ye in Dn)Object.defineProperty(te,ye,{get:()=>u.value[ye],enumerable:!0});M.provide(fo,w),M.provide(kl,$d(te)),M.provide(al,u);const ie=M.unmount;Ie.add(M),M.unmount=function(){Ie.delete(M),Ie.size<1&&(d=Dn,Q&&Q(),Q=null,u.value=Dn,Re=!1,J=!1),ie()}}};function We(M){return M.reduce((w,te)=>w.then(()=>O(te)),Promise.resolve())}return je}function VT(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const l=t.matched[a];l&&(e.matched.find(d=>Xs(d,l))?s.push(l):n.push(l));const u=e.matched[a];u&&(t.matched.find(d=>Xs(d,u))||r.push(u))}return[n,s,r]}function Tp(){return Ft(fo)}function UT(e){return Ft(kl)}var Vs={},ha,Lf;function jT(){return Lf||(Lf=1,ha=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),ha}var pa={},$n={},If;function ws(){if(If)return $n;If=1;let e;const t=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return $n.getSymbolSize=function(s){if(!s)throw new Error('"version" cannot be null or undefined');if(s<1||s>40)throw new Error('"version" should be in range from 1 to 40');return s*4+17},$n.getSymbolTotalCodewords=function(s){return t[s]},$n.getBCHDigit=function(n){let s=0;for(;n!==0;)s++,n>>>=1;return s},$n.setToSJISFunction=function(s){if(typeof s!="function")throw new Error('"toSJISFunc" is not a valid function.');e=s},$n.isKanjiModeEnabled=function(){return typeof e<"u"},$n.toSJIS=function(s){return e(s)},$n}var ma={},Mf;function Bl(){return Mf||(Mf=1,function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(s){return s&&typeof s.bit<"u"&&s.bit>=0&&s.bit<4},e.from=function(s,r){if(e.isValid(s))return s;try{return t(s)}catch{return r}}}(ma)),ma}var ga,kf;function qT(){if(kf)return ga;kf=1;function e(){this.buffer=[],this.length=0}return e.prototype={get:function(t){const n=Math.floor(t/8);return(this.buffer[n]>>>7-t%8&1)===1},put:function(t,n){for(let s=0;s<n;s++)this.putBit((t>>>n-s-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(t){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},ga=e,ga}var _a,Bf;function KT(){if(Bf)return _a;Bf=1;function e(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=new Uint8Array(t*t),this.reservedBit=new Uint8Array(t*t)}return e.prototype.set=function(t,n,s,r){const o=t*this.size+n;this.data[o]=s,r&&(this.reservedBit[o]=!0)},e.prototype.get=function(t,n){return this.data[t*this.size+n]},e.prototype.xor=function(t,n,s){this.data[t*this.size+n]^=s},e.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},_a=e,_a}var ba={},Ff;function WT(){return Ff||(Ff=1,function(e){const t=ws().getSymbolSize;e.getRowColCoords=function(s){if(s===1)return[];const r=Math.floor(s/7)+2,o=t(s),a=o===145?26:Math.ceil((o-13)/(2*r-2))*2,l=[o-7];for(let u=1;u<r-1;u++)l[u]=l[u-1]-a;return l.push(6),l.reverse()},e.getPositions=function(s){const r=[],o=e.getRowColCoords(s),a=o.length;for(let l=0;l<a;l++)for(let u=0;u<a;u++)l===0&&u===0||l===0&&u===a-1||l===a-1&&u===0||r.push([o[l],o[u]]);return r}}(ba)),ba}var va={},Hf;function zT(){if(Hf)return va;Hf=1;const e=ws().getSymbolSize,t=7;return va.getPositions=function(s){const r=e(s);return[[0,0],[r-t,0],[0,r-t]]},va}var ya={},Vf;function YT(){return Vf||(Vf=1,function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(r){return r!=null&&r!==""&&!isNaN(r)&&r>=0&&r<=7},e.from=function(r){return e.isValid(r)?parseInt(r,10):void 0},e.getPenaltyN1=function(r){const o=r.size;let a=0,l=0,u=0,d=null,h=null;for(let p=0;p<o;p++){l=u=0,d=h=null;for(let _=0;_<o;_++){let g=r.get(p,_);g===d?l++:(l>=5&&(a+=t.N1+(l-5)),d=g,l=1),g=r.get(_,p),g===h?u++:(u>=5&&(a+=t.N1+(u-5)),h=g,u=1)}l>=5&&(a+=t.N1+(l-5)),u>=5&&(a+=t.N1+(u-5))}return a},e.getPenaltyN2=function(r){const o=r.size;let a=0;for(let l=0;l<o-1;l++)for(let u=0;u<o-1;u++){const d=r.get(l,u)+r.get(l,u+1)+r.get(l+1,u)+r.get(l+1,u+1);(d===4||d===0)&&a++}return a*t.N2},e.getPenaltyN3=function(r){const o=r.size;let a=0,l=0,u=0;for(let d=0;d<o;d++){l=u=0;for(let h=0;h<o;h++)l=l<<1&2047|r.get(d,h),h>=10&&(l===1488||l===93)&&a++,u=u<<1&2047|r.get(h,d),h>=10&&(u===1488||u===93)&&a++}return a*t.N3},e.getPenaltyN4=function(r){let o=0;const a=r.data.length;for(let u=0;u<a;u++)o+=r.data[u];return Math.abs(Math.ceil(o*100/a/5)-10)*t.N4};function n(s,r,o){switch(s){case e.Patterns.PATTERN000:return(r+o)%2===0;case e.Patterns.PATTERN001:return r%2===0;case e.Patterns.PATTERN010:return o%3===0;case e.Patterns.PATTERN011:return(r+o)%3===0;case e.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(o/3))%2===0;case e.Patterns.PATTERN101:return r*o%2+r*o%3===0;case e.Patterns.PATTERN110:return(r*o%2+r*o%3)%2===0;case e.Patterns.PATTERN111:return(r*o%3+(r+o)%2)%2===0;default:throw new Error("bad maskPattern:"+s)}}e.applyMask=function(r,o){const a=o.size;for(let l=0;l<a;l++)for(let u=0;u<a;u++)o.isReserved(u,l)||o.xor(u,l,n(r,u,l))},e.getBestMask=function(r,o){const a=Object.keys(e.Patterns).length;let l=0,u=1/0;for(let d=0;d<a;d++){o(d),e.applyMask(d,r);const h=e.getPenaltyN1(r)+e.getPenaltyN2(r)+e.getPenaltyN3(r)+e.getPenaltyN4(r);e.applyMask(d,r),h<u&&(u=h,l=d)}return l}}(ya)),ya}var Ei={},Uf;function Ap(){if(Uf)return Ei;Uf=1;const e=Bl(),t=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return Ei.getBlocksCount=function(r,o){switch(o){case e.L:return t[(r-1)*4+0];case e.M:return t[(r-1)*4+1];case e.Q:return t[(r-1)*4+2];case e.H:return t[(r-1)*4+3];default:return}},Ei.getTotalCodewordsCount=function(r,o){switch(o){case e.L:return n[(r-1)*4+0];case e.M:return n[(r-1)*4+1];case e.Q:return n[(r-1)*4+2];case e.H:return n[(r-1)*4+3];default:return}},Ei}var Ea={},br={},jf;function GT(){if(jf)return br;jf=1;const e=new Uint8Array(512),t=new Uint8Array(256);return function(){let s=1;for(let r=0;r<255;r++)e[r]=s,t[s]=r,s<<=1,s&256&&(s^=285);for(let r=255;r<512;r++)e[r]=e[r-255]}(),br.log=function(s){if(s<1)throw new Error("log("+s+")");return t[s]},br.exp=function(s){return e[s]},br.mul=function(s,r){return s===0||r===0?0:e[t[s]+t[r]]},br}var qf;function JT(){return qf||(qf=1,function(e){const t=GT();e.mul=function(s,r){const o=new Uint8Array(s.length+r.length-1);for(let a=0;a<s.length;a++)for(let l=0;l<r.length;l++)o[a+l]^=t.mul(s[a],r[l]);return o},e.mod=function(s,r){let o=new Uint8Array(s);for(;o.length-r.length>=0;){const a=o[0];for(let u=0;u<r.length;u++)o[u]^=t.mul(r[u],a);let l=0;for(;l<o.length&&o[l]===0;)l++;o=o.slice(l)}return o},e.generateECPolynomial=function(s){let r=new Uint8Array([1]);for(let o=0;o<s;o++)r=e.mul(r,new Uint8Array([1,t.exp(o)]));return r}}(Ea)),Ea}var wa,Kf;function QT(){if(Kf)return wa;Kf=1;const e=JT();function t(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return t.prototype.initialize=function(s){this.degree=s,this.genPoly=e.generateECPolynomial(this.degree)},t.prototype.encode=function(s){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(s.length+this.degree);r.set(s);const o=e.mod(r,this.genPoly),a=this.degree-o.length;if(a>0){const l=new Uint8Array(this.degree);return l.set(o,a),l}return o},wa=t,wa}var Ta={},Aa={},Ca={},Wf;function Cp(){return Wf||(Wf=1,Ca.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40}),Ca}var en={},zf;function Sp(){if(zf)return en;zf=1;const e="[0-9]+",t="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const s="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
]))+`;en.KANJI=new RegExp(n,"g"),en.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),en.BYTE=new RegExp(s,"g"),en.NUMERIC=new RegExp(e,"g"),en.ALPHANUMERIC=new RegExp(t,"g");const r=new RegExp("^"+n+"$"),o=new RegExp("^"+e+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return en.testKanji=function(u){return r.test(u)},en.testNumeric=function(u){return o.test(u)},en.testAlphanumeric=function(u){return a.test(u)},en}var Yf;function Ts(){return Yf||(Yf=1,function(e){const t=Cp(),n=Sp();e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,a){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(a))throw new Error("Invalid version: "+a);return a>=1&&a<10?o.ccBits[0]:a<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return n.testNumeric(o)?e.NUMERIC:n.testAlphanumeric(o)?e.ALPHANUMERIC:n.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function s(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+r)}}e.from=function(o,a){if(e.isValid(o))return o;try{return s(o)}catch{return a}}}(Aa)),Aa}var Gf;function XT(){return Gf||(Gf=1,function(e){const t=ws(),n=Ap(),s=Bl(),r=Ts(),o=Cp(),a=7973,l=t.getBCHDigit(a);function u(_,g,E){for(let T=1;T<=40;T++)if(g<=e.getCapacity(T,E,_))return T}function d(_,g){return r.getCharCountIndicator(_,g)+4}function h(_,g){let E=0;return _.forEach(function(T){const k=d(T.mode,g);E+=k+T.getBitsLength()}),E}function p(_,g){for(let E=1;E<=40;E++)if(h(_,E)<=e.getCapacity(E,g,r.MIXED))return E}e.from=function(g,E){return o.isValid(g)?parseInt(g,10):E},e.getCapacity=function(g,E,T){if(!o.isValid(g))throw new Error("Invalid QR Code version");typeof T>"u"&&(T=r.BYTE);const k=t.getSymbolTotalCodewords(g),P=n.getTotalCodewordsCount(g,E),D=(k-P)*8;if(T===r.MIXED)return D;const I=D-d(T,g);switch(T){case r.NUMERIC:return Math.floor(I/10*3);case r.ALPHANUMERIC:return Math.floor(I/11*2);case r.KANJI:return Math.floor(I/13);case r.BYTE:default:return Math.floor(I/8)}},e.getBestVersionForData=function(g,E){let T;const k=s.from(E,s.M);if(Array.isArray(g)){if(g.length>1)return p(g,k);if(g.length===0)return 1;T=g[0]}else T=g;return u(T.mode,T.getLength(),k)},e.getEncodedBits=function(g){if(!o.isValid(g)||g<7)throw new Error("Invalid QR Code version");let E=g<<12;for(;t.getBCHDigit(E)-l>=0;)E^=a<<t.getBCHDigit(E)-l;return g<<12|E}}(Ta)),Ta}var Sa={},Jf;function ZT(){if(Jf)return Sa;Jf=1;const e=ws(),t=1335,n=21522,s=e.getBCHDigit(t);return Sa.getEncodedBits=function(o,a){const l=o.bit<<3|a;let u=l<<10;for(;e.getBCHDigit(u)-s>=0;)u^=t<<e.getBCHDigit(u)-s;return(l<<10|u)^n},Sa}var Oa={},Ra,Qf;function eA(){if(Qf)return Ra;Qf=1;const e=Ts();function t(n){this.mode=e.NUMERIC,this.data=n.toString()}return t.getBitsLength=function(s){return 10*Math.floor(s/3)+(s%3?s%3*3+1:0)},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(s){let r,o,a;for(r=0;r+3<=this.data.length;r+=3)o=this.data.substr(r,3),a=parseInt(o,10),s.put(a,10);const l=this.data.length-r;l>0&&(o=this.data.substr(r),a=parseInt(o,10),s.put(a,l*3+1))},Ra=t,Ra}var Na,Xf;function tA(){if(Xf)return Na;Xf=1;const e=Ts(),t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(s){this.mode=e.ALPHANUMERIC,this.data=s}return n.getBitsLength=function(r){return 11*Math.floor(r/2)+6*(r%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let o;for(o=0;o+2<=this.data.length;o+=2){let a=t.indexOf(this.data[o])*45;a+=t.indexOf(this.data[o+1]),r.put(a,11)}this.data.length%2&&r.put(t.indexOf(this.data[o]),6)},Na=n,Na}var xa,Zf;function nA(){if(Zf)return xa;Zf=1;const e=Ts();function t(n){this.mode=e.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return t.getBitsLength=function(s){return s*8},t.prototype.getLength=function(){return this.data.length},t.prototype.getBitsLength=function(){return t.getBitsLength(this.data.length)},t.prototype.write=function(n){for(let s=0,r=this.data.length;s<r;s++)n.put(this.data[s],8)},xa=t,xa}var Pa,ed;function sA(){if(ed)return Pa;ed=1;const e=Ts(),t=ws();function n(s){this.mode=e.KANJI,this.data=s}return n.getBitsLength=function(r){return r*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(s){let r;for(r=0;r<this.data.length;r++){let o=t.toSJIS(this.data[r]);if(o>=33088&&o<=40956)o-=33088;else if(o>=57408&&o<=60351)o-=49472;else throw new Error("Invalid SJIS character: "+this.data[r]+`
|
|
Make sure your charset is UTF-8`);o=(o>>>8&255)*192+(o&255),s.put(o,13)}},Pa=n,Pa}var Da={exports:{}},td;function rA(){return td||(td=1,function(e){var t={single_source_shortest_paths:function(n,s,r){var o={},a={};a[s]=0;var l=t.PriorityQueue.make();l.push(s,0);for(var u,d,h,p,_,g,E,T,k;!l.empty();){u=l.pop(),d=u.value,p=u.cost,_=n[d]||{};for(h in _)_.hasOwnProperty(h)&&(g=_[h],E=p+g,T=a[h],k=typeof a[h]>"u",(k||T>E)&&(a[h]=E,l.push(h,E),o[h]=d))}if(typeof r<"u"&&typeof a[r]>"u"){var P=["Could not find a path from ",s," to ",r,"."].join("");throw new Error(P)}return o},extract_shortest_path_from_predecessor_list:function(n,s){for(var r=[],o=s;o;)r.push(o),n[o],o=n[o];return r.reverse(),r},find_path:function(n,s,r){var o=t.single_source_shortest_paths(n,s,r);return t.extract_shortest_path_from_predecessor_list(o,r)},PriorityQueue:{make:function(n){var s=t.PriorityQueue,r={},o;n=n||{};for(o in s)s.hasOwnProperty(o)&&(r[o]=s[o]);return r.queue=[],r.sorter=n.sorter||s.default_sorter,r},default_sorter:function(n,s){return n.cost-s.cost},push:function(n,s){var r={value:n,cost:s};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t}(Da)),Da.exports}var nd;function iA(){return nd||(nd=1,function(e){const t=Ts(),n=eA(),s=tA(),r=nA(),o=sA(),a=Sp(),l=ws(),u=rA();function d(P){return unescape(encodeURIComponent(P)).length}function h(P,D,I){const B=[];let j;for(;(j=P.exec(I))!==null;)B.push({data:j[0],index:j.index,mode:D,length:j[0].length});return B}function p(P){const D=h(a.NUMERIC,t.NUMERIC,P),I=h(a.ALPHANUMERIC,t.ALPHANUMERIC,P);let B,j;return l.isKanjiModeEnabled()?(B=h(a.BYTE,t.BYTE,P),j=h(a.KANJI,t.KANJI,P)):(B=h(a.BYTE_KANJI,t.BYTE,P),j=[]),D.concat(I,B,j).sort(function(K,H){return K.index-H.index}).map(function(K){return{data:K.data,mode:K.mode,length:K.length}})}function _(P,D){switch(D){case t.NUMERIC:return n.getBitsLength(P);case t.ALPHANUMERIC:return s.getBitsLength(P);case t.KANJI:return o.getBitsLength(P);case t.BYTE:return r.getBitsLength(P)}}function g(P){return P.reduce(function(D,I){const B=D.length-1>=0?D[D.length-1]:null;return B&&B.mode===I.mode?(D[D.length-1].data+=I.data,D):(D.push(I),D)},[])}function E(P){const D=[];for(let I=0;I<P.length;I++){const B=P[I];switch(B.mode){case t.NUMERIC:D.push([B,{data:B.data,mode:t.ALPHANUMERIC,length:B.length},{data:B.data,mode:t.BYTE,length:B.length}]);break;case t.ALPHANUMERIC:D.push([B,{data:B.data,mode:t.BYTE,length:B.length}]);break;case t.KANJI:D.push([B,{data:B.data,mode:t.BYTE,length:d(B.data)}]);break;case t.BYTE:D.push([{data:B.data,mode:t.BYTE,length:d(B.data)}])}}return D}function T(P,D){const I={},B={start:{}};let j=["start"];for(let N=0;N<P.length;N++){const K=P[N],H=[];for(let O=0;O<K.length;O++){const F=K[O],U=""+N+O;H.push(U),I[U]={node:F,lastCount:0},B[U]={};for(let $=0;$<j.length;$++){const Q=j[$];I[Q]&&I[Q].node.mode===F.mode?(B[Q][U]=_(I[Q].lastCount+F.length,F.mode)-_(I[Q].lastCount,F.mode),I[Q].lastCount+=F.length):(I[Q]&&(I[Q].lastCount=F.length),B[Q][U]=_(F.length,F.mode)+4+t.getCharCountIndicator(F.mode,D))}}j=H}for(let N=0;N<j.length;N++)B[j[N]].end=0;return{map:B,table:I}}function k(P,D){let I;const B=t.getBestModeForData(P);if(I=t.from(D,B),I!==t.BYTE&&I.bit<B.bit)throw new Error('"'+P+'" cannot be encoded with mode '+t.toString(I)+`.
|
|
Suggested mode is: `+t.toString(B));switch(I===t.KANJI&&!l.isKanjiModeEnabled()&&(I=t.BYTE),I){case t.NUMERIC:return new n(P);case t.ALPHANUMERIC:return new s(P);case t.KANJI:return new o(P);case t.BYTE:return new r(P)}}e.fromArray=function(D){return D.reduce(function(I,B){return typeof B=="string"?I.push(k(B,null)):B.data&&I.push(k(B.data,B.mode)),I},[])},e.fromString=function(D,I){const B=p(D,l.isKanjiModeEnabled()),j=E(B),N=T(j,I),K=u.find_path(N.map,"start","end"),H=[];for(let O=1;O<K.length-1;O++)H.push(N.table[K[O]].node);return e.fromArray(g(H))},e.rawSplit=function(D){return e.fromArray(p(D,l.isKanjiModeEnabled()))}}(Oa)),Oa}var sd;function oA(){if(sd)return pa;sd=1;const e=ws(),t=Bl(),n=qT(),s=KT(),r=WT(),o=zT(),a=YT(),l=Ap(),u=QT(),d=XT(),h=ZT(),p=Ts(),_=iA();function g(N,K){const H=N.size,O=o.getPositions(K);for(let F=0;F<O.length;F++){const U=O[F][0],$=O[F][1];for(let Q=-1;Q<=7;Q++)if(!(U+Q<=-1||H<=U+Q))for(let W=-1;W<=7;W++)$+W<=-1||H<=$+W||(Q>=0&&Q<=6&&(W===0||W===6)||W>=0&&W<=6&&(Q===0||Q===6)||Q>=2&&Q<=4&&W>=2&&W<=4?N.set(U+Q,$+W,!0,!0):N.set(U+Q,$+W,!1,!0))}}function E(N){const K=N.size;for(let H=8;H<K-8;H++){const O=H%2===0;N.set(H,6,O,!0),N.set(6,H,O,!0)}}function T(N,K){const H=r.getPositions(K);for(let O=0;O<H.length;O++){const F=H[O][0],U=H[O][1];for(let $=-2;$<=2;$++)for(let Q=-2;Q<=2;Q++)$===-2||$===2||Q===-2||Q===2||$===0&&Q===0?N.set(F+$,U+Q,!0,!0):N.set(F+$,U+Q,!1,!0)}}function k(N,K){const H=N.size,O=d.getEncodedBits(K);let F,U,$;for(let Q=0;Q<18;Q++)F=Math.floor(Q/3),U=Q%3+H-8-3,$=(O>>Q&1)===1,N.set(F,U,$,!0),N.set(U,F,$,!0)}function P(N,K,H){const O=N.size,F=h.getEncodedBits(K,H);let U,$;for(U=0;U<15;U++)$=(F>>U&1)===1,U<6?N.set(U,8,$,!0):U<8?N.set(U+1,8,$,!0):N.set(O-15+U,8,$,!0),U<8?N.set(8,O-U-1,$,!0):U<9?N.set(8,15-U-1+1,$,!0):N.set(8,15-U-1,$,!0);N.set(O-8,8,1,!0)}function D(N,K){const H=N.size;let O=-1,F=H-1,U=7,$=0;for(let Q=H-1;Q>0;Q-=2)for(Q===6&&Q--;;){for(let W=0;W<2;W++)if(!N.isReserved(F,Q-W)){let X=!1;$<K.length&&(X=(K[$]>>>U&1)===1),N.set(F,Q-W,X),U--,U===-1&&($++,U=7)}if(F+=O,F<0||H<=F){F-=O,O=-O;break}}}function I(N,K,H){const O=new n;H.forEach(function(W){O.put(W.mode.bit,4),O.put(W.getLength(),p.getCharCountIndicator(W.mode,N)),W.write(O)});const F=e.getSymbolTotalCodewords(N),U=l.getTotalCodewordsCount(N,K),$=(F-U)*8;for(O.getLengthInBits()+4<=$&&O.put(0,4);O.getLengthInBits()%8!==0;)O.putBit(0);const Q=($-O.getLengthInBits())/8;for(let W=0;W<Q;W++)O.put(W%2?17:236,8);return B(O,N,K)}function B(N,K,H){const O=e.getSymbolTotalCodewords(K),F=l.getTotalCodewordsCount(K,H),U=O-F,$=l.getBlocksCount(K,H),Q=O%$,W=$-Q,X=Math.floor(O/$),z=Math.floor(U/$),J=z+1,G=X-z,ce=new u(G);let ue=0;const ge=new Array($),be=new Array($);let Re=0;const Ie=new Uint8Array(N.buffer);for(let te=0;te<$;te++){const ie=te<W?z:J;ge[te]=Ie.slice(ue,ue+ie),be[te]=ce.encode(ge[te]),ue+=ie,Re=Math.max(Re,ie)}const je=new Uint8Array(O);let We=0,M,w;for(M=0;M<Re;M++)for(w=0;w<$;w++)M<ge[w].length&&(je[We++]=ge[w][M]);for(M=0;M<G;M++)for(w=0;w<$;w++)je[We++]=be[w][M];return je}function j(N,K,H,O){let F;if(Array.isArray(N))F=_.fromArray(N);else if(typeof N=="string"){let X=K;if(!X){const z=_.rawSplit(N);X=d.getBestVersionForData(z,H)}F=_.fromString(N,X||40)}else throw new Error("Invalid data");const U=d.getBestVersionForData(F,H);if(!U)throw new Error("The amount of data is too big to be stored in a QR Code");if(!K)K=U;else if(K<U)throw new Error(`
|
|
The chosen QR Code version cannot contain this amount of data.
|
|
Minimum version required to store current data is: `+U+`.
|
|
`);const $=I(K,H,F),Q=e.getSymbolSize(K),W=new s(Q);return g(W,K),E(W),T(W,K),P(W,H,0),K>=7&&k(W,K),D(W,$),isNaN(O)&&(O=a.getBestMask(W,P.bind(null,W,H))),a.applyMask(O,W),P(W,H,O),{modules:W,version:K,errorCorrectionLevel:H,maskPattern:O,segments:F}}return pa.create=function(K,H){if(typeof K>"u"||K==="")throw new Error("No input text");let O=t.M,F,U;return typeof H<"u"&&(O=t.from(H.errorCorrectionLevel,t.M),F=d.from(H.version),U=a.from(H.maskPattern),H.toSJISFunc&&e.setToSJISFunction(H.toSJISFunc)),j(K,F,O,U)},pa}var $a={},La={},rd;function Op(){return rd||(rd=1,function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let s=n.slice().replace("#","").split("");if(s.length<3||s.length===5||s.length>8)throw new Error("Invalid hex color: "+n);(s.length===3||s.length===4)&&(s=Array.prototype.concat.apply([],s.map(function(o){return[o,o]}))),s.length===6&&s.push("F","F");const r=parseInt(s.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:r&255,hex:"#"+s.slice(0,6).join("")}}e.getOptions=function(s){s||(s={}),s.color||(s.color={});const r=typeof s.margin>"u"||s.margin===null||s.margin<0?4:s.margin,o=s.width&&s.width>=21?s.width:void 0,a=s.scale||4;return{width:o,scale:o?4:a,margin:r,color:{dark:t(s.color.dark||"#000000ff"),light:t(s.color.light||"#ffffffff")},type:s.type,rendererOpts:s.rendererOpts||{}}},e.getScale=function(s,r){return r.width&&r.width>=s+r.margin*2?r.width/(s+r.margin*2):r.scale},e.getImageWidth=function(s,r){const o=e.getScale(s,r);return Math.floor((s+r.margin*2)*o)},e.qrToImageData=function(s,r,o){const a=r.modules.size,l=r.modules.data,u=e.getScale(a,o),d=Math.floor((a+o.margin*2)*u),h=o.margin*u,p=[o.color.light,o.color.dark];for(let _=0;_<d;_++)for(let g=0;g<d;g++){let E=(_*d+g)*4,T=o.color.light;if(_>=h&&g>=h&&_<d-h&&g<d-h){const k=Math.floor((_-h)/u),P=Math.floor((g-h)/u);T=p[l[k*a+P]?1:0]}s[E++]=T.r,s[E++]=T.g,s[E++]=T.b,s[E]=T.a}}}(La)),La}var id;function aA(){return id||(id=1,function(e){const t=Op();function n(r,o,a){r.clearRect(0,0,o.width,o.height),o.style||(o.style={}),o.height=a,o.width=a,o.style.height=a+"px",o.style.width=a+"px"}function s(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(o,a,l){let u=l,d=a;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),a||(d=s()),u=t.getOptions(u);const h=t.getImageWidth(o.modules.size,u),p=d.getContext("2d"),_=p.createImageData(h,h);return t.qrToImageData(_.data,o,u),n(p,d,h),p.putImageData(_,0,0),d},e.renderToDataURL=function(o,a,l){let u=l;typeof u>"u"&&(!a||!a.getContext)&&(u=a,a=void 0),u||(u={});const d=e.render(o,a,u),h=u.type||"image/png",p=u.rendererOpts||{};return d.toDataURL(h,p.quality)}}($a)),$a}var Ia={},od;function lA(){if(od)return Ia;od=1;const e=Op();function t(r,o){const a=r.a/255,l=o+'="'+r.hex+'"';return a<1?l+" "+o+'-opacity="'+a.toFixed(2).slice(1)+'"':l}function n(r,o,a){let l=r+o;return typeof a<"u"&&(l+=" "+a),l}function s(r,o,a){let l="",u=0,d=!1,h=0;for(let p=0;p<r.length;p++){const _=Math.floor(p%o),g=Math.floor(p/o);!_&&!d&&(d=!0),r[p]?(h++,p>0&&_>0&&r[p-1]||(l+=d?n("M",_+a,.5+g+a):n("m",u,0),u=0,d=!1),_+1<o&&r[p+1]||(l+=n("h",h),h=0)):u++}return l}return Ia.render=function(o,a,l){const u=e.getOptions(a),d=o.modules.size,h=o.modules.data,p=d+u.margin*2,_=u.color.light.a?"<path "+t(u.color.light,"fill")+' d="M0 0h'+p+"v"+p+'H0z"/>':"",g="<path "+t(u.color.dark,"stroke")+' d="'+s(h,d,u.margin)+'"/>',E='viewBox="0 0 '+p+" "+p+'"',k='<svg xmlns="http://www.w3.org/2000/svg" '+(u.width?'width="'+u.width+'" height="'+u.width+'" ':"")+E+' shape-rendering="crispEdges">'+_+g+`</svg>
|
|
`;return typeof l=="function"&&l(null,k),k},Ia}var ad;function cA(){if(ad)return Vs;ad=1;const e=jT(),t=oA(),n=aA(),s=lA();function r(o,a,l,u,d){const h=[].slice.call(arguments,1),p=h.length,_=typeof h[p-1]=="function";if(!_&&!e())throw new Error("Callback required as last argument");if(_){if(p<2)throw new Error("Too few arguments provided");p===2?(d=l,l=a,a=u=void 0):p===3&&(a.getContext&&typeof d>"u"?(d=u,u=void 0):(d=u,u=l,l=a,a=void 0))}else{if(p<1)throw new Error("Too few arguments provided");return p===1?(l=a,a=u=void 0):p===2&&!a.getContext&&(u=l,l=a,a=void 0),new Promise(function(g,E){try{const T=t.create(l,u);g(o(T,a,u))}catch(T){E(T)}})}try{const g=t.create(l,u);d(null,o(g,a,u))}catch(g){d(g)}}return Vs.create=t.create,Vs.toCanvas=r.bind(null,n.render),Vs.toDataURL=r.bind(null,n.renderToDataURL),Vs.toString=r.bind(null,function(o,a,l){return s.render(o,l)}),Vs}var uA=cA();const fA=Fh(uA),dA=["id"],Rp={__name:"qrcode",props:["content"],setup(e){const t=e,n=Bh().toString();return Es(()=>{fA.toCanvas(document.getElementById(`qrcode_${n}`),t.content,function(s){})}),(s,r)=>(Te(),Le("div",null,[L("canvas",{id:"qrcode_"+on(n),class:"rounded-3"},null,8,dA)]))}},hA={class:"p-2 position-fixed top-0 start-0 vw-100 vh-100 d-flex qrcodeContainer p-3 overflow-scroll"},pA={class:"m-auto d-flex gap-3 flex-column p-3"},mA={__name:"configurationQRCode",props:["qrcodeData"],emits:["back"],setup(e,{emit:t}){const n=e,s=t;return(r,o)=>(Te(),Le("div",hA,[L("div",pA,[L("div",null,[L("a",{role:"button",onClick:o[0]||(o[0]=a=>s("back")),class:"btn btn-body rounded-3 btn-sm"},o[1]||(o[1]=[L("i",{class:"me-2 bi bi-x-lg"},null,-1),Xe(" Dismiss ")]))]),xe(Rp,{content:n.qrcodeData},null,8,["content"]),o[2]||(o[2]=L("button",{class:"btn bg-primary-subtle border-primary-subtle rounded-3"},[L("i",{class:"bi bi-download me-2"}),Xe("Download ")],-1))])]))}},gA=sr(mA,[["__scopeId","data-v-cc8c55c7"]]),_A={class:"card rounded-3 border-0"},bA={class:"card-body p-3"},vA={class:"row gy-3"},yA={class:"col-sm-6 d-flex flex-column gap-3"},EA={class:"fw-bold mb-0"},wA={class:"mt-auto"},TA={class:"col-sm-6 d-flex flex-column gap-3"},AA={class:"d-flex gap-2"},CA={__name:"configuration",props:["config"],setup(e){const t=e,n=At(!1);return(s,r)=>(Te(),Le("div",_A,[L("div",bA,[L("div",vA,[L("div",yA,[L("h6",EA,yn(t.config.name),1),L("div",wA,[L("button",{class:"btn btn-outline-body rounded-3 flex-grow-1 fw-bold w-100",onClick:r[0]||(r[0]=o=>n.value=!0)},r[2]||(r[2]=[L("i",{class:"bi bi-link-45deg me-2"},null,-1),L("small",null,"Connect",-1)]))])]),L("div",TA,[L("div",AA,[r[3]||(r[3]=L("small",{class:"text-muted"},[L("i",{class:"bi bi-bar-chart-fill me-1"}),Xe(" Protocol ")],-1)),t.config.protocol==="wg"?(Te(),Le("span",{key:0,class:bn(["badge rounded-3 shadow ms-auto",[t.config.protocol==="wg"?"wireguardBg":"amneziawgBg"]])},yn(t.config.protocol==="wg"?"WireGuard":"AmneziaWG"),3)):Ir("",!0)]),r[4]||(r[4]=ky('<div class="d-flex gap-2" data-v-67ad03e2><small class="text-muted" data-v-67ad03e2><i class="bi bi-bar-chart-fill me-1" data-v-67ad03e2></i> Data Usage </small><small class="fw-bold flex-grow-1 text-end" data-v-67ad03e2> 3.42 / 4.00 GB </small></div><div class="d-flex gap-2" data-v-67ad03e2><small class="text-muted" data-v-67ad03e2><i class="bi bi-calendar me-1" data-v-67ad03e2></i> Valid Until </small><small class="fw-bold flex-grow-1 text-end" data-v-67ad03e2> 2025-08-31 00:00:00 </small></div>',2))])])]),xe(to,{name:"app"},{default:$t(()=>[n.value?(Te(),jn(gA,{key:0,onBack:r[1]||(r[1]=o=>n.value=!1),"qrcode-data":e.config.peer_configuration_data.file},null,8,["qrcode-data"])):Ir("",!0)]),_:1})]))}},SA=sr(CA,[["__scopeId","data-v-67ad03e2"]]),OA={class:"p-sm-3"},RA={class:"w-100 d-flex align-items-center"},NA={class:"ms-auto px-3 d-flex gap-2 nav-links"},xA={key:0,class:"d-flex flex-column gap-3"},PA={class:"p-3 d-flex flex-column gap-3"},DA={key:1,class:"d-flex py-4"},$A={__name:"index",setup(e){const t=Cn(),n=At(!0),s=st(()=>t.configurations);return Es(async()=>{await t.getConfigurations(),n.value=!1}),(r,o)=>{const a=jr("RouterLink");return Te(),Le("div",OA,[L("div",RA,[o[2]||(o[2]=L("a",{class:"nav-link text-body border-start-0","aria-current":"page",href:"#"},[L("strong",null,"WGDashboard Client")],-1)),L("div",NA,[xe(a,{to:"/settings",class:"text-body btn btn-outline-body rounded-3 ms-auto btn-sm","aria-current":"page",href:"#"},{default:$t(()=>o[0]||(o[0]=[L("i",{class:"bi bi-gear-fill me-sm-2"},null,-1),L("span",null,"Settings",-1)])),_:1,__:[0]}),xe(a,{to:"/signout",class:"btn btn-outline-danger rounded-3 btn-sm","aria-current":"page"},{default:$t(()=>o[1]||(o[1]=[L("i",{class:"bi bi-box-arrow-left me-sm-2"},null,-1),L("span",null,"Sign Out",-1)])),_:1,__:[1]})])]),xe(to,{name:"app",mode:"out-in"},{default:$t(()=>[n.value?(Te(),Le("div",DA,o[3]||(o[3]=[L("div",{class:"spinner-border m-auto"},null,-1)]))):(Te(),Le("div",xA,[L("div",PA,[(Te(!0),Le(wt,null,Cl(s.value,l=>(Te(),jn(SA,{config:l},null,8,["config"]))),256))])]))]),_:1})])}}},LA=sr($A,[["__scopeId","data-v-5d6f0ce8"]]),IA={class:"form-floating"},MA=["disabled"],kA={class:"form-floating"},BA=["disabled"],FA=["disabled"],HA={key:0,class:"d-block"},VA={key:1,class:"d-block"},UA={class:"d-flex align-items-center"},jA={__name:"signInForm",emits:["totpToken"],setup(e,{emit:t}){const n=At(!1),s=Tn({Email:"",Password:""}),r=t;At("");const o=Cn(),a=async d=>{if(d.preventDefault(),!l){o.newNotification("Please fill in all fields","warning");return}n.value=!0;const h=await Il("/api/signin",s);h.status?r("totpToken",h.message):(o.newNotification(h.message,"danger"),n.value=!1)},l=st(()=>Object.values(s).find(d=>!d)===void 0),u=UT();return u.query.Email&&(s.Email=u.query.Email),(d,h)=>{const p=jr("RouterLink");return Te(),Le("div",null,[h[11]||(h[11]=L("h1",null,"Sign In",-1)),h[12]||(h[12]=L("p",null,"to your WGDashboard Client account",-1)),L("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:h[2]||(h[2]=_=>a(_))},[L("div",IA,[an(L("input",{type:"text",required:"",disabled:n.value,"onUpdate:modelValue":h[0]||(h[0]=_=>s.Email=_),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3 border-0",id:"email",placeholder:"email"},null,8,MA),[[vn,s.Email]]),h[3]||(h[3]=L("label",{for:"email",class:"d-flex"},[L("i",{class:"bi bi-person-circle me-2"}),Xe(" Email ")],-1))]),L("div",kA,[an(L("input",{type:"password",required:"",disabled:n.value,"onUpdate:modelValue":h[1]||(h[1]=_=>s.Password=_),name:"password",autocomplete:"current-password",class:"form-control rounded-3 border-0",id:"password",placeholder:"Password"},null,8,BA),[[vn,s.Password]]),h[4]||(h[4]=L("label",{for:"password",class:"d-flex"},[L("i",{class:"bi bi-key me-2"}),Xe(" Password ")],-1))]),h[7]||(h[7]=L("div",{class:"d-flex"},[L("a",{href:"#",class:"text-body text-decoration-none ms-auto btn btn-sm rounded-3"}," Forgot Password? ")],-1)),L("button",{disabled:!l.value||n.value,class:"btn btn-primary rounded-3 btn-body px-3 py-2 fw-bold"},[n.value?(Te(),Le("span",VA,h[6]||(h[6]=[Xe(" Loading..."),L("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(Te(),Le("span",HA,h[5]||(h[5]=[Xe(" Continue "),L("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,FA)],32),L("div",null,[h[10]||(h[10]=L("hr",{class:"my-4"},null,-1)),L("div",UA,[h[9]||(h[9]=L("span",{class:"text-muted"}," Don't have an account yet? ",-1)),xe(p,{to:"/signup",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-body rounded-3"},{default:$t(()=>h[8]||(h[8]=[Xe(" Sign Up ")])),_:1,__:[8]})])])])}}},qA={class:""},KA={key:0,class:"card rounded-3"},WA={class:"card-body d-flex gap-3 flex-column"},zA={class:"card rounded-3"},YA={class:"card-body"},GA=["href"],JA={key:0},QA={class:"d-flex flex-column gap-3"},XA=["disabled"],ZA=["disabled"],e1={key:0,class:"d-block"},t1={key:1,class:"d-block"},n1={__name:"totpForm",props:["totpToken"],emits:["clearToken"],setup(e,{emit:t}){const n=e,s=At(""),r=Tn({TOTP:""}),o=At(!0),a=()=>{r.TOTP=r.TOTP.replace(/\D/i,"")},l=st(()=>/^[0-9]{6}$/.test(r.TOTP)),u=Cn(),d=Tp();Es(()=>{Ke.get(Wr("/api/signin/totp"),{params:{Token:n.totpToken}}).then(_=>{let g=_.data;o.value=!1,g.status?g.message&&(s.value=g.message):(u.newNotification(g.message,"danger"),d.push("/signin"))})});const h=t,p=async _=>{if(_&&_.preventDefault(),l){o.value=!0;const g=await Il("/api/signin/totp",{Token:n.totpToken,UserProvidedTOTP:r.TOTP});o.value=!1,g?g.status?(u.clientProfile=g.data,d.push("/")):u.newNotification(g.message,"danger"):(u.newNotification("Sign in status is invalid","danger"),h("clearToken"))}};return zs(l,()=>{p()}),(_,g)=>(Te(),Le("form",{class:"d-flex flex-column gap-3",onSubmit:g[3]||(g[3]=E=>p(E))},[L("div",null,[L("a",{role:"button",onClick:g[0]||(g[0]=E=>h("clearToken")),class:"btn btn-body btn-sm rounded-3"},g[4]||(g[4]=[L("i",{class:"me-2 bi bi-chevron-left"},null,-1),Xe(" Back ")]))]),L("div",qA,[g[9]||(g[9]=L("h1",{class:"mb-3"},"Multi-Factor Authentication (MFA)",-1)),s.value?(Te(),Le("div",KA,[L("div",WA,[g[5]||(g[5]=L("h2",{class:"mb-0"},"Initial Setup",-1)),g[6]||(g[6]=L("p",{class:"mb-0"},"Please scan the following QR Code to generate TOTP with your choice of authenticator",-1)),xe(Rp,{content:s.value},null,8,["content"]),g[7]||(g[7]=L("p",{class:"mb-0"},"Or you can click the link below:",-1)),L("div",zA,[L("div",YA,[L("a",{href:s.value},yn(s.value),9,GA)])]),g[8]||(g[8]=L("div",{class:"alert alert-warning mb-0"},[L("strong",null," Please note: You won't be able to see this QR Code again, so please save it somewhere safe in case you need to recover your TOTP key ")],-1))])])):Ir("",!0)]),s.value?(Te(),Le("hr",JA)):Ir("",!0),L("div",QA,[g[12]||(g[12]=L("label",{for:"totp"},"Enter the TOTP generated by your authenticator to verify",-1)),an(L("input",{class:"form-control form-control-lg rounded-3 text-center",id:"totp",disabled:o.value,autofocus:"",onKeyup:g[1]||(g[1]=E=>a()),maxlength:"6",type:"text",inputmode:"numeric",placeholder:"- - - - - -",autocomplete:"one-time-code","onUpdate:modelValue":g[2]||(g[2]=E=>r.TOTP=E)},null,40,XA),[[vn,r.TOTP]]),L("button",{disabled:!l.value||o.value,class:"btn btn-body rounded-3 px-3 py-2 fw-bold"},[o.value?(Te(),Le("span",t1,g[11]||(g[11]=[Xe(" Loading... "),L("i",{class:"ms-2 spinner-border spinner-border-sm"},null,-1)]))):(Te(),Le("span",e1,g[10]||(g[10]=[Xe(" Continue "),L("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,ZA)])],32))}},s1={class:"p-3 p-sm-5"},r1={__name:"signin",setup(e){const t=At("");return(n,s)=>(Te(),Le("div",s1,[xe(to,{name:"app",mode:"out-in"},{default:$t(()=>[t.value?(Te(),jn(n1,{key:1,onClearToken:s[1]||(s[1]=r=>t.value=""),"totp-token":t.value},null,8,["totp-token"])):(Te(),jn(jA,{key:0,onTotpToken:s[0]||(s[0]=r=>{t.value=r})}))]),_:1})]))}},i1={class:"p-3 p-sm-5"},o1={class:"form-floating"},a1=["disabled"],l1={class:"form-floating"},c1=["disabled"],u1={class:"form-floating"},f1=["disabled"],d1=["disabled"],h1={key:0,class:"d-block"},p1={key:1,class:"d-block"},m1={class:"d-flex align-items-center"},g1={__name:"signup",setup(e){const t=Cn(),n=Tn({Email:"",Password:"",ConfirmPassword:""}),s=At(!1),r=Tp(),o=async u=>{if(u.preventDefault(),!l){t.newNotification("Please fill in all fields","warning");return}a&&(s.value=!0,await Ke.post(Wr("/api/signup"),n).then(d=>{let h=d.data;h.status?(t.newNotification("Sign up successfully!","success"),r.push({path:"/signin",query:{Email:n.Email}})):(t.newNotification(h.message,"danger"),s.value=!1)}))},a=st(()=>n.Password&&n.ConfirmPassword?n.Password===n.ConfirmPassword:!1),l=st(()=>Object.values(n).find(u=>!u)===void 0);return Es(()=>{document.querySelectorAll("input[type=password]").forEach(u=>u.addEventListener("blur",()=>{n.Password&&n.ConfirmPassword&&document.querySelectorAll("input[type=password]").forEach(d=>{a.value?d.classList.remove("is-invalid"):d.classList.add("is-invalid")})}))}),(u,d)=>{const h=jr("RouterLink");return Te(),Le("div",i1,[d[13]||(d[13]=L("h1",null,"Sign Up",-1)),d[14]||(d[14]=L("p",null,"to use WGDashboard Client",-1)),L("form",{class:"mt-4 d-flex flex-column gap-3",onSubmit:d[3]||(d[3]=p=>o(p))},[L("div",o1,[an(L("input",{type:"text",disabled:s.value,required:"","onUpdate:modelValue":d[0]||(d[0]=p=>n.Email=p),name:"email",autocomplete:"email",autofocus:"",class:"form-control rounded-3",id:"email",placeholder:"email"},null,8,a1),[[vn,n.Email]]),d[4]||(d[4]=L("label",{for:"email",class:"d-flex"},[L("i",{class:"bi bi-person-circle me-2"}),Xe(" Email ")],-1))]),L("div",l1,[an(L("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":d[1]||(d[1]=p=>n.Password=p),name:"password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"password",placeholder:"password"},null,8,c1),[[vn,n.Password]]),d[5]||(d[5]=L("label",{for:"password",class:"d-flex"},[L("i",{class:"bi bi-key me-2"}),Xe(" Password ")],-1))]),L("div",u1,[an(L("input",{type:"password",required:"",disabled:s.value,"onUpdate:modelValue":d[2]||(d[2]=p=>n.ConfirmPassword=p),name:"confirm_password",autocomplete:"new-password",autofocus:"",class:"form-control rounded-3",id:"confirm_password",placeholder:"confirm_password"},null,8,f1),[[vn,n.ConfirmPassword]]),d[6]||(d[6]=L("label",{for:"confirm_password",class:"d-flex"},[L("i",{class:"bi bi-key me-2"}),Xe(" Confirm Password ")],-1)),d[7]||(d[7]=L("div",{id:"validationServer03Feedback",class:"invalid-feedback"}," Passwords does not match ",-1))]),L("button",{disabled:!l.value||!a.value||s.value,class:"btn btn-primary rounded-3 btn-brand px-3 py-2"},[s.value?(Te(),Le("span",p1,d[9]||(d[9]=[Xe(" Loading... "),L("i",{class:"spinner-border spinner-border-sm"},null,-1)]))):(Te(),Le("span",h1,d[8]||(d[8]=[Xe(" Continue "),L("i",{class:"ms-2 bi bi-arrow-right"},null,-1)])))],8,d1)],32),L("div",null,[d[12]||(d[12]=L("hr",{class:"my-4"},null,-1)),L("div",m1,[d[11]||(d[11]=L("span",{class:"text-muted"}," Already have an account? ",-1)),xe(h,{to:"/signin",class:"text-body text-decoration-none ms-auto fw-bold btn btn-sm btn-body rounded-3"},{default:$t(()=>d[10]||(d[10]=[Xe(" Sign In ")])),_:1,__:[10]})])])])}}},_1={class:"p-3"},b1={class:"row g-2"},v1={class:"col-sm-6"},y1=["for"],E1=["id","onUpdate:modelValue"],w1={__name:"profile",setup(e){const t=Cn(),n={Firstname:"First Name",Lastname:"Last Name"};return(s,r)=>(Te(),Le("div",_1,[r[0]||(r[0]=L("h5",null," Profile ",-1)),L("div",b1,[(Te(!0),Le(wt,null,Cl(on(t).clientProfile.Profile,(o,a)=>(Te(),Le("div",v1,[L("label",{for:a,class:"text-muted form-label"},[L("small",null,yn(n[a]),1)],8,y1),an(L("input",{id:a,class:"form-control rounded-3","onUpdate:modelValue":l=>on(t).clientProfile.Profile[a]=l},null,8,E1),[[vn,on(t).clientProfile.Profile[a]]])]))),256))])]))}},T1={class:"d-flex align-items-start"},A1={key:0,class:"alert alert-danger rounded-3 mt-3"},C1={class:"row g-2 mb-3"},S1={class:"col-sm-12"},O1=["type"],R1={class:"col-sm-6"},N1=["type"],x1={class:"col-sm-6"},P1=["type"],D1={__name:"updatePassword",setup(e){const t=Tn({CurrentPassword:"",NewPassword:"",ConfirmNewPassword:""}),n=()=>{t.CurrentPassword="",t.NewPassword="",t.ConfirmNewPassword=""},s=Cn(),r=async u=>{u.preventDefault(),document.querySelectorAll("#updatePasswordForm input").forEach(h=>h.blur());const d=await Il("/api/settings/updatePassword",t);d?d.status?(a.value=!1,s.newNotification("Password updated!","success"),n()):(a.value=!0,l.value=d.message):(a.value=!0,l.value="Error occurred")},o=At(!1),a=At(!1),l=At("");return(u,d)=>(Te(),Le("form",{onSubmit:d[4]||(d[4]=h=>r(h)),id:"updatePasswordForm",onReset:d[5]||(d[5]=h=>n()),class:"p-3"},[L("div",T1,[d[6]||(d[6]=L("h5",null," Update Password ",-1)),L("a",{role:"button",onClick:d[0]||(d[0]=h=>o.value=!o.value),class:"text-muted ms-auto text-decoration-none"},[L("small",null,[L("i",{class:bn([[o.value?"bi-eye-slash-fill":"bi-eye-fill"],"bi me-2"])},null,2),Xe(yn(o.value?"Hide":"Show")+" Password ",1)])])]),a.value?(Te(),Le("div",A1,yn(l.value),1)):Ir("",!0),L("div",C1,[L("div",S1,[d[7]||(d[7]=L("label",{class:"text-muted form-label",for:"CurrentPassword"},[L("small",null,"Current Password")],-1)),an(L("input",{class:bn(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",autocomplete:"current-password",id:"CurrentPassword","onUpdate:modelValue":d[1]||(d[1]=h=>t.CurrentPassword=h)},null,10,O1),[[ra,t.CurrentPassword]])]),L("div",R1,[d[8]||(d[8]=L("label",{class:"text-muted form-label",for:"NewPassword"},[L("small",null,"New Password")],-1)),an(L("input",{class:bn(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"NewPassword",autocomplete:"new-password","onUpdate:modelValue":d[2]||(d[2]=h=>t.NewPassword=h)},null,10,N1),[[ra,t.NewPassword]])]),L("div",x1,[d[9]||(d[9]=L("label",{class:"text-muted form-label",for:"ConfirmNewPassword"},[L("small",null,"Confirm New Password")],-1)),an(L("input",{class:bn(["form-control rounded-3",{"is-invalid":a.value}]),required:"",type:o.value?"text":"password",id:"ConfirmNewPassword",autocomplete:"new-password","onUpdate:modelValue":d[3]||(d[3]=h=>t.ConfirmNewPassword=h)},null,10,P1),[[ra,t.ConfirmNewPassword]])])]),d[10]||(d[10]=L("div",{class:"d-flex gap-2"},[L("button",{class:"btn btn-sm btn-secondary rounded-3 ms-auto",type:"reset"},"Clear"),L("button",{class:"btn btn-sm btn-danger rounded-3",type:"submit"},"Update")],-1))],32))}},$1={class:"p-sm-3"},L1={class:"w-100 d-flex align-items-center p-3"},I1={__name:"settings",async setup(e){let t,n;const s=Cn();return[t,n]=Zv(()=>s.getClientProfile()),await t,n(),(r,o)=>{const a=jr("RouterLink");return Te(),Le("div",$1,[L("div",L1,[xe(a,{to:"/",class:"text-body btn btn-outline-body rounded-3 btn-sm","aria-current":"page",href:"#"},{default:$t(()=>o[0]||(o[0]=[L("i",{class:"bi bi-chevron-left me-sm-2"},null,-1),L("span",null,"Back",-1)])),_:1,__:[0]}),o[1]||(o[1]=L("strong",{class:"ms-auto"},"Settings",-1))]),xe(w1),xe(D1)])}}},Fl=HT({history:mT(),routes:[{path:"/",component:LA,meta:{auth:!0},name:"Home"},{path:"/settings",component:I1,meta:{auth:!0},name:"Settings"},{path:"/signin",component:r1,name:"Sign In"},{path:"/signup",component:g1,name:"Sign Up"},{path:"/signout",name:"Sign Out"}]});Fl.beforeEach(async(e,t,n)=>{const s=Cn();e.path==="/signout"?(await Ke.get(Wr("/api/signout")).then(()=>{n("/signin")}).catch(()=>{n("/signin")}),s.newNotification("Sign in session ended, please sign in again","warning")):e.meta.auth?await rl("/api/validateAuthentication")?n():(s.newNotification("Sign in session ended, please sign in again","warning"),n("/signin")):n()});Fl.afterEach((e,t,n)=>{document.title=e.name+" | WGDashboard Client"});var Pi={exports:{}};/*!
|
|
* Bootstrap v5.3.6 (https://getbootstrap.com/)
|
|
* Copyright 2011-2025 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
*/var M1=Pi.exports,ld;function k1(){return ld||(ld=1,function(e,t){(function(n,s){e.exports=s()})(M1,function(){const n=new Map,s={set(f,i,c){n.has(f)||n.set(f,new Map);const m=n.get(f);if(!m.has(i)&&m.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(m.keys())[0]}.`);return}m.set(i,c)},get(f,i){return n.has(f)&&n.get(f).get(i)||null},remove(f,i){if(!n.has(f))return;const c=n.get(f);c.delete(i),c.size===0&&n.delete(f)}},r=1e6,o=1e3,a="transitionend",l=f=>(f&&window.CSS&&window.CSS.escape&&(f=f.replace(/#([^\s"#']+)/g,(i,c)=>`#${CSS.escape(c)}`)),f),u=f=>f==null?`${f}`:Object.prototype.toString.call(f).match(/\s([a-z]+)/i)[1].toLowerCase(),d=f=>{do f+=Math.floor(Math.random()*r);while(document.getElementById(f));return f},h=f=>{if(!f)return 0;let{transitionDuration:i,transitionDelay:c}=window.getComputedStyle(f);const m=Number.parseFloat(i),y=Number.parseFloat(c);return!m&&!y?0:(i=i.split(",")[0],c=c.split(",")[0],(Number.parseFloat(i)+Number.parseFloat(c))*o)},p=f=>{f.dispatchEvent(new Event(a))},_=f=>!f||typeof f!="object"?!1:(typeof f.jquery<"u"&&(f=f[0]),typeof f.nodeType<"u"),g=f=>_(f)?f.jquery?f[0]:f:typeof f=="string"&&f.length>0?document.querySelector(l(f)):null,E=f=>{if(!_(f)||f.getClientRects().length===0)return!1;const i=getComputedStyle(f).getPropertyValue("visibility")==="visible",c=f.closest("details:not([open])");if(!c)return i;if(c!==f){const m=f.closest("summary");if(m&&m.parentNode!==c||m===null)return!1}return i},T=f=>!f||f.nodeType!==Node.ELEMENT_NODE||f.classList.contains("disabled")?!0:typeof f.disabled<"u"?f.disabled:f.hasAttribute("disabled")&&f.getAttribute("disabled")!=="false",k=f=>{if(!document.documentElement.attachShadow)return null;if(typeof f.getRootNode=="function"){const i=f.getRootNode();return i instanceof ShadowRoot?i:null}return f instanceof ShadowRoot?f:f.parentNode?k(f.parentNode):null},P=()=>{},D=f=>{f.offsetHeight},I=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,B=[],j=f=>{document.readyState==="loading"?(B.length||document.addEventListener("DOMContentLoaded",()=>{for(const i of B)i()}),B.push(f)):f()},N=()=>document.documentElement.dir==="rtl",K=f=>{j(()=>{const i=I();if(i){const c=f.NAME,m=i.fn[c];i.fn[c]=f.jQueryInterface,i.fn[c].Constructor=f,i.fn[c].noConflict=()=>(i.fn[c]=m,f.jQueryInterface)}})},H=(f,i=[],c=f)=>typeof f=="function"?f.call(...i):c,O=(f,i,c=!0)=>{if(!c){H(f);return}const y=h(i)+5;let S=!1;const R=({target:q})=>{q===i&&(S=!0,i.removeEventListener(a,R),H(f))};i.addEventListener(a,R),setTimeout(()=>{S||p(i)},y)},F=(f,i,c,m)=>{const y=f.length;let S=f.indexOf(i);return S===-1?!c&&m?f[y-1]:f[0]:(S+=c?1:-1,m&&(S=(S+y)%y),f[Math.max(0,Math.min(S,y-1))])},U=/[^.]*(?=\..*)\.|.*/,$=/\..*/,Q=/::\d+$/,W={};let X=1;const z={mouseenter:"mouseover",mouseleave:"mouseout"},J=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function G(f,i){return i&&`${i}::${X++}`||f.uidEvent||X++}function ce(f){const i=G(f);return f.uidEvent=i,W[i]=W[i]||{},W[i]}function ue(f,i){return function c(m){return te(m,{delegateTarget:f}),c.oneOff&&w.off(f,m.type,i),i.apply(f,[m])}}function ge(f,i,c){return function m(y){const S=f.querySelectorAll(i);for(let{target:R}=y;R&&R!==this;R=R.parentNode)for(const q of S)if(q===R)return te(y,{delegateTarget:R}),m.oneOff&&w.off(f,y.type,i,c),c.apply(R,[y])}}function be(f,i,c=null){return Object.values(f).find(m=>m.callable===i&&m.delegationSelector===c)}function Re(f,i,c){const m=typeof i=="string",y=m?c:i||c;let S=M(f);return J.has(S)||(S=f),[m,y,S]}function Ie(f,i,c,m,y){if(typeof i!="string"||!f)return;let[S,R,q]=Re(i,c,m);i in z&&(R=(Ve=>function(Ce){if(!Ce.relatedTarget||Ce.relatedTarget!==Ce.delegateTarget&&!Ce.delegateTarget.contains(Ce.relatedTarget))return Ve.call(this,Ce)})(R));const ee=ce(f),le=ee[q]||(ee[q]={}),ne=be(le,R,S?c:null);if(ne){ne.oneOff=ne.oneOff&&y;return}const we=G(R,i.replace(U,"")),Ae=S?ge(f,c,R):ue(f,R);Ae.delegationSelector=S?c:null,Ae.callable=R,Ae.oneOff=y,Ae.uidEvent=we,le[we]=Ae,f.addEventListener(q,Ae,S)}function je(f,i,c,m,y){const S=be(i[c],m,y);S&&(f.removeEventListener(c,S,!!y),delete i[c][S.uidEvent])}function We(f,i,c,m){const y=i[c]||{};for(const[S,R]of Object.entries(y))S.includes(m)&&je(f,i,c,R.callable,R.delegationSelector)}function M(f){return f=f.replace($,""),z[f]||f}const w={on(f,i,c,m){Ie(f,i,c,m,!1)},one(f,i,c,m){Ie(f,i,c,m,!0)},off(f,i,c,m){if(typeof i!="string"||!f)return;const[y,S,R]=Re(i,c,m),q=R!==i,ee=ce(f),le=ee[R]||{},ne=i.startsWith(".");if(typeof S<"u"){if(!Object.keys(le).length)return;je(f,ee,R,S,y?c:null);return}if(ne)for(const we of Object.keys(ee))We(f,ee,we,i.slice(1));for(const[we,Ae]of Object.entries(le)){const _e=we.replace(Q,"");(!q||i.includes(_e))&&je(f,ee,R,Ae.callable,Ae.delegationSelector)}},trigger(f,i,c){if(typeof i!="string"||!f)return null;const m=I(),y=M(i),S=i!==y;let R=null,q=!0,ee=!0,le=!1;S&&m&&(R=m.Event(i,c),m(f).trigger(R),q=!R.isPropagationStopped(),ee=!R.isImmediatePropagationStopped(),le=R.isDefaultPrevented());const ne=te(new Event(i,{bubbles:q,cancelable:!0}),c);return le&&ne.preventDefault(),ee&&f.dispatchEvent(ne),ne.defaultPrevented&&R&&R.preventDefault(),ne}};function te(f,i={}){for(const[c,m]of Object.entries(i))try{f[c]=m}catch{Object.defineProperty(f,c,{configurable:!0,get(){return m}})}return f}function ie(f){if(f==="true")return!0;if(f==="false")return!1;if(f===Number(f).toString())return Number(f);if(f===""||f==="null")return null;if(typeof f!="string")return f;try{return JSON.parse(decodeURIComponent(f))}catch{return f}}function ye(f){return f.replace(/[A-Z]/g,i=>`-${i.toLowerCase()}`)}const b={setDataAttribute(f,i,c){f.setAttribute(`data-bs-${ye(i)}`,c)},removeDataAttribute(f,i){f.removeAttribute(`data-bs-${ye(i)}`)},getDataAttributes(f){if(!f)return{};const i={},c=Object.keys(f.dataset).filter(m=>m.startsWith("bs")&&!m.startsWith("bsConfig"));for(const m of c){let y=m.replace(/^bs/,"");y=y.charAt(0).toLowerCase()+y.slice(1),i[y]=ie(f.dataset[m])}return i},getDataAttribute(f,i){return ie(f.getAttribute(`data-bs-${ye(i)}`))}};class v{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(i){return i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i}_mergeConfigObj(i,c){const m=_(c)?b.getDataAttribute(c,"config"):{};return{...this.constructor.Default,...typeof m=="object"?m:{},..._(c)?b.getDataAttributes(c):{},...typeof i=="object"?i:{}}}_typeCheckConfig(i,c=this.constructor.DefaultType){for(const[m,y]of Object.entries(c)){const S=i[m],R=_(S)?"element":u(S);if(!new RegExp(y).test(R))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${m}" provided type "${R}" but expected type "${y}".`)}}}const A="5.3.6";class V extends v{constructor(i,c){super(),i=g(i),i&&(this._element=i,this._config=this._getConfig(c),s.set(this._element,this.constructor.DATA_KEY,this))}dispose(){s.remove(this._element,this.constructor.DATA_KEY),w.off(this._element,this.constructor.EVENT_KEY);for(const i of Object.getOwnPropertyNames(this))this[i]=null}_queueCallback(i,c,m=!0){O(i,c,m)}_getConfig(i){return i=this._mergeConfigObj(i,this._element),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}static getInstance(i){return s.get(g(i),this.DATA_KEY)}static getOrCreateInstance(i,c={}){return this.getInstance(i)||new this(i,typeof c=="object"?c:null)}static get VERSION(){return A}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(i){return`${i}${this.EVENT_KEY}`}}const Y=f=>{let i=f.getAttribute("data-bs-target");if(!i||i==="#"){let c=f.getAttribute("href");if(!c||!c.includes("#")&&!c.startsWith("."))return null;c.includes("#")&&!c.startsWith("#")&&(c=`#${c.split("#")[1]}`),i=c&&c!=="#"?c.trim():null}return i?i.split(",").map(c=>l(c)).join(","):null},C={find(f,i=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(i,f))},findOne(f,i=document.documentElement){return Element.prototype.querySelector.call(i,f)},children(f,i){return[].concat(...f.children).filter(c=>c.matches(i))},parents(f,i){const c=[];let m=f.parentNode.closest(i);for(;m;)c.push(m),m=m.parentNode.closest(i);return c},prev(f,i){let c=f.previousElementSibling;for(;c;){if(c.matches(i))return[c];c=c.previousElementSibling}return[]},next(f,i){let c=f.nextElementSibling;for(;c;){if(c.matches(i))return[c];c=c.nextElementSibling}return[]},focusableChildren(f){const i=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(c=>`${c}:not([tabindex^="-"])`).join(",");return this.find(i,f).filter(c=>!T(c)&&E(c))},getSelectorFromElement(f){const i=Y(f);return i&&C.findOne(i)?i:null},getElementFromSelector(f){const i=Y(f);return i?C.findOne(i):null},getMultipleElementsFromSelector(f){const i=Y(f);return i?C.find(i):[]}},oe=(f,i="hide")=>{const c=`click.dismiss${f.EVENT_KEY}`,m=f.NAME;w.on(document,c,`[data-bs-dismiss="${m}"]`,function(y){if(["A","AREA"].includes(this.tagName)&&y.preventDefault(),T(this))return;const S=C.getElementFromSelector(this)||this.closest(`.${m}`);f.getOrCreateInstance(S)[i]()})},re="alert",Z=".bs.alert",he=`close${Z}`,ae=`closed${Z}`,fe="fade",pe="show";class Ee extends V{static get NAME(){return re}close(){if(w.trigger(this._element,he).defaultPrevented)return;this._element.classList.remove(pe);const c=this._element.classList.contains(fe);this._queueCallback(()=>this._destroyElement(),this._element,c)}_destroyElement(){this._element.remove(),w.trigger(this._element,ae),this.dispose()}static jQueryInterface(i){return this.each(function(){const c=Ee.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}oe(Ee,"close"),K(Ee);const Me="button",pt=".bs.button",ct=".data-api",Lt="active",Ot='[data-bs-toggle="button"]',Wn=`click${pt}${ct}`;class Sn extends V{static get NAME(){return Me}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(Lt))}static jQueryInterface(i){return this.each(function(){const c=Sn.getOrCreateInstance(this);i==="toggle"&&c[i]()})}}w.on(document,Wn,Ot,f=>{f.preventDefault();const i=f.target.closest(Ot);Sn.getOrCreateInstance(i).toggle()}),K(Sn);const mt="swipe",rt=".bs.swipe",zr=`touchstart${rt}`,Np=`touchmove${rt}`,xp=`touchend${rt}`,Pp=`pointerdown${rt}`,Dp=`pointerup${rt}`,$p="touch",Lp="pen",Ip="pointer-event",Mp=40,kp={endCallback:null,leftCallback:null,rightCallback:null},Bp={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Yr extends v{constructor(i,c){super(),this._element=i,!(!i||!Yr.isSupported())&&(this._config=this._getConfig(c),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return kp}static get DefaultType(){return Bp}static get NAME(){return mt}dispose(){w.off(this._element,rt)}_start(i){if(!this._supportPointerEvents){this._deltaX=i.touches[0].clientX;return}this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX)}_end(i){this._eventIsPointerPenTouch(i)&&(this._deltaX=i.clientX-this._deltaX),this._handleSwipe(),H(this._config.endCallback)}_move(i){this._deltaX=i.touches&&i.touches.length>1?0:i.touches[0].clientX-this._deltaX}_handleSwipe(){const i=Math.abs(this._deltaX);if(i<=Mp)return;const c=i/this._deltaX;this._deltaX=0,c&&H(c>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(w.on(this._element,Pp,i=>this._start(i)),w.on(this._element,Dp,i=>this._end(i)),this._element.classList.add(Ip)):(w.on(this._element,zr,i=>this._start(i)),w.on(this._element,Np,i=>this._move(i)),w.on(this._element,xp,i=>this._end(i)))}_eventIsPointerPenTouch(i){return this._supportPointerEvents&&(i.pointerType===Lp||i.pointerType===$p)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Fp="carousel",On=".bs.carousel",Hl=".data-api",Hp="ArrowLeft",Vp="ArrowRight",Up=500,rr="next",As="prev",Cs="left",Gr="right",jp=`slide${On}`,ho=`slid${On}`,qp=`keydown${On}`,Kp=`mouseenter${On}`,Wp=`mouseleave${On}`,zp=`dragstart${On}`,Yp=`load${On}${Hl}`,Gp=`click${On}${Hl}`,Vl="carousel",Jr="active",Jp="slide",Qp="carousel-item-end",Xp="carousel-item-start",Zp="carousel-item-next",em="carousel-item-prev",Ul=".active",jl=".carousel-item",tm=Ul+jl,nm=".carousel-item img",sm=".carousel-indicators",rm="[data-bs-slide], [data-bs-slide-to]",im='[data-bs-ride="carousel"]',om={[Hp]:Gr,[Vp]:Cs},am={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},lm={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ss extends V{constructor(i,c){super(i,c),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=C.findOne(sm,this._element),this._addEventListeners(),this._config.ride===Vl&&this.cycle()}static get Default(){return am}static get DefaultType(){return lm}static get NAME(){return Fp}next(){this._slide(rr)}nextWhenVisible(){!document.hidden&&E(this._element)&&this.next()}prev(){this._slide(As)}pause(){this._isSliding&&p(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){w.one(this._element,ho,()=>this.cycle());return}this.cycle()}}to(i){const c=this._getItems();if(i>c.length-1||i<0)return;if(this._isSliding){w.one(this._element,ho,()=>this.to(i));return}const m=this._getItemIndex(this._getActive());if(m===i)return;const y=i>m?rr:As;this._slide(y,c[i])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(i){return i.defaultInterval=i.interval,i}_addEventListeners(){this._config.keyboard&&w.on(this._element,qp,i=>this._keydown(i)),this._config.pause==="hover"&&(w.on(this._element,Kp,()=>this.pause()),w.on(this._element,Wp,()=>this._maybeEnableCycle())),this._config.touch&&Yr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const m of C.find(nm,this._element))w.on(m,zp,y=>y.preventDefault());const c={leftCallback:()=>this._slide(this._directionToOrder(Cs)),rightCallback:()=>this._slide(this._directionToOrder(Gr)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Up+this._config.interval))}};this._swipeHelper=new Yr(this._element,c)}_keydown(i){if(/input|textarea/i.test(i.target.tagName))return;const c=om[i.key];c&&(i.preventDefault(),this._slide(this._directionToOrder(c)))}_getItemIndex(i){return this._getItems().indexOf(i)}_setActiveIndicatorElement(i){if(!this._indicatorsElement)return;const c=C.findOne(Ul,this._indicatorsElement);c.classList.remove(Jr),c.removeAttribute("aria-current");const m=C.findOne(`[data-bs-slide-to="${i}"]`,this._indicatorsElement);m&&(m.classList.add(Jr),m.setAttribute("aria-current","true"))}_updateInterval(){const i=this._activeElement||this._getActive();if(!i)return;const c=Number.parseInt(i.getAttribute("data-bs-interval"),10);this._config.interval=c||this._config.defaultInterval}_slide(i,c=null){if(this._isSliding)return;const m=this._getActive(),y=i===rr,S=c||F(this._getItems(),m,y,this._config.wrap);if(S===m)return;const R=this._getItemIndex(S),q=_e=>w.trigger(this._element,_e,{relatedTarget:S,direction:this._orderToDirection(i),from:this._getItemIndex(m),to:R});if(q(jp).defaultPrevented||!m||!S)return;const le=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(R),this._activeElement=S;const ne=y?Xp:Qp,we=y?Zp:em;S.classList.add(we),D(S),m.classList.add(ne),S.classList.add(ne);const Ae=()=>{S.classList.remove(ne,we),S.classList.add(Jr),m.classList.remove(Jr,we,ne),this._isSliding=!1,q(ho)};this._queueCallback(Ae,m,this._isAnimated()),le&&this.cycle()}_isAnimated(){return this._element.classList.contains(Jp)}_getActive(){return C.findOne(tm,this._element)}_getItems(){return C.find(jl,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(i){return N()?i===Cs?As:rr:i===Cs?rr:As}_orderToDirection(i){return N()?i===As?Cs:Gr:i===As?Gr:Cs}static jQueryInterface(i){return this.each(function(){const c=Ss.getOrCreateInstance(this,i);if(typeof i=="number"){c.to(i);return}if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}w.on(document,Gp,rm,function(f){const i=C.getElementFromSelector(this);if(!i||!i.classList.contains(Vl))return;f.preventDefault();const c=Ss.getOrCreateInstance(i),m=this.getAttribute("data-bs-slide-to");if(m){c.to(m),c._maybeEnableCycle();return}if(b.getDataAttribute(this,"slide")==="next"){c.next(),c._maybeEnableCycle();return}c.prev(),c._maybeEnableCycle()}),w.on(window,Yp,()=>{const f=C.find(im);for(const i of f)Ss.getOrCreateInstance(i)}),K(Ss);const cm="collapse",ir=".bs.collapse",um=".data-api",fm=`show${ir}`,dm=`shown${ir}`,hm=`hide${ir}`,pm=`hidden${ir}`,mm=`click${ir}${um}`,po="show",Os="collapse",Qr="collapsing",gm="collapsed",_m=`:scope .${Os} .${Os}`,bm="collapse-horizontal",vm="width",ym="height",Em=".collapse.show, .collapse.collapsing",mo='[data-bs-toggle="collapse"]',wm={parent:null,toggle:!0},Tm={parent:"(null|element)",toggle:"boolean"};class Rs extends V{constructor(i,c){super(i,c),this._isTransitioning=!1,this._triggerArray=[];const m=C.find(mo);for(const y of m){const S=C.getSelectorFromElement(y),R=C.find(S).filter(q=>q===this._element);S!==null&&R.length&&this._triggerArray.push(y)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return wm}static get DefaultType(){return Tm}static get NAME(){return cm}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let i=[];if(this._config.parent&&(i=this._getFirstLevelChildren(Em).filter(q=>q!==this._element).map(q=>Rs.getOrCreateInstance(q,{toggle:!1}))),i.length&&i[0]._isTransitioning||w.trigger(this._element,fm).defaultPrevented)return;for(const q of i)q.hide();const m=this._getDimension();this._element.classList.remove(Os),this._element.classList.add(Qr),this._element.style[m]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const y=()=>{this._isTransitioning=!1,this._element.classList.remove(Qr),this._element.classList.add(Os,po),this._element.style[m]="",w.trigger(this._element,dm)},R=`scroll${m[0].toUpperCase()+m.slice(1)}`;this._queueCallback(y,this._element,!0),this._element.style[m]=`${this._element[R]}px`}hide(){if(this._isTransitioning||!this._isShown()||w.trigger(this._element,hm).defaultPrevented)return;const c=this._getDimension();this._element.style[c]=`${this._element.getBoundingClientRect()[c]}px`,D(this._element),this._element.classList.add(Qr),this._element.classList.remove(Os,po);for(const y of this._triggerArray){const S=C.getElementFromSelector(y);S&&!this._isShown(S)&&this._addAriaAndCollapsedClass([y],!1)}this._isTransitioning=!0;const m=()=>{this._isTransitioning=!1,this._element.classList.remove(Qr),this._element.classList.add(Os),w.trigger(this._element,pm)};this._element.style[c]="",this._queueCallback(m,this._element,!0)}_isShown(i=this._element){return i.classList.contains(po)}_configAfterMerge(i){return i.toggle=!!i.toggle,i.parent=g(i.parent),i}_getDimension(){return this._element.classList.contains(bm)?vm:ym}_initializeChildren(){if(!this._config.parent)return;const i=this._getFirstLevelChildren(mo);for(const c of i){const m=C.getElementFromSelector(c);m&&this._addAriaAndCollapsedClass([c],this._isShown(m))}}_getFirstLevelChildren(i){const c=C.find(_m,this._config.parent);return C.find(i,this._config.parent).filter(m=>!c.includes(m))}_addAriaAndCollapsedClass(i,c){if(i.length)for(const m of i)m.classList.toggle(gm,!c),m.setAttribute("aria-expanded",c)}static jQueryInterface(i){const c={};return typeof i=="string"&&/show|hide/.test(i)&&(c.toggle=!1),this.each(function(){const m=Rs.getOrCreateInstance(this,c);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i]()}})}}w.on(document,mm,mo,function(f){(f.target.tagName==="A"||f.delegateTarget&&f.delegateTarget.tagName==="A")&&f.preventDefault();for(const i of C.getMultipleElementsFromSelector(this))Rs.getOrCreateInstance(i,{toggle:!1}).toggle()}),K(Rs);var gt="top",Rt="bottom",Nt="right",_t="left",Xr="auto",Ns=[gt,Rt,Nt,_t],zn="start",xs="end",ql="clippingParents",go="viewport",Ps="popper",Kl="reference",_o=Ns.reduce(function(f,i){return f.concat([i+"-"+zn,i+"-"+xs])},[]),bo=[].concat(Ns,[Xr]).reduce(function(f,i){return f.concat([i,i+"-"+zn,i+"-"+xs])},[]),Wl="beforeRead",zl="read",Yl="afterRead",Gl="beforeMain",Jl="main",Ql="afterMain",Xl="beforeWrite",Zl="write",ec="afterWrite",tc=[Wl,zl,Yl,Gl,Jl,Ql,Xl,Zl,ec];function Jt(f){return f?(f.nodeName||"").toLowerCase():null}function xt(f){if(f==null)return window;if(f.toString()!=="[object Window]"){var i=f.ownerDocument;return i&&i.defaultView||window}return f}function Yn(f){var i=xt(f).Element;return f instanceof i||f instanceof Element}function It(f){var i=xt(f).HTMLElement;return f instanceof i||f instanceof HTMLElement}function vo(f){if(typeof ShadowRoot>"u")return!1;var i=xt(f).ShadowRoot;return f instanceof i||f instanceof ShadowRoot}function Am(f){var i=f.state;Object.keys(i.elements).forEach(function(c){var m=i.styles[c]||{},y=i.attributes[c]||{},S=i.elements[c];!It(S)||!Jt(S)||(Object.assign(S.style,m),Object.keys(y).forEach(function(R){var q=y[R];q===!1?S.removeAttribute(R):S.setAttribute(R,q===!0?"":q)}))})}function Cm(f){var i=f.state,c={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,c.popper),i.styles=c,i.elements.arrow&&Object.assign(i.elements.arrow.style,c.arrow),function(){Object.keys(i.elements).forEach(function(m){var y=i.elements[m],S=i.attributes[m]||{},R=Object.keys(i.styles.hasOwnProperty(m)?i.styles[m]:c[m]),q=R.reduce(function(ee,le){return ee[le]="",ee},{});!It(y)||!Jt(y)||(Object.assign(y.style,q),Object.keys(S).forEach(function(ee){y.removeAttribute(ee)}))})}}const yo={name:"applyStyles",enabled:!0,phase:"write",fn:Am,effect:Cm,requires:["computeStyles"]};function Qt(f){return f.split("-")[0]}var Gn=Math.max,Zr=Math.min,Ds=Math.round;function Eo(){var f=navigator.userAgentData;return f!=null&&f.brands&&Array.isArray(f.brands)?f.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function nc(){return!/^((?!chrome|android).)*safari/i.test(Eo())}function $s(f,i,c){i===void 0&&(i=!1),c===void 0&&(c=!1);var m=f.getBoundingClientRect(),y=1,S=1;i&&It(f)&&(y=f.offsetWidth>0&&Ds(m.width)/f.offsetWidth||1,S=f.offsetHeight>0&&Ds(m.height)/f.offsetHeight||1);var R=Yn(f)?xt(f):window,q=R.visualViewport,ee=!nc()&&c,le=(m.left+(ee&&q?q.offsetLeft:0))/y,ne=(m.top+(ee&&q?q.offsetTop:0))/S,we=m.width/y,Ae=m.height/S;return{width:we,height:Ae,top:ne,right:le+we,bottom:ne+Ae,left:le,x:le,y:ne}}function wo(f){var i=$s(f),c=f.offsetWidth,m=f.offsetHeight;return Math.abs(i.width-c)<=1&&(c=i.width),Math.abs(i.height-m)<=1&&(m=i.height),{x:f.offsetLeft,y:f.offsetTop,width:c,height:m}}function sc(f,i){var c=i.getRootNode&&i.getRootNode();if(f.contains(i))return!0;if(c&&vo(c)){var m=i;do{if(m&&f.isSameNode(m))return!0;m=m.parentNode||m.host}while(m)}return!1}function cn(f){return xt(f).getComputedStyle(f)}function Sm(f){return["table","td","th"].indexOf(Jt(f))>=0}function Rn(f){return((Yn(f)?f.ownerDocument:f.document)||window.document).documentElement}function ei(f){return Jt(f)==="html"?f:f.assignedSlot||f.parentNode||(vo(f)?f.host:null)||Rn(f)}function rc(f){return!It(f)||cn(f).position==="fixed"?null:f.offsetParent}function Om(f){var i=/firefox/i.test(Eo()),c=/Trident/i.test(Eo());if(c&&It(f)){var m=cn(f);if(m.position==="fixed")return null}var y=ei(f);for(vo(y)&&(y=y.host);It(y)&&["html","body"].indexOf(Jt(y))<0;){var S=cn(y);if(S.transform!=="none"||S.perspective!=="none"||S.contain==="paint"||["transform","perspective"].indexOf(S.willChange)!==-1||i&&S.willChange==="filter"||i&&S.filter&&S.filter!=="none")return y;y=y.parentNode}return null}function or(f){for(var i=xt(f),c=rc(f);c&&Sm(c)&&cn(c).position==="static";)c=rc(c);return c&&(Jt(c)==="html"||Jt(c)==="body"&&cn(c).position==="static")?i:c||Om(f)||i}function To(f){return["top","bottom"].indexOf(f)>=0?"x":"y"}function ar(f,i,c){return Gn(f,Zr(i,c))}function Rm(f,i,c){var m=ar(f,i,c);return m>c?c:m}function ic(){return{top:0,right:0,bottom:0,left:0}}function oc(f){return Object.assign({},ic(),f)}function ac(f,i){return i.reduce(function(c,m){return c[m]=f,c},{})}var Nm=function(i,c){return i=typeof i=="function"?i(Object.assign({},c.rects,{placement:c.placement})):i,oc(typeof i!="number"?i:ac(i,Ns))};function xm(f){var i,c=f.state,m=f.name,y=f.options,S=c.elements.arrow,R=c.modifiersData.popperOffsets,q=Qt(c.placement),ee=To(q),le=[_t,Nt].indexOf(q)>=0,ne=le?"height":"width";if(!(!S||!R)){var we=Nm(y.padding,c),Ae=wo(S),_e=ee==="y"?gt:_t,Ve=ee==="y"?Rt:Nt,Ce=c.rects.reference[ne]+c.rects.reference[ee]-R[ee]-c.rects.popper[ne],Ne=R[ee]-c.rects.reference[ee],qe=or(S),Ge=qe?ee==="y"?qe.clientHeight||0:qe.clientWidth||0:0,Je=Ce/2-Ne/2,Se=we[_e],ke=Ge-Ae[ne]-we[Ve],Be=Ge/2-Ae[ne]/2+Je,ze=ar(Se,Be,ke),it=ee;c.modifiersData[m]=(i={},i[it]=ze,i.centerOffset=ze-Be,i)}}function Pm(f){var i=f.state,c=f.options,m=c.element,y=m===void 0?"[data-popper-arrow]":m;y!=null&&(typeof y=="string"&&(y=i.elements.popper.querySelector(y),!y)||sc(i.elements.popper,y)&&(i.elements.arrow=y))}const lc={name:"arrow",enabled:!0,phase:"main",fn:xm,effect:Pm,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ls(f){return f.split("-")[1]}var Dm={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $m(f,i){var c=f.x,m=f.y,y=i.devicePixelRatio||1;return{x:Ds(c*y)/y||0,y:Ds(m*y)/y||0}}function cc(f){var i,c=f.popper,m=f.popperRect,y=f.placement,S=f.variation,R=f.offsets,q=f.position,ee=f.gpuAcceleration,le=f.adaptive,ne=f.roundOffsets,we=f.isFixed,Ae=R.x,_e=Ae===void 0?0:Ae,Ve=R.y,Ce=Ve===void 0?0:Ve,Ne=typeof ne=="function"?ne({x:_e,y:Ce}):{x:_e,y:Ce};_e=Ne.x,Ce=Ne.y;var qe=R.hasOwnProperty("x"),Ge=R.hasOwnProperty("y"),Je=_t,Se=gt,ke=window;if(le){var Be=or(c),ze="clientHeight",it="clientWidth";if(Be===xt(c)&&(Be=Rn(c),cn(Be).position!=="static"&&q==="absolute"&&(ze="scrollHeight",it="scrollWidth")),Be=Be,y===gt||(y===_t||y===Nt)&&S===xs){Se=Rt;var tt=we&&Be===ke&&ke.visualViewport?ke.visualViewport.height:Be[ze];Ce-=tt-m.height,Ce*=ee?1:-1}if(y===_t||(y===gt||y===Rt)&&S===xs){Je=Nt;var Ze=we&&Be===ke&&ke.visualViewport?ke.visualViewport.width:Be[it];_e-=Ze-m.width,_e*=ee?1:-1}}var ut=Object.assign({position:q},le&&Dm),jt=ne===!0?$m({x:_e,y:Ce},xt(c)):{x:_e,y:Ce};if(_e=jt.x,Ce=jt.y,ee){var bt;return Object.assign({},ut,(bt={},bt[Se]=Ge?"0":"",bt[Je]=qe?"0":"",bt.transform=(ke.devicePixelRatio||1)<=1?"translate("+_e+"px, "+Ce+"px)":"translate3d("+_e+"px, "+Ce+"px, 0)",bt))}return Object.assign({},ut,(i={},i[Se]=Ge?Ce+"px":"",i[Je]=qe?_e+"px":"",i.transform="",i))}function Lm(f){var i=f.state,c=f.options,m=c.gpuAcceleration,y=m===void 0?!0:m,S=c.adaptive,R=S===void 0?!0:S,q=c.roundOffsets,ee=q===void 0?!0:q,le={placement:Qt(i.placement),variation:Ls(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:y,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,cc(Object.assign({},le,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:R,roundOffsets:ee})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,cc(Object.assign({},le,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ee})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const Ao={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Lm,data:{}};var ti={passive:!0};function Im(f){var i=f.state,c=f.instance,m=f.options,y=m.scroll,S=y===void 0?!0:y,R=m.resize,q=R===void 0?!0:R,ee=xt(i.elements.popper),le=[].concat(i.scrollParents.reference,i.scrollParents.popper);return S&&le.forEach(function(ne){ne.addEventListener("scroll",c.update,ti)}),q&&ee.addEventListener("resize",c.update,ti),function(){S&&le.forEach(function(ne){ne.removeEventListener("scroll",c.update,ti)}),q&&ee.removeEventListener("resize",c.update,ti)}}const Co={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Im,data:{}};var Mm={left:"right",right:"left",bottom:"top",top:"bottom"};function ni(f){return f.replace(/left|right|bottom|top/g,function(i){return Mm[i]})}var km={start:"end",end:"start"};function uc(f){return f.replace(/start|end/g,function(i){return km[i]})}function So(f){var i=xt(f),c=i.pageXOffset,m=i.pageYOffset;return{scrollLeft:c,scrollTop:m}}function Oo(f){return $s(Rn(f)).left+So(f).scrollLeft}function Bm(f,i){var c=xt(f),m=Rn(f),y=c.visualViewport,S=m.clientWidth,R=m.clientHeight,q=0,ee=0;if(y){S=y.width,R=y.height;var le=nc();(le||!le&&i==="fixed")&&(q=y.offsetLeft,ee=y.offsetTop)}return{width:S,height:R,x:q+Oo(f),y:ee}}function Fm(f){var i,c=Rn(f),m=So(f),y=(i=f.ownerDocument)==null?void 0:i.body,S=Gn(c.scrollWidth,c.clientWidth,y?y.scrollWidth:0,y?y.clientWidth:0),R=Gn(c.scrollHeight,c.clientHeight,y?y.scrollHeight:0,y?y.clientHeight:0),q=-m.scrollLeft+Oo(f),ee=-m.scrollTop;return cn(y||c).direction==="rtl"&&(q+=Gn(c.clientWidth,y?y.clientWidth:0)-S),{width:S,height:R,x:q,y:ee}}function Ro(f){var i=cn(f),c=i.overflow,m=i.overflowX,y=i.overflowY;return/auto|scroll|overlay|hidden/.test(c+y+m)}function fc(f){return["html","body","#document"].indexOf(Jt(f))>=0?f.ownerDocument.body:It(f)&&Ro(f)?f:fc(ei(f))}function lr(f,i){var c;i===void 0&&(i=[]);var m=fc(f),y=m===((c=f.ownerDocument)==null?void 0:c.body),S=xt(m),R=y?[S].concat(S.visualViewport||[],Ro(m)?m:[]):m,q=i.concat(R);return y?q:q.concat(lr(ei(R)))}function No(f){return Object.assign({},f,{left:f.x,top:f.y,right:f.x+f.width,bottom:f.y+f.height})}function Hm(f,i){var c=$s(f,!1,i==="fixed");return c.top=c.top+f.clientTop,c.left=c.left+f.clientLeft,c.bottom=c.top+f.clientHeight,c.right=c.left+f.clientWidth,c.width=f.clientWidth,c.height=f.clientHeight,c.x=c.left,c.y=c.top,c}function dc(f,i,c){return i===go?No(Bm(f,c)):Yn(i)?Hm(i,c):No(Fm(Rn(f)))}function Vm(f){var i=lr(ei(f)),c=["absolute","fixed"].indexOf(cn(f).position)>=0,m=c&&It(f)?or(f):f;return Yn(m)?i.filter(function(y){return Yn(y)&&sc(y,m)&&Jt(y)!=="body"}):[]}function Um(f,i,c,m){var y=i==="clippingParents"?Vm(f):[].concat(i),S=[].concat(y,[c]),R=S[0],q=S.reduce(function(ee,le){var ne=dc(f,le,m);return ee.top=Gn(ne.top,ee.top),ee.right=Zr(ne.right,ee.right),ee.bottom=Zr(ne.bottom,ee.bottom),ee.left=Gn(ne.left,ee.left),ee},dc(f,R,m));return q.width=q.right-q.left,q.height=q.bottom-q.top,q.x=q.left,q.y=q.top,q}function hc(f){var i=f.reference,c=f.element,m=f.placement,y=m?Qt(m):null,S=m?Ls(m):null,R=i.x+i.width/2-c.width/2,q=i.y+i.height/2-c.height/2,ee;switch(y){case gt:ee={x:R,y:i.y-c.height};break;case Rt:ee={x:R,y:i.y+i.height};break;case Nt:ee={x:i.x+i.width,y:q};break;case _t:ee={x:i.x-c.width,y:q};break;default:ee={x:i.x,y:i.y}}var le=y?To(y):null;if(le!=null){var ne=le==="y"?"height":"width";switch(S){case zn:ee[le]=ee[le]-(i[ne]/2-c[ne]/2);break;case xs:ee[le]=ee[le]+(i[ne]/2-c[ne]/2);break}}return ee}function Is(f,i){i===void 0&&(i={});var c=i,m=c.placement,y=m===void 0?f.placement:m,S=c.strategy,R=S===void 0?f.strategy:S,q=c.boundary,ee=q===void 0?ql:q,le=c.rootBoundary,ne=le===void 0?go:le,we=c.elementContext,Ae=we===void 0?Ps:we,_e=c.altBoundary,Ve=_e===void 0?!1:_e,Ce=c.padding,Ne=Ce===void 0?0:Ce,qe=oc(typeof Ne!="number"?Ne:ac(Ne,Ns)),Ge=Ae===Ps?Kl:Ps,Je=f.rects.popper,Se=f.elements[Ve?Ge:Ae],ke=Um(Yn(Se)?Se:Se.contextElement||Rn(f.elements.popper),ee,ne,R),Be=$s(f.elements.reference),ze=hc({reference:Be,element:Je,placement:y}),it=No(Object.assign({},Je,ze)),tt=Ae===Ps?it:Be,Ze={top:ke.top-tt.top+qe.top,bottom:tt.bottom-ke.bottom+qe.bottom,left:ke.left-tt.left+qe.left,right:tt.right-ke.right+qe.right},ut=f.modifiersData.offset;if(Ae===Ps&&ut){var jt=ut[y];Object.keys(Ze).forEach(function(bt){var ss=[Nt,Rt].indexOf(bt)>=0?1:-1,rs=[gt,Rt].indexOf(bt)>=0?"y":"x";Ze[bt]+=jt[rs]*ss})}return Ze}function jm(f,i){i===void 0&&(i={});var c=i,m=c.placement,y=c.boundary,S=c.rootBoundary,R=c.padding,q=c.flipVariations,ee=c.allowedAutoPlacements,le=ee===void 0?bo:ee,ne=Ls(m),we=ne?q?_o:_o.filter(function(Ve){return Ls(Ve)===ne}):Ns,Ae=we.filter(function(Ve){return le.indexOf(Ve)>=0});Ae.length===0&&(Ae=we);var _e=Ae.reduce(function(Ve,Ce){return Ve[Ce]=Is(f,{placement:Ce,boundary:y,rootBoundary:S,padding:R})[Qt(Ce)],Ve},{});return Object.keys(_e).sort(function(Ve,Ce){return _e[Ve]-_e[Ce]})}function qm(f){if(Qt(f)===Xr)return[];var i=ni(f);return[uc(f),i,uc(i)]}function Km(f){var i=f.state,c=f.options,m=f.name;if(!i.modifiersData[m]._skip){for(var y=c.mainAxis,S=y===void 0?!0:y,R=c.altAxis,q=R===void 0?!0:R,ee=c.fallbackPlacements,le=c.padding,ne=c.boundary,we=c.rootBoundary,Ae=c.altBoundary,_e=c.flipVariations,Ve=_e===void 0?!0:_e,Ce=c.allowedAutoPlacements,Ne=i.options.placement,qe=Qt(Ne),Ge=qe===Ne,Je=ee||(Ge||!Ve?[ni(Ne)]:qm(Ne)),Se=[Ne].concat(Je).reduce(function(Bs,xn){return Bs.concat(Qt(xn)===Xr?jm(i,{placement:xn,boundary:ne,rootBoundary:we,padding:le,flipVariations:Ve,allowedAutoPlacements:Ce}):xn)},[]),ke=i.rects.reference,Be=i.rects.popper,ze=new Map,it=!0,tt=Se[0],Ze=0;Ze<Se.length;Ze++){var ut=Se[Ze],jt=Qt(ut),bt=Ls(ut)===zn,ss=[gt,Rt].indexOf(jt)>=0,rs=ss?"width":"height",Pt=Is(i,{placement:ut,boundary:ne,rootBoundary:we,altBoundary:Ae,padding:le}),qt=ss?bt?Nt:_t:bt?Rt:gt;ke[rs]>Be[rs]&&(qt=ni(qt));var fi=ni(qt),is=[];if(S&&is.push(Pt[jt]<=0),q&&is.push(Pt[qt]<=0,Pt[fi]<=0),is.every(function(Bs){return Bs})){tt=ut,it=!1;break}ze.set(ut,is)}if(it)for(var di=Ve?3:1,jo=function(xn){var hr=Se.find(function(pi){var os=ze.get(pi);if(os)return os.slice(0,xn).every(function(qo){return qo})});if(hr)return tt=hr,"break"},dr=di;dr>0;dr--){var hi=jo(dr);if(hi==="break")break}i.placement!==tt&&(i.modifiersData[m]._skip=!0,i.placement=tt,i.reset=!0)}}const pc={name:"flip",enabled:!0,phase:"main",fn:Km,requiresIfExists:["offset"],data:{_skip:!1}};function mc(f,i,c){return c===void 0&&(c={x:0,y:0}),{top:f.top-i.height-c.y,right:f.right-i.width+c.x,bottom:f.bottom-i.height+c.y,left:f.left-i.width-c.x}}function gc(f){return[gt,Nt,Rt,_t].some(function(i){return f[i]>=0})}function Wm(f){var i=f.state,c=f.name,m=i.rects.reference,y=i.rects.popper,S=i.modifiersData.preventOverflow,R=Is(i,{elementContext:"reference"}),q=Is(i,{altBoundary:!0}),ee=mc(R,m),le=mc(q,y,S),ne=gc(ee),we=gc(le);i.modifiersData[c]={referenceClippingOffsets:ee,popperEscapeOffsets:le,isReferenceHidden:ne,hasPopperEscaped:we},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":ne,"data-popper-escaped":we})}const _c={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Wm};function zm(f,i,c){var m=Qt(f),y=[_t,gt].indexOf(m)>=0?-1:1,S=typeof c=="function"?c(Object.assign({},i,{placement:f})):c,R=S[0],q=S[1];return R=R||0,q=(q||0)*y,[_t,Nt].indexOf(m)>=0?{x:q,y:R}:{x:R,y:q}}function Ym(f){var i=f.state,c=f.options,m=f.name,y=c.offset,S=y===void 0?[0,0]:y,R=bo.reduce(function(ne,we){return ne[we]=zm(we,i.rects,S),ne},{}),q=R[i.placement],ee=q.x,le=q.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=ee,i.modifiersData.popperOffsets.y+=le),i.modifiersData[m]=R}const bc={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Ym};function Gm(f){var i=f.state,c=f.name;i.modifiersData[c]=hc({reference:i.rects.reference,element:i.rects.popper,placement:i.placement})}const xo={name:"popperOffsets",enabled:!0,phase:"read",fn:Gm,data:{}};function Jm(f){return f==="x"?"y":"x"}function Qm(f){var i=f.state,c=f.options,m=f.name,y=c.mainAxis,S=y===void 0?!0:y,R=c.altAxis,q=R===void 0?!1:R,ee=c.boundary,le=c.rootBoundary,ne=c.altBoundary,we=c.padding,Ae=c.tether,_e=Ae===void 0?!0:Ae,Ve=c.tetherOffset,Ce=Ve===void 0?0:Ve,Ne=Is(i,{boundary:ee,rootBoundary:le,padding:we,altBoundary:ne}),qe=Qt(i.placement),Ge=Ls(i.placement),Je=!Ge,Se=To(qe),ke=Jm(Se),Be=i.modifiersData.popperOffsets,ze=i.rects.reference,it=i.rects.popper,tt=typeof Ce=="function"?Ce(Object.assign({},i.rects,{placement:i.placement})):Ce,Ze=typeof tt=="number"?{mainAxis:tt,altAxis:tt}:Object.assign({mainAxis:0,altAxis:0},tt),ut=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,jt={x:0,y:0};if(Be){if(S){var bt,ss=Se==="y"?gt:_t,rs=Se==="y"?Rt:Nt,Pt=Se==="y"?"height":"width",qt=Be[Se],fi=qt+Ne[ss],is=qt-Ne[rs],di=_e?-it[Pt]/2:0,jo=Ge===zn?ze[Pt]:it[Pt],dr=Ge===zn?-it[Pt]:-ze[Pt],hi=i.elements.arrow,Bs=_e&&hi?wo(hi):{width:0,height:0},xn=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:ic(),hr=xn[ss],pi=xn[rs],os=ar(0,ze[Pt],Bs[Pt]),qo=Je?ze[Pt]/2-di-os-hr-Ze.mainAxis:jo-os-hr-Ze.mainAxis,jb=Je?-ze[Pt]/2+di+os+pi+Ze.mainAxis:dr+os+pi+Ze.mainAxis,Ko=i.elements.arrow&&or(i.elements.arrow),qb=Ko?Se==="y"?Ko.clientTop||0:Ko.clientLeft||0:0,ou=(bt=ut==null?void 0:ut[Se])!=null?bt:0,Kb=qt+qo-ou-qb,Wb=qt+jb-ou,au=ar(_e?Zr(fi,Kb):fi,qt,_e?Gn(is,Wb):is);Be[Se]=au,jt[Se]=au-qt}if(q){var lu,zb=Se==="x"?gt:_t,Yb=Se==="x"?Rt:Nt,as=Be[ke],mi=ke==="y"?"height":"width",cu=as+Ne[zb],uu=as-Ne[Yb],Wo=[gt,_t].indexOf(qe)!==-1,fu=(lu=ut==null?void 0:ut[ke])!=null?lu:0,du=Wo?cu:as-ze[mi]-it[mi]-fu+Ze.altAxis,hu=Wo?as+ze[mi]+it[mi]-fu-Ze.altAxis:uu,pu=_e&&Wo?Rm(du,as,hu):ar(_e?du:cu,as,_e?hu:uu);Be[ke]=pu,jt[ke]=pu-as}i.modifiersData[m]=jt}}const vc={name:"preventOverflow",enabled:!0,phase:"main",fn:Qm,requiresIfExists:["offset"]};function Xm(f){return{scrollLeft:f.scrollLeft,scrollTop:f.scrollTop}}function Zm(f){return f===xt(f)||!It(f)?So(f):Xm(f)}function eg(f){var i=f.getBoundingClientRect(),c=Ds(i.width)/f.offsetWidth||1,m=Ds(i.height)/f.offsetHeight||1;return c!==1||m!==1}function tg(f,i,c){c===void 0&&(c=!1);var m=It(i),y=It(i)&&eg(i),S=Rn(i),R=$s(f,y,c),q={scrollLeft:0,scrollTop:0},ee={x:0,y:0};return(m||!m&&!c)&&((Jt(i)!=="body"||Ro(S))&&(q=Zm(i)),It(i)?(ee=$s(i,!0),ee.x+=i.clientLeft,ee.y+=i.clientTop):S&&(ee.x=Oo(S))),{x:R.left+q.scrollLeft-ee.x,y:R.top+q.scrollTop-ee.y,width:R.width,height:R.height}}function ng(f){var i=new Map,c=new Set,m=[];f.forEach(function(S){i.set(S.name,S)});function y(S){c.add(S.name);var R=[].concat(S.requires||[],S.requiresIfExists||[]);R.forEach(function(q){if(!c.has(q)){var ee=i.get(q);ee&&y(ee)}}),m.push(S)}return f.forEach(function(S){c.has(S.name)||y(S)}),m}function sg(f){var i=ng(f);return tc.reduce(function(c,m){return c.concat(i.filter(function(y){return y.phase===m}))},[])}function rg(f){var i;return function(){return i||(i=new Promise(function(c){Promise.resolve().then(function(){i=void 0,c(f())})})),i}}function ig(f){var i=f.reduce(function(c,m){var y=c[m.name];return c[m.name]=y?Object.assign({},y,m,{options:Object.assign({},y.options,m.options),data:Object.assign({},y.data,m.data)}):m,c},{});return Object.keys(i).map(function(c){return i[c]})}var yc={placement:"bottom",modifiers:[],strategy:"absolute"};function Ec(){for(var f=arguments.length,i=new Array(f),c=0;c<f;c++)i[c]=arguments[c];return!i.some(function(m){return!(m&&typeof m.getBoundingClientRect=="function")})}function si(f){f===void 0&&(f={});var i=f,c=i.defaultModifiers,m=c===void 0?[]:c,y=i.defaultOptions,S=y===void 0?yc:y;return function(q,ee,le){le===void 0&&(le=S);var ne={placement:"bottom",orderedModifiers:[],options:Object.assign({},yc,S),modifiersData:{},elements:{reference:q,popper:ee},attributes:{},styles:{}},we=[],Ae=!1,_e={state:ne,setOptions:function(qe){var Ge=typeof qe=="function"?qe(ne.options):qe;Ce(),ne.options=Object.assign({},S,ne.options,Ge),ne.scrollParents={reference:Yn(q)?lr(q):q.contextElement?lr(q.contextElement):[],popper:lr(ee)};var Je=sg(ig([].concat(m,ne.options.modifiers)));return ne.orderedModifiers=Je.filter(function(Se){return Se.enabled}),Ve(),_e.update()},forceUpdate:function(){if(!Ae){var qe=ne.elements,Ge=qe.reference,Je=qe.popper;if(Ec(Ge,Je)){ne.rects={reference:tg(Ge,or(Je),ne.options.strategy==="fixed"),popper:wo(Je)},ne.reset=!1,ne.placement=ne.options.placement,ne.orderedModifiers.forEach(function(Ze){return ne.modifiersData[Ze.name]=Object.assign({},Ze.data)});for(var Se=0;Se<ne.orderedModifiers.length;Se++){if(ne.reset===!0){ne.reset=!1,Se=-1;continue}var ke=ne.orderedModifiers[Se],Be=ke.fn,ze=ke.options,it=ze===void 0?{}:ze,tt=ke.name;typeof Be=="function"&&(ne=Be({state:ne,options:it,name:tt,instance:_e})||ne)}}}},update:rg(function(){return new Promise(function(Ne){_e.forceUpdate(),Ne(ne)})}),destroy:function(){Ce(),Ae=!0}};if(!Ec(q,ee))return _e;_e.setOptions(le).then(function(Ne){!Ae&&le.onFirstUpdate&&le.onFirstUpdate(Ne)});function Ve(){ne.orderedModifiers.forEach(function(Ne){var qe=Ne.name,Ge=Ne.options,Je=Ge===void 0?{}:Ge,Se=Ne.effect;if(typeof Se=="function"){var ke=Se({state:ne,name:qe,instance:_e,options:Je}),Be=function(){};we.push(ke||Be)}})}function Ce(){we.forEach(function(Ne){return Ne()}),we=[]}return _e}}var og=si(),ag=[Co,xo,Ao,yo],lg=si({defaultModifiers:ag}),cg=[Co,xo,Ao,yo,bc,pc,vc,lc,_c],Po=si({defaultModifiers:cg});const wc=Object.freeze(Object.defineProperty({__proto__:null,afterMain:Ql,afterRead:Yl,afterWrite:ec,applyStyles:yo,arrow:lc,auto:Xr,basePlacements:Ns,beforeMain:Gl,beforeRead:Wl,beforeWrite:Xl,bottom:Rt,clippingParents:ql,computeStyles:Ao,createPopper:Po,createPopperBase:og,createPopperLite:lg,detectOverflow:Is,end:xs,eventListeners:Co,flip:pc,hide:_c,left:_t,main:Jl,modifierPhases:tc,offset:bc,placements:bo,popper:Ps,popperGenerator:si,popperOffsets:xo,preventOverflow:vc,read:zl,reference:Kl,right:Nt,start:zn,top:gt,variationPlacements:_o,viewport:go,write:Zl},Symbol.toStringTag,{value:"Module"})),Tc="dropdown",Jn=".bs.dropdown",Do=".data-api",ug="Escape",Ac="Tab",fg="ArrowUp",Cc="ArrowDown",dg=2,hg=`hide${Jn}`,pg=`hidden${Jn}`,mg=`show${Jn}`,gg=`shown${Jn}`,Sc=`click${Jn}${Do}`,Oc=`keydown${Jn}${Do}`,_g=`keyup${Jn}${Do}`,Ms="show",bg="dropup",vg="dropend",yg="dropstart",Eg="dropup-center",wg="dropdown-center",Qn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Tg=`${Qn}.${Ms}`,ri=".dropdown-menu",Ag=".navbar",Cg=".navbar-nav",Sg=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Og=N()?"top-end":"top-start",Rg=N()?"top-start":"top-end",Ng=N()?"bottom-end":"bottom-start",xg=N()?"bottom-start":"bottom-end",Pg=N()?"left-start":"right-start",Dg=N()?"right-start":"left-start",$g="top",Lg="bottom",Ig={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Mg={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Ut extends V{constructor(i,c){super(i,c),this._popper=null,this._parent=this._element.parentNode,this._menu=C.next(this._element,ri)[0]||C.prev(this._element,ri)[0]||C.findOne(ri,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Ig}static get DefaultType(){return Mg}static get NAME(){return Tc}toggle(){return this._isShown()?this.hide():this.show()}show(){if(T(this._element)||this._isShown())return;const i={relatedTarget:this._element};if(!w.trigger(this._element,mg,i).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Cg))for(const m of[].concat(...document.body.children))w.on(m,"mouseover",P);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Ms),this._element.classList.add(Ms),w.trigger(this._element,gg,i)}}hide(){if(T(this._element)||!this._isShown())return;const i={relatedTarget:this._element};this._completeHide(i)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(i){if(!w.trigger(this._element,hg,i).defaultPrevented){if("ontouchstart"in document.documentElement)for(const m of[].concat(...document.body.children))w.off(m,"mouseover",P);this._popper&&this._popper.destroy(),this._menu.classList.remove(Ms),this._element.classList.remove(Ms),this._element.setAttribute("aria-expanded","false"),b.removeDataAttribute(this._menu,"popper"),w.trigger(this._element,pg,i),this._element.focus()}}_getConfig(i){if(i=super._getConfig(i),typeof i.reference=="object"&&!_(i.reference)&&typeof i.reference.getBoundingClientRect!="function")throw new TypeError(`${Tc.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return i}_createPopper(){if(typeof wc>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org/docs/v2/)");let i=this._element;this._config.reference==="parent"?i=this._parent:_(this._config.reference)?i=g(this._config.reference):typeof this._config.reference=="object"&&(i=this._config.reference);const c=this._getPopperConfig();this._popper=Po(i,this._menu,c)}_isShown(){return this._menu.classList.contains(Ms)}_getPlacement(){const i=this._parent;if(i.classList.contains(vg))return Pg;if(i.classList.contains(yg))return Dg;if(i.classList.contains(Eg))return $g;if(i.classList.contains(wg))return Lg;const c=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return i.classList.contains(bg)?c?Rg:Og:c?xg:Ng}_detectNavbar(){return this._element.closest(Ag)!==null}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_getPopperConfig(){const i={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(b.setDataAttribute(this._menu,"popper","static"),i.modifiers=[{name:"applyStyles",enabled:!1}]),{...i,...H(this._config.popperConfig,[void 0,i])}}_selectMenuItem({key:i,target:c}){const m=C.find(Sg,this._menu).filter(y=>E(y));m.length&&F(m,c,i===Cc,!m.includes(c)).focus()}static jQueryInterface(i){return this.each(function(){const c=Ut.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}static clearMenus(i){if(i.button===dg||i.type==="keyup"&&i.key!==Ac)return;const c=C.find(Tg);for(const m of c){const y=Ut.getInstance(m);if(!y||y._config.autoClose===!1)continue;const S=i.composedPath(),R=S.includes(y._menu);if(S.includes(y._element)||y._config.autoClose==="inside"&&!R||y._config.autoClose==="outside"&&R||y._menu.contains(i.target)&&(i.type==="keyup"&&i.key===Ac||/input|select|option|textarea|form/i.test(i.target.tagName)))continue;const q={relatedTarget:y._element};i.type==="click"&&(q.clickEvent=i),y._completeHide(q)}}static dataApiKeydownHandler(i){const c=/input|textarea/i.test(i.target.tagName),m=i.key===ug,y=[fg,Cc].includes(i.key);if(!y&&!m||c&&!m)return;i.preventDefault();const S=this.matches(Qn)?this:C.prev(this,Qn)[0]||C.next(this,Qn)[0]||C.findOne(Qn,i.delegateTarget.parentNode),R=Ut.getOrCreateInstance(S);if(y){i.stopPropagation(),R.show(),R._selectMenuItem(i);return}R._isShown()&&(i.stopPropagation(),R.hide(),S.focus())}}w.on(document,Oc,Qn,Ut.dataApiKeydownHandler),w.on(document,Oc,ri,Ut.dataApiKeydownHandler),w.on(document,Sc,Ut.clearMenus),w.on(document,_g,Ut.clearMenus),w.on(document,Sc,Qn,function(f){f.preventDefault(),Ut.getOrCreateInstance(this).toggle()}),K(Ut);const Rc="backdrop",kg="fade",Nc="show",xc=`mousedown.bs.${Rc}`,Bg={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Fg={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Pc extends v{constructor(i){super(),this._config=this._getConfig(i),this._isAppended=!1,this._element=null}static get Default(){return Bg}static get DefaultType(){return Fg}static get NAME(){return Rc}show(i){if(!this._config.isVisible){H(i);return}this._append();const c=this._getElement();this._config.isAnimated&&D(c),c.classList.add(Nc),this._emulateAnimation(()=>{H(i)})}hide(i){if(!this._config.isVisible){H(i);return}this._getElement().classList.remove(Nc),this._emulateAnimation(()=>{this.dispose(),H(i)})}dispose(){this._isAppended&&(w.off(this._element,xc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const i=document.createElement("div");i.className=this._config.className,this._config.isAnimated&&i.classList.add(kg),this._element=i}return this._element}_configAfterMerge(i){return i.rootElement=g(i.rootElement),i}_append(){if(this._isAppended)return;const i=this._getElement();this._config.rootElement.append(i),w.on(i,xc,()=>{H(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(i){O(i,this._getElement(),this._config.isAnimated)}}const Hg="focustrap",ii=".bs.focustrap",Vg=`focusin${ii}`,Ug=`keydown.tab${ii}`,jg="Tab",qg="forward",Dc="backward",Kg={autofocus:!0,trapElement:null},Wg={autofocus:"boolean",trapElement:"element"};class $c extends v{constructor(i){super(),this._config=this._getConfig(i),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Kg}static get DefaultType(){return Wg}static get NAME(){return Hg}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),w.off(document,ii),w.on(document,Vg,i=>this._handleFocusin(i)),w.on(document,Ug,i=>this._handleKeydown(i)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,w.off(document,ii))}_handleFocusin(i){const{trapElement:c}=this._config;if(i.target===document||i.target===c||c.contains(i.target))return;const m=C.focusableChildren(c);m.length===0?c.focus():this._lastTabNavDirection===Dc?m[m.length-1].focus():m[0].focus()}_handleKeydown(i){i.key===jg&&(this._lastTabNavDirection=i.shiftKey?Dc:qg)}}const Lc=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Ic=".sticky-top",oi="padding-right",Mc="margin-right";class $o{constructor(){this._element=document.body}getWidth(){const i=document.documentElement.clientWidth;return Math.abs(window.innerWidth-i)}hide(){const i=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,oi,c=>c+i),this._setElementAttributes(Lc,oi,c=>c+i),this._setElementAttributes(Ic,Mc,c=>c-i)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,oi),this._resetElementAttributes(Lc,oi),this._resetElementAttributes(Ic,Mc)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(i,c,m){const y=this.getWidth(),S=R=>{if(R!==this._element&&window.innerWidth>R.clientWidth+y)return;this._saveInitialAttribute(R,c);const q=window.getComputedStyle(R).getPropertyValue(c);R.style.setProperty(c,`${m(Number.parseFloat(q))}px`)};this._applyManipulationCallback(i,S)}_saveInitialAttribute(i,c){const m=i.style.getPropertyValue(c);m&&b.setDataAttribute(i,c,m)}_resetElementAttributes(i,c){const m=y=>{const S=b.getDataAttribute(y,c);if(S===null){y.style.removeProperty(c);return}b.removeDataAttribute(y,c),y.style.setProperty(c,S)};this._applyManipulationCallback(i,m)}_applyManipulationCallback(i,c){if(_(i)){c(i);return}for(const m of C.find(i,this._element))c(m)}}const zg="modal",Mt=".bs.modal",Yg=".data-api",Gg="Escape",Jg=`hide${Mt}`,Qg=`hidePrevented${Mt}`,kc=`hidden${Mt}`,Bc=`show${Mt}`,Xg=`shown${Mt}`,Zg=`resize${Mt}`,e_=`click.dismiss${Mt}`,t_=`mousedown.dismiss${Mt}`,n_=`keydown.dismiss${Mt}`,s_=`click${Mt}${Yg}`,Fc="modal-open",r_="fade",Hc="show",Lo="modal-static",i_=".modal.show",o_=".modal-dialog",a_=".modal-body",l_='[data-bs-toggle="modal"]',c_={backdrop:!0,focus:!0,keyboard:!0},u_={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Xn extends V{constructor(i,c){super(i,c),this._dialog=C.findOne(o_,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new $o,this._addEventListeners()}static get Default(){return c_}static get DefaultType(){return u_}static get NAME(){return zg}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){this._isShown||this._isTransitioning||w.trigger(this._element,Bc,{relatedTarget:i}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Fc),this._adjustDialog(),this._backdrop.show(()=>this._showElement(i)))}hide(){!this._isShown||this._isTransitioning||w.trigger(this._element,Jg).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Hc),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){w.off(window,Mt),w.off(this._dialog,Mt),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Pc({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new $c({trapElement:this._element})}_showElement(i){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const c=C.findOne(a_,this._dialog);c&&(c.scrollTop=0),D(this._element),this._element.classList.add(Hc);const m=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,w.trigger(this._element,Xg,{relatedTarget:i})};this._queueCallback(m,this._dialog,this._isAnimated())}_addEventListeners(){w.on(this._element,n_,i=>{if(i.key===Gg){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),w.on(window,Zg,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),w.on(this._element,t_,i=>{w.one(this._element,e_,c=>{if(!(this._element!==i.target||this._element!==c.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Fc),this._resetAdjustments(),this._scrollBar.reset(),w.trigger(this._element,kc)})}_isAnimated(){return this._element.classList.contains(r_)}_triggerBackdropTransition(){if(w.trigger(this._element,Qg).defaultPrevented)return;const c=this._element.scrollHeight>document.documentElement.clientHeight,m=this._element.style.overflowY;m==="hidden"||this._element.classList.contains(Lo)||(c||(this._element.style.overflowY="hidden"),this._element.classList.add(Lo),this._queueCallback(()=>{this._element.classList.remove(Lo),this._queueCallback(()=>{this._element.style.overflowY=m},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const i=this._element.scrollHeight>document.documentElement.clientHeight,c=this._scrollBar.getWidth(),m=c>0;if(m&&!i){const y=N()?"paddingLeft":"paddingRight";this._element.style[y]=`${c}px`}if(!m&&i){const y=N()?"paddingRight":"paddingLeft";this._element.style[y]=`${c}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(i,c){return this.each(function(){const m=Xn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof m[i]>"u")throw new TypeError(`No method named "${i}"`);m[i](c)}})}}w.on(document,s_,l_,function(f){const i=C.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&f.preventDefault(),w.one(i,Bc,y=>{y.defaultPrevented||w.one(i,kc,()=>{E(this)&&this.focus()})});const c=C.findOne(i_);c&&Xn.getInstance(c).hide(),Xn.getOrCreateInstance(i).toggle(this)}),oe(Xn),K(Xn);const f_="offcanvas",un=".bs.offcanvas",Vc=".data-api",d_=`load${un}${Vc}`,h_="Escape",Uc="show",jc="showing",qc="hiding",p_="offcanvas-backdrop",Kc=".offcanvas.show",m_=`show${un}`,g_=`shown${un}`,__=`hide${un}`,Wc=`hidePrevented${un}`,zc=`hidden${un}`,b_=`resize${un}`,v_=`click${un}${Vc}`,y_=`keydown.dismiss${un}`,E_='[data-bs-toggle="offcanvas"]',w_={backdrop:!0,keyboard:!0,scroll:!1},T_={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class fn extends V{constructor(i,c){super(i,c),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return w_}static get DefaultType(){return T_}static get NAME(){return f_}toggle(i){return this._isShown?this.hide():this.show(i)}show(i){if(this._isShown||w.trigger(this._element,m_,{relatedTarget:i}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new $o().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(jc);const m=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(Uc),this._element.classList.remove(jc),w.trigger(this._element,g_,{relatedTarget:i})};this._queueCallback(m,this._element,!0)}hide(){if(!this._isShown||w.trigger(this._element,__).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(qc),this._backdrop.hide();const c=()=>{this._element.classList.remove(Uc,qc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new $o().reset(),w.trigger(this._element,zc)};this._queueCallback(c,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const i=()=>{if(this._config.backdrop==="static"){w.trigger(this._element,Wc);return}this.hide()},c=!!this._config.backdrop;return new Pc({className:p_,isVisible:c,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:c?i:null})}_initializeFocusTrap(){return new $c({trapElement:this._element})}_addEventListeners(){w.on(this._element,y_,i=>{if(i.key===h_){if(this._config.keyboard){this.hide();return}w.trigger(this._element,Wc)}})}static jQueryInterface(i){return this.each(function(){const c=fn.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}w.on(document,v_,E_,function(f){const i=C.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&f.preventDefault(),T(this))return;w.one(i,zc,()=>{E(this)&&this.focus()});const c=C.findOne(Kc);c&&c!==i&&fn.getInstance(c).hide(),fn.getOrCreateInstance(i).toggle(this)}),w.on(window,d_,()=>{for(const f of C.find(Kc))fn.getOrCreateInstance(f).show()}),w.on(window,b_,()=>{for(const f of C.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(f).position!=="fixed"&&fn.getOrCreateInstance(f).hide()}),oe(fn),K(fn);const Yc={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},A_=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),C_=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,S_=(f,i)=>{const c=f.nodeName.toLowerCase();return i.includes(c)?A_.has(c)?!!C_.test(f.nodeValue):!0:i.filter(m=>m instanceof RegExp).some(m=>m.test(c))};function O_(f,i,c){if(!f.length)return f;if(c&&typeof c=="function")return c(f);const y=new window.DOMParser().parseFromString(f,"text/html"),S=[].concat(...y.body.querySelectorAll("*"));for(const R of S){const q=R.nodeName.toLowerCase();if(!Object.keys(i).includes(q)){R.remove();continue}const ee=[].concat(...R.attributes),le=[].concat(i["*"]||[],i[q]||[]);for(const ne of ee)S_(ne,le)||R.removeAttribute(ne.nodeName)}return y.body.innerHTML}const R_="TemplateFactory",N_={allowList:Yc,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},x_={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},P_={entry:"(string|element|function|null)",selector:"(string|element)"};class D_ extends v{constructor(i){super(),this._config=this._getConfig(i)}static get Default(){return N_}static get DefaultType(){return x_}static get NAME(){return R_}getContent(){return Object.values(this._config.content).map(i=>this._resolvePossibleFunction(i)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(i){return this._checkContent(i),this._config.content={...this._config.content,...i},this}toHtml(){const i=document.createElement("div");i.innerHTML=this._maybeSanitize(this._config.template);for(const[y,S]of Object.entries(this._config.content))this._setContent(i,S,y);const c=i.children[0],m=this._resolvePossibleFunction(this._config.extraClass);return m&&c.classList.add(...m.split(" ")),c}_typeCheckConfig(i){super._typeCheckConfig(i),this._checkContent(i.content)}_checkContent(i){for(const[c,m]of Object.entries(i))super._typeCheckConfig({selector:c,entry:m},P_)}_setContent(i,c,m){const y=C.findOne(m,i);if(y){if(c=this._resolvePossibleFunction(c),!c){y.remove();return}if(_(c)){this._putElementInTemplate(g(c),y);return}if(this._config.html){y.innerHTML=this._maybeSanitize(c);return}y.textContent=c}}_maybeSanitize(i){return this._config.sanitize?O_(i,this._config.allowList,this._config.sanitizeFn):i}_resolvePossibleFunction(i){return H(i,[void 0,this])}_putElementInTemplate(i,c){if(this._config.html){c.innerHTML="",c.append(i);return}c.textContent=i.textContent}}const $_="tooltip",L_=new Set(["sanitize","allowList","sanitizeFn"]),Io="fade",I_="modal",ai="show",M_=".tooltip-inner",Gc=`.${I_}`,Jc="hide.bs.modal",cr="hover",Mo="focus",k_="click",B_="manual",F_="hide",H_="hidden",V_="show",U_="shown",j_="inserted",q_="click",K_="focusin",W_="focusout",z_="mouseenter",Y_="mouseleave",G_={AUTO:"auto",TOP:"top",RIGHT:N()?"left":"right",BOTTOM:"bottom",LEFT:N()?"right":"left"},J_={allowList:Yc,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},Q_={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Zn extends V{constructor(i,c){if(typeof wc>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org/docs/v2/)");super(i,c),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return J_}static get DefaultType(){return Q_}static get NAME(){return $_}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),w.off(this._element.closest(Gc),Jc,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const i=w.trigger(this._element,this.constructor.eventName(V_)),m=(k(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(i.defaultPrevented||!m)return;this._disposePopper();const y=this._getTipElement();this._element.setAttribute("aria-describedby",y.getAttribute("id"));const{container:S}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(S.append(y),w.trigger(this._element,this.constructor.eventName(j_))),this._popper=this._createPopper(y),y.classList.add(ai),"ontouchstart"in document.documentElement)for(const q of[].concat(...document.body.children))w.on(q,"mouseover",P);const R=()=>{w.trigger(this._element,this.constructor.eventName(U_)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(R,this.tip,this._isAnimated())}hide(){if(!this._isShown()||w.trigger(this._element,this.constructor.eventName(F_)).defaultPrevented)return;if(this._getTipElement().classList.remove(ai),"ontouchstart"in document.documentElement)for(const y of[].concat(...document.body.children))w.off(y,"mouseover",P);this._activeTrigger[k_]=!1,this._activeTrigger[Mo]=!1,this._activeTrigger[cr]=!1,this._isHovered=null;const m=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),w.trigger(this._element,this.constructor.eventName(H_)))};this._queueCallback(m,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(i){const c=this._getTemplateFactory(i).toHtml();if(!c)return null;c.classList.remove(Io,ai),c.classList.add(`bs-${this.constructor.NAME}-auto`);const m=d(this.constructor.NAME).toString();return c.setAttribute("id",m),this._isAnimated()&&c.classList.add(Io),c}setContent(i){this._newContent=i,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(i){return this._templateFactory?this._templateFactory.changeContent(i):this._templateFactory=new D_({...this._config,content:i,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[M_]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(i){return this.constructor.getOrCreateInstance(i.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Io)}_isShown(){return this.tip&&this.tip.classList.contains(ai)}_createPopper(i){const c=H(this._config.placement,[this,i,this._element]),m=G_[c.toUpperCase()];return Po(this._element,i,this._getPopperConfig(m))}_getOffset(){const{offset:i}=this._config;return typeof i=="string"?i.split(",").map(c=>Number.parseInt(c,10)):typeof i=="function"?c=>i(c,this._element):i}_resolvePossibleFunction(i){return H(i,[this._element,this._element])}_getPopperConfig(i){const c={placement:i,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:m=>{this._getTipElement().setAttribute("data-popper-placement",m.state.placement)}}]};return{...c,...H(this._config.popperConfig,[void 0,c])}}_setListeners(){const i=this._config.trigger.split(" ");for(const c of i)if(c==="click")w.on(this._element,this.constructor.eventName(q_),this._config.selector,m=>{this._initializeOnDelegatedTarget(m).toggle()});else if(c!==B_){const m=c===cr?this.constructor.eventName(z_):this.constructor.eventName(K_),y=c===cr?this.constructor.eventName(Y_):this.constructor.eventName(W_);w.on(this._element,m,this._config.selector,S=>{const R=this._initializeOnDelegatedTarget(S);R._activeTrigger[S.type==="focusin"?Mo:cr]=!0,R._enter()}),w.on(this._element,y,this._config.selector,S=>{const R=this._initializeOnDelegatedTarget(S);R._activeTrigger[S.type==="focusout"?Mo:cr]=R._element.contains(S.relatedTarget),R._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},w.on(this._element.closest(Gc),Jc,this._hideModalHandler)}_fixTitle(){const i=this._element.getAttribute("title");i&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",i),this._element.setAttribute("data-bs-original-title",i),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(i,c){clearTimeout(this._timeout),this._timeout=setTimeout(i,c)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(i){const c=b.getDataAttributes(this._element);for(const m of Object.keys(c))L_.has(m)&&delete c[m];return i={...c,...typeof i=="object"&&i?i:{}},i=this._mergeConfigObj(i),i=this._configAfterMerge(i),this._typeCheckConfig(i),i}_configAfterMerge(i){return i.container=i.container===!1?document.body:g(i.container),typeof i.delay=="number"&&(i.delay={show:i.delay,hide:i.delay}),typeof i.title=="number"&&(i.title=i.title.toString()),typeof i.content=="number"&&(i.content=i.content.toString()),i}_getDelegateConfig(){const i={};for(const[c,m]of Object.entries(this._config))this.constructor.Default[c]!==m&&(i[c]=m);return i.selector=!1,i.trigger="manual",i}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(i){return this.each(function(){const c=Zn.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}K(Zn);const X_="popover",Z_=".popover-header",eb=".popover-body",tb={...Zn.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},nb={...Zn.DefaultType,content:"(null|string|element|function)"};class li extends Zn{static get Default(){return tb}static get DefaultType(){return nb}static get NAME(){return X_}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Z_]:this._getTitle(),[eb]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(i){return this.each(function(){const c=li.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i]()}})}}K(li);const sb="scrollspy",ko=".bs.scrollspy",rb=".data-api",ib=`activate${ko}`,Qc=`click${ko}`,ob=`load${ko}${rb}`,ab="dropdown-item",ks="active",lb='[data-bs-spy="scroll"]',Bo="[href]",cb=".nav, .list-group",Xc=".nav-link",ub=`${Xc}, .nav-item > ${Xc}, .list-group-item`,fb=".dropdown",db=".dropdown-toggle",hb={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},pb={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ur extends V{constructor(i,c){super(i,c),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return hb}static get DefaultType(){return pb}static get NAME(){return sb}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const i of this._observableSections.values())this._observer.observe(i)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(i){return i.target=g(i.target)||document.body,i.rootMargin=i.offset?`${i.offset}px 0px -30%`:i.rootMargin,typeof i.threshold=="string"&&(i.threshold=i.threshold.split(",").map(c=>Number.parseFloat(c))),i}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(w.off(this._config.target,Qc),w.on(this._config.target,Qc,Bo,i=>{const c=this._observableSections.get(i.target.hash);if(c){i.preventDefault();const m=this._rootElement||window,y=c.offsetTop-this._element.offsetTop;if(m.scrollTo){m.scrollTo({top:y,behavior:"smooth"});return}m.scrollTop=y}}))}_getNewObserver(){const i={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(c=>this._observerCallback(c),i)}_observerCallback(i){const c=R=>this._targetLinks.get(`#${R.target.id}`),m=R=>{this._previousScrollData.visibleEntryTop=R.target.offsetTop,this._process(c(R))},y=(this._rootElement||document.documentElement).scrollTop,S=y>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=y;for(const R of i){if(!R.isIntersecting){this._activeTarget=null,this._clearActiveClass(c(R));continue}const q=R.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(S&&q){if(m(R),!y)return;continue}!S&&!q&&m(R)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const i=C.find(Bo,this._config.target);for(const c of i){if(!c.hash||T(c))continue;const m=C.findOne(decodeURI(c.hash),this._element);E(m)&&(this._targetLinks.set(decodeURI(c.hash),c),this._observableSections.set(c.hash,m))}}_process(i){this._activeTarget!==i&&(this._clearActiveClass(this._config.target),this._activeTarget=i,i.classList.add(ks),this._activateParents(i),w.trigger(this._element,ib,{relatedTarget:i}))}_activateParents(i){if(i.classList.contains(ab)){C.findOne(db,i.closest(fb)).classList.add(ks);return}for(const c of C.parents(i,cb))for(const m of C.prev(c,ub))m.classList.add(ks)}_clearActiveClass(i){i.classList.remove(ks);const c=C.find(`${Bo}.${ks}`,i);for(const m of c)m.classList.remove(ks)}static jQueryInterface(i){return this.each(function(){const c=ur.getOrCreateInstance(this,i);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}w.on(window,ob,()=>{for(const f of C.find(lb))ur.getOrCreateInstance(f)}),K(ur);const mb="tab",es=".bs.tab",gb=`hide${es}`,_b=`hidden${es}`,bb=`show${es}`,vb=`shown${es}`,yb=`click${es}`,Eb=`keydown${es}`,wb=`load${es}`,Tb="ArrowLeft",Zc="ArrowRight",Ab="ArrowUp",eu="ArrowDown",Fo="Home",tu="End",ts="active",nu="fade",Ho="show",Cb="dropdown",su=".dropdown-toggle",Sb=".dropdown-menu",Vo=`:not(${su})`,Ob='.list-group, .nav, [role="tablist"]',Rb=".nav-item, .list-group-item",Nb=`.nav-link${Vo}, .list-group-item${Vo}, [role="tab"]${Vo}`,ru='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Uo=`${Nb}, ${ru}`,xb=`.${ts}[data-bs-toggle="tab"], .${ts}[data-bs-toggle="pill"], .${ts}[data-bs-toggle="list"]`;class ns extends V{constructor(i){super(i),this._parent=this._element.closest(Ob),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),w.on(this._element,Eb,c=>this._keydown(c)))}static get NAME(){return mb}show(){const i=this._element;if(this._elemIsActive(i))return;const c=this._getActiveElem(),m=c?w.trigger(c,gb,{relatedTarget:i}):null;w.trigger(i,bb,{relatedTarget:c}).defaultPrevented||m&&m.defaultPrevented||(this._deactivate(c,i),this._activate(i,c))}_activate(i,c){if(!i)return;i.classList.add(ts),this._activate(C.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.add(Ho);return}i.removeAttribute("tabindex"),i.setAttribute("aria-selected",!0),this._toggleDropDown(i,!0),w.trigger(i,vb,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(nu))}_deactivate(i,c){if(!i)return;i.classList.remove(ts),i.blur(),this._deactivate(C.getElementFromSelector(i));const m=()=>{if(i.getAttribute("role")!=="tab"){i.classList.remove(Ho);return}i.setAttribute("aria-selected",!1),i.setAttribute("tabindex","-1"),this._toggleDropDown(i,!1),w.trigger(i,_b,{relatedTarget:c})};this._queueCallback(m,i,i.classList.contains(nu))}_keydown(i){if(![Tb,Zc,Ab,eu,Fo,tu].includes(i.key))return;i.stopPropagation(),i.preventDefault();const c=this._getChildren().filter(y=>!T(y));let m;if([Fo,tu].includes(i.key))m=c[i.key===Fo?0:c.length-1];else{const y=[Zc,eu].includes(i.key);m=F(c,i.target,y,!0)}m&&(m.focus({preventScroll:!0}),ns.getOrCreateInstance(m).show())}_getChildren(){return C.find(Uo,this._parent)}_getActiveElem(){return this._getChildren().find(i=>this._elemIsActive(i))||null}_setInitialAttributes(i,c){this._setAttributeIfNotExists(i,"role","tablist");for(const m of c)this._setInitialAttributesOnChild(m)}_setInitialAttributesOnChild(i){i=this._getInnerElement(i);const c=this._elemIsActive(i),m=this._getOuterElement(i);i.setAttribute("aria-selected",c),m!==i&&this._setAttributeIfNotExists(m,"role","presentation"),c||i.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(i,"role","tab"),this._setInitialAttributesOnTargetPanel(i)}_setInitialAttributesOnTargetPanel(i){const c=C.getElementFromSelector(i);c&&(this._setAttributeIfNotExists(c,"role","tabpanel"),i.id&&this._setAttributeIfNotExists(c,"aria-labelledby",`${i.id}`))}_toggleDropDown(i,c){const m=this._getOuterElement(i);if(!m.classList.contains(Cb))return;const y=(S,R)=>{const q=C.findOne(S,m);q&&q.classList.toggle(R,c)};y(su,ts),y(Sb,Ho),m.setAttribute("aria-expanded",c)}_setAttributeIfNotExists(i,c,m){i.hasAttribute(c)||i.setAttribute(c,m)}_elemIsActive(i){return i.classList.contains(ts)}_getInnerElement(i){return i.matches(Uo)?i:C.findOne(Uo,i)}_getOuterElement(i){return i.closest(Rb)||i}static jQueryInterface(i){return this.each(function(){const c=ns.getOrCreateInstance(this);if(typeof i=="string"){if(c[i]===void 0||i.startsWith("_")||i==="constructor")throw new TypeError(`No method named "${i}"`);c[i]()}})}}w.on(document,yb,ru,function(f){["A","AREA"].includes(this.tagName)&&f.preventDefault(),!T(this)&&ns.getOrCreateInstance(this).show()}),w.on(window,wb,()=>{for(const f of C.find(xb))ns.getOrCreateInstance(f)}),K(ns);const Pb="toast",Nn=".bs.toast",Db=`mouseover${Nn}`,$b=`mouseout${Nn}`,Lb=`focusin${Nn}`,Ib=`focusout${Nn}`,Mb=`hide${Nn}`,kb=`hidden${Nn}`,Bb=`show${Nn}`,Fb=`shown${Nn}`,Hb="fade",iu="hide",ci="show",ui="showing",Vb={animation:"boolean",autohide:"boolean",delay:"number"},Ub={animation:!0,autohide:!0,delay:5e3};class fr extends V{constructor(i,c){super(i,c),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ub}static get DefaultType(){return Vb}static get NAME(){return Pb}show(){if(w.trigger(this._element,Bb).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Hb);const c=()=>{this._element.classList.remove(ui),w.trigger(this._element,Fb),this._maybeScheduleHide()};this._element.classList.remove(iu),D(this._element),this._element.classList.add(ci,ui),this._queueCallback(c,this._element,this._config.animation)}hide(){if(!this.isShown()||w.trigger(this._element,Mb).defaultPrevented)return;const c=()=>{this._element.classList.add(iu),this._element.classList.remove(ui,ci),w.trigger(this._element,kb)};this._element.classList.add(ui),this._queueCallback(c,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ci),super.dispose()}isShown(){return this._element.classList.contains(ci)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(i,c){switch(i.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=c;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=c;break}}if(c){this._clearTimeout();return}const m=i.relatedTarget;this._element===m||this._element.contains(m)||this._maybeScheduleHide()}_setListeners(){w.on(this._element,Db,i=>this._onInteraction(i,!0)),w.on(this._element,$b,i=>this._onInteraction(i,!1)),w.on(this._element,Lb,i=>this._onInteraction(i,!0)),w.on(this._element,Ib,i=>this._onInteraction(i,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(i){return this.each(function(){const c=fr.getOrCreateInstance(this,i);if(typeof i=="string"){if(typeof c[i]>"u")throw new TypeError(`No method named "${i}"`);c[i](this)}})}}return oe(fr),K(fr),{Alert:Ee,Button:Sn,Carousel:Ss,Collapse:Rs,Dropdown:Ut,Modal:Xn,Offcanvas:fn,Popover:li,ScrollSpy:ur,Tab:ns,Toast:fr,Tooltip:Zn}})}(Pi)),Pi.exports}k1();xE(k0).use($E()).use(Fl).mount("#app");
|