function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),S=e=>x(e).slice(8,-1),C=e=>x(e)===`[object Object]`,w=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,T=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),ee=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},te=/-\w/g,E=ee(e=>e.replace(te,e=>e.slice(1).toUpperCase())),ne=/\B([A-Z])/g,D=ee(e=>e.replace(ne,`-$1`).toLowerCase()),re=ee(e=>e.charAt(0).toUpperCase()+e.slice(1)),ie=ee(e=>e?`on${re(e)}`:``),O=(e,t)=>!Object.is(e,t),ae=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},oe=e=>{let t=parseFloat(e);return isNaN(t)?e:t},se=e=>{let t=g(e)?Number(e):NaN;return isNaN(t)?e:t},ce,le=()=>ce||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function ue(e){if(d(e)){let t={};for(let n=0;n{if(e){let n=e.split(fe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function he(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n!!(e&&e.__v_isRef===!0),Se=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?xe(e)?Se(e.value):JSON.stringify(e,Ce,2):String(e),Ce=(e,t)=>xe(t)?Ce(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[we(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>we(e))}:_(t)?we(t):v(t)&&!d(t)&&!C(t)?String(t):t,we=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,A,Te=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&A&&(A.active?(this.parent=A,this.index=(A.scopes||=[]).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e0&&--this._on===0){if(A===this)A=this.prevScope;else{let e=A;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t0)return;if(Ne){let e=Ne;for(Ne=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;Me;){let t=Me;for(Me=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Le(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Re(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Ve(r),He(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function ze(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Be(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Be(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Je)||(e.globalVersion=Je,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ze(e))))return;e.flags|=2;let t=e.dep,n=j,r=Ue;j=e,Ue=!0;try{Le(e);let n=e.fn(e._value);(t.version===0||O(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{j=n,Ue=r,Re(e),e.flags&=-3}}function Ve(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Ve(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function He(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var Ue=!0,We=[];function Ge(){We.push(Ue),Ue=!1}function Ke(){let e=We.pop();Ue=e===void 0?!0:e}function qe(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=j;j=void 0;try{t()}finally{j=e}}}var Je=0,Ye=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Xe=class{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!j||!Ue||j===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==j)t=this.activeLink=new Ye(j,this),j.deps?(t.prevDep=j.depsTail,j.depsTail.nextDep=t,j.depsTail=t):j.deps=j.depsTail=t,Ze(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=j.depsTail,t.nextDep=void 0,j.depsTail.nextDep=t,j.depsTail=t,j.deps===t&&(j.deps=e)}return t}trigger(e){this.version++,Je++,this.notify(e)}notify(e){Fe();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ie()}}};function Ze(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)Ze(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Qe=new WeakMap,$e=Symbol(``),et=Symbol(``),tt=Symbol(``);function M(e,t,n){if(Ue&&j){let t=Qe.get(e);t||Qe.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Xe),r.map=t,r.key=n),r.track()}}function nt(e,t,n,r,i,a){let o=Qe.get(e);if(!o){Je++;return}let s=e=>{e&&e.trigger()};if(Fe(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&w(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===tt||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(tt)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get($e)),f(e)&&s(o.get(et)));break;case`delete`:i||(s(o.get($e)),f(e)&&s(o.get(et)));break;case`set`:f(e)&&s(o.get($e));break}}Ie()}function rt(e,t){let n=Qe.get(e);return n&&n.get(t)}function it(e){let t=P(e);return t===e?t:(M(t,`iterate`,tt),N(e)?t:t.map(Gt))}function at(e){return M(e=P(e),`iterate`,tt),e}function ot(e,t){return Ht(e)?Kt(Vt(e)?Gt(t):t):Gt(t)}var st={__proto__:null,[Symbol.iterator](){return ct(this,Symbol.iterator,e=>ot(this,e))},concat(...e){return it(this).concat(...e.map(e=>d(e)?it(e):e))},entries(){return ct(this,`entries`,e=>(e[1]=ot(this,e[1]),e))},every(e,t){return ut(this,`every`,e,t,void 0,arguments)},filter(e,t){return ut(this,`filter`,e,t,e=>e.map(e=>ot(this,e)),arguments)},find(e,t){return ut(this,`find`,e,t,e=>ot(this,e),arguments)},findIndex(e,t){return ut(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return ut(this,`findLast`,e,t,e=>ot(this,e),arguments)},findLastIndex(e,t){return ut(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return ut(this,`forEach`,e,t,void 0,arguments)},includes(...e){return ft(this,`includes`,e)},indexOf(...e){return ft(this,`indexOf`,e)},join(e){return it(this).join(e)},lastIndexOf(...e){return ft(this,`lastIndexOf`,e)},map(e,t){return ut(this,`map`,e,t,void 0,arguments)},pop(){return pt(this,`pop`)},push(...e){return pt(this,`push`,e)},reduce(e,...t){return dt(this,`reduce`,e,t)},reduceRight(e,...t){return dt(this,`reduceRight`,e,t)},shift(){return pt(this,`shift`)},some(e,t){return ut(this,`some`,e,t,void 0,arguments)},splice(...e){return pt(this,`splice`,e)},toReversed(){return it(this).toReversed()},toSorted(e){return it(this).toSorted(e)},toSpliced(...e){return it(this).toSpliced(...e)},unshift(...e){return pt(this,`unshift`,e)},values(){return ct(this,`values`,e=>ot(this,e))}};function ct(e,t,n){let r=at(e),i=r[t]();return r!==e&&!N(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var lt=Array.prototype;function ut(e,t,n,r,i,a){let o=at(e),s=o!==e&&!N(e),c=o[t];if(c!==lt[t]){let t=c.apply(e,a);return s?Gt(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,ot(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function dt(e,t,n,r){let i=at(e),a=i!==e&&!N(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=ot(e,t)),n.call(this,t,ot(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?ot(e,c):c}function ft(e,t,n){let r=P(e);M(r,`iterate`,tt);let i=r[t](...n);return(i===-1||i===!1)&&Ut(n[0])?(n[0]=P(n[0]),r[t](...n)):i}function pt(e,t,n=[]){Ge(),Fe();let r=P(e)[t].apply(e,n);return Ie(),Ke(),r}var mt=e(`__proto__,__v_isRef,__isVue`),ht=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function gt(e){_(e)||(e=String(e));let t=P(this);return M(t,`has`,e),t.hasOwnProperty(e)}var _t=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?Ft:Pt:i?Nt:Mt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=st[t]))return e;if(t===`hasOwnProperty`)return gt}let o=Reflect.get(e,t,F(e)?e:n);if((_(t)?ht.has(t):mt(t))||(r||M(e,`get`,t),i))return o;if(F(o)){let e=a&&w(t)?o:o.value;return r&&v(e)?zt(e):e}return v(o)?r?zt(o):Lt(o):o}},vt=class extends _t{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&w(t);if(!this._isShallow){let e=Ht(i);if(!N(n)&&!Ht(n)&&(i=P(i),n=P(n)),!a&&F(i)&&!F(n))return e||(i.value=n),!0}let o=a?Number(t)e,wt=e=>Reflect.getPrototypeOf(e);function Tt(e,t,n){return function(...r){let i=this.__v_raw,a=P(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?Ct:t?Kt:Gt;return!t&&M(a,`iterate`,l?et:$e),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function Et(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function Dt(e,t){let n={get(n){let r=this.__v_raw,i=P(r),a=P(n);e||(O(n,a)&&M(i,`get`,n),M(i,`get`,a));let{has:o}=wt(i),s=t?Ct:e?Kt:Gt;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&M(P(t),`iterate`,$e),t.size},has(t){let n=this.__v_raw,r=P(n),i=P(t);return e||(O(t,i)&&M(r,`has`,t),M(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=P(a),s=t?Ct:e?Kt:Gt;return!e&&M(o,`iterate`,$e),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:Et(`add`),set:Et(`set`),delete:Et(`delete`),clear:Et(`clear`)}:{add(e){let n=P(this),r=wt(n),i=P(e),a=!t&&!N(e)&&!Ht(e)?i:e;return r.has.call(n,a)||O(e,a)&&r.has.call(n,e)||O(i,a)&&r.has.call(n,i)||(n.add(a),nt(n,`add`,a,a)),this},set(e,n){!t&&!N(n)&&!Ht(n)&&(n=P(n));let r=P(this),{has:i,get:a}=wt(r),o=i.call(r,e);o||=(e=P(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?O(n,s)&&nt(r,`set`,e,n,s):nt(r,`add`,e,n),this},delete(e){let t=P(this),{has:n,get:r}=wt(t),i=n.call(t,e);i||=(e=P(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&nt(t,`delete`,e,void 0,a),o},clear(){let e=P(this),t=e.size!==0,n=e.clear();return t&&nt(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=Tt(r,e,t)}),n}function Ot(e,t){let n=Dt(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var kt={get:Ot(!1,!1)},At={get:Ot(!1,!0)},jt={get:Ot(!0,!1)},Mt=new WeakMap,Nt=new WeakMap,Pt=new WeakMap,Ft=new WeakMap;function It(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Lt(e){return Ht(e)?e:Bt(e,!1,bt,kt,Mt)}function Rt(e){return Bt(e,!1,St,At,Nt)}function zt(e){return Bt(e,!0,xt,jt,Pt)}function Bt(e,t,n,r,i){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;let a=i.get(e);if(a)return a;let o=It(S(e));if(o===0)return e;let s=new Proxy(e,o===2?r:n);return i.set(e,s),s}function Vt(e){return Ht(e)?Vt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ht(e){return!!(e&&e.__v_isReadonly)}function N(e){return!!(e&&e.__v_isShallow)}function Ut(e){return e?!!e.__v_raw:!1}function P(e){let t=e&&e.__v_raw;return t?P(t):e}function Wt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&k(e,`__v_skip`,!0),e}var Gt=e=>v(e)?Lt(e):e,Kt=e=>v(e)?zt(e):e;function F(e){return e?e.__v_isRef===!0:!1}function qt(e){return Yt(e,!1)}function Jt(e){return Yt(e,!0)}function Yt(e,t){return F(e)?e:new Xt(e,t)}var Xt=class{constructor(e,t){this.dep=new Xe,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:P(e),this._value=t?e:Gt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||N(e)||Ht(e);e=n?e:P(e),O(e,t)&&(this._rawValue=e,this._value=n?e:Gt(e),this.dep.trigger())}};function Zt(e){return F(e)?e.value:e}var Qt={get:(e,t,n)=>t===`__v_raw`?e:Zt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return F(i)&&!F(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function $t(e){return Vt(e)?e:new Proxy(e,Qt)}var en=class{constructor(e){this.__v_isRef=!0,this._value=void 0;let t=this.dep=new Xe,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t));this._get=n,this._set=r}get value(){return this._value=this._get()}set value(e){this._set(e)}};function tn(e){return new en(e)}function nn(e){let t=d(e)?Array(e.length):{};for(let n in e)t[n]=sn(e,n);return t}var rn=class{constructor(e,t,n){this._object=e,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0,this._key=_(t)?t:String(t),this._raw=P(e);let r=!0,i=e;if(!d(e)||_(this._key)||!w(this._key))do r=!Ut(i)||N(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let e=this._object[this._key];return this._shallow&&(e=Zt(e)),this._value=e===void 0?this._defaultValue:e}set value(e){if(this._shallow&&F(this._raw[this._key])){let t=this._object[this._key];if(F(t)){t.value=e;return}}this._object[this._key]=e}get dep(){return rt(this._raw,this._key)}},an=class{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}};function on(e,t,n){return F(e)?e:h(e)?new an(e):v(e)&&arguments.length>1?sn(e,t,n):qt(e)}function sn(e,t,n){return new rn(e,t,n)}var cn=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Xe(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Je-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&j!==this)return Pe(this,!0),!0}get value(){let e=this.dep.track();return Be(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function ln(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new cn(r,i,n)}var un={},dn=new WeakMap,fn=void 0;function pn(e,t=!1,n=fn){if(n){let t=dn.get(n);t||dn.set(n,t=[]),t.push(e)}}function mn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:N(e)||o===!1||o===0?hn(e,1):hn(e),m,g,_,v,y=!1,b=!1;if(F(e)?(g=()=>e.value,y=N(e)):Vt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Vt(e)||N(e)),g=()=>e.map(e=>{if(F(e))return e.value;if(Vt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){Ge();try{_()}finally{Ke()}}let t=fn;fn=m;try{return f?f(e,3,[v]):e(v)}finally{fn=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>hn(e(),t)}let x=De(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{let n=e(...t);return S(),n}}let C=b?Array(e.length).fill(un):un,w=e=>{if(!(!(m.flags&1)||!m.dirty&&!e))if(n){let t=m.run();if(e||o||y||(b?t.some((e,t)=>O(e,C[t])):O(t,C))){_&&_();let e=fn;fn=m;try{let e=[t,C===un?void 0:b&&C[0]===un?[]:C,v];C=t,f?f(n,3,e):n(...e)}finally{fn=e}}}else m.run()};return u&&u(w),m=new Ae(g),m.scheduler=l?()=>l(w,!1):w,v=e=>pn(e,!1,m),_=m.onStop=()=>{let e=dn.get(m);if(e){if(f)f(e,4);else for(let t of e)t();dn.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function hn(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,F(e))hn(e.value,t,n);else if(d(e))for(let r=0;r{hn(e,t,n)});else if(C(e)){for(let r in e)hn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&hn(e[r],t,n)}return e}function gn(e,t,n,r){try{return r?e(...r):e()}catch(e){vn(e,t,n)}}function _n(e,t,n,r){if(h(e)){let i=gn(e,t,n,r);return i&&y(i)&&i.catch(e=>{vn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a>>1,i=I[r],a=Nn(i);a=Nn(n)?I.push(e):I.splice(Dn(t),0,e),e.flags|=1,kn()}}function kn(){Tn||=wn.then(Pn)}function An(e){d(e)?xn.push(...e):Sn&&e.id===-1?Sn.splice(Cn+1,0,e):e.flags&1||(xn.push(e),e.flags|=1),kn()}function jn(e,t,n=bn+1){for(;nNn(e)-Nn(t));if(xn.length=0,Sn){Sn.push(...e);return}for(Sn=e,Cn=0;Cne.id==null?e.flags&2?-1:1/0:e.id;function Pn(e){try{for(bn=0;bn{r._d&&Ta(-1);let i=In(t),a;try{a=e(...n)}finally{In(i),r._d&&Ta(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Rn(e,n){if(L===null)return e;let r=co(L),i=e.dirs||=[];for(let e=0;e1)return n&&h(t)?t.call(r&&r.proxy):t}}function Vn(){return!!(qa()||ki)}var Hn=Symbol.for(`v-scx`),Un=()=>R(Hn);function Wn(e,t){return Jn(e,null,t)}function Gn(e,t){return Jn(e,null,{flush:`post`})}function Kn(e,t){return Jn(e,null,{flush:`sync`})}function qn(e,t,n){return Jn(e,t,n)}function Jn(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if($a){if(c===`sync`){let e=Un();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=G;u.call=(e,t,n)=>_n(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{B(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():On(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=mn(e,n,u);return $a&&(f?f.push(h):d&&h()),h}function Yn(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?Xn(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=Xa(this),s=Jn(i,a.bind(r),n);return o(),s}function Xn(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;ee.__isTeleport,er=e=>e&&(e.disabled||e.disabled===``),tr=e=>e&&(e.defer||e.defer===``),nr=e=>typeof SVGElement<`u`&&e instanceof SVGElement,rr=e=>typeof MathMLElement==`function`&&e instanceof MathMLElement,ir=(e,t)=>{let n=e&&e.to;return g(n)?t?t(n):null:n},ar={name:`Teleport`,__isTeleport:!0,process(e,t,n,r,i,a,o,s,c,l){let{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:m,createText:h,createComment:g,parentNode:_}}=l,v=er(t.props),{dynamicChildren:y}=t,b=(e,t,n)=>{e.shapeFlag&16&&u(e.children,t,n,i,a,o,s,c)},x=(e=t)=>{let n=er(e.props),r=e.target=ir(e.props,m),a=ur(r,e,h,p);r&&(o!==`svg`&&nr(r)?o=`svg`:o!==`mathml`&&rr(r)&&(o=`mathml`),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(r),n||(b(e,r,a),lr(e,!1)))},S=e=>{let t=()=>{if(Zn.get(e)===t){if(Zn.delete(e),er(e.props)){let t=_(e.el)||n;b(e,t,e.anchor),lr(e,!0)}x(e)}};Zn.set(e,t),B(t,a)};if(e==null){let e=t.el=h(``),i=t.anchor=h(``);if(p(e,n,r),p(i,n,r),tr(t.props)||a&&a.pendingBranch){S(t);return}v&&(b(t,n,i),lr(t,!0)),x()}else{t.el=e.el;let r=t.anchor=e.anchor,u=Zn.get(e);if(u){u.flags|=8,Zn.delete(e),S(t);return}t.targetStart=e.targetStart;let p=t.target=e.target,h=t.targetAnchor=e.targetAnchor,g=er(e.props),_=g?n:p,b=g?r:h;if(o===`svg`||nr(p)?o=`svg`:(o===`mathml`||rr(p))&&(o=`mathml`),y?(f(e.dynamicChildren,y,_,i,a,o,s),fa(e,t,!0)):c||d(e,t,_,b,i,a,o,s,!1),v)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):or(t,n,r,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){let e=ir(t.props,m);e&&(t.target=e,or(t,e,null,l,0))}else g&&or(t,p,h,l,1);lr(t,v)}},remove(e,t,n,{um:r,o:{remove:i}},a){let{shapeFlag:o,children:s,anchor:c,targetStart:l,targetAnchor:u,target:d,props:f}=e,p=er(f),m=a||!p,h=Zn.get(e);if(h&&(h.flags|=8,Zn.delete(e)),d&&(i(l),i(u)),a&&i(c),!h&&(p||d)&&o&16)for(let e=0;e{e.isMounted=!0}),Wr(()=>{e.isUnmounting=!0}),e}var mr=[Function,Array],hr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mr,onEnter:mr,onAfterEnter:mr,onEnterCancelled:mr,onBeforeLeave:mr,onLeave:mr,onAfterLeave:mr,onLeaveCancelled:mr,onBeforeAppear:mr,onAppear:mr,onAfterAppear:mr,onAppearCancelled:mr},gr=e=>{let t=e.subTree;return t.component?gr(t.component):t},_r={name:`BaseTransition`,props:hr,setup(e,{slots:t}){let n=qa(),r=pr();return()=>{let i=t.default&&Tr(t.default(),!0),a=i&&i.length?vr(i):n.subTree?Ra():void 0;if(!a)return;let o=P(e),{mode:s}=o;if(r.isLeaving)return Sr(a);let c=Cr(a);if(!c)return Sr(a);let l=xr(c,o,r,n,e=>l=e);c.type!==H&&wr(c,l);let u=n.subTree&&Cr(n.subTree);if(u&&u.type!==H&&!Aa(u,c)&&gr(n).type!==H){let e=xr(u,o,r,n);if(wr(u,e),s===`out-in`&&c.type!==H)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete e.afterLeave,u=void 0},Sr(a);s===`in-out`&&c.type!==H?e.delayLeave=(e,t,n)=>{let i=br(r,u);i[String(u.key)]=u,e[dr]=()=>{t(),e[dr]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{n(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&=void 0;return a}}};function vr(e){let t=e[0];if(e.length>1){for(let n of e)if(n.type!==H){t=n;break}}return t}var yr=_r;function br(e,t){let{leavingVNodes:n}=e,r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function xr(e,t,n,r,i){let{appear:a,mode:o,persisted:s=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:m,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:_,onAppear:v,onAfterAppear:y,onAppearCancelled:b}=t,x=String(e.key),S=br(n,e),C=(e,t)=>{e&&_n(e,r,9,t)},w=(e,t)=>{let n=t[1];C(e,t),d(e)?e.every(e=>e.length<=1)&&n():e.length<=1&&n()},T={mode:o,persisted:s,beforeEnter(t){let r=c;if(!n.isMounted)if(a)r=_||c;else return;t[dr]&&t[dr](!0);let i=S[x];i&&Aa(e,i)&&i.el[dr]&&i.el[dr](),C(r,[t])},enter(t){if(S[x]===e)return;let r=l,i=u,o=f;if(!n.isMounted)if(a)r=v||l,i=y||u,o=b||f;else return;let s=!1;t[fr]=e=>{s||(s=!0,C(e?o:i,[t]),T.delayedLeave&&T.delayedLeave(),t[fr]=void 0)};let c=t[fr].bind(null,!1);r?w(r,[t,c]):c()},leave(t,r){let i=String(e.key);if(t[fr]&&t[fr](!0),n.isUnmounting)return r();C(p,[t]);let a=!1;t[dr]=n=>{a||(a=!0,r(),C(n?g:h,[t]),t[dr]=void 0,S[i]===e&&delete S[i])};let o=t[dr].bind(null,!1);S[i]=e,m?w(m,[t,o]):o()},clone(e){let a=xr(e,t,n,r,i);return i&&i(a),a}};return T}function Sr(e){if(Nr(e))return e=Ia(e),e.children=null,e}function Cr(e){if(!Nr(e))return $n(e.type)&&e.children?vr(e.children):e;if(e.component)return e.component.subTree;let{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&h(n.default))return n.default()}}function wr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,wr(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 Tr(e,t=!1,n){let r=[],i=0;for(let a=0;a1)for(let e=0;eAr(e,n&&(d(n)?n[t]:n),r,a,o));return}if(Mr(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Ar(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?co(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=P(v),b=v===t?i:e=>Or(_,e)?!1:u(y,e),x=(e,t)=>!(t&&Or(_,t));if(m!=null&&m!==p){if(jr(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(F(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p)){Ge();try{gn(p,f,12,[l,_])}finally{Ke()}}else{let t=g(p),n=F(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),kr.delete(e)};t.id=-1,kr.set(e,t),B(t,r)}else jr(e),i()}}}function jr(e){let t=kr.get(e);t&&(t.flags|=8,kr.delete(e))}le().requestIdleCallback,le().cancelIdleCallback;var Mr=e=>!!e.type.__asyncLoader,Nr=e=>e.type.__isKeepAlive;function Pr(e,t){Ir(e,`a`,t)}function Fr(e,t){Ir(e,`da`,t)}function Ir(e,t,n=G){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if(Rr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Nr(e.parent.vnode)&&Lr(r,t,n,e),e=e.parent}}function Lr(e,t,n,r){let i=Rr(t,e,r,!0);Gr(()=>{c(r[t],i)},n)}function Rr(e,t,n=G,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ge();let i=Xa(n),a=_n(t,n,e,r);return i(),Ke(),a};return r?i.unshift(a):i.push(a),a}}var zr=e=>(t,n=G)=>{(!$a||e===`sp`)&&Rr(e,(...e)=>t(...e),n)},Br=zr(`bm`),Vr=zr(`m`),Hr=zr(`bu`),Ur=zr(`u`),Wr=zr(`bum`),Gr=zr(`um`),Kr=zr(`sp`),qr=zr(`rtg`),Jr=zr(`rtc`);function Yr(e,t=G){Rr(`ec`,e,t)}var Xr=`components`;function Zr(e,t){return ei(Xr,e,!0,t)||e}var Qr=Symbol.for(`v-ndc`);function $r(e){return g(e)?ei(Xr,e,!1)||e:e||Qr}function ei(e,t,n=!0,r=!1){let i=L||G;if(i){let n=i.type;if(e===Xr){let e=lo(n,!1);if(e&&(e===t||e===E(t)||e===re(E(t))))return n}let a=ti(i[e]||n[e],t)||ti(i.appContext[e],t);return!a&&r?n:a}}function ti(e,t){return e&&(e[t]||e[E(t)]||e[re(E(t))])}function ni(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&Vt(e),r=!1,s=!1;n&&(r=!N(e),s=Ht(e),e=at(e)),i=Array(e.length);for(let n=0,o=e.length;nt(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r{let t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}function ii(e,t,n={},r,i){if(L.ce||L.parent&&Mr(L.parent)&&L.parent.ce){let e=Object.keys(n).length>0;return t!=="default"&&(n.name=t),Sa(),Oa(V,null,[W(`slot`,n,r&&r())],e?-2:64)}let a=e[t];a&&a._c&&(a._d=!1),Sa();let o=a&&ai(a(n)),s=n.key||o&&o.key,c=Oa(V,{key:(s&&!_(s)?s:`_${t}`)+(!o&&r?`_fb`:``)},o||(r?r():[]),o&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+`-s`]),a&&a._c&&(a._d=!0),c}function ai(e){return e.some(e=>ka(e)?!(e.type===H||e.type===V&&!ai(e.children)):!0)?e:null}var oi=e=>e?Qa(e)?co(e):oi(e.parent):null,si=s(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=>oi(e.parent),$root:e=>oi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>_i(e),$forceUpdate:e=>e.f||=()=>{On(e.update)},$nextTick:e=>e.n||=En.bind(e.proxy),$watch:e=>Yn.bind(e)}),ci=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),li={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(ci(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else fi&&(s[n]=0)}let d=si[n],f,p;if(d)return n===`$attrs`&&M(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return ci(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||ci(n,c)||u(o,c)||u(i,c)||u(si,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function ui(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}function di(e,t){return!e||!t?e||t:d(e)&&d(t)?e.concat(t):s({},ui(e),ui(t))}var fi=!0;function pi(e){let t=_i(e),n=e.proxy,i=e.ctx;fi=!1,t.beforeCreate&&hi(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:T,renderTracked:ee,renderTriggered:te,errorCaptured:E,serverPrefetch:ne,expose:D,inheritAttrs:re,components:ie,directives:O,filters:ae}=t;if(u&&mi(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=Lt(t))}if(fi=!0,o)for(let e in o){let t=o[e],a=K({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)gi(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{Bn(t,e[t])})}f&&hi(f,e,`c`);function k(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(k(Br,p),k(Vr,m),k(Hr,g),k(Ur,_),k(Pr,y),k(Fr,b),k(Yr,E),k(Jr,ee),k(qr,te),k(Wr,S),k(Gr,w),k(Kr,ne),d(D))if(D.length){let t=e.exposed||={};D.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};T&&e.render===r&&(e.render=T),re!=null&&(e.inheritAttrs=re),ie&&(e.components=ie),O&&(e.directives=O),ne&&Dr(e)}function mi(e,t,n=r){d(e)&&(e=Si(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?R(r.from||n,r.default,!0):R(r.from||n):R(r),F(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function hi(e,t,n){_n(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function gi(e,t,n,r){let i=r.includes(`.`)?Xn(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&qn(i,n)}else if(h(e))qn(i,e.bind(n));else if(v(e))if(d(e))e.forEach(e=>gi(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&qn(i,r,e)}}function _i(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>vi(c,e,o,!0)),vi(c,t,o)),v(t)&&a.set(t,c),c}function vi(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&vi(e,a,n,!0),i&&i.forEach(t=>vi(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=yi[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var yi={data:bi,props:wi,emits:wi,methods:Ci,computed:Ci,beforeCreate:z,created:z,beforeMount:z,mounted:z,beforeUpdate:z,updated:z,beforeDestroy:z,beforeUnmount:z,destroyed:z,unmounted:z,activated:z,deactivated:z,errorCaptured:z,serverPrefetch:z,components:Ci,directives:Ci,watch:Ti,provide:bi,inject:xi};function bi(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function xi(e,t){return Ci(Si(e),Si(t))}function Si(e){if(d(e)){let t={};for(let n=0;n{let l,u=t,d;return Kn(()=>{let t=e[a];O(l,t)&&(l=t,c())}),{get(){return s(),r.get?r.get(l):l},set(e){let s=r.set?r.set(e):e;if(!O(s,l)&&!(u!==t&&O(e,u)))return;let f=i.vnode.props,p=!!(f&&(n in f||a in f||o in f)&&(`onUpdate:${n}`in f||`onUpdate:${a}`in f||`onUpdate:${o}`in f));p||(l=e,c()),i.emit(`update:${n}`,s),O(e,u)&&(O(e,s)&&!O(s,d)||p&&u!==t&&!O(s,l))&&c(),u=e,d=s}}});return c[Symbol.iterator]=()=>{let e=0;return{next(){return e<2?{value:e++?s||t:c,done:!1}:{done:!0}}}},c}var ji=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${E(t)}Modifiers`]||e[`${D(t)}Modifiers`];function Mi(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&ji(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=r.map(oe)));let c,l=i[c=ie(n)]||i[c=ie(E(n))];!l&&o&&(l=i[c=ie(D(n))]),l&&_n(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,_n(u,e,6,a)}}var Ni=new WeakMap;function Pi(e,t,n=!1){let r=n?Ni:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=Pi(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function Fi(e,t){return!e||!a(t)?!1:(t=t.slice(2),t=t===`Once`?t:t.replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,D(t))||u(e,t))}function Ii(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=In(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=za(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=za(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Li(c)}}catch(t){xa.length=0,vn(t,e,1),v=W(H)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=Ri(y,a)),b=Ia(b,y,!1,!0))}return n.dirs&&(b=Ia(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&wr(b,n.transition),v=b,In(_),v}var Li=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},Ri=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function zi(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Bi(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;tObject.create(Ui),Gi=e=>Object.getPrototypeOf(e)===Ui;function Ki(e,t,n,r=!1){let i={},a=Wi();e.propsDefaults=Object.create(null),Ji(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Rt(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function qi(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=P(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r{p=!0;let[t,n]=Zi(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;ee===`_`||e===`_ctx`||e===`$stable`,ea=e=>d(e)?e.map(za):[za(e)],ta=(e,t,n)=>{if(t._n)return t;let r=Ln((...e)=>ea(t(...e)),n);return r._c=!1,r},na=(e,t,n)=>{let r=e._ctx;for(let n in e){if($i(n))continue;let i=e[n];if(h(i))t[n]=ta(n,i,r);else if(i!=null){let e=ea(i);t[n]=()=>e}}},ra=(e,t)=>{let n=ea(t);e.slots.default=()=>n},ia=(e,t,n)=>{for(let r in t)(n||!$i(r))&&(e[r]=t[r])},aa=(e,t,n)=>{let r=e.slots=Wi();if(e.vnode.shapeFlag&32){let e=t._;e?(ia(r,t,n),n&&k(r,`_`,e,!0)):na(t,r)}else t&&ra(e,t)},oa=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:ia(a,n,r):(o=!n.$stable,na(n,a)),s=n}else n&&(ra(e,n),s={default:1});if(o)for(let e in a)!$i(e)&&s[e]==null&&delete a[e]},B=va;function sa(e){return ca(e)}function ca(e,i){let a=le();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Aa(e,t)&&(r=ye(e),me(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case ya:y(e,t,n,r);break;case H:b(e,t,n,r);break;case ba:e??x(t,n,r,o);break;case V:ie(e,t,n,r,i,a,o,s,c);break;default:d&1?w(e,t,n,r,i,a,o,s,c):d&6?O(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,Se)}u!=null&&i?Ar(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&Ar(e.ref,null,a,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)ee(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),ne(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},ee=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&E(e.children,d,null,r,i,la(e,a),s,u),_&&zn(e,null,r,`created`),te(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!T(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Ua(f,r,e)}_&&zn(e,null,r,`beforeMount`);let v=da(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&B(()=>{try{f&&Ua(f,r,e),v&&g.enter(d),_&&zn(e,null,r,`mounted`)}finally{}},i)},te=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t{for(let l=c;l{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&ua(r,!1),(g=h.onVnodeBeforeUpdate)&&Ua(g,r,n,e),f&&zn(n,e,r,`beforeUpdate`),r&&ua(r,!0),d&&(!e.dynamicChildren||e.dynamicChildren.length!==d.length)&&(u=0,s=!1,d=null),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?D(e.dynamicChildren,d,l,r,i,la(n,a),o):s||ue(e,n,l,null,r,i,la(n,a),o,!1),u>0){if(u&16)re(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t{g&&Ua(g,r,n,e),f&&zn(n,e,r,`updated`)},i)},D=(e,t,n,r,i,a,o)=>{for(let s=0;s{if(n!==r){if(n!==t)for(let t in n)!T(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(T(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},ie=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),E(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(D(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&fa(e,t,!0)):ue(e,t,n,f,i,a,s,c,l)},O=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):k(t,n,r,i,a,o,c):oe(e,t,c)},k=(e,t,n,r,i,a,o)=>{let s=e.component=Ka(e,r,i);if(Nr(e)&&(s.ctx.renderer=Se),eo(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,se,o),!e.el){let r=s.subTree=W(H);b(null,r,t,n),e.placeholder=r.el}}else se(s,e,t,n,i,a,o)},oe=(e,t,n)=>{let r=t.component=e.component;if(zi(e,t,n))if(r.asyncDep&&!r.asyncResolved){ce(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},se=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=ma(e);if(n){t&&(t.el=c.el,ce(e,t,o)),n.asyncDep.then(()=>{B(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;ua(e,!1),t?(t.el=c.el,ce(e,t,o)):t=c,n&&ae(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Ua(d,s,t,c),ua(e,!0);let f=Ii(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),ye(p),e,i,a),t.el=f.el,u===null&&Hi(e,f.el),r&&B(r,i),(d=t.props&&t.props.onVnodeUpdated)&&B(()=>Ua(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=Mr(t);if(ua(e,!1),l&&ae(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Ua(o,d,t),ua(e,!0),s&&we){let t=()=>{e.subTree=Ii(e),we(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Ii(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&B(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;B(()=>Ua(o,d,e),i)}(t.shapeFlag&256||d&&Mr(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&B(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new Ae(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>On(u),ua(e,!0),l()},ce=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,qi(e,t.props,r,n),oa(e,t.children,n),Ge(),jn(e),Ke()},ue=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){fe(l,d,n,r,i,a,o,s,c);return}else if(f&256){de(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ve(l,i,a),d!==l&&p(n,d)):u&16?m&16?fe(l,d,n,r,i,a,o,s,c):ve(l,i,a,!0):(u&8&&p(n,``),m&16&&E(d,n,r,i,a,o,s,c))},de=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;pd?ve(e,a,o,!0,!1,f):E(t,r,i,a,o,s,c,l,f)},fe=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?Ba(t[u]):za(t[u]);if(Aa(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?Ba(t[p]):za(t[p]);if(Aa(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=ep)for(;u<=f;)me(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?Ba(t[u]):za(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u=b){me(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Aa(n,t[_])){i=_;break}i===void 0?me(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?pa(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){pe(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,Se);return}if(c===V){o(a,t,n);for(let e=0;el.enter(a),i));else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{let e=a._isLeaving||!!a[dr];a._isLeaving&&a[dr](!0),l.persisted&&!e?u():r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}else o(a,t,n)},me=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&(Ge(),Ar(s,null,n,e,!0),Ke()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!Mr(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Ua(_,t,e),u&6)_e(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&zn(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,Se,r):l&&!l.hasOnce&&(a!==V||d>0&&d&64)?ve(l,t,n,!1,!0):(a===V&&d&384||!i&&u&16)&&ve(c,t,n),r&&he(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&B(()=>{_&&Ua(_,t,e),h&&zn(e,null,t,`unmounted`),v&&(e.el=null)},n)},he=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===V){ge(n,r);return}if(t===ba){C(e);return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},ge=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},_e=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;ha(c),ha(l),r&&ae(r),i.stop(),a&&(a.flags|=8,me(o,e,t,n)),s&&B(s,t),B(()=>{e.isUnmounted=!0},t)},ve=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o{if(e.shapeFlag&6)return ye(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Qn];return n?h(n):t},be=!1,xe=(e,t,n)=>{let r;e==null?t._vnode&&(me(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,be||=(be=!0,jn(r),Mn(),!1)},Se={p:v,um:me,m:pe,r:he,mt:k,mc:E,pc:ue,pbc:D,n:ye,o:e},Ce,we;return i&&([Ce,we]=i(Se)),{render:xe,hydrate:Ce,createApp:Oi(xe,Ce)}}function la({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 ua({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function da(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function fa(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e>1,e[n[s]]0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-->0;)n[a]=o,o=t[o];return n}function ma(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ma(t)}function ha(e){if(e)for(let t=0;te.__isSuspense;function va(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):An(e)}var V=Symbol.for(`v-fgt`),ya=Symbol.for(`v-txt`),H=Symbol.for(`v-cmt`),ba=Symbol.for(`v-stc`),xa=[],U=null;function Sa(e=!1){xa.push(U=e?null:[])}function Ca(){xa.pop(),U=xa[xa.length-1]||null}var wa=1;function Ta(e,t=!1){wa+=e,e<0&&U&&t&&(U.hasOnce=!0)}function Ea(e){return e.dynamicChildren=wa>0?U||n:null,Ca(),wa>0&&U&&U.push(e),e}function Da(e,t,n,r,i,a){return Ea(Na(e,t,n,r,i,a,!0))}function Oa(e,t,n,r,i){return Ea(W(e,t,n,r,i,!0))}function ka(e){return e?e.__v_isVNode===!0:!1}function Aa(e,t){return e.type===t.type&&e.key===t.key}var ja=({key:e})=>e??null,Ma=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||F(e)||h(e)?{i:L,r:e,k:t,f:!!n}:e);function Na(e,t=null,n=null,r=0,i=null,a=e===V?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ja(t),ref:t&&Ma(t),scopeId:Fn,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:L};return s?(Va(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),wa>0&&!o&&U&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&U.push(c),c}var W=Pa;function Pa(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===Qr)&&(e=H),ka(e)){let r=Ia(e,t,!0);return n&&Va(r,n),wa>0&&!a&&U&&(r.shapeFlag&6?U[U.indexOf(e)]=r:U.push(r)),r.patchFlag=-2,r}if(uo(e)&&(e=e.__vccOpts),t){t=Fa(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=he(e)),v(n)&&(Ut(n)&&!d(n)&&(n=s({},n)),t.style=ue(n))}let o=g(e)?1:_a(e)?128:$n(e)?64:v(e)?4:h(e)?2:0;return Na(e,t,n,r,i,o,a,!0)}function Fa(e){return e?Ut(e)||Gi(e)?s({},e):e:null}function Ia(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Ha(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ja(l),ref:t&&t.ref?n&&a?d(a)?a.concat(Ma(t)):[a,Ma(t)]:Ma(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==V?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ia(e.ssContent),ssFallback:e.ssFallback&&Ia(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&wr(u,c.clone(u)),u}function La(e=` `,t=0){return W(ya,null,e,t)}function Ra(e=``,t=!1){return t?(Sa(),Oa(H,null,e)):W(H,null,e)}function za(e){return e==null||typeof e==`boolean`?W(H):d(e)?W(V,null,e.slice()):ka(e)?Ba(e):W(ya,null,String(e))}function Ba(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ia(e)}function Va(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Va(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Gi(t)?t._ctx=L:r===3&&L&&(L.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(h(t)){if(r&65){Va(e,{default:t});return}t={default:t,_ctx:L},n=32}else t=String(t),r&64?(n=16,t=[La(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ha(...e){let t={};for(let n=0;nG||L,Ja,Ya;{let e=le(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Ja=t(`__VUE_INSTANCE_SETTERS__`,e=>G=e),Ya=t(`__VUE_SSR_SETTERS__`,e=>$a=e)}var Xa=e=>{let t=G;return Ja(e),e.scope.on(),()=>{e.scope.off(),Ja(t)}},Za=()=>{G&&G.scope.off(),Ja(null)};function Qa(e){return e.vnode.shapeFlag&4}var $a=!1;function eo(e,t=!1,n=!1){t&&Ya(t);let{props:r,children:i}=e.vnode,a=Qa(e);Ki(e,r,a,t),aa(e,i,n||t);let o=a?to(e,t):void 0;return t&&Ya(!1),o}function to(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,li);let{setup:r}=n;if(r){Ge();let n=e.setupContext=r.length>1?so(e):null,i=Xa(e),a=gn(r,e,0,[e.props,n]),o=y(a);if(Ke(),i(),(o||e.sp)&&!Mr(e)&&Dr(e),o){if(a.then(Za,Za),t)return a.then(n=>{no(e,n,t)}).catch(t=>{vn(t,e,0)});e.asyncDep=a}else no(e,a,t)}else ao(e,t)}function no(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=$t(t)),ao(e,n)}var ro,io;function ao(e,t,n){let i=e.type;if(!e.render){if(!t&&ro&&!i.render){let t=i.template||_i(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:o}=i;i.render=ro(t,s(s({isCustomElement:n,delimiters:a},r),o))}}e.render=i.render||r,io&&io(e)}{let t=Xa(e);Ge();try{pi(e)}finally{Ke(),t()}}}var oo={get(e,t){return M(e,`get`,``),e[t]}};function so(e){return{attrs:new Proxy(e.attrs,oo),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function co(e){return e.exposed?e.exposeProxy||=new Proxy($t(Wt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in si)return si[n](e)},has(e,t){return t in e||t in si}}):e.proxy}function lo(e,t=!0){return h(e)?e.displayName||e.name:e.name||t&&e.__name}function uo(e){return h(e)&&`__vccOpts`in e}var K=(e,t)=>ln(e,t,$a);function fo(e,t,n){try{Ta(-1);let r=arguments.length;return r===2?v(t)&&!d(t)?ka(t)?W(e,null,[t]):W(e,t):W(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ka(n)&&(n=[n]),W(e,t,n))}finally{Ta(1)}}var po=`3.5.39`;function mo(e){let t=`.`,n=`__`,r=`--`,i;if(e){let i=e.blockPrefix;i&&(t=i),i=e.elementPrefix,i&&(n=i),i=e.modifierPrefix,i&&(r=i)}let a={install(e){i=e.c;let t=e.context;t.bem={},t.bem.b=null,t.bem.els=null}};function o(e){let n,r;return{before(e){n=e.bem.b,r=e.bem.els,e.bem.els=null},after(e){e.bem.b=n,e.bem.els=r},$({context:n,props:r}){return e=typeof e==`string`?e:e({context:n,props:r}),n.bem.b=e,`${r?.bPrefix||t}${n.bem.b}`}}}function s(e){let r;return{before(e){r=e.bem.els},after(e){e.bem.els=r},$({context:r,props:i}){return e=typeof e==`string`?e:e({context:r,props:i}),r.bem.els=e.split(`,`).map(e=>e.trim()),r.bem.els.map(e=>`${i?.bPrefix||t}${r.bem.b}${n}${e}`).join(`, `)}}}function c(e){return{$({context:i,props:a}){e=typeof e==`string`?e:e({context:i,props:a});let o=e.split(`,`).map(e=>e.trim());function s(e){return o.map(o=>`&${a?.bPrefix||t}${i.bem.b}${e===void 0?``:`${n}${e}`}${r}${o}`).join(`, `)}let c=i.bem.els;return c===null?s():s(c[0])}}}function l(e){return{$({context:i,props:a}){e=typeof e==`string`?e:e({context:i,props:a});let o=i.bem.els;return`&:not(${a?.bPrefix||t}${i.bem.b}${o!==null&&o.length>0?`${n}${o[0]}`:``}${r}${e})`}}}return Object.assign(a,{cB:((...e)=>i(o(e[0]),e[1],e[2])),cE:((...e)=>i(s(e[0]),e[1],e[2])),cM:((...e)=>i(c(e[0]),e[1],e[2])),cNotM:((...e)=>i(l(e[0]),e[1],e[2]))}),a}function ho(e){let t=0;for(let n=0;n{let r=ho(t);if(!r){e.forEach(e=>{n.push((e&&e+` `)+t)});return}else if(r===1){e.forEach(e=>{n.push(t.replace(`&`,e))});return}let i=[t];for(;r--;){let t=[];i.forEach(n=>{e.forEach(e=>{t.push(n.replace(`&`,e))})}),i=t}i.forEach(e=>n.push(e))}),n}function yo(e,t){let n=[];return t.split(go).forEach(t=>{e.forEach(e=>{n.push((e&&e+` `)+t)})}),n}function bo(e){let t=[``];return e.forEach(e=>{e&&=e.trim(),e&&(t=e.includes(`&`)?vo(t,e):yo(t,e))}),t.join(`, `).replace(_o,` `)}function xo(e){if(!e)return;let t=e.parentElement;t&&t.removeChild(e)}function So(e,t){return(t??document.head).querySelector(`style[cssr-id="${e}"]`)}function Co(e){let t=document.createElement(`style`);return t.setAttribute(`cssr-id`,e),t}function wo(e){return e?/^\s*@(s|m)/.test(e):!1}var To=/[A-Z]/g;function Eo(e){return e.replace(To,e=>`-`+e.toLowerCase())}function Do(e,t=` `){return typeof e==`object`&&e?` { `+Object.entries(e).map(e=>t+` ${Eo(e[0])}: ${e[1]};`).join(` `)+` `+t+`}`:`: ${e};`}function Oo(e,t,n){return typeof e==`function`?e({context:t.context,props:n}):e}function ko(e,t,n,r){if(!t)return``;let i=Oo(t,n,r);if(!i)return``;if(typeof i==`string`)return`${e} {\n${i}\n}`;let a=Object.keys(i);if(a.length===0)return n.config.keepEmptyBlock?e+` { }`:``;let o=e?[e+` {`]:[];return a.forEach(e=>{let t=i[e];if(e===`raw`){o.push(` `+t+` `);return}e=Eo(e),t!=null&&o.push(` ${e}${Do(t)}`)}),e&&o.push(`}`),o.join(` `)}function Ao(e,t,n){e&&e.forEach(e=>{if(Array.isArray(e))Ao(e,t,n);else if(typeof e==`function`){let r=e(t);Array.isArray(r)?Ao(r,t,n):r&&n(r)}else e&&n(e)})}function jo(e,t,n,r,i){let a=e.$,o=``;if(!a||typeof a==`string`)wo(a)?o=a:t.push(a);else if(typeof a==`function`){let e=a({context:r.context,props:i});wo(e)?o=e:t.push(e)}else if(a.before&&a.before(r.context),!a.$||typeof a.$==`string`)wo(a.$)?o=a.$:t.push(a.$);else if(a.$){let e=a.$({context:r.context,props:i});wo(e)?o=e:t.push(e)}let s=bo(t),c=ko(s,e.props,r,i);o?n.push(`${o} {`):c.length&&n.push(c),e.children&&Ao(e.children,{context:r.context,props:i},e=>{if(typeof e==`string`){let t=ko(s,{raw:e},r,i);n.push(t)}else jo(e,t,n,r,i)}),t.pop(),o&&n.push(`}`),a&&a.after&&a.after(r.context)}function Mo(e,t,n){let r=[];return jo(e,[],r,t,n),r.join(` `)}function No(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<`u`&&(window.__cssrContext={});function Po(e,t,n,r){let{els:i}=t;if(n===void 0)i.forEach(xo),t.els=[];else{let e=So(n,r);e&&i.includes(e)&&(xo(e),t.els=i.filter(t=>t!==e))}}function Fo(e,t){e.push(t)}function Io(e,t,n,r,i,a,o,s,c){let l;if(n===void 0&&(l=t.render(r),n=No(l)),c){c.adapter(n,l??t.render(r));return}s===void 0&&(s=document.head);let u=So(n,s);if(u!==null&&!a)return u;let d=u??Co(n);if(l===void 0&&(l=t.render(r)),d.textContent=l,u!==null)return u;if(o){let e=s.querySelector(`meta[name="${o}"]`);if(e)return s.insertBefore(d,e),Fo(t.els,d),d}return i?s.insertBefore(d,s.querySelector(`style, link`)):s.appendChild(d),Fo(t.els,d),d}function Lo(e){return Mo(this,this.instance,e)}function Ro(e={}){let{id:t,ssr:n,props:r,head:i=!1,force:a=!1,anchorMetaName:o,parent:s}=e;return Io(this.instance,this,t,r,i,a,o,s,n)}function zo(e={}){let{id:t,parent:n}=e;Po(this.instance,this,t,n)}var Bo=function(e,t,n,r){return{instance:e,$:t,props:n,children:r,els:[],render:Lo,mount:Ro,unmount:zo}},Vo=function(e,t,n,r){return Array.isArray(t)?Bo(e,{$:null},null,t):Array.isArray(n)?Bo(e,t,null,n):Array.isArray(r)?Bo(e,t,n,r):Bo(e,t,n,null)};function Ho(e={}){let t={c:((...e)=>Vo(t,...e)),use:(e,...n)=>e.install(t,...n),find:So,context:{},config:e};return t}function Uo(e,t){if(e===void 0)return!1;if(t){let{context:{ids:n}}=t;return n.has(e)}return So(e)!==null}var Wo=`.n-`,Go=`__`,Ko=`--`,qo=Ho(),Jo=mo({blockPrefix:Wo,elementPrefix:Go,modifierPrefix:Ko});qo.use(Jo);var{c:Yo,find:Xo}=qo,{cB:Zo,cE:Qo,cM:$o,cNotM:es}=Jo;function ts(e){return Yo(({props:{bPrefix:e}})=>`${e||Wo}modal, ${e||Wo}drawer`,[e])}function ns(e){return Yo(({props:{bPrefix:e}})=>`${e||Wo}popover`,[e])}function rs(e){return Yo(({props:{bPrefix:e}})=>`&${e||Wo}modal`,e)}var is=(...e)=>Yo(`>`,[Zo(...e)]);function as(e,t){return e+(t==="default"?``:t.replace(/^[a-z]/,e=>e.toUpperCase()))}var os={aliceblue:`#F0F8FF`,antiquewhite:`#FAEBD7`,aqua:`#0FF`,aquamarine:`#7FFFD4`,azure:`#F0FFFF`,beige:`#F5F5DC`,bisque:`#FFE4C4`,black:`#000`,blanchedalmond:`#FFEBCD`,blue:`#00F`,blueviolet:`#8A2BE2`,brown:`#A52A2A`,burlywood:`#DEB887`,cadetblue:`#5F9EA0`,chartreuse:`#7FFF00`,chocolate:`#D2691E`,coral:`#FF7F50`,cornflowerblue:`#6495ED`,cornsilk:`#FFF8DC`,crimson:`#DC143C`,cyan:`#0FF`,darkblue:`#00008B`,darkcyan:`#008B8B`,darkgoldenrod:`#B8860B`,darkgray:`#A9A9A9`,darkgrey:`#A9A9A9`,darkgreen:`#006400`,darkkhaki:`#BDB76B`,darkmagenta:`#8B008B`,darkolivegreen:`#556B2F`,darkorange:`#FF8C00`,darkorchid:`#9932CC`,darkred:`#8B0000`,darksalmon:`#E9967A`,darkseagreen:`#8FBC8F`,darkslateblue:`#483D8B`,darkslategray:`#2F4F4F`,darkslategrey:`#2F4F4F`,darkturquoise:`#00CED1`,darkviolet:`#9400D3`,deeppink:`#FF1493`,deepskyblue:`#00BFFF`,dimgray:`#696969`,dimgrey:`#696969`,dodgerblue:`#1E90FF`,firebrick:`#B22222`,floralwhite:`#FFFAF0`,forestgreen:`#228B22`,fuchsia:`#F0F`,gainsboro:`#DCDCDC`,ghostwhite:`#F8F8FF`,gold:`#FFD700`,goldenrod:`#DAA520`,gray:`#808080`,grey:`#808080`,green:`#008000`,greenyellow:`#ADFF2F`,honeydew:`#F0FFF0`,hotpink:`#FF69B4`,indianred:`#CD5C5C`,indigo:`#4B0082`,ivory:`#FFFFF0`,khaki:`#F0E68C`,lavender:`#E6E6FA`,lavenderblush:`#FFF0F5`,lawngreen:`#7CFC00`,lemonchiffon:`#FFFACD`,lightblue:`#ADD8E6`,lightcoral:`#F08080`,lightcyan:`#E0FFFF`,lightgoldenrodyellow:`#FAFAD2`,lightgray:`#D3D3D3`,lightgrey:`#D3D3D3`,lightgreen:`#90EE90`,lightpink:`#FFB6C1`,lightsalmon:`#FFA07A`,lightseagreen:`#20B2AA`,lightskyblue:`#87CEFA`,lightslategray:`#778899`,lightslategrey:`#778899`,lightsteelblue:`#B0C4DE`,lightyellow:`#FFFFE0`,lime:`#0F0`,limegreen:`#32CD32`,linen:`#FAF0E6`,magenta:`#F0F`,maroon:`#800000`,mediumaquamarine:`#66CDAA`,mediumblue:`#0000CD`,mediumorchid:`#BA55D3`,mediumpurple:`#9370DB`,mediumseagreen:`#3CB371`,mediumslateblue:`#7B68EE`,mediumspringgreen:`#00FA9A`,mediumturquoise:`#48D1CC`,mediumvioletred:`#C71585`,midnightblue:`#191970`,mintcream:`#F5FFFA`,mistyrose:`#FFE4E1`,moccasin:`#FFE4B5`,navajowhite:`#FFDEAD`,navy:`#000080`,oldlace:`#FDF5E6`,olive:`#808000`,olivedrab:`#6B8E23`,orange:`#FFA500`,orangered:`#FF4500`,orchid:`#DA70D6`,palegoldenrod:`#EEE8AA`,palegreen:`#98FB98`,paleturquoise:`#AFEEEE`,palevioletred:`#DB7093`,papayawhip:`#FFEFD5`,peachpuff:`#FFDAB9`,peru:`#CD853F`,pink:`#FFC0CB`,plum:`#DDA0DD`,powderblue:`#B0E0E6`,purple:`#800080`,rebeccapurple:`#663399`,red:`#F00`,rosybrown:`#BC8F8F`,royalblue:`#4169E1`,saddlebrown:`#8B4513`,salmon:`#FA8072`,sandybrown:`#F4A460`,seagreen:`#2E8B57`,seashell:`#FFF5EE`,sienna:`#A0522D`,silver:`#C0C0C0`,skyblue:`#87CEEB`,slateblue:`#6A5ACD`,slategray:`#708090`,slategrey:`#708090`,snow:`#FFFAFA`,springgreen:`#00FF7F`,steelblue:`#4682B4`,tan:`#D2B48C`,teal:`#008080`,thistle:`#D8BFD8`,tomato:`#FF6347`,turquoise:`#40E0D0`,violet:`#EE82EE`,wheat:`#F5DEB3`,white:`#FFF`,whitesmoke:`#F5F5F5`,yellow:`#FF0`,yellowgreen:`#9ACD32`,transparent:`#0000`};function ss(e,t,n){t/=100,n/=100;let r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5)*255,r(3)*255,r(1)*255]}function cs(e,t,n){t/=100,n/=100;let r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0)*255,i(8)*255,i(4)*255]}var ls=`^\\s*`,us=`\\s*$`,ds=`\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))%\\s*`,q=`\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*`,fs=`([0-9A-Fa-f])`,ps=`([0-9A-Fa-f]{2})`,ms=RegExp(`${ls}hsl\\s*\\(${q},${ds},${ds}\\)${us}`),hs=RegExp(`${ls}hsv\\s*\\(${q},${ds},${ds}\\)${us}`),gs=RegExp(`${ls}hsla\\s*\\(${q},${ds},${ds},${q}\\)${us}`),_s=RegExp(`${ls}hsva\\s*\\(${q},${ds},${ds},${q}\\)${us}`),vs=RegExp(`${ls}rgb\\s*\\(${q},${q},${q}\\)${us}`),ys=RegExp(`${ls}rgba\\s*\\(${q},${q},${q},${q}\\)${us}`),bs=RegExp(`${ls}#${fs}${fs}${fs}${us}`),xs=RegExp(`${ls}#${ps}${ps}${ps}${us}`),Ss=RegExp(`${ls}#${fs}${fs}${fs}${fs}${us}`),Cs=RegExp(`${ls}#${ps}${ps}${ps}${ps}${us}`);function J(e){return parseInt(e,16)}function ws(e){try{let t;if(t=gs.exec(e))return[Ps(t[1]),Fs(t[5]),Fs(t[9]),Ns(t[13])];if(t=ms.exec(e))return[Ps(t[1]),Fs(t[5]),Fs(t[9]),1];throw Error(`[seemly/hsla]: Invalid color value ${e}.`)}catch(e){throw e}}function Ts(e){try{let t;if(t=_s.exec(e))return[Ps(t[1]),Fs(t[5]),Fs(t[9]),Ns(t[13])];if(t=hs.exec(e))return[Ps(t[1]),Fs(t[5]),Fs(t[9]),1];throw Error(`[seemly/hsva]: Invalid color value ${e}.`)}catch(e){throw e}}function Es(e){try{let t;if(t=xs.exec(e))return[J(t[1]),J(t[2]),J(t[3]),1];if(t=vs.exec(e))return[Y(t[1]),Y(t[5]),Y(t[9]),1];if(t=ys.exec(e))return[Y(t[1]),Y(t[5]),Y(t[9]),Ns(t[13])];if(t=bs.exec(e))return[J(t[1]+t[1]),J(t[2]+t[2]),J(t[3]+t[3]),1];if(t=Cs.exec(e))return[J(t[1]),J(t[2]),J(t[3]),Ns(J(t[4])/255)];if(t=Ss.exec(e))return[J(t[1]+t[1]),J(t[2]+t[2]),J(t[3]+t[3]),Ns(J(t[4]+t[4])/255)];if(e in os)return Es(os[e]);if(ms.test(e)||gs.test(e)){let[t,n,r,i]=ws(e);return[...cs(t,n,r),i]}else if(hs.test(e)||_s.test(e)){let[t,n,r,i]=Ts(e);return[...ss(t,n,r),i]}throw Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(e){throw e}}function Ds(e){return e>1?1:e<0?0:e}function Os(e,t,n,r){return`rgba(${Y(e)}, ${Y(t)}, ${Y(n)}, ${Ds(r)})`}function ks(e,t,n,r,i){return Y((e*t*(1-r)+n*r)/i)}function As(e,t){Array.isArray(e)||(e=Es(e)),Array.isArray(t)||(t=Es(t));let n=e[3],r=t[3],i=Ns(n+r-n*r);return Os(ks(e[0],n,t[0],r,i),ks(e[1],n,t[1],r,i),ks(e[2],n,t[2],r,i),i)}function js(e,t){let[n,r,i,a=1]=Array.isArray(e)?e:Es(e);return typeof t.alpha==`number`?Os(n,r,i,t.alpha):Os(n,r,i,a)}function Ms(e,t){let[n,r,i,a=1]=Array.isArray(e)?e:Es(e),{lightness:o=1,alpha:s=1}=t;return Is([n*o,r*o,i*o,a*s])}function Ns(e){let t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Ps(e){let t=Math.round(Number(e));return t>=360||t<0?0:t}function Y(e){let t=Math.round(Number(e));return t>255?255:t<0?0:t}function Fs(e){let t=Math.round(Number(e));return t>100?100:t<0?0:t}function Is(e){let[t,n,r]=e;return 3 in e?`rgba(${Y(t)}, ${Y(n)}, ${Y(r)}, ${Ns(e[3])})`:`rgba(${Y(t)}, ${Y(n)}, ${Y(r)}, 1)`}function Ls(e){return e}var Rs=`@css-render/vue3-ssr`;function zs(e,t){return``}function Bs(e,t,n){let{styles:r,ids:i}=n;i.has(e)||r!==null&&(i.add(e),r.push(zs(e,t)))}var Vs=typeof document<`u`;function Hs(){if(Vs)return;let e=R(Rs,null);if(e!==null)return{adapter:(t,n)=>Bs(t,n,e),context:e}}function Us(e,t){console.error(`[naive/${e}]: ${t}`)}function Ws(e,t,n){console.error(`[naive/${e}]: ${t}`,n)}function Gs(e,t){throw Error(`[naive/${e}]: ${t}`)}var Ks=Ls(`n-config-provider`);function qs(e={},t={defaultBordered:!0}){let n=R(Ks,null);return{inlineThemeDisabled:n?.inlineThemeDisabled,mergedRtlRef:n?.mergedRtlRef,mergedComponentPropsRef:n?.mergedComponentPropsRef,mergedBreakpointsRef:n?.mergedBreakpointsRef,mergedBorderedRef:K(()=>{let{bordered:r}=e;return r===void 0?n?.mergedBorderedRef.value??t.defaultBordered??!0:r}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:Jt(`n`),namespaceRef:K(()=>n?.mergedNamespaceRef.value)}}function Js(e,t,n,r){n||Gs(`useThemeClass`,`cssVarsRef is not passed`);let i=R(Ks,null),a=i?.mergedThemeHashRef,o=i?.styleMountTarget,s=qt(``),c=Hs(),l,u=`__${e}`,d=()=>{let e=u,i=t?t.value:void 0,d=a?.value;d&&(e+=`-${d}`),i&&(e+=`-${i}`);let{themeOverrides:f,builtinThemeOverrides:p}=r;f&&(e+=`-${No(JSON.stringify(f))}`),p&&(e+=`-${No(JSON.stringify(p))}`),s.value=e,l=()=>{let t=n.value,r=``;for(let e in t)r+=`${e}: ${t[e]};`;Yo(`.${e}`,r).mount({id:e,ssr:c,parent:o}),l=void 0}};return Wn(()=>{d()}),{themeClass:s,onRender:()=>{l?.()}}}var Ys=typeof global==`object`&&global&&global.Object===Object&&global,Xs=typeof self==`object`&&self&&self.Object===Object&&self,Zs=Ys||Xs||Function(`return this`)(),Qs=Zs.Symbol,$s=Object.prototype,ec=$s.hasOwnProperty,tc=$s.toString,nc=Qs?Qs.toStringTag:void 0;function rc(e){var t=ec.call(e,nc),n=e[nc];try{e[nc]=void 0;var r=!0}catch{}var i=tc.call(e);return r&&(t?e[nc]=n:delete e[nc]),i}var ic=Object.prototype.toString;function ac(e){return ic.call(e)}var oc=`[object Null]`,sc=`[object Undefined]`,cc=Qs?Qs.toStringTag:void 0;function lc(e){return e==null?e===void 0?sc:oc:cc&&cc in Object(e)?rc(e):ac(e)}function uc(e){return typeof e==`object`&&!!e}var dc=Array.isArray;function fc(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}function pc(e){return e}var mc=`[object AsyncFunction]`,hc=`[object Function]`,gc=`[object GeneratorFunction]`,_c=`[object Proxy]`;function vc(e){if(!fc(e))return!1;var t=lc(e);return t==hc||t==gc||t==mc||t==_c}var yc=Zs[`__core-js_shared__`],bc=function(){var e=/[^.]+$/.exec(yc&&yc.keys&&yc.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``}();function xc(e){return!!bc&&bc in e}var Sc=Function.prototype.toString;function Cc(e){if(e!=null){try{return Sc.call(e)}catch{}try{return e+``}catch{}}return``}var wc=/[\\^$.*+?()[\]{}|]/g,Tc=/^\[object .+?Constructor\]$/,Ec=Function.prototype,Dc=Object.prototype,Oc=Ec.toString,kc=Dc.hasOwnProperty,Ac=RegExp(`^`+Oc.call(kc).replace(wc,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function jc(e){return!fc(e)||xc(e)?!1:(vc(e)?Ac:Tc).test(Cc(e))}function Mc(e,t){return e?.[t]}function Nc(e,t){var n=Mc(e,t);return jc(n)?n:void 0}var Pc=Object.create,Fc=function(){function e(){}return function(t){if(!fc(t))return{};if(Pc)return Pc(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function Ic(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Lc(e,t){var n=-1,r=e.length;for(t||=Array(r);++n0){if(++t>=Rc)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Hc(e){return function(){return e}}var Uc=function(){try{var e=Nc(Object,`defineProperty`);return e({},``,{}),e}catch{}}(),Wc=Vc(Uc?function(e,t){return Uc(e,`toString`,{configurable:!0,enumerable:!1,value:Hc(t),writable:!0})}:pc),Gc=9007199254740991,Kc=/^(?:0|[1-9]\d*)$/;function qc(e,t){var n=typeof e;return t??=Gc,!!t&&(n==`number`||n!=`symbol`&&Kc.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=nl}function il(e){return e!=null&&rl(e.length)&&!vc(e)}function al(e,t,n){if(!fc(n))return!1;var r=typeof t;return(r==`number`?il(n)&&qc(t,n.length):r==`string`&&t in n)?Yc(n[t],e):!1}function ol(e){return tl(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&al(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r-1}function Cu(e,t){var n=this.__data__,r=vu(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function wu(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t{let{value:n}=t;if(!n)return;let r=n[e];if(r)return r}),a=R(Ks,null),o=()=>{Wn(()=>{let{value:t}=n,o=`${t}${e}Rtl`;if(Uo(o,r))return;let{value:s}=i;s&&s.style.mount({id:o,head:!0,anchorMetaName:pd,props:{bPrefix:t?`.${t}-`:void 0},ssr:r,parent:a?.styleMountTarget})})};return r?o():Br(o),i}var hd={fontFamily:`v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"`,fontFamilyMono:`v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace`,fontWeight:`400`,fontWeightStrong:`500`,cubicBezierEaseInOut:`cubic-bezier(.4, 0, .2, 1)`,cubicBezierEaseOut:`cubic-bezier(0, 0, .2, 1)`,cubicBezierEaseIn:`cubic-bezier(.4, 0, 1, 1)`,borderRadius:`3px`,borderRadiusSmall:`2px`,fontSize:`14px`,fontSizeMini:`12px`,fontSizeTiny:`12px`,fontSizeSmall:`14px`,fontSizeMedium:`14px`,fontSizeLarge:`15px`,fontSizeHuge:`16px`,lineHeight:`1.6`,heightMini:`16px`,heightTiny:`22px`,heightSmall:`28px`,heightMedium:`34px`,heightLarge:`40px`,heightHuge:`46px`},{fontSize:gd,fontFamily:_d,lineHeight:vd}=hd,yd=Yo(`body`,` margin: 0; font-size: ${gd}; font-family: ${_d}; line-height: ${vd}; -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; `,[Yo(`input`,` font-family: inherit; font-size: inherit; `)]);function bd(e,t,n){if(!t)return;let r=Hs(),i=R(Ks,null),a=()=>{let a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:pd,props:{bPrefix:a?`.${a}-`:void 0},ssr:r,parent:i?.styleMountTarget}),i?.preflightStyleDisabled||yd.mount({id:`n-global`,head:!0,anchorMetaName:pd,ssr:r,parent:i?.styleMountTarget})};r?a():Br(a)}function xd(e){return e}function Sd(e,t,n,r,i,a){let o=Hs(),s=R(Ks,null);if(n){let e=()=>{let e=a?.value;n.mount({id:e===void 0?t:e+t,head:!0,props:{bPrefix:e?`.${e}-`:void 0},anchorMetaName:pd,ssr:o,parent:s?.styleMountTarget}),s?.preflightStyleDisabled||yd.mount({id:`n-global`,head:!0,anchorMetaName:pd,ssr:o,parent:s?.styleMountTarget})};o?e():Br(e)}return K(()=>{let{theme:{common:t,self:n,peers:a={}}={},themeOverrides:o={},builtinThemeOverrides:c={}}=i,{common:l,peers:u}=o,{common:d=void 0,[e]:{common:f=void 0,self:p=void 0,peers:m={}}={}}=s?.mergedThemeRef.value||{},{common:h=void 0,[e]:g={}}=s?.mergedThemeOverridesRef.value||{},{common:_,peers:v={}}=g,y=fd({},t||f||d||r.common,h,_,l);return{common:y,self:fd((n||p||r.self)?.(y),c,g,o),peers:fd({},r.peers,m,a),peerOverrides:fd({},c.peers,v,u)}})}Sd.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};var Z={neutralBase:`#FFF`,neutralInvertBase:`#000`,neutralTextBase:`#000`,neutralPopover:`#fff`,neutralCard:`#fff`,neutralModal:`#fff`,neutralBody:`#fff`,alpha1:`0.82`,alpha2:`0.72`,alpha3:`0.38`,alpha4:`0.24`,alpha5:`0.18`,alphaClose:`0.6`,alphaDisabled:`0.5`,alphaDisabledInput:`0.02`,alphaPending:`0.05`,alphaTablePending:`0.02`,alphaPressed:`0.07`,alphaAvatar:`0.2`,alphaRail:`0.14`,alphaProgressRail:`.08`,alphaBorder:`0.12`,alphaDivider:`0.06`,alphaInput:`0`,alphaAction:`0.02`,alphaTab:`0.04`,alphaScrollbar:`0.25`,alphaScrollbarHover:`0.4`,alphaCode:`0.05`,alphaTag:`0.02`,primaryHover:`#36ad6a`,primaryDefault:`#18a058`,primaryActive:`#0c7a43`,primarySuppl:`#36ad6a`,infoHover:`#4098fc`,infoDefault:`#2080f0`,infoActive:`#1060c9`,infoSuppl:`#4098fc`,errorHover:`#de576d`,errorDefault:`#d03050`,errorActive:`#ab1f3f`,errorSuppl:`#de576d`,warningHover:`#fcb040`,warningDefault:`#f0a020`,warningActive:`#c97c10`,warningSuppl:`#fcb040`,successHover:`#36ad6a`,successDefault:`#18a058`,successActive:`#0c7a43`,successSuppl:`#36ad6a`},Cd=Es(Z.neutralBase),wd=Es(Z.neutralInvertBase),Td=`rgba(${wd.slice(0,3).join(`, `)}, `;function Ed(e){return`${Td+String(e)})`}function Q(e){let t=Array.from(wd);return t[3]=Number(e),As(Cd,t)}var Dd=Object.assign(Object.assign({name:`common`},hd),{baseColor:Z.neutralBase,primaryColor:Z.primaryDefault,primaryColorHover:Z.primaryHover,primaryColorPressed:Z.primaryActive,primaryColorSuppl:Z.primarySuppl,infoColor:Z.infoDefault,infoColorHover:Z.infoHover,infoColorPressed:Z.infoActive,infoColorSuppl:Z.infoSuppl,successColor:Z.successDefault,successColorHover:Z.successHover,successColorPressed:Z.successActive,successColorSuppl:Z.successSuppl,warningColor:Z.warningDefault,warningColorHover:Z.warningHover,warningColorPressed:Z.warningActive,warningColorSuppl:Z.warningSuppl,errorColor:Z.errorDefault,errorColorHover:Z.errorHover,errorColorPressed:Z.errorActive,errorColorSuppl:Z.errorSuppl,textColorBase:Z.neutralTextBase,textColor1:`rgb(31, 34, 37)`,textColor2:`rgb(51, 54, 57)`,textColor3:`rgb(118, 124, 130)`,textColorDisabled:Q(Z.alpha4),placeholderColor:Q(Z.alpha4),placeholderColorDisabled:Q(Z.alpha5),iconColor:Q(Z.alpha4),iconColorHover:Ms(Q(Z.alpha4),{lightness:.75}),iconColorPressed:Ms(Q(Z.alpha4),{lightness:.9}),iconColorDisabled:Q(Z.alpha5),opacity1:Z.alpha1,opacity2:Z.alpha2,opacity3:Z.alpha3,opacity4:Z.alpha4,opacity5:Z.alpha5,dividerColor:`rgb(239, 239, 245)`,borderColor:`rgb(224, 224, 230)`,closeIconColor:Q(Number(Z.alphaClose)),closeIconColorHover:Q(Number(Z.alphaClose)),closeIconColorPressed:Q(Number(Z.alphaClose)),closeColorHover:`rgba(0, 0, 0, .09)`,closeColorPressed:`rgba(0, 0, 0, .13)`,clearColor:Q(Z.alpha4),clearColorHover:Ms(Q(Z.alpha4),{lightness:.75}),clearColorPressed:Ms(Q(Z.alpha4),{lightness:.9}),scrollbarColor:Ed(Z.alphaScrollbar),scrollbarColorHover:Ed(Z.alphaScrollbarHover),scrollbarWidth:`5px`,scrollbarHeight:`5px`,scrollbarBorderRadius:`5px`,progressRailColor:Q(Z.alphaProgressRail),railColor:`rgb(219, 219, 223)`,popoverColor:Z.neutralPopover,tableColor:Z.neutralCard,cardColor:Z.neutralCard,modalColor:Z.neutralModal,bodyColor:Z.neutralBody,tagColor:`#eee`,avatarColor:Q(Z.alphaAvatar),invertedColor:`rgb(0, 20, 40)`,inputColor:Q(Z.alphaInput),codeColor:`rgb(244, 244, 248)`,tabColor:`rgb(247, 247, 250)`,actionColor:`rgb(250, 250, 252)`,tableHeaderColor:`rgb(250, 250, 252)`,hoverColor:`rgb(243, 243, 245)`,tableColorHover:`rgba(0, 0, 100, 0.03)`,tableColorStriped:`rgba(0, 0, 100, 0.02)`,pressedColor:`rgb(237, 237, 239)`,opacityDisabled:Z.alphaDisabled,inputColorDisabled:`rgb(250, 250, 252)`,buttonColor2:`rgba(46, 51, 56, .05)`,buttonColor2Hover:`rgba(46, 51, 56, .09)`,buttonColor2Pressed:`rgba(46, 51, 56, .13)`,boxShadow1:`0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)`,boxShadow2:`0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)`,boxShadow3:`0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)`}),Od=typeof document<`u`;function kd(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function Ad(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&kd(e.default)}var $=Object.assign;function jd(e,t){let n={};for(let r in t){let i=t[r];n[r]=Nd(i)?i.map(e):e(i)}return n}var Md=()=>{},Nd=Array.isArray;function Pd(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var Fd=Symbol(``);function Id(e,t){return $(Error(),{type:e,[Fd]:!0},t)}function Ld(e,t){return e instanceof Error&&Fd in e&&(t==null||!!(e.type&t))}var Rd=Symbol(``),zd=Symbol(``),Bd=Symbol(``),Vd=Symbol(``),Hd=Symbol(``);function Ud(){return R(Bd)}function Wd(e){return R(Vd)}var Gd=/#/g,Kd=/&/g,qd=/\//g,Jd=/=/g,Yd=/\?/g,Xd=/\+/g,Zd=/%5B/g,Qd=/%5D/g,$d=/%5E/g,ef=/%60/g,tf=/%7B/g,nf=/%7C/g,rf=/%7D/g,af=/%20/g;function of(e){return e==null?``:encodeURI(``+e).replace(nf,`|`).replace(Zd,`[`).replace(Qd,`]`)}function sf(e){return of(e).replace(tf,`{`).replace(rf,`}`).replace($d,`^`)}function cf(e){return of(e).replace(Xd,`%2B`).replace(af,`+`).replace(Gd,`%23`).replace(Kd,`%26`).replace(ef,"`").replace(tf,`{`).replace(rf,`}`).replace($d,`^`)}function lf(e){return cf(e).replace(Jd,`%3D`)}function uf(e){return of(e).replace(Gd,`%23`).replace(Yd,`%3F`)}function df(e){return uf(e).replace(qd,`%2F`)}function ff(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var pf=/\/$/,mf=e=>e.replace(pf,``);function hf(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Cf(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:ff(o)}}function gf(e,t){let 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 vf(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&yf(t.matched[r],n.matched[i])&&bf(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function yf(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function bf(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!xf(e[n],t[n]))return!1;return!0}function xf(e,t){return Nd(e)?Sf(e,t):Nd(t)?Sf(t,e):(e&&e.valueOf())===(t&&t.valueOf())}function Sf(e,t){return Nd(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Cf(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var wf={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0};function Tf(e){if(!e)if(Od){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),mf(e)}var Ef=/^[^#]+#/;function Df(e,t){return e.replace(Ef,`#`)+t}function Of(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var kf=()=>({left:window.scrollX,top:window.scrollY});function Af(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=Of(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function jf(e,t){return(history.state?history.state.position-t:-1)+e}var Mf=new Map;function Nf(e,t){Mf.set(e,t)}function Pf(e){let t=Mf.get(e);return Mf.delete(e),t}function Ff(e){return typeof e==`string`||e&&typeof e==`object`}function If(e){return typeof e==`string`||typeof e==`symbol`}function Lf(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;ee&&cf(e)):[r&&cf(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function zf(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=Nd(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}function Bf(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Vf(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(Id(4,{from:n,to:t})):e instanceof Error?c(e):Ff(e)?c(Id(2,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Hf(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(kd(s)){let c=(s.__vccOpts||s)[t];c&&a.push(Vf(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=Ad(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&Vf(c,n,r,o,e,i)()}))}}return a}function Uf(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;oyf(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>yf(e,s))||i.push(s))}return[n,r,i]}var Wf=()=>location.protocol+`//`+location.host;function Gf(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),_f(n,``)}return _f(n,e)+r+i}function Kf(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Gf(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState($({},e.state,{scroll:kf()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function qf(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?kf():null}}function Jf(e){let{history:t,location:n}=window,r={value:Gf(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Wf()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,$({},t.state,qf(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=$({},i.value,t.state,{forward:e,scroll:kf()});a(o.current,o,!0),a(e,$({},qf(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Yf(e){e=Tf(e);let t=Jf(e),n=Kf(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=$({location:``,base:e,go:r,createHref:Df.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var Xf={type:0,value:``},Zf=/[a-zA-Z0-9_]/;function Qf(e){if(!e)return[[]];if(e===`/`)return[[Xf]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;st.length?t.length===1&&t[0]===80?1:-1:0}function ip(e,t){let n=0,r=e.score,i=t.score;for(;n0&&t[t.length-1]<0}var op={strict:!1,end:!0,sensitive:!1};function sp(e,t,n){let r=$(np(Qf(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function cp(e,t){let n=[],r=new Map;t=Pd(op,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=up(e);s.aliasOf=r&&r.record;let l=Pd(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(up($({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=sp(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!fp(d)&&o(e.name)),gp(d)&&c(d),s.children){let e=s.children;for(let t=0;t{o(f)}:Md}function o(e){if(If(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=mp(e,n);n.splice(t,0,e),e.record.name&&!fp(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw Id(1,{location:e});s=i.record.name,a=$(lp(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&lp(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw Id(1,{location:e,currentLocation:t});s=i.record.name,a=$({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:pp(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function lp(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function up(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:dp(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 dp(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function fp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function pp(e){return e.reduce((e,t)=>$(e,t.meta),{})}function mp(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;ip(e,t[i])<0?r=i:n=i+1}let i=hp(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function hp(e){let t=e;for(;t=t.parent;)if(gp(t)&&ip(e,t)===0)return t}function gp({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function _p(e){let t=R(Bd),n=R(Vd),r=K(()=>{let n=Zt(e.to);return t.resolve(n)}),i=K(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(yf.bind(null,i));if(o>-1)return o;let s=Sp(e[t-2]);return t>1&&Sp(i)===s&&a[a.length-1].path!==s?a.findIndex(yf.bind(null,e[t-2])):o}),a=K(()=>i.value>-1&&xp(n.params,r.value.params)),o=K(()=>i.value>-1&&i.value===n.matched.length-1&&bf(n.params,r.value.params));function s(n={}){if(bp(n)){let n=t[Zt(e.replace)?`replace`:`push`](Zt(e.to)).catch(Md);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:K(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function vp(e){return e.length===1?e[0]:e}var yp=Er({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:_p,setup(e,{slots:t}){let n=Lt(_p(e)),{options:r}=R(Bd),i=K(()=>({[Cp(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Cp(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&vp(t.default(n));return e.custom?r:fo(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function bp(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){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function xp(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!Nd(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function Sp(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Cp=(e,t,n)=>e??t??n,wp=Er({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=R(Hd),i=K(()=>e.route||r.value),a=R(zd,0),o=K(()=>{let e=Zt(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=K(()=>i.value.matched[o.value]);Bn(zd,K(()=>o.value+1)),Bn(Rd,s),Bn(Hd,i);let c=qt();return qn(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!yf(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return Tp(n.default,{Component:l,route:r});let u=o.props[a],d=fo(l,$({},u?u===!0?r.params:typeof u==`function`?u(r):u:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return Tp(n.default,{Component:d,route:r})||d}}});function Tp(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Ep=wp;function Dp(e){let t=cp(e.routes,e),n=e.parseQuery||Lf,r=e.stringifyQuery||Rf,i=e.history,a=Bf(),o=Bf(),s=Bf(),c=Jt(wf),l=wf;Od&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=jd.bind(null,e=>``+e),d=jd.bind(null,df),f=jd.bind(null,ff);function p(e,n){let r,i;return If(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=$({},a||c.value),typeof e==`string`){let r=hf(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return $(r,o,{params:f(o.params),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=$({},e,{path:hf(n,e.path,a.path).path});else{let t=$({},e.params);for(let e in t)t[e]??delete t[e];o=$({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=gf(r,$({},e,{hash:sf(l),path:s.path})),m=i.createHref(p);return $({fullPath:p,hash:l,query:r===Rf?zf(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?hf(n,e,c.value.path):$({},e)}function y(e,t){if(l!==e)return Id(8,{from:t,to:e})}function b(e){return C(e)}function x(e){return b($(v(e),{replace:!0}))}function S(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),$({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C($(v(u),{state:typeof u==`object`?$({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&vf(r,i,n)&&(f=Id(16,{to:d,from:i}),se(i,i,!0,!1)),(f?Promise.resolve(f):ee(d,i)).catch(e=>Ld(e)?Ld(e,2)?e:oe(e):ae(e,d,i)).then(e=>{if(e){if(Ld(e,2))return C($({replace:s},v(e.to),{state:typeof e.to==`object`?$({},a,e.to.state):a,force:o}),t||d)}else e=E(d,i,!0,s,a);return te(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function T(e){let t=ue.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function ee(e,t){let n,[r,i,s]=Uf(e,t);n=Hf(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Vf(r,e,t))});let c=w.bind(null,e,t);return n.push(c),fe(n).then(()=>{n=[];for(let r of a.list())n.push(Vf(r,e,t));return n.push(c),fe(n)}).then(()=>{n=Hf(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Vf(r,e,t))});return n.push(c),fe(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(Nd(r.beforeEnter))for(let i of r.beforeEnter)n.push(Vf(i,e,t));else n.push(Vf(r.beforeEnter,e,t));return n.push(c),fe(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Hf(s,`beforeRouteEnter`,e,t,T),n.push(c),fe(n))).then(()=>{n=[];for(let r of o.list())n.push(Vf(r,e,t));return n.push(c),fe(n)}).catch(e=>Ld(e,8)?e:Promise.reject(e))}function te(e,t,n){s.list().forEach(r=>T(()=>r(e,t,n)))}function E(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===wf,l=Od?history.state:{};n&&(r||s?i.replace(e.fullPath,$({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,se(e,t,n,s),oe()}let ne;function D(){ne||=i.listen((e,t,n)=>{if(!de.listening)return;let r=_(e),a=S(r,de.currentRoute.value);if(a){C($(a,{replace:!0,force:!0}),r).catch(Md);return}l=r;let o=c.value;Od&&Nf(jf(o.fullPath,n.delta),kf()),ee(r,o).catch(e=>Ld(e,12)?e:Ld(e,2)?(C($(v(e.to),{force:!0}),r).then(e=>{Ld(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(Md),Promise.reject()):(n.delta&&i.go(-n.delta,!1),ae(e,r,o))).then(e=>{e||=E(r,o,!1),e&&(n.delta&&!Ld(e,8)?i.go(-n.delta,!1):n.type===`pop`&&Ld(e,20)&&i.go(-1,!1)),te(r,o,e)}).catch(Md)})}let re=Bf(),ie=Bf(),O;function ae(e,t,n){oe(e);let r=ie.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function k(){return O&&c.value!==wf?Promise.resolve():new Promise((e,t)=>{re.add([e,t])})}function oe(e){return O||(O=!e,D(),re.list().forEach(([t,n])=>e?n(e):t()),re.reset()),e}function se(t,n,r,i){let{scrollBehavior:a}=e;if(!Od||!a)return Promise.resolve();let o=!r&&Pf(jf(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return En().then(()=>a(t,n,o)).then(e=>e&&Af(e)).catch(e=>ae(e,t,n))}let ce=e=>i.go(e),le,ue=new Set,de={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:ce,back:()=>ce(-1),forward:()=>ce(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:ie.add,isReady:k,install(e){e.component(`RouterLink`,yp),e.component(`RouterView`,Ep),e.config.globalProperties.$router=de,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>Zt(c)}),Od&&!le&&c.value===wf&&(le=!0,b(i.location).catch(e=>{}));let t={};for(let e in wf)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(Bd,de),e.provide(Vd,Rt(t)),e.provide(Hd,c);let n=e.unmount;ue.add(e),e.unmount=function(){ue.delete(e),ue.size<1&&(l=wf,ne&&ne(),ne=null,c.value=wf,le=!1,O=!1),n()}}};function fe(e){return e.reduce((e,t)=>e.then(()=>T(t)),Promise.resolve())}return de}function Op(e){return{DeviceHeartbeat(t){let n=JSON.stringify(t),r=[],i=`api/devices/heartbeat`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`DeviceHeartbeat`})},GetDevices(t){let n=[];t.gameID&&n.push(`gameID=${encodeURIComponent(t.gameID.toString())}`);let r=`api/devices`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetDevices`})},GetTasks(t){let n=[],r=`api/tasks`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTasks`})},GetTaskAssignees(t){let n=[],r=`api/tasks/assignees`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTaskAssignees`})},CreateTask(t){let n=JSON.stringify(t),r=[],i=`api/tasks`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`CreateTask`})},UpdateTask(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/tasks/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateTask`})},SetTaskStatus(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/tasks/${t.ID}/status`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetTaskStatus`})},DeleteTask(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/tasks/${t.ID}/delete`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`DeleteTask`})},GetParticipation(t){let n=JSON.stringify(t),r=[],i=`api/participation/get`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`GetParticipation`})},AnswerParticipation(t){let n=JSON.stringify(t),r=[],i=`api/participation/answer`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AnswerParticipation`})},Ping(t){let n=[],r=`api/test/ping`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`Ping`})},Echo(t){let n=[];t.text&&n.push(`text=${encodeURIComponent(t.text.toString())}`);let r=`api/test/echo`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`POST`,body:null},{service:`EveningDetectiveServer`,method:`Echo`})},Signup(t){let n=JSON.stringify(t),r=[],i=`api/auth/signup`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`Signup`})},RefreshPassword(t){let n=JSON.stringify(t),r=[],i=`api/auth/refresh-password`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`RefreshPassword`})},Login(t){let n=JSON.stringify(t),r=[],i=`api/auth/login`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`Login`})},Refresh(t){let n=JSON.stringify(t),r=[],i=`api/auth/refresh`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`Refresh`})},DeleteAccount(t){let n=[],r=`api/auth/delete-account`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteAccount`})},GetTerms(t){let n=[],r=`api/terms`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTerms`})},GetPrivacy(t){let n=[],r=`api/privacy`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetPrivacy`})},GetConsent(t){let n=[],r=`api/consent`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetConsent`})},GetUsers(t){let n=[],r=`api/users`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetUsers`})},GetUserByID(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/users/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetUserByID`})},GetMe(t){let n=[],r=`api/users/me`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetMe`})},ChangeUserPassword(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/users/${t.ID}/password`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`ChangeUserPassword`})},AddUserRole(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/users/${t.ID}/role/add`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AddUserRole`})},DeleteUserRole(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/users/${t.ID}/role/delete`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`DeleteUserRole`})},GetPermissions(t){let n=[],r=`api/ui/permissions`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetPermissions`})},UploadFile(t){let n=JSON.stringify(t),r=[],i=`api/files/upload`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`UploadFile`})},DownloadFile(t){if(!t.filename)throw Error(`missing required field request.filename`);let n=`api/files/${t.filename}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadFile`})},SavePlaylistGroup(t){if(!t.playlistID)throw Error(`missing required field request.playlistID`);let n=`api/playlists/${t.playlistID}/groups`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SavePlaylistGroup`})},DeletePlaylistGroup(t){if(!t.playlistID)throw Error(`missing required field request.playlistID`);if(!t.groupID)throw Error(`missing required field request.groupID`);let n=`api/playlists/${t.playlistID}/groups/${t.groupID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeletePlaylistGroup`})},ReorderPlaylistGroups(t){if(!t.playlistID)throw Error(`missing required field request.playlistID`);let n=`api/playlists/${t.playlistID}/groups/order`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`ReorderPlaylistGroups`})},SetPlaylistTrackGroup(t){if(!t.playlistID)throw Error(`missing required field request.playlistID`);if(!t.trackID)throw Error(`missing required field request.trackID`);let n=`api/playlists/${t.playlistID}/tracks/${t.trackID}/group`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`SetPlaylistTrackGroup`})},GetPlaylists(t){let n=[],r=`api/playlists`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetPlaylists`})},CreatePlaylist(t){let n=JSON.stringify(t),r=[],i=`api/playlists`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`CreatePlaylist`})},UpdatePlaylist(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/playlists/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdatePlaylist`})},DeletePlaylist(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/playlists/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeletePlaylist`})},UploadPlaylistTrack(t){if(!t.playlistID)throw Error(`missing required field request.playlistID`);let n=`api/playlists/${t.playlistID}/tracks`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`UploadPlaylistTrack`})},ReorderPlaylistTracks(t){if(!t.playlistID)throw Error(`missing required field request.playlistID`);let n=`api/playlists/${t.playlistID}/tracks/order`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`ReorderPlaylistTracks`})},DeletePlaylistTrack(t){if(!t.playlistID)throw Error(`missing required field request.playlistID`);if(!t.trackID)throw Error(`missing required field request.trackID`);let n=`api/playlists/${t.playlistID}/tracks/${t.trackID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeletePlaylistTrack`})},SetScenarioPlaylist(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/playlist`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`SetScenarioPlaylist`})},AddScenario(t){let n=JSON.stringify(t),r=[],i=`api/scenario`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AddScenario`})},GetMyScenarios(t){let n=[],r=`api/my-scenarios`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetMyScenarios`})},GetScenariosCatalog(t){let n=[],r=`api/catalog`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetScenariosCatalog`})},GetFullScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/full`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetFullScenario`})},GetScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetScenario`})},UpdateScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenario`})},PublicScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/public`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`PublicScenario`})},DraftScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/draft`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`DraftScenario`})},DeleteScenario(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteScenario`})},AddScenarioPlace(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/places`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AddScenarioPlace`})},UpdateScenarioPlace(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.code)throw Error(`missing required field request.code`);let n=`api/scenarios/${t.ID}/places/${t.code}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioPlace`})},DeleteScenarioPlace(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.code)throw Error(`missing required field request.code`);let n=`api/scenarios/${t.ID}/places/${t.code}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteScenarioPlace`})},AddScenarioQuestion(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/questions`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AddScenarioQuestion`})},UpdateScenarioQuestion(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.code)throw Error(`missing required field request.code`);let n=`api/scenarios/${t.ID}/questions/${t.code}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioQuestion`})},DeleteScenarioQuestion(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.code)throw Error(`missing required field request.code`);let n=`api/scenarios/${t.ID}/questions/${t.code}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteScenarioQuestion`})},UpdateScenarioBackground(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/background`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioBackground`})},UpdateScenarioIntro(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/introduction`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioIntro`})},UpdateScenarioConclusion(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/conclusion`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateScenarioConclusion`})},DownloadScenarioArchive(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/scenarios/${t.ID}/archive`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadScenarioArchive`})},UploadScenarioArchive(t){let n=JSON.stringify(t),r=[],i=`api/scenarios/archive`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`UploadScenarioArchive`})},AddGame(t){let n=JSON.stringify(t),r=[],i=`api/games`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AddGame`})},GetGames(t){let n=[],r=`api/games`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGames`})},GetGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGame`})},ImportGame(t){let n=JSON.stringify(t),r=[],i=`api/games/import`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`ImportGame`})},DownloadGameResultsPackage(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/results-package/download`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadGameResultsPackage`})},ApplyGameResultsPackage(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/results-package/apply`,r=JSON.stringify(t?.package??{}),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`ApplyGameResultsPackage`})},StartGameExport(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/export`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`StartGameExport`})},ResetGameLocalMode(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/local-mode/reset`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`ResetGameLocalMode`})},GetGameExport(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/export`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameExport`})},IssueGameTickets(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/tickets`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`IssueGameTickets`})},GetTicket(t){if(!t.token)throw Error(`missing required field request.token`);let n=`api/tickets/${t.token}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTicket`})},AcceptTicket(t){if(!t.token)throw Error(`missing required field request.token`);let n=`api/tickets/${t.token}/accept`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AcceptTicket`})},CreateScreenSession(t){let n=JSON.stringify(t),r=[],i=`api/screens`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`CreateScreenSession`})},GetScreenState(t){let n=JSON.stringify(t),r=[],i=`api/screens/state`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`GetScreenState`})},GetGameScreens(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screens`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameScreens`})},GetGameMusic(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/music`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameMusic`})},SetGameMusic(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/music`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetGameMusic`})},AdvanceScreenMusic(t){let n=JSON.stringify(t),r=[],i=`api/screens/music/advance`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AdvanceScreenMusic`})},BindScreen(t){if(!t.screenID)throw Error(`missing required field request.screenID`);let n=`api/screens/${t.screenID}/bind`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`BindScreen`})},UnbindScreen(t){if(!t.screenID)throw Error(`missing required field request.screenID`);let n=`api/screens/${t.screenID}/unbind`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`UnbindScreen`})},SetScreenSound(t){if(!t.screenID)throw Error(`missing required field request.screenID`);let n=`api/screens/${t.screenID}/sound`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetScreenSound`})},GetGameMap(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/map`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameMap`})},UpdateGameMapItem(t){if(!t.gameID)throw Error(`missing required field request.gameID`);if(!t.kind)throw Error(`missing required field request.kind`);if(!t.itemID)throw Error(`missing required field request.itemID`);let n=`api/games/${t.gameID}/map/items/${t.kind}/${t.itemID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`UpdateGameMapItem`})},SetScreenMode(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screens/mode`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetScreenMode`})},SetScreenTimer(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screens/timer`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetScreenTimer`})},SendScreenCommand(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screens/command`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SendScreenCommand`})},GetScreenPlan(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screen-plan`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetScreenPlan`})},SaveScreenPlan(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screen-plan`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`SaveScreenPlan`})},SetScreenPlanStep(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/screen-plan/step`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SetScreenPlanStep`})},GetScreenTeams(t){let n=JSON.stringify(t),r=[],i=`api/screens/teams`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`GetScreenTeams`})},GetScreenResults(t){let n=JSON.stringify(t),r=[],i=`api/screens/results`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`GetScreenResults`})},DownloadGamePrintMaterials(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/print-materials`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadGamePrintMaterials`})},PreviewTeamReceipt(t){if(!t.gameID)throw Error(`missing required field request.gameID`);if(!t.teamID)throw Error(`missing required field request.teamID`);let n=`api/games/${t.gameID}/teams/${t.teamID}/receipt.png`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`PreviewTeamReceipt`})},PrintTeamReceipt(t){if(!t.gameID)throw Error(`missing required field request.gameID`);if(!t.teamID)throw Error(`missing required field request.teamID`);let n=`api/games/${t.gameID}/teams/${t.teamID}/receipt/print`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`PrintTeamReceipt`})},DownloadTeamQR(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/teams/qr.pdf`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`DownloadTeamQR`})},GetGameAnswers(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/answers`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameAnswers`})},GetGameResults(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/results`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameResults`})},CreateGameReview(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/reviews`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`CreateGameReview`})},GetGameReviews(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/games/${t.gameID}/reviews`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameReviews`})},GetScenarioReviews(t){if(!t.scenarioID)throw Error(`missing required field request.scenarioID`);let n=`api/scenarios/${t.scenarioID}/reviews`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetScenarioReviews`})},GetGameReviewsForModeration(t){if(!t.gameID)throw Error(`missing required field request.gameID`);let n=`api/admin/games/${t.gameID}/reviews`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetGameReviewsForModeration`})},GetReviewsForModeration(t){let n=[],r=`api/admin/game-reviews`;return n.length>0&&(r+=`?${n.join(`&`)}`),e({path:r,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetReviewsForModeration`})},ModerateGameReview(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/admin/game-reviews/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`ModerateGameReview`})},UpdateGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateGame`})},StartGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/start`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`StartGame`})},PauseGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/pause`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`PauseGame`})},PlayGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/play`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`PlayGame`})},FinishGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/finish`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`FinishGame`})},ResetGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}/reset`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`ResetGame`})},DeleteGame(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/games/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteGame`})},AddTeam(t){let n=JSON.stringify(t),r=[],i=`api/teams`;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`POST`,body:n},{service:`EveningDetectiveServer`,method:`AddTeam`})},UpdateTeam(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`UpdateTeam`})},DeleteTeam(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteTeam`})},GiveTeamApplications(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/applications`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`GiveTeamApplications`})},GetTeamStory(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/story`,r=[];t.password&&r.push(`password=${encodeURIComponent(t.password.toString())}`);let i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTeamStory`})},AddTeamAction(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/actions`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`AddTeamAction`})},DeleteLastTeamAction(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/last-actions`,r=[],i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`DELETE`,body:null},{service:`EveningDetectiveServer`,method:`DeleteLastTeamAction`})},GetTeamAnswers(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/answers`,r=[];t.password&&r.push(`password=${encodeURIComponent(t.password.toString())}`);let i=n;return r.length>0&&(i+=`?${r.join(`&`)}`),e({path:i,method:`GET`,body:null},{service:`EveningDetectiveServer`,method:`GetTeamAnswers`})},SubmitTeamAnswers(t){if(!t.ID)throw Error(`missing required field request.ID`);let n=`api/teams/${t.ID}/answers`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`POST`,body:r},{service:`EveningDetectiveServer`,method:`SubmitTeamAnswers`})},SetTeamAnswerScore(t){if(!t.ID)throw Error(`missing required field request.ID`);if(!t.questionCode)throw Error(`missing required field request.questionCode`);let n=`api/teams/${t.ID}/answers/${t.questionCode}/score`,r=JSON.stringify(t),i=[],a=n;return i.length>0&&(a+=`?${i.join(`&`)}`),e({path:a,method:`PUT`,body:r},{service:`EveningDetectiveServer`,method:`SetTeamAnswerScore`})}}}function kp(e,t){return Op(Ap(e,t))}function Ap(e,t){return async n=>{let r=`${jp()}/${n.path}`,i={"Content-Type":`application/json`},a=e?.();a&&(i.Authorization=`Bearer ${a}`);let o=t?.();o&&Object.assign(i,o);let s=await fetch(r,{method:n.method,headers:i,body:n.body});if(s.status==401)throw Error(`unauthorized`);let c=await s.json();if(c&&typeof c==`object`&&`code`in c&&c.code!==0)throw Error(`message`in c&&typeof c.message==`string`?c.message:`Ошибка запроса`);return c}}function jp(){return`https://evening-detective-api.crabs-games.art`}export{Ms as $,xr as $t,rl as A,h as An,qa as At,Qs as B,Se as Bn,Br as Bt,tu as C,E as Cn,Ra as Ct,hl as D,ve as Dn,La as Dt,bl as E,D as En,ri as Et,pc as F,g as Fn,ka as Ft,Ws as G,Gr as Gt,Js as H,Hr as Ht,fc as I,_ as In,di as It,Hs as J,Bn as Jt,Gs as K,Ur as Kt,dc as L,oe as Ln,Ha as Lt,qc as M,v as Mn,fo as Mt,Nc as N,a as Nn,Vn as Nt,cl as O,ae as On,W as Ot,Cc as P,_e as Pn,R as Pt,Es as Q,$r as Qt,uc as R,he as Rn,En as Rt,Tu as S,Zt as Sn,Oa as St,Ql as T,s as Tn,sa as Tt,qs as U,Fr as Ut,Zs as V,se as Vn,Wr as Vt,Ks as W,Vr as Wt,js as X,ii as Xt,Ls as Y,ni as Yt,As as Z,Zr as Zt,fd as _,qt as _n,ya as _t,yp as a,Gn as an,$o as at,Ju as b,on as bn,K as bt,Yf as c,Ee as cn,ts as ct,Dd as d,Vt as dn,No as dt,wr as en,rs as et,xd as f,F as fn,yr as ft,md as g,zt as gn,cr as gt,hd as h,Lt as hn,V as ht,Op as i,Wn as in,Qo as it,Yc as j,o as jn,Tr as jt,il as k,d as kn,Er as kt,Wd as l,De as ln,ns as lt,bd as m,Oe as mn,H as mt,Ap as n,pr as nn,Zo as nt,Ep as o,Ln as on,es as ot,Sd as p,Wt as pn,hr as pt,Us as q,Sa as qt,jp as r,qn as rn,is as rt,Dp as s,Rn as sn,as as st,kp as t,Ai as tn,Yo as tt,Ud as u,Ut as un,Ho as ut,ad as v,Jt as vn,_n as vt,eu as w,re as wn,Da as wt,Nu as x,nn as xn,Na as xt,ed as y,P as yn,Ia as yt,lc as z,ue as zn,Pr as zt};