var aa=Object.defineProperty;var ca=(e,t,r)=>t in e?aa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var oi=(e,t,r)=>(ca(e,typeof t!="symbol"?t+"":t,r),r);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(o){if(o.ep)return;o.ep=!0;const i=r(o);fetch(o.href,i)}})();/** * @vue/shared v3.4.15 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function go(e,t){const r=new Set(e.split(","));return t?n=>r.has(n.toLowerCase()):n=>r.has(n)}const z={},Ct=[],Ee=()=>{},ua=()=>!1,Yr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),vo=e=>e.startsWith("onUpdate:"),ae=Object.assign,bo=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},fa=Object.prototype.hasOwnProperty,H=(e,t)=>fa.call(e,t),M=Array.isArray,Ft=e=>Zr(e)==="[object Map]",Es=e=>Zr(e)==="[object Set]",L=e=>typeof e=="function",ee=e=>typeof e=="string",Ht=e=>typeof e=="symbol",J=e=>e!==null&&typeof e=="object",xs=e=>(J(e)||L(e))&&L(e.then)&&L(e.catch),Os=Object.prototype.toString,Zr=e=>Os.call(e),da=e=>Zr(e).slice(8,-1),As=e=>Zr(e)==="[object Object]",_o=e=>ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Fr=go(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),en=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},pa=/-(\w)/g,Ve=en(e=>e.replace(pa,(t,r)=>r?r.toUpperCase():"")),ha=/\B([A-Z])/g,Vt=en(e=>e.replace(ha,"-$1").toLowerCase()),tn=en(e=>e.charAt(0).toUpperCase()+e.slice(1)),_n=en(e=>e?`on${tn(e)}`:""),ot=(e,t)=>!Object.is(e,t),Ir=(e,t)=>{for(let r=0;r{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:r})},Wn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ii;const Ps=()=>ii||(ii=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function wo(e){if(M(e)){const t={};for(let r=0;r{if(r){const n=r.split(ma);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function rn(e){let t="";if(ee(e))t=e;else if(M(e))for(let r=0;ree(e)?e:e==null?"":M(e)||J(e)&&(e.toString===Os||!L(e.toString))?JSON.stringify(e,Ts,2):String(e),Ts=(e,t)=>t&&t.__v_isRef?Ts(e,t.value):Ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,o],i)=>(r[wn(n,i)+" =>"]=o,r),{})}:Es(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>wn(r))}:Ht(t)?wn(t):J(t)&&!M(t)&&!As(t)?String(t):t,wn=(e,t="")=>{var r;return Ht(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/** * @vue/reactivity v3.4.15 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Re;class wa{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Re,!t&&Re&&(this.index=(Re.scopes||(Re.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const r=Re;try{return Re=this,t()}finally{Re=r}}}on(){Re=this}off(){Re=this.parent}stop(t){if(this._active){let r,n;for(r=0,n=this.effects.length;r=2))break}this._dirtyLevel<2&&(this._dirtyLevel=0),wt()}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?2:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=rt,r=mt;try{return rt=!0,mt=this,this._runnings++,si(this),this.fn()}finally{li(this),this._runnings--,mt=r,rt=t}}stop(){var t;this.active&&(si(this),li(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function xa(e){return e.value}function si(e){e._trackId++,e._depsLength=0}function li(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const r=new Map;return r.cleanup=e,r.computed=t,r},zn=new WeakMap,gt=Symbol(""),Kn=Symbol("");function ve(e,t,r){if(rt&&mt){let n=zn.get(e);n||zn.set(e,n=new Map);let o=n.get(r);o||n.set(r,o=Ms(()=>n.delete(r))),Is(mt,o)}}function ze(e,t,r,n,o,i){const s=zn.get(e);if(!s)return;let l=[];if(t==="clear")l=[...s.values()];else if(r==="length"&&M(e)){const a=Number(n);s.forEach((c,u)=>{(u==="length"||!Ht(u)&&u>=a)&&l.push(c)})}else switch(r!==void 0&&l.push(s.get(r)),t){case"add":M(e)?_o(r)&&l.push(s.get("length")):(l.push(s.get(gt)),Ft(e)&&l.push(s.get(Kn)));break;case"delete":M(e)||(l.push(s.get(gt)),Ft(e)&&l.push(s.get(Kn)));break;case"set":Ft(e)&&l.push(s.get(gt));break}Eo();for(const a of l)a&&Ns(a,2);xo()}const Oa=go("__proto__,__v_isRef,__isVue"),Ls=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ht)),ai=Aa();function Aa(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...r){const n=V(this);for(let i=0,s=this.length;i{e[t]=function(...r){_t(),Eo();const n=V(this)[t].apply(this,r);return xo(),wt(),n}}),e}function Pa(e){const t=V(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Bs{constructor(t=!1,r=!1){this._isReadonly=t,this._shallow=r}get(t,r,n){const o=this._isReadonly,i=this._shallow;if(r==="__v_isReactive")return!o;if(r==="__v_isReadonly")return o;if(r==="__v_isShallow")return i;if(r==="__v_raw")return n===(o?i?ja:Hs:i?js:Us).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=M(t);if(!o){if(s&&H(ai,r))return Reflect.get(ai,r,n);if(r==="hasOwnProperty")return Pa}const l=Reflect.get(t,r,n);return(Ht(r)?Ls.has(r):Oa(r))||(o||ve(t,"get",r),i)?l:be(l)?s&&_o(r)?l:l.value:J(l)?o?Vs(l):Po(l):l}}class Ds extends Bs{constructor(t=!1){super(!1,t)}set(t,r,n,o){let i=t[r];if(!this._shallow){const a=Mt(i);if(!Vr(n)&&!Mt(n)&&(i=V(i),n=V(n)),!M(t)&&be(i)&&!be(n))return a?!1:(i.value=n,!0)}const s=M(t)&&_o(r)?Number(r)e,nn=e=>Reflect.getPrototypeOf(e);function wr(e,t,r=!1,n=!1){e=e.__v_raw;const o=V(e),i=V(t);r||(ot(t,i)&&ve(o,"get",t),ve(o,"get",i));const{has:s}=nn(o),l=n?Oo:r?To:sr;if(s.call(o,t))return l(e.get(t));if(s.call(o,i))return l(e.get(i));e!==o&&e.get(t)}function Sr(e,t=!1){const r=this.__v_raw,n=V(r),o=V(e);return t||(ot(e,o)&&ve(n,"has",e),ve(n,"has",o)),e===o?r.has(e):r.has(e)||r.has(o)}function Er(e,t=!1){return e=e.__v_raw,!t&&ve(V(e),"iterate",gt),Reflect.get(e,"size",e)}function ci(e){e=V(e);const t=V(this);return nn(t).has.call(t,e)||(t.add(e),ze(t,"add",e,e)),this}function ui(e,t){t=V(t);const r=V(this),{has:n,get:o}=nn(r);let i=n.call(r,e);i||(e=V(e),i=n.call(r,e));const s=o.call(r,e);return r.set(e,t),i?ot(t,s)&&ze(r,"set",e,t):ze(r,"add",e,t),this}function fi(e){const t=V(this),{has:r,get:n}=nn(t);let o=r.call(t,e);o||(e=V(e),o=r.call(t,e)),n&&n.call(t,e);const i=t.delete(e);return o&&ze(t,"delete",e,void 0),i}function di(){const e=V(this),t=e.size!==0,r=e.clear();return t&&ze(e,"clear",void 0,void 0),r}function xr(e,t){return function(n,o){const i=this,s=i.__v_raw,l=V(s),a=t?Oo:e?To:sr;return!e&&ve(l,"iterate",gt),s.forEach((c,u)=>n.call(o,a(c),a(u),i))}}function Or(e,t,r){return function(...n){const o=this.__v_raw,i=V(o),s=Ft(i),l=e==="entries"||e===Symbol.iterator&&s,a=e==="keys"&&s,c=o[e](...n),u=r?Oo:t?To:sr;return!t&&ve(i,"iterate",a?Kn:gt),{next(){const{value:d,done:h}=c.next();return h?{value:d,done:h}:{value:l?[u(d[0]),u(d[1])]:u(d),done:h}},[Symbol.iterator](){return this}}}}function Je(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ia(){const e={get(i){return wr(this,i)},get size(){return Er(this)},has:Sr,add:ci,set:ui,delete:fi,clear:di,forEach:xr(!1,!1)},t={get(i){return wr(this,i,!1,!0)},get size(){return Er(this)},has:Sr,add:ci,set:ui,delete:fi,clear:di,forEach:xr(!1,!0)},r={get(i){return wr(this,i,!0)},get size(){return Er(this,!0)},has(i){return Sr.call(this,i,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:xr(!0,!1)},n={get(i){return wr(this,i,!0,!0)},get size(){return Er(this,!0)},has(i){return Sr.call(this,i,!0)},add:Je("add"),set:Je("set"),delete:Je("delete"),clear:Je("clear"),forEach:xr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Or(i,!1,!1),r[i]=Or(i,!0,!1),t[i]=Or(i,!1,!0),n[i]=Or(i,!0,!0)}),[e,r,t,n]}const[Na,$a,Ma,La]=Ia();function Ao(e,t){const r=t?e?La:Ma:e?$a:Na;return(n,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?n:Reflect.get(H(r,o)&&o in n?r:n,o,i)}const Ba={get:Ao(!1,!1)},Da={get:Ao(!1,!0)},Ua={get:Ao(!0,!1)},Us=new WeakMap,js=new WeakMap,Hs=new WeakMap,ja=new WeakMap;function Ha(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Va(e){return e.__v_skip||!Object.isExtensible(e)?0:Ha(da(e))}function Po(e){return Mt(e)?e:Ro(e,!1,Ta,Ba,Us)}function Wa(e){return Ro(e,!1,Fa,Da,js)}function Vs(e){return Ro(e,!0,Ca,Ua,Hs)}function Ro(e,t,r,n,o){if(!J(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=Va(e);if(s===0)return e;const l=new Proxy(e,s===2?n:r);return o.set(e,l),l}function It(e){return Mt(e)?It(e.__v_raw):!!(e&&e.__v_isReactive)}function Mt(e){return!!(e&&e.__v_isReadonly)}function Vr(e){return!!(e&&e.__v_isShallow)}function Ws(e){return It(e)||Mt(e)}function V(e){const t=e&&e.__v_raw;return t?V(t):e}function ks(e){return Hr(e,"__v_skip",!0),e}const sr=e=>J(e)?Po(e):e,To=e=>J(e)?Vs(e):e;class qs{constructor(t,r,n,o){this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new So(()=>t(this._value),()=>Nr(this,1),()=>this.dep&&$s(this.dep)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=n}get value(){const t=V(this);return(!t._cacheable||t.effect.dirty)&&ot(t._value,t._value=t.effect.run())&&Nr(t,2),zs(t),t.effect._dirtyLevel>=1&&Nr(t,1),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function ka(e,t,r=!1){let n,o;const i=L(e);return i?(n=e,o=Ee):(n=e.get,o=e.set),new qs(n,o,i||!o,r)}function zs(e){rt&&mt&&(e=V(e),Is(mt,e.dep||(e.dep=Ms(()=>e.dep=void 0,e instanceof qs?e:void 0))))}function Nr(e,t=2,r){e=V(e);const n=e.dep;n&&Ns(n,t)}function be(e){return!!(e&&e.__v_isRef===!0)}function he(e){return qa(e,!1)}function qa(e,t){return be(e)?e:new za(e,t)}class za{constructor(t,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?t:V(t),this._value=r?t:sr(t)}get value(){return zs(this),this._value}set value(t){const r=this.__v_isShallow||Vr(t)||Mt(t);t=r?t:V(t),ot(t,this._rawValue)&&(this._rawValue=t,this._value=r?t:sr(t),Nr(this,2))}}function Ka(e){return be(e)?e.value:e}const Ga={get:(e,t,r)=>Ka(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const o=e[t];return be(o)&&!be(r)?(o.value=r,!0):Reflect.set(e,t,r,n)}};function Ks(e){return It(e)?e:new Proxy(e,Ga)}/** * @vue/runtime-core v3.4.15 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function nt(e,t,r,n){let o;try{o=n?e(...n):e()}catch(i){fr(i,t,r)}return o}function Ce(e,t,r,n){if(L(e)){const i=nt(e,t,r,n);return i&&xs(i)&&i.catch(s=>{fr(s,t,r)}),i}const o=[];for(let i=0;i>>1,o=fe[n],i=ar(o);ije&&fe.splice(t,1)}function Za(e){M(e)?Nt.push(...e):(!Xe||!Xe.includes(e,e.allowRecurse?dt+1:dt))&&Nt.push(e),Js()}function pi(e,t,r=lr?je+1:0){for(;rar(r)-ar(n));if(Nt.length=0,Xe){Xe.push(...t);return}for(Xe=t,dt=0;dte.id==null?1/0:e.id,ec=(e,t)=>{const r=ar(e)-ar(t);if(r===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return r};function Xs(e){Gn=!1,lr=!0,fe.sort(ec);const t=Ee;try{for(je=0;jeee(w)?w.trim():w)),d&&(o=r.map(Wn))}let l,a=n[l=_n(t)]||n[l=_n(Ve(t))];!a&&i&&(a=n[l=_n(Vt(t))]),a&&Ce(a,e,6,o);const c=n[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ce(c,e,6,o)}}function Ys(e,t,r=!1){const n=t.emitsCache,o=n.get(e);if(o!==void 0)return o;const i=e.emits;let s={},l=!1;if(!L(e)){const a=c=>{const u=Ys(c,t,!0);u&&(l=!0,ae(s,u))};!r&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(J(e)&&n.set(e,null),null):(M(i)?i.forEach(a=>s[a]=null):ae(s,i),J(e)&&n.set(e,s),s)}function sn(e,t){return!e||!Yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,Vt(t))||H(e,t))}let ie=null,ln=null;function Wr(e){const t=ie;return ie=e,ln=e&&e.type.__scopeId||null,t}function rc(e){ln=e}function nc(){ln=null}function oc(e,t=ie,r){if(!t||e._n)return e;const n=(...o)=>{n._d&&xi(-1);const i=Wr(t);let s;try{s=e(...o)}finally{Wr(i),n._d&&xi(1)}return s};return n._n=!0,n._c=!0,n._d=!0,n}function Sn(e){const{type:t,vnode:r,proxy:n,withProxy:o,props:i,propsOptions:[s],slots:l,attrs:a,emit:c,render:u,renderCache:d,data:h,setupState:w,ctx:y,inheritAttrs:_}=e;let T,A;const I=Wr(e);try{if(r.shapeFlag&4){const k=o||n,te=k;T=De(u.call(te,k,d,i,w,h,y)),A=a}else{const k=t;T=De(k.length>1?k(i,{attrs:a,slots:l,emit:c}):k(i,null)),A=t.props?a:ic(a)}}catch(k){tr.length=0,fr(k,e,1),T=X(it)}let N=T;if(A&&_!==!1){const k=Object.keys(A),{shapeFlag:te}=N;k.length&&te&7&&(s&&k.some(vo)&&(A=sc(A,s)),N=Lt(N,A))}return r.dirs&&(N=Lt(N),N.dirs=N.dirs?N.dirs.concat(r.dirs):r.dirs),r.transition&&(N.transition=r.transition),T=N,Wr(I),T}const ic=e=>{let t;for(const r in e)(r==="class"||r==="style"||Yr(r))&&((t||(t={}))[r]=e[r]);return t},sc=(e,t)=>{const r={};for(const n in e)(!vo(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function lc(e,t,r){const{props:n,children:o,component:i}=e,{props:s,children:l,patchFlag:a}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&a>=0){if(a&1024)return!0;if(a&16)return n?hi(n,s,c):!!s;if(a&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function pc(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Za(e)}const hc=Symbol.for("v-scx"),yc=()=>$r(hc),Ar={};function Yt(e,t,r){return el(e,t,r)}function el(e,t,{immediate:r,deep:n,flush:o,once:i,onTrack:s,onTrigger:l}=z){if(t&&i){const B=t;t=(...se)=>{B(...se),te()}}const a=le,c=B=>n===!0?B:ht(B,n===!1?1:void 0);let u,d=!1,h=!1;if(be(e)?(u=()=>e.value,d=Vr(e)):It(e)?(u=()=>c(e),d=!0):M(e)?(h=!0,d=e.some(B=>It(B)||Vr(B)),u=()=>e.map(B=>{if(be(B))return B.value;if(It(B))return c(B);if(L(B))return nt(B,a,2)})):L(e)?t?u=()=>nt(e,a,2):u=()=>(w&&w(),Ce(e,a,3,[y])):u=Ee,t&&n){const B=u;u=()=>ht(B())}let w,y=B=>{w=N.onStop=()=>{nt(B,a,4),w=N.onStop=void 0}},_;if(yr)if(y=Ee,t?r&&Ce(t,a,3,[u(),h?[]:void 0,y]):u(),o==="sync"){const B=yc();_=B.__watcherHandles||(B.__watcherHandles=[])}else return Ee;let T=h?new Array(e.length).fill(Ar):Ar;const A=()=>{if(!(!N.active||!N.dirty))if(t){const B=N.run();(n||d||(h?B.some((se,Z)=>ot(se,T[Z])):ot(B,T)))&&(w&&w(),Ce(t,a,3,[B,T===Ar?void 0:h&&T[0]===Ar?[]:T,y]),T=B)}else N.run()};A.allowRecurse=!!t;let I;o==="sync"?I=A:o==="post"?I=()=>ge(A,a&&a.suspense):(A.pre=!0,a&&(A.id=a.uid),I=()=>on(A));const N=new So(u,Ee,I),k=Ea(),te=()=>{N.stop(),k&&bo(k.effects,N)};return t?r?A():T=N.run():o==="post"?ge(N.run.bind(N),a&&a.suspense):N.run(),_&&_.push(te),te}function mc(e,t,r){const n=this.proxy,o=ee(e)?e.includes(".")?tl(n,e):()=>n[e]:e.bind(n,n);let i;L(t)?i=t:(i=t.handler,r=t);const s=hr(this),l=el(o,i.bind(n),r);return s(),l}function tl(e,t){const r=t.split(".");return()=>{let n=e;for(let o=0;o0){if(r>=t)return e;r++}if(n=n||new Set,n.has(e))return e;if(n.add(e),be(e))ht(e.value,t,r,n);else if(M(e))for(let o=0;o{ht(o,t,r,n)});else if(As(e))for(const o in e)ht(e[o],t,r,n);return e}function Jn(e,t){if(ie===null)return e;const r=fn(ie)||ie.proxy,n=e.dirs||(e.dirs=[]);for(let o=0;oae({name:e.name},t,{setup:e}))():e}const Zt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function pr(e){L(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:o=200,timeout:i,suspensible:s=!0,onError:l}=e;let a=null,c,u=0;const d=()=>(u++,a=null,h()),h=()=>{let w;return a||(w=a=t().catch(y=>{if(y=y instanceof Error?y:new Error(String(y)),l)return new Promise((_,T)=>{l(y,()=>_(d()),()=>T(y),u+1)});throw y}).then(y=>w!==a&&a?a:(y&&(y.__esModule||y[Symbol.toStringTag]==="Module")&&(y=y.default),c=y,y)))};return dr({name:"AsyncComponentWrapper",__asyncLoader:h,get __asyncResolved(){return c},setup(){const w=le;if(c)return()=>En(c,w);const y=I=>{a=null,fr(I,w,13,!n)};if(s&&w.suspense||yr)return h().then(I=>()=>En(I,w)).catch(I=>(y(I),()=>n?X(n,{error:I}):null));const _=he(!1),T=he(),A=he(!!o);return o&&setTimeout(()=>{A.value=!1},o),i!=null&&setTimeout(()=>{if(!_.value&&!T.value){const I=new Error(`Async component timed out after ${i}ms.`);y(I),T.value=I}},i),h().then(()=>{_.value=!0,w.parent&&Fo(w.parent.vnode)&&(w.parent.effect.dirty=!0,on(w.parent.update))}).catch(I=>{y(I),T.value=I}),()=>{if(_.value&&c)return En(c,w);if(T.value&&n)return X(n,{error:T.value});if(r&&!A.value)return X(r)}}})}function En(e,t){const{ref:r,props:n,children:o,ce:i}=t.vnode,s=X(e,n,o);return s.ref=r,s.ce=i,delete t.vnode.ce,s}const Fo=e=>e.type.__isKeepAlive;function gc(e,t){rl(e,"a",t)}function vc(e,t){rl(e,"da",t)}function rl(e,t,r=le){const n=e.__wdc||(e.__wdc=()=>{let o=r;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(an(t,n,r),r){let o=r.parent;for(;o&&o.parent;)Fo(o.parent.vnode)&&bc(n,t,r,o),o=o.parent}}function bc(e,t,r,n){const o=an(t,e,n,!0);nl(()=>{bo(n[t],o)},r)}function an(e,t,r=le,n=!1){if(r){const o=r[e]||(r[e]=[]),i=t.__weh||(t.__weh=(...s)=>{if(r.isUnmounted)return;_t();const l=hr(r),a=Ce(t,r,e,s);return l(),wt(),a});return n?o.unshift(i):o.push(i),i}}const Ge=e=>(t,r=le)=>(!yr||e==="sp")&&an(e,(...n)=>t(...n),r),_c=Ge("bm"),Io=Ge("m"),wc=Ge("bu"),Sc=Ge("u"),Ec=Ge("bum"),nl=Ge("um"),xc=Ge("sp"),Oc=Ge("rtg"),Ac=Ge("rtc");function Pc(e,t=le){an("ec",e,t)}function ry(e,t,r,n){let o;const i=r&&r[n];if(M(e)||ee(e)){o=new Array(e.length);for(let s=0,l=e.length;st(s,l,void 0,i&&i[l]));else{const s=Object.keys(e);o=new Array(s.length);for(let l=0,a=s.length;lyl(t)?!(t.type===it||t.type===xe&&!ol(t.children)):!0)?e:null}const Qn=e=>e?gl(e)?fn(e)||e.proxy:Qn(e.parent):null,er=ae(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=>Qn(e.parent),$root:e=>Qn(e.root),$emit:e=>e.emit,$options:e=>No(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,on(e.update)}),$nextTick:e=>e.n||(e.n=Qa.bind(e.proxy)),$watch:e=>mc.bind(e)}),xn=(e,t)=>e!==z&&!e.__isScriptSetup&&H(e,t),Rc={get({_:e},t){const{ctx:r,setupState:n,data:o,props:i,accessCache:s,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const w=s[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return o[t];case 4:return r[t];case 3:return i[t]}else{if(xn(n,t))return s[t]=1,n[t];if(o!==z&&H(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&H(c,t))return s[t]=3,i[t];if(r!==z&&H(r,t))return s[t]=4,r[t];Xn&&(s[t]=0)}}const u=er[t];let d,h;if(u)return t==="$attrs"&&ve(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(r!==z&&H(r,t))return s[t]=4,r[t];if(h=a.config.globalProperties,H(h,t))return h[t]},set({_:e},t,r){const{data:n,setupState:o,ctx:i}=e;return xn(o,t)?(o[t]=r,!0):n!==z&&H(n,t)?(n[t]=r,!0):H(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:o,propsOptions:i}},s){let l;return!!r[s]||e!==z&&H(e,s)||xn(t,s)||(l=i[0])&&H(l,s)||H(n,s)||H(er,s)||H(o.config.globalProperties,s)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:H(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}};function mi(e){return M(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}let Xn=!0;function Tc(e){const t=No(e),r=e.proxy,n=e.ctx;Xn=!1,t.beforeCreate&&gi(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:l,provide:a,inject:c,created:u,beforeMount:d,mounted:h,beforeUpdate:w,updated:y,activated:_,deactivated:T,beforeDestroy:A,beforeUnmount:I,destroyed:N,unmounted:k,render:te,renderTracked:B,renderTriggered:se,errorCaptured:Z,serverPrefetch:Fe,expose:ye,inheritAttrs:Ae,components:ce,directives:me,filters:Ie}=t;if(c&&Cc(c,n,null),s)for(const G in s){const q=s[G];L(q)&&(n[G]=q.bind(r))}if(o){const G=o.call(r,r);J(G)&&(e.data=Po(G))}if(Xn=!0,i)for(const G in i){const q=i[G],at=L(q)?q.bind(r,r):L(q.get)?q.get.bind(r,r):Ee,br=!L(q)&&L(q.set)?q.set.bind(r):Ee,ct=au({get:at,set:br});Object.defineProperty(n,G,{enumerable:!0,configurable:!0,get:()=>ct.value,set:Ne=>ct.value=Ne})}if(l)for(const G in l)il(l[G],n,r,G);if(a){const G=L(a)?a.call(r):a;Reflect.ownKeys(G).forEach(q=>{Lc(q,G[q])})}u&&gi(u,e,"c");function Q(G,q){M(q)?q.forEach(at=>G(at.bind(r))):q&&G(q.bind(r))}if(Q(_c,d),Q(Io,h),Q(wc,w),Q(Sc,y),Q(gc,_),Q(vc,T),Q(Pc,Z),Q(Ac,B),Q(Oc,se),Q(Ec,I),Q(nl,k),Q(xc,Fe),M(ye))if(ye.length){const G=e.exposed||(e.exposed={});ye.forEach(q=>{Object.defineProperty(G,q,{get:()=>r[q],set:at=>r[q]=at})})}else e.exposed||(e.exposed={});te&&e.render===Ee&&(e.render=te),Ae!=null&&(e.inheritAttrs=Ae),ce&&(e.components=ce),me&&(e.directives=me)}function Cc(e,t,r=Ee){M(e)&&(e=Yn(e));for(const n in e){const o=e[n];let i;J(o)?"default"in o?i=$r(o.from||n,o.default,!0):i=$r(o.from||n):i=$r(o),be(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[n]=i}}function gi(e,t,r){Ce(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function il(e,t,r,n){const o=n.includes(".")?tl(r,n):()=>r[n];if(ee(e)){const i=t[e];L(i)&&Yt(o,i)}else if(L(e))Yt(o,e.bind(r));else if(J(e))if(M(e))e.forEach(i=>il(i,t,r,n));else{const i=L(e.handler)?e.handler.bind(r):t[e.handler];L(i)&&Yt(o,i,e)}}function No(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,l=i.get(t);let a;return l?a=l:!o.length&&!r&&!n?a=t:(a={},o.length&&o.forEach(c=>kr(a,c,s,!0)),kr(a,t,s)),J(t)&&i.set(t,a),a}function kr(e,t,r,n=!1){const{mixins:o,extends:i}=t;i&&kr(e,i,r,!0),o&&o.forEach(s=>kr(e,s,r,!0));for(const s in t)if(!(n&&s==="expose")){const l=Fc[s]||r&&r[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Fc={data:vi,props:bi,emits:bi,methods:Xt,computed:Xt,beforeCreate:pe,created:pe,beforeMount:pe,mounted:pe,beforeUpdate:pe,updated:pe,beforeDestroy:pe,beforeUnmount:pe,destroyed:pe,unmounted:pe,activated:pe,deactivated:pe,errorCaptured:pe,serverPrefetch:pe,components:Xt,directives:Xt,watch:Nc,provide:vi,inject:Ic};function vi(e,t){return t?e?function(){return ae(L(e)?e.call(this,this):e,L(t)?t.call(this,this):t)}:t:e}function Ic(e,t){return Xt(Yn(e),Yn(t))}function Yn(e){if(M(e)){const t={};for(let r=0;r1)return r&&L(t)?t.call(n&&n.proxy):t}}function Bc(e,t,r,n=!1){const o={},i={};Hr(i,un,1),e.propsDefaults=Object.create(null),ll(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);r?e.props=n?o:Wa(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Dc(e,t,r,n){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,l=V(o),[a]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[h,w]=al(d,t,!0);ae(s,h),w&&l.push(...w)};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return J(e)&&n.set(e,Ct),Ct;if(M(i))for(let u=0;u-1,w[1]=_<0||y<_,(y>-1||H(w,"default"))&&l.push(d)}}}const c=[s,l];return J(e)&&n.set(e,c),c}function _i(e){return e[0]!=="$"}function wi(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Si(e,t){return wi(e)===wi(t)}function Ei(e,t){return M(t)?t.findIndex(r=>Si(r,e)):L(t)&&Si(t,e)?0:-1}const cl=e=>e[0]==="_"||e==="$stable",$o=e=>M(e)?e.map(De):[De(e)],Uc=(e,t,r)=>{if(t._n)return t;const n=oc((...o)=>$o(t(...o)),r);return n._c=!1,n},ul=(e,t,r)=>{const n=e._ctx;for(const o in e){if(cl(o))continue;const i=e[o];if(L(i))t[o]=Uc(o,i,n);else if(i!=null){const s=$o(i);t[o]=()=>s}}},fl=(e,t)=>{const r=$o(t);e.slots.default=()=>r},jc=(e,t)=>{if(e.vnode.shapeFlag&32){const r=t._;r?(e.slots=V(t),Hr(t,"_",r)):ul(t,e.slots={})}else e.slots={},t&&fl(e,t);Hr(e.slots,un,1)},Hc=(e,t,r)=>{const{vnode:n,slots:o}=e;let i=!0,s=z;if(n.shapeFlag&32){const l=t._;l?r&&l===1?i=!1:(ae(o,t),!r&&l===1&&delete o._):(i=!t.$stable,ul(t,o)),s=t}else t&&(fl(e,t),s={default:1});if(i)for(const l in o)!cl(l)&&s[l]==null&&delete o[l]};function eo(e,t,r,n,o=!1){if(M(e)){e.forEach((h,w)=>eo(h,t&&(M(t)?t[w]:t),r,n,o));return}if(Zt(n)&&!o)return;const i=n.shapeFlag&4?fn(n.component)||n.component.proxy:n.el,s=o?null:i,{i:l,r:a}=e,c=t&&t.r,u=l.refs===z?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==a&&(ee(c)?(u[c]=null,H(d,c)&&(d[c]=null)):be(c)&&(c.value=null)),L(a))nt(a,l,12,[s,u]);else{const h=ee(a),w=be(a),y=e.f;if(h||w){const _=()=>{if(y){const T=h?H(d,a)?d[a]:u[a]:a.value;o?M(T)&&bo(T,i):M(T)?T.includes(i)||T.push(i):h?(u[a]=[i],H(d,a)&&(d[a]=u[a])):(a.value=[i],e.k&&(u[e.k]=a.value))}else h?(u[a]=s,H(d,a)&&(d[a]=s)):w&&(a.value=s,e.k&&(u[e.k]=s))};o||y?_():(_.id=-1,ge(_,r))}}}const ge=pc;function Vc(e){return Wc(e)}function Wc(e,t){const r=Ps();r.__VUE__=!0;const{insert:n,remove:o,patchProp:i,createElement:s,createText:l,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:h,setScopeId:w=Ee,insertStaticContent:y}=e,_=(f,p,m,v=null,b=null,x=null,P=void 0,E=null,O=!!p.dynamicChildren)=>{if(f===p)return;f&&!Kt(f,p)&&(v=_r(f),Ne(f,b,x,!0),f=null),p.patchFlag===-2&&(O=!1,p.dynamicChildren=null);const{type:S,ref:R,shapeFlag:F}=p;switch(S){case cn:T(f,p,m,v);break;case it:A(f,p,m,v);break;case An:f==null&&I(p,m,v,P);break;case xe:ce(f,p,m,v,b,x,P,E,O);break;default:F&1?te(f,p,m,v,b,x,P,E,O):F&6?me(f,p,m,v,b,x,P,E,O):(F&64||F&128)&&S.process(f,p,m,v,b,x,P,E,O,xt)}R!=null&&b&&eo(R,f&&f.ref,x,p||f,!p)},T=(f,p,m,v)=>{if(f==null)n(p.el=l(p.children),m,v);else{const b=p.el=f.el;p.children!==f.children&&c(b,p.children)}},A=(f,p,m,v)=>{f==null?n(p.el=a(p.children||""),m,v):p.el=f.el},I=(f,p,m,v)=>{[f.el,f.anchor]=y(f.children,p,m,v,f.el,f.anchor)},N=({el:f,anchor:p},m,v)=>{let b;for(;f&&f!==p;)b=h(f),n(f,m,v),f=b;n(p,m,v)},k=({el:f,anchor:p})=>{let m;for(;f&&f!==p;)m=h(f),o(f),f=m;o(p)},te=(f,p,m,v,b,x,P,E,O)=>{p.type==="svg"?P="svg":p.type==="math"&&(P="mathml"),f==null?B(p,m,v,b,x,P,E,O):Fe(f,p,b,x,P,E,O)},B=(f,p,m,v,b,x,P,E)=>{let O,S;const{props:R,shapeFlag:F,transition:C,dirs:$}=f;if(O=f.el=s(f.type,x,R&&R.is,R),F&8?u(O,f.children):F&16&&Z(f.children,O,null,v,b,On(f,x),P,E),$&&ut(f,null,v,"created"),se(O,f,f.scopeId,P,v),R){for(const W in R)W!=="value"&&!Fr(W)&&i(O,W,null,R[W],x,f.children,v,b,ke);"value"in R&&i(O,"value",null,R.value,x),(S=R.onVnodeBeforeMount)&&Me(S,v,f)}$&&ut(f,null,v,"beforeMount");const D=kc(b,C);D&&C.beforeEnter(O),n(O,p,m),((S=R&&R.onVnodeMounted)||D||$)&&ge(()=>{S&&Me(S,v,f),D&&C.enter(O),$&&ut(f,null,v,"mounted")},b)},se=(f,p,m,v,b)=>{if(m&&w(f,m),v)for(let x=0;x{for(let S=O;S{const E=p.el=f.el;let{patchFlag:O,dynamicChildren:S,dirs:R}=p;O|=f.patchFlag&16;const F=f.props||z,C=p.props||z;let $;if(m&&ft(m,!1),($=C.onVnodeBeforeUpdate)&&Me($,m,p,f),R&&ut(p,f,m,"beforeUpdate"),m&&ft(m,!0),S?ye(f.dynamicChildren,S,E,m,v,On(p,b),x):P||q(f,p,E,null,m,v,On(p,b),x,!1),O>0){if(O&16)Ae(E,p,F,C,m,v,b);else if(O&2&&F.class!==C.class&&i(E,"class",null,C.class,b),O&4&&i(E,"style",F.style,C.style,b),O&8){const D=p.dynamicProps;for(let W=0;W{$&&Me($,m,p,f),R&&ut(p,f,m,"updated")},v)},ye=(f,p,m,v,b,x,P)=>{for(let E=0;E{if(m!==v){if(m!==z)for(const E in m)!Fr(E)&&!(E in v)&&i(f,E,m[E],null,P,p.children,b,x,ke);for(const E in v){if(Fr(E))continue;const O=v[E],S=m[E];O!==S&&E!=="value"&&i(f,E,S,O,P,p.children,b,x,ke)}"value"in v&&i(f,"value",m.value,v.value,P)}},ce=(f,p,m,v,b,x,P,E,O)=>{const S=p.el=f?f.el:l(""),R=p.anchor=f?f.anchor:l("");let{patchFlag:F,dynamicChildren:C,slotScopeIds:$}=p;$&&(E=E?E.concat($):$),f==null?(n(S,m,v),n(R,m,v),Z(p.children||[],m,R,b,x,P,E,O)):F>0&&F&64&&C&&f.dynamicChildren?(ye(f.dynamicChildren,C,m,b,x,P,E),(p.key!=null||b&&p===b.subTree)&&dl(f,p,!0)):q(f,p,m,R,b,x,P,E,O)},me=(f,p,m,v,b,x,P,E,O)=>{p.slotScopeIds=E,f==null?p.shapeFlag&512?b.ctx.activate(p,m,v,P,O):Ie(p,m,v,b,x,P,O):lt(f,p,O)},Ie=(f,p,m,v,b,x,P)=>{const E=f.component=tu(f,v,b);if(Fo(f)&&(E.ctx.renderer=xt),ru(E),E.asyncDep){if(b&&b.registerDep(E,Q),!f.el){const O=E.subTree=X(it);A(null,O,p,m)}}else Q(E,f,p,m,b,x,P)},lt=(f,p,m)=>{const v=p.component=f.component;if(lc(f,p,m))if(v.asyncDep&&!v.asyncResolved){G(v,p,m);return}else v.next=p,Ya(v.update),v.effect.dirty=!0,v.update();else p.el=f.el,v.vnode=p},Q=(f,p,m,v,b,x,P)=>{const E=()=>{if(f.isMounted){let{next:R,bu:F,u:C,parent:$,vnode:D}=f;{const Ot=pl(f);if(Ot){R&&(R.el=D.el,G(f,R,P)),Ot.asyncDep.then(()=>{f.isUnmounted||E()});return}}let W=R,K;ft(f,!1),R?(R.el=D.el,G(f,R,P)):R=D,F&&Ir(F),(K=R.props&&R.props.onVnodeBeforeUpdate)&&Me(K,$,R,D),ft(f,!0);const re=Sn(f),Pe=f.subTree;f.subTree=re,_(Pe,re,d(Pe.el),_r(Pe),f,b,x),R.el=re.el,W===null&&ac(f,re.el),C&&ge(C,b),(K=R.props&&R.props.onVnodeUpdated)&&ge(()=>Me(K,$,R,D),b)}else{let R;const{el:F,props:C}=p,{bm:$,m:D,parent:W}=f,K=Zt(p);if(ft(f,!1),$&&Ir($),!K&&(R=C&&C.onVnodeBeforeMount)&&Me(R,W,p),ft(f,!0),F&&bn){const re=()=>{f.subTree=Sn(f),bn(F,f.subTree,f,b,null)};K?p.type.__asyncLoader().then(()=>!f.isUnmounted&&re()):re()}else{const re=f.subTree=Sn(f);_(null,re,m,v,f,b,x),p.el=re.el}if(D&&ge(D,b),!K&&(R=C&&C.onVnodeMounted)){const re=p;ge(()=>Me(R,W,re),b)}(p.shapeFlag&256||W&&Zt(W.vnode)&&W.vnode.shapeFlag&256)&&f.a&&ge(f.a,b),f.isMounted=!0,p=m=v=null}},O=f.effect=new So(E,Ee,()=>on(S),f.scope),S=f.update=()=>{O.dirty&&O.run()};S.id=f.uid,ft(f,!0),S()},G=(f,p,m)=>{p.component=f;const v=f.vnode.props;f.vnode=p,f.next=null,Dc(f,p.props,v,m),Hc(f,p.children,m),_t(),pi(f),wt()},q=(f,p,m,v,b,x,P,E,O=!1)=>{const S=f&&f.children,R=f?f.shapeFlag:0,F=p.children,{patchFlag:C,shapeFlag:$}=p;if(C>0){if(C&128){br(S,F,m,v,b,x,P,E,O);return}else if(C&256){at(S,F,m,v,b,x,P,E,O);return}}$&8?(R&16&&ke(S,b,x),F!==S&&u(m,F)):R&16?$&16?br(S,F,m,v,b,x,P,E,O):ke(S,b,x,!0):(R&8&&u(m,""),$&16&&Z(F,m,v,b,x,P,E,O))},at=(f,p,m,v,b,x,P,E,O)=>{f=f||Ct,p=p||Ct;const S=f.length,R=p.length,F=Math.min(S,R);let C;for(C=0;CR?ke(f,b,x,!0,!1,F):Z(p,m,v,b,x,P,E,O,F)},br=(f,p,m,v,b,x,P,E,O)=>{let S=0;const R=p.length;let F=f.length-1,C=R-1;for(;S<=F&&S<=C;){const $=f[S],D=p[S]=O?Ye(p[S]):De(p[S]);if(Kt($,D))_($,D,m,null,b,x,P,E,O);else break;S++}for(;S<=F&&S<=C;){const $=f[F],D=p[C]=O?Ye(p[C]):De(p[C]);if(Kt($,D))_($,D,m,null,b,x,P,E,O);else break;F--,C--}if(S>F){if(S<=C){const $=C+1,D=$C)for(;S<=F;)Ne(f[S],b,x,!0),S++;else{const $=S,D=S,W=new Map;for(S=D;S<=C;S++){const _e=p[S]=O?Ye(p[S]):De(p[S]);_e.key!=null&&W.set(_e.key,S)}let K,re=0;const Pe=C-D+1;let Ot=!1,ti=0;const zt=new Array(Pe);for(S=0;S=Pe){Ne(_e,b,x,!0);continue}let $e;if(_e.key!=null)$e=W.get(_e.key);else for(K=D;K<=C;K++)if(zt[K-D]===0&&Kt(_e,p[K])){$e=K;break}$e===void 0?Ne(_e,b,x,!0):(zt[$e-D]=S+1,$e>=ti?ti=$e:Ot=!0,_(_e,p[$e],m,null,b,x,P,E,O),re++)}const ri=Ot?qc(zt):Ct;for(K=ri.length-1,S=Pe-1;S>=0;S--){const _e=D+S,$e=p[_e],ni=_e+1{const{el:x,type:P,transition:E,children:O,shapeFlag:S}=f;if(S&6){ct(f.component.subTree,p,m,v);return}if(S&128){f.suspense.move(p,m,v);return}if(S&64){P.move(f,p,m,xt);return}if(P===xe){n(x,p,m);for(let F=0;FE.enter(x),b);else{const{leave:F,delayLeave:C,afterLeave:$}=E,D=()=>n(x,p,m),W=()=>{F(x,()=>{D(),$&&$()})};C?C(x,D,W):W()}else n(x,p,m)},Ne=(f,p,m,v=!1,b=!1)=>{const{type:x,props:P,ref:E,children:O,dynamicChildren:S,shapeFlag:R,patchFlag:F,dirs:C}=f;if(E!=null&&eo(E,null,m,f,!0),R&256){p.ctx.deactivate(f);return}const $=R&1&&C,D=!Zt(f);let W;if(D&&(W=P&&P.onVnodeBeforeUnmount)&&Me(W,p,f),R&6)la(f.component,m,v);else{if(R&128){f.suspense.unmount(m,v);return}$&&ut(f,null,p,"beforeUnmount"),R&64?f.type.remove(f,p,m,b,xt,v):S&&(x!==xe||F>0&&F&64)?ke(S,p,m,!1,!0):(x===xe&&F&384||!b&&R&16)&&ke(O,p,m),v&&Zo(f)}(D&&(W=P&&P.onVnodeUnmounted)||$)&&ge(()=>{W&&Me(W,p,f),$&&ut(f,null,p,"unmounted")},m)},Zo=f=>{const{type:p,el:m,anchor:v,transition:b}=f;if(p===xe){sa(m,v);return}if(p===An){k(f);return}const x=()=>{o(m),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(f.shapeFlag&1&&b&&!b.persisted){const{leave:P,delayLeave:E}=b,O=()=>P(m,x);E?E(f.el,x,O):O()}else x()},sa=(f,p)=>{let m;for(;f!==p;)m=h(f),o(f),f=m;o(p)},la=(f,p,m)=>{const{bum:v,scope:b,update:x,subTree:P,um:E}=f;v&&Ir(v),b.stop(),x&&(x.active=!1,Ne(P,f,p,m)),E&&ge(E,p),ge(()=>{f.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},ke=(f,p,m,v=!1,b=!1,x=0)=>{for(let P=x;Pf.shapeFlag&6?_r(f.component.subTree):f.shapeFlag&128?f.suspense.next():h(f.anchor||f.el);let gn=!1;const ei=(f,p,m)=>{f==null?p._vnode&&Ne(p._vnode,null,null,!0):_(p._vnode||null,f,p,null,null,null,m),gn||(gn=!0,pi(),Qs(),gn=!1),p._vnode=f},xt={p:_,um:Ne,m:ct,r:Zo,mt:Ie,mc:Z,pc:q,pbc:ye,n:_r,o:e};let vn,bn;return t&&([vn,bn]=t(xt)),{render:ei,hydrate:vn,createApp:Mc(ei,vn)}}function On({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function ft({effect:e,update:t},r){e.allowRecurse=t.allowRecurse=r}function kc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function dl(e,t,r=!1){const n=e.children,o=t.children;if(M(n)&&M(o))for(let i=0;i>1,e[r[l]]0&&(t[n]=r[i-1]),r[i]=n)}}for(i=r.length,s=r[i-1];i-- >0;)r[i]=s,s=t[s];return r}function pl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:pl(t)}const zc=e=>e.__isTeleport,xe=Symbol.for("v-fgt"),cn=Symbol.for("v-txt"),it=Symbol.for("v-cmt"),An=Symbol.for("v-stc"),tr=[];let Te=null;function Se(e=!1){tr.push(Te=e?null:[])}function Kc(){tr.pop(),Te=tr[tr.length-1]||null}let cr=1;function xi(e){cr+=e}function hl(e){return e.dynamicChildren=cr>0?Te||Ct:null,Kc(),cr>0&&Te&&Te.push(e),e}function Be(e,t,r,n,o,i){return hl(we(e,t,r,n,o,i,!0))}function Mo(e,t,r,n,o){return hl(X(e,t,r,n,o,!0))}function yl(e){return e?e.__v_isVNode===!0:!1}function Kt(e,t){return e.type===t.type&&e.key===t.key}const un="__vInternal",ml=({key:e})=>e??null,Mr=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?ee(e)||be(e)||L(e)?{i:ie,r:e,k:t,f:!!r}:e:null);function we(e,t=null,r=null,n=0,o=null,i=e===xe?0:1,s=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ml(t),ref:t&&Mr(t),scopeId:ln,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:n,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ie};return l?(Lo(a,r),i&128&&e.normalize(a)):r&&(a.shapeFlag|=ee(r)?8:16),cr>0&&!s&&Te&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&Te.push(a),a}const X=Gc;function Gc(e,t=null,r=null,n=0,o=null,i=!1){if((!e||e===uc)&&(e=it),yl(e)){const l=Lt(e,t,!0);return r&&Lo(l,r),cr>0&&!i&&Te&&(l.shapeFlag&6?Te[Te.indexOf(e)]=l:Te.push(l)),l.patchFlag|=-2,l}if(lu(e)&&(e=e.__vccOpts),t){t=Jc(t);let{class:l,style:a}=t;l&&!ee(l)&&(t.class=rn(l)),J(a)&&(Ws(a)&&!M(a)&&(a=ae({},a)),t.style=wo(a))}const s=ee(e)?1:dc(e)?128:zc(e)?64:J(e)?4:L(e)?2:0;return we(e,t,r,n,o,s,i,!0)}function Jc(e){return e?Ws(e)||un in e?ae({},e):e:null}function Lt(e,t,r=!1){const{props:n,ref:o,patchFlag:i,children:s}=e,l=t?Yc(n||{},t):n;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&ml(l),ref:t&&t.ref?r&&o?M(o)?o.concat(Mr(t)):[o,Mr(t)]:Mr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Lt(e.ssContent),ssFallback:e.ssFallback&&Lt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Qc(e=" ",t=0){return X(cn,null,e,t)}function Xc(e="",t=!1){return t?(Se(),Mo(it,null,e)):X(it,null,e)}function De(e){return e==null||typeof e=="boolean"?X(it):M(e)?X(xe,null,e.slice()):typeof e=="object"?Ye(e):X(cn,null,String(e))}function Ye(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Lt(e)}function Lo(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))r=16;else if(typeof t=="object")if(n&65){const o=t.default;o&&(o._c&&(o._d=!1),Lo(e,o()),o._c&&(o._d=!0));return}else{r=32;const o=t._;!o&&!(un in t)?t._ctx=ie:o===3&&ie&&(ie.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else L(t)?(t={default:t,_ctx:ie},r=32):(t=String(t),n&64?(r=16,t=[Qc(t)]):r=8);e.children=t,e.shapeFlag|=r}function Yc(...e){const t={};for(let r=0;r{let o;return(o=e[r])||(o=e[r]=[]),o.push(n),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};zr=t("__VUE_INSTANCE_SETTERS__",r=>le=r),to=t("__VUE_SSR_SETTERS__",r=>yr=r)}const hr=e=>{const t=le;return zr(e),e.scope.on(),()=>{e.scope.off(),zr(t)}},Oi=()=>{le&&le.scope.off(),zr(null)};function gl(e){return e.vnode.shapeFlag&4}let yr=!1;function ru(e,t=!1){t&&to(t);const{props:r,children:n}=e.vnode,o=gl(e);Bc(e,r,o,t),jc(e,n);const i=o?nu(e,t):void 0;return t&&to(!1),i}function nu(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=ks(new Proxy(e.ctx,Rc));const{setup:n}=r;if(n){const o=e.setupContext=n.length>1?iu(e):null,i=hr(e);_t();const s=nt(n,e,0,[e.props,o]);if(wt(),i(),xs(s)){if(s.then(Oi,Oi),t)return s.then(l=>{Ai(e,l,t)}).catch(l=>{fr(l,e,0)});e.asyncDep=s}else Ai(e,s,t)}else vl(e,t)}function Ai(e,t,r){L(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:J(t)&&(e.setupState=Ks(t)),vl(e,r)}let Pi;function vl(e,t,r){const n=e.type;if(!e.render){if(!t&&Pi&&!n.render){const o=n.template||No(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:a}=n,c=ae(ae({isCustomElement:i,delimiters:l},s),a);n.render=Pi(o,c)}}e.render=n.render||Ee}{const o=hr(e);_t();try{Tc(e)}finally{wt(),o()}}}function ou(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,r){return ve(e,"get","$attrs"),t[r]}}))}function iu(e){const t=r=>{e.exposed=r||{}};return{get attrs(){return ou(e)},slots:e.slots,emit:e.emit,expose:t}}function fn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Ks(ks(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in er)return er[r](e)},has(t,r){return r in t||r in er}}))}function su(e,t=!0){return L(e)?e.displayName||e.name:e.name||t&&e.__name}function lu(e){return L(e)&&"__vccOpts"in e}const au=(e,t)=>ka(e,t,yr),cu="3.4.15";/** * @vue/runtime-dom v3.4.15 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/const uu="http://www.w3.org/2000/svg",fu="http://www.w3.org/1998/Math/MathML",Ze=typeof document<"u"?document:null,Ri=Ze&&Ze.createElement("template"),du={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const o=t==="svg"?Ze.createElementNS(uu,e):t==="mathml"?Ze.createElementNS(fu,e):Ze.createElement(e,r?{is:r}:void 0);return e==="select"&&n&&n.multiple!=null&&o.setAttribute("multiple",n.multiple),o},createText:e=>Ze.createTextNode(e),createComment:e=>Ze.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ze.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,o,i){const s=r?r.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),r),!(o===i||!(o=o.nextSibling)););else{Ri.innerHTML=n==="svg"?`${e}`:n==="mathml"?`${e}`:e;const l=Ri.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,r)}return[s?s.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},pu=Symbol("_vtc");function hu(e,t,r){const n=e[pu];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Bo=Symbol("_vod"),Ti={beforeMount(e,{value:t},{transition:r}){e[Bo]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Gt(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Gt(e,!0),n.enter(e)):n.leave(e,()=>{Gt(e,!1)}):Gt(e,t))},beforeUnmount(e,{value:t}){Gt(e,t)}};function Gt(e,t){e.style.display=t?e[Bo]:"none"}const yu=Symbol("");function mu(e,t,r){const n=e.style,o=n.display,i=ee(r);if(r&&!i){if(t&&!ee(t))for(const s in t)r[s]==null&&ro(n,s,"");for(const s in r)ro(n,s,r[s])}else if(i){if(t!==r){const s=n[yu];s&&(r+=";"+s),n.cssText=r}}else t&&e.removeAttribute("style");Bo in e&&(n.display=o)}const Ci=/\s*!important$/;function ro(e,t,r){if(M(r))r.forEach(n=>ro(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=gu(e,t);Ci.test(r)?e.setProperty(Vt(n),r.replace(Ci,""),"important"):e[n]=r}}const Fi=["Webkit","Moz","ms"],Pn={};function gu(e,t){const r=Pn[t];if(r)return r;let n=Ve(t);if(n!=="filter"&&n in e)return Pn[t]=n;n=tn(n);for(let o=0;oRn||(Eu.then(()=>Rn=0),Rn=Date.now());function Ou(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Ce(Au(n,r.value),t,5,[n])};return r.value=e,r.attached=xu(),r}function Au(e,t){if(M(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>o=>!o._stopped&&n&&n(o))}else return t}const Mi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Pu=(e,t,r,n,o,i,s,l,a)=>{const c=o==="svg";t==="class"?hu(e,n,c):t==="style"?mu(e,r,n):Yr(t)?vo(t)||wu(e,t,r,n,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ru(e,t,n,c))?bu(e,t,n,i,s,l,a):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),vu(e,t,n,c))};function Ru(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mi(t)&&L(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Mi(t)&&ee(r)?!1:t in e}const Li=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?r=>Ir(t,r):t};function Tu(e){e.target.composing=!0}function Bi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Tn=Symbol("_assign"),Cu={created(e,{modifiers:{lazy:t,trim:r,number:n}},o){e[Tn]=Li(o);const i=n||o.props&&o.props.type==="number";Rt(e,t?"change":"input",s=>{if(s.target.composing)return;let l=e.value;r&&(l=l.trim()),i&&(l=Wn(l)),e[Tn](l)}),r&&Rt(e,"change",()=>{e.value=e.value.trim()}),t||(Rt(e,"compositionstart",Tu),Rt(e,"compositionend",Bi),Rt(e,"change",Bi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:r,trim:n,number:o}},i){if(e[Tn]=Li(i),e.composing)return;const s=o||e.type==="number"?Wn(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(r||n&&e.value.trim()===l)||(e.value=l))}},Fu=["ctrl","shift","alt","meta"],Iu={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)=>Fu.some(r=>e[`${r}Key`]&&!t.includes(r))},Di=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(o,...i)=>{for(let s=0;s{const t=$u().createApp(...e),{mount:r}=t;return t.mount=n=>{const o=Lu(n);if(!o)return;const i=t._component;!L(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const s=r(o,!1,Mu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function Mu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Lu(e){return ee(e)?document.querySelector(e):e}var Bu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Du(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var Uu=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==o||s.enumerable!==!0)return!1}return!0},ji=typeof Symbol<"u"&&Symbol,ju=Uu,Hu=function(){return typeof ji!="function"||typeof Symbol!="function"||typeof ji("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ju()},Hi={foo:{}},Vu=Object,Wu=function(){return{__proto__:Hi}.foo===Hi.foo&&!({__proto__:null}instanceof Vu)},ku="Function.prototype.bind called on incompatible ",qu=Object.prototype.toString,zu=Math.max,Ku="[object Function]",Vi=function(t,r){for(var n=[],o=0;o"u"||!oe?U:oe(Uint8Array),bt={"%AggregateError%":typeof AggregateError>"u"?U:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?U:ArrayBuffer,"%ArrayIteratorPrototype%":At&&oe?oe([][Symbol.iterator]()):U,"%AsyncFromSyncIteratorPrototype%":U,"%AsyncFunction%":Tt,"%AsyncGenerator%":Tt,"%AsyncGeneratorFunction%":Tt,"%AsyncIteratorPrototype%":Tt,"%Atomics%":typeof Atomics>"u"?U:Atomics,"%BigInt%":typeof BigInt>"u"?U:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?U:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?U:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?U:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?U:Float32Array,"%Float64Array%":typeof Float64Array>"u"?U:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?U:FinalizationRegistry,"%Function%":bl,"%GeneratorFunction%":Tt,"%Int8Array%":typeof Int8Array>"u"?U:Int8Array,"%Int16Array%":typeof Int16Array>"u"?U:Int16Array,"%Int32Array%":typeof Int32Array>"u"?U:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":At&&oe?oe(oe([][Symbol.iterator]())):U,"%JSON%":typeof JSON=="object"?JSON:U,"%Map%":typeof Map>"u"?U:Map,"%MapIteratorPrototype%":typeof Map>"u"||!At||!oe?U:oe(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?U:Promise,"%Proxy%":typeof Proxy>"u"?U:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?U:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?U:Set,"%SetIteratorPrototype%":typeof Set>"u"||!At||!oe?U:oe(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?U:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":At&&oe?oe(""[Symbol.iterator]()):U,"%Symbol%":At?Symbol:U,"%SyntaxError%":Bt,"%ThrowTypeError%":rf,"%TypedArray%":of,"%TypeError%":$t,"%Uint8Array%":typeof Uint8Array>"u"?U:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?U:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?U:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?U:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?U:WeakMap,"%WeakRef%":typeof WeakRef>"u"?U:WeakRef,"%WeakSet%":typeof WeakSet>"u"?U:WeakSet};if(oe)try{null.error}catch(e){var sf=oe(oe(e));bt["%Error.prototype%"]=sf}var lf=function e(t){var r;if(t==="%AsyncFunction%")r=Cn("async function () {}");else if(t==="%GeneratorFunction%")r=Cn("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=Cn("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&oe&&(r=oe(o.prototype))}return bt[t]=r,r},Wi={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},mr=Do,Kr=tf,af=mr.call(Function.call,Array.prototype.concat),cf=mr.call(Function.apply,Array.prototype.splice),ki=mr.call(Function.call,String.prototype.replace),Gr=mr.call(Function.call,String.prototype.slice),uf=mr.call(Function.call,RegExp.prototype.exec),ff=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,df=/\\(\\)?/g,pf=function(t){var r=Gr(t,0,1),n=Gr(t,-1);if(r==="%"&&n!=="%")throw new Bt("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Bt("invalid intrinsic syntax, expected opening `%`");var o=[];return ki(t,ff,function(i,s,l,a){o[o.length]=l?ki(a,df,"$1"):s||i}),o},hf=function(t,r){var n=t,o;if(Kr(Wi,n)&&(o=Wi[n],n="%"+o[0]+"%"),Kr(bt,n)){var i=bt[n];if(i===Tt&&(i=lf(n)),typeof i>"u"&&!r)throw new $t("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new Bt("intrinsic "+t+" does not exist!")},Et=function(t,r){if(typeof t!="string"||t.length===0)throw new $t("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new $t('"allowMissing" argument must be a boolean');if(uf(/^%?[^%]*%?$/,t)===null)throw new Bt("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=pf(t),o=n.length>0?n[0]:"",i=hf("%"+o+"%",r),s=i.name,l=i.value,a=!1,c=i.alias;c&&(o=c[0],cf(n,af([0,1],c)));for(var u=1,d=!0;u=n.length){var _=vt(l,h);d=!!_,d&&"get"in _&&!("originalValue"in _.get)?l=_.get:l=l[h]}else d=Kr(l,h),l=l[h];d&&!a&&(bt[s]=l)}}return l},_l={exports:{}},yf=Et,no=yf("%Object.defineProperty%",!0),oo=function(){if(no)try{return no({},"a",{value:1}),!0}catch{return!1}return!1};oo.hasArrayLengthDefineBug=function(){if(!oo())return null;try{return no([],"length",{value:1}).length!==1}catch{return!0}};var wl=oo,mf=Et,Lr=mf("%Object.getOwnPropertyDescriptor%",!0);if(Lr)try{Lr([],"length")}catch{Lr=null}var Sl=Lr,gf=wl(),Uo=Et,rr=gf&&Uo("%Object.defineProperty%",!0);if(rr)try{rr({},"a",{value:1})}catch{rr=!1}var vf=Uo("%SyntaxError%"),Pt=Uo("%TypeError%"),qi=Sl,bf=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Pt("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Pt("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Pt("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Pt("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Pt("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Pt("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,a=!!qi&&qi(t,r);if(rr)rr(t,r,{configurable:s===null&&a?a.configurable:!s,enumerable:o===null&&a?a.enumerable:!o,value:n,writable:i===null&&a?a.writable:!i});else if(l||!o&&!i&&!s)t[r]=n;else throw new vf("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},El=Et,zi=bf,_f=wl(),Ki=Sl,Gi=El("%TypeError%"),wf=El("%Math.floor%"),Sf=function(t,r){if(typeof t!="function")throw new Gi("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||wf(r)!==r)throw new Gi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in t&&Ki){var s=Ki(t,"length");s&&!s.configurable&&(o=!1),s&&!s.writable&&(i=!1)}return(o||i||!n)&&(_f?zi(t,"length",r,!0,!0):zi(t,"length",r)),t};(function(e){var t=Do,r=Et,n=Sf,o=r("%TypeError%"),i=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||t.call(s,i),a=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(a)try{a({},"a",{value:1})}catch{a=null}e.exports=function(h){if(typeof h!="function")throw new o("a function is required");var w=l(t,s,arguments);return n(w,1+c(0,h.length-(arguments.length-1)),!0)};var u=function(){return l(t,i,arguments)};a?a(e.exports,"apply",{value:u}):e.exports.apply=u})(_l);var Ef=_l.exports,xl=Et,Ol=Ef,xf=Ol(xl("String.prototype.indexOf")),Of=function(t,r){var n=xl(t,!!r);return typeof n=="function"&&xf(t,".prototype.")>-1?Ol(n):n};const Af={},Pf=Object.freeze(Object.defineProperty({__proto__:null,default:Af},Symbol.toStringTag,{value:"Module"})),Rf=Du(Pf);var jo=typeof Map=="function"&&Map.prototype,In=Object.getOwnPropertyDescriptor&&jo?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Jr=jo&&In&&typeof In.get=="function"?In.get:null,Ji=jo&&Map.prototype.forEach,Ho=typeof Set=="function"&&Set.prototype,Nn=Object.getOwnPropertyDescriptor&&Ho?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Qr=Ho&&Nn&&typeof Nn.get=="function"?Nn.get:null,Qi=Ho&&Set.prototype.forEach,Tf=typeof WeakMap=="function"&&WeakMap.prototype,nr=Tf?WeakMap.prototype.has:null,Cf=typeof WeakSet=="function"&&WeakSet.prototype,or=Cf?WeakSet.prototype.has:null,Ff=typeof WeakRef=="function"&&WeakRef.prototype,Xi=Ff?WeakRef.prototype.deref:null,If=Boolean.prototype.valueOf,Nf=Object.prototype.toString,$f=Function.prototype.toString,Mf=String.prototype.match,Vo=String.prototype.slice,tt=String.prototype.replace,Lf=String.prototype.toUpperCase,Yi=String.prototype.toLowerCase,Al=RegExp.prototype.test,Zi=Array.prototype.concat,Ue=Array.prototype.join,Bf=Array.prototype.slice,es=Math.floor,io=typeof BigInt=="function"?BigInt.prototype.valueOf:null,$n=Object.getOwnPropertySymbols,so=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Dt=typeof Symbol=="function"&&typeof Symbol.iterator=="object",de=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Dt||"symbol")?Symbol.toStringTag:null,Pl=Object.prototype.propertyIsEnumerable,ts=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function rs(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||Al.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-es(-e):es(e);if(n!==e){var o=String(n),i=Vo.call(t,o.length+1);return tt.call(o,r,"$&_")+"."+tt.call(tt.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return tt.call(t,r,"$&_")}var lo=Rf,ns=lo.custom,os=Tl(ns)?ns:null,Df=function e(t,r,n,o){var i=r||{};if(et(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(et(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=et(i,"customInspect")?i.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(et(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(et(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=i.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return Fl(t,i);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var a=String(t);return l?rs(t,a):a}if(typeof t=="bigint"){var c=String(t)+"n";return l?rs(t,c):c}var u=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=u&&u>0&&typeof t=="object")return ao(t)?"[Array]":"[Object]";var d=rd(i,n);if(typeof o>"u")o=[];else if(Cl(o,t)>=0)return"[Circular]";function h(me,Ie,lt){if(Ie&&(o=Bf.call(o),o.push(Ie)),lt){var Q={depth:i.depth};return et(i,"quoteStyle")&&(Q.quoteStyle=i.quoteStyle),e(me,Q,n+1,o)}return e(me,i,n+1,o)}if(typeof t=="function"&&!is(t)){var w=Kf(t),y=Pr(t,h);return"[Function"+(w?": "+w:" (anonymous)")+"]"+(y.length>0?" { "+Ue.call(y,", ")+" }":"")}if(Tl(t)){var _=Dt?tt.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):so.call(t);return typeof t=="object"&&!Dt?Jt(_):_}if(Zf(t)){for(var T="<"+Yi.call(String(t.nodeName)),A=t.attributes||[],I=0;I",T}if(ao(t)){if(t.length===0)return"[]";var N=Pr(t,h);return d&&!td(N)?"["+co(N,d)+"]":"[ "+Ue.call(N,", ")+" ]"}if(Hf(t)){var k=Pr(t,h);return!("cause"in Error.prototype)&&"cause"in t&&!Pl.call(t,"cause")?"{ ["+String(t)+"] "+Ue.call(Zi.call("[cause]: "+h(t.cause),k),", ")+" }":k.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Ue.call(k,", ")+" }"}if(typeof t=="object"&&s){if(os&&typeof t[os]=="function"&&lo)return lo(t,{depth:u-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Gf(t)){var te=[];return Ji&&Ji.call(t,function(me,Ie){te.push(h(Ie,t,!0)+" => "+h(me,t))}),ss("Map",Jr.call(t),te,d)}if(Xf(t)){var B=[];return Qi&&Qi.call(t,function(me){B.push(h(me,t))}),ss("Set",Qr.call(t),B,d)}if(Jf(t))return Mn("WeakMap");if(Yf(t))return Mn("WeakSet");if(Qf(t))return Mn("WeakRef");if(Wf(t))return Jt(h(Number(t)));if(qf(t))return Jt(h(io.call(t)));if(kf(t))return Jt(If.call(t));if(Vf(t))return Jt(h(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(t===Bu)return"{ [object globalThis] }";if(!jf(t)&&!is(t)){var se=Pr(t,h),Z=ts?ts(t)===Object.prototype:t instanceof Object||t.constructor===Object,Fe=t instanceof Object?"":"null prototype",ye=!Z&&de&&Object(t)===t&&de in t?Vo.call(st(t),8,-1):Fe?"Object":"",Ae=Z||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",ce=Ae+(ye||Fe?"["+Ue.call(Zi.call([],ye||[],Fe||[]),": ")+"] ":"");return se.length===0?ce+"{}":d?ce+"{"+co(se,d)+"}":ce+"{ "+Ue.call(se,", ")+" }"}return String(t)};function Rl(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function Uf(e){return tt.call(String(e),/"/g,""")}function ao(e){return st(e)==="[object Array]"&&(!de||!(typeof e=="object"&&de in e))}function jf(e){return st(e)==="[object Date]"&&(!de||!(typeof e=="object"&&de in e))}function is(e){return st(e)==="[object RegExp]"&&(!de||!(typeof e=="object"&&de in e))}function Hf(e){return st(e)==="[object Error]"&&(!de||!(typeof e=="object"&&de in e))}function Vf(e){return st(e)==="[object String]"&&(!de||!(typeof e=="object"&&de in e))}function Wf(e){return st(e)==="[object Number]"&&(!de||!(typeof e=="object"&&de in e))}function kf(e){return st(e)==="[object Boolean]"&&(!de||!(typeof e=="object"&&de in e))}function Tl(e){if(Dt)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!so)return!1;try{return so.call(e),!0}catch{}return!1}function qf(e){if(!e||typeof e!="object"||!io)return!1;try{return io.call(e),!0}catch{}return!1}var zf=Object.prototype.hasOwnProperty||function(e){return e in this};function et(e,t){return zf.call(e,t)}function st(e){return Nf.call(e)}function Kf(e){if(e.name)return e.name;var t=Mf.call($f.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Cl(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return Fl(Vo.call(e,0,t.maxStringLength),t)+n}var o=tt.call(tt.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ed);return Rl(o,"single",t)}function ed(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+Lf.call(t.toString(16))}function Jt(e){return"Object("+e+")"}function Mn(e){return e+" { ? }"}function ss(e,t,r,n){var o=n?co(r,n):Ue.call(r,", ");return e+" ("+t+") {"+o+"}"}function td(e){for(var t=0;t=0)return!1;return!0}function rd(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Ue.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Ue.call(Array(t+1),r)}}function co(e,t){if(e.length===0)return"";var r=` `+t.prev+t.base;return r+Ue.call(e,","+r)+` `+t.prev}function Pr(e,t){var r=ao(e),n=[];if(r){n.length=e.length;for(var o=0;o1;){var r=t.pop(),n=r.obj[r.prop];if(pt(n)){for(var o=[],i=0;i=48&&c<=57||c>=65&&c<=90||c>=97&&c<=122||i===gd.RFC1738&&(c===40||c===41)){l+=s.charAt(a);continue}if(c<128){l=l+Le[c];continue}if(c<2048){l=l+(Le[192|c>>6]+Le[128|c&63]);continue}if(c<55296||c>=57344){l=l+(Le[224|c>>12]+Le[128|c>>6&63]+Le[128|c&63]);continue}a+=1,c=65536+((c&1023)<<10|s.charCodeAt(a)&1023),l+=Le[240|c>>18]+Le[128|c>>12&63]+Le[128|c>>6&63]+Le[128|c&63]}return l},Ed=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],o=0;o"u"&&(N=0)}if(typeof a=="function"?A=a(r,A):A instanceof Date?A=d(A):n==="comma"&&qe(A)&&(A=Br.maybeMap(A,function(Q){return Q instanceof Date?d(Q):Q})),A===null){if(i)return l&&!y?l(r,ue.encoder,_,"key",h):r;A=""}if(Fd(A)||Br.isBuffer(A)){if(l){var B=y?r:l(r,ue.encoder,_,"key",h);return[w(B)+"="+w(l(A,ue.encoder,_,"value",h))]}return[w(r)+"="+w(String(A))]}var se=[];if(typeof A>"u")return se;var Z;if(n==="comma"&&qe(A))y&&l&&(A=Br.maybeMap(A,l)),Z=[{value:A.length>0?A.join(",")||null:void 0}];else if(qe(a))Z=a;else{var Fe=Object.keys(A);Z=c?Fe.sort(c):Fe}for(var ye=o&&qe(A)&&A.length===1?r+"[]":r,Ae=0;Ae"u"?ue.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:ue.charsetSentinel,delimiter:typeof t.delimiter>"u"?ue.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:ue.encode,encoder:typeof t.encoder=="function"?t.encoder:ue.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:ue.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:ue.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:ue.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:ue.strictNullHandling}},$d=function(e,t){var r=e,n=Nd(t),o,i;typeof n.filter=="function"?(i=n.filter,r=i("",r)):qe(n.filter)&&(i=n.filter,o=i);var s=[];if(typeof r!="object"||r===null)return"";var l;t&&t.arrayFormat in ls?l=t.arrayFormat:t&&"indices"in t?l=t.indices?"indices":"repeat":l="indices";var a=ls[l];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var c=a==="comma"&&t&&t.commaRoundTrip;o||(o=Object.keys(r)),n.sort&&o.sort(n.sort);for(var u=$l(),d=0;d0?y+w:""},Ut=Nl,uo=Object.prototype.hasOwnProperty,Md=Array.isArray,ne={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ut.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Ld=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},Ll=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},Bd="utf8=%26%2310003%3B",Dd="utf8=%E2%9C%93",Ud=function(t,r){var n={__proto__:null},o=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=r.parameterLimit===1/0?void 0:r.parameterLimit,s=o.split(r.delimiter,i),l=-1,a,c=r.charset;if(r.charsetSentinel)for(a=0;a-1&&(y=Md(y)?[y]:y),uo.call(n,w)?n[w]=Ut.combine(n[w],y):n[w]=y}return n},jd=function(e,t,r,n){for(var o=n?t:Ll(t,r),i=e.length-1;i>=0;--i){var s,l=e[i];if(l==="[]"&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var a=l.charAt(0)==="["&&l.charAt(l.length-1)==="]"?l.slice(1,-1):l,c=parseInt(a,10);!r.parseArrays&&a===""?s={0:o}:!isNaN(c)&&l!==a&&String(c)===a&&c>=0&&r.parseArrays&&c<=r.arrayLimit?(s=[],s[c]=o):a!=="__proto__"&&(s[a]=o)}o=s}return o},Hd=function(t,r,n,o){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,l=/(\[[^[\]]*])/g,a=n.depth>0&&s.exec(i),c=a?i.slice(0,a.index):i,u=[];if(c){if(!n.plainObjects&&uo.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&(a=l.exec(i))!==null&&d"u"?ne.charset:t.charset;return{allowDots:typeof t.allowDots>"u"?ne.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:ne.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:ne.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:ne.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:ne.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:ne.comma,decoder:typeof t.decoder=="function"?t.decoder:ne.decoder,delimiter:typeof t.delimiter=="string"||Ut.isRegExp(t.delimiter)?t.delimiter:ne.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:ne.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:ne.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:ne.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:ne.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:ne.strictNullHandling}},Wd=function(e,t){var r=Vd(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?Ud(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),s=0;s{const{origin:s,data:l}=i;if(s===n&&l instanceof Blob){const a=new File([l],o,{});e(a)}})}const Jd=e=>(rc("data-v-3f8fdb10"),e=e(),nc(),e),Qd={class:"banner"},Xd={class:"container"},Yd={class:"file-select"},Zd={key:0,class:"overlay"},ep={key:3,class:"upload-cover"},tp=Jd(()=>we("a",{href:"/"},"Vue在线文档查看器",-1)),rp={class:"viewport"},np=dr({__name:"HelloWorld",setup(e){const t=he(!1),r=he(!1),n=he(!0),o=he(""),i=he(),s=he("https://flyfish.dev/%E6%95%B0%E6%8D%AE%E4%B8%AD%E5%8F%B0%E7%AC%94%E8%AE%B0(1).docx"),l=he("");Gd((c,u)=>{t.value=!0,c&&(i.value=c),u&&(s.value=u)}),Io(()=>{l.value=s.value});async function a(c){const u=c.target;if(u.files){const d=u.files.item(0);d&&(o.value=d.name&&decodeURIComponent(d.name)||"",i.value=d)}}return(c,u)=>{const d=cc("file-viewer");return Se(),Be("div",{class:rn({hidden:t.value})},[we("div",Qd,[we("div",Xd,[we("h1",null,[we("div",Yd,[we("button",{type:"button",style:{"margin-right":"20px"},onClick:u[0]||(u[0]=Di(h=>r.value=!r.value,["stop"]))}," 【点击切换】"+yt(r.value?"🐧 输入网址":"👆🏻 上传预览"),1),we("button",{type:"button",onClick:u[1]||(u[1]=h=>n.value=!n.value)},yt(n.value?"🏄‍隐藏浮层":"👁显示浮层"),1)]),n.value?(Se(),Be("div",Zd,[r.value?Jn((Se(),Be("input",{key:0,type:"text","onUpdate:modelValue":u[2]||(u[2]=h=>s.value=h),placeholder:"http://"},null,512)),[[Cu,s.value]]):(Se(),Be("input",{key:1,type:"file",onChange:a},null,32)),r.value?(Se(),Be("button",{key:2,type:"button",onClick:u[3]||(u[3]=Di(h=>l.value=s.value,["stop"]))},"预览")):(Se(),Be("div",ep," 📃 "+yt(o.value||"请选择文件上传"),1))])):Xc("",!0),tp])])]),we("div",rp,[X(d,{file:i.value,url:l.value},null,8,["file","url"])])],2)}}});const zo=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},op=zo(np,[["__scopeId","data-v-3f8fdb10"]]),ip=dr({__name:"App",setup(e){return(t,r)=>(Se(),Mo(op))}});const sp="modulepreload",lp=function(e,t){return new URL(e,t).href},cs={},kt=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(i=>{if(i=lp(i,n),i in cs)return;cs[i]=!0;const s=i.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const d=o[u];if(d.href===i&&(!s||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${l}`))return;const c=document.createElement("link");if(c.rel=s?"stylesheet":sp,s||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),s)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=i,window.dispatchEvent(s),!s.defaultPrevented)throw i})},ap=(()=>{const e={module:null,async load(){return this.module||(this.module=kt(()=>import("./docx-preview-1cf76835.js"),["./docx-preview-1cf76835.js","./_commonjs-dynamic-modules-302442b1.js"],import.meta.url)),this.module}};return async()=>await e.load()})();async function cp(e,t){const{defaultOptions:r,renderAsync:n}=await ap(),o=Object.assign(r,{debug:!0,experimental:!0});await n(e,t,void 0,o)}const up=pr(()=>kt(()=>import("./PptxRender-5a3debe6.js"),["./PptxRender-5a3debe6.js","./worker-ref-b3abaee8.js","./PptxRender-846be824.css"],import.meta.url));async function fp(e,t){return St({render:()=>X(up,{data:e},null)}).mount(t)}const dp=pr(()=>kt(()=>import("./XlsxTable-0a398d95.js"),["./XlsxTable-0a398d95.js","./worker-ref-b3abaee8.js","./_commonjs-dynamic-modules-302442b1.js","./XlsxTable-5454e362.css"],import.meta.url));async function us(e,t,r){const n=St({render:()=>X(dp,{data:e,type:r},null)});return n.mount(t),n}const pp=pr(()=>kt(()=>import("./PdfView-3f48c404.js"),["./PdfView-3f48c404.js","./_commonjs-dynamic-modules-302442b1.js","./worker-ref-b3abaee8.js","./PdfView-89e0fbd8.css"],import.meta.url));async function hp(e,t){const r=St({render:()=>X(pp,{data:e},null)});return r.mount(t),r}async function yp(e){return new Promise((t,r)=>{const n=new FileReader;n.onload=o=>{var i;return t((i=o.target)==null?void 0:i.result)},n.onerror=o=>r(o),n.readAsArrayBuffer(e)})}async function mp(e){return new Promise((t,r)=>{const n=new FileReader;n.onload=o=>{var s;const i=(s=o.target)==null?void 0:s.result;typeof i=="string"&&t(i)},n.onerror=o=>r(o),n.readAsDataURL(new Blob([e]))})}async function Bl(e){return new Promise((t,r)=>{const n=new FileReader;n.onload=o=>{var s;const i=(s=o.target)==null?void 0:s.result;typeof i=="string"&&t(i)},n.onerror=o=>r(o),n.readAsText(new Blob([e]),"utf-8")})}const gp=pr(()=>kt(()=>import("./ImageViewer-ed99ad9c.js"),["./ImageViewer-ed99ad9c.js","./ImageViewer-b2513ebd.css"],import.meta.url));async function vp(e,t){const r=await mp(e),n=St({render:()=>X(gp,{image:r},null)});return n.mount(t),n}const bp=pr(()=>kt(()=>import("./MarkdownViewer-52070412.js"),["./MarkdownViewer-52070412.js","./MarkdownViewer-86c94709.css"],import.meta.url));async function _p(e,t){const r=await Bl(e),n=St({render:()=>X(bp,{data:r},null)});return n.mount(t),n}const wp={class:"code-area"},Sp=dr({__name:"CodeViewer",props:{value:{}},setup(e){return(t,r)=>(Se(),Be("pre",wp," "+yt(t.value)+` `,1))}});const Ep=zo(Sp,[["__scopeId","data-v-3be501eb"]]);async function xp(e,t){const r=await Bl(e),n=St({render:()=>X(Ep,{value:r},null)});return n.mount(t),n}function Op(e,t){const r=document.createElement("video");r.width=840,r.height=480,r.controls=!0;const n=document.createElement("source");n.src=URL.createObjectURL(new Blob([e])),r.appendChild(n),t.appendChild(r)}const Cr=e=>({$el:e,unmount(){}}),Ap=[{accepts:["docx"],handler:async(e,t)=>(await cp(e,t),window.dispatchEvent(new Event("resize")),Cr(t))},{accepts:["pptx"],handler:async(e,t)=>(await fp(e,t),window.dispatchEvent(new Event("resize")),Cr(t))},{accepts:["xlsx"],handler:async(e,t)=>us(e,t,"xml")},{accepts:["xlsm","xlsb","xls","csv","ods","fods","numbers"],handler:async(e,t)=>us(e,t,"binary")},{accepts:["pdf"],handler:async(e,t)=>hp(e,t)},{accepts:["gif","jpg","jpeg","bmp","tiff","tif","png","svg"],handler:async(e,t)=>vp(e,t)},{accepts:["md","markdown"],handler:async(e,t)=>_p(e,t)},{accepts:["txt","json","js","css","java","py","html","jsx","ts","tsx","xml","log"],handler:async(e,t)=>xp(e,t)},{accepts:["mp4"],handler:async(e,t)=>(Op(e,t),Cr(t))},{accepts:["error"],handler:async(e,t,r)=>(t.innerHTML=`
不支持.${r}格式的在线预览,请下载后预览或转换为支持的格式
支持docx, xlsx, pptx, pdf, 以及纯文本格式和各种图片格式的在线预览
`,Cr(t))}],Dl=Ap.reduce((e,{accepts:t,handler:r})=>(t.forEach(n=>e.set(n,r)),e),new Map),fs=Dl.get("error");function Pp(e){const t=e.lastIndexOf(".");return e.substring(t+1)}async function Rp(e,t,r){const n=Dl.get(t.toLowerCase());if(n)return n(e,r);if(fs)return fs(e,r,t)}function Ul(e,t){return function(){return e.apply(t,arguments)}}const{toString:Tp}=Object.prototype,{getPrototypeOf:Ko}=Object,dn=(e=>t=>{const r=Tp.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),We=e=>(e=e.toLowerCase(),t=>dn(t)===e),pn=e=>t=>typeof t===e,{isArray:qt}=Array,ur=pn("undefined");function Cp(e){return e!==null&&!ur(e)&&e.constructor!==null&&!ur(e.constructor)&&Oe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jl=We("ArrayBuffer");function Fp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jl(e.buffer),t}const Ip=pn("string"),Oe=pn("function"),Hl=pn("number"),hn=e=>e!==null&&typeof e=="object",Np=e=>e===!0||e===!1,Dr=e=>{if(dn(e)!=="object")return!1;const t=Ko(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$p=We("Date"),Mp=We("File"),Lp=We("Blob"),Bp=We("FileList"),Dp=e=>hn(e)&&Oe(e.pipe),Up=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Oe(e.append)&&((t=dn(e))==="formdata"||t==="object"&&Oe(e.toString)&&e.toString()==="[object FormData]"))},jp=We("URLSearchParams"),Hp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function gr(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),qt(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Wl=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),kl=e=>!ur(e)&&e!==Wl;function fo(){const{caseless:e}=kl(this)&&this||{},t={},r=(n,o)=>{const i=e&&Vl(t,o)||o;Dr(t[i])&&Dr(n)?t[i]=fo(t[i],n):Dr(n)?t[i]=fo({},n):qt(n)?t[i]=n.slice():t[i]=n};for(let n=0,o=arguments.length;n(gr(t,(o,i)=>{r&&Oe(o)?e[i]=Ul(o,r):e[i]=o},{allOwnKeys:n}),e),Wp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),kp=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},qp=(e,t,r,n)=>{let o,i,s;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!l[s]&&(t[s]=e[s],l[s]=!0);e=r!==!1&&Ko(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},zp=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Kp=e=>{if(!e)return null;if(qt(e))return e;let t=e.length;if(!Hl(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Gp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ko(Uint8Array)),Jp=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Qp=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Xp=We("HTMLFormElement"),Yp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),ds=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Zp=We("RegExp"),ql=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};gr(r,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(n[i]=s||o)}),Object.defineProperties(e,n)},eh=e=>{ql(e,(t,r)=>{if(Oe(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Oe(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},th=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return qt(e)?n(e):n(String(e).split(t)),r},rh=()=>{},nh=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Un="abcdefghijklmnopqrstuvwxyz",ps="0123456789",zl={DIGIT:ps,ALPHA:Un,ALPHA_DIGIT:Un+Un.toUpperCase()+ps},oh=(e=16,t=zl.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function ih(e){return!!(e&&Oe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const sh=e=>{const t=new Array(10),r=(n,o)=>{if(hn(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const i=qt(n)?[]:{};return gr(n,(s,l)=>{const a=r(s,o+1);!ur(a)&&(i[l]=a)}),t[o]=void 0,i}}return n};return r(e,0)},lh=We("AsyncFunction"),ah=e=>e&&(hn(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),g={isArray:qt,isArrayBuffer:jl,isBuffer:Cp,isFormData:Up,isArrayBufferView:Fp,isString:Ip,isNumber:Hl,isBoolean:Np,isObject:hn,isPlainObject:Dr,isUndefined:ur,isDate:$p,isFile:Mp,isBlob:Lp,isRegExp:Zp,isFunction:Oe,isStream:Dp,isURLSearchParams:jp,isTypedArray:Gp,isFileList:Bp,forEach:gr,merge:fo,extend:Vp,trim:Hp,stripBOM:Wp,inherits:kp,toFlatObject:qp,kindOf:dn,kindOfTest:We,endsWith:zp,toArray:Kp,forEachEntry:Jp,matchAll:Qp,isHTMLForm:Xp,hasOwnProperty:ds,hasOwnProp:ds,reduceDescriptors:ql,freezeMethods:eh,toObjectSet:th,toCamelCase:Yp,noop:rh,toFiniteNumber:nh,findKey:Vl,global:Wl,isContextDefined:kl,ALPHABET:zl,generateString:oh,isSpecCompliantForm:ih,toJSONObject:sh,isAsyncFn:lh,isThenable:ah};function j(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}g.inherits(j,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:g.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Kl=j.prototype,Gl={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Gl[e]={value:e}});Object.defineProperties(j,Gl);Object.defineProperty(Kl,"isAxiosError",{value:!0});j.from=(e,t,r,n,o,i)=>{const s=Object.create(Kl);return g.toFlatObject(e,s,function(a){return a!==Error.prototype},l=>l!=="isAxiosError"),j.call(s,e.message,t,r,n,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const ch=null;function po(e){return g.isPlainObject(e)||g.isArray(e)}function Jl(e){return g.endsWith(e,"[]")?e.slice(0,-2):e}function hs(e,t,r){return e?e.concat(t).map(function(o,i){return o=Jl(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function uh(e){return g.isArray(e)&&!e.some(po)}const fh=g.toFlatObject(g,{},null,function(t){return/^is[A-Z]/.test(t)});function yn(e,t,r){if(!g.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=g.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,T){return!g.isUndefined(T[_])});const n=r.metaTokens,o=r.visitor||u,i=r.dots,s=r.indexes,a=(r.Blob||typeof Blob<"u"&&Blob)&&g.isSpecCompliantForm(t);if(!g.isFunction(o))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(g.isDate(y))return y.toISOString();if(!a&&g.isBlob(y))throw new j("Blob is not supported. Use a Buffer instead.");return g.isArrayBuffer(y)||g.isTypedArray(y)?a&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function u(y,_,T){let A=y;if(y&&!T&&typeof y=="object"){if(g.endsWith(_,"{}"))_=n?_:_.slice(0,-2),y=JSON.stringify(y);else if(g.isArray(y)&&uh(y)||(g.isFileList(y)||g.endsWith(_,"[]"))&&(A=g.toArray(y)))return _=Jl(_),A.forEach(function(N,k){!(g.isUndefined(N)||N===null)&&t.append(s===!0?hs([_],k,i):s===null?_:_+"[]",c(N))}),!1}return po(y)?!0:(t.append(hs(T,_,i),c(y)),!1)}const d=[],h=Object.assign(fh,{defaultVisitor:u,convertValue:c,isVisitable:po});function w(y,_){if(!g.isUndefined(y)){if(d.indexOf(y)!==-1)throw Error("Circular reference detected in "+_.join("."));d.push(y),g.forEach(y,function(A,I){(!(g.isUndefined(A)||A===null)&&o.call(t,A,g.isString(I)?I.trim():I,_,h))===!0&&w(A,_?_.concat(I):[I])}),d.pop()}}if(!g.isObject(e))throw new TypeError("data must be an object");return w(e),t}function ys(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Go(e,t){this._pairs=[],e&&yn(e,this,t)}const Ql=Go.prototype;Ql.append=function(t,r){this._pairs.push([t,r])};Ql.toString=function(t){const r=t?function(n){return t.call(this,n,ys)}:ys;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function dh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xl(e,t,r){if(!t)return e;const n=r&&r.encode||dh,o=r&&r.serialize;let i;if(o?i=o(t,r):i=g.isURLSearchParams(t)?t.toString():new Go(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class ph{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){g.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ms=ph,Yl={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hh=typeof URLSearchParams<"u"?URLSearchParams:Go,yh=typeof FormData<"u"?FormData:null,mh=typeof Blob<"u"?Blob:null,gh={isBrowser:!0,classes:{URLSearchParams:hh,FormData:yh,Blob:mh},protocols:["http","https","file","blob","url","data"]},Zl=typeof window<"u"&&typeof document<"u",vh=(e=>Zl&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),bh=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),_h=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Zl,hasStandardBrowserEnv:vh,hasStandardBrowserWebWorkerEnv:bh},Symbol.toStringTag,{value:"Module"})),He={..._h,...gh};function wh(e,t){return yn(e,new He.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,i){return He.isNode&&g.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Sh(e){return g.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Eh(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n=r.length;return s=!s&&g.isArray(o)?o.length:s,a?(g.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!l):((!o[s]||!g.isObject(o[s]))&&(o[s]=[]),t(r,n,o[s],i)&&g.isArray(o[s])&&(o[s]=Eh(o[s])),!l)}if(g.isFormData(e)&&g.isFunction(e.entries)){const r={};return g.forEachEntry(e,(n,o)=>{t(Sh(n),o,r,0)}),r}return null}function xh(e,t,r){if(g.isString(e))try{return(t||JSON.parse)(e),g.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const Jo={transitional:Yl,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=g.isObject(t);if(i&&g.isHTMLForm(t)&&(t=new FormData(t)),g.isFormData(t))return o?JSON.stringify(ea(t)):t;if(g.isArrayBuffer(t)||g.isBuffer(t)||g.isStream(t)||g.isFile(t)||g.isBlob(t))return t;if(g.isArrayBufferView(t))return t.buffer;if(g.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return wh(t,this.formSerializer).toString();if((l=g.isFileList(t))||n.indexOf("multipart/form-data")>-1){const a=this.env&&this.env.FormData;return yn(l?{"files[]":t}:t,a&&new a,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),xh(t)):t}],transformResponse:[function(t){const r=this.transitional||Jo.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&g.isString(t)&&(n&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(s)throw l.name==="SyntaxError"?j.from(l,j.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:He.classes.FormData,Blob:He.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};g.forEach(["delete","get","head","post","put","patch"],e=>{Jo.headers[e]={}});const Qo=Jo,Oh=g.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ah=e=>{const t={};let r,n,o;return e&&e.split(` `).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),n=s.substring(o+1).trim(),!(!r||t[r]&&Oh[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},gs=Symbol("internals");function Qt(e){return e&&String(e).trim().toLowerCase()}function Ur(e){return e===!1||e==null?e:g.isArray(e)?e.map(Ur):String(e)}function Ph(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Rh=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function jn(e,t,r,n,o){if(g.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!g.isString(t)){if(g.isString(n))return t.indexOf(n)!==-1;if(g.isRegExp(n))return n.test(t)}}function Th(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Ch(e,t){const r=g.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,s){return this[n].call(this,t,o,i,s)},configurable:!0})})}class mn{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(l,a,c){const u=Qt(a);if(!u)throw new Error("header name must be a non-empty string");const d=g.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||a]=Ur(l))}const s=(l,a)=>g.forEach(l,(c,u)=>i(c,u,a));return g.isPlainObject(t)||t instanceof this.constructor?s(t,r):g.isString(t)&&(t=t.trim())&&!Rh(t)?s(Ah(t),r):t!=null&&i(r,t,n),this}get(t,r){if(t=Qt(t),t){const n=g.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return Ph(o);if(g.isFunction(r))return r.call(this,o,n);if(g.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Qt(t),t){const n=g.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||jn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(s){if(s=Qt(s),s){const l=g.findKey(n,s);l&&(!r||jn(n,n[l],l,r))&&(delete n[l],o=!0)}}return g.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||jn(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return g.forEach(this,(o,i)=>{const s=g.findKey(n,i);if(s){r[s]=Ur(o),delete r[i];return}const l=t?Th(i):String(i).trim();l!==i&&delete r[i],r[l]=Ur(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return g.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&g.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[gs]=this[gs]={accessors:{}}).accessors,o=this.prototype;function i(s){const l=Qt(s);n[l]||(Ch(o,s),n[l]=!0)}return g.isArray(t)?t.forEach(i):i(t),this}}mn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);g.reduceDescriptors(mn.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});g.freezeMethods(mn);const Ke=mn;function Hn(e,t){const r=this||Qo,n=t||r,o=Ke.from(n.headers);let i=n.data;return g.forEach(e,function(l){i=l.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function ta(e){return!!(e&&e.__CANCEL__)}function vr(e,t,r){j.call(this,e??"canceled",j.ERR_CANCELED,t,r),this.name="CanceledError"}g.inherits(vr,j,{__CANCEL__:!0});function Fh(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new j("Request failed with status code "+r.status,[j.ERR_BAD_REQUEST,j.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const Ih=He.hasStandardBrowserEnv?{write(e,t,r,n,o,i){const s=[e+"="+encodeURIComponent(t)];g.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),g.isString(n)&&s.push("path="+n),g.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Nh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function $h(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ra(e,t){return e&&!Nh(t)?$h(e,t):t}const Mh=He.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(i){let s=i;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(s){const l=g.isString(s)?o(s):s;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function Lh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Bh(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=n[i];s||(s=c),r[o]=a,n[o]=c;let d=i,h=0;for(;d!==o;)h+=r[d++],d=d%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s{const i=o.loaded,s=o.lengthComputable?o.total:void 0,l=i-r,a=n(l),c=i<=s;r=i;const u={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:a||void 0,estimated:a&&s&&c?(s-i)/a:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const Dh=typeof XMLHttpRequest<"u",Uh=Dh&&function(e){return new Promise(function(r,n){let o=e.data;const i=Ke.from(e.headers).normalize();let{responseType:s,withXSRFToken:l}=e,a;function c(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}let u;if(g.isFormData(o)){if(He.hasStandardBrowserEnv||He.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[_,...T]=u?u.split(";").map(A=>A.trim()).filter(Boolean):[];i.setContentType([_||"multipart/form-data",...T].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",T=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(_+":"+T))}const h=ra(e.baseURL,e.url);d.open(e.method.toUpperCase(),Xl(h,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function w(){if(!d)return;const _=Ke.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),A={data:!s||s==="text"||s==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:_,config:e,request:d};Fh(function(N){r(N),c()},function(N){n(N),c()},A),d=null}if("onloadend"in d?d.onloadend=w:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(w)},d.onabort=function(){d&&(n(new j("Request aborted",j.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new j("Network Error",j.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let T=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const A=e.transitional||Yl;e.timeoutErrorMessage&&(T=e.timeoutErrorMessage),n(new j(T,A.clarifyTimeoutError?j.ETIMEDOUT:j.ECONNABORTED,e,d)),d=null},He.hasStandardBrowserEnv&&(l&&g.isFunction(l)&&(l=l(e)),l||l!==!1&&Mh(h))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&Ih.read(e.xsrfCookieName);_&&i.set(e.xsrfHeaderName,_)}o===void 0&&i.setContentType(null),"setRequestHeader"in d&&g.forEach(i.toJSON(),function(T,A){d.setRequestHeader(A,T)}),g.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),s&&s!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",vs(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",vs(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=_=>{d&&(n(!_||_.type?new vr(null,e,d):_),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const y=Lh(h);if(y&&He.protocols.indexOf(y)===-1){n(new j("Unsupported protocol "+y+":",j.ERR_BAD_REQUEST,e));return}d.send(o||null)})},ho={http:ch,xhr:Uh};g.forEach(ho,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bs=e=>`- ${e}`,jh=e=>g.isFunction(e)||e===null||e===!1,na={getAdapter:e=>{e=g.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let i=0;i`adapter ${l} `+(a===!1?"is not supported by the environment":"is not available in the build"));let s=t?i.length>1?`since : `+i.map(bs).join(` `):" "+bs(i[0]):"as no adapter specified";throw new j("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n},adapters:ho};function Vn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new vr(null,e)}function _s(e){return Vn(e),e.headers=Ke.from(e.headers),e.data=Hn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),na.getAdapter(e.adapter||Qo.adapter)(e).then(function(n){return Vn(e),n.data=Hn.call(e,e.transformResponse,n),n.headers=Ke.from(n.headers),n},function(n){return ta(n)||(Vn(e),n&&n.response&&(n.response.data=Hn.call(e,e.transformResponse,n.response),n.response.headers=Ke.from(n.response.headers))),Promise.reject(n)})}const ws=e=>e instanceof Ke?e.toJSON():e;function jt(e,t){t=t||{};const r={};function n(c,u,d){return g.isPlainObject(c)&&g.isPlainObject(u)?g.merge.call({caseless:d},c,u):g.isPlainObject(u)?g.merge({},u):g.isArray(u)?u.slice():u}function o(c,u,d){if(g.isUndefined(u)){if(!g.isUndefined(c))return n(void 0,c,d)}else return n(c,u,d)}function i(c,u){if(!g.isUndefined(u))return n(void 0,u)}function s(c,u){if(g.isUndefined(u)){if(!g.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function l(c,u,d){if(d in t)return n(c,u);if(d in e)return n(void 0,c)}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l,headers:(c,u)=>o(ws(c),ws(u),!0)};return g.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=a[u]||o,h=d(e[u],t[u],u);g.isUndefined(h)&&d!==l||(r[u]=h)}),r}const oa="1.6.7",Xo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ss={};Xo.transitional=function(t,r,n){function o(i,s){return"[Axios v"+oa+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,l)=>{if(t===!1)throw new j(o(s," has been removed"+(r?" in "+r:"")),j.ERR_DEPRECATED);return r&&!Ss[s]&&(Ss[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,l):!0}};function Hh(e,t,r){if(typeof e!="object")throw new j("options must be an object",j.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const l=e[i],a=l===void 0||s(l,i,e);if(a!==!0)throw new j("option "+i+" must be "+a,j.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new j("Unknown option "+i,j.ERR_BAD_OPTION)}}const yo={assertOptions:Hh,validators:Xo},Qe=yo.validators;class Xr{constructor(t){this.defaults=t,this.interceptors={request:new ms,response:new ms}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=` `+i):n.stack=i}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=jt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&yo.assertOptions(n,{silentJSONParsing:Qe.transitional(Qe.boolean),forcedJSONParsing:Qe.transitional(Qe.boolean),clarifyTimeoutError:Qe.transitional(Qe.boolean)},!1),o!=null&&(g.isFunction(o)?r.paramsSerializer={serialize:o}:yo.assertOptions(o,{encode:Qe.function,serialize:Qe.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&g.merge(i.common,i[r.method]);i&&g.forEach(["delete","get","head","post","put","patch","common"],y=>{delete i[y]}),r.headers=Ke.concat(s,i);const l=[];let a=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(r)===!1||(a=a&&_.synchronous,l.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let u,d=0,h;if(!a){const y=[_s.bind(this),void 0];for(y.unshift.apply(y,l),y.push.apply(y,c),h=y.length,u=Promise.resolve(r);d{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(l=>{n.subscribe(l),i=l}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,l){n.reason||(n.reason=new vr(i,s,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Yo(function(o){t=o}),cancel:t}}}const Vh=Yo;function Wh(e){return function(r){return e.apply(null,r)}}function kh(e){return g.isObject(e)&&e.isAxiosError===!0}const mo={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(mo).forEach(([e,t])=>{mo[t]=e});const qh=mo;function ia(e){const t=new jr(e),r=Ul(jr.prototype.request,t);return g.extend(r,jr.prototype,t,{allOwnKeys:!0}),g.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return ia(jt(e,o))},r}const Y=ia(Qo);Y.Axios=jr;Y.CanceledError=vr;Y.CancelToken=Vh;Y.isCancel=ta;Y.VERSION=oa;Y.toFormData=yn;Y.AxiosError=j;Y.Cancel=Y.CanceledError;Y.all=function(t){return Promise.all(t)};Y.spread=Wh;Y.isAxiosError=kh;Y.mergeConfig=jt;Y.AxiosHeaders=Ke;Y.formToJSON=e=>ea(g.isHTMLForm(e)?new FormData(e):e);Y.getAdapter=na.getAdapter;Y.HttpStatusCode=qh;Y.default=Y;const zh=Y,Kh={class:"file-viewer"},Gh={class:"name"},Jh={key:0,class:"content loading"},Qh=dr({__name:"FileViewer",props:{file:{},url:{}},setup(e){const t=e,r=he(!1),n=he(""),o=he(""),i=he(""),s=he();return(()=>{const l={loading:"正在加载中,请耐心等待...",reading:"正在努力解析文件...",errorLoading:u=>`加载文件异常:${u}`,errorReading:u=>`读取文件异常:${u}`};let a;const c={async loadFromUrl(){const{url:u}=t;if(!u)return;this.startLoading(l.loading);const d=u.substring(u.lastIndexOf("/")+1);try{const{data:h}=await zh({url:u,method:"get",responseType:"blob"});if(!h)return this.showError("文件下载失败");const w=this.wrap(h,d);return this.resolveFile(w)}catch(h){this.showError(l.errorLoading(h))}finally{this.endLoading()}},wrap(u,d){if(u instanceof File)return u;if(u instanceof Blob&&d)return new File([u],d,{});if(u instanceof ArrayBuffer)return this.wrap(new Blob([u]));throw new Error("不支持的文件类型格式!")},async resolveFile(u){r.value&&this.endLoading();const d=this.wrap(u);this.startLoading(l.reading);try{i.value=d.name&&decodeURIComponent(d.name)||"";const h=await yp(d);h instanceof ArrayBuffer&&(a=await this.displayResult(h,d))}catch(h){console.error(h),this.showError(l.errorReading(h))}finally{this.endLoading()}},displayResult(u,d){const{name:h}=d,w=Pp(h),y=s.value;if(!y)return Promise.resolve();a&&(y.lastChild&&y.removeChild(y.lastChild),a.unmount());const _=document.createElement("div");_.className="file-render";const T=y.appendChild(_);return new Promise((A,I)=>Rp(u,w,T).then(A).catch(I))},showError(u){n.value=u},startLoading(u){r.value=!0,o.value=u,n.value=""},endLoading(){r.value=!1,o.value=""}};Io(()=>{t.file&&c.resolveFile(t.file),c.loadFromUrl()}),Yt(()=>t.url,()=>c.loadFromUrl()),Yt(()=>t.file,u=>u&&c.resolveFile(u))})(),(l,a)=>(Se(),Be("div",Kh,[we("div",Gh,yt(i.value),1),n.value?(Se(),Be("div",Jh,yt(n.value),1)):(Se(),Be(xe,{key:1},[Jn(we("div",{class:"content loading"},yt(o.value),513),[[Ti,r.value]]),Jn(we("div",{class:"content",ref_key:"output",ref:s},null,512),[[Ti,!r.value]])],64))]))}});const Xh=zo(Qh,[["__scopeId","data-v-4732f9f2"]]),Yh=[["file-viewer",Xh]];class Zh{constructor(){oi(this,"installed",!1)}install(t){this.installed||(Yh.forEach(([r,n])=>t.component(r,n)),this.installed=!0)}}const ey=new Zh;St(ip).use(ey).mount("#app");export{xe as F,zo as _,Se as a,Be as b,Bu as c,dr as d,ny as e,nl as f,oy as g,au as h,Qc as i,Xc as j,we as k,X as l,ks as m,ry as n,Io as o,Qa as p,rc as q,he as r,nc as s,rn as t,Ka as u,yt as v,Yt as w,Rf as x,Mo as y,oc as z};