13 lines
228 KiB
JavaScript
13 lines
228 KiB
JavaScript
function Go(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},Bn=[],lt=()=>{},wl=()=>!1,ss=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zo=e=>e.startsWith("onUpdate:"),xe=Object.assign,Xo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Oh=Object.prototype.hasOwnProperty,oe=(e,t)=>Oh.call(e,t),z=Array.isArray,kn=e=>Kr(e)==="[object Map]",os=e=>Kr(e)==="[object Set]",tf=e=>Kr(e)==="[object Date]",Q=e=>typeof e=="function",ye=e=>typeof e=="string",ht=e=>typeof e=="symbol",fe=e=>e!==null&&typeof e=="object",_l=e=>(fe(e)||Q(e))&&Q(e.then)&&Q(e.catch),xl=Object.prototype.toString,Kr=e=>xl.call(e),Sh=e=>Kr(e).slice(8,-1),Ol=e=>Kr(e)==="[object Object]",as=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yr=Go(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Th=/-\w/g,it=fs(e=>e.replace(Th,t=>t.slice(1).toUpperCase())),Ah=/\B([A-Z])/g,dn=fs(e=>e.replace(Ah,"-$1").toLowerCase()),cs=fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),wi=fs(e=>e?`on${cs(e)}`:""),an=(e,t)=>!Object.is(e,t),_i=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Sl=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Jo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Eh=e=>{const t=ye(e)?Number(e):NaN;return isNaN(t)?e:t};let nf;const ls=()=>nf||(nf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(e){if(z(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],i=ye(r)?Ph(r):us(r);if(i)for(const s in i)t[s]=i[s]}return t}else if(ye(e)||fe(e))return e}const $h=/;(?![^(]*\))/g,Ch=/:([^]+)/,Mh=/\/\*[^]*?\*\//g;function Ph(e){const t={};return e.replace(Mh,"").split($h).forEach(n=>{if(n){const r=n.split(Ch);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ds(e){let t="";if(ye(e))t=e;else if(z(e))for(let n=0;n<e.length;n++){const r=ds(e[n]);r&&(t+=r+" ")}else if(fe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function rS(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ye(t)&&(e.class=ds(t)),n&&(e.style=us(n)),e}const Rh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Dh=Go(Rh);function Tl(e){return!!e||e===""}function Fh(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Vn(e[r],t[r]);return n}function Vn(e,t){if(e===t)return!0;let n=tf(e),r=tf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ht(e),r=ht(t),n||r)return e===t;if(n=z(e),r=z(t),n||r)return n&&r?Fh(e,t):!1;if(n=fe(e),r=fe(t),n||r){if(!n||!r)return!1;const i=Object.keys(e).length,s=Object.keys(t).length;if(i!==s)return!1;for(const o in e){const a=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(a&&!f||!a&&f||!Vn(e[o],t[o]))return!1}}return String(e)===String(t)}function Al(e,t){return e.findIndex(n=>Vn(n,t))}const El=e=>!!(e&&e.__v_isRef===!0),Lh=e=>ye(e)?e:e==null?"":z(e)||fe(e)&&(e.toString===xl||!Q(e.toString))?El(e)?Lh(e.value):JSON.stringify(e,$l,2):String(e),$l=(e,t)=>El(t)?$l(e,t.value):kn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,i],s)=>(n[Is(r,s)+" =>"]=i,n),{})}:os(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Is(n))}:ht(t)?Is(t):fe(t)&&!z(t)&&!Ol(t)?String(t):t,Is=(e,t="")=>{var n;return ht(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Ce;class Cl{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ce,!t&&Ce&&(this.index=(Ce.scopes||(Ce.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ce;try{return Ce=this,t()}finally{Ce=n}}}on(){++this._on===1&&(this.prevScope=Ce,Ce=this)}off(){this._on>0&&--this._on===0&&(Ce=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function iS(e){return new Cl(e)}function Ml(){return Ce}function Ih(e,t=!1){Ce&&Ce.cleanups.push(e)}let he;const Ns=new WeakSet;class Pl{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ce&&Ce.active&&Ce.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ns.has(this)&&(Ns.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Dl(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,rf(this),Fl(this);const t=he,n=ut;he=this,ut=!0;try{return this.fn()}finally{Ll(this),he=t,ut=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ea(t);this.deps=this.depsTail=void 0,rf(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ns.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){so(this)&&this.run()}get dirty(){return so(this)}}let Rl=0,vr,br;function Dl(e,t=!1){if(e.flags|=8,t){e.next=br,br=e;return}e.next=vr,vr=e}function Zo(){Rl++}function Qo(){if(--Rl>0)return;if(br){let t=br;for(br=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;vr;){let t=vr;for(vr=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Fl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ll(e){let t,n=e.depsTail,r=n;for(;r;){const i=r.prevDep;r.version===-1?(r===n&&(n=i),ea(r),Nh(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=i}e.deps=t,e.depsTail=n}function so(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Il(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Il(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Cr)||(e.globalVersion=Cr,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!so(e))))return;e.flags|=2;const t=e.dep,n=he,r=ut;he=e,ut=!0;try{Fl(e);const i=e.fn(e._value);(t.version===0||an(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{he=n,ut=r,Ll(e),e.flags&=-3}}function ea(e,t=!1){const{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 s=n.computed.deps;s;s=s.nextDep)ea(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Nh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ut=!0;const Nl=[];function Ut(){Nl.push(ut),ut=!1}function Vt(){const e=Nl.pop();ut=e===void 0?!0:e}function rf(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let Cr=0;class Bh{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class hs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!he||!ut||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new Bh(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,Bl(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=r)}return n}trigger(t){this.version++,Cr++,this.notify(t)}notify(t){Zo();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Qo()}}}function Bl(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Bl(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Wi=new WeakMap,xn=Symbol(""),oo=Symbol(""),Mr=Symbol("");function Me(e,t,n){if(ut&&he){let r=Wi.get(e);r||Wi.set(e,r=new Map);let i=r.get(n);i||(r.set(n,i=new hs),i.map=r,i.key=n),i.track()}}function Ht(e,t,n,r,i,s){const o=Wi.get(e);if(!o){Cr++;return}const a=f=>{f&&f.trigger()};if(Zo(),t==="clear")o.forEach(a);else{const f=z(e),l=f&&as(n);if(f&&n==="length"){const c=Number(r);o.forEach((u,d)=>{(d==="length"||d===Mr||!ht(d)&&d>=c)&&a(u)})}else switch((n!==void 0||o.has(void 0))&&a(o.get(n)),l&&a(o.get(Mr)),t){case"add":f?l&&a(o.get("length")):(a(o.get(xn)),kn(e)&&a(o.get(oo)));break;case"delete":f||(a(o.get(xn)),kn(e)&&a(o.get(oo)));break;case"set":kn(e)&&a(o.get(xn));break}}Qo()}function kh(e,t){const n=Wi.get(e);return n&&n.get(t)}function Ln(e){const t=re(e);return t===e?t:(Me(t,"iterate",Mr),Ze(e)?t:t.map(pt))}function ps(e){return Me(e=re(e),"iterate",Mr),e}function en(e,t){return Yt(e)?On(e)?Yn(pt(t)):Yn(t):pt(t)}const Hh={__proto__:null,[Symbol.iterator](){return Bs(this,Symbol.iterator,e=>en(this,e))},concat(...e){return Ln(this).concat(...e.map(t=>z(t)?Ln(t):t))},entries(){return Bs(this,"entries",e=>(e[1]=en(this,e[1]),e))},every(e,t){return It(this,"every",e,t,void 0,arguments)},filter(e,t){return It(this,"filter",e,t,n=>n.map(r=>en(this,r)),arguments)},find(e,t){return It(this,"find",e,t,n=>en(this,n),arguments)},findIndex(e,t){return It(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return It(this,"findLast",e,t,n=>en(this,n),arguments)},findLastIndex(e,t){return It(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return It(this,"forEach",e,t,void 0,arguments)},includes(...e){return ks(this,"includes",e)},indexOf(...e){return ks(this,"indexOf",e)},join(e){return Ln(this).join(e)},lastIndexOf(...e){return ks(this,"lastIndexOf",e)},map(e,t){return It(this,"map",e,t,void 0,arguments)},pop(){return cr(this,"pop")},push(...e){return cr(this,"push",e)},reduce(e,...t){return sf(this,"reduce",e,t)},reduceRight(e,...t){return sf(this,"reduceRight",e,t)},shift(){return cr(this,"shift")},some(e,t){return It(this,"some",e,t,void 0,arguments)},splice(...e){return cr(this,"splice",e)},toReversed(){return Ln(this).toReversed()},toSorted(e){return Ln(this).toSorted(e)},toSpliced(...e){return Ln(this).toSpliced(...e)},unshift(...e){return cr(this,"unshift",e)},values(){return Bs(this,"values",e=>en(this,e))}};function Bs(e,t,n){const r=ps(e),i=r[t]();return r!==e&&!Ze(e)&&(i._next=i.next,i.next=()=>{const s=i._next();return s.done||(s.value=n(s.value)),s}),i}const jh=Array.prototype;function It(e,t,n,r,i,s){const o=ps(e),a=o!==e&&!Ze(e),f=o[t];if(f!==jh[t]){const u=f.apply(e,s);return a?pt(u):u}let l=n;o!==e&&(a?l=function(u,d){return n.call(this,en(e,u),d,e)}:n.length>2&&(l=function(u,d){return n.call(this,u,d,e)}));const c=f.call(o,l,r);return a&&i?i(c):c}function sf(e,t,n,r){const i=ps(e);let s=n;return i!==e&&(Ze(e)?n.length>3&&(s=function(o,a,f){return n.call(this,o,a,f,e)}):s=function(o,a,f){return n.call(this,o,en(e,a),f,e)}),i[t](s,...r)}function ks(e,t,n){const r=re(e);Me(r,"iterate",Mr);const i=r[t](...n);return(i===-1||i===!1)&&gs(n[0])?(n[0]=re(n[0]),r[t](...n)):i}function cr(e,t,n=[]){Ut(),Zo();const r=re(e)[t].apply(e,n);return Qo(),Vt(),r}const qh=Go("__proto__,__v_isRef,__isVue"),kl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ht));function Wh(e){ht(e)||(e=String(e));const t=re(this);return Me(t,"has",e),t.hasOwnProperty(e)}class Hl{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(i?s?Qh:Ul:s?Wl:ql).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const o=z(t);if(!i){let f;if(o&&(f=Hh[n]))return f;if(n==="hasOwnProperty")return Wh}const a=Reflect.get(t,n,be(t)?t:r);if((ht(n)?kl.has(n):qh(n))||(i||Me(t,"get",n),s))return a;if(be(a)){const f=o&&as(n)?a:a.value;return i&&fe(f)?Rr(f):f}return fe(a)?i?Rr(a):Pr(a):a}}class jl extends Hl{constructor(t=!1){super(!1,t)}set(t,n,r,i){let s=t[n];const o=z(t)&&as(n);if(!this._isShallow){const l=Yt(s);if(!Ze(r)&&!Yt(r)&&(s=re(s),r=re(r)),!o&&be(s)&&!be(r))return l||(s.value=r),!0}const a=o?Number(n)<t.length:oe(t,n),f=Reflect.set(t,n,r,be(t)?t:i);return t===re(i)&&(a?an(r,s)&&Ht(t,"set",n,r):Ht(t,"add",n,r)),f}deleteProperty(t,n){const r=oe(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&r&&Ht(t,"delete",n,void 0),i}has(t,n){const r=Reflect.has(t,n);return(!ht(n)||!kl.has(n))&&Me(t,"has",n),r}ownKeys(t){return Me(t,"iterate",z(t)?"length":xn),Reflect.ownKeys(t)}}class Uh extends Hl{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Vh=new jl,Yh=new Uh,Kh=new jl(!0);const ao=e=>e,ai=e=>Reflect.getPrototypeOf(e);function Gh(e,t,n){return function(...r){const i=this.__v_raw,s=re(i),o=kn(s),a=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,l=i[e](...r),c=n?ao:t?Yn:pt;return!t&&Me(s,"iterate",f?oo:xn),{next(){const{value:u,done:d}=l.next();return d?{value:u,done:d}:{value:a?[c(u[0]),c(u[1])]:c(u),done:d}},[Symbol.iterator](){return this}}}}function fi(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function zh(e,t){const n={get(i){const s=this.__v_raw,o=re(s),a=re(i);e||(an(i,a)&&Me(o,"get",i),Me(o,"get",a));const{has:f}=ai(o),l=t?ao:e?Yn:pt;if(f.call(o,i))return l(s.get(i));if(f.call(o,a))return l(s.get(a));s!==o&&s.get(i)},get size(){const i=this.__v_raw;return!e&&Me(re(i),"iterate",xn),i.size},has(i){const s=this.__v_raw,o=re(s),a=re(i);return e||(an(i,a)&&Me(o,"has",i),Me(o,"has",a)),i===a?s.has(i):s.has(i)||s.has(a)},forEach(i,s){const o=this,a=o.__v_raw,f=re(a),l=t?ao:e?Yn:pt;return!e&&Me(f,"iterate",xn),a.forEach((c,u)=>i.call(s,l(c),l(u),o))}};return xe(n,e?{add:fi("add"),set:fi("set"),delete:fi("delete"),clear:fi("clear")}:{add(i){!t&&!Ze(i)&&!Yt(i)&&(i=re(i));const s=re(this);return ai(s).has.call(s,i)||(s.add(i),Ht(s,"add",i,i)),this},set(i,s){!t&&!Ze(s)&&!Yt(s)&&(s=re(s));const o=re(this),{has:a,get:f}=ai(o);let l=a.call(o,i);l||(i=re(i),l=a.call(o,i));const c=f.call(o,i);return o.set(i,s),l?an(s,c)&&Ht(o,"set",i,s):Ht(o,"add",i,s),this},delete(i){const s=re(this),{has:o,get:a}=ai(s);let f=o.call(s,i);f||(i=re(i),f=o.call(s,i)),a&&a.call(s,i);const l=s.delete(i);return f&&Ht(s,"delete",i,void 0),l},clear(){const i=re(this),s=i.size!==0,o=i.clear();return s&&Ht(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=Gh(i,e,t)}),n}function ta(e,t){const n=zh(e,t);return(r,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?r:Reflect.get(oe(n,i)&&i in r?n:r,i,s)}const Xh={get:ta(!1,!1)},Jh={get:ta(!1,!0)},Zh={get:ta(!0,!1)};const ql=new WeakMap,Wl=new WeakMap,Ul=new WeakMap,Qh=new WeakMap;function ep(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tp(e){return e.__v_skip||!Object.isExtensible(e)?0:ep(Sh(e))}function Pr(e){return Yt(e)?e:na(e,!1,Vh,Xh,ql)}function np(e){return na(e,!1,Kh,Jh,Wl)}function Rr(e){return na(e,!0,Yh,Zh,Ul)}function na(e,t,n,r,i){if(!fe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=tp(e);if(s===0)return e;const o=i.get(e);if(o)return o;const a=new Proxy(e,s===2?r:n);return i.set(e,a),a}function On(e){return Yt(e)?On(e.__v_raw):!!(e&&e.__v_isReactive)}function Yt(e){return!!(e&&e.__v_isReadonly)}function Ze(e){return!!(e&&e.__v_isShallow)}function gs(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function rp(e){return!oe(e,"__v_skip")&&Object.isExtensible(e)&&Sl(e,"__v_skip",!0),e}const pt=e=>fe(e)?Pr(e):e,Yn=e=>fe(e)?Rr(e):e;function be(e){return e?e.__v_isRef===!0:!1}function ve(e){return Vl(e,!1)}function ip(e){return Vl(e,!0)}function Vl(e,t){return be(e)?e:new sp(e,t)}class sp{constructor(t,n){this.dep=new hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:re(t),this._value=n?t:pt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||Ze(t)||Yt(t);t=r?t:re(t),an(t,n)&&(this._rawValue=t,this._value=r?t:pt(t),this.dep.trigger())}}function sS(e){e.dep&&e.dep.trigger()}function ms(e){return be(e)?e.value:e}const op={get:(e,t,n)=>t==="__v_raw"?e:ms(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return be(i)&&!be(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Yl(e){return On(e)?e:new Proxy(e,op)}class ap{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new hs,{get:r,set:i}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function fp(e){return new ap(e)}function oS(e){const t=z(e)?new Array(e.length):{};for(const n in e)t[n]=Kl(e,n);return t}class cp{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0,this._raw=re(t);let i=!0,s=t;if(!z(t)||!as(String(n)))do i=!gs(s)||Ze(s);while(i&&(s=s.__v_raw));this._shallow=i}get value(){let t=this._object[this._key];return this._shallow&&(t=ms(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&be(this._raw[this._key])){const n=this._object[this._key];if(be(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return kh(this._raw,this._key)}}class lp{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function aS(e,t,n){return be(e)?e:Q(e)?new lp(e):fe(e)&&arguments.length>1?Kl(e,t,n):ve(e)}function Kl(e,t,n){return new cp(e,t,n)}class up{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Cr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return Dl(this,!0),!0}get value(){const t=this.dep.track();return Il(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function dp(e,t,n=!1){let r,i;return Q(e)?r=e:(r=e.get,i=e.set),new up(r,i,n)}const ci={},Ui=new WeakMap;let yn;function hp(e,t=!1,n=yn){if(n){let r=Ui.get(n);r||Ui.set(n,r=[]),r.push(e)}}function pp(e,t,n=le){const{immediate:r,deep:i,once:s,scheduler:o,augmentJob:a,call:f}=n,l=_=>i?_:Ze(_)||i===!1||i===0?jt(_,1):jt(_);let c,u,d,h,y=!1,g=!1;if(be(e)?(u=()=>e.value,y=Ze(e)):On(e)?(u=()=>l(e),y=!0):z(e)?(g=!0,y=e.some(_=>On(_)||Ze(_)),u=()=>e.map(_=>{if(be(_))return _.value;if(On(_))return l(_);if(Q(_))return f?f(_,2):_()})):Q(e)?t?u=f?()=>f(e,2):e:u=()=>{if(d){Ut();try{d()}finally{Vt()}}const _=yn;yn=c;try{return f?f(e,3,[h]):e(h)}finally{yn=_}}:u=lt,t&&i){const _=u,T=i===!0?1/0:i;u=()=>jt(_(),T)}const v=Ml(),m=()=>{c.stop(),v&&v.active&&Xo(v.effects,c)};if(s&&t){const _=t;t=(...T)=>{_(...T),m()}}let x=g?new Array(e.length).fill(ci):ci;const w=_=>{if(!(!(c.flags&1)||!c.dirty&&!_))if(t){const T=c.run();if(i||y||(g?T.some((E,H)=>an(E,x[H])):an(T,x))){d&&d();const E=yn;yn=c;try{const H=[T,x===ci?void 0:g&&x[0]===ci?[]:x,h];x=T,f?f(t,3,H):t(...H)}finally{yn=E}}}else c.run()};return a&&a(w),c=new Pl(u),c.scheduler=o?()=>o(w,!1):w,h=_=>hp(_,!1,c),d=c.onStop=()=>{const _=Ui.get(c);if(_){if(f)f(_,4);else for(const T of _)T();Ui.delete(c)}},t?r?w(!0):x=c.run():o?o(w.bind(null,!0),!0):c.run(),m.pause=c.pause.bind(c),m.resume=c.resume.bind(c),m.stop=m,m}function jt(e,t=1/0,n){if(t<=0||!fe(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,be(e))jt(e.value,t,n);else if(z(e))for(let r=0;r<e.length;r++)jt(e[r],t,n);else if(os(e)||kn(e))e.forEach(r=>{jt(r,t,n)});else if(Ol(e)){for(const r in e)jt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&jt(e[r],t,n)}return e}function Gr(e,t,n,r){try{return r?e(...r):e()}catch(i){ys(i,t,n)}}function gt(e,t,n,r){if(Q(e)){const i=Gr(e,t,n,r);return i&&_l(i)&&i.catch(s=>{ys(s,t,n)}),i}if(z(e)){const i=[];for(let s=0;s<e.length;s++)i.push(gt(e[s],t,n,r));return i}}function ys(e,t,n,r=!0){const i=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||le;if(t){let a=t.parent;const f=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,f,l)===!1)return}a=a.parent}if(s){Ut(),Gr(s,null,10,[e,f,l]),Vt();return}}gp(e,n,i,r,o)}function gp(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}const Ie=[];let Tt=-1;const Hn=[];let tn=null,Nn=0;const Gl=Promise.resolve();let Vi=null;function zl(e){const t=Vi||Gl;return e?t.then(this?e.bind(this):e):t}function mp(e){let t=Tt+1,n=Ie.length;for(;t<n;){const r=t+n>>>1,i=Ie[r],s=Dr(i);s<e||s===e&&i.flags&2?t=r+1:n=r}return t}function ra(e){if(!(e.flags&1)){const t=Dr(e),n=Ie[Ie.length-1];!n||!(e.flags&2)&&t>=Dr(n)?Ie.push(e):Ie.splice(mp(t),0,e),e.flags|=1,Xl()}}function Xl(){Vi||(Vi=Gl.then(Zl))}function yp(e){z(e)?Hn.push(...e):tn&&e.id===-1?tn.splice(Nn+1,0,e):e.flags&1||(Hn.push(e),e.flags|=1),Xl()}function of(e,t,n=Tt+1){for(;n<Ie.length;n++){const r=Ie[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Ie.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function Jl(e){if(Hn.length){const t=[...new Set(Hn)].sort((n,r)=>Dr(n)-Dr(r));if(Hn.length=0,tn){tn.push(...t);return}for(tn=t,Nn=0;Nn<tn.length;Nn++){const n=tn[Nn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}tn=null,Nn=0}}const Dr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Zl(e){try{for(Tt=0;Tt<Ie.length;Tt++){const t=Ie[Tt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Gr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Tt<Ie.length;Tt++){const t=Ie[Tt];t&&(t.flags&=-2)}Tt=-1,Ie.length=0,Jl(),Vi=null,(Ie.length||Hn.length)&&Zl()}}let Ee=null,Ql=null;function Yi(e){const t=Ee;return Ee=e,Ql=e&&e.type.__scopeId||null,t}function vp(e,t=Ee,n){if(!t||e._n)return e;const r=(...i)=>{r._d&&zi(-1);const s=Yi(t);let o;try{o=e(...i)}finally{Yi(s),r._d&&zi(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function fS(e,t){if(Ee===null)return e;const n=xs(Ee),r=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[s,o,a,f=le]=t[i];s&&(Q(s)&&(s={mounted:s,updated:s}),s.deep&&jt(o),r.push({dir:s,instance:n,value:o,oldValue:void 0,arg:a,modifiers:f}))}return e}function pn(e,t,n,r){const i=e.dirs,s=t&&t.dirs;for(let o=0;o<i.length;o++){const a=i[o];s&&(a.oldValue=s[o].value);let f=a.dir[r];f&&(Ut(),gt(f,n,8,[e.el,a,e,t]),Vt())}}const eu=Symbol("_vte"),tu=e=>e.__isTeleport,wr=e=>e&&(e.disabled||e.disabled===""),af=e=>e&&(e.defer||e.defer===""),ff=e=>typeof SVGElement<"u"&&e instanceof SVGElement,cf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,fo=(e,t)=>{const n=e&&e.to;return ye(n)?t?t(n):null:n},nu={name:"Teleport",__isTeleport:!0,process(e,t,n,r,i,s,o,a,f,l){const{mc:c,pc:u,pbc:d,o:{insert:h,querySelector:y,createText:g,createComment:v}}=l,m=wr(t.props);let{shapeFlag:x,children:w,dynamicChildren:_}=t;if(e==null){const T=t.el=g(""),E=t.anchor=g("");h(T,n,r),h(E,n,r);const H=(L,k)=>{x&16&&c(w,L,k,i,s,o,a,f)},q=()=>{const L=t.target=fo(t.props,y),k=ru(L,t,g,h);L&&(o!=="svg"&&ff(L)?o="svg":o!=="mathml"&&cf(L)&&(o="mathml"),i&&i.isCE&&(i.ce._teleportTargets||(i.ce._teleportTargets=new Set)).add(L),m||(H(L,k),xi(t,!1)))};m&&(H(n,E),xi(t,!0)),af(t.props)?(t.el.__isMounted=!1,Le(()=>{q(),delete t.el.__isMounted},s)):q()}else{if(af(t.props)&&e.el.__isMounted===!1){Le(()=>{nu.process(e,t,n,r,i,s,o,a,f,l)},s);return}t.el=e.el,t.targetStart=e.targetStart;const T=t.anchor=e.anchor,E=t.target=e.target,H=t.targetAnchor=e.targetAnchor,q=wr(e.props),L=q?n:E,k=q?T:H;if(o==="svg"||ff(E)?o="svg":(o==="mathml"||cf(E))&&(o="mathml"),_?(d(e.dynamicChildren,_,L,i,s,o,a),ua(e,t,!0)):f||u(e,t,L,k,i,s,o,a,!1),m)q?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):li(t,n,T,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const N=t.target=fo(t.props,y);N&&li(t,N,null,l,0)}else q&&li(t,E,H,l,1);xi(t,m)}},remove(e,t,n,{um:r,o:{remove:i}},s){const{shapeFlag:o,children:a,anchor:f,targetStart:l,targetAnchor:c,target:u,props:d}=e;if(u&&(i(l),i(c)),s&&i(f),o&16){const h=s||!wr(d);for(let y=0;y<a.length;y++){const g=a[y];r(g,t,n,h,!!g.dynamicChildren)}}},move:li,hydrate:bp};function li(e,t,n,{o:{insert:r},m:i},s=2){s===0&&r(e.targetAnchor,t,n);const{el:o,anchor:a,shapeFlag:f,children:l,props:c}=e,u=s===2;if(u&&r(o,t,n),(!u||wr(c))&&f&16)for(let d=0;d<l.length;d++)i(l[d],t,n,2);u&&r(a,t,n)}function bp(e,t,n,r,i,s,{o:{nextSibling:o,parentNode:a,querySelector:f,insert:l,createText:c}},u){function d(g,v,m,x){v.anchor=u(o(g),v,a(g),n,r,i,s),v.targetStart=m,v.targetAnchor=x}const h=t.target=fo(t.props,f),y=wr(t.props);if(h){const g=h._lpa||h.firstChild;if(t.shapeFlag&16)if(y)d(e,t,g,g&&o(g));else{t.anchor=o(e);let v=g;for(;v;){if(v&&v.nodeType===8){if(v.data==="teleport start anchor")t.targetStart=v;else if(v.data==="teleport anchor"){t.targetAnchor=v,h._lpa=t.targetAnchor&&o(t.targetAnchor);break}}v=o(v)}t.targetAnchor||ru(h,t,c,l),u(g&&o(g),t,h,n,r,i,s)}xi(t,y)}else y&&t.shapeFlag&16&&d(e,t,e,o(e));return t.anchor&&o(t.anchor)}const cS=nu;function xi(e,t){const n=e.ctx;if(n&&n.ut){let r,i;for(t?(r=e.el,i=e.anchor):(r=e.targetStart,i=e.targetAnchor);r&&r!==i;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function ru(e,t,n,r){const i=t.targetStart=n(""),s=t.targetAnchor=n("");return i[eu]=s,e&&(r(i,e),r(s,e)),s}const kt=Symbol("_leaveCb"),ui=Symbol("_enterCb");function iu(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return sa(()=>{e.isMounted=!0}),du(()=>{e.isUnmounting=!0}),e}const et=[Function,Array],su={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:et,onEnter:et,onAfterEnter:et,onEnterCancelled:et,onBeforeLeave:et,onLeave:et,onAfterLeave:et,onLeaveCancelled:et,onBeforeAppear:et,onAppear:et,onAfterAppear:et,onAppearCancelled:et},ou=e=>{const t=e.subTree;return t.component?ou(t.component):t},wp={name:"BaseTransition",props:su,setup(e,{slots:t}){const n=Pn(),r=iu();return()=>{const i=t.default&&ia(t.default(),!0);if(!i||!i.length)return;const s=au(i),o=re(e),{mode:a}=o;if(r.isLeaving)return Hs(s);const f=lf(s);if(!f)return Hs(s);let l=Fr(f,o,r,n,u=>l=u);f.type!==Pe&&En(f,l);let c=n.subTree&&lf(n.subTree);if(c&&c.type!==Pe&&!vn(c,f)&&ou(n).type!==Pe){let u=Fr(c,o,r,n);if(En(c,u),a==="out-in"&&f.type!==Pe)return r.isLeaving=!0,u.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete u.afterLeave,c=void 0},Hs(s);a==="in-out"&&f.type!==Pe?u.delayLeave=(d,h,y)=>{const g=fu(r,c);g[String(c.key)]=c,d[kt]=()=>{h(),d[kt]=void 0,delete l.delayedLeave,c=void 0},l.delayedLeave=()=>{y(),delete l.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function au(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Pe){t=n;break}}return t}const _p=wp;function fu(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Fr(e,t,n,r,i){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:f,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:h,onAfterLeave:y,onLeaveCancelled:g,onBeforeAppear:v,onAppear:m,onAfterAppear:x,onAppearCancelled:w}=t,_=String(e.key),T=fu(n,e),E=(L,k)=>{L&>(L,r,9,k)},H=(L,k)=>{const N=k[1];E(L,k),z(L)?L.every($=>$.length<=1)&&N():L.length<=1&&N()},q={mode:o,persisted:a,beforeEnter(L){let k=f;if(!n.isMounted)if(s)k=v||f;else return;L[kt]&&L[kt](!0);const N=T[_];N&&vn(e,N)&&N.el[kt]&&N.el[kt](),E(k,[L])},enter(L){let k=l,N=c,$=u;if(!n.isMounted)if(s)k=m||l,N=x||c,$=w||u;else return;let Y=!1;const I=L[ui]=F=>{Y||(Y=!0,F?E($,[L]):E(N,[L]),q.delayedLeave&&q.delayedLeave(),L[ui]=void 0)};k?H(k,[L,I]):I()},leave(L,k){const N=String(e.key);if(L[ui]&&L[ui](!0),n.isUnmounting)return k();E(d,[L]);let $=!1;const Y=L[kt]=I=>{$||($=!0,k(),I?E(g,[L]):E(y,[L]),L[kt]=void 0,T[N]===e&&delete T[N])};T[N]=e,h?H(h,[L,Y]):Y()},clone(L){const k=Fr(L,t,n,r,i);return i&&i(k),k}};return q}function Hs(e){if(vs(e))return e=cn(e),e.children=null,e}function lf(e){if(!vs(e))return tu(e.type)&&e.children?au(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Q(n.default))return n.default()}}function En(e,t){e.shapeFlag&6&&e.component?(e.transition=t,En(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 ia(e,t=!1,n){let r=[],i=0;for(let s=0;s<e.length;s++){let o=e[s];const a=n==null?o.key:String(n)+String(o.key!=null?o.key:s);o.type===Ve?(o.patchFlag&128&&i++,r=r.concat(ia(o.children,t,a))):(t||o.type!==Pe)&&r.push(a!=null?cn(o,{key:a}):o)}if(i>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function lS(e,t){return Q(e)?xe({name:e.name},t,{setup:e}):e}function cu(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Ki=new WeakMap;function _r(e,t,n,r,i=!1){if(z(e)){e.forEach((y,g)=>_r(y,t&&(z(t)?t[g]:t),n,r,i));return}if(jn(r)&&!i){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&_r(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?xs(r.component):r.el,o=i?null:s,{i:a,r:f}=e,l=t&&t.r,c=a.refs===le?a.refs={}:a.refs,u=a.setupState,d=re(u),h=u===le?wl:y=>oe(d,y);if(l!=null&&l!==f){if(uf(t),ye(l))c[l]=null,h(l)&&(u[l]=null);else if(be(l)){l.value=null;const y=t;y.k&&(c[y.k]=null)}}if(Q(f))Gr(f,a,12,[o,c]);else{const y=ye(f),g=be(f);if(y||g){const v=()=>{if(e.f){const m=y?h(f)?u[f]:c[f]:f.value;if(i)z(m)&&Xo(m,s);else if(z(m))m.includes(s)||m.push(s);else if(y)c[f]=[s],h(f)&&(u[f]=c[f]);else{const x=[s];f.value=x,e.k&&(c[e.k]=x)}}else y?(c[f]=o,h(f)&&(u[f]=o)):g&&(f.value=o,e.k&&(c[e.k]=o))};if(o){const m=()=>{v(),Ki.delete(e)};m.id=-1,Ki.set(e,m),Le(m,n)}else uf(e),v()}}}function uf(e){const t=Ki.get(e);t&&(t.flags|=8,Ki.delete(e))}ls().requestIdleCallback;ls().cancelIdleCallback;const jn=e=>!!e.type.__asyncLoader,vs=e=>e.type.__isKeepAlive;function xp(e,t){lu(e,"a",t)}function Op(e,t){lu(e,"da",t)}function lu(e,t,n=Re){const r=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(bs(t,r,n),n){let i=n.parent;for(;i&&i.parent;)vs(i.parent.vnode)&&Sp(r,t,n,i),i=i.parent}}function Sp(e,t,n,r){const i=bs(t,e,r,!0);hu(()=>{Xo(r[t],i)},n)}function bs(e,t,n=Re,r=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...o)=>{Ut();const a=zr(n),f=gt(t,n,e,o);return a(),Vt(),f});return r?i.unshift(s):i.push(s),s}}const Gt=e=>(t,n=Re)=>{(!Nr||e==="sp")&&bs(e,(...r)=>t(...r),n)},Tp=Gt("bm"),sa=Gt("m"),Ap=Gt("bu"),uu=Gt("u"),du=Gt("bum"),hu=Gt("um"),Ep=Gt("sp"),$p=Gt("rtg"),Cp=Gt("rtc");function Mp(e,t=Re){bs("ec",e,t)}const oa="components",Pp="directives";function uS(e,t){return aa(oa,e,!0,t)||e}const pu=Symbol.for("v-ndc");function dS(e){return ye(e)?aa(oa,e,!1)||e:e||pu}function hS(e){return aa(Pp,e)}function aa(e,t,n=!0,r=!1){const i=Ee||Re;if(i){const s=i.type;if(e===oa){const a=wg(s,!1);if(a&&(a===t||a===it(t)||a===cs(it(t))))return s}const o=df(i[e]||s[e],t)||df(i.appContext[e],t);return!o&&r?s:o}}function df(e,t){return e&&(e[t]||e[it(t)]||e[cs(it(t))])}function pS(e,t,n,r){let i;const s=n,o=z(e);if(o||ye(e)){const a=o&&On(e);let f=!1,l=!1;a&&(f=!Ze(e),l=Yt(e),e=ps(e)),i=new Array(e.length);for(let c=0,u=e.length;c<u;c++)i[c]=t(f?l?Yn(pt(e[c])):pt(e[c]):e[c],c,void 0,s)}else if(typeof e=="number"){i=new Array(e);for(let a=0;a<e;a++)i[a]=t(a+1,a,void 0,s)}else if(fe(e))if(e[Symbol.iterator])i=Array.from(e,(a,f)=>t(a,f,void 0,s));else{const a=Object.keys(e);i=new Array(a.length);for(let f=0,l=a.length;f<l;f++){const c=a[f];i[f]=t(e[c],c,f,s)}}else i=[];return i}function gS(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(z(r))for(let i=0;i<r.length;i++)e[r[i].name]=r[i].fn;else r&&(e[r.name]=r.key?(...i)=>{const s=r.fn(...i);return s&&(s.key=r.key),s}:r.fn)}return e}function mS(e,t,n={},r,i){if(Ee.ce||Ee.parent&&jn(Ee.parent)&&Ee.parent.ce){const l=Object.keys(n).length>0;return t!=="default"&&(n.name=t),po(),go(Ve,null,[Ne("slot",n,r&&r())],l?-2:64)}let s=e[t];s&&s._c&&(s._d=!1),po();const o=s&&gu(s(n)),a=n.key||o&&o.key,f=go(Ve,{key:(a&&!ht(a)?a:`_${t}`)+(!o&&r?"_fb":"")},o||(r?r():[]),o&&e._===1?64:-2);return f.scopeId&&(f.slotScopeIds=[f.scopeId+"-s"]),s&&s._c&&(s._d=!0),f}function gu(e){return e.some(t=>Ir(t)?!(t.type===Pe||t.type===Ve&&!gu(t.children)):!0)?e:null}function yS(e,t){const n={};for(const r in e)n[wi(r)]=e[r];return n}const co=e=>e?Lu(e)?xs(e):co(e.parent):null,xr=xe(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=>co(e.parent),$root:e=>co(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>vu(e),$forceUpdate:e=>e.f||(e.f=()=>{ra(e.update)}),$nextTick:e=>e.n||(e.n=zl.bind(e.proxy)),$watch:e=>Up.bind(e)}),js=(e,t)=>e!==le&&!e.__isScriptSetup&&oe(e,t),Rp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:i,props:s,accessCache:o,type:a,appContext:f}=e;if(t[0]!=="$"){const d=o[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(js(r,t))return o[t]=1,r[t];if(i!==le&&oe(i,t))return o[t]=2,i[t];if(oe(s,t))return o[t]=3,s[t];if(n!==le&&oe(n,t))return o[t]=4,n[t];lo&&(o[t]=0)}}const l=xr[t];let c,u;if(l)return t==="$attrs"&&Me(e.attrs,"get",""),l(e);if((c=a.__cssModules)&&(c=c[t]))return c;if(n!==le&&oe(n,t))return o[t]=4,n[t];if(u=f.config.globalProperties,oe(u,t))return u[t]},set({_:e},t,n){const{data:r,setupState:i,ctx:s}=e;return js(i,t)?(i[t]=n,!0):r!==le&&oe(r,t)?(r[t]=n,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:i,props:s,type:o}},a){let f;return!!(n[a]||e!==le&&a[0]!=="$"&&oe(e,a)||js(t,a)||oe(s,a)||oe(r,a)||oe(xr,a)||oe(i.config.globalProperties,a)||(f=o.__cssModules)&&f[a])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function vS(){return mu().slots}function bS(){return mu().attrs}function mu(e){const t=Pn();return t.setupContext||(t.setupContext=Nu(t))}function hf(e){return z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let lo=!0;function Dp(e){const t=vu(e),n=e.proxy,r=e.ctx;lo=!1,t.beforeCreate&&pf(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:o,watch:a,provide:f,inject:l,created:c,beforeMount:u,mounted:d,beforeUpdate:h,updated:y,activated:g,deactivated:v,beforeDestroy:m,beforeUnmount:x,destroyed:w,unmounted:_,render:T,renderTracked:E,renderTriggered:H,errorCaptured:q,serverPrefetch:L,expose:k,inheritAttrs:N,components:$,directives:Y,filters:I}=t;if(l&&Fp(l,r,null),o)for(const C in o){const A=o[C];Q(A)&&(r[C]=A.bind(n))}if(i){const C=i.call(n,n);fe(C)&&(e.data=Pr(C))}if(lo=!0,s)for(const C in s){const A=s[C],U=Q(A)?A.bind(n,n):Q(A.get)?A.get.bind(n,n):lt,K=!Q(A)&&Q(A.set)?A.set.bind(n):lt,J=Xr({get:U,set:K});Object.defineProperty(r,C,{enumerable:!0,configurable:!0,get:()=>J.value,set:ee=>J.value=ee})}if(a)for(const C in a)yu(a[C],r,n,C);if(f){const C=Q(f)?f.call(n):f;Reflect.ownKeys(C).forEach(A=>{Hp(A,C[A])})}c&&pf(c,e,"c");function S(C,A){z(A)?A.forEach(U=>C(U.bind(n))):A&&C(A.bind(n))}if(S(Tp,u),S(sa,d),S(Ap,h),S(uu,y),S(xp,g),S(Op,v),S(Mp,q),S(Cp,E),S($p,H),S(du,x),S(hu,_),S(Ep,L),z(k))if(k.length){const C=e.exposed||(e.exposed={});k.forEach(A=>{Object.defineProperty(C,A,{get:()=>n[A],set:U=>n[A]=U,enumerable:!0})})}else e.exposed||(e.exposed={});T&&e.render===lt&&(e.render=T),N!=null&&(e.inheritAttrs=N),$&&(e.components=$),Y&&(e.directives=Y),L&&cu(e)}function Fp(e,t,n=lt){z(e)&&(e=uo(e));for(const r in e){const i=e[r];let s;fe(i)?"default"in i?s=Oi(i.from||r,i.default,!0):s=Oi(i.from||r):s=Oi(i),be(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:o=>s.value=o}):t[r]=s}}function pf(e,t,n){gt(z(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function yu(e,t,n,r){let i=r.includes(".")?wu(n,r):()=>n[r];if(ye(e)){const s=t[e];Q(s)&&ke(i,s)}else if(Q(e))ke(i,e.bind(n));else if(fe(e))if(z(e))e.forEach(s=>yu(s,t,n,r));else{const s=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(s)&&ke(i,s,e)}}function vu(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:s,config:{optionMergeStrategies:o}}=e.appContext,a=s.get(t);let f;return a?f=a:!i.length&&!n&&!r?f=t:(f={},i.length&&i.forEach(l=>Gi(f,l,o,!0)),Gi(f,t,o)),fe(t)&&s.set(t,f),f}function Gi(e,t,n,r=!1){const{mixins:i,extends:s}=t;s&&Gi(e,s,n,!0),i&&i.forEach(o=>Gi(e,o,n,!0));for(const o in t)if(!(r&&o==="expose")){const a=Lp[o]||n&&n[o];e[o]=a?a(e[o],t[o]):t[o]}return e}const Lp={data:gf,props:mf,emits:mf,methods:pr,computed:pr,beforeCreate:Fe,created:Fe,beforeMount:Fe,mounted:Fe,beforeUpdate:Fe,updated:Fe,beforeDestroy:Fe,beforeUnmount:Fe,destroyed:Fe,unmounted:Fe,activated:Fe,deactivated:Fe,errorCaptured:Fe,serverPrefetch:Fe,components:pr,directives:pr,watch:Np,provide:gf,inject:Ip};function gf(e,t){return t?e?function(){return xe(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function Ip(e,t){return pr(uo(e),uo(t))}function uo(e){if(z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Fe(e,t){return e?[...new Set([].concat(e,t))]:t}function pr(e,t){return e?xe(Object.create(null),e,t):t}function mf(e,t){return e?z(e)&&z(t)?[...new Set([...e,...t])]:xe(Object.create(null),hf(e),hf(t??{})):t}function Np(e,t){if(!e)return t;if(!t)return e;const n=xe(Object.create(null),e);for(const r in t)n[r]=Fe(e[r],t[r]);return n}function bu(){return{app:null,config:{isNativeTag:wl,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Bp=0;function kp(e,t){return function(r,i=null){Q(r)||(r=xe({},r)),i!=null&&!fe(i)&&(i=null);const s=bu(),o=new WeakSet,a=[];let f=!1;const l=s.app={_uid:Bp++,_component:r,_props:i,_container:null,_context:s,_instance:null,version:Og,get config(){return s.config},set config(c){},use(c,...u){return o.has(c)||(c&&Q(c.install)?(o.add(c),c.install(l,...u)):Q(c)&&(o.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,d){if(!f){const h=l._ceVNode||Ne(r,i);return h.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),e(h,c,d),f=!0,l._container=c,c.__vue_app__=l,xs(h.component)}},onUnmount(c){a.push(c)},unmount(){f&&(gt(a,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l},runWithContext(c){const u=Sn;Sn=l;try{return c()}finally{Sn=u}}};return l}}let Sn=null;function Hp(e,t){if(Re){let n=Re.provides;const r=Re.parent&&Re.parent.provides;r===n&&(n=Re.provides=Object.create(r)),n[e]=t}}function Oi(e,t,n=!1){const r=Pn();if(r||Sn){let i=Sn?Sn._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&Q(t)?t.call(r&&r.proxy):t}}function wS(){return!!(Pn()||Sn)}const jp=Symbol.for("v-scx"),qp=()=>Oi(jp);function Wp(e,t){return fa(e,null,t)}function ke(e,t,n){return fa(e,t,n)}function fa(e,t,n=le){const{immediate:r,deep:i,flush:s,once:o}=n,a=xe({},n),f=t&&r||!t&&s!=="post";let l;if(Nr){if(s==="sync"){const h=qp();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!f){const h=()=>{};return h.stop=lt,h.resume=lt,h.pause=lt,h}}const c=Re;a.call=(h,y,g)=>gt(h,c,y,g);let u=!1;s==="post"?a.scheduler=h=>{Le(h,c&&c.suspense)}:s!=="sync"&&(u=!0,a.scheduler=(h,y)=>{y?h():ra(h)}),a.augmentJob=h=>{t&&(h.flags|=4),u&&(h.flags|=2,c&&(h.id=c.uid,h.i=c))};const d=pp(e,t,a);return Nr&&(l?l.push(d):f&&d()),d}function Up(e,t,n){const r=this.proxy,i=ye(e)?e.includes(".")?wu(r,e):()=>r[e]:e.bind(r,r);let s;Q(t)?s=t:(s=t.handler,n=t);const o=zr(this),a=fa(i,s.bind(r),n);return o(),a}function wu(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}const Vp=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${it(t)}Modifiers`]||e[`${dn(t)}Modifiers`];function Yp(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||le;let i=n;const s=t.startsWith("update:"),o=s&&Vp(r,t.slice(7));o&&(o.trim&&(i=n.map(c=>ye(c)?c.trim():c)),o.number&&(i=n.map(Jo)));let a,f=r[a=wi(t)]||r[a=wi(it(t))];!f&&s&&(f=r[a=wi(dn(t))]),f&>(f,e,6,i);const l=r[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,gt(l,e,6,i)}}const Kp=new WeakMap;function _u(e,t,n=!1){const r=n?Kp:t.emitsCache,i=r.get(e);if(i!==void 0)return i;const s=e.emits;let o={},a=!1;if(!Q(e)){const f=l=>{const c=_u(l,t,!0);c&&(a=!0,xe(o,c))};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!s&&!a?(fe(e)&&r.set(e,null),null):(z(s)?s.forEach(f=>o[f]=null):xe(o,s),fe(e)&&r.set(e,o),o)}function ws(e,t){return!e||!ss(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,dn(t))||oe(e,t))}function yf(e){const{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[s],slots:o,attrs:a,emit:f,render:l,renderCache:c,props:u,data:d,setupState:h,ctx:y,inheritAttrs:g}=e,v=Yi(e);let m,x;try{if(n.shapeFlag&4){const _=i||r,T=_;m=At(l.call(T,_,c,u,h,d,y)),x=a}else{const _=t;m=At(_.length>1?_(u,{attrs:a,slots:o,emit:f}):_(u,null)),x=t.props?a:Gp(a)}}catch(_){Or.length=0,ys(_,e,1),m=Ne(Pe)}let w=m;if(x&&g!==!1){const _=Object.keys(x),{shapeFlag:T}=w;_.length&&T&7&&(s&&_.some(zo)&&(x=zp(x,s)),w=cn(w,x,!1,!0))}return n.dirs&&(w=cn(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(n.dirs):n.dirs),n.transition&&En(w,n.transition),m=w,Yi(v),m}const Gp=e=>{let t;for(const n in e)(n==="class"||n==="style"||ss(n))&&((t||(t={}))[n]=e[n]);return t},zp=(e,t)=>{const n={};for(const r in e)(!zo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Xp(e,t,n){const{props:r,children:i,component:s}=e,{props:o,children:a,patchFlag:f}=t,l=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&f>=0){if(f&1024)return!0;if(f&16)return r?vf(r,o,l):!!o;if(f&8){const c=t.dynamicProps;for(let u=0;u<c.length;u++){const d=c[u];if(o[d]!==r[d]&&!ws(l,d))return!0}}}else return(i||a)&&(!a||!a.$stable)?!0:r===o?!1:r?o?vf(r,o,l):!0:!!o;return!1}function vf(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){const s=r[i];if(t[s]!==e[s]&&!ws(n,s))return!0}return!1}function Jp({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const xu={},Ou=()=>Object.create(xu),Su=e=>Object.getPrototypeOf(e)===xu;function Zp(e,t,n,r=!1){const i={},s=Ou();e.propsDefaults=Object.create(null),Tu(e,t,i,s);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=r?i:np(i):e.type.props?e.props=i:e.props=s,e.attrs=s}function Qp(e,t,n,r){const{props:i,attrs:s,vnode:{patchFlag:o}}=e,a=re(i),[f]=e.propsOptions;let l=!1;if((r||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let u=0;u<c.length;u++){let d=c[u];if(ws(e.emitsOptions,d))continue;const h=t[d];if(f)if(oe(s,d))h!==s[d]&&(s[d]=h,l=!0);else{const y=it(d);i[y]=ho(f,a,y,h,e,!1)}else h!==s[d]&&(s[d]=h,l=!0)}}}else{Tu(e,t,i,s)&&(l=!0);let c;for(const u in a)(!t||!oe(t,u)&&((c=dn(u))===u||!oe(t,c)))&&(f?n&&(n[u]!==void 0||n[c]!==void 0)&&(i[u]=ho(f,a,u,void 0,e,!0)):delete i[u]);if(s!==a)for(const u in s)(!t||!oe(t,u))&&(delete s[u],l=!0)}l&&Ht(e.attrs,"set","")}function Tu(e,t,n,r){const[i,s]=e.propsOptions;let o=!1,a;if(t)for(let f in t){if(yr(f))continue;const l=t[f];let c;i&&oe(i,c=it(f))?!s||!s.includes(c)?n[c]=l:(a||(a={}))[c]=l:ws(e.emitsOptions,f)||(!(f in r)||l!==r[f])&&(r[f]=l,o=!0)}if(s){const f=re(n),l=a||le;for(let c=0;c<s.length;c++){const u=s[c];n[u]=ho(i,f,u,l[u],e,!oe(l,u))}}return o}function ho(e,t,n,r,i,s){const o=e[n];if(o!=null){const a=oe(o,"default");if(a&&r===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&Q(f)){const{propsDefaults:l}=i;if(n in l)r=l[n];else{const c=zr(i);r=l[n]=f.call(null,t),c()}}else r=f;i.ce&&i.ce._setProp(n,r)}o[0]&&(s&&!a?r=!1:o[1]&&(r===""||r===dn(n))&&(r=!0))}return r}const eg=new WeakMap;function Au(e,t,n=!1){const r=n?eg:t.propsCache,i=r.get(e);if(i)return i;const s=e.props,o={},a=[];let f=!1;if(!Q(e)){const c=u=>{f=!0;const[d,h]=Au(u,t,!0);xe(o,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!f)return fe(e)&&r.set(e,Bn),Bn;if(z(s))for(let c=0;c<s.length;c++){const u=it(s[c]);bf(u)&&(o[u]=le)}else if(s)for(const c in s){const u=it(c);if(bf(u)){const d=s[c],h=o[u]=z(d)||Q(d)?{type:d}:xe({},d),y=h.type;let g=!1,v=!0;if(z(y))for(let m=0;m<y.length;++m){const x=y[m],w=Q(x)&&x.name;if(w==="Boolean"){g=!0;break}else w==="String"&&(v=!1)}else g=Q(y)&&y.name==="Boolean";h[0]=g,h[1]=v,(g||oe(h,"default"))&&a.push(u)}}const l=[o,a];return fe(e)&&r.set(e,l),l}function bf(e){return e[0]!=="$"&&!yr(e)}const ca=e=>e==="_"||e==="_ctx"||e==="$stable",la=e=>z(e)?e.map(At):[At(e)],tg=(e,t,n)=>{if(t._n)return t;const r=vp((...i)=>la(t(...i)),n);return r._c=!1,r},Eu=(e,t,n)=>{const r=e._ctx;for(const i in e){if(ca(i))continue;const s=e[i];if(Q(s))t[i]=tg(i,s,r);else if(s!=null){const o=la(s);t[i]=()=>o}}},$u=(e,t)=>{const n=la(t);e.slots.default=()=>n},Cu=(e,t,n)=>{for(const r in t)(n||!ca(r))&&(e[r]=t[r])},ng=(e,t,n)=>{const r=e.slots=Ou();if(e.vnode.shapeFlag&32){const i=t._;i?(Cu(r,t,n),n&&Sl(r,"_",i,!0)):Eu(t,r)}else t&&$u(e,t)},rg=(e,t,n)=>{const{vnode:r,slots:i}=e;let s=!0,o=le;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:Cu(i,t,n):(s=!t.$stable,Eu(t,i)),o=t}else t&&($u(e,t),o={default:1});if(s)for(const a in i)!ca(a)&&o[a]==null&&delete i[a]},Le=fg;function ig(e){return sg(e)}function sg(e,t){const n=ls();n.__VUE__=!0;const{insert:r,remove:i,patchProp:s,createElement:o,createText:a,createComment:f,setText:l,setElementText:c,parentNode:u,nextSibling:d,setScopeId:h=lt,insertStaticContent:y}=e,g=(p,b,O,D=null,M=null,P=null,W=void 0,j=null,B=!!b.dynamicChildren)=>{if(p===b)return;p&&!vn(p,b)&&(D=we(p),ee(p,M,P,!0),p=null),b.patchFlag===-2&&(B=!1,b.dynamicChildren=null);const{type:R,ref:X,shapeFlag:V}=b;switch(R){case _s:v(p,b,O,D);break;case Pe:m(p,b,O,D);break;case Ws:p==null&&x(b,O,D,W);break;case Ve:$(p,b,O,D,M,P,W,j,B);break;default:V&1?T(p,b,O,D,M,P,W,j,B):V&6?Y(p,b,O,D,M,P,W,j,B):(V&64||V&128)&&R.process(p,b,O,D,M,P,W,j,B,pe)}X!=null&&M?_r(X,p&&p.ref,P,b||p,!b):X==null&&p&&p.ref!=null&&_r(p.ref,null,P,p,!0)},v=(p,b,O,D)=>{if(p==null)r(b.el=a(b.children),O,D);else{const M=b.el=p.el;b.children!==p.children&&l(M,b.children)}},m=(p,b,O,D)=>{p==null?r(b.el=f(b.children||""),O,D):b.el=p.el},x=(p,b,O,D)=>{[p.el,p.anchor]=y(p.children,b,O,D,p.el,p.anchor)},w=({el:p,anchor:b},O,D)=>{let M;for(;p&&p!==b;)M=d(p),r(p,O,D),p=M;r(b,O,D)},_=({el:p,anchor:b})=>{let O;for(;p&&p!==b;)O=d(p),i(p),p=O;i(b)},T=(p,b,O,D,M,P,W,j,B)=>{if(b.type==="svg"?W="svg":b.type==="math"&&(W="mathml"),p==null)E(b,O,D,M,P,W,j,B);else{const R=p.el&&p.el._isVueCE?p.el:null;try{R&&R._beginPatch(),L(p,b,M,P,W,j,B)}finally{R&&R._endPatch()}}},E=(p,b,O,D,M,P,W,j)=>{let B,R;const{props:X,shapeFlag:V,transition:G,dirs:Z}=p;if(B=p.el=o(p.type,P,X&&X.is,X),V&8?c(B,p.children):V&16&&q(p.children,B,null,D,M,qs(p,P),W,j),Z&&pn(p,null,D,"created"),H(B,p,p.scopeId,W,D),X){for(const ae in X)ae!=="value"&&!yr(ae)&&s(B,ae,null,X[ae],P,D);"value"in X&&s(B,"value",null,X.value,P),(R=X.onVnodeBeforeMount)&&Ot(R,D,p)}Z&&pn(p,null,D,"beforeMount");const te=og(M,G);te&&G.beforeEnter(B),r(B,b,O),((R=X&&X.onVnodeMounted)||te||Z)&&Le(()=>{R&&Ot(R,D,p),te&&G.enter(B),Z&&pn(p,null,D,"mounted")},M)},H=(p,b,O,D,M)=>{if(O&&h(p,O),D)for(let P=0;P<D.length;P++)h(p,D[P]);if(M){let P=M.subTree;if(b===P||Pu(P.type)&&(P.ssContent===b||P.ssFallback===b)){const W=M.vnode;H(p,W,W.scopeId,W.slotScopeIds,M.parent)}}},q=(p,b,O,D,M,P,W,j,B=0)=>{for(let R=B;R<p.length;R++){const X=p[R]=j?nn(p[R]):At(p[R]);g(null,X,b,O,D,M,P,W,j)}},L=(p,b,O,D,M,P,W)=>{const j=b.el=p.el;let{patchFlag:B,dynamicChildren:R,dirs:X}=b;B|=p.patchFlag&16;const V=p.props||le,G=b.props||le;let Z;if(O&&gn(O,!1),(Z=G.onVnodeBeforeUpdate)&&Ot(Z,O,b,p),X&&pn(b,p,O,"beforeUpdate"),O&&gn(O,!0),(V.innerHTML&&G.innerHTML==null||V.textContent&&G.textContent==null)&&c(j,""),R?k(p.dynamicChildren,R,j,O,D,qs(b,M),P):W||A(p,b,j,null,O,D,qs(b,M),P,!1),B>0){if(B&16)N(j,V,G,O,M);else if(B&2&&V.class!==G.class&&s(j,"class",null,G.class,M),B&4&&s(j,"style",V.style,G.style,M),B&8){const te=b.dynamicProps;for(let ae=0;ae<te.length;ae++){const ie=te[ae],qe=V[ie],We=G[ie];(We!==qe||ie==="value")&&s(j,ie,qe,We,M,O)}}B&1&&p.children!==b.children&&c(j,b.children)}else!W&&R==null&&N(j,V,G,O,M);((Z=G.onVnodeUpdated)||X)&&Le(()=>{Z&&Ot(Z,O,b,p),X&&pn(b,p,O,"updated")},D)},k=(p,b,O,D,M,P,W)=>{for(let j=0;j<b.length;j++){const B=p[j],R=b[j],X=B.el&&(B.type===Ve||!vn(B,R)||B.shapeFlag&198)?u(B.el):O;g(B,R,X,null,D,M,P,W,!0)}},N=(p,b,O,D,M)=>{if(b!==O){if(b!==le)for(const P in b)!yr(P)&&!(P in O)&&s(p,P,b[P],null,M,D);for(const P in O){if(yr(P))continue;const W=O[P],j=b[P];W!==j&&P!=="value"&&s(p,P,j,W,M,D)}"value"in O&&s(p,"value",b.value,O.value,M)}},$=(p,b,O,D,M,P,W,j,B)=>{const R=b.el=p?p.el:a(""),X=b.anchor=p?p.anchor:a("");let{patchFlag:V,dynamicChildren:G,slotScopeIds:Z}=b;Z&&(j=j?j.concat(Z):Z),p==null?(r(R,O,D),r(X,O,D),q(b.children||[],O,X,M,P,W,j,B)):V>0&&V&64&&G&&p.dynamicChildren?(k(p.dynamicChildren,G,O,M,P,W,j),(b.key!=null||M&&b===M.subTree)&&ua(p,b,!0)):A(p,b,O,X,M,P,W,j,B)},Y=(p,b,O,D,M,P,W,j,B)=>{b.slotScopeIds=j,p==null?b.shapeFlag&512?M.ctx.activate(b,O,D,W,B):I(b,O,D,M,P,W,B):F(p,b,B)},I=(p,b,O,D,M,P,W)=>{const j=p.component=mg(p,D,M);if(vs(p)&&(j.ctx.renderer=pe),yg(j,!1,W),j.asyncDep){if(M&&M.registerDep(j,S,W),!p.el){const B=j.subTree=Ne(Pe);m(null,B,b,O),p.placeholder=B.el}}else S(j,p,b,O,M,P,W)},F=(p,b,O)=>{const D=b.component=p.component;if(Xp(p,b,O))if(D.asyncDep&&!D.asyncResolved){C(D,b,O);return}else D.next=b,D.update();else b.el=p.el,D.vnode=b},S=(p,b,O,D,M,P,W)=>{const j=()=>{if(p.isMounted){let{next:V,bu:G,u:Z,parent:te,vnode:ae}=p;{const _t=Mu(p);if(_t){V&&(V.el=ae.el,C(p,V,W)),_t.asyncDep.then(()=>{p.isUnmounted||j()});return}}let ie=V,qe;gn(p,!1),V?(V.el=ae.el,C(p,V,W)):V=ae,G&&_i(G),(qe=V.props&&V.props.onVnodeBeforeUpdate)&&Ot(qe,te,V,ae),gn(p,!0);const We=yf(p),wt=p.subTree;p.subTree=We,g(wt,We,u(wt.el),we(wt),p,M,P),V.el=We.el,ie===null&&Jp(p,We.el),Z&&Le(Z,M),(qe=V.props&&V.props.onVnodeUpdated)&&Le(()=>Ot(qe,te,V,ae),M)}else{let V;const{el:G,props:Z}=b,{bm:te,m:ae,parent:ie,root:qe,type:We}=p,wt=jn(b);gn(p,!1),te&&_i(te),!wt&&(V=Z&&Z.onVnodeBeforeMount)&&Ot(V,ie,b),gn(p,!0);{qe.ce&&qe.ce._def.shadowRoot!==!1&&qe.ce._injectChildStyle(We);const _t=p.subTree=yf(p);g(null,_t,O,D,p,M,P),b.el=_t.el}if(ae&&Le(ae,M),!wt&&(V=Z&&Z.onVnodeMounted)){const _t=b;Le(()=>Ot(V,ie,_t),M)}(b.shapeFlag&256||ie&&jn(ie.vnode)&&ie.vnode.shapeFlag&256)&&p.a&&Le(p.a,M),p.isMounted=!0,b=O=D=null}};p.scope.on();const B=p.effect=new Pl(j);p.scope.off();const R=p.update=B.run.bind(B),X=p.job=B.runIfDirty.bind(B);X.i=p,X.id=p.uid,B.scheduler=()=>ra(X),gn(p,!0),R()},C=(p,b,O)=>{b.component=p;const D=p.vnode.props;p.vnode=b,p.next=null,Qp(p,b.props,D,O),rg(p,b.children,O),Ut(),of(p),Vt()},A=(p,b,O,D,M,P,W,j,B=!1)=>{const R=p&&p.children,X=p?p.shapeFlag:0,V=b.children,{patchFlag:G,shapeFlag:Z}=b;if(G>0){if(G&128){K(R,V,O,D,M,P,W,j,B);return}else if(G&256){U(R,V,O,D,M,P,W,j,B);return}}Z&8?(X&16&&_e(R,M,P),V!==R&&c(O,V)):X&16?Z&16?K(R,V,O,D,M,P,W,j,B):_e(R,M,P,!0):(X&8&&c(O,""),Z&16&&q(V,O,D,M,P,W,j,B))},U=(p,b,O,D,M,P,W,j,B)=>{p=p||Bn,b=b||Bn;const R=p.length,X=b.length,V=Math.min(R,X);let G;for(G=0;G<V;G++){const Z=b[G]=B?nn(b[G]):At(b[G]);g(p[G],Z,O,null,M,P,W,j,B)}R>X?_e(p,M,P,!0,!1,V):q(b,O,D,M,P,W,j,B,V)},K=(p,b,O,D,M,P,W,j,B)=>{let R=0;const X=b.length;let V=p.length-1,G=X-1;for(;R<=V&&R<=G;){const Z=p[R],te=b[R]=B?nn(b[R]):At(b[R]);if(vn(Z,te))g(Z,te,O,null,M,P,W,j,B);else break;R++}for(;R<=V&&R<=G;){const Z=p[V],te=b[G]=B?nn(b[G]):At(b[G]);if(vn(Z,te))g(Z,te,O,null,M,P,W,j,B);else break;V--,G--}if(R>V){if(R<=G){const Z=G+1,te=Z<X?b[Z].el:D;for(;R<=G;)g(null,b[R]=B?nn(b[R]):At(b[R]),O,te,M,P,W,j,B),R++}}else if(R>G)for(;R<=V;)ee(p[R],M,P,!0),R++;else{const Z=R,te=R,ae=new Map;for(R=te;R<=G;R++){const Ge=b[R]=B?nn(b[R]):At(b[R]);Ge.key!=null&&ae.set(Ge.key,R)}let ie,qe=0;const We=G-te+1;let wt=!1,_t=0;const fr=new Array(We);for(R=0;R<We;R++)fr[R]=0;for(R=Z;R<=V;R++){const Ge=p[R];if(qe>=We){ee(Ge,M,P,!0);continue}let xt;if(Ge.key!=null)xt=ae.get(Ge.key);else for(ie=te;ie<=G;ie++)if(fr[ie-te]===0&&vn(Ge,b[ie])){xt=ie;break}xt===void 0?ee(Ge,M,P,!0):(fr[xt-te]=R+1,xt>=_t?_t=xt:wt=!0,g(Ge,b[xt],O,null,M,P,W,j,B),qe++)}const Za=wt?ag(fr):Bn;for(ie=Za.length-1,R=We-1;R>=0;R--){const Ge=te+R,xt=b[Ge],Qa=b[Ge+1],ef=Ge+1<X?Qa.el||Qa.placeholder:D;fr[R]===0?g(null,xt,O,ef,M,P,W,j,B):wt&&(ie<0||R!==Za[ie]?J(xt,O,ef,2):ie--)}}},J=(p,b,O,D,M=null)=>{const{el:P,type:W,transition:j,children:B,shapeFlag:R}=p;if(R&6){J(p.component.subTree,b,O,D);return}if(R&128){p.suspense.move(b,O,D);return}if(R&64){W.move(p,b,O,pe);return}if(W===Ve){r(P,b,O);for(let V=0;V<B.length;V++)J(B[V],b,O,D);r(p.anchor,b,O);return}if(W===Ws){w(p,b,O);return}if(D!==2&&R&1&&j)if(D===0)j.beforeEnter(P),r(P,b,O),Le(()=>j.enter(P),M);else{const{leave:V,delayLeave:G,afterLeave:Z}=j,te=()=>{p.ctx.isUnmounted?i(P):r(P,b,O)},ae=()=>{P._isLeaving&&P[kt](!0),V(P,()=>{te(),Z&&Z()})};G?G(P,te,ae):ae()}else r(P,b,O)},ee=(p,b,O,D=!1,M=!1)=>{const{type:P,props:W,ref:j,children:B,dynamicChildren:R,shapeFlag:X,patchFlag:V,dirs:G,cacheIndex:Z}=p;if(V===-2&&(M=!1),j!=null&&(Ut(),_r(j,null,O,p,!0),Vt()),Z!=null&&(b.renderCache[Z]=void 0),X&256){b.ctx.deactivate(p);return}const te=X&1&&G,ae=!jn(p);let ie;if(ae&&(ie=W&&W.onVnodeBeforeUnmount)&&Ot(ie,b,p),X&6)ue(p.component,O,D);else{if(X&128){p.suspense.unmount(O,D);return}te&&pn(p,null,b,"beforeUnmount"),X&64?p.type.remove(p,b,O,pe,D):R&&!R.hasOnce&&(P!==Ve||V>0&&V&64)?_e(R,b,O,!1,!0):(P===Ve&&V&384||!M&&X&16)&&_e(B,b,O),D&&se(p)}(ae&&(ie=W&&W.onVnodeUnmounted)||te)&&Le(()=>{ie&&Ot(ie,b,p),te&&pn(p,null,b,"unmounted")},O)},se=p=>{const{type:b,el:O,anchor:D,transition:M}=p;if(b===Ve){ce(O,D);return}if(b===Ws){_(p);return}const P=()=>{i(O),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(p.shapeFlag&1&&M&&!M.persisted){const{leave:W,delayLeave:j}=M,B=()=>W(O,P);j?j(p.el,P,B):B()}else P()},ce=(p,b)=>{let O;for(;p!==b;)O=d(p),i(p),p=O;i(b)},ue=(p,b,O)=>{const{bum:D,scope:M,job:P,subTree:W,um:j,m:B,a:R}=p;wf(B),wf(R),D&&_i(D),M.stop(),P&&(P.flags|=8,ee(W,p,b,O)),j&&Le(j,b),Le(()=>{p.isUnmounted=!0},b)},_e=(p,b,O,D=!1,M=!1,P=0)=>{for(let W=P;W<p.length;W++)ee(p[W],b,O,D,M)},we=p=>{if(p.shapeFlag&6)return we(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const b=d(p.anchor||p.el),O=b&&b[eu];return O?d(O):b};let Se=!1;const De=(p,b,O)=>{p==null?b._vnode&&ee(b._vnode,null,null,!0):g(b._vnode||null,p,b,null,null,null,O),b._vnode=p,Se||(Se=!0,of(),Jl(),Se=!1)},pe={p:g,um:ee,m:J,r:se,mt:I,mc:q,pc:A,pbc:k,n:we,o:e};return{render:De,hydrate:void 0,createApp:kp(De)}}function qs({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 gn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function og(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ua(e,t,n=!1){const r=e.children,i=t.children;if(z(r)&&z(i))for(let s=0;s<r.length;s++){const o=r[s];let a=i[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[s]=nn(i[s]),a.el=o.el),!n&&a.patchFlag!==-2&&ua(o,a)),a.type===_s&&a.patchFlag!==-1&&(a.el=o.el),a.type===Pe&&!a.el&&(a.el=o.el)}}function ag(e){const t=e.slice(),n=[0];let r,i,s,o,a;const f=e.length;for(r=0;r<f;r++){const l=e[r];if(l!==0){if(i=n[n.length-1],e[i]<l){t[r]=i,n.push(r);continue}for(s=0,o=n.length-1;s<o;)a=s+o>>1,e[n[a]]<l?s=a+1:o=a;l<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,o=n[s-1];s-- >0;)n[s]=o,o=t[o];return n}function Mu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Mu(t)}function wf(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Pu=e=>e.__isSuspense;function fg(e,t){t&&t.pendingBranch?z(e)?t.effects.push(...e):t.effects.push(e):yp(e)}const Ve=Symbol.for("v-fgt"),_s=Symbol.for("v-txt"),Pe=Symbol.for("v-cmt"),Ws=Symbol.for("v-stc"),Or=[];let Xe=null;function po(e=!1){Or.push(Xe=e?null:[])}function cg(){Or.pop(),Xe=Or[Or.length-1]||null}let Lr=1;function zi(e,t=!1){Lr+=e,e<0&&Xe&&t&&(Xe.hasOnce=!0)}function Ru(e){return e.dynamicChildren=Lr>0?Xe||Bn:null,cg(),Lr>0&&Xe&&Xe.push(e),e}function _S(e,t,n,r,i,s){return Ru(Fu(e,t,n,r,i,s,!0))}function go(e,t,n,r,i){return Ru(Ne(e,t,n,r,i,!0))}function Ir(e){return e?e.__v_isVNode===!0:!1}function vn(e,t){return e.type===t.type&&e.key===t.key}const Du=({key:e})=>e??null,Si=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||be(e)||Q(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function Fu(e,t=null,n=null,r=0,i=null,s=e===Ve?0:1,o=!1,a=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Du(t),ref:t&&Si(t),scopeId:Ql,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:s,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ee};return a?(da(f,n),s&128&&e.normalize(f)):n&&(f.shapeFlag|=ye(n)?8:16),Lr>0&&!o&&Xe&&(f.patchFlag>0||s&6)&&f.patchFlag!==32&&Xe.push(f),f}const Ne=lg;function lg(e,t=null,n=null,r=0,i=null,s=!1){if((!e||e===pu)&&(e=Pe),Ir(e)){const a=cn(e,t,!0);return n&&da(a,n),Lr>0&&!s&&Xe&&(a.shapeFlag&6?Xe[Xe.indexOf(e)]=a:Xe.push(a)),a.patchFlag=-2,a}if(_g(e)&&(e=e.__vccOpts),t){t=ug(t);let{class:a,style:f}=t;a&&!ye(a)&&(t.class=ds(a)),fe(f)&&(gs(f)&&!z(f)&&(f=xe({},f)),t.style=us(f))}const o=ye(e)?1:Pu(e)?128:tu(e)?64:fe(e)?4:Q(e)?2:0;return Fu(e,t,n,r,i,o,s,!0)}function ug(e){return e?gs(e)||Su(e)?xe({},e):e:null}function cn(e,t,n=!1,r=!1){const{props:i,ref:s,patchFlag:o,children:a,transition:f}=e,l=t?hg(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Du(l),ref:t&&t.ref?n&&s?z(s)?s.concat(Si(t)):[s,Si(t)]:Si(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ve?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&cn(e.ssContent),ssFallback:e.ssFallback&&cn(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&r&&En(c,f.clone(c)),c}function dg(e=" ",t=0){return Ne(_s,null,e,t)}function xS(e="",t=!1){return t?(po(),go(Pe,null,e)):Ne(Pe,null,e)}function At(e){return e==null||typeof e=="boolean"?Ne(Pe):z(e)?Ne(Ve,null,e.slice()):Ir(e)?nn(e):Ne(_s,null,String(e))}function nn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:cn(e)}function da(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(z(t))n=16;else if(typeof t=="object")if(r&65){const i=t.default;i&&(i._c&&(i._d=!1),da(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Su(t)?t._ctx=Ee:i===3&&Ee&&(Ee.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),r&64?(n=16,t=[dg(t)]):n=8);e.children=t,e.shapeFlag|=n}function hg(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const i in r)if(i==="class")t.class!==r.class&&(t.class=ds([t.class,r.class]));else if(i==="style")t.style=us([t.style,r.style]);else if(ss(i)){const s=t[i],o=r[i];o&&s!==o&&!(z(s)&&s.includes(o))&&(t[i]=s?[].concat(s,o):o)}else i!==""&&(t[i]=r[i])}return t}function Ot(e,t,n,r=null){gt(e,t,7,[n,r])}const pg=bu();let gg=0;function mg(e,t,n){const r=e.type,i=(t?t.appContext:e.appContext)||pg,s={uid:gg++,vnode:e,type:r,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Cl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Au(r,i),emitsOptions:_u(r,i),emit:null,emitted:null,propsDefaults:le,inheritAttrs:r.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Yp.bind(null,s),e.ce&&e.ce(s),s}let Re=null;const Pn=()=>Re||Ee;let Xi,mo;{const e=ls(),t=(n,r)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(r),s=>{i.length>1?i.forEach(o=>o(s)):i[0](s)}};Xi=t("__VUE_INSTANCE_SETTERS__",n=>Re=n),mo=t("__VUE_SSR_SETTERS__",n=>Nr=n)}const zr=e=>{const t=Re;return Xi(e),e.scope.on(),()=>{e.scope.off(),Xi(t)}},_f=()=>{Re&&Re.scope.off(),Xi(null)};function Lu(e){return e.vnode.shapeFlag&4}let Nr=!1;function yg(e,t=!1,n=!1){t&&mo(t);const{props:r,children:i}=e.vnode,s=Lu(e);Zp(e,r,s,t),ng(e,i,n||t);const o=s?vg(e,t):void 0;return t&&mo(!1),o}function vg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Rp);const{setup:r}=n;if(r){Ut();const i=e.setupContext=r.length>1?Nu(e):null,s=zr(e),o=Gr(r,e,0,[e.props,i]),a=_l(o);if(Vt(),s(),(a||e.sp)&&!jn(e)&&cu(e),a){if(o.then(_f,_f),t)return o.then(f=>{xf(e,f)}).catch(f=>{ys(f,e,0)});e.asyncDep=o}else xf(e,o)}else Iu(e)}function xf(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:fe(t)&&(e.setupState=Yl(t)),Iu(e)}function Iu(e,t,n){const r=e.type;e.render||(e.render=r.render||lt);{const i=zr(e);Ut();try{Dp(e)}finally{Vt(),i()}}}const bg={get(e,t){return Me(e,"get",""),e[t]}};function Nu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,bg),slots:e.slots,emit:e.emit,expose:t}}function xs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yl(rp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xr)return xr[n](e)},has(t,n){return n in t||n in xr}})):e.proxy}function wg(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function _g(e){return Q(e)&&"__vccOpts"in e}const Xr=(e,t)=>dp(e,t,Nr);function xg(e,t,n){try{zi(-1);const r=arguments.length;return r===2?fe(t)&&!z(t)?Ir(t)?Ne(e,null,[t]):Ne(e,t):Ne(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ir(n)&&(n=[n]),Ne(e,t,n))}finally{zi(1)}}const Og="3.5.25",OS=lt;let yo;const Of=typeof window<"u"&&window.trustedTypes;if(Of)try{yo=Of.createPolicy("vue",{createHTML:e=>e})}catch{}const Bu=yo?e=>yo.createHTML(e):e=>e,Sg="http://www.w3.org/2000/svg",Tg="http://www.w3.org/1998/Math/MathML",Bt=typeof document<"u"?document:null,Sf=Bt&&Bt.createElement("template"),Ag={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const i=t==="svg"?Bt.createElementNS(Sg,e):t==="mathml"?Bt.createElementNS(Tg,e):n?Bt.createElement(e,{is:n}):Bt.createElement(e);return e==="select"&&r&&r.multiple!=null&&i.setAttribute("multiple",r.multiple),i},createText:e=>Bt.createTextNode(e),createComment:e=>Bt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,i,s){const o=n?n.previousSibling:t.lastChild;if(i&&(i===s||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===s||!(i=i.nextSibling)););else{Sf.innerHTML=Bu(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Sf.content;if(r==="svg"||r==="mathml"){const f=a.firstChild;for(;f.firstChild;)a.appendChild(f.firstChild);a.removeChild(f)}t.insertBefore(a,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Zt="transition",lr="animation",Kn=Symbol("_vtc"),ku={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Hu=xe({},su,ku),Eg=e=>(e.displayName="Transition",e.props=Hu,e),SS=Eg((e,{slots:t})=>xg(_p,ju(e),t)),mn=(e,t=[])=>{z(e)?e.forEach(n=>n(...t)):e&&e(...t)},Tf=e=>e?z(e)?e.some(t=>t.length>1):e.length>1:!1;function ju(e){const t={};for(const $ in e)$ in ku||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:r,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:f=s,appearActiveClass:l=o,appearToClass:c=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,y=$g(i),g=y&&y[0],v=y&&y[1],{onBeforeEnter:m,onEnter:x,onEnterCancelled:w,onLeave:_,onLeaveCancelled:T,onBeforeAppear:E=m,onAppear:H=x,onAppearCancelled:q=w}=t,L=($,Y,I,F)=>{$._enterCancelled=F,Qt($,Y?c:a),Qt($,Y?l:o),I&&I()},k=($,Y)=>{$._isLeaving=!1,Qt($,u),Qt($,h),Qt($,d),Y&&Y()},N=$=>(Y,I)=>{const F=$?H:x,S=()=>L(Y,$,I);mn(F,[Y,S]),Af(()=>{Qt(Y,$?f:s),St(Y,$?c:a),Tf(F)||Ef(Y,r,g,S)})};return xe(t,{onBeforeEnter($){mn(m,[$]),St($,s),St($,o)},onBeforeAppear($){mn(E,[$]),St($,f),St($,l)},onEnter:N(!1),onAppear:N(!0),onLeave($,Y){$._isLeaving=!0;const I=()=>k($,Y);St($,u),$._enterCancelled?(St($,d),vo($)):(vo($),St($,d)),Af(()=>{$._isLeaving&&(Qt($,u),St($,h),Tf(_)||Ef($,r,v,I))}),mn(_,[$,I])},onEnterCancelled($){L($,!1,void 0,!0),mn(w,[$])},onAppearCancelled($){L($,!0,void 0,!0),mn(q,[$])},onLeaveCancelled($){k($),mn(T,[$])}})}function $g(e){if(e==null)return null;if(fe(e))return[Us(e.enter),Us(e.leave)];{const t=Us(e);return[t,t]}}function Us(e){return Eh(e)}function St(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Kn]||(e[Kn]=new Set)).add(t)}function Qt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Kn];n&&(n.delete(t),n.size||(e[Kn]=void 0))}function Af(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Cg=0;function Ef(e,t,n,r){const i=e._endId=++Cg,s=()=>{i===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:o,timeout:a,propCount:f}=qu(e,t);if(!o)return r();const l=o+"end";let c=0;const u=()=>{e.removeEventListener(l,d),s()},d=h=>{h.target===e&&++c>=f&&u()};setTimeout(()=>{c<f&&u()},a+1),e.addEventListener(l,d)}function qu(e,t){const n=window.getComputedStyle(e),r=y=>(n[y]||"").split(", "),i=r(`${Zt}Delay`),s=r(`${Zt}Duration`),o=$f(i,s),a=r(`${lr}Delay`),f=r(`${lr}Duration`),l=$f(a,f);let c=null,u=0,d=0;t===Zt?o>0&&(c=Zt,u=o,d=s.length):t===lr?l>0&&(c=lr,u=l,d=f.length):(u=Math.max(o,l),c=u>0?o>l?Zt:lr:null,d=c?c===Zt?s.length:f.length:0);const h=c===Zt&&/\b(?:transform|all)(?:,|$)/.test(r(`${Zt}Property`).toString());return{type:c,timeout:u,propCount:d,hasTransform:h}}function $f(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Cf(n)+Cf(e[r])))}function Cf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function vo(e){return(e?e.ownerDocument:document).body.offsetHeight}function Mg(e,t,n){const r=e[Kn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ji=Symbol("_vod"),Wu=Symbol("_vsh"),TS={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ji]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ur(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),ur(e,!0),r.enter(e)):r.leave(e,()=>{ur(e,!1)}):ur(e,t))},beforeUnmount(e,{value:t}){ur(e,t)}};function ur(e,t){e.style.display=t?e[Ji]:"none",e[Wu]=!t}const Pg=Symbol(""),Rg=/(?:^|;)\s*display\s*:/;function Dg(e,t,n){const r=e.style,i=ye(n);let s=!1;if(n&&!i){if(t)if(ye(t))for(const o of t.split(";")){const a=o.slice(0,o.indexOf(":")).trim();n[a]==null&&Ti(r,a,"")}else for(const o in t)n[o]==null&&Ti(r,o,"");for(const o in n)o==="display"&&(s=!0),Ti(r,o,n[o])}else if(i){if(t!==n){const o=r[Pg];o&&(n+=";"+o),r.cssText=n,s=Rg.test(n)}}else t&&e.removeAttribute("style");Ji in e&&(e[Ji]=s?r.display:"",e[Wu]&&(r.display="none"))}const Mf=/\s*!important$/;function Ti(e,t,n){if(z(n))n.forEach(r=>Ti(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Fg(e,t);Mf.test(n)?e.setProperty(dn(r),n.replace(Mf,""),"important"):e[r]=n}}const Pf=["Webkit","Moz","ms"],Vs={};function Fg(e,t){const n=Vs[t];if(n)return n;let r=it(t);if(r!=="filter"&&r in e)return Vs[t]=r;r=cs(r);for(let i=0;i<Pf.length;i++){const s=Pf[i]+r;if(s in e)return Vs[t]=s}return t}const Rf="http://www.w3.org/1999/xlink";function Df(e,t,n,r,i,s=Dh(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Rf,t.slice(6,t.length)):e.setAttributeNS(Rf,t,n):n==null||s&&!Tl(n)?e.removeAttribute(t):e.setAttribute(t,s?"":ht(n)?String(n):n)}function Ff(e,t,n,r,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Bu(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,f=n==null?e.type==="checkbox"?"on":"":String(n);(a!==f||!("_value"in e))&&(e.value=f),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Tl(n):n==null&&a==="string"?(n="",o=!0):a==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function rn(e,t,n,r){e.addEventListener(t,n,r)}function Lg(e,t,n,r){e.removeEventListener(t,n,r)}const Lf=Symbol("_vei");function Ig(e,t,n,r,i=null){const s=e[Lf]||(e[Lf]={}),o=s[t];if(r&&o)o.value=r;else{const[a,f]=Ng(t);if(r){const l=s[t]=Hg(r,i);rn(e,a,l,f)}else o&&(Lg(e,a,o,f),s[t]=void 0)}}const If=/(?:Once|Passive|Capture)$/;function Ng(e){let t;if(If.test(e)){t={};let r;for(;r=e.match(If);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):dn(e.slice(2)),t]}let Ys=0;const Bg=Promise.resolve(),kg=()=>Ys||(Bg.then(()=>Ys=0),Ys=Date.now());function Hg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gt(jg(r,n.value),t,5,[r])};return n.value=e,n.attached=kg(),n}function jg(e,t){if(z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>i=>!i._stopped&&r&&r(i))}else return t}const Nf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qg=(e,t,n,r,i,s)=>{const o=i==="svg";t==="class"?Mg(e,r,o):t==="style"?Dg(e,n,r):ss(t)?zo(t)||Ig(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Wg(e,t,r,o))?(Ff(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Df(e,t,r,o,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ye(r))?Ff(e,it(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Df(e,t,r,o))};function Wg(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Nf(t)&&Q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Nf(t)&&ye(n)?!1:t in e}const Uu=new WeakMap,Vu=new WeakMap,Zi=Symbol("_moveCb"),Bf=Symbol("_enterCb"),Ug=e=>(delete e.props.mode,e),Vg=Ug({name:"TransitionGroup",props:xe({},Hu,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Pn(),r=iu();let i,s;return uu(()=>{if(!i.length)return;const o=e.moveClass||`${e.name||"v"}-move`;if(!zg(i[0].el,n.vnode.el,o)){i=[];return}i.forEach(Yg),i.forEach(Kg);const a=i.filter(Gg);vo(n.vnode.el),a.forEach(f=>{const l=f.el,c=l.style;St(l,o),c.transform=c.webkitTransform=c.transitionDuration="";const u=l[Zi]=d=>{d&&d.target!==l||(!d||d.propertyName.endsWith("transform"))&&(l.removeEventListener("transitionend",u),l[Zi]=null,Qt(l,o))};l.addEventListener("transitionend",u)}),i=[]}),()=>{const o=re(e),a=ju(o);let f=o.tag||Ve;if(i=[],s)for(let l=0;l<s.length;l++){const c=s[l];c.el&&c.el instanceof Element&&(i.push(c),En(c,Fr(c,a,r,n)),Uu.set(c,{left:c.el.offsetLeft,top:c.el.offsetTop}))}s=t.default?ia(t.default()):[];for(let l=0;l<s.length;l++){const c=s[l];c.key!=null&&En(c,Fr(c,a,r,n))}return Ne(f,null,s)}}}),AS=Vg;function Yg(e){const t=e.el;t[Zi]&&t[Zi](),t[Bf]&&t[Bf]()}function Kg(e){Vu.set(e,{left:e.el.offsetLeft,top:e.el.offsetTop})}function Gg(e){const t=Uu.get(e),n=Vu.get(e),r=t.left-n.left,i=t.top-n.top;if(r||i){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${i}px)`,s.transitionDuration="0s",e}}function zg(e,t,n){const r=e.cloneNode(),i=e[Kn];i&&i.forEach(a=>{a.split(/\s+/).forEach(f=>f&&r.classList.remove(f))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=qu(r);return s.removeChild(r),o}const Gn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return z(t)?n=>_i(t,n):t};function Xg(e){e.target.composing=!0}function kf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qt=Symbol("_assign");function Hf(e,t,n){return t&&(e=e.trim()),n&&(e=Jo(e)),e}const ES={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[qt]=Gn(i);const s=r||i.props&&i.props.type==="number";rn(e,t?"change":"input",o=>{o.target.composing||e[qt](Hf(e.value,n,s))}),(n||s)&&rn(e,"change",()=>{e.value=Hf(e.value,n,s)}),t||(rn(e,"compositionstart",Xg),rn(e,"compositionend",kf),rn(e,"change",kf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:s}},o){if(e[qt]=Gn(o),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?Jo(e.value):e.value,f=t??"";a!==f&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||i&&e.value.trim()===f)||(e.value=f))}},$S={deep:!0,created(e,t,n){e[qt]=Gn(n),rn(e,"change",()=>{const r=e._modelValue,i=Yu(e),s=e.checked,o=e[qt];if(z(r)){const a=Al(r,i),f=a!==-1;if(s&&!f)o(r.concat(i));else if(!s&&f){const l=[...r];l.splice(a,1),o(l)}}else if(os(r)){const a=new Set(r);s?a.add(i):a.delete(i),o(a)}else o(Ku(e,s))})},mounted:jf,beforeUpdate(e,t,n){e[qt]=Gn(n),jf(e,t,n)}};function jf(e,{value:t,oldValue:n},r){e._modelValue=t;let i;if(z(t))i=Al(t,r.props.value)>-1;else if(os(t))i=t.has(r.props.value);else{if(t===n)return;i=Vn(t,Ku(e,!0))}e.checked!==i&&(e.checked=i)}const CS={created(e,{value:t},n){e.checked=Vn(t,n.props.value),e[qt]=Gn(n),rn(e,"change",()=>{e[qt](Yu(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[qt]=Gn(r),t!==n&&(e.checked=Vn(t,r.props.value))}};function Yu(e){return"_value"in e?e._value:e.value}function Ku(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Jg=["ctrl","shift","alt","meta"],Zg={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Jg.some(n=>e[`${n}Key`]&&!t.includes(n))},MS=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=((i,...s)=>{for(let o=0;o<t.length;o++){const a=Zg[t[o]];if(a&&a(i,t))return}return e(i,...s)}))},Qg={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},PS=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=(i=>{if(!("key"in i))return;const s=dn(i.key);if(t.some(o=>o===s||Qg[o]===s))return e(i)}))},em=xe({patchProp:qg},Ag);let qf;function Gu(){return qf||(qf=ig(em))}const RS=((...e)=>{Gu().render(...e)}),DS=((...e)=>{const t=Gu().createApp(...e),{mount:n}=t;return t.mount=r=>{const i=nm(r);if(!i)return;const s=t._component;!Q(s)&&!s.render&&!s.template&&(s.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,tm(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function tm(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function nm(e){return ye(e)?document.querySelector(e):e}var zu=typeof global=="object"&&global&&global.Object===Object&&global,rm=typeof self=="object"&&self&&self.Object===Object&&self,vt=zu||rm||Function("return this")(),st=vt.Symbol,Xu=Object.prototype,im=Xu.hasOwnProperty,sm=Xu.toString,dr=st?st.toStringTag:void 0;function om(e){var t=im.call(e,dr),n=e[dr];try{e[dr]=void 0;var r=!0}catch{}var i=sm.call(e);return r&&(t?e[dr]=n:delete e[dr]),i}var am=Object.prototype,fm=am.toString;function cm(e){return fm.call(e)}var lm="[object Null]",um="[object Undefined]",Wf=st?st.toStringTag:void 0;function Rn(e){return e==null?e===void 0?um:lm:Wf&&Wf in Object(e)?om(e):cm(e)}function Mt(e){return e!=null&&typeof e=="object"}var dm="[object Symbol]";function Os(e){return typeof e=="symbol"||Mt(e)&&Rn(e)==dm}function ha(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var He=Array.isArray,Uf=st?st.prototype:void 0,Vf=Uf?Uf.toString:void 0;function Ju(e){if(typeof e=="string")return e;if(He(e))return ha(e,Ju)+"";if(Os(e))return Vf?Vf.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var hm=/\s/;function pm(e){for(var t=e.length;t--&&hm.test(e.charAt(t)););return t}var gm=/^\s+/;function mm(e){return e&&e.slice(0,pm(e)+1).replace(gm,"")}function je(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Yf=NaN,ym=/^[-+]0x[0-9a-f]+$/i,vm=/^0b[01]+$/i,bm=/^0o[0-7]+$/i,wm=parseInt;function Sr(e){if(typeof e=="number")return e;if(Os(e))return Yf;if(je(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=je(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=mm(e);var n=vm.test(e);return n||bm.test(e)?wm(e.slice(2),n?2:8):ym.test(e)?Yf:+e}function pa(e){return e}var _m="[object AsyncFunction]",xm="[object Function]",Om="[object GeneratorFunction]",Sm="[object Proxy]";function ga(e){if(!je(e))return!1;var t=Rn(e);return t==xm||t==Om||t==_m||t==Sm}var Ks=vt["__core-js_shared__"],Kf=(function(){var e=/[^.]+$/.exec(Ks&&Ks.keys&&Ks.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Tm(e){return!!Kf&&Kf in e}var Am=Function.prototype,Em=Am.toString;function Dn(e){if(e!=null){try{return Em.call(e)}catch{}try{return e+""}catch{}}return""}var $m=/[\\^$.*+?()[\]{}|]/g,Cm=/^\[object .+?Constructor\]$/,Mm=Function.prototype,Pm=Object.prototype,Rm=Mm.toString,Dm=Pm.hasOwnProperty,Fm=RegExp("^"+Rm.call(Dm).replace($m,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Lm(e){if(!je(e)||Tm(e))return!1;var t=ga(e)?Fm:Cm;return t.test(Dn(e))}function Im(e,t){return e?.[t]}function Fn(e,t){var n=Im(e,t);return Lm(n)?n:void 0}var bo=Fn(vt,"WeakMap"),Gf=Object.create,Nm=(function(){function e(){}return function(t){if(!je(t))return{};if(Gf)return Gf(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();function Bm(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 km(){}function Zu(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Hm=800,jm=16,qm=Date.now;function Wm(e){var t=0,n=0;return function(){var r=qm(),i=jm-(r-n);if(n=r,i>0){if(++t>=Hm)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Um(e){return function(){return e}}var Qi=(function(){try{var e=Fn(Object,"defineProperty");return e({},"",{}),e}catch{}})(),Vm=Qi?function(e,t){return Qi(e,"toString",{configurable:!0,enumerable:!1,value:Um(t),writable:!0})}:pa,Qu=Wm(Vm);function Ym(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}function ed(e,t,n,r){for(var i=e.length,s=n+(r?1:-1);r?s--:++s<i;)if(t(e[s],s,e))return s;return-1}function Km(e){return e!==e}function Gm(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}function zm(e,t,n){return t===t?Gm(e,t,n):ed(e,Km,n)}function Xm(e,t){var n=e==null?0:e.length;return!!n&&zm(e,t,0)>-1}var Jm=9007199254740991,Zm=/^(?:0|[1-9]\d*)$/;function Ss(e,t){var n=typeof e;return t=t??Jm,!!t&&(n=="number"||n!="symbol"&&Zm.test(e))&&e>-1&&e%1==0&&e<t}function ma(e,t,n){t=="__proto__"&&Qi?Qi(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Jr(e,t){return e===t||e!==e&&t!==t}var Qm=Object.prototype,ey=Qm.hasOwnProperty;function ya(e,t,n){var r=e[t];(!(ey.call(e,t)&&Jr(r,n))||n===void 0&&!(t in e))&&ma(e,t,n)}function rr(e,t,n,r){var i=!n;n||(n={});for(var s=-1,o=t.length;++s<o;){var a=t[s],f=void 0;f===void 0&&(f=e[a]),i?ma(n,a,f):ya(n,a,f)}return n}var zf=Math.max;function td(e,t,n){return t=zf(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,s=zf(r.length-t,0),o=Array(s);++i<s;)o[i]=r[t+i];i=-1;for(var a=Array(t+1);++i<t;)a[i]=r[i];return a[t]=n(o),Bm(e,this,a)}}function nd(e,t){return Qu(td(e,t,pa),e+"")}var ty=9007199254740991;function va(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ty}function ir(e){return e!=null&&va(e.length)&&!ga(e)}function ny(e,t,n){if(!je(n))return!1;var r=typeof t;return(r=="number"?ir(n)&&Ss(t,n.length):r=="string"&&t in n)?Jr(n[t],e):!1}function ry(e){return nd(function(t,n){var r=-1,i=n.length,s=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&ny(n[0],n[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++r<i;){var a=n[r];a&&e(t,a,r,s)}return t})}var iy=Object.prototype;function ba(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||iy;return e===n}function sy(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var oy="[object Arguments]";function Xf(e){return Mt(e)&&Rn(e)==oy}var rd=Object.prototype,ay=rd.hasOwnProperty,fy=rd.propertyIsEnumerable,Br=Xf((function(){return arguments})())?Xf:function(e){return Mt(e)&&ay.call(e,"callee")&&!fy.call(e,"callee")};function cy(){return!1}var id=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Jf=id&&typeof module=="object"&&module&&!module.nodeType&&module,ly=Jf&&Jf.exports===id,Zf=ly?vt.Buffer:void 0,uy=Zf?Zf.isBuffer:void 0,kr=uy||cy,dy="[object Arguments]",hy="[object Array]",py="[object Boolean]",gy="[object Date]",my="[object Error]",yy="[object Function]",vy="[object Map]",by="[object Number]",wy="[object Object]",_y="[object RegExp]",xy="[object Set]",Oy="[object String]",Sy="[object WeakMap]",Ty="[object ArrayBuffer]",Ay="[object DataView]",Ey="[object Float32Array]",$y="[object Float64Array]",Cy="[object Int8Array]",My="[object Int16Array]",Py="[object Int32Array]",Ry="[object Uint8Array]",Dy="[object Uint8ClampedArray]",Fy="[object Uint16Array]",Ly="[object Uint32Array]",ge={};ge[Ey]=ge[$y]=ge[Cy]=ge[My]=ge[Py]=ge[Ry]=ge[Dy]=ge[Fy]=ge[Ly]=!0;ge[dy]=ge[hy]=ge[Ty]=ge[py]=ge[Ay]=ge[gy]=ge[my]=ge[yy]=ge[vy]=ge[by]=ge[wy]=ge[_y]=ge[xy]=ge[Oy]=ge[Sy]=!1;function Iy(e){return Mt(e)&&va(e.length)&&!!ge[Rn(e)]}function wa(e){return function(t){return e(t)}}var sd=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Tr=sd&&typeof module=="object"&&module&&!module.nodeType&&module,Ny=Tr&&Tr.exports===sd,Gs=Ny&&zu.process,zn=(function(){try{var e=Tr&&Tr.require&&Tr.require("util").types;return e||Gs&&Gs.binding&&Gs.binding("util")}catch{}})(),Qf=zn&&zn.isTypedArray,_a=Qf?wa(Qf):Iy,By=Object.prototype,ky=By.hasOwnProperty;function od(e,t){var n=He(e),r=!n&&Br(e),i=!n&&!r&&kr(e),s=!n&&!r&&!i&&_a(e),o=n||r||i||s,a=o?sy(e.length,String):[],f=a.length;for(var l in e)(t||ky.call(e,l))&&!(o&&(l=="length"||i&&(l=="offset"||l=="parent")||s&&(l=="buffer"||l=="byteLength"||l=="byteOffset")||Ss(l,f)))&&a.push(l);return a}function ad(e,t){return function(n){return e(t(n))}}var Hy=ad(Object.keys,Object),jy=Object.prototype,qy=jy.hasOwnProperty;function Wy(e){if(!ba(e))return Hy(e);var t=[];for(var n in Object(e))qy.call(e,n)&&n!="constructor"&&t.push(n);return t}function Zr(e){return ir(e)?od(e):Wy(e)}function Uy(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Vy=Object.prototype,Yy=Vy.hasOwnProperty;function Ky(e){if(!je(e))return Uy(e);var t=ba(e),n=[];for(var r in e)r=="constructor"&&(t||!Yy.call(e,r))||n.push(r);return n}function Qr(e){return ir(e)?od(e,!0):Ky(e)}var Gy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zy=/^\w*$/;function xa(e,t){if(He(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Os(e)?!0:zy.test(e)||!Gy.test(e)||t!=null&&e in Object(t)}var Hr=Fn(Object,"create");function Xy(){this.__data__=Hr?Hr(null):{},this.size=0}function Jy(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Zy="__lodash_hash_undefined__",Qy=Object.prototype,ev=Qy.hasOwnProperty;function tv(e){var t=this.__data__;if(Hr){var n=t[e];return n===Zy?void 0:n}return ev.call(t,e)?t[e]:void 0}var nv=Object.prototype,rv=nv.hasOwnProperty;function iv(e){var t=this.__data__;return Hr?t[e]!==void 0:rv.call(t,e)}var sv="__lodash_hash_undefined__";function ov(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Hr&&t===void 0?sv:t,this}function $n(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}$n.prototype.clear=Xy;$n.prototype.delete=Jy;$n.prototype.get=tv;$n.prototype.has=iv;$n.prototype.set=ov;function av(){this.__data__=[],this.size=0}function Ts(e,t){for(var n=e.length;n--;)if(Jr(e[n][0],t))return n;return-1}var fv=Array.prototype,cv=fv.splice;function lv(e){var t=this.__data__,n=Ts(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():cv.call(t,n,1),--this.size,!0}function uv(e){var t=this.__data__,n=Ts(t,e);return n<0?void 0:t[n][1]}function dv(e){return Ts(this.__data__,e)>-1}function hv(e,t){var n=this.__data__,r=Ts(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}zt.prototype.clear=av;zt.prototype.delete=lv;zt.prototype.get=uv;zt.prototype.has=dv;zt.prototype.set=hv;var jr=Fn(vt,"Map");function pv(){this.size=0,this.__data__={hash:new $n,map:new(jr||zt),string:new $n}}function gv(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function As(e,t){var n=e.__data__;return gv(t)?n[typeof t=="string"?"string":"hash"]:n.map}function mv(e){var t=As(this,e).delete(e);return this.size-=t?1:0,t}function yv(e){return As(this,e).get(e)}function vv(e){return As(this,e).has(e)}function bv(e,t){var n=As(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Xt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Xt.prototype.clear=pv;Xt.prototype.delete=mv;Xt.prototype.get=yv;Xt.prototype.has=vv;Xt.prototype.set=bv;var wv="Expected a function";function Oa(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(wv);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var o=e.apply(this,r);return n.cache=s.set(i,o)||s,o};return n.cache=new(Oa.Cache||Xt),n}Oa.Cache=Xt;var _v=500;function xv(e){var t=Oa(e,function(r){return n.size===_v&&n.clear(),r}),n=t.cache;return t}var Ov=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sv=/\\(\\)?/g,Tv=xv(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Ov,function(n,r,i,s){t.push(i?s.replace(Sv,"$1"):r||n)}),t});function Av(e){return e==null?"":Ju(e)}function sr(e,t){return He(e)?e:xa(e,t)?[e]:Tv(Av(e))}function or(e){if(typeof e=="string"||Os(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Es(e,t){t=sr(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[or(t[n++])];return n&&n==r?e:void 0}function Ev(e,t,n){var r=e==null?void 0:Es(e,t);return r===void 0?n:r}function Sa(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var ec=st?st.isConcatSpreadable:void 0;function $v(e){return He(e)||Br(e)||!!(ec&&e&&e[ec])}function ei(e,t,n,r,i){var s=-1,o=e.length;for(n||(n=$v),i||(i=[]);++s<o;){var a=e[s];t>0&&n(a)?t>1?ei(a,t-1,n,r,i):Sa(i,a):r||(i[i.length]=a)}return i}function Cv(e){var t=e==null?0:e.length;return t?ei(e,1):[]}function fd(e){return Qu(td(e,void 0,Cv),e+"")}var Ta=ad(Object.getPrototypeOf,Object),Mv="[object Object]",Pv=Function.prototype,Rv=Object.prototype,cd=Pv.toString,Dv=Rv.hasOwnProperty,Fv=cd.call(Object);function ld(e){if(!Mt(e)||Rn(e)!=Mv)return!1;var t=Ta(e);if(t===null)return!0;var n=Dv.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&cd.call(n)==Fv}function Lv(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(i);++r<i;)s[r]=e[r+t];return s}function FS(){if(!arguments.length)return[];var e=arguments[0];return He(e)?e:[e]}function Iv(e,t,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),t!==void 0&&(e=e>=t?e:t)),e}function LS(e,t,n){return n===void 0&&(n=t,t=void 0),n!==void 0&&(n=Sr(n),n=n===n?n:0),t!==void 0&&(t=Sr(t),t=t===t?t:0),Iv(Sr(e),t,n)}function Nv(){this.__data__=new zt,this.size=0}function Bv(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function kv(e){return this.__data__.get(e)}function Hv(e){return this.__data__.has(e)}var jv=200;function qv(e,t){var n=this.__data__;if(n instanceof zt){var r=n.__data__;if(!jr||r.length<jv-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Xt(r)}return n.set(e,t),this.size=n.size,this}function dt(e){var t=this.__data__=new zt(e);this.size=t.size}dt.prototype.clear=Nv;dt.prototype.delete=Bv;dt.prototype.get=kv;dt.prototype.has=Hv;dt.prototype.set=qv;function Wv(e,t){return e&&rr(t,Zr(t),e)}function Uv(e,t){return e&&rr(t,Qr(t),e)}var ud=typeof exports=="object"&&exports&&!exports.nodeType&&exports,tc=ud&&typeof module=="object"&&module&&!module.nodeType&&module,Vv=tc&&tc.exports===ud,nc=Vv?vt.Buffer:void 0,rc=nc?nc.allocUnsafe:void 0;function dd(e,t){if(t)return e.slice();var n=e.length,r=rc?rc(n):new e.constructor(n);return e.copy(r),r}function Yv(e,t){for(var n=-1,r=e==null?0:e.length,i=0,s=[];++n<r;){var o=e[n];t(o,n,e)&&(s[i++]=o)}return s}function hd(){return[]}var Kv=Object.prototype,Gv=Kv.propertyIsEnumerable,ic=Object.getOwnPropertySymbols,Aa=ic?function(e){return e==null?[]:(e=Object(e),Yv(ic(e),function(t){return Gv.call(e,t)}))}:hd;function zv(e,t){return rr(e,Aa(e),t)}var Xv=Object.getOwnPropertySymbols,pd=Xv?function(e){for(var t=[];e;)Sa(t,Aa(e)),e=Ta(e);return t}:hd;function Jv(e,t){return rr(e,pd(e),t)}function gd(e,t,n){var r=t(e);return He(e)?r:Sa(r,n(e))}function wo(e){return gd(e,Zr,Aa)}function md(e){return gd(e,Qr,pd)}var _o=Fn(vt,"DataView"),xo=Fn(vt,"Promise"),qn=Fn(vt,"Set"),sc="[object Map]",Zv="[object Object]",oc="[object Promise]",ac="[object Set]",fc="[object WeakMap]",cc="[object DataView]",Qv=Dn(_o),e0=Dn(jr),t0=Dn(xo),n0=Dn(qn),r0=Dn(bo),ct=Rn;(_o&&ct(new _o(new ArrayBuffer(1)))!=cc||jr&&ct(new jr)!=sc||xo&&ct(xo.resolve())!=oc||qn&&ct(new qn)!=ac||bo&&ct(new bo)!=fc)&&(ct=function(e){var t=Rn(e),n=t==Zv?e.constructor:void 0,r=n?Dn(n):"";if(r)switch(r){case Qv:return cc;case e0:return sc;case t0:return oc;case n0:return ac;case r0:return fc}return t});var i0=Object.prototype,s0=i0.hasOwnProperty;function o0(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&s0.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var es=vt.Uint8Array;function Ea(e){var t=new e.constructor(e.byteLength);return new es(t).set(new es(e)),t}function a0(e,t){var n=t?Ea(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var f0=/\w*$/;function c0(e){var t=new e.constructor(e.source,f0.exec(e));return t.lastIndex=e.lastIndex,t}var lc=st?st.prototype:void 0,uc=lc?lc.valueOf:void 0;function l0(e){return uc?Object(uc.call(e)):{}}function yd(e,t){var n=t?Ea(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var u0="[object Boolean]",d0="[object Date]",h0="[object Map]",p0="[object Number]",g0="[object RegExp]",m0="[object Set]",y0="[object String]",v0="[object Symbol]",b0="[object ArrayBuffer]",w0="[object DataView]",_0="[object Float32Array]",x0="[object Float64Array]",O0="[object Int8Array]",S0="[object Int16Array]",T0="[object Int32Array]",A0="[object Uint8Array]",E0="[object Uint8ClampedArray]",$0="[object Uint16Array]",C0="[object Uint32Array]";function M0(e,t,n){var r=e.constructor;switch(t){case b0:return Ea(e);case u0:case d0:return new r(+e);case w0:return a0(e,n);case _0:case x0:case O0:case S0:case T0:case A0:case E0:case $0:case C0:return yd(e,n);case h0:return new r;case p0:case y0:return new r(e);case g0:return c0(e);case m0:return new r;case v0:return l0(e)}}function vd(e){return typeof e.constructor=="function"&&!ba(e)?Nm(Ta(e)):{}}var P0="[object Map]";function R0(e){return Mt(e)&&ct(e)==P0}var dc=zn&&zn.isMap,D0=dc?wa(dc):R0,F0="[object Set]";function L0(e){return Mt(e)&&ct(e)==F0}var hc=zn&&zn.isSet,I0=hc?wa(hc):L0,N0=1,B0=2,k0=4,bd="[object Arguments]",H0="[object Array]",j0="[object Boolean]",q0="[object Date]",W0="[object Error]",wd="[object Function]",U0="[object GeneratorFunction]",V0="[object Map]",Y0="[object Number]",_d="[object Object]",K0="[object RegExp]",G0="[object Set]",z0="[object String]",X0="[object Symbol]",J0="[object WeakMap]",Z0="[object ArrayBuffer]",Q0="[object DataView]",eb="[object Float32Array]",tb="[object Float64Array]",nb="[object Int8Array]",rb="[object Int16Array]",ib="[object Int32Array]",sb="[object Uint8Array]",ob="[object Uint8ClampedArray]",ab="[object Uint16Array]",fb="[object Uint32Array]",de={};de[bd]=de[H0]=de[Z0]=de[Q0]=de[j0]=de[q0]=de[eb]=de[tb]=de[nb]=de[rb]=de[ib]=de[V0]=de[Y0]=de[_d]=de[K0]=de[G0]=de[z0]=de[X0]=de[sb]=de[ob]=de[ab]=de[fb]=!0;de[W0]=de[wd]=de[J0]=!1;function Wn(e,t,n,r,i,s){var o,a=t&N0,f=t&B0,l=t&k0;if(n&&(o=i?n(e,r,i,s):n(e)),o!==void 0)return o;if(!je(e))return e;var c=He(e);if(c){if(o=o0(e),!a)return Zu(e,o)}else{var u=ct(e),d=u==wd||u==U0;if(kr(e))return dd(e,a);if(u==_d||u==bd||d&&!i){if(o=f||d?{}:vd(e),!a)return f?Jv(e,Uv(o,e)):zv(e,Wv(o,e))}else{if(!de[u])return i?e:{};o=M0(e,u,a)}}s||(s=new dt);var h=s.get(e);if(h)return h;s.set(e,o),I0(e)?e.forEach(function(v){o.add(Wn(v,t,n,v,e,s))}):D0(e)&&e.forEach(function(v,m){o.set(m,Wn(v,t,n,m,e,s))});var y=l?f?md:wo:f?Qr:Zr,g=c?void 0:y(e);return Ym(g||e,function(v,m){g&&(m=v,v=e[m]),ya(o,m,Wn(v,t,n,m,e,s))}),o}var cb=4;function IS(e){return Wn(e,cb)}var lb=1,ub=4;function NS(e){return Wn(e,lb|ub)}var db="__lodash_hash_undefined__";function hb(e){return this.__data__.set(e,db),this}function pb(e){return this.__data__.has(e)}function qr(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new Xt;++t<n;)this.add(e[t])}qr.prototype.add=qr.prototype.push=hb;qr.prototype.has=pb;function gb(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function xd(e,t){return e.has(t)}var mb=1,yb=2;function Od(e,t,n,r,i,s){var o=n&mb,a=e.length,f=t.length;if(a!=f&&!(o&&f>a))return!1;var l=s.get(e),c=s.get(t);if(l&&c)return l==t&&c==e;var u=-1,d=!0,h=n&yb?new qr:void 0;for(s.set(e,t),s.set(t,e);++u<a;){var y=e[u],g=t[u];if(r)var v=o?r(g,y,u,t,e,s):r(y,g,u,e,t,s);if(v!==void 0){if(v)continue;d=!1;break}if(h){if(!gb(t,function(m,x){if(!xd(h,x)&&(y===m||i(y,m,n,r,s)))return h.push(x)})){d=!1;break}}else if(!(y===g||i(y,g,n,r,s))){d=!1;break}}return s.delete(e),s.delete(t),d}function vb(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function $a(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var bb=1,wb=2,_b="[object Boolean]",xb="[object Date]",Ob="[object Error]",Sb="[object Map]",Tb="[object Number]",Ab="[object RegExp]",Eb="[object Set]",$b="[object String]",Cb="[object Symbol]",Mb="[object ArrayBuffer]",Pb="[object DataView]",pc=st?st.prototype:void 0,zs=pc?pc.valueOf:void 0;function Rb(e,t,n,r,i,s,o){switch(n){case Pb:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Mb:return!(e.byteLength!=t.byteLength||!s(new es(e),new es(t)));case _b:case xb:case Tb:return Jr(+e,+t);case Ob:return e.name==t.name&&e.message==t.message;case Ab:case $b:return e==t+"";case Sb:var a=vb;case Eb:var f=r&bb;if(a||(a=$a),e.size!=t.size&&!f)return!1;var l=o.get(e);if(l)return l==t;r|=wb,o.set(e,t);var c=Od(a(e),a(t),r,i,s,o);return o.delete(e),c;case Cb:if(zs)return zs.call(e)==zs.call(t)}return!1}var Db=1,Fb=Object.prototype,Lb=Fb.hasOwnProperty;function Ib(e,t,n,r,i,s){var o=n&Db,a=wo(e),f=a.length,l=wo(t),c=l.length;if(f!=c&&!o)return!1;for(var u=f;u--;){var d=a[u];if(!(o?d in t:Lb.call(t,d)))return!1}var h=s.get(e),y=s.get(t);if(h&&y)return h==t&&y==e;var g=!0;s.set(e,t),s.set(t,e);for(var v=o;++u<f;){d=a[u];var m=e[d],x=t[d];if(r)var w=o?r(x,m,d,t,e,s):r(m,x,d,e,t,s);if(!(w===void 0?m===x||i(m,x,n,r,s):w)){g=!1;break}v||(v=d=="constructor")}if(g&&!v){var _=e.constructor,T=t.constructor;_!=T&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof T=="function"&&T instanceof T)&&(g=!1)}return s.delete(e),s.delete(t),g}var Nb=1,gc="[object Arguments]",mc="[object Array]",di="[object Object]",Bb=Object.prototype,yc=Bb.hasOwnProperty;function kb(e,t,n,r,i,s){var o=He(e),a=He(t),f=o?mc:ct(e),l=a?mc:ct(t);f=f==gc?di:f,l=l==gc?di:l;var c=f==di,u=l==di,d=f==l;if(d&&kr(e)){if(!kr(t))return!1;o=!0,c=!1}if(d&&!c)return s||(s=new dt),o||_a(e)?Od(e,t,n,r,i,s):Rb(e,t,f,n,r,i,s);if(!(n&Nb)){var h=c&&yc.call(e,"__wrapped__"),y=u&&yc.call(t,"__wrapped__");if(h||y){var g=h?e.value():e,v=y?t.value():t;return s||(s=new dt),i(g,v,n,r,s)}}return d?(s||(s=new dt),Ib(e,t,n,r,i,s)):!1}function $s(e,t,n,r,i){return e===t?!0:e==null||t==null||!Mt(e)&&!Mt(t)?e!==e&&t!==t:kb(e,t,n,r,$s,i)}var Hb=1,jb=2;function qb(e,t,n,r){var i=n.length,s=i;if(e==null)return!s;for(e=Object(e);i--;){var o=n[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<s;){o=n[i];var a=o[0],f=e[a],l=o[1];if(o[2]){if(f===void 0&&!(a in e))return!1}else{var c=new dt,u;if(!(u===void 0?$s(l,f,Hb|jb,r,c):u))return!1}}return!0}function Sd(e){return e===e&&!je(e)}function Wb(e){for(var t=Zr(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Sd(i)]}return t}function Td(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function Ub(e){var t=Wb(e);return t.length==1&&t[0][2]?Td(t[0][0],t[0][1]):function(n){return n===e||qb(n,e,t)}}function Vb(e,t){return e!=null&&t in Object(e)}function Yb(e,t,n){t=sr(t,e);for(var r=-1,i=t.length,s=!1;++r<i;){var o=or(t[r]);if(!(s=e!=null&&n(e,o)))break;e=e[o]}return s||++r!=i?s:(i=e==null?0:e.length,!!i&&va(i)&&Ss(o,i)&&(He(e)||Br(e)))}function Ad(e,t){return e!=null&&Yb(e,t,Vb)}var Kb=1,Gb=2;function zb(e,t){return xa(e)&&Sd(t)?Td(or(e),t):function(n){var r=Ev(n,e);return r===void 0&&r===t?Ad(n,e):$s(t,r,Kb|Gb)}}function Xb(e){return function(t){return t?.[e]}}function Jb(e){return function(t){return Es(t,e)}}function Zb(e){return xa(e)?Xb(or(e)):Jb(e)}function Ed(e){return typeof e=="function"?e:e==null?pa:typeof e=="object"?He(e)?zb(e[0],e[1]):Ub(e):Zb(e)}function Qb(e){return function(t,n,r){for(var i=-1,s=Object(t),o=r(t),a=o.length;a--;){var f=o[++i];if(n(s[f],f,s)===!1)break}return t}}var $d=Qb();function ew(e,t){return e&&$d(e,t,Zr)}function tw(e,t){return function(n,r){if(n==null)return n;if(!ir(n))return e(n,r);for(var i=n.length,s=-1,o=Object(n);++s<i&&r(o[s],s,o)!==!1;);return n}}var nw=tw(ew),Xs=function(){return vt.Date.now()},rw="Expected a function",iw=Math.max,sw=Math.min;function ow(e,t,n){var r,i,s,o,a,f,l=0,c=!1,u=!1,d=!0;if(typeof e!="function")throw new TypeError(rw);t=Sr(t)||0,je(n)&&(c=!!n.leading,u="maxWait"in n,s=u?iw(Sr(n.maxWait)||0,t):s,d="trailing"in n?!!n.trailing:d);function h(E){var H=r,q=i;return r=i=void 0,l=E,o=e.apply(q,H),o}function y(E){return l=E,a=setTimeout(m,t),c?h(E):o}function g(E){var H=E-f,q=E-l,L=t-H;return u?sw(L,s-q):L}function v(E){var H=E-f,q=E-l;return f===void 0||H>=t||H<0||u&&q>=s}function m(){var E=Xs();if(v(E))return x(E);a=setTimeout(m,g(E))}function x(E){return a=void 0,d&&r?h(E):(r=i=void 0,o)}function w(){a!==void 0&&clearTimeout(a),l=0,r=f=i=a=void 0}function _(){return a===void 0?o:x(Xs())}function T(){var E=Xs(),H=v(E);if(r=arguments,i=this,f=E,H){if(a===void 0)return y(f);if(u)return clearTimeout(a),a=setTimeout(m,t),h(f)}return a===void 0&&(a=setTimeout(m,t)),o}return T.cancel=w,T.flush=_,T}function Oo(e,t,n){(n!==void 0&&!Jr(e[t],n)||n===void 0&&!(t in e))&&ma(e,t,n)}function Cd(e){return Mt(e)&&ir(e)}function So(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function aw(e){return rr(e,Qr(e))}function fw(e,t,n,r,i,s,o){var a=So(e,n),f=So(t,n),l=o.get(f);if(l){Oo(e,n,l);return}var c=s?s(a,f,n+"",e,t,o):void 0,u=c===void 0;if(u){var d=He(f),h=!d&&kr(f),y=!d&&!h&&_a(f);c=f,d||h||y?He(a)?c=a:Cd(a)?c=Zu(a):h?(u=!1,c=dd(f,!0)):y?(u=!1,c=yd(f,!0)):c=[]:ld(f)||Br(f)?(c=a,Br(a)?c=aw(a):(!je(a)||ga(a))&&(c=vd(f))):u=!1}u&&(o.set(f,c),i(c,f,r,s,o),o.delete(f)),Oo(e,n,c)}function Md(e,t,n,r,i){e!==t&&$d(t,function(s,o){if(i||(i=new dt),je(s))fw(e,t,o,n,Md,r,i);else{var a=r?r(So(e,o),s,o+"",e,t,i):void 0;a===void 0&&(a=s),Oo(e,o,a)}},Qr)}function cw(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function BS(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=r-1;return ed(e,Ed(t),i,!0)}function lw(e,t){var n=-1,r=ir(e)?Array(e.length):[];return nw(e,function(i,s,o){r[++n]=t(i,s,o)}),r}function uw(e,t){var n=He(e)?ha:lw;return n(e,Ed(t))}function kS(e,t){return ei(uw(e,t),1)}var dw=1/0;function HS(e){var t=e==null?0:e.length;return t?ei(e,dw):[]}function jS(e){for(var t=-1,n=e==null?0:e.length,r={};++t<n;){var i=e[t];r[i[0]]=i[1]}return r}function hw(e,t){return t.length<2?e:Es(e,Lv(t,0,-1))}function qS(e,t){return $s(e,t)}function WS(e){return e==null}function US(e){return e===null}function VS(e){return e===void 0}var YS=ry(function(e,t,n){Md(e,t,n)});function pw(e,t){return t=sr(t,e),e=hw(e,t),e==null||delete e[or(cw(t))]}function gw(e){return ld(e)?void 0:e}var mw=1,yw=2,vw=4,KS=fd(function(e,t){var n={};if(e==null)return n;var r=!1;t=ha(t,function(s){return s=sr(s,e),r||(r=s.length>1),s}),rr(e,md(e),n),r&&(n=Wn(n,mw|yw|vw,gw));for(var i=t.length;i--;)pw(n,t[i]);return n});function Pd(e,t,n,r){if(!je(e))return e;t=sr(t,e);for(var i=-1,s=t.length,o=s-1,a=e;a!=null&&++i<s;){var f=or(t[i]),l=n;if(f==="__proto__"||f==="constructor"||f==="prototype")return e;if(i!=o){var c=a[f];l=void 0,l===void 0&&(l=je(c)?c:Ss(t[i+1])?[]:{})}ya(a,f,l),a=a[f]}return e}function bw(e,t,n){for(var r=-1,i=t.length,s={};++r<i;){var o=t[r],a=Es(e,o);n(a,o)&&Pd(s,sr(o,e),a)}return s}function ww(e,t){return bw(e,t,function(n,r){return Ad(e,r)})}var GS=fd(function(e,t){return e==null?{}:ww(e,t)});function zS(e,t,n){return e==null?e:Pd(e,t,n)}var _w="Expected a function";function XS(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(_w);return je(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),ow(e,t,{leading:r,maxWait:t,trailing:i})}var xw=1/0,Ow=qn&&1/$a(new qn([,-0]))[1]==xw?function(e){return new qn(e)}:km,Sw=200;function Tw(e,t,n){var r=-1,i=Xm,s=e.length,o=!0,a=[],f=a;if(s>=Sw){var l=Ow(e);if(l)return $a(l);o=!1,i=xd,f=new qr}else f=a;e:for(;++r<s;){var c=e[r],u=c;if(c=c!==0?c:0,o&&u===u){for(var d=f.length;d--;)if(f[d]===u)continue e;a.push(c)}else i(f,u,n)||(f!==a&&f.push(u),a.push(c))}return a}var JS=nd(function(e){return Tw(ei(e,1,Cd,!0))}),Aw=Object.defineProperty,Ew=Object.defineProperties,$w=Object.getOwnPropertyDescriptors,vc=Object.getOwnPropertySymbols,Cw=Object.prototype.hasOwnProperty,Mw=Object.prototype.propertyIsEnumerable,bc=(e,t,n)=>t in e?Aw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Pw=(e,t)=>{for(var n in t||(t={}))Cw.call(t,n)&&bc(e,n,t[n]);if(vc)for(var n of vc(t))Mw.call(t,n)&&bc(e,n,t[n]);return e},Rw=(e,t)=>Ew(e,$w(t));function ZS(e,t){var n;const r=ip();return Wp(()=>{r.value=e()},Rw(Pw({},t),{flush:(n=void 0)!=null?n:"sync"})),Rr(r)}var wc;const Cs=typeof window<"u",Dw=e=>typeof e<"u",To=e=>typeof e=="function",Fw=e=>typeof e=="string",QS=(e,t,n)=>Math.min(n,Math.max(t,e)),Wt=()=>{},Lw=Cs&&((wc=window?.navigator)==null?void 0:wc.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ln(e){return typeof e=="function"?e():ms(e)}function Rd(e,t){function n(...r){return new Promise((i,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(i).catch(s)})}return n}function Iw(e,t={}){let n,r,i=Wt;const s=a=>{clearTimeout(a),i(),i=Wt};return a=>{const f=ln(e),l=ln(t.maxWait);return n&&s(n),f<=0||l!==void 0&&l<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((c,u)=>{i=t.rejectOnCancel?u:c,l&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,c(a())},l)),n=setTimeout(()=>{r&&s(r),r=null,c(a())},f)})}}function Nw(e,t=!0,n=!0,r=!1){let i=0,s,o=!0,a=Wt,f;const l=()=>{s&&(clearTimeout(s),s=void 0,a(),a=Wt)};return u=>{const d=ln(e),h=Date.now()-i,y=()=>f=u();return l(),d<=0?(i=Date.now(),y()):(h>d&&(n||!o)?(i=Date.now(),y()):t&&(f=new Promise((g,v)=>{a=r?v:g,s=setTimeout(()=>{i=Date.now(),o=!0,g(y()),l()},Math.max(0,d-h))})),!n&&!s&&(s=setTimeout(()=>o=!0,d)),o=!1,f)}}function Bw(e){return e}function kw(e,t){let n,r,i;const s=ve(!0),o=()=>{s.value=!0,i()};ke(e,o,{flush:"sync"});const a=To(t)?t:t.get,f=To(t)?void 0:t.set,l=fp((c,u)=>(r=c,i=u,{get(){return s.value&&(n=a(),s.value=!1),r(),n},set(d){f?.(d)}}));return Object.isExtensible(l)&&(l.trigger=o),l}function ti(e){return Ml()?(Ih(e),!0):!1}function Hw(e){if(!be(e))return Pr(e);const t=new Proxy({},{get(n,r,i){return ms(Reflect.get(e.value,r,i))},set(n,r,i){return be(e.value[r])&&!be(i)?e.value[r].value=i:e.value[r]=i,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Pr(t)}function eT(e){return Hw(Xr(e))}function jw(e,t=200,n={}){return Rd(Iw(t,n),e)}function tT(e,t=200,n={}){const r=ve(e.value),i=jw(()=>{r.value=e.value},t,n);return ke(e,()=>i()),r}function nT(e,t=200,n=!1,r=!0,i=!1){return Rd(Nw(t,n,r,i),e)}function Ca(e,t=!0){Pn()?sa(e):t?e():zl(e)}function rT(e,t,n={}){const{immediate:r=!0}=n,i=ve(!1);let s=null;function o(){s&&(clearTimeout(s),s=null)}function a(){i.value=!1,o()}function f(...l){o(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=null,e(...l)},ln(t))}return r&&(i.value=!0,Cs&&f()),ti(a),{isPending:Rr(i),start:f,stop:a}}function Be(e){var t;const n=ln(e);return(t=n?.$el)!=null?t:n}const Ft=Cs?window:void 0,qw=Cs?window.document:void 0;function nt(...e){let t,n,r,i;if(Fw(e[0])||Array.isArray(e[0])?([n,r,i]=e,t=Ft):[t,n,r,i]=e,!t)return Wt;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],o=()=>{s.forEach(c=>c()),s.length=0},a=(c,u,d,h)=>(c.addEventListener(u,d,h),()=>c.removeEventListener(u,d,h)),f=ke(()=>[Be(t),ln(i)],([c,u])=>{o(),c&&s.push(...n.flatMap(d=>r.map(h=>a(c,d,h,u))))},{immediate:!0,flush:"post"}),l=()=>{f(),o()};return ti(l),l}let _c=!1;function iT(e,t,n={}){const{window:r=Ft,ignore:i=[],capture:s=!0,detectIframe:o=!1}=n;if(!r)return;Lw&&!_c&&(_c=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",Wt)));let a=!0;const f=d=>i.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(y=>y===d.target||d.composedPath().includes(y));{const y=Be(h);return y&&(d.target===y||d.composedPath().includes(y))}}),c=[nt(r,"click",d=>{const h=Be(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(a=!f(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:s}),nt(r,"pointerdown",d=>{const h=Be(e);h&&(a=!d.composedPath().includes(h)&&!f(d))},{passive:!0}),o&&nt(r,"blur",d=>{var h;const y=Be(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!y?.contains(r.document.activeElement)&&t(d)})].filter(Boolean);return()=>c.forEach(d=>d())}function sT(e={}){var t;const{window:n=Ft}=e,r=(t=e.document)!=null?t:n?.document,i=kw(()=>null,()=>r?.activeElement);return n&&(nt(n,"blur",s=>{s.relatedTarget===null&&i.trigger()},!0),nt(n,"focus",i.trigger,!0)),i}function Ma(e,t=!1){const n=ve(),r=()=>n.value=!!e();return r(),Ca(r,t),n}function Ww(e){return JSON.parse(JSON.stringify(e))}const xc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Oc="__vueuse_ssr_handlers__";xc[Oc]=xc[Oc]||{};function oT(e,t,{window:n=Ft,initialValue:r=""}={}){const i=ve(r),s=Xr(()=>{var o;return Be(t)||((o=n?.document)==null?void 0:o.documentElement)});return ke([s,()=>ln(e)],([o,a])=>{var f;if(o&&n){const l=(f=n.getComputedStyle(o).getPropertyValue(a))==null?void 0:f.trim();i.value=l||r}},{immediate:!0}),ke(i,o=>{var a;(a=s.value)!=null&&a.style&&s.value.style.setProperty(ln(e),o)}),i}function aT({document:e=qw}={}){if(!e)return ve("visible");const t=ve(e.visibilityState);return nt(e,"visibilitychange",()=>{t.value=e.visibilityState}),t}var Sc=Object.getOwnPropertySymbols,Uw=Object.prototype.hasOwnProperty,Vw=Object.prototype.propertyIsEnumerable,Yw=(e,t)=>{var n={};for(var r in e)Uw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Sc)for(var r of Sc(e))t.indexOf(r)<0&&Vw.call(e,r)&&(n[r]=e[r]);return n};function Dd(e,t,n={}){const r=n,{window:i=Ft}=r,s=Yw(r,["window"]);let o;const a=Ma(()=>i&&"ResizeObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},l=ke(()=>Be(e),u=>{f(),a.value&&i&&u&&(o=new ResizeObserver(t),o.observe(u,s))},{immediate:!0,flush:"post"}),c=()=>{f(),l()};return ti(c),{isSupported:a,stop:c}}function fT(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:i=!0,immediate:s=!0}=t,o=ve(0),a=ve(0),f=ve(0),l=ve(0),c=ve(0),u=ve(0),d=ve(0),h=ve(0);function y(){const g=Be(e);if(!g){n&&(o.value=0,a.value=0,f.value=0,l.value=0,c.value=0,u.value=0,d.value=0,h.value=0);return}const v=g.getBoundingClientRect();o.value=v.height,a.value=v.bottom,f.value=v.left,l.value=v.right,c.value=v.top,u.value=v.width,d.value=v.x,h.value=v.y}return Dd(e,y),ke(()=>Be(e),g=>!g&&y()),i&&nt("scroll",y,{capture:!0,passive:!0}),r&&nt("resize",y,{passive:!0}),Ca(()=>{s&&y()}),{height:o,bottom:a,left:f,right:l,top:c,width:u,x:d,y:h,update:y}}function cT(e,t={width:0,height:0},n={}){const{window:r=Ft,box:i="content-box"}=n,s=Xr(()=>{var f,l;return(l=(f=Be(e))==null?void 0:f.namespaceURI)==null?void 0:l.includes("svg")}),o=ve(t.width),a=ve(t.height);return Dd(e,([f])=>{const l=i==="border-box"?f.borderBoxSize:i==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const c=Be(e);if(c){const u=r.getComputedStyle(c);o.value=parseFloat(u.width),a.value=parseFloat(u.height)}}else if(l){const c=Array.isArray(l)?l:[l];o.value=c.reduce((u,{inlineSize:d})=>u+d,0),a.value=c.reduce((u,{blockSize:d})=>u+d,0)}else o.value=f.contentRect.width,a.value=f.contentRect.height},n),ke(()=>Be(e),f=>{o.value=f?t.width:0,a.value=f?t.height:0}),{width:o,height:a}}function lT(e,t,n={}){const{root:r,rootMargin:i="0px",threshold:s=.1,window:o=Ft}=n,a=Ma(()=>o&&"IntersectionObserver"in o);let f=Wt;const l=a.value?ke(()=>({el:Be(e),root:Be(r)}),({el:u,root:d})=>{if(f(),!u)return;const h=new IntersectionObserver(t,{root:d,rootMargin:i,threshold:s});h.observe(u),f=()=>{h.disconnect(),f=Wt}},{immediate:!0,flush:"post"}):Wt,c=()=>{f(),l()};return ti(c),{isSupported:a,stop:c}}var Tc=Object.getOwnPropertySymbols,Kw=Object.prototype.hasOwnProperty,Gw=Object.prototype.propertyIsEnumerable,zw=(e,t)=>{var n={};for(var r in e)Kw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Tc)for(var r of Tc(e))t.indexOf(r)<0&&Gw.call(e,r)&&(n[r]=e[r]);return n};function uT(e,t,n={}){const r=n,{window:i=Ft}=r,s=zw(r,["window"]);let o;const a=Ma(()=>i&&"MutationObserver"in i),f=()=>{o&&(o.disconnect(),o=void 0)},l=ke(()=>Be(e),u=>{f(),a.value&&i&&u&&(o=new MutationObserver(t),o.observe(u,s))},{immediate:!0}),c=()=>{f(),l()};return ti(c),{isSupported:a,stop:c}}var Ac;(function(e){e.UP="UP",e.RIGHT="RIGHT",e.DOWN="DOWN",e.LEFT="LEFT",e.NONE="NONE"})(Ac||(Ac={}));var Xw=Object.defineProperty,Ec=Object.getOwnPropertySymbols,Jw=Object.prototype.hasOwnProperty,Zw=Object.prototype.propertyIsEnumerable,$c=(e,t,n)=>t in e?Xw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qw=(e,t)=>{for(var n in t||(t={}))Jw.call(t,n)&&$c(e,n,t[n]);if(Ec)for(var n of Ec(t))Zw.call(t,n)&&$c(e,n,t[n]);return e};const e_={easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]};Qw({linear:Bw},e_);function dT(e,t,n,r={}){var i,s,o;const{clone:a=!1,passive:f=!1,eventName:l,deep:c=!1,defaultValue:u}=r,d=Pn(),h=n||d?.emit||((i=d?.$emit)==null?void 0:i.bind(d))||((o=(s=d?.proxy)==null?void 0:s.$emit)==null?void 0:o.bind(d?.proxy));let y=l;t||(t="modelValue"),y=l||y||`update:${t.toString()}`;const g=m=>a?To(a)?a(m):Ww(m):m,v=()=>Dw(e[t])?g(e[t]):u;if(f){const m=v(),x=ve(m);return ke(()=>e[t],w=>x.value=g(w)),ke(x,w=>{(w!==e[t]||c)&&h(y,w)},{deep:c}),x}else return Xr({get(){return v()},set(m){h(y,m)}})}function hT({window:e=Ft}={}){if(!e)return ve(!1);const t=ve(e.document.hasFocus());return nt(e,"blur",()=>{t.value=!1}),nt(e,"focus",()=>{t.value=!0}),t}function pT(e={}){const{window:t=Ft,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:i=!0,includeScrollbar:s=!0}=e,o=ve(n),a=ve(r),f=()=>{t&&(s?(o.value=t.innerWidth,a.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};return f(),Ca(f),nt("resize",f,{passive:!0}),i&&nt("orientationchange",f,{passive:!0}),{width:o,height:a}}var Ye="top",ot="bottom",at="right",Ke="left",Pa="auto",ni=[Ye,ot,at,Ke],Xn="start",Wr="end",t_="clippingParents",Fd="viewport",hr="popper",n_="reference",Cc=ni.reduce(function(e,t){return e.concat([t+"-"+Xn,t+"-"+Wr])},[]),Ld=[].concat(ni,[Pa]).reduce(function(e,t){return e.concat([t,t+"-"+Xn,t+"-"+Wr])},[]),r_="beforeRead",i_="read",s_="afterRead",o_="beforeMain",a_="main",f_="afterMain",c_="beforeWrite",l_="write",u_="afterWrite",d_=[r_,i_,s_,o_,a_,f_,c_,l_,u_];function Pt(e){return e?(e.nodeName||"").toLowerCase():null}function bt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Jn(e){var t=bt(e).Element;return e instanceof t||e instanceof Element}function rt(e){var t=bt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Ra(e){if(typeof ShadowRoot>"u")return!1;var t=bt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function h_(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},i=t.attributes[n]||{},s=t.elements[n];!rt(s)||!Pt(s)||(Object.assign(s.style,r),Object.keys(i).forEach(function(o){var a=i[o];a===!1?s.removeAttribute(o):s.setAttribute(o,a===!0?"":a)}))})}function p_(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var i=t.elements[r],s=t.attributes[r]||{},o=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),a=o.reduce(function(f,l){return f[l]="",f},{});!rt(i)||!Pt(i)||(Object.assign(i.style,a),Object.keys(s).forEach(function(f){i.removeAttribute(f)}))})}}var Id={name:"applyStyles",enabled:!0,phase:"write",fn:h_,effect:p_,requires:["computeStyles"]};function Et(e){return e.split("-")[0]}var Tn=Math.max,ts=Math.min,Zn=Math.round;function Qn(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),r=1,i=1;if(rt(e)&&t){var s=e.offsetHeight,o=e.offsetWidth;o>0&&(r=Zn(n.width)/o||1),s>0&&(i=Zn(n.height)/s||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function Da(e){var t=Qn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function Nd(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ra(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Kt(e){return bt(e).getComputedStyle(e)}function g_(e){return["table","td","th"].indexOf(Pt(e))>=0}function hn(e){return((Jn(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ms(e){return Pt(e)==="html"?e:e.assignedSlot||e.parentNode||(Ra(e)?e.host:null)||hn(e)}function Mc(e){return!rt(e)||Kt(e).position==="fixed"?null:e.offsetParent}function m_(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&rt(e)){var r=Kt(e);if(r.position==="fixed")return null}var i=Ms(e);for(Ra(i)&&(i=i.host);rt(i)&&["html","body"].indexOf(Pt(i))<0;){var s=Kt(i);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return i;i=i.parentNode}return null}function ri(e){for(var t=bt(e),n=Mc(e);n&&g_(n)&&Kt(n).position==="static";)n=Mc(n);return n&&(Pt(n)==="html"||Pt(n)==="body"&&Kt(n).position==="static")?t:n||m_(e)||t}function Fa(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Ar(e,t,n){return Tn(e,ts(t,n))}function y_(e,t,n){var r=Ar(e,t,n);return r>n?n:r}function Bd(){return{top:0,right:0,bottom:0,left:0}}function kd(e){return Object.assign({},Bd(),e)}function Hd(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var v_=function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,kd(typeof e!="number"?e:Hd(e,ni))};function b_(e){var t,n=e.state,r=e.name,i=e.options,s=n.elements.arrow,o=n.modifiersData.popperOffsets,a=Et(n.placement),f=Fa(a),l=[Ke,at].indexOf(a)>=0,c=l?"height":"width";if(!(!s||!o)){var u=v_(i.padding,n),d=Da(s),h=f==="y"?Ye:Ke,y=f==="y"?ot:at,g=n.rects.reference[c]+n.rects.reference[f]-o[f]-n.rects.popper[c],v=o[f]-n.rects.reference[f],m=ri(s),x=m?f==="y"?m.clientHeight||0:m.clientWidth||0:0,w=g/2-v/2,_=u[h],T=x-d[c]-u[y],E=x/2-d[c]/2+w,H=Ar(_,E,T),q=f;n.modifiersData[r]=(t={},t[q]=H,t.centerOffset=H-E,t)}}function w_(e){var t=e.state,n=e.options,r=n.element,i=r===void 0?"[data-popper-arrow]":r;i!=null&&(typeof i=="string"&&(i=t.elements.popper.querySelector(i),!i)||!Nd(t.elements.popper,i)||(t.elements.arrow=i))}var __={name:"arrow",enabled:!0,phase:"main",fn:b_,effect:w_,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function er(e){return e.split("-")[1]}var x_={top:"auto",right:"auto",bottom:"auto",left:"auto"};function O_(e){var t=e.x,n=e.y,r=window,i=r.devicePixelRatio||1;return{x:Zn(t*i)/i||0,y:Zn(n*i)/i||0}}function Pc(e){var t,n=e.popper,r=e.popperRect,i=e.placement,s=e.variation,o=e.offsets,a=e.position,f=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,u=e.isFixed,d=o.x,h=d===void 0?0:d,y=o.y,g=y===void 0?0:y,v=typeof c=="function"?c({x:h,y:g}):{x:h,y:g};h=v.x,g=v.y;var m=o.hasOwnProperty("x"),x=o.hasOwnProperty("y"),w=Ke,_=Ye,T=window;if(l){var E=ri(n),H="clientHeight",q="clientWidth";if(E===bt(n)&&(E=hn(n),Kt(E).position!=="static"&&a==="absolute"&&(H="scrollHeight",q="scrollWidth")),E=E,i===Ye||(i===Ke||i===at)&&s===Wr){_=ot;var L=u&&E===T&&T.visualViewport?T.visualViewport.height:E[H];g-=L-r.height,g*=f?1:-1}if(i===Ke||(i===Ye||i===ot)&&s===Wr){w=at;var k=u&&E===T&&T.visualViewport?T.visualViewport.width:E[q];h-=k-r.width,h*=f?1:-1}}var N=Object.assign({position:a},l&&x_),$=c===!0?O_({x:h,y:g}):{x:h,y:g};if(h=$.x,g=$.y,f){var Y;return Object.assign({},N,(Y={},Y[_]=x?"0":"",Y[w]=m?"0":"",Y.transform=(T.devicePixelRatio||1)<=1?"translate("+h+"px, "+g+"px)":"translate3d("+h+"px, "+g+"px, 0)",Y))}return Object.assign({},N,(t={},t[_]=x?g+"px":"",t[w]=m?h+"px":"",t.transform="",t))}function S_(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=r===void 0?!0:r,s=n.adaptive,o=s===void 0?!0:s,a=n.roundOffsets,f=a===void 0?!0:a,l={placement:Et(t.placement),variation:er(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Pc(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:f})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Pc(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var jd={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:S_,data:{}},hi={passive:!0};function T_(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,s=i===void 0?!0:i,o=r.resize,a=o===void 0?!0:o,f=bt(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&l.forEach(function(c){c.addEventListener("scroll",n.update,hi)}),a&&f.addEventListener("resize",n.update,hi),function(){s&&l.forEach(function(c){c.removeEventListener("scroll",n.update,hi)}),a&&f.removeEventListener("resize",n.update,hi)}}var qd={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:T_,data:{}},A_={left:"right",right:"left",bottom:"top",top:"bottom"};function Ai(e){return e.replace(/left|right|bottom|top/g,function(t){return A_[t]})}var E_={start:"end",end:"start"};function Rc(e){return e.replace(/start|end/g,function(t){return E_[t]})}function La(e){var t=bt(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function Ia(e){return Qn(hn(e)).left+La(e).scrollLeft}function $_(e){var t=bt(e),n=hn(e),r=t.visualViewport,i=n.clientWidth,s=n.clientHeight,o=0,a=0;return r&&(i=r.width,s=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,a=r.offsetTop)),{width:i,height:s,x:o+Ia(e),y:a}}function C_(e){var t,n=hn(e),r=La(e),i=(t=e.ownerDocument)==null?void 0:t.body,s=Tn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Tn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+Ia(e),f=-r.scrollTop;return Kt(i||n).direction==="rtl"&&(a+=Tn(n.clientWidth,i?i.clientWidth:0)-s),{width:s,height:o,x:a,y:f}}function Na(e){var t=Kt(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Wd(e){return["html","body","#document"].indexOf(Pt(e))>=0?e.ownerDocument.body:rt(e)&&Na(e)?e:Wd(Ms(e))}function Er(e,t){var n;t===void 0&&(t=[]);var r=Wd(e),i=r===((n=e.ownerDocument)==null?void 0:n.body),s=bt(r),o=i?[s].concat(s.visualViewport||[],Na(r)?r:[]):r,a=t.concat(o);return i?a:a.concat(Er(Ms(o)))}function Ao(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function M_(e){var t=Qn(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Dc(e,t){return t===Fd?Ao($_(e)):Jn(t)?M_(t):Ao(C_(hn(e)))}function P_(e){var t=Er(Ms(e)),n=["absolute","fixed"].indexOf(Kt(e).position)>=0,r=n&&rt(e)?ri(e):e;return Jn(r)?t.filter(function(i){return Jn(i)&&Nd(i,r)&&Pt(i)!=="body"}):[]}function R_(e,t,n){var r=t==="clippingParents"?P_(e):[].concat(t),i=[].concat(r,[n]),s=i[0],o=i.reduce(function(a,f){var l=Dc(e,f);return a.top=Tn(l.top,a.top),a.right=ts(l.right,a.right),a.bottom=ts(l.bottom,a.bottom),a.left=Tn(l.left,a.left),a},Dc(e,s));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Ud(e){var t=e.reference,n=e.element,r=e.placement,i=r?Et(r):null,s=r?er(r):null,o=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,f;switch(i){case Ye:f={x:o,y:t.y-n.height};break;case ot:f={x:o,y:t.y+t.height};break;case at:f={x:t.x+t.width,y:a};break;case Ke:f={x:t.x-n.width,y:a};break;default:f={x:t.x,y:t.y}}var l=i?Fa(i):null;if(l!=null){var c=l==="y"?"height":"width";switch(s){case Xn:f[l]=f[l]-(t[c]/2-n[c]/2);break;case Wr:f[l]=f[l]+(t[c]/2-n[c]/2);break}}return f}function Ur(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=r===void 0?e.placement:r,s=n.boundary,o=s===void 0?t_:s,a=n.rootBoundary,f=a===void 0?Fd:a,l=n.elementContext,c=l===void 0?hr:l,u=n.altBoundary,d=u===void 0?!1:u,h=n.padding,y=h===void 0?0:h,g=kd(typeof y!="number"?y:Hd(y,ni)),v=c===hr?n_:hr,m=e.rects.popper,x=e.elements[d?v:c],w=R_(Jn(x)?x:x.contextElement||hn(e.elements.popper),o,f),_=Qn(e.elements.reference),T=Ud({reference:_,element:m,placement:i}),E=Ao(Object.assign({},m,T)),H=c===hr?E:_,q={top:w.top-H.top+g.top,bottom:H.bottom-w.bottom+g.bottom,left:w.left-H.left+g.left,right:H.right-w.right+g.right},L=e.modifiersData.offset;if(c===hr&&L){var k=L[i];Object.keys(q).forEach(function(N){var $=[at,ot].indexOf(N)>=0?1:-1,Y=[Ye,ot].indexOf(N)>=0?"y":"x";q[N]+=k[Y]*$})}return q}function D_(e,t){t===void 0&&(t={});var n=t,r=n.placement,i=n.boundary,s=n.rootBoundary,o=n.padding,a=n.flipVariations,f=n.allowedAutoPlacements,l=f===void 0?Ld:f,c=er(r),u=c?a?Cc:Cc.filter(function(y){return er(y)===c}):ni,d=u.filter(function(y){return l.indexOf(y)>=0});d.length===0&&(d=u);var h=d.reduce(function(y,g){return y[g]=Ur(e,{placement:g,boundary:i,rootBoundary:s,padding:o})[Et(g)],y},{});return Object.keys(h).sort(function(y,g){return h[y]-h[g]})}function F_(e){if(Et(e)===Pa)return[];var t=Ai(e);return[Rc(e),t,Rc(t)]}function L_(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!0:o,f=n.fallbackPlacements,l=n.padding,c=n.boundary,u=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,y=h===void 0?!0:h,g=n.allowedAutoPlacements,v=t.options.placement,m=Et(v),x=m===v,w=f||(x||!y?[Ai(v)]:F_(v)),_=[v].concat(w).reduce(function(ce,ue){return ce.concat(Et(ue)===Pa?D_(t,{placement:ue,boundary:c,rootBoundary:u,padding:l,flipVariations:y,allowedAutoPlacements:g}):ue)},[]),T=t.rects.reference,E=t.rects.popper,H=new Map,q=!0,L=_[0],k=0;k<_.length;k++){var N=_[k],$=Et(N),Y=er(N)===Xn,I=[Ye,ot].indexOf($)>=0,F=I?"width":"height",S=Ur(t,{placement:N,boundary:c,rootBoundary:u,altBoundary:d,padding:l}),C=I?Y?at:Ke:Y?ot:Ye;T[F]>E[F]&&(C=Ai(C));var A=Ai(C),U=[];if(s&&U.push(S[$]<=0),a&&U.push(S[C]<=0,S[A]<=0),U.every(function(ce){return ce})){L=N,q=!1;break}H.set(N,U)}if(q)for(var K=y?3:1,J=function(ce){var ue=_.find(function(_e){var we=H.get(_e);if(we)return we.slice(0,ce).every(function(Se){return Se})});if(ue)return L=ue,"break"},ee=K;ee>0;ee--){var se=J(ee);if(se==="break")break}t.placement!==L&&(t.modifiersData[r]._skip=!0,t.placement=L,t.reset=!0)}}var I_={name:"flip",enabled:!0,phase:"main",fn:L_,requiresIfExists:["offset"],data:{_skip:!1}};function Fc(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Lc(e){return[Ye,at,ot,Ke].some(function(t){return e[t]>=0})}function N_(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,s=t.modifiersData.preventOverflow,o=Ur(t,{elementContext:"reference"}),a=Ur(t,{altBoundary:!0}),f=Fc(o,r),l=Fc(a,i,s),c=Lc(f),u=Lc(l);t.modifiersData[n]={referenceClippingOffsets:f,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}var B_={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:N_};function k_(e,t,n){var r=Et(e),i=[Ke,Ye].indexOf(r)>=0?-1:1,s=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,o=s[0],a=s[1];return o=o||0,a=(a||0)*i,[Ke,at].indexOf(r)>=0?{x:a,y:o}:{x:o,y:a}}function H_(e){var t=e.state,n=e.options,r=e.name,i=n.offset,s=i===void 0?[0,0]:i,o=Ld.reduce(function(c,u){return c[u]=k_(u,t.rects,s),c},{}),a=o[t.placement],f=a.x,l=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=f,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=o}var j_={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:H_};function q_(e){var t=e.state,n=e.name;t.modifiersData[n]=Ud({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}var Vd={name:"popperOffsets",enabled:!0,phase:"read",fn:q_,data:{}};function W_(e){return e==="x"?"y":"x"}function U_(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,s=i===void 0?!0:i,o=n.altAxis,a=o===void 0?!1:o,f=n.boundary,l=n.rootBoundary,c=n.altBoundary,u=n.padding,d=n.tether,h=d===void 0?!0:d,y=n.tetherOffset,g=y===void 0?0:y,v=Ur(t,{boundary:f,rootBoundary:l,padding:u,altBoundary:c}),m=Et(t.placement),x=er(t.placement),w=!x,_=Fa(m),T=W_(_),E=t.modifiersData.popperOffsets,H=t.rects.reference,q=t.rects.popper,L=typeof g=="function"?g(Object.assign({},t.rects,{placement:t.placement})):g,k=typeof L=="number"?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,$={x:0,y:0};if(E){if(s){var Y,I=_==="y"?Ye:Ke,F=_==="y"?ot:at,S=_==="y"?"height":"width",C=E[_],A=C+v[I],U=C-v[F],K=h?-q[S]/2:0,J=x===Xn?H[S]:q[S],ee=x===Xn?-q[S]:-H[S],se=t.elements.arrow,ce=h&&se?Da(se):{width:0,height:0},ue=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Bd(),_e=ue[I],we=ue[F],Se=Ar(0,H[S],ce[S]),De=w?H[S]/2-K-Se-_e-k.mainAxis:J-Se-_e-k.mainAxis,pe=w?-H[S]/2+K+Se+we+k.mainAxis:ee+Se+we+k.mainAxis,Ae=t.elements.arrow&&ri(t.elements.arrow),p=Ae?_==="y"?Ae.clientTop||0:Ae.clientLeft||0:0,b=(Y=N?.[_])!=null?Y:0,O=C+De-b-p,D=C+pe-b,M=Ar(h?ts(A,O):A,C,h?Tn(U,D):U);E[_]=M,$[_]=M-C}if(a){var P,W=_==="x"?Ye:Ke,j=_==="x"?ot:at,B=E[T],R=T==="y"?"height":"width",X=B+v[W],V=B-v[j],G=[Ye,Ke].indexOf(m)!==-1,Z=(P=N?.[T])!=null?P:0,te=G?X:B-H[R]-q[R]-Z+k.altAxis,ae=G?B+H[R]+q[R]-Z-k.altAxis:V,ie=h&&G?y_(te,B,ae):Ar(h?te:X,B,h?ae:V);E[T]=ie,$[T]=ie-B}t.modifiersData[r]=$}}var V_={name:"preventOverflow",enabled:!0,phase:"main",fn:U_,requiresIfExists:["offset"]};function Y_(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function K_(e){return e===bt(e)||!rt(e)?La(e):Y_(e)}function G_(e){var t=e.getBoundingClientRect(),n=Zn(t.width)/e.offsetWidth||1,r=Zn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function z_(e,t,n){n===void 0&&(n=!1);var r=rt(t),i=rt(t)&&G_(t),s=hn(t),o=Qn(e,i),a={scrollLeft:0,scrollTop:0},f={x:0,y:0};return(r||!r&&!n)&&((Pt(t)!=="body"||Na(s))&&(a=K_(t)),rt(t)?(f=Qn(t,!0),f.x+=t.clientLeft,f.y+=t.clientTop):s&&(f.x=Ia(s))),{x:o.left+a.scrollLeft-f.x,y:o.top+a.scrollTop-f.y,width:o.width,height:o.height}}function X_(e){var t=new Map,n=new Set,r=[];e.forEach(function(s){t.set(s.name,s)});function i(s){n.add(s.name);var o=[].concat(s.requires||[],s.requiresIfExists||[]);o.forEach(function(a){if(!n.has(a)){var f=t.get(a);f&&i(f)}}),r.push(s)}return e.forEach(function(s){n.has(s.name)||i(s)}),r}function J_(e){var t=X_(e);return d_.reduce(function(n,r){return n.concat(t.filter(function(i){return i.phase===r}))},[])}function Z_(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Q_(e){var t=e.reduce(function(n,r){var i=n[r.name];return n[r.name]=i?Object.assign({},i,r,{options:Object.assign({},i.options,r.options),data:Object.assign({},i.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ic={placement:"bottom",modifiers:[],strategy:"absolute"};function Nc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(r){return!(r&&typeof r.getBoundingClientRect=="function")})}function Ba(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,r=n===void 0?[]:n,i=t.defaultOptions,s=i===void 0?Ic:i;return function(o,a,f){f===void 0&&(f=s);var l={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ic,s),modifiersData:{},elements:{reference:o,popper:a},attributes:{},styles:{}},c=[],u=!1,d={state:l,setOptions:function(g){var v=typeof g=="function"?g(l.options):g;y(),l.options=Object.assign({},s,l.options,v),l.scrollParents={reference:Jn(o)?Er(o):o.contextElement?Er(o.contextElement):[],popper:Er(a)};var m=J_(Q_([].concat(r,l.options.modifiers)));return l.orderedModifiers=m.filter(function(x){return x.enabled}),h(),d.update()},forceUpdate:function(){if(!u){var g=l.elements,v=g.reference,m=g.popper;if(Nc(v,m)){l.rects={reference:z_(v,ri(m),l.options.strategy==="fixed"),popper:Da(m)},l.reset=!1,l.placement=l.options.placement,l.orderedModifiers.forEach(function(q){return l.modifiersData[q.name]=Object.assign({},q.data)});for(var x=0;x<l.orderedModifiers.length;x++){if(l.reset===!0){l.reset=!1,x=-1;continue}var w=l.orderedModifiers[x],_=w.fn,T=w.options,E=T===void 0?{}:T,H=w.name;typeof _=="function"&&(l=_({state:l,options:E,name:H,instance:d})||l)}}}},update:Z_(function(){return new Promise(function(g){d.forceUpdate(),g(l)})}),destroy:function(){y(),u=!0}};if(!Nc(o,a))return d;d.setOptions(f).then(function(g){!u&&f.onFirstUpdate&&f.onFirstUpdate(g)});function h(){l.orderedModifiers.forEach(function(g){var v=g.name,m=g.options,x=m===void 0?{}:m,w=g.effect;if(typeof w=="function"){var _=w({state:l,name:v,instance:d,options:x}),T=function(){};c.push(_||T)}})}function y(){c.forEach(function(g){return g()}),c=[]}return d}}Ba();var ex=[qd,Vd,jd,Id];Ba({defaultModifiers:ex});var tx=[qd,Vd,jd,Id,j_,I_,V_,__,B_],gT=Ba({defaultModifiers:tx});function $e(e,t){nx(e)&&(e="100%");var n=rx(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function pi(e){return Math.min(1,Math.max(0,e))}function nx(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function rx(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Yd(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function gi(e){return e<=1?"".concat(Number(e)*100,"%"):e}function wn(e){return e.length===1?"0"+e:String(e)}function ix(e,t,n){return{r:$e(e,255)*255,g:$e(t,255)*255,b:$e(n,255)*255}}function Bc(e,t,n){e=$e(e,255),t=$e(t,255),n=$e(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=0,a=(r+i)/2;if(r===i)o=0,s=0;else{var f=r-i;switch(o=a>.5?f/(2-r-i):f/(r+i),r){case e:s=(t-n)/f+(t<n?6:0);break;case t:s=(n-e)/f+2;break;case n:s=(e-t)/f+4;break}s/=6}return{h:s,s:o,l:a}}function Js(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sx(e,t,n){var r,i,s;if(e=$e(e,360),t=$e(t,100),n=$e(n,100),t===0)i=n,s=n,r=n;else{var o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=Js(a,o,e+1/3),i=Js(a,o,e),s=Js(a,o,e-1/3)}return{r:r*255,g:i*255,b:s*255}}function kc(e,t,n){e=$e(e,255),t=$e(t,255),n=$e(n,255);var r=Math.max(e,t,n),i=Math.min(e,t,n),s=0,o=r,a=r-i,f=r===0?0:a/r;if(r===i)s=0;else{switch(r){case e:s=(t-n)/a+(t<n?6:0);break;case t:s=(n-e)/a+2;break;case n:s=(e-t)/a+4;break}s/=6}return{h:s,s:f,v:o}}function ox(e,t,n){e=$e(e,360)*6,t=$e(t,100),n=$e(n,100);var r=Math.floor(e),i=e-r,s=n*(1-t),o=n*(1-i*t),a=n*(1-(1-i)*t),f=r%6,l=[n,o,s,s,a,n][f],c=[a,n,n,o,s,s][f],u=[s,s,a,n,n,o][f];return{r:l*255,g:c*255,b:u*255}}function Hc(e,t,n,r){var i=[wn(Math.round(e).toString(16)),wn(Math.round(t).toString(16)),wn(Math.round(n).toString(16))];return r&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0):i.join("")}function ax(e,t,n,r,i){var s=[wn(Math.round(e).toString(16)),wn(Math.round(t).toString(16)),wn(Math.round(n).toString(16)),wn(fx(r))];return i&&s[0].startsWith(s[0].charAt(1))&&s[1].startsWith(s[1].charAt(1))&&s[2].startsWith(s[2].charAt(1))&&s[3].startsWith(s[3].charAt(1))?s[0].charAt(0)+s[1].charAt(0)+s[2].charAt(0)+s[3].charAt(0):s.join("")}function fx(e){return Math.round(parseFloat(e)*255).toString(16)}function jc(e){return ze(e)/255}function ze(e){return parseInt(e,16)}function cx(e){return{r:e>>16,g:(e&65280)>>8,b:e&255}}var Eo={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",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:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",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:"#ff0000",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:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function lx(e){var t={r:0,g:0,b:0},n=1,r=null,i=null,s=null,o=!1,a=!1;return typeof e=="string"&&(e=hx(e)),typeof e=="object"&&(Nt(e.r)&&Nt(e.g)&&Nt(e.b)?(t=ix(e.r,e.g,e.b),o=!0,a=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Nt(e.h)&&Nt(e.s)&&Nt(e.v)?(r=gi(e.s),i=gi(e.v),t=ox(e.h,r,i),o=!0,a="hsv"):Nt(e.h)&&Nt(e.s)&&Nt(e.l)&&(r=gi(e.s),s=gi(e.l),t=sx(e.h,r,s),o=!0,a="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Yd(n),{ok:o,format:e.format||a,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var ux="[-\\+]?\\d+%?",dx="[-\\+]?\\d*\\.\\d+%?",sn="(?:".concat(dx,")|(?:").concat(ux,")"),Zs="[\\s|\\(]+(".concat(sn,")[,|\\s]+(").concat(sn,")[,|\\s]+(").concat(sn,")\\s*\\)?"),Qs="[\\s|\\(]+(".concat(sn,")[,|\\s]+(").concat(sn,")[,|\\s]+(").concat(sn,")[,|\\s]+(").concat(sn,")\\s*\\)?"),ft={CSS_UNIT:new RegExp(sn),rgb:new RegExp("rgb"+Zs),rgba:new RegExp("rgba"+Qs),hsl:new RegExp("hsl"+Zs),hsla:new RegExp("hsla"+Qs),hsv:new RegExp("hsv"+Zs),hsva:new RegExp("hsva"+Qs),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function hx(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Eo[e])e=Eo[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=ft.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=ft.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=ft.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=ft.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=ft.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=ft.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=ft.hex8.exec(e),n?{r:ze(n[1]),g:ze(n[2]),b:ze(n[3]),a:jc(n[4]),format:t?"name":"hex8"}:(n=ft.hex6.exec(e),n?{r:ze(n[1]),g:ze(n[2]),b:ze(n[3]),format:t?"name":"hex"}:(n=ft.hex4.exec(e),n?{r:ze(n[1]+n[1]),g:ze(n[2]+n[2]),b:ze(n[3]+n[3]),a:jc(n[4]+n[4]),format:t?"name":"hex8"}:(n=ft.hex3.exec(e),n?{r:ze(n[1]+n[1]),g:ze(n[2]+n[2]),b:ze(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function Nt(e){return!!ft.CSS_UNIT.exec(String(e))}var mT=(function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=cx(t)),this.originalInput=t;var i=lx(t);this.originalInput=t,this.r=i.r,this.g=i.g,this.b=i.b,this.a=i.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:i.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=i.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,i,s=t.r/255,o=t.g/255,a=t.b/255;return s<=.03928?n=s/12.92:n=Math.pow((s+.055)/1.055,2.4),o<=.03928?r=o/12.92:r=Math.pow((o+.055)/1.055,2.4),a<=.03928?i=a/12.92:i=Math.pow((a+.055)/1.055,2.4),.2126*n+.7152*r+.0722*i},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Yd(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},e.prototype.toHsv=function(){var t=kc(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=kc(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=Bc(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=Bc(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),i=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(i,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(i,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Hc(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),ax(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round($e(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round($e(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Hc(this.r,this.g,this.b,!1),n=0,r=Object.entries(Eo);n<r.length;n++){var i=r[n],s=i[0],o=i[1];if(t===o)return s}return!1},e.prototype.toString=function(t){var n=!!t;t=t??this.format;var r=!1,i=this.a<1&&this.a>=0,s=!n&&i&&(t.startsWith("hex")||t==="name");return s?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=pi(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=pi(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=pi(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=pi(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),i=new e(t).toRgb(),s=n/100,o={r:(i.r-r.r)*s+r.r,g:(i.g-r.g)*s+r.g,b:(i.b-r.b)*s+r.b,a:(i.a-r.a)*s+r.a};return new e(o)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),i=360/n,s=[this];for(r.h=(r.h-(i*t>>1)+720)%360;--t;)r.h=(r.h+i)%360,s.push(new e(r));return s},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,i=n.s,s=n.v,o=[],a=1/t;t--;)o.push(new e({h:r,s:i,v:s})),s=(s+a)%1;return o},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),i=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/i,g:(n.g*n.a+r.g*r.a*(1-n.a))/i,b:(n.b*n.a+r.b*r.a*(1-n.a))/i,a:i})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,i=[this],s=360/t,o=1;o<t;o++)i.push(new e({h:(r+o*s)%360,s:n.s,l:n.l}));return i},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e})();function Jt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ei={exports:{}},px=Ei.exports,qc;function gx(){return qc||(qc=1,(function(e,t){(function(n,r){e.exports=r()})(px,(function(){var n=1e3,r=6e4,i=36e5,s="millisecond",o="second",a="minute",f="hour",l="day",c="week",u="month",d="quarter",h="year",y="date",g="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,x={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(I){var F=["th","st","nd","rd"],S=I%100;return"["+I+(F[(S-20)%10]||F[S]||F[0])+"]"}},w=function(I,F,S){var C=String(I);return!C||C.length>=F?I:""+Array(F+1-C.length).join(S)+I},_={s:w,z:function(I){var F=-I.utcOffset(),S=Math.abs(F),C=Math.floor(S/60),A=S%60;return(F<=0?"+":"-")+w(C,2,"0")+":"+w(A,2,"0")},m:function I(F,S){if(F.date()<S.date())return-I(S,F);var C=12*(S.year()-F.year())+(S.month()-F.month()),A=F.clone().add(C,u),U=S-A<0,K=F.clone().add(C+(U?-1:1),u);return+(-(C+(S-A)/(U?A-K:K-A))||0)},a:function(I){return I<0?Math.ceil(I)||0:Math.floor(I)},p:function(I){return{M:u,y:h,w:c,d:l,D:y,h:f,m:a,s:o,ms:s,Q:d}[I]||String(I||"").toLowerCase().replace(/s$/,"")},u:function(I){return I===void 0}},T="en",E={};E[T]=x;var H="$isDayjsObject",q=function(I){return I instanceof $||!(!I||!I[H])},L=function I(F,S,C){var A;if(!F)return T;if(typeof F=="string"){var U=F.toLowerCase();E[U]&&(A=U),S&&(E[U]=S,A=U);var K=F.split("-");if(!A&&K.length>1)return I(K[0])}else{var J=F.name;E[J]=F,A=J}return!C&&A&&(T=A),A||!C&&T},k=function(I,F){if(q(I))return I.clone();var S=typeof F=="object"?F:{};return S.date=I,S.args=arguments,new $(S)},N=_;N.l=L,N.i=q,N.w=function(I,F){return k(I,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var $=(function(){function I(S){this.$L=L(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[H]=!0}var F=I.prototype;return F.parse=function(S){this.$d=(function(C){var A=C.date,U=C.utc;if(A===null)return new Date(NaN);if(N.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var K=A.match(v);if(K){var J=K[2]-1||0,ee=(K[7]||"0").substring(0,3);return U?new Date(Date.UTC(K[1],J,K[3]||1,K[4]||0,K[5]||0,K[6]||0,ee)):new Date(K[1],J,K[3]||1,K[4]||0,K[5]||0,K[6]||0,ee)}}return new Date(A)})(S),this.init()},F.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},F.$utils=function(){return N},F.isValid=function(){return this.$d.toString()!==g},F.isSame=function(S,C){var A=k(S);return this.startOf(C)<=A&&A<=this.endOf(C)},F.isAfter=function(S,C){return k(S)<this.startOf(C)},F.isBefore=function(S,C){return this.endOf(C)<k(S)},F.$g=function(S,C,A){return N.u(S)?this[C]:this.set(A,S)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(S,C){var A=this,U=!!N.u(C)||C,K=N.p(S),J=function(De,pe){var Ae=N.w(A.$u?Date.UTC(A.$y,pe,De):new Date(A.$y,pe,De),A);return U?Ae:Ae.endOf(l)},ee=function(De,pe){return N.w(A.toDate()[De].apply(A.toDate("s"),(U?[0,0,0,0]:[23,59,59,999]).slice(pe)),A)},se=this.$W,ce=this.$M,ue=this.$D,_e="set"+(this.$u?"UTC":"");switch(K){case h:return U?J(1,0):J(31,11);case u:return U?J(1,ce):J(0,ce+1);case c:var we=this.$locale().weekStart||0,Se=(se<we?se+7:se)-we;return J(U?ue-Se:ue+(6-Se),ce);case l:case y:return ee(_e+"Hours",0);case f:return ee(_e+"Minutes",1);case a:return ee(_e+"Seconds",2);case o:return ee(_e+"Milliseconds",3);default:return this.clone()}},F.endOf=function(S){return this.startOf(S,!1)},F.$set=function(S,C){var A,U=N.p(S),K="set"+(this.$u?"UTC":""),J=(A={},A[l]=K+"Date",A[y]=K+"Date",A[u]=K+"Month",A[h]=K+"FullYear",A[f]=K+"Hours",A[a]=K+"Minutes",A[o]=K+"Seconds",A[s]=K+"Milliseconds",A)[U],ee=U===l?this.$D+(C-this.$W):C;if(U===u||U===h){var se=this.clone().set(y,1);se.$d[J](ee),se.init(),this.$d=se.set(y,Math.min(this.$D,se.daysInMonth())).$d}else J&&this.$d[J](ee);return this.init(),this},F.set=function(S,C){return this.clone().$set(S,C)},F.get=function(S){return this[N.p(S)]()},F.add=function(S,C){var A,U=this;S=Number(S);var K=N.p(C),J=function(ce){var ue=k(U);return N.w(ue.date(ue.date()+Math.round(ce*S)),U)};if(K===u)return this.set(u,this.$M+S);if(K===h)return this.set(h,this.$y+S);if(K===l)return J(1);if(K===c)return J(7);var ee=(A={},A[a]=r,A[f]=i,A[o]=n,A)[K]||1,se=this.$d.getTime()+S*ee;return N.w(se,this)},F.subtract=function(S,C){return this.add(-1*S,C)},F.format=function(S){var C=this,A=this.$locale();if(!this.isValid())return A.invalidDate||g;var U=S||"YYYY-MM-DDTHH:mm:ssZ",K=N.z(this),J=this.$H,ee=this.$m,se=this.$M,ce=A.weekdays,ue=A.months,_e=A.meridiem,we=function(pe,Ae,p,b){return pe&&(pe[Ae]||pe(C,U))||p[Ae].slice(0,b)},Se=function(pe){return N.s(J%12||12,pe,"0")},De=_e||function(pe,Ae,p){var b=pe<12?"AM":"PM";return p?b.toLowerCase():b};return U.replace(m,(function(pe,Ae){return Ae||(function(p){switch(p){case"YY":return String(C.$y).slice(-2);case"YYYY":return N.s(C.$y,4,"0");case"M":return se+1;case"MM":return N.s(se+1,2,"0");case"MMM":return we(A.monthsShort,se,ue,3);case"MMMM":return we(ue,se);case"D":return C.$D;case"DD":return N.s(C.$D,2,"0");case"d":return String(C.$W);case"dd":return we(A.weekdaysMin,C.$W,ce,2);case"ddd":return we(A.weekdaysShort,C.$W,ce,3);case"dddd":return ce[C.$W];case"H":return String(J);case"HH":return N.s(J,2,"0");case"h":return Se(1);case"hh":return Se(2);case"a":return De(J,ee,!0);case"A":return De(J,ee,!1);case"m":return String(ee);case"mm":return N.s(ee,2,"0");case"s":return String(C.$s);case"ss":return N.s(C.$s,2,"0");case"SSS":return N.s(C.$ms,3,"0");case"Z":return K}return null})(pe)||K.replace(":","")}))},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(S,C,A){var U,K=this,J=N.p(C),ee=k(S),se=(ee.utcOffset()-this.utcOffset())*r,ce=this-ee,ue=function(){return N.m(K,ee)};switch(J){case h:U=ue()/12;break;case u:U=ue();break;case d:U=ue()/3;break;case c:U=(ce-se)/6048e5;break;case l:U=(ce-se)/864e5;break;case f:U=ce/i;break;case a:U=ce/r;break;case o:U=ce/n;break;default:U=ce}return A?U:N.a(U)},F.daysInMonth=function(){return this.endOf(u).$D},F.$locale=function(){return E[this.$L]},F.locale=function(S,C){if(!S)return this.$L;var A=this.clone(),U=L(S,C,!0);return U&&(A.$L=U),A},F.clone=function(){return N.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},I})(),Y=$.prototype;return k.prototype=Y,[["$ms",s],["$s",o],["$m",a],["$H",f],["$W",l],["$M",u],["$y",h],["$D",y]].forEach((function(I){Y[I[1]]=function(F){return this.$g(F,I[0],I[1])}})),k.extend=function(I,F){return I.$i||(I(F,$,k),I.$i=!0),k},k.locale=L,k.isDayjs=q,k.unix=function(I){return k(1e3*I)},k.en=E[T],k.Ls=E,k.p={},k}))})(Ei)),Ei.exports}var mx=gx();const yT=Jt(mx);var $i={exports:{}},yx=$i.exports,Wc;function vx(){return Wc||(Wc=1,(function(e,t){(function(n,r){e.exports=r()})(yx,(function(){return function(n,r,i){var s=r.prototype,o=function(u){return u&&(u.indexOf?u:u.s)},a=function(u,d,h,y,g){var v=u.name?u:u.$locale(),m=o(v[d]),x=o(v[h]),w=m||x.map((function(T){return T.slice(0,y)}));if(!g)return w;var _=v.weekStart;return w.map((function(T,E){return w[(E+(_||0))%7]}))},f=function(){return i.Ls[i.locale()]},l=function(u,d){return u.formats[d]||(function(h){return h.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(y,g,v){return g||v.slice(1)}))})(u.formats[d.toUpperCase()])},c=function(){var u=this;return{months:function(d){return d?d.format("MMMM"):a(u,"months")},monthsShort:function(d){return d?d.format("MMM"):a(u,"monthsShort","months",3)},firstDayOfWeek:function(){return u.$locale().weekStart||0},weekdays:function(d){return d?d.format("dddd"):a(u,"weekdays")},weekdaysMin:function(d){return d?d.format("dd"):a(u,"weekdaysMin","weekdays",2)},weekdaysShort:function(d){return d?d.format("ddd"):a(u,"weekdaysShort","weekdays",3)},longDateFormat:function(d){return l(u.$locale(),d)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};s.localeData=function(){return c.bind(this)()},i.localeData=function(){var u=f();return{firstDayOfWeek:function(){return u.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(d){return l(u,d)},meridiem:u.meridiem,ordinal:u.ordinal}},i.months=function(){return a(f(),"months")},i.monthsShort=function(){return a(f(),"monthsShort","months",3)},i.weekdays=function(u){return a(f(),"weekdays",null,null,u)},i.weekdaysShort=function(u){return a(f(),"weekdaysShort","weekdays",3,u)},i.weekdaysMin=function(u){return a(f(),"weekdaysMin","weekdays",2,u)}}}))})($i)),$i.exports}var bx=vx();const vT=Jt(bx);var Ci={exports:{}},wx=Ci.exports,Uc;function _x(){return Uc||(Uc=1,(function(e,t){(function(n,r){e.exports=r()})(wx,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,s=/\d\d/,o=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,f={},l=function(v){return(v=+v)+(v>68?1900:2e3)},c=function(v){return function(m){this[v]=+m}},u=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=(function(m){if(!m||m==="Z")return 0;var x=m.match(/([+-]|\d\d)/g),w=60*x[1]+(+x[2]||0);return w===0?0:x[0]==="+"?-w:w})(v)}],d=function(v){var m=f[v];return m&&(m.indexOf?m:m.s.concat(m.f))},h=function(v,m){var x,w=f.meridiem;if(w){for(var _=1;_<=24;_+=1)if(v.indexOf(w(_,0,m))>-1){x=_>12;break}}else x=v===(m?"pm":"PM");return x},y={A:[a,function(v){this.afternoon=h(v,!1)}],a:[a,function(v){this.afternoon=h(v,!0)}],Q:[i,function(v){this.month=3*(v-1)+1}],S:[i,function(v){this.milliseconds=100*+v}],SS:[s,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[o,c("seconds")],ss:[o,c("seconds")],m:[o,c("minutes")],mm:[o,c("minutes")],H:[o,c("hours")],h:[o,c("hours")],HH:[o,c("hours")],hh:[o,c("hours")],D:[o,c("day")],DD:[s,c("day")],Do:[a,function(v){var m=f.ordinal,x=v.match(/\d+/);if(this.day=x[0],m)for(var w=1;w<=31;w+=1)m(w).replace(/\[|\]/g,"")===v&&(this.day=w)}],w:[o,c("week")],ww:[s,c("week")],M:[o,c("month")],MM:[s,c("month")],MMM:[a,function(v){var m=d("months"),x=(d("monthsShort")||m.map((function(w){return w.slice(0,3)}))).indexOf(v)+1;if(x<1)throw new Error;this.month=x%12||x}],MMMM:[a,function(v){var m=d("months").indexOf(v)+1;if(m<1)throw new Error;this.month=m%12||m}],Y:[/[+-]?\d+/,c("year")],YY:[s,function(v){this.year=l(v)}],YYYY:[/\d{4}/,c("year")],Z:u,ZZ:u};function g(v){var m,x;m=v,x=f&&f.formats;for(var w=(v=m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(k,N,$){var Y=$&&$.toUpperCase();return N||x[$]||n[$]||x[Y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(I,F,S){return F||S.slice(1)}))}))).match(r),_=w.length,T=0;T<_;T+=1){var E=w[T],H=y[E],q=H&&H[0],L=H&&H[1];w[T]=L?{regex:q,parser:L}:E.replace(/^\[|\]$/g,"")}return function(k){for(var N={},$=0,Y=0;$<_;$+=1){var I=w[$];if(typeof I=="string")Y+=I.length;else{var F=I.regex,S=I.parser,C=k.slice(Y),A=F.exec(C)[0];S.call(N,A),k=k.replace(A,"")}}return(function(U){var K=U.afternoon;if(K!==void 0){var J=U.hours;K?J<12&&(U.hours+=12):J===12&&(U.hours=0),delete U.afternoon}})(N),N}}return function(v,m,x){x.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(l=v.parseTwoDigitYear);var w=m.prototype,_=w.parse;w.parse=function(T){var E=T.date,H=T.utc,q=T.args;this.$u=H;var L=q[1];if(typeof L=="string"){var k=q[2]===!0,N=q[3]===!0,$=k||N,Y=q[2];N&&(Y=q[2]),f=this.$locale(),!k&&Y&&(f=x.Ls[Y]),this.$d=(function(C,A,U,K){try{if(["x","X"].indexOf(A)>-1)return new Date((A==="X"?1e3:1)*C);var J=g(A)(C),ee=J.year,se=J.month,ce=J.day,ue=J.hours,_e=J.minutes,we=J.seconds,Se=J.milliseconds,De=J.zone,pe=J.week,Ae=new Date,p=ce||(ee||se?1:Ae.getDate()),b=ee||Ae.getFullYear(),O=0;ee&&!se||(O=se>0?se-1:Ae.getMonth());var D,M=ue||0,P=_e||0,W=we||0,j=Se||0;return De?new Date(Date.UTC(b,O,p,M,P,W,j+60*De.offset*1e3)):U?new Date(Date.UTC(b,O,p,M,P,W,j)):(D=new Date(b,O,p,M,P,W,j),pe&&(D=K(D).week(pe).toDate()),D)}catch{return new Date("")}})(E,L,H,x),this.init(),Y&&Y!==!0&&(this.$L=this.locale(Y).$L),$&&E!=this.format(L)&&(this.$d=new Date("")),f={}}else if(L instanceof Array)for(var I=L.length,F=1;F<=I;F+=1){q[1]=L[F-1];var S=x.apply(this,q);if(S.isValid()){this.$d=S.$d,this.$L=S.$L,this.init();break}F===I&&(this.$d=new Date(""))}else _.call(this,T)}}}))})(Ci)),Ci.exports}var xx=_x();const bT=Jt(xx);var Mi={exports:{}},Ox=Mi.exports,Vc;function Sx(){return Vc||(Vc=1,(function(e,t){(function(n,r){e.exports=r()})(Ox,(function(){return function(n,r){var i=r.prototype,s=i.format;i.format=function(o){var a=this,f=this.$locale();if(!this.isValid())return s.bind(this)(o);var l=this.$utils(),c=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(u){switch(u){case"Q":return Math.ceil((a.$M+1)/3);case"Do":return f.ordinal(a.$D);case"gggg":return a.weekYear();case"GGGG":return a.isoWeekYear();case"wo":return f.ordinal(a.week(),"W");case"w":case"ww":return l.s(a.week(),u==="w"?1:2,"0");case"W":case"WW":return l.s(a.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return l.s(String(a.$H===0?24:a.$H),u==="k"?1:2,"0");case"X":return Math.floor(a.$d.getTime()/1e3);case"x":return a.$d.getTime();case"z":return"["+a.offsetName()+"]";case"zzz":return"["+a.offsetName("long")+"]";default:return u}}));return s.bind(this)(c)}}}))})(Mi)),Mi.exports}var Tx=Sx();const wT=Jt(Tx);var Pi={exports:{}},Ax=Pi.exports,Yc;function Ex(){return Yc||(Yc=1,(function(e,t){(function(n,r){e.exports=r()})(Ax,(function(){var n="week",r="year";return function(i,s,o){var a=s.prototype;a.week=function(f){if(f===void 0&&(f=null),f!==null)return this.add(7*(f-this.week()),"day");var l=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var c=o(this).startOf(r).add(1,r).date(l),u=o(this).endOf(n);if(c.isBefore(u))return 1}var d=o(this).startOf(r).date(l).startOf(n).subtract(1,"millisecond"),h=this.diff(d,n,!0);return h<0?o(this).startOf("week").week():Math.ceil(h)},a.weeks=function(f){return f===void 0&&(f=null),this.week(f)}}}))})(Pi)),Pi.exports}var $x=Ex();const _T=Jt($x);var Ri={exports:{}},Cx=Ri.exports,Kc;function Mx(){return Kc||(Kc=1,(function(e,t){(function(n,r){e.exports=r()})(Cx,(function(){return function(n,r){r.prototype.weekYear=function(){var i=this.month(),s=this.week(),o=this.year();return s===1&&i===11?o+1:i===0&&s>=52?o-1:o}}}))})(Ri)),Ri.exports}var Px=Mx();const xT=Jt(Px);var Di={exports:{}},Rx=Di.exports,Gc;function Dx(){return Gc||(Gc=1,(function(e,t){(function(n,r){e.exports=r()})(Rx,(function(){return function(n,r,i){r.prototype.dayOfYear=function(s){var o=Math.round((i(this).startOf("day")-i(this).startOf("year"))/864e5)+1;return s==null?o:this.add(s-o,"day")}}}))})(Di)),Di.exports}var Fx=Dx();const OT=Jt(Fx);var Fi={exports:{}},Lx=Fi.exports,zc;function Ix(){return zc||(zc=1,(function(e,t){(function(n,r){e.exports=r()})(Lx,(function(){return function(n,r){r.prototype.isSameOrAfter=function(i,s){return this.isSame(i,s)||this.isAfter(i,s)}}}))})(Fi)),Fi.exports}var Nx=Ix();const ST=Jt(Nx);var Li={exports:{}},Bx=Li.exports,Xc;function kx(){return Xc||(Xc=1,(function(e,t){(function(n,r){e.exports=r()})(Bx,(function(){return function(n,r){r.prototype.isSameOrBefore=function(i,s){return this.isSame(i,s)||this.isBefore(i,s)}}}))})(Li)),Li.exports}var Hx=kx();const TT=Jt(Hx);function _n(){return _n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},_n.apply(this,arguments)}function jx(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Vr(e,t)}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(n){return n.__proto__||Object.getPrototypeOf(n)},$o(e)}function Vr(e,t){return Vr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},Vr(e,t)}function qx(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ii(e,t,n){return qx()?Ii=Reflect.construct.bind():Ii=function(i,s,o){var a=[null];a.push.apply(a,s);var f=Function.bind.apply(i,a),l=new f;return o&&Vr(l,o.prototype),l},Ii.apply(null,arguments)}function Wx(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Co(e){var t=typeof Map=="function"?new Map:void 0;return Co=function(r){if(r===null||!Wx(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return Ii(r,arguments,$o(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Vr(i,r)},Co(e)}var Ux=/%[sdj%]/g,Vx=function(){};function Mo(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function Je(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=0,s=n.length;if(typeof e=="function")return e.apply(null,n);if(typeof e=="string"){var o=e.replace(Ux,function(a){if(a==="%%")return"%";if(i>=s)return a;switch(a){case"%s":return String(n[i++]);case"%d":return Number(n[i++]);case"%j":try{return JSON.stringify(n[i++])}catch{return"[Circular]"}break;default:return a}});return o}return e}function Yx(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function Oe(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||Yx(t)&&typeof e=="string"&&!e)}function Kx(e,t,n){var r=[],i=0,s=e.length;function o(a){r.push.apply(r,a||[]),i++,i===s&&n(r)}e.forEach(function(a){t(a,o)})}function Jc(e,t,n){var r=0,i=e.length;function s(o){if(o&&o.length){n(o);return}var a=r;r=r+1,a<i?t(e[a],s):n([])}s([])}function Gx(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n]||[])}),t}var Zc=(function(e){jx(t,e);function t(n,r){var i;return i=e.call(this,"Async Validation Error")||this,i.errors=n,i.fields=r,i}return t})(Co(Error));function zx(e,t,n,r,i){if(t.first){var s=new Promise(function(d,h){var y=function(m){return r(m),m.length?h(new Zc(m,Mo(m))):d(i)},g=Gx(e);Jc(g,n,y)});return s.catch(function(d){return d}),s}var o=t.firstFields===!0?Object.keys(e):t.firstFields||[],a=Object.keys(e),f=a.length,l=0,c=[],u=new Promise(function(d,h){var y=function(v){if(c.push.apply(c,v),l++,l===f)return r(c),c.length?h(new Zc(c,Mo(c))):d(i)};a.length||(r(c),d(i)),a.forEach(function(g){var v=e[g];o.indexOf(g)!==-1?Jc(v,n,y):Kx(v,n,y)})});return u.catch(function(d){return d}),u}function Xx(e){return!!(e&&e.message!==void 0)}function Jx(e,t){for(var n=e,r=0;r<t.length;r++){if(n==null)return n;n=n[t[r]]}return n}function Qc(e,t){return function(n){var r;return e.fullFields?r=Jx(t,e.fullFields):r=t[n.field||e.fullField],Xx(n)?(n.field=n.field||e.fullField,n.fieldValue=r,n):{message:typeof n=="function"?n():n,fieldValue:r,field:n.field||e.fullField}}}function el(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=_n({},e[n],r):e[n]=r}}return e}var Kd=function(t,n,r,i,s,o){t.required&&(!r.hasOwnProperty(t.field)||Oe(n,o||t.type))&&i.push(Je(s.messages.required,t.fullField))},Zx=function(t,n,r,i,s){(/^\s+$/.test(n)||n==="")&&i.push(Je(s.messages.whitespace,t.fullField))},mi,Qx=(function(){if(mi)return mi;var e="[a-fA-F\\d:]",t=function(_){return _&&_.includeBoundaries?"(?:(?<=\\s|^)(?="+e+")|(?<="+e+")(?=\\s|$))":""},n="(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}",r="[a-fA-F\\d]{1,4}",i=(`
|
||
(?:
|
||
(?:`+r+":){7}(?:"+r+`|:)| // 1:2:3:4:5:6:7:: 1:2:3:4:5:6:7:8
|
||
(?:`+r+":){6}(?:"+n+"|:"+r+`|:)| // 1:2:3:4:5:6:: 1:2:3:4:5:6::8 1:2:3:4:5:6::8 1:2:3:4:5:6::1.2.3.4
|
||
(?:`+r+":){5}(?::"+n+"|(?::"+r+`){1,2}|:)| // 1:2:3:4:5:: 1:2:3:4:5::7:8 1:2:3:4:5::8 1:2:3:4:5::7:1.2.3.4
|
||
(?:`+r+":){4}(?:(?::"+r+"){0,1}:"+n+"|(?::"+r+`){1,3}|:)| // 1:2:3:4:: 1:2:3:4::6:7:8 1:2:3:4::8 1:2:3:4::6:7:1.2.3.4
|
||
(?:`+r+":){3}(?:(?::"+r+"){0,2}:"+n+"|(?::"+r+`){1,4}|:)| // 1:2:3:: 1:2:3::5:6:7:8 1:2:3::8 1:2:3::5:6:7:1.2.3.4
|
||
(?:`+r+":){2}(?:(?::"+r+"){0,3}:"+n+"|(?::"+r+`){1,5}|:)| // 1:2:: 1:2::4:5:6:7:8 1:2::8 1:2::4:5:6:7:1.2.3.4
|
||
(?:`+r+":){1}(?:(?::"+r+"){0,4}:"+n+"|(?::"+r+`){1,6}|:)| // 1:: 1::3:4:5:6:7:8 1::8 1::3:4:5:6:7:1.2.3.4
|
||
(?::(?:(?::`+r+"){0,5}:"+n+"|(?::"+r+`){1,7}|:)) // ::2:3:4:5:6:7:8 ::2:3:4:5:6:7:8 ::8 ::1.2.3.4
|
||
)(?:%[0-9a-zA-Z]{1,})? // %eth0 %1
|
||
`).replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),s=new RegExp("(?:^"+n+"$)|(?:^"+i+"$)"),o=new RegExp("^"+n+"$"),a=new RegExp("^"+i+"$"),f=function(_){return _&&_.exact?s:new RegExp("(?:"+t(_)+n+t(_)+")|(?:"+t(_)+i+t(_)+")","g")};f.v4=function(w){return w&&w.exact?o:new RegExp(""+t(w)+n+t(w),"g")},f.v6=function(w){return w&&w.exact?a:new RegExp(""+t(w)+i+t(w),"g")};var l="(?:(?:[a-z]+:)?//)",c="(?:\\S+(?::\\S*)?@)?",u=f.v4().source,d=f.v6().source,h="(?:(?:[a-z\\u00a1-\\uffff0-9][-_]*)*[a-z\\u00a1-\\uffff0-9]+)",y="(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*",g="(?:\\.(?:[a-z\\u00a1-\\uffff]{2,}))",v="(?::\\d{2,5})?",m='(?:[/?#][^\\s"]*)?',x="(?:"+l+"|www\\.)"+c+"(?:localhost|"+u+"|"+d+"|"+h+y+g+")"+v+m;return mi=new RegExp("(?:^"+x+"$)","i"),mi}),tl={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},gr={integer:function(t){return gr.number(t)&&parseInt(t,10)===t},float:function(t){return gr.number(t)&&!gr.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!gr.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(tl.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(Qx())},hex:function(t){return typeof t=="string"&&!!t.match(tl.hex)}},e1=function(t,n,r,i,s){if(t.required&&n===void 0){Kd(t,n,r,i,s);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;o.indexOf(a)>-1?gr[a](n)||i.push(Je(s.messages.types[a],t.fullField,t.type)):a&&typeof n!==t.type&&i.push(Je(s.messages.types[a],t.fullField,t.type))},t1=function(t,n,r,i,s){var o=typeof t.len=="number",a=typeof t.min=="number",f=typeof t.max=="number",l=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=n,u=null,d=typeof n=="number",h=typeof n=="string",y=Array.isArray(n);if(d?u="number":h?u="string":y&&(u="array"),!u)return!1;y&&(c=n.length),h&&(c=n.replace(l,"_").length),o?c!==t.len&&i.push(Je(s.messages[u].len,t.fullField,t.len)):a&&!f&&c<t.min?i.push(Je(s.messages[u].min,t.fullField,t.min)):f&&!a&&c>t.max?i.push(Je(s.messages[u].max,t.fullField,t.max)):a&&f&&(c<t.min||c>t.max)&&i.push(Je(s.messages[u].range,t.fullField,t.min,t.max))},In="enum",n1=function(t,n,r,i,s){t[In]=Array.isArray(t[In])?t[In]:[],t[In].indexOf(n)===-1&&i.push(Je(s.messages[In],t.fullField,t[In].join(", ")))},r1=function(t,n,r,i,s){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(n)||i.push(Je(s.messages.pattern.mismatch,t.fullField,n,t.pattern));else if(typeof t.pattern=="string"){var o=new RegExp(t.pattern);o.test(n)||i.push(Je(s.messages.pattern.mismatch,t.fullField,n,t.pattern))}}},ne={required:Kd,whitespace:Zx,type:e1,range:t1,enum:n1,pattern:r1},i1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n,"string")&&!t.required)return r();ne.required(t,n,i,o,s,"string"),Oe(n,"string")||(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s),ne.pattern(t,n,i,o,s),t.whitespace===!0&&ne.whitespace(t,n,i,o,s))}r(o)},s1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&ne.type(t,n,i,o,s)}r(o)},o1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n===""&&(n=void 0),Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s))}r(o)},a1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&ne.type(t,n,i,o,s)}r(o)},f1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),Oe(n)||ne.type(t,n,i,o,s)}r(o)},c1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s))}r(o)},l1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s))}r(o)},u1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(n==null&&!t.required)return r();ne.required(t,n,i,o,s,"array"),n!=null&&(ne.type(t,n,i,o,s),ne.range(t,n,i,o,s))}r(o)},d1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&ne.type(t,n,i,o,s)}r(o)},h1="enum",p1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s),n!==void 0&&ne[h1](t,n,i,o,s)}r(o)},g1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n,"string")&&!t.required)return r();ne.required(t,n,i,o,s),Oe(n,"string")||ne.pattern(t,n,i,o,s)}r(o)},m1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n,"date")&&!t.required)return r();if(ne.required(t,n,i,o,s),!Oe(n,"date")){var f;n instanceof Date?f=n:f=new Date(n),ne.type(t,f,i,o,s),f&&ne.range(t,f.getTime(),i,o,s)}}r(o)},y1=function(t,n,r,i,s){var o=[],a=Array.isArray(n)?"array":typeof n;ne.required(t,n,i,o,s,a),r(o)},eo=function(t,n,r,i,s){var o=t.type,a=[],f=t.required||!t.required&&i.hasOwnProperty(t.field);if(f){if(Oe(n,o)&&!t.required)return r();ne.required(t,n,i,a,s,o),Oe(n,o)||ne.type(t,n,i,a,s)}r(a)},v1=function(t,n,r,i,s){var o=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(Oe(n)&&!t.required)return r();ne.required(t,n,i,o,s)}r(o)},$r={string:i1,method:s1,number:o1,boolean:a1,regexp:f1,integer:c1,float:l1,array:u1,object:d1,enum:p1,pattern:g1,date:m1,url:eo,hex:eo,email:eo,required:y1,any:v1};function Po(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var Ro=Po(),Ps=(function(){function e(n){this.rules=null,this._messages=Ro,this.define(n)}var t=e.prototype;return t.define=function(r){var i=this;if(!r)throw new Error("Cannot configure a schema with no rules");if(typeof r!="object"||Array.isArray(r))throw new Error("Rules must be an object");this.rules={},Object.keys(r).forEach(function(s){var o=r[s];i.rules[s]=Array.isArray(o)?o:[o]})},t.messages=function(r){return r&&(this._messages=el(Po(),r)),this._messages},t.validate=function(r,i,s){var o=this;i===void 0&&(i={}),s===void 0&&(s=function(){});var a=r,f=i,l=s;if(typeof f=="function"&&(l=f,f={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(null,a),Promise.resolve(a);function c(g){var v=[],m={};function x(_){if(Array.isArray(_)){var T;v=(T=v).concat.apply(T,_)}else v.push(_)}for(var w=0;w<g.length;w++)x(g[w]);v.length?(m=Mo(v),l(v,m)):l(null,a)}if(f.messages){var u=this.messages();u===Ro&&(u=Po()),el(u,f.messages),f.messages=u}else f.messages=this.messages();var d={},h=f.keys||Object.keys(this.rules);h.forEach(function(g){var v=o.rules[g],m=a[g];v.forEach(function(x){var w=x;typeof w.transform=="function"&&(a===r&&(a=_n({},a)),m=a[g]=w.transform(m)),typeof w=="function"?w={validator:w}:w=_n({},w),w.validator=o.getValidationMethod(w),w.validator&&(w.field=g,w.fullField=w.fullField||g,w.type=o.getType(w),d[g]=d[g]||[],d[g].push({rule:w,value:m,source:a,field:g}))})});var y={};return zx(d,f,function(g,v){var m=g.rule,x=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");x=x&&(m.required||!m.required&&g.value),m.field=g.field;function w(E,H){return _n({},H,{fullField:m.fullField+"."+E,fullFields:m.fullFields?[].concat(m.fullFields,[E]):[E]})}function _(E){E===void 0&&(E=[]);var H=Array.isArray(E)?E:[E];!f.suppressWarning&&H.length&&e.warning("async-validator:",H),H.length&&m.message!==void 0&&(H=[].concat(m.message));var q=H.map(Qc(m,a));if(f.first&&q.length)return y[m.field]=1,v(q);if(!x)v(q);else{if(m.required&&!g.value)return m.message!==void 0?q=[].concat(m.message).map(Qc(m,a)):f.error&&(q=[f.error(m,Je(f.messages.required,m.field))]),v(q);var L={};m.defaultField&&Object.keys(g.value).map(function($){L[$]=m.defaultField}),L=_n({},L,g.rule.fields);var k={};Object.keys(L).forEach(function($){var Y=L[$],I=Array.isArray(Y)?Y:[Y];k[$]=I.map(w.bind(null,$))});var N=new e(k);N.messages(f.messages),g.rule.options&&(g.rule.options.messages=f.messages,g.rule.options.error=f.error),N.validate(g.value,g.rule.options||f,function($){var Y=[];q&&q.length&&Y.push.apply(Y,q),$&&$.length&&Y.push.apply(Y,$),v(Y.length?Y:null)})}}var T;if(m.asyncValidator)T=m.asyncValidator(m,g.value,_,g.source,f);else if(m.validator){try{T=m.validator(m,g.value,_,g.source,f)}catch(E){console.error?.(E),f.suppressValidatorError||setTimeout(function(){throw E},0),_(E.message)}T===!0?_():T===!1?_(typeof m.message=="function"?m.message(m.fullField||m.field):m.message||(m.fullField||m.field)+" fails"):T instanceof Array?_(T):T instanceof Error&&_(T.message)}T&&T.then&&T.then(function(){return _()},function(E){return _(E)})},function(g){c(g)},a)},t.getType=function(r){if(r.type===void 0&&r.pattern instanceof RegExp&&(r.type="pattern"),typeof r.validator!="function"&&r.type&&!$r.hasOwnProperty(r.type))throw new Error(Je("Unknown rule type %s",r.type));return r.type||"string"},t.getValidationMethod=function(r){if(typeof r.validator=="function")return r.validator;var i=Object.keys(r),s=i.indexOf("message");return s!==-1&&i.splice(s,1),i.length===1&&i[0]==="required"?$r.required:$r[this.getType(r)]||void 0},e})();Ps.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");$r[t]=n};Ps.warning=Vx;Ps.messages=Ro;Ps.validators=$r;var nl=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function b1(e,t){return!!(e===t||nl(e)&&nl(t))}function w1(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!b1(e[n],t[n]))return!1;return!0}function AT(e,t){t===void 0&&(t=w1);var n=null;function r(){for(var i=[],s=0;s<arguments.length;s++)i[s]=arguments[s];if(n&&n.lastThis===this&&t(i,n.lastArgs))return n.lastResult;var o=e.apply(this,i);return n={lastResult:o,lastArgs:i,lastThis:this},o}return r.clear=function(){n=null},r}var rl=!1,bn,Do,Fo,Ni,Bi,Gd,ki,Lo,Io,No,zd,Bo,ko,Xd,Jd;function Ue(){if(!rl){rl=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),n=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(Bo=/\b(iPhone|iP[ao]d)/.exec(e),ko=/\b(iP[ao]d)/.exec(e),No=/Android/i.exec(e),Xd=/FBAN\/\w+;/i.exec(e),Jd=/Mobile/i.exec(e),zd=!!/Win64/.exec(e),t){bn=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,bn&&document&&document.documentMode&&(bn=document.documentMode);var r=/(?:Trident\/(\d+.\d+))/.exec(e);Gd=r?parseFloat(r[1])+4:bn,Do=t[2]?parseFloat(t[2]):NaN,Fo=t[3]?parseFloat(t[3]):NaN,Ni=t[4]?parseFloat(t[4]):NaN,Ni?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),Bi=t&&t[1]?parseFloat(t[1]):NaN):Bi=NaN}else bn=Do=Fo=Bi=Ni=NaN;if(n){if(n[1]){var i=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);ki=i?parseFloat(i[1].replace("_",".")):!0}else ki=!1;Lo=!!n[2],Io=!!n[3]}else ki=Lo=Io=!1}}var Ho={ie:function(){return Ue()||bn},ieCompatibilityMode:function(){return Ue()||Gd>bn},ie64:function(){return Ho.ie()&&zd},firefox:function(){return Ue()||Do},opera:function(){return Ue()||Fo},webkit:function(){return Ue()||Ni},safari:function(){return Ho.webkit()},chrome:function(){return Ue()||Bi},windows:function(){return Ue()||Lo},osx:function(){return Ue()||ki},linux:function(){return Ue()||Io},iphone:function(){return Ue()||Bo},mobile:function(){return Ue()||Bo||ko||No||Jd},nativeApp:function(){return Ue()||Xd},android:function(){return Ue()||No},ipad:function(){return Ue()||ko}},_1=Ho,x1=!!(typeof window<"u"&&window.document&&window.document.createElement),O1={canUseDOM:x1},Zd=O1,Qd;Zd.canUseDOM&&(Qd=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S1(e,t){if(!Zd.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,r=n in document;if(!r){var i=document.createElement("div");i.setAttribute(n,"return;"),r=typeof i[n]=="function"}return!r&&Qd&&e==="wheel"&&(r=document.implementation.hasFeature("Events.wheel","3.0")),r}var T1=S1,il=10,sl=40,ol=800;function eh(e){var t=0,n=0,r=0,i=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),r=t*il,i=n*il,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(r=e.deltaX),(r||i)&&e.deltaMode&&(e.deltaMode==1?(r*=sl,i*=sl):(r*=ol,i*=ol)),r&&!t&&(t=r<1?-1:1),i&&!n&&(n=i<1?-1:1),{spinX:t,spinY:n,pixelX:r,pixelY:i}}eh.getEventType=function(){return _1.firefox()?"DOMMouseScroll":T1("wheel")?"wheel":"mousewheel"};var ET=eh;const tr=Math.min,An=Math.max,ns=Math.round,yi=Math.floor,$t=e=>({x:e,y:e}),A1={left:"right",right:"left",bottom:"top",top:"bottom"},E1={start:"end",end:"start"};function jo(e,t,n){return An(e,tr(t,n))}function ii(e,t){return typeof e=="function"?e(t):e}function Cn(e){return e.split("-")[0]}function si(e){return e.split("-")[1]}function th(e){return e==="x"?"y":"x"}function ka(e){return e==="y"?"height":"width"}const $1=new Set(["top","bottom"]);function on(e){return $1.has(Cn(e))?"y":"x"}function Ha(e){return th(on(e))}function C1(e,t,n){n===void 0&&(n=!1);const r=si(e),i=Ha(e),s=ka(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=rs(o)),[o,rs(o)]}function M1(e){const t=rs(e);return[qo(e),t,qo(t)]}function qo(e){return e.replace(/start|end/g,t=>E1[t])}const al=["left","right"],fl=["right","left"],P1=["top","bottom"],R1=["bottom","top"];function D1(e,t,n){switch(e){case"top":case"bottom":return n?t?fl:al:t?al:fl;case"left":case"right":return t?P1:R1;default:return[]}}function F1(e,t,n,r){const i=si(e);let s=D1(Cn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(qo)))),s}function rs(e){return e.replace(/left|right|bottom|top/g,t=>A1[t])}function L1(e){return{top:0,right:0,bottom:0,left:0,...e}}function nh(e){return typeof e!="number"?L1(e):{top:e,right:e,bottom:e,left:e}}function is(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function cl(e,t,n){let{reference:r,floating:i}=e;const s=on(t),o=Ha(t),a=ka(o),f=Cn(t),l=s==="y",c=r.x+r.width/2-i.width/2,u=r.y+r.height/2-i.height/2,d=r[a]/2-i[a]/2;let h;switch(f){case"top":h={x:c,y:r.y-i.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:u};break;case"left":h={x:r.x-i.width,y:u};break;default:h={x:r.x,y:r.y}}switch(si(t)){case"start":h[o]-=d*(n&&l?-1:1);break;case"end":h[o]+=d*(n&&l?-1:1);break}return h}const I1=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),f=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:u}=cl(l,r,f),d=r,h={},y=0;for(let g=0;g<a.length;g++){const{name:v,fn:m}=a[g],{x,y:w,data:_,reset:T}=await m({x:c,y:u,initialPlacement:r,placement:d,strategy:i,middlewareData:h,rects:l,platform:o,elements:{reference:e,floating:t}});c=x??c,u=w??u,h={...h,[v]:{...h[v],..._}},T&&y<=50&&(y++,typeof T=="object"&&(T.placement&&(d=T.placement),T.rects&&(l=T.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):T.rects),{x:c,y:u}=cl(l,d,f)),g=-1)}return{x:c,y:u,placement:d,strategy:i,middlewareData:h}};async function ja(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:f}=e,{boundary:l="clippingAncestors",rootBoundary:c="viewport",elementContext:u="floating",altBoundary:d=!1,padding:h=0}=ii(t,e),y=nh(h),v=a[d?u==="floating"?"reference":"floating":u],m=is(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:l,rootBoundary:c,strategy:f})),x=u==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,w=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),_=await(s.isElement==null?void 0:s.isElement(w))?await(s.getScale==null?void 0:s.getScale(w))||{x:1,y:1}:{x:1,y:1},T=is(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:x,offsetParent:w,strategy:f}):x);return{top:(m.top-T.top+y.top)/_.y,bottom:(T.bottom-m.bottom+y.bottom)/_.y,left:(m.left-T.left+y.left)/_.x,right:(T.right-m.right+y.right)/_.x}}const N1=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:f}=t,{element:l,padding:c=0}=ii(e,t)||{};if(l==null)return{};const u=nh(c),d={x:n,y:r},h=Ha(i),y=ka(h),g=await o.getDimensions(l),v=h==="y",m=v?"top":"left",x=v?"bottom":"right",w=v?"clientHeight":"clientWidth",_=s.reference[y]+s.reference[h]-d[h]-s.floating[y],T=d[h]-s.reference[h],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l));let H=E?E[w]:0;(!H||!await(o.isElement==null?void 0:o.isElement(E)))&&(H=a.floating[w]||s.floating[y]);const q=_/2-T/2,L=H/2-g[y]/2-1,k=tr(u[m],L),N=tr(u[x],L),$=k,Y=H-g[y]-N,I=H/2-g[y]/2+q,F=jo($,I,Y),S=!f.arrow&&si(i)!=null&&I!==F&&s.reference[y]/2-(I<$?k:N)-g[y]/2<0,C=S?I<$?I-$:I-Y:0;return{[h]:d[h]+C,data:{[h]:F,centerOffset:I-F-C,...S&&{alignmentOffset:C}},reset:S}}}),B1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:f,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:y="none",flipAlignment:g=!0,...v}=ii(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=Cn(i),x=on(a),w=Cn(a)===a,_=await(f.isRTL==null?void 0:f.isRTL(l.floating)),T=d||(w||!g?[rs(a)]:M1(a)),E=y!=="none";!d&&E&&T.push(...F1(a,g,y,_));const H=[a,...T],q=await ja(t,v),L=[];let k=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&L.push(q[m]),u){const I=C1(i,o,_);L.push(q[I[0]],q[I[1]])}if(k=[...k,{placement:i,overflows:L}],!L.every(I=>I<=0)){var N,$;const I=(((N=s.flip)==null?void 0:N.index)||0)+1,F=H[I];if(F&&(!(u==="alignment"?x!==on(F):!1)||k.every(A=>on(A.placement)===x?A.overflows[0]>0:!0)))return{data:{index:I,overflows:k},reset:{placement:F}};let S=($=k.filter(C=>C.overflows[0]<=0).sort((C,A)=>C.overflows[1]-A.overflows[1])[0])==null?void 0:$.placement;if(!S)switch(h){case"bestFit":{var Y;const C=(Y=k.filter(A=>{if(E){const U=on(A.placement);return U===x||U==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(U=>U>0).reduce((U,K)=>U+K,0)]).sort((A,U)=>A[1]-U[1])[0])==null?void 0:Y[0];C&&(S=C);break}case"initialPlacement":S=a;break}if(i!==S)return{reset:{placement:S}}}return{}}}},k1=new Set(["left","top"]);async function H1(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Cn(n),a=si(n),f=on(n)==="y",l=k1.has(o)?-1:1,c=s&&f?-1:1,u=ii(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:y}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return a&&typeof y=="number"&&(h=a==="end"?y*-1:y),f?{x:h*c,y:d*l}:{x:d*l,y:h*c}}const j1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,f=await H1(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+f.x,y:s+f.y,data:{...f,placement:o}}}}},q1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:v=>{let{x:m,y:x}=v;return{x:m,y:x}}},...f}=ii(e,t),l={x:n,y:r},c=await ja(t,f),u=on(Cn(i)),d=th(u);let h=l[d],y=l[u];if(s){const v=d==="y"?"top":"left",m=d==="y"?"bottom":"right",x=h+c[v],w=h-c[m];h=jo(x,h,w)}if(o){const v=u==="y"?"top":"left",m=u==="y"?"bottom":"right",x=y+c[v],w=y-c[m];y=jo(x,y,w)}const g=a.fn({...t,[d]:h,[u]:y});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[d]:s,[u]:o}}}}}};function Rs(){return typeof window<"u"}function ar(e){return rh(e)?(e.nodeName||"").toLowerCase():"#document"}function Qe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Lt(e){var t;return(t=(rh(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function rh(e){return Rs()?e instanceof Node||e instanceof Qe(e).Node:!1}function mt(e){return Rs()?e instanceof Element||e instanceof Qe(e).Element:!1}function Rt(e){return Rs()?e instanceof HTMLElement||e instanceof Qe(e).HTMLElement:!1}function ll(e){return!Rs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Qe(e).ShadowRoot}const W1=new Set(["inline","contents"]);function oi(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=yt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!W1.has(i)}const U1=new Set(["table","td","th"]);function V1(e){return U1.has(ar(e))}const Y1=[":popover-open",":modal"];function Ds(e){return Y1.some(t=>{try{return e.matches(t)}catch{return!1}})}const K1=["transform","translate","scale","rotate","perspective"],G1=["transform","translate","scale","rotate","perspective","filter"],z1=["paint","layout","strict","content"];function qa(e){const t=Wa(),n=mt(e)?yt(e):e;return K1.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||G1.some(r=>(n.willChange||"").includes(r))||z1.some(r=>(n.contain||"").includes(r))}function X1(e){let t=un(e);for(;Rt(t)&&!nr(t);){if(qa(t))return t;if(Ds(t))return null;t=un(t)}return null}function Wa(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const J1=new Set(["html","body","#document"]);function nr(e){return J1.has(ar(e))}function yt(e){return Qe(e).getComputedStyle(e)}function Fs(e){return mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function un(e){if(ar(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ll(e)&&e.host||Lt(e);return ll(t)?t.host:t}function ih(e){const t=un(e);return nr(t)?e.ownerDocument?e.ownerDocument.body:e.body:Rt(t)&&oi(t)?t:ih(t)}function Yr(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=ih(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=Qe(i);if(s){const a=Wo(o);return t.concat(o,o.visualViewport||[],oi(i)?i:[],a&&n?Yr(a):[])}return t.concat(i,Yr(i,[],n))}function Wo(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sh(e){const t=yt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Rt(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=ns(n)!==s||ns(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function Ua(e){return mt(e)?e:e.contextElement}function Un(e){const t=Ua(e);if(!Rt(t))return $t(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=sh(t);let o=(s?ns(n.width):n.width)/r,a=(s?ns(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const Z1=$t(0);function oh(e){const t=Qe(e);return!Wa()||!t.visualViewport?Z1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Q1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Qe(e)?!1:t}function Mn(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=Ua(e);let o=$t(1);t&&(r?mt(r)&&(o=Un(r)):o=Un(e));const a=Q1(s,n,r)?oh(s):$t(0);let f=(i.left+a.x)/o.x,l=(i.top+a.y)/o.y,c=i.width/o.x,u=i.height/o.y;if(s){const d=Qe(s),h=r&&mt(r)?Qe(r):r;let y=d,g=Wo(y);for(;g&&r&&h!==y;){const v=Un(g),m=g.getBoundingClientRect(),x=yt(g),w=m.left+(g.clientLeft+parseFloat(x.paddingLeft))*v.x,_=m.top+(g.clientTop+parseFloat(x.paddingTop))*v.y;f*=v.x,l*=v.y,c*=v.x,u*=v.y,f+=w,l+=_,y=Qe(g),g=Wo(y)}}return is({width:c,height:u,x:f,y:l})}function Ls(e,t){const n=Fs(e).scrollLeft;return t?t.left+n:Mn(Lt(e)).left+n}function ah(e,t){const n=e.getBoundingClientRect(),r=n.left+t.scrollLeft-Ls(e,n),i=n.top+t.scrollTop;return{x:r,y:i}}function eO(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=Lt(r),a=t?Ds(t.floating):!1;if(r===o||a&&s)return n;let f={scrollLeft:0,scrollTop:0},l=$t(1);const c=$t(0),u=Rt(r);if((u||!u&&!s)&&((ar(r)!=="body"||oi(o))&&(f=Fs(r)),Rt(r))){const h=Mn(r);l=Un(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const d=o&&!u&&!s?ah(o,f):$t(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-f.scrollLeft*l.x+c.x+d.x,y:n.y*l.y-f.scrollTop*l.y+c.y+d.y}}function tO(e){return Array.from(e.getClientRects())}function nO(e){const t=Lt(e),n=Fs(e),r=e.ownerDocument.body,i=An(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=An(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+Ls(e);const a=-n.scrollTop;return yt(r).direction==="rtl"&&(o+=An(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}const ul=25;function rO(e,t){const n=Qe(e),r=Lt(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,f=0;if(i){s=i.width,o=i.height;const c=Wa();(!c||c&&t==="fixed")&&(a=i.offsetLeft,f=i.offsetTop)}const l=Ls(r);if(l<=0){const c=r.ownerDocument,u=c.body,d=getComputedStyle(u),h=c.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,y=Math.abs(r.clientWidth-u.clientWidth-h);y<=ul&&(s-=y)}else l<=ul&&(s+=l);return{width:s,height:o,x:a,y:f}}const iO=new Set(["absolute","fixed"]);function sO(e,t){const n=Mn(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=Rt(e)?Un(e):$t(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,f=i*s.x,l=r*s.y;return{width:o,height:a,x:f,y:l}}function dl(e,t,n){let r;if(t==="viewport")r=rO(e,n);else if(t==="document")r=nO(Lt(e));else if(mt(t))r=sO(t,n);else{const i=oh(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return is(r)}function fh(e,t){const n=un(e);return n===t||!mt(n)||nr(n)?!1:yt(n).position==="fixed"||fh(n,t)}function oO(e,t){const n=t.get(e);if(n)return n;let r=Yr(e,[],!1).filter(a=>mt(a)&&ar(a)!=="body"),i=null;const s=yt(e).position==="fixed";let o=s?un(e):e;for(;mt(o)&&!nr(o);){const a=yt(o),f=qa(o);!f&&a.position==="fixed"&&(i=null),(s?!f&&!i:!f&&a.position==="static"&&!!i&&iO.has(i.position)||oi(o)&&!f&&fh(e,o))?r=r.filter(c=>c!==o):i=a,o=un(o)}return t.set(e,r),r}function aO(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Ds(t)?[]:oO(t,this._c):[].concat(n),r],a=o[0],f=o.reduce((l,c)=>{const u=dl(t,c,i);return l.top=An(u.top,l.top),l.right=tr(u.right,l.right),l.bottom=tr(u.bottom,l.bottom),l.left=An(u.left,l.left),l},dl(t,a,i));return{width:f.right-f.left,height:f.bottom-f.top,x:f.left,y:f.top}}function fO(e){const{width:t,height:n}=sh(e);return{width:t,height:n}}function cO(e,t,n){const r=Rt(t),i=Lt(t),s=n==="fixed",o=Mn(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const f=$t(0);function l(){f.x=Ls(i)}if(r||!r&&!s)if((ar(t)!=="body"||oi(i))&&(a=Fs(t)),r){const h=Mn(t,!0,s,t);f.x=h.x+t.clientLeft,f.y=h.y+t.clientTop}else i&&l();s&&!r&&i&&l();const c=i&&!r&&!s?ah(i,a):$t(0),u=o.left+a.scrollLeft-f.x-c.x,d=o.top+a.scrollTop-f.y-c.y;return{x:u,y:d,width:o.width,height:o.height}}function to(e){return yt(e).position==="static"}function hl(e,t){if(!Rt(e)||yt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Lt(e)===n&&(n=n.ownerDocument.body),n}function ch(e,t){const n=Qe(e);if(Ds(e))return n;if(!Rt(e)){let i=un(e);for(;i&&!nr(i);){if(mt(i)&&!to(i))return i;i=un(i)}return n}let r=hl(e,t);for(;r&&V1(r)&&to(r);)r=hl(r,t);return r&&nr(r)&&to(r)&&!qa(r)?n:r||X1(e)||n}const lO=async function(e){const t=this.getOffsetParent||ch,n=this.getDimensions,r=await n(e.floating);return{reference:cO(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function uO(e){return yt(e).direction==="rtl"}const dO={convertOffsetParentRelativeRectToViewportRelativeRect:eO,getDocumentElement:Lt,getClippingRect:aO,getOffsetParent:ch,getElementRects:lO,getClientRects:tO,getDimensions:fO,getScale:Un,isElement:mt,isRTL:uO};function lh(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function hO(e,t){let n=null,r;const i=Lt(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,f){a===void 0&&(a=!1),f===void 0&&(f=1),s();const l=e.getBoundingClientRect(),{left:c,top:u,width:d,height:h}=l;if(a||t(),!d||!h)return;const y=yi(u),g=yi(i.clientWidth-(c+d)),v=yi(i.clientHeight-(u+h)),m=yi(c),w={rootMargin:-y+"px "+-g+"px "+-v+"px "+-m+"px",threshold:An(0,tr(1,f))||1};let _=!0;function T(E){const H=E[0].intersectionRatio;if(H!==f){if(!_)return o();H?o(!1,H):r=setTimeout(()=>{o(!1,1e-7)},1e3)}H===1&&!lh(l,e.getBoundingClientRect())&&o(),_=!1}try{n=new IntersectionObserver(T,{...w,root:i.ownerDocument})}catch{n=new IntersectionObserver(T,w)}n.observe(e)}return o(!0),s}function $T(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:f=!1}=r,l=Ua(e),c=i||s?[...l?Yr(l):[],...Yr(t)]:[];c.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const u=l&&a?hO(l,n):null;let d=-1,h=null;o&&(h=new ResizeObserver(m=>{let[x]=m;x&&x.target===l&&h&&(h.unobserve(t),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var w;(w=h)==null||w.observe(t)})),n()}),l&&!f&&h.observe(l),h.observe(t));let y,g=f?Mn(e):null;f&&v();function v(){const m=Mn(e);g&&!lh(g,m)&&n(),g=m,y=requestAnimationFrame(v)}return n(),()=>{var m;c.forEach(x=>{i&&x.removeEventListener("scroll",n),s&&x.removeEventListener("resize",n)}),u?.(),(m=h)==null||m.disconnect(),h=null,f&&cancelAnimationFrame(y)}}const CT=ja,MT=j1,PT=q1,RT=B1,DT=N1,FT=(e,t,n)=>{const r=new Map,i={platform:dO,...n},s={...i.platform,_c:r};return I1(e,t,{...i,platform:s})},Dt=Object.create(null);Dt.open="0";Dt.close="1";Dt.ping="2";Dt.pong="3";Dt.message="4";Dt.upgrade="5";Dt.noop="6";const Hi=Object.create(null);Object.keys(Dt).forEach(e=>{Hi[Dt[e]]=e});const Uo={type:"error",data:"parser error"},uh=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",dh=typeof ArrayBuffer=="function",hh=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Va=({type:e,data:t},n,r)=>uh&&t instanceof Blob?n?r(t):pl(t,r):dh&&(t instanceof ArrayBuffer||hh(t))?n?r(t):pl(new Blob([t]),r):r(Dt[e]+(t||"")),pl=(e,t)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];t("b"+(r||""))},n.readAsDataURL(e)};function gl(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let no;function pO(e,t){if(uh&&e.data instanceof Blob)return e.data.arrayBuffer().then(gl).then(t);if(dh&&(e.data instanceof ArrayBuffer||hh(e.data)))return t(gl(e.data));Va(e,!1,n=>{no||(no=new TextEncoder),t(no.encode(n))})}const ml="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",mr=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let e=0;e<ml.length;e++)mr[ml.charCodeAt(e)]=e;const gO=e=>{let t=e.length*.75,n=e.length,r,i=0,s,o,a,f;e[e.length-1]==="="&&(t--,e[e.length-2]==="="&&t--);const l=new ArrayBuffer(t),c=new Uint8Array(l);for(r=0;r<n;r+=4)s=mr[e.charCodeAt(r)],o=mr[e.charCodeAt(r+1)],a=mr[e.charCodeAt(r+2)],f=mr[e.charCodeAt(r+3)],c[i++]=s<<2|o>>4,c[i++]=(o&15)<<4|a>>2,c[i++]=(a&3)<<6|f&63;return l},mO=typeof ArrayBuffer=="function",Ya=(e,t)=>{if(typeof e!="string")return{type:"message",data:ph(e,t)};const n=e.charAt(0);return n==="b"?{type:"message",data:yO(e.substring(1),t)}:Hi[n]?e.length>1?{type:Hi[n],data:e.substring(1)}:{type:Hi[n]}:Uo},yO=(e,t)=>{if(mO){const n=gO(e);return ph(n,t)}else return{base64:!0,data:e}},ph=(e,t)=>{switch(t){case"blob":return e instanceof Blob?e:new Blob([e]);case"arraybuffer":default:return e instanceof ArrayBuffer?e:e.buffer}},gh="",vO=(e,t)=>{const n=e.length,r=new Array(n);let i=0;e.forEach((s,o)=>{Va(s,!1,a=>{r[o]=a,++i===n&&t(r.join(gh))})})},bO=(e,t)=>{const n=e.split(gh),r=[];for(let i=0;i<n.length;i++){const s=Ya(n[i],t);if(r.push(s),s.type==="error")break}return r};function wO(){return new TransformStream({transform(e,t){pO(e,n=>{const r=n.length;let i;if(r<126)i=new Uint8Array(1),new DataView(i.buffer).setUint8(0,r);else if(r<65536){i=new Uint8Array(3);const s=new DataView(i.buffer);s.setUint8(0,126),s.setUint16(1,r)}else{i=new Uint8Array(9);const s=new DataView(i.buffer);s.setUint8(0,127),s.setBigUint64(1,BigInt(r))}e.data&&typeof e.data!="string"&&(i[0]|=128),t.enqueue(i),t.enqueue(n)})}})}let ro;function vi(e){return e.reduce((t,n)=>t+n.length,0)}function bi(e,t){if(e[0].length===t)return e.shift();const n=new Uint8Array(t);let r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function _O(e,t){ro||(ro=new TextDecoder);const n=[];let r=0,i=-1,s=!1;return new TransformStream({transform(o,a){for(n.push(o);;){if(r===0){if(vi(n)<1)break;const f=bi(n,1);s=(f[0]&128)===128,i=f[0]&127,i<126?r=3:i===126?r=1:r=2}else if(r===1){if(vi(n)<2)break;const f=bi(n,2);i=new DataView(f.buffer,f.byteOffset,f.length).getUint16(0),r=3}else if(r===2){if(vi(n)<8)break;const f=bi(n,8),l=new DataView(f.buffer,f.byteOffset,f.length),c=l.getUint32(0);if(c>Math.pow(2,21)-1){a.enqueue(Uo);break}i=c*Math.pow(2,32)+l.getUint32(4),r=3}else{if(vi(n)<i)break;const f=bi(n,i);a.enqueue(Ya(s?f:ro.decode(f),t)),r=0}if(i===0||i>e){a.enqueue(Uo);break}}}})}const mh=4;function Te(e){if(e)return xO(e)}function xO(e){for(var t in Te.prototype)e[t]=Te.prototype[t];return e}Te.prototype.on=Te.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this};Te.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this};Te.prototype.off=Te.prototype.removeListener=Te.prototype.removeAllListeners=Te.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+e];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+e],this;for(var r,i=0;i<n.length;i++)if(r=n[i],r===t||r.fn===t){n.splice(i,1);break}return n.length===0&&delete this._callbacks["$"+e],this};Te.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this};Te.prototype.emitReserved=Te.prototype.emit;Te.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]};Te.prototype.hasListeners=function(e){return!!this.listeners(e).length};const Ka=typeof Promise=="function"&&typeof Promise.resolve=="function"?t=>Promise.resolve().then(t):(t,n)=>n(t,0),tt=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),OO="arraybuffer";function yh(e,...t){return t.reduce((n,r)=>(e.hasOwnProperty(r)&&(n[r]=e[r]),n),{})}const SO=tt.setTimeout,TO=tt.clearTimeout;function Ga(e,t){t.useNativeTimers?(e.setTimeoutFn=SO.bind(tt),e.clearTimeoutFn=TO.bind(tt)):(e.setTimeoutFn=tt.setTimeout.bind(tt),e.clearTimeoutFn=tt.clearTimeout.bind(tt))}const AO=1.33;function EO(e){return typeof e=="string"?$O(e):Math.ceil((e.byteLength||e.size)*AO)}function $O(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)t=e.charCodeAt(r),t<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}function vh(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function CO(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}function MO(e){let t={},n=e.split("&");for(let r=0,i=n.length;r<i;r++){let s=n[r].split("=");t[decodeURIComponent(s[0])]=decodeURIComponent(s[1])}return t}class PO extends Error{constructor(t,n,r){super(t),this.description=n,this.context=r,this.type="TransportError"}}class za extends Te{constructor(t){super(),this.writable=!1,Ga(this,t),this.opts=t,this.query=t.query,this.socket=t.socket,this.supportsBinary=!t.forceBase64}onError(t,n,r){return super.emitReserved("error",new PO(t,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(t){this.readyState==="open"&&this.write(t)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(t){const n=Ya(t,this.socket.binaryType);this.onPacket(n)}onPacket(t){super.emitReserved("packet",t)}onClose(t){this.readyState="closed",super.emitReserved("close",t)}pause(t){}createUri(t,n={}){return t+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const t=this.opts.hostname;return t.indexOf(":")===-1?t:"["+t+"]"}_port(){return this.opts.port&&(this.opts.secure&&+(this.opts.port!==443)||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(t){const n=CO(t);return n.length?"?"+n:""}}class RO extends za{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(t){this.readyState="pausing";const n=()=>{this.readyState="paused",t()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(t){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};bO(t,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const t=()=>{this.write([{type:"close"}])};this.readyState==="open"?t():this.once("open",t)}write(t){this.writable=!1,vO(t,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const t=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=vh()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(t,n)}}let bh=!1;try{bh=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const DO=bh;function FO(){}class LO extends RO{constructor(t){if(super(t),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&t.hostname!==location.hostname||r!==t.port}}doWrite(t,n){const r=this.request({method:"POST",data:t});r.on("success",n),r.on("error",(i,s)=>{this.onError("xhr post error",i,s)})}doPoll(){const t=this.request();t.on("data",this.onData.bind(this)),t.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=t}}class Ct extends Te{constructor(t,n,r){super(),this.createRequest=t,Ga(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var t;const n=yh(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let i in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(i)&&r.setRequestHeader(i,this._opts.extraHeaders[i])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(t=this._opts.cookieJar)===null||t===void 0||t.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var i;r.readyState===3&&((i=this._opts.cookieJar)===null||i===void 0||i.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(i){this.setTimeoutFn(()=>{this._onError(i)},0);return}typeof document<"u"&&(this._index=Ct.requestsCount++,Ct.requests[this._index]=this)}_onError(t){this.emitReserved("error",t,this._xhr),this._cleanup(!0)}_cleanup(t){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=FO,t)try{this._xhr.abort()}catch{}typeof document<"u"&&delete Ct.requests[this._index],this._xhr=null}}_onLoad(){const t=this._xhr.responseText;t!==null&&(this.emitReserved("data",t),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}Ct.requestsCount=0;Ct.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",yl);else if(typeof addEventListener=="function"){const e="onpagehide"in tt?"pagehide":"unload";addEventListener(e,yl,!1)}}function yl(){for(let e in Ct.requests)Ct.requests.hasOwnProperty(e)&&Ct.requests[e].abort()}const IO=(function(){const e=wh({xdomain:!1});return e&&e.responseType!==null})();class NO extends LO{constructor(t){super(t);const n=t&&t.forceBase64;this.supportsBinary=IO&&!n}request(t={}){return Object.assign(t,{xd:this.xd},this.opts),new Ct(wh,this.uri(),t)}}function wh(e){const t=e.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!t||DO))return new XMLHttpRequest}catch{}if(!t)try{return new tt[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const _h=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class BO extends za{get name(){return"websocket"}doOpen(){const t=this.uri(),n=this.opts.protocols,r=_h?{}:yh(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(t,n,r)}catch(i){return this.emitReserved("error",i)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=t=>this.onClose({description:"websocket connection closed",context:t}),this.ws.onmessage=t=>this.onData(t.data),this.ws.onerror=t=>this.onError("websocket error",t)}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;Va(r,this.supportsBinary,s=>{try{this.doWrite(r,s)}catch{}i&&Ka(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const t=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=vh()),this.supportsBinary||(n.b64=1),this.createUri(t,n)}}const io=tt.WebSocket||tt.MozWebSocket;class kO extends BO{createSocket(t,n,r){return _h?new io(t,n,r):n?new io(t,n):new io(t)}doWrite(t,n){this.ws.send(n)}}class HO extends za{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(t){return this.emitReserved("error",t)}this._transport.closed.then(()=>{this.onClose()}).catch(t=>{this.onError("webtransport error",t)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(t=>{const n=_O(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=t.readable.pipeThrough(n).getReader(),i=wO();i.readable.pipeTo(t.writable),this._writer=i.writable.getWriter();const s=()=>{r.read().then(({done:a,value:f})=>{a||(this.onPacket(f),s())}).catch(a=>{})};s();const o={type:"open"};this.query.sid&&(o.data=`{"sid":"${this.query.sid}"}`),this._writer.write(o).then(()=>this.onOpen())})})}write(t){this.writable=!1;for(let n=0;n<t.length;n++){const r=t[n],i=n===t.length-1;this._writer.write(r).then(()=>{i&&Ka(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var t;(t=this._transport)===null||t===void 0||t.close()}}const jO={websocket:kO,webtransport:HO,polling:NO},qO=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,WO=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function vl(e){if(e.length>8e3)throw"URI too long";const t=e,n=e.indexOf("["),r=e.indexOf("]");n!=-1&&r!=-1&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=qO.exec(e||""),s={},o=14;for(;o--;)s[WO[o]]=i[o]||"";return n!=-1&&r!=-1&&(s.source=t,s.host=s.host.substring(1,s.host.length-1).replace(/;/g,":"),s.authority=s.authority.replace("[","").replace("]","").replace(/;/g,":"),s.ipv6uri=!0),s.pathNames=UO(s,s.path),s.queryKey=VO(s,s.query),s}function UO(e,t){const n=/\/{2,9}/g,r=t.replace(n,"/").split("/");return(t.slice(0,1)=="/"||t.length===0)&&r.splice(0,1),t.slice(-1)=="/"&&r.splice(r.length-1,1),r}function VO(e,t){const n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,i,s){i&&(n[i]=s)}),n}const Vo=typeof addEventListener=="function"&&typeof removeEventListener=="function",ji=[];Vo&&addEventListener("offline",()=>{ji.forEach(e=>e())},!1);class fn extends Te{constructor(t,n){if(super(),this.binaryType=OO,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,t&&typeof t=="object"&&(n=t,t=null),t){const r=vl(t);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=vl(n.host).host);Ga(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const i=r.prototype.name;this.transports.push(i),this._transportsByName[i]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=MO(this.opts.query)),Vo&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},ji.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(t){const n=Object.assign({},this.opts.query);n.EIO=mh,n.transport=t,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[t]);return new this._transportsByName[t](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const t=this.opts.rememberUpgrade&&fn.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(t);n.open(),this.setTransport(n)}setTransport(t){this.transport&&this.transport.removeAllListeners(),this.transport=t,t.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",fn.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(t){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",t),this.emitReserved("heartbeat"),t.type){case"open":this.onHandshake(JSON.parse(t.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=t.data,this._onError(n);break;case"message":this.emitReserved("data",t.data),this.emitReserved("message",t.data);break}}onHandshake(t){this.emitReserved("handshake",t),this.id=t.sid,this.transport.query.sid=t.sid,this._pingInterval=t.pingInterval,this._pingTimeout=t.pingTimeout,this._maxPayload=t.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const t=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+t,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},t),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const t=this._getWritablePackets();this.transport.send(t),this._prevBufferLen=t.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const i=this.writeBuffer[r].data;if(i&&(n+=EO(i)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const t=Date.now()>this._pingTimeoutTime;return t&&(this._pingTimeoutTime=0,Ka(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),t}write(t,n,r){return this._sendPacket("message",t,n,r),this}send(t,n,r){return this._sendPacket("message",t,n,r),this}_sendPacket(t,n,r,i){if(typeof n=="function"&&(i=n,n=void 0),typeof r=="function"&&(i=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const s={type:t,data:n,options:r};this.emitReserved("packetCreate",s),this.writeBuffer.push(s),i&&this.once("flush",i),this.flush()}close(){const t=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),t()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():t()}):this.upgrading?r():t()),this}_onError(t){if(fn.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",t),this._onClose("transport error",t)}_onClose(t,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Vo&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=ji.indexOf(this._offlineEventListener);r!==-1&&ji.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",t,n),this.writeBuffer=[],this._prevBufferLen=0}}}fn.protocol=mh;class YO extends fn{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let t=0;t<this._upgrades.length;t++)this._probe(this._upgrades[t])}_probe(t){let n=this.createTransport(t),r=!1;fn.priorWebsocketSuccess=!1;const i=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",u=>{if(!r)if(u.type==="pong"&&u.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;fn.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(c(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const d=new Error("probe error");d.transport=n.name,this.emitReserved("upgradeError",d)}}))};function s(){r||(r=!0,c(),n.close(),n=null)}const o=u=>{const d=new Error("probe error: "+u);d.transport=n.name,s(),this.emitReserved("upgradeError",d)};function a(){o("transport closed")}function f(){o("socket closed")}function l(u){n&&u.name!==n.name&&s()}const c=()=>{n.removeListener("open",i),n.removeListener("error",o),n.removeListener("close",a),this.off("close",f),this.off("upgrading",l)};n.once("open",i),n.once("error",o),n.once("close",a),this.once("close",f),this.once("upgrading",l),this._upgrades.indexOf("webtransport")!==-1&&t!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(t){this._upgrades=this._filterUpgrades(t.upgrades),super.onHandshake(t)}_filterUpgrades(t){const n=[];for(let r=0;r<t.length;r++)~this.transports.indexOf(t[r])&&n.push(t[r]);return n}}class LT extends YO{constructor(t,n={}){const r=typeof t=="object"?t:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(i=>jO[i]).filter(i=>!!i)),super(t,r)}}const KO=typeof ArrayBuffer=="function",GO=e=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer,xh=Object.prototype.toString,zO=typeof Blob=="function"||typeof Blob<"u"&&xh.call(Blob)==="[object BlobConstructor]",XO=typeof File=="function"||typeof File<"u"&&xh.call(File)==="[object FileConstructor]";function Xa(e){return KO&&(e instanceof ArrayBuffer||GO(e))||zO&&e instanceof Blob||XO&&e instanceof File}function qi(e,t){if(!e||typeof e!="object")return!1;if(Array.isArray(e)){for(let n=0,r=e.length;n<r;n++)if(qi(e[n]))return!0;return!1}if(Xa(e))return!0;if(e.toJSON&&typeof e.toJSON=="function"&&arguments.length===1)return qi(e.toJSON(),!0);for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&qi(e[n]))return!0;return!1}function JO(e){const t=[],n=e.data,r=e;return r.data=Yo(n,t),r.attachments=t.length,{packet:r,buffers:t}}function Yo(e,t){if(!e)return e;if(Xa(e)){const n={_placeholder:!0,num:t.length};return t.push(e),n}else if(Array.isArray(e)){const n=new Array(e.length);for(let r=0;r<e.length;r++)n[r]=Yo(e[r],t);return n}else if(typeof e=="object"&&!(e instanceof Date)){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=Yo(e[r],t));return n}return e}function ZO(e,t){return e.data=Ko(e.data,t),delete e.attachments,e}function Ko(e,t){if(!e)return e;if(e&&e._placeholder===!0){if(typeof e.num=="number"&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}else if(Array.isArray(e))for(let n=0;n<e.length;n++)e[n]=Ko(e[n],t);else if(typeof e=="object")for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(e[n]=Ko(e[n],t));return e}const QO=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],eS=5;var me;(function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"})(me||(me={}));class tS{constructor(t){this.replacer=t}encode(t){return(t.type===me.EVENT||t.type===me.ACK)&&qi(t)?this.encodeAsBinary({type:t.type===me.EVENT?me.BINARY_EVENT:me.BINARY_ACK,nsp:t.nsp,data:t.data,id:t.id}):[this.encodeAsString(t)]}encodeAsString(t){let n=""+t.type;return(t.type===me.BINARY_EVENT||t.type===me.BINARY_ACK)&&(n+=t.attachments+"-"),t.nsp&&t.nsp!=="/"&&(n+=t.nsp+","),t.id!=null&&(n+=t.id),t.data!=null&&(n+=JSON.stringify(t.data,this.replacer)),n}encodeAsBinary(t){const n=JO(t),r=this.encodeAsString(n.packet),i=n.buffers;return i.unshift(r),i}}function bl(e){return Object.prototype.toString.call(e)==="[object Object]"}class Ja extends Te{constructor(t){super(),this.reviver=t}add(t){let n;if(typeof t=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(t);const r=n.type===me.BINARY_EVENT;r||n.type===me.BINARY_ACK?(n.type=r?me.EVENT:me.ACK,this.reconstructor=new nS(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(Xa(t)||t.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(t),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+t)}decodeString(t){let n=0;const r={type:Number(t.charAt(0))};if(me[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===me.BINARY_EVENT||r.type===me.BINARY_ACK){const s=n+1;for(;t.charAt(++n)!=="-"&&n!=t.length;);const o=t.substring(s,n);if(o!=Number(o)||t.charAt(n)!=="-")throw new Error("Illegal attachments");r.attachments=Number(o)}if(t.charAt(n+1)==="/"){const s=n+1;for(;++n&&!(t.charAt(n)===","||n===t.length););r.nsp=t.substring(s,n)}else r.nsp="/";const i=t.charAt(n+1);if(i!==""&&Number(i)==i){const s=n+1;for(;++n;){const o=t.charAt(n);if(o==null||Number(o)!=o){--n;break}if(n===t.length)break}r.id=Number(t.substring(s,n+1))}if(t.charAt(++n)){const s=this.tryParse(t.substr(n));if(Ja.isPayloadValid(r.type,s))r.data=s;else throw new Error("invalid payload")}return r}tryParse(t){try{return JSON.parse(t,this.reviver)}catch{return!1}}static isPayloadValid(t,n){switch(t){case me.CONNECT:return bl(n);case me.DISCONNECT:return n===void 0;case me.CONNECT_ERROR:return typeof n=="string"||bl(n);case me.EVENT:case me.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&QO.indexOf(n[0])===-1);case me.ACK:case me.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class nS{constructor(t){this.packet=t,this.buffers=[],this.reconPack=t}takeBinaryData(t){if(this.buffers.push(t),this.buffers.length===this.reconPack.attachments){const n=ZO(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const IT=Object.freeze(Object.defineProperty({__proto__:null,Decoder:Ja,Encoder:tS,get PacketType(){return me},protocol:eS},Symbol.toStringTag,{value:"Module"}));export{lt as $,po as A,Fu as B,mS as C,us as D,ds as E,zl as F,hg as G,vS as H,go as I,vp as J,fS as K,xS as L,dS as M,dg as N,Lh as O,Ve as P,Ne as Q,TS as R,GS as S,SS as T,jS as U,ZS as V,aS as W,hu as X,bS as Y,Dd as Z,MS as _,ye as a,AS as a$,du as a0,Pr as a1,xp as a2,uu as a3,cn as a4,Pe as a5,_s as a6,Be as a7,Ld as a8,gT as a9,Ap as aA,HS as aB,NS as aC,PS as aD,ES as aE,oT as aF,_l as aG,FS as aH,yS as aI,oe as aJ,eT as aK,ow as aL,JS as aM,bT as aN,Cv as aO,wT as aP,_T as aQ,xT as aR,OT as aS,ST as aT,TT as aU,Ih as aV,rT as aW,QS as aX,uS as aY,tT as aZ,IS as a_,VS as aa,ti as ab,cS as ac,Tp as ad,iT as ae,Rr as af,Op as ag,jw as ah,gS as ai,pS as aj,nT as ak,mT as al,yT as am,tf as an,vT as ao,rS as ap,ug as aq,xg as ar,sS as as,Ir as at,XS as au,re as av,$S as aw,oS as ax,KS as ay,CS as az,z as b,Ps as b0,rp as b1,iS as b2,lT as b3,cs as b4,Lw as b5,Ol as b6,BS as b7,LS as b8,uT as b9,me as bA,Ga as bB,IT as bC,LT as bD,Ka as bE,OS as bF,On as bG,Ml as bH,wS as bI,hS as ba,wi as bb,Oa as bc,AT as bd,US as be,YS as bf,RS as bg,kS as bh,ET as bi,aT as bj,hT as bk,cT as bl,dT as bm,MT as bn,RT as bo,PT as bp,DT as bq,$T as br,CT as bs,FT as bt,sT as bu,DS as bv,dn as bw,np as bx,vl as by,Te as bz,Xr as c,fe as d,WS as e,Cs as f,Pn as g,be as h,Oi as i,Ev as j,Q as k,qS as l,it as m,lS as n,ip as o,Hp as p,pT as q,ve as r,zS as s,fT as t,ms as u,sa as v,ke as w,nt as x,Wp as y,_S as z};
|