import{R as Hr,S as Vr,T as Wr,U as Ae,d as ot,V as wt,k as A,B as Jr,W as Xr,M as Et,c as Y,o as T,b as q,j as H,e as gt,g as te,u as R,h as nt,D as et,n as x,N as jt,w as z,i as U,X as Gr,H as ht,q as yt,y as je,Y as cr,z as Kr,Z as Yr,$ as Zr,a0 as $e,a1 as Qr,a2 as tn,a3 as fr,F as Ce,p as Oe,a4 as en,a5 as rn,f as hr,l as ee,a6 as nn,a7 as on,a8 as sn,a9 as an,aa as un,ab as ln,ac as cn,Q as fn}from"./NcModal-DHryP_87-D_og8Giy.chunk.mjs";import{p as Me}from"./index-EKlYWjzp.chunk.mjs";var dr={},Kt={};Kt.byteLength=pn,Kt.toByteArray=yn,Kt.fromByteArray=wn;for(var ct=[],K=[],hn=typeof Uint8Array<"u"?Uint8Array:Array,he="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",St=0,dn=he.length;St0)throw new Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");i===-1&&(i=n);var s=i===n?0:4-i%4;return[i,s]}function pn(e){var n=pr(e),i=n[0],s=n[1];return(i+s)*3/4-s}function gn(e,n,i){return(n+i)*3/4-i}function yn(e){var n,i=pr(e),s=i[0],a=i[1],c=new hn(gn(e,s,a)),u=0,p=a>0?s-4:s,m;for(m=0;m>16&255,c[u++]=n>>8&255,c[u++]=n&255;return a===2&&(n=K[e.charCodeAt(m)]<<2|K[e.charCodeAt(m+1)]>>4,c[u++]=n&255),a===1&&(n=K[e.charCodeAt(m)]<<10|K[e.charCodeAt(m+1)]<<4|K[e.charCodeAt(m+2)]>>2,c[u++]=n>>8&255,c[u++]=n&255),c}function mn(e){return ct[e>>18&63]+ct[e>>12&63]+ct[e>>6&63]+ct[e&63]}function bn(e,n,i){for(var s,a=[],c=n;cp?p:u+c));return s===1?(n=e[i-1],a.push(ct[n>>2]+ct[n<<4&63]+"==")):s===2&&(n=(e[i-2]<<8)+e[i-1],a.push(ct[n>>10]+ct[n>>4&63]+ct[n<<2&63]+"=")),a.join("")}var be={};be.read=function(e,n,i,s,a){var c,u,p=a*8-s-1,m=(1<>1,l=-7,_=i?a-1:0,C=i?-1:1,E=e[n+_];for(_+=C,c=E&(1<<-l)-1,E>>=-l,l+=p;l>0;c=c*256+e[n+_],_+=C,l-=8);for(u=c&(1<<-l)-1,c>>=-l,l+=s;l>0;u=u*256+e[n+_],_+=C,l-=8);if(c===0)c=1-g;else{if(c===m)return u?NaN:(E?-1:1)*(1/0);u=u+Math.pow(2,s),c=c-g}return(E?-1:1)*u*Math.pow(2,c-s)},be.write=function(e,n,i,s,a,c){var u,p,m,g=c*8-a-1,l=(1<>1,C=a===23?Math.pow(2,-24)-Math.pow(2,-77):0,E=s?0:c-1,b=s?1:-1,v=n<0||n===0&&1/n<0?1:0;for(n=Math.abs(n),isNaN(n)||n===1/0?(p=isNaN(n)?1:0,u=l):(u=Math.floor(Math.log(n)/Math.LN2),n*(m=Math.pow(2,-u))<1&&(u--,m*=2),u+_>=1?n+=C/m:n+=C*Math.pow(2,1-_),n*m>=2&&(u++,m/=2),u+_>=l?(p=0,u=l):u+_>=1?(p=(n*m-1)*Math.pow(2,a),u=u+_):(p=n*Math.pow(2,_-1)*Math.pow(2,a),u=0));a>=8;e[i+E]=p&255,E+=b,p/=256,a-=8);for(u=u<0;e[i+E]=u&255,E+=b,u/=256,g-=8);e[i+E-b]|=v*128};(function(e){const n=Kt,i=be,s=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=Ut,e.INSPECT_MAX_BYTES=50;const a=2147483647;e.kMaxLength=a;const{Uint8Array:c,ArrayBuffer:u,SharedArrayBuffer:p}=globalThis;l.TYPED_ARRAY_SUPPORT=m(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function m(){try{const t=new c(1),r={foo:function(){return 42}};return Object.setPrototypeOf(r,c.prototype),Object.setPrototypeOf(t,r),t.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function g(t){if(t>a)throw new RangeError('The value "'+t+'" is invalid for option "size"');const r=new c(t);return Object.setPrototypeOf(r,l.prototype),r}function l(t,r,o){if(typeof t=="number"){if(typeof r=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return b(t)}return _(t,r,o)}l.poolSize=8192;function _(t,r,o){if(typeof t=="string")return v(t,r);if(u.isView(t))return P(t);if(t==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(ut(t,u)||t&&ut(t.buffer,u)||typeof p<"u"&&(ut(t,p)||t&&ut(t.buffer,p)))return I(t,r,o);if(typeof t=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const f=t.valueOf&&t.valueOf();if(f!=null&&f!==t)return l.from(f,r,o);const h=J(t);if(h)return h;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof t[Symbol.toPrimitive]=="function")return l.from(t[Symbol.toPrimitive]("string"),r,o);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}l.from=function(t,r,o){return _(t,r,o)},Object.setPrototypeOf(l.prototype,c.prototype),Object.setPrototypeOf(l,c);function C(t){if(typeof t!="number")throw new TypeError('"size" argument must be of type number');if(t<0)throw new RangeError('The value "'+t+'" is invalid for option "size"')}function E(t,r,o){return C(t),t<=0?g(t):r!==void 0?typeof o=="string"?g(t).fill(r,o):g(t).fill(r):g(t)}l.alloc=function(t,r,o){return E(t,r,o)};function b(t){return C(t),g(t<0?0:X(t)|0)}l.allocUnsafe=function(t){return b(t)},l.allocUnsafeSlow=function(t){return b(t)};function v(t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r);const o=Nt(t,r)|0;let f=g(o);const h=f.write(t,r);return h!==o&&(f=f.slice(0,h)),f}function S(t){const r=t.length<0?0:X(t.length)|0,o=g(r);for(let f=0;f=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return t|0}function Ut(t){return+t!=t&&(t=0),l.alloc(+t)}l.isBuffer=function(t){return t!=null&&t._isBuffer===!0&&t!==l.prototype},l.compare=function(t,r){if(ut(t,c)&&(t=l.from(t,t.offset,t.byteLength)),ut(r,c)&&(r=l.from(r,r.offset,r.byteLength)),!l.isBuffer(t)||!l.isBuffer(r))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===r)return 0;let o=t.length,f=r.length;for(let h=0,y=Math.min(o,f);hf.length?(l.isBuffer(y)||(y=l.from(y)),y.copy(f,h)):c.prototype.set.call(f,y,h);else if(l.isBuffer(y))y.copy(f,h);else throw new TypeError('"list" argument must be an Array of Buffers');h+=y.length}return f};function Nt(t,r){if(l.isBuffer(t))return t.length;if(u.isView(t)||ut(t,u))return t.byteLength;if(typeof t!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);const o=t.length,f=arguments.length>2&&arguments[2]===!0;if(!f&&o===0)return 0;let h=!1;for(;;)switch(r){case"ascii":case"latin1":case"binary":return o;case"utf8":case"utf-8":return ce(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o*2;case"hex":return o>>>1;case"base64":return ze(t).length;default:if(h)return f?-1:ce(t).length;r=(""+r).toLowerCase(),h=!0}}l.byteLength=Nt;function st(t,r,o){let f=!1;if((r===void 0||r<0)&&(r=0),r>this.length||((o===void 0||o>this.length)&&(o=this.length),o<=0)||(o>>>=0,r>>>=0,o<=r))return"";for(t||(t="utf8");;)switch(t){case"hex":return dt(this,r,o);case"utf8":case"utf-8":return Lt(this,r,o);case"ascii":return ue(this,r,o);case"latin1":case"binary":return at(this,r,o);case"base64":return G(this,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ft(this,r,o);default:if(f)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),f=!0}}l.prototype._isBuffer=!0;function Z(t,r,o){const f=t[r];t[r]=t[o],t[o]=f}l.prototype.swap16=function(){const t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let r=0;rr&&(t+=" ... "),""},s&&(l.prototype[s]=l.prototype.inspect),l.prototype.compare=function(t,r,o,f,h){if(ut(t,c)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(t))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(r===void 0&&(r=0),o===void 0&&(o=t?t.length:0),f===void 0&&(f=0),h===void 0&&(h=this.length),r<0||o>t.length||f<0||h>this.length)throw new RangeError("out of range index");if(f>=h&&r>=o)return 0;if(f>=h)return-1;if(r>=o)return 1;if(r>>>=0,o>>>=0,f>>>=0,h>>>=0,this===t)return 0;let y=h-f,w=o-r;const k=Math.min(y,w),M=this.slice(f,h),N=t.slice(r,o);for(let B=0;B2147483647?o=2147483647:o<-2147483648&&(o=-2147483648),o=+o,fe(o)&&(o=h?0:t.length-1),o<0&&(o=t.length+o),o>=t.length){if(h)return-1;o=t.length-1}else if(o<0)if(h)o=0;else return-1;if(typeof r=="string"&&(r=l.from(r,f)),l.isBuffer(r))return r.length===0?-1:It(t,r,o,f,h);if(typeof r=="number")return r=r&255,typeof c.prototype.indexOf=="function"?h?c.prototype.indexOf.call(t,r,o):c.prototype.lastIndexOf.call(t,r,o):It(t,[r],o,f,h);throw new TypeError("val must be string, number or Buffer")}function It(t,r,o,f,h){let y=1,w=t.length,k=r.length;if(f!==void 0&&(f=String(f).toLowerCase(),f==="ucs2"||f==="ucs-2"||f==="utf16le"||f==="utf-16le")){if(t.length<2||r.length<2)return-1;y=2,w/=2,k/=2,o/=2}function M(B,j){return y===1?B[j]:B.readUInt16BE(j*y)}let N;if(h){let B=-1;for(N=o;Nw&&(o=w-k),N=o;N>=0;N--){let B=!0;for(let j=0;jh&&(f=h)):f=h;const y=r.length;f>y/2&&(f=y/2);let w;for(w=0;w>>0,isFinite(o)?(o=o>>>0,f===void 0&&(f="utf8")):(f=o,o=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const h=this.length-r;if((o===void 0||o>h)&&(o=h),t.length>0&&(o<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");f||(f="utf8");let y=!1;for(;;)switch(f){case"hex":return Vt(this,t,r,o);case"utf8":case"utf-8":return At(this,t,r,o);case"ascii":case"latin1":case"binary":return bt(this,t,r,o);case"base64":return ft(this,t,r,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Wt(this,t,r,o);default:if(y)throw new TypeError("Unknown encoding: "+f);f=(""+f).toLowerCase(),y=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function G(t,r,o){return r===0&&o===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(r,o))}function Lt(t,r,o){o=Math.min(t.length,o);const f=[];let h=r;for(;h239?4:y>223?3:y>191?2:1;if(h+k<=o){let M,N,B,j;switch(k){case 1:y<128&&(w=y);break;case 2:M=t[h+1],(M&192)===128&&(j=(y&31)<<6|M&63,j>127&&(w=j));break;case 3:M=t[h+1],N=t[h+2],(M&192)===128&&(N&192)===128&&(j=(y&15)<<12|(M&63)<<6|N&63,j>2047&&(j<55296||j>57343)&&(w=j));break;case 4:M=t[h+1],N=t[h+2],B=t[h+3],(M&192)===128&&(N&192)===128&&(B&192)===128&&(j=(y&15)<<18|(M&63)<<12|(N&63)<<6|B&63,j>65535&&j<1114112&&(w=j))}}w===null?(w=65533,k=1):w>65535&&(w-=65536,f.push(w>>>10&1023|55296),w=56320|w&1023),f.push(w),h+=k}return Jt(f)}const Q=4096;function Jt(t){const r=t.length;if(r<=Q)return String.fromCharCode.apply(String,t);let o="",f=0;for(;ff)&&(o=f);let h="";for(let y=r;yo&&(t=o),r<0?(r+=o,r<0&&(r=0)):r>o&&(r=o),ro)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);let f=this[t],h=1,y=0;for(;++y>>0,r=r>>>0,o||L(t,r,this.length);let f=this[t+--r],h=1;for(;r>0&&(h*=256);)f+=this[t+--r]*h;return f},l.prototype.readUint8=l.prototype.readUInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]|this[t+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(t,r){return t=t>>>0,r||L(t,2,this.length),this[t]<<8|this[t+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])},l.prototype.readBigUInt64LE=pt(function(t){t=t>>>0,Ot(t,"offset");const r=this[t],o=this[t+7];(r===void 0||o===void 0)&&Pt(t,this.length-8);const f=r+this[++t]*2**8+this[++t]*2**16+this[++t]*2**24,h=this[++t]+this[++t]*2**8+this[++t]*2**16+o*2**24;return BigInt(f)+(BigInt(h)<>>0,Ot(t,"offset");const r=this[t],o=this[t+7];(r===void 0||o===void 0)&&Pt(t,this.length-8);const f=r*2**24+this[++t]*2**16+this[++t]*2**8+this[++t],h=this[++t]*2**24+this[++t]*2**16+this[++t]*2**8+o;return(BigInt(f)<>>0,r=r>>>0,o||L(t,r,this.length);let f=this[t],h=1,y=0;for(;++y=h&&(f-=Math.pow(2,8*r)),f},l.prototype.readIntBE=function(t,r,o){t=t>>>0,r=r>>>0,o||L(t,r,this.length);let f=r,h=1,y=this[t+--f];for(;f>0&&(h*=256);)y+=this[t+--f]*h;return h*=128,y>=h&&(y-=Math.pow(2,8*r)),y},l.prototype.readInt8=function(t,r){return t=t>>>0,r||L(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]},l.prototype.readInt16LE=function(t,r){t=t>>>0,r||L(t,2,this.length);const o=this[t]|this[t+1]<<8;return o&32768?o|4294901760:o},l.prototype.readInt16BE=function(t,r){t=t>>>0,r||L(t,2,this.length);const o=this[t+1]|this[t]<<8;return o&32768?o|4294901760:o},l.prototype.readInt32LE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},l.prototype.readInt32BE=function(t,r){return t=t>>>0,r||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},l.prototype.readBigInt64LE=pt(function(t){t=t>>>0,Ot(t,"offset");const r=this[t],o=this[t+7];(r===void 0||o===void 0)&&Pt(t,this.length-8);const f=this[t+4]+this[t+5]*2**8+this[t+6]*2**16+(o<<24);return(BigInt(f)<>>0,Ot(t,"offset");const r=this[t],o=this[t+7];(r===void 0||o===void 0)&&Pt(t,this.length-8);const f=(r<<24)+this[++t]*2**16+this[++t]*2**8+this[++t];return(BigInt(f)<>>0,r||L(t,4,this.length),i.read(this,t,!0,23,4)},l.prototype.readFloatBE=function(t,r){return t=t>>>0,r||L(t,4,this.length),i.read(this,t,!1,23,4)},l.prototype.readDoubleLE=function(t,r){return t=t>>>0,r||L(t,8,this.length),i.read(this,t,!0,52,8)},l.prototype.readDoubleBE=function(t,r){return t=t>>>0,r||L(t,8,this.length),i.read(this,t,!1,52,8)};function $(t,r,o,f,h,y){if(!l.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(r>h||rt.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(t,r,o,f){if(t=+t,r=r>>>0,o=o>>>0,!f){const w=Math.pow(2,8*o)-1;$(this,t,r,o,w,0)}let h=1,y=0;for(this[r]=t&255;++y>>0,o=o>>>0,!f){const w=Math.pow(2,8*o)-1;$(this,t,r,o,w,0)}let h=o-1,y=1;for(this[r+h]=t&255;--h>=0&&(y*=256);)this[r+h]=t/y&255;return r+o},l.prototype.writeUint8=l.prototype.writeUInt8=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,1,255,0),this[r]=t&255,r+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,2,65535,0),this[r]=t&255,this[r+1]=t>>>8,r+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,2,65535,0),this[r]=t>>>8,this[r+1]=t&255,r+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,4,4294967295,0),this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255,r+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,4,4294967295,0),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4};function ke(t,r,o,f,h){Pe(r,f,h,t,o,7);let y=Number(r&BigInt(4294967295));t[o++]=y,y=y>>8,t[o++]=y,y=y>>8,t[o++]=y,y=y>>8,t[o++]=y;let w=Number(r>>BigInt(32)&BigInt(4294967295));return t[o++]=w,w=w>>8,t[o++]=w,w=w>>8,t[o++]=w,w=w>>8,t[o++]=w,o}function Ue(t,r,o,f,h){Pe(r,f,h,t,o,7);let y=Number(r&BigInt(4294967295));t[o+7]=y,y=y>>8,t[o+6]=y,y=y>>8,t[o+5]=y,y=y>>8,t[o+4]=y;let w=Number(r>>BigInt(32)&BigInt(4294967295));return t[o+3]=w,w=w>>8,t[o+2]=w,w=w>>8,t[o+1]=w,w=w>>8,t[o]=w,o+8}l.prototype.writeBigUInt64LE=pt(function(t,r=0){return ke(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=pt(function(t,r=0){return Ue(this,t,r,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(t,r,o,f){if(t=+t,r=r>>>0,!f){const k=Math.pow(2,8*o-1);$(this,t,r,o,k-1,-k)}let h=0,y=1,w=0;for(this[r]=t&255;++h>0)-w&255;return r+o},l.prototype.writeIntBE=function(t,r,o,f){if(t=+t,r=r>>>0,!f){const k=Math.pow(2,8*o-1);$(this,t,r,o,k-1,-k)}let h=o-1,y=1,w=0;for(this[r+h]=t&255;--h>=0&&(y*=256);)t<0&&w===0&&this[r+h+1]!==0&&(w=1),this[r+h]=(t/y>>0)-w&255;return r+o},l.prototype.writeInt8=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,1,127,-128),t<0&&(t=255+t+1),this[r]=t&255,r+1},l.prototype.writeInt16LE=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,2,32767,-32768),this[r]=t&255,this[r+1]=t>>>8,r+2},l.prototype.writeInt16BE=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,2,32767,-32768),this[r]=t>>>8,this[r+1]=t&255,r+2},l.prototype.writeInt32LE=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,4,2147483647,-2147483648),this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24,r+4},l.prototype.writeInt32BE=function(t,r,o){return t=+t,r=r>>>0,o||$(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255,r+4},l.prototype.writeBigInt64LE=pt(function(t,r=0){return ke(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=pt(function(t,r=0){return Ue(this,t,r,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ne(t,r,o,f,h,y){if(o+f>t.length)throw new RangeError("Index out of range");if(o<0)throw new RangeError("Index out of range")}function Ie(t,r,o,f,h){return r=+r,o=o>>>0,h||Ne(t,r,o,4),i.write(t,r,o,f,23,4),o+4}l.prototype.writeFloatLE=function(t,r,o){return Ie(this,t,r,!0,o)},l.prototype.writeFloatBE=function(t,r,o){return Ie(this,t,r,!1,o)};function Le(t,r,o,f,h){return r=+r,o=o>>>0,h||Ne(t,r,o,8),i.write(t,r,o,f,52,8),o+8}l.prototype.writeDoubleLE=function(t,r,o){return Le(this,t,r,!0,o)},l.prototype.writeDoubleBE=function(t,r,o){return Le(this,t,r,!1,o)},l.prototype.copy=function(t,r,o,f){if(!l.isBuffer(t))throw new TypeError("argument should be a Buffer");if(o||(o=0),!f&&f!==0&&(f=this.length),r>=t.length&&(r=t.length),r||(r=0),f>0&&f=this.length)throw new RangeError("Index out of range");if(f<0)throw new RangeError("sourceEnd out of bounds");f>this.length&&(f=this.length),t.length-r>>0,o=o===void 0?this.length:o>>>0,t||(t=0);let h;if(typeof t=="number")for(h=r;h2**32?h=Fe(String(o)):typeof o=="bigint"&&(h=String(o),(o>BigInt(2)**BigInt(32)||o<-(BigInt(2)**BigInt(32)))&&(h=Fe(h)),h+="n"),f+=` It must be ${r}. Received ${h}`,f},RangeError);function Fe(t){let r="",o=t.length;const f=t[0]==="-"?1:0;for(;o>=f+4;o-=3)r=`_${t.slice(o-3,o)}${r}`;return`${t.slice(0,o)}${r}`}function Pr(t,r,o){Ot(r,"offset"),(t[r]===void 0||t[r+o]===void 0)&&Pt(r,t.length-(o+1))}function Pe(t,r,o,f,h,y){if(t>o||t= 0${w} and < 2${w} ** ${(y+1)*8}${w}`:k=`>= -(2${w} ** ${(y+1)*8-1}${w}) and < 2 ** ${(y+1)*8-1}${w}`,new Ct.ERR_OUT_OF_RANGE("value",k,t)}Pr(f,h,y)}function Ot(t,r){if(typeof t!="number")throw new Ct.ERR_INVALID_ARG_TYPE(r,"number",t)}function Pt(t,r,o){throw Math.floor(t)!==t?(Ot(t,o),new Ct.ERR_OUT_OF_RANGE("offset","an integer",t)):r<0?new Ct.ERR_BUFFER_OUT_OF_BOUNDS:new Ct.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${r}`,t)}const zr=/[^+/0-9A-Za-z-_]/g;function jr(t){if(t=t.split("=")[0],t=t.trim().replace(zr,""),t.length<2)return"";for(;t.length%4!==0;)t=t+"=";return t}function ce(t,r){r=r||1/0;let o;const f=t.length;let h=null;const y=[];for(let w=0;w55295&&o<57344){if(!h){if(o>56319){(r-=3)>-1&&y.push(239,191,189);continue}else if(w+1===f){(r-=3)>-1&&y.push(239,191,189);continue}h=o;continue}if(o<56320){(r-=3)>-1&&y.push(239,191,189),h=o;continue}o=(h-55296<<10|o-56320)+65536}else h&&(r-=3)>-1&&y.push(239,191,189);if(h=null,o<128){if((r-=1)<0)break;y.push(o)}else if(o<2048){if((r-=2)<0)break;y.push(o>>6|192,o&63|128)}else if(o<65536){if((r-=3)<0)break;y.push(o>>12|224,o>>6&63|128,o&63|128)}else if(o<1114112){if((r-=4)<0)break;y.push(o>>18|240,o>>12&63|128,o>>6&63|128,o&63|128)}else throw new Error("Invalid code point")}return y}function $r(t){const r=[];for(let o=0;o>8,h=o%256,y.push(h),y.push(f);return y}function ze(t){return n.toByteArray(jr(t))}function Xt(t,r,o,f){let h;for(h=0;h=r.length||h>=t.length);++h)r[h+o]=t[h];return h}function ut(t,r){return t instanceof r||t!=null&&t.constructor!=null&&t.constructor.name!=null&&t.constructor.name===r.name}function fe(t){return t!==t}const Dr=(function(){const t="0123456789abcdef",r=new Array(256);for(let o=0;o<16;++o){const f=o*16;for(let h=0;h<16;++h)r[f+h]=t[o]+t[h]}return r})();function pt(t){return typeof BigInt>"u"?qr:t}function qr(){throw new Error("BigInt not supported")}})(dr);const vn=dr.Buffer;function gr(e,n){return function(){return e.apply(n,arguments)}}const{toString:En}=Object.prototype,{getPrototypeOf:Se}=Object,{iterator:oe,toStringTag:yr}=Symbol,ie=(e=>n=>{const i=En.call(n);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),it=e=>(e=e.toLowerCase(),n=>ie(n)===e),se=e=>n=>typeof n===e,{isArray:Tt}=Array,Bt=se("undefined");function $t(e){return e!==null&&!Bt(e)&&e.constructor!==null&&!Bt(e.constructor)&&V(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mr=it("ArrayBuffer");function _n(e){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(e):n=e&&e.buffer&&mr(e.buffer),n}const Rn=se("string"),V=se("function"),br=se("number"),Mt=e=>e!==null&&typeof e=="object",An=e=>e===!0||e===!1,Yt=e=>{if(ie(e)!=="object")return!1;const n=Se(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(yr in e)&&!(oe in e)},Cn=e=>{if(!Mt(e)||$t(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},On=it("Date"),Sn=it("File"),xn=it("Blob"),Bn=it("FileList"),Tn=e=>Mt(e)&&V(e.pipe),kn=e=>{let n;return e&&(typeof FormData=="function"&&e instanceof FormData||V(e.append)&&((n=ie(e))==="formdata"||n==="object"&&V(e.toString)&&e.toString()==="[object FormData]"))},Un=it("URLSearchParams"),[Nn,In,Ln,Fn]=["ReadableStream","Request","Response","Headers"].map(it),Pn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Dt(e,n,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let s,a;if(typeof e!="object"&&(e=[e]),Tt(e))for(s=0,a=e.length;s0;)if(a=i[s],n===a.toLowerCase())return a;return null}const vt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Hr,vr=e=>!Bt(e)&&e!==vt;function we(){const{caseless:e,skipUndefined:n}=vr(this)&&this||{},i={},s=(a,c)=>{const u=e&&wr(i,c)||c;Yt(i[u])&&Yt(a)?i[u]=we(i[u],a):Yt(a)?i[u]=we({},a):Tt(a)?i[u]=a.slice():(!n||!Bt(a))&&(i[u]=a)};for(let a=0,c=arguments.length;a(Dt(n,(a,c)=>{i&&V(a)?e[c]=gr(a,i):e[c]=a},{allOwnKeys:s}),e),jn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$n=(e,n,i,s)=>{e.prototype=Object.create(n.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),i&&Object.assign(e.prototype,i)},Mn=(e,n,i,s)=>{let a,c,u;const p={};if(n=n||{},e==null)return n;do{for(a=Object.getOwnPropertyNames(e),c=a.length;c-- >0;)u=a[c],(!s||s(u,e,n))&&!p[u]&&(n[u]=e[u],p[u]=!0);e=i!==!1&&Se(e)}while(e&&(!i||i(e,n))&&e!==Object.prototype);return n},Dn=(e,n,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=n.length;const s=e.indexOf(n,i);return s!==-1&&s===i},qn=e=>{if(!e)return null;if(Tt(e))return e;let n=e.length;if(!br(n))return null;const i=new Array(n);for(;n-- >0;)i[n]=e[n];return i},Hn=(e=>n=>e&&n instanceof e)(typeof Uint8Array<"u"&&Se(Uint8Array)),Vn=(e,n)=>{const i=(e&&e[oe]).call(e);let s;for(;(s=i.next())&&!s.done;){const a=s.value;n.call(e,a[0],a[1])}},Wn=(e,n)=>{let i;const s=[];for(;(i=e.exec(n))!==null;)s.push(i);return s},Jn=it("HTMLFormElement"),Xn=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,s){return i.toUpperCase()+s}),De=(({hasOwnProperty:e})=>(n,i)=>e.call(n,i))(Object.prototype),Gn=it("RegExp"),Er=(e,n)=>{const i=Object.getOwnPropertyDescriptors(e),s={};Dt(i,(a,c)=>{let u;(u=n(a,c,e))!==!1&&(s[c]=u||a)}),Object.defineProperties(e,s)},Kn=e=>{Er(e,(n,i)=>{if(V(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const s=e[i];if(V(s)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},Yn=(e,n)=>{const i={},s=a=>{a.forEach(c=>{i[c]=!0})};return Tt(e)?s(e):s(String(e).split(n)),i},Zn=()=>{},Qn=(e,n)=>e!=null&&Number.isFinite(e=+e)?e:n;function to(e){return!!(e&&V(e.append)&&e[yr]==="FormData"&&e[oe])}const eo=e=>{const n=new Array(10),i=(s,a)=>{if(Mt(s)){if(n.indexOf(s)>=0)return;if($t(s))return s;if(!("toJSON"in s)){n[a]=s;const c=Tt(s)?[]:{};return Dt(s,(u,p)=>{const m=i(u,a+1);!Bt(m)&&(c[p]=m)}),n[a]=void 0,c}}return s};return i(e,0)},ro=it("AsyncFunction"),no=e=>e&&(Mt(e)||V(e))&&V(e.then)&&V(e.catch),_r=((e,n)=>e?setImmediate:n?((i,s)=>(vt.addEventListener("message",({source:a,data:c})=>{a===vt&&c===i&&s.length&&s.shift()()},!1),a=>{s.push(a),vt.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",V(vt.postMessage)),oo=typeof queueMicrotask<"u"?queueMicrotask.bind(vt):typeof Me<"u"&&Me.nextTick||_r,io=e=>e!=null&&V(e[oe]),d={isArray:Tt,isArrayBuffer:mr,isBuffer:$t,isFormData:kn,isArrayBufferView:_n,isString:Rn,isNumber:br,isBoolean:An,isObject:Mt,isPlainObject:Yt,isEmptyObject:Cn,isReadableStream:Nn,isRequest:In,isResponse:Ln,isHeaders:Fn,isUndefined:Bt,isDate:On,isFile:Sn,isBlob:xn,isRegExp:Gn,isFunction:V,isStream:Tn,isURLSearchParams:Un,isTypedArray:Hn,isFileList:Bn,forEach:Dt,merge:we,extend:zn,trim:Pn,stripBOM:jn,inherits:$n,toFlatObject:Mn,kindOf:ie,kindOfTest:it,endsWith:Dn,toArray:qn,forEachEntry:Vn,matchAll:Wn,isHTMLForm:Jn,hasOwnProperty:De,hasOwnProp:De,reduceDescriptors:Er,freezeMethods:Kn,toObjectSet:Yn,toCamelCase:Xn,noop:Zn,toFiniteNumber:Qn,findKey:wr,global:vt,isContextDefined:vr,isSpecCompliantForm:to,toJSONObject:eo,isAsyncFn:ro,isThenable:no,setImmediate:_r,asap:oo,isIterable:io};function O(e,n,i,s,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",n&&(this.code=n),i&&(this.config=i),s&&(this.request=s),a&&(this.response=a,this.status=a.status?a.status:null)}d.inherits(O,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:d.toJSONObject(this.config),code:this.code,status:this.status}}});const qe=O.prototype,He={};["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=>{He[e]={value:e}}),Object.defineProperties(O,He),Object.defineProperty(qe,"isAxiosError",{value:!0}),O.from=(e,n,i,s,a,c)=>{const u=Object.create(qe);d.toFlatObject(e,u,function(g){return g!==Error.prototype},g=>g!=="isAxiosError");const p=e&&e.message?e.message:"Error",m=n==null&&e?e.code:n;return O.call(u,p,m,i,s,a),e&&u.cause==null&&Object.defineProperty(u,"cause",{value:e,configurable:!0}),u.name=e&&e.name||"Error",c&&Object.assign(u,c),u};const so=null;function ve(e){return d.isPlainObject(e)||d.isArray(e)}function Rr(e){return d.endsWith(e,"[]")?e.slice(0,-2):e}function Ve(e,n,i){return e?e.concat(n).map(function(s,a){return s=Rr(s),!i&&a?"["+s+"]":s}).join(i?".":""):n}function ao(e){return d.isArray(e)&&!e.some(ve)}const uo=d.toFlatObject(d,{},null,function(e){return/^is[A-Z]/.test(e)});function ae(e,n,i){if(!d.isObject(e))throw new TypeError("target must be an object");n=n||new FormData,i=d.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,b){return!d.isUndefined(b[E])});const s=i.metaTokens,a=i.visitor||g,c=i.dots,u=i.indexes,p=(i.Blob||typeof Blob<"u"&&Blob)&&d.isSpecCompliantForm(n);if(!d.isFunction(a))throw new TypeError("visitor must be a function");function m(E){if(E===null)return"";if(d.isDate(E))return E.toISOString();if(d.isBoolean(E))return E.toString();if(!p&&d.isBlob(E))throw new O("Blob is not supported. Use a Buffer instead.");return d.isArrayBuffer(E)||d.isTypedArray(E)?p&&typeof Blob=="function"?new Blob([E]):vn.from(E):E}function g(E,b,v){let S=E;if(E&&!v&&typeof E=="object"){if(d.endsWith(b,"{}"))b=s?b:b.slice(0,-2),E=JSON.stringify(E);else if(d.isArray(E)&&ao(E)||(d.isFileList(E)||d.endsWith(b,"[]"))&&(S=d.toArray(E)))return b=Rr(b),S.forEach(function(P,I){!(d.isUndefined(P)||P===null)&&n.append(u===!0?Ve([b],I,c):u===null?b:b+"[]",m(P))}),!1}return ve(E)?!0:(n.append(Ve(v,b,c),m(E)),!1)}const l=[],_=Object.assign(uo,{defaultVisitor:g,convertValue:m,isVisitable:ve});function C(E,b){if(!d.isUndefined(E)){if(l.indexOf(E)!==-1)throw Error("Circular reference detected in "+b.join("."));l.push(E),d.forEach(E,function(v,S){(!(d.isUndefined(v)||v===null)&&a.call(n,v,d.isString(S)?S.trim():S,b,_))===!0&&C(v,b?b.concat(S):[S])}),l.pop()}}if(!d.isObject(e))throw new TypeError("data must be an object");return C(e),n}function We(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return n[i]})}function xe(e,n){this._pairs=[],e&&ae(e,this,n)}const Je=xe.prototype;Je.append=function(e,n){this._pairs.push([e,n])},Je.toString=function(e){const n=e?function(i){return e.call(this,i,We)}:We;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function lo(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ar(e,n,i){if(!n)return e;const s=i&&i.encode||lo;d.isFunction(i)&&(i={serialize:i});const a=i&&i.serialize;let c;if(a?c=a(n,i):c=d.isURLSearchParams(n)?n.toString():new xe(n,i).toString(s),c){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+c}return e}class Xe{constructor(){this.handlers=[]}use(n,i,s){return this.handlers.push({fulfilled:n,rejected:i,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){d.forEach(this.handlers,function(i){i!==null&&n(i)})}}const Cr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},co=typeof URLSearchParams<"u"?URLSearchParams:xe,fo=typeof FormData<"u"?FormData:null,ho=typeof Blob<"u"?Blob:null,po={isBrowser:!0,classes:{URLSearchParams:co,FormData:fo,Blob:ho},protocols:["http","https","file","blob","url","data"]},Be=typeof window<"u"&&typeof document<"u",Ee=typeof navigator=="object"&&navigator||void 0,go=Be&&(!Ee||["ReactNative","NativeScript","NS"].indexOf(Ee.product)<0),yo=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",mo=Be&&window.location.href||"http://localhost",bo=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Be,hasStandardBrowserEnv:go,hasStandardBrowserWebWorkerEnv:yo,navigator:Ee,origin:mo},Symbol.toStringTag,{value:"Module"})),D={...bo,...po};function wo(e,n){return ae(e,new D.classes.URLSearchParams,{visitor:function(i,s,a,c){return D.isNode&&d.isBuffer(i)?(this.append(s,i.toString("base64")),!1):c.defaultVisitor.apply(this,arguments)},...n})}function vo(e){return d.matchAll(/\w+|\[(\w*)]/g,e).map(n=>n[0]==="[]"?"":n[1]||n[0])}function Eo(e){const n={},i=Object.keys(e);let s;const a=i.length;let c;for(s=0;s=i.length;return u=!u&&d.isArray(a)?a.length:u,m?(d.hasOwnProp(a,u)?a[u]=[a[u],s]:a[u]=s,!p):((!a[u]||!d.isObject(a[u]))&&(a[u]=[]),n(i,s,a[u],c)&&d.isArray(a[u])&&(a[u]=Eo(a[u])),!p)}if(d.isFormData(e)&&d.isFunction(e.entries)){const i={};return d.forEachEntry(e,(s,a)=>{n(vo(s),a,i,0)}),i}return null}function _o(e,n,i){if(d.isString(e))try{return(n||JSON.parse)(e),d.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(i||JSON.stringify)(e)}const qt={transitional:Cr,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const i=n.getContentType()||"",s=i.indexOf("application/json")>-1,a=d.isObject(e);if(a&&d.isHTMLForm(e)&&(e=new FormData(e)),d.isFormData(e))return s?JSON.stringify(Or(e)):e;if(d.isArrayBuffer(e)||d.isBuffer(e)||d.isStream(e)||d.isFile(e)||d.isBlob(e)||d.isReadableStream(e))return e;if(d.isArrayBufferView(e))return e.buffer;if(d.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(a){if(i.indexOf("application/x-www-form-urlencoded")>-1)return wo(e,this.formSerializer).toString();if((c=d.isFileList(e))||i.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return ae(c?{"files[]":e}:e,u&&new u,this.formSerializer)}}return a||s?(n.setContentType("application/json",!1),_o(e)):e}],transformResponse:[function(e){const n=this.transitional||qt.transitional,i=n&&n.forcedJSONParsing,s=this.responseType==="json";if(d.isResponse(e)||d.isReadableStream(e))return e;if(e&&d.isString(e)&&(i&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(e,this.parseReviver)}catch(c){if(a)throw c.name==="SyntaxError"?O.from(c,O.ERR_BAD_RESPONSE,this,null,this.response):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:D.classes.FormData,Blob:D.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};d.forEach(["delete","get","head","post","put","patch"],e=>{qt.headers[e]={}});const Ro=d.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"]),Ao=e=>{const n={};let i,s,a;return e&&e.split(` `).forEach(function(c){a=c.indexOf(":"),i=c.substring(0,a).trim().toLowerCase(),s=c.substring(a+1).trim(),!(!i||n[i]&&Ro[i])&&(i==="set-cookie"?n[i]?n[i].push(s):n[i]=[s]:n[i]=n[i]?n[i]+", "+s:s)}),n},Ge=Symbol("internals");function zt(e){return e&&String(e).trim().toLowerCase()}function Zt(e){return e===!1||e==null?e:d.isArray(e)?e.map(Zt):String(e)}function Co(e){const n=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=i.exec(e);)n[s[1]]=s[2];return n}const Oo=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function de(e,n,i,s,a){if(d.isFunction(s))return s.call(this,n,i);if(a&&(n=i),!!d.isString(n)){if(d.isString(s))return n.indexOf(s)!==-1;if(d.isRegExp(s))return s.test(n)}}function So(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,i,s)=>i.toUpperCase()+s)}function xo(e,n){const i=d.toCamelCase(" "+n);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+i,{value:function(a,c,u){return this[s].call(this,n,a,c,u)},configurable:!0})})}let W=class{constructor(e){e&&this.set(e)}set(e,n,i){const s=this;function a(u,p,m){const g=zt(p);if(!g)throw new Error("header name must be a non-empty string");const l=d.findKey(s,g);(!l||s[l]===void 0||m===!0||m===void 0&&s[l]!==!1)&&(s[l||p]=Zt(u))}const c=(u,p)=>d.forEach(u,(m,g)=>a(m,g,p));if(d.isPlainObject(e)||e instanceof this.constructor)c(e,n);else if(d.isString(e)&&(e=e.trim())&&!Oo(e))c(Ao(e),n);else if(d.isObject(e)&&d.isIterable(e)){let u={},p,m;for(const g of e){if(!d.isArray(g))throw TypeError("Object iterator must return a key-value pair");u[m=g[0]]=(p=u[m])?d.isArray(p)?[...p,g[1]]:[p,g[1]]:g[1]}c(u,n)}else e!=null&&a(n,e,i);return this}get(e,n){if(e=zt(e),e){const i=d.findKey(this,e);if(i){const s=this[i];if(!n)return s;if(n===!0)return Co(s);if(d.isFunction(n))return n.call(this,s,i);if(d.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=zt(e),e){const i=d.findKey(this,e);return!!(i&&this[i]!==void 0&&(!n||de(this,this[i],i,n)))}return!1}delete(e,n){const i=this;let s=!1;function a(c){if(c=zt(c),c){const u=d.findKey(i,c);u&&(!n||de(i,i[u],u,n))&&(delete i[u],s=!0)}}return d.isArray(e)?e.forEach(a):a(e),s}clear(e){const n=Object.keys(this);let i=n.length,s=!1;for(;i--;){const a=n[i];(!e||de(this,this[a],a,e,!0))&&(delete this[a],s=!0)}return s}normalize(e){const n=this,i={};return d.forEach(this,(s,a)=>{const c=d.findKey(i,a);if(c){n[c]=Zt(s),delete n[a];return}const u=e?So(a):String(a).trim();u!==a&&delete n[a],n[u]=Zt(s),i[u]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return d.forEach(this,(i,s)=>{i!=null&&i!==!1&&(n[s]=e&&d.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(` `)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const i=new this(e);return n.forEach(s=>i.set(s)),i}static accessor(e){const n=(this[Ge]=this[Ge]={accessors:{}}).accessors,i=this.prototype;function s(a){const c=zt(a);n[c]||(xo(i,a),n[c]=!0)}return d.isArray(e)?e.forEach(s):s(e),this}};W.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),d.reduceDescriptors(W.prototype,({value:e},n)=>{let i=n[0].toUpperCase()+n.slice(1);return{get:()=>e,set(s){this[i]=s}}}),d.freezeMethods(W);function pe(e,n){const i=this||qt,s=n||i,a=W.from(s.headers);let c=s.data;return d.forEach(e,function(u){c=u.call(i,c,a.normalize(),n?n.status:void 0)}),a.normalize(),c}function Sr(e){return!!(e&&e.__CANCEL__)}function kt(e,n,i){O.call(this,e??"canceled",O.ERR_CANCELED,n,i),this.name="CanceledError"}d.inherits(kt,O,{__CANCEL__:!0});function xr(e,n,i){const s=i.config.validateStatus;!i.status||!s||s(i.status)?e(i):n(new O("Request failed with status code "+i.status,[O.ERR_BAD_REQUEST,O.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function Bo(e){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}function To(e,n){e=e||10;const i=new Array(e),s=new Array(e);let a=0,c=0,u;return n=n!==void 0?n:1e3,function(p){const m=Date.now(),g=s[c];u||(u=m),i[a]=p,s[a]=m;let l=c,_=0;for(;l!==a;)_+=i[l++],l=l%e;if(a=(a+1)%e,a===c&&(c=(c+1)%e),m-u{i=m,a=null,c&&(clearTimeout(c),c=null),e(...p)};return[(...p)=>{const m=Date.now(),g=m-i;g>=s?u(p,m):(a=p,c||(c=setTimeout(()=>{c=null,u(a)},s-g)))},()=>a&&u(a)]}const re=(e,n,i=3)=>{let s=0;const a=To(50,250);return ko(c=>{const u=c.loaded,p=c.lengthComputable?c.total:void 0,m=u-s,g=a(m),l=u<=p;s=u;const _={loaded:u,total:p,progress:p?u/p:void 0,bytes:m,rate:g||void 0,estimated:g&&p&&l?(p-u)/g:void 0,event:c,lengthComputable:p!=null,[n?"download":"upload"]:!0};e(_)},i)},Ke=(e,n)=>{const i=e!=null;return[s=>n[0]({lengthComputable:i,total:e,loaded:s}),n[1]]},Ye=e=>(...n)=>d.asap(()=>e(...n)),Uo=D.hasStandardBrowserEnv?((e,n)=>i=>(i=new URL(i,D.origin),e.protocol===i.protocol&&e.host===i.host&&(n||e.port===i.port)))(new URL(D.origin),D.navigator&&/(msie|trident)/i.test(D.navigator.userAgent)):()=>!0,No=D.hasStandardBrowserEnv?{write(e,n,i,s,a,c){const u=[e+"="+encodeURIComponent(n)];d.isNumber(i)&&u.push("expires="+new Date(i).toGMTString()),d.isString(s)&&u.push("path="+s),d.isString(a)&&u.push("domain="+a),c===!0&&u.push("secure"),document.cookie=u.join("; ")},read(e){const n=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Io(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Lo(e,n){return n?e.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):e}function Br(e,n,i){let s=!Io(n);return e&&(s||i==!1)?Lo(e,n):n}const Ze=e=>e instanceof W?{...e}:e;function Rt(e,n){n=n||{};const i={};function s(g,l,_,C){return d.isPlainObject(g)&&d.isPlainObject(l)?d.merge.call({caseless:C},g,l):d.isPlainObject(l)?d.merge({},l):d.isArray(l)?l.slice():l}function a(g,l,_,C){if(d.isUndefined(l)){if(!d.isUndefined(g))return s(void 0,g,_,C)}else return s(g,l,_,C)}function c(g,l){if(!d.isUndefined(l))return s(void 0,l)}function u(g,l){if(d.isUndefined(l)){if(!d.isUndefined(g))return s(void 0,g)}else return s(void 0,l)}function p(g,l,_){if(_ in n)return s(g,l);if(_ in e)return s(void 0,g)}const m={url:c,method:c,data:c,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:p,headers:(g,l,_)=>a(Ze(g),Ze(l),_,!0)};return d.forEach(Object.keys({...e,...n}),function(g){const l=m[g]||a,_=l(e[g],n[g],g);d.isUndefined(_)&&l!==p||(i[g]=_)}),i}const Tr=e=>{const n=Rt({},e);let{data:i,withXSRFToken:s,xsrfHeaderName:a,xsrfCookieName:c,headers:u,auth:p}=n;if(n.headers=u=W.from(u),n.url=Ar(Br(n.baseURL,n.url,n.allowAbsoluteUrls),e.params,e.paramsSerializer),p&&u.set("Authorization","Basic "+btoa((p.username||"")+":"+(p.password?unescape(encodeURIComponent(p.password)):""))),d.isFormData(i)){if(D.hasStandardBrowserEnv||D.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(d.isFunction(i.getHeaders)){const m=i.getHeaders(),g=["content-type","content-length"];Object.entries(m).forEach(([l,_])=>{g.includes(l.toLowerCase())&&u.set(l,_)})}}if(D.hasStandardBrowserEnv&&(s&&d.isFunction(s)&&(s=s(n)),s||s!==!1&&Uo(n.url))){const m=a&&c&&No.read(c);m&&u.set(a,m)}return n},Fo=typeof XMLHttpRequest<"u",Po=Fo&&function(e){return new Promise(function(n,i){const s=Tr(e);let a=s.data;const c=W.from(s.headers).normalize();let{responseType:u,onUploadProgress:p,onDownloadProgress:m}=s,g,l,_,C,E;function b(){C&&C(),E&&E(),s.cancelToken&&s.cancelToken.unsubscribe(g),s.signal&&s.signal.removeEventListener("abort",g)}let v=new XMLHttpRequest;v.open(s.method.toUpperCase(),s.url,!0),v.timeout=s.timeout;function S(){if(!v)return;const I=W.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),J={data:!u||u==="text"||u==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:I,config:e,request:v};xr(function(X){n(X),b()},function(X){i(X),b()},J),v=null}"onloadend"in v?v.onloadend=S:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(S)},v.onabort=function(){v&&(i(new O("Request aborted",O.ECONNABORTED,e,v)),v=null)},v.onerror=function(I){const J=I&&I.message?I.message:"Network Error",X=new O(J,O.ERR_NETWORK,e,v);X.event=I||null,i(X),v=null},v.ontimeout=function(){let I=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const J=s.transitional||Cr;s.timeoutErrorMessage&&(I=s.timeoutErrorMessage),i(new O(I,J.clarifyTimeoutError?O.ETIMEDOUT:O.ECONNABORTED,e,v)),v=null},a===void 0&&c.setContentType(null),"setRequestHeader"in v&&d.forEach(c.toJSON(),function(I,J){v.setRequestHeader(J,I)}),d.isUndefined(s.withCredentials)||(v.withCredentials=!!s.withCredentials),u&&u!=="json"&&(v.responseType=s.responseType),m&&([_,E]=re(m,!0),v.addEventListener("progress",_)),p&&v.upload&&([l,C]=re(p),v.upload.addEventListener("progress",l),v.upload.addEventListener("loadend",C)),(s.cancelToken||s.signal)&&(g=I=>{v&&(i(!I||I.type?new kt(null,e,v):I),v.abort(),v=null)},s.cancelToken&&s.cancelToken.subscribe(g),s.signal&&(s.signal.aborted?g():s.signal.addEventListener("abort",g)));const P=Bo(s.url);if(P&&D.protocols.indexOf(P)===-1){i(new O("Unsupported protocol "+P+":",O.ERR_BAD_REQUEST,e));return}v.send(a||null)})},zo=(e,n)=>{const{length:i}=e=e?e.filter(Boolean):[];if(n||i){let s=new AbortController,a;const c=function(g){if(!a){a=!0,p();const l=g instanceof Error?g:this.reason;s.abort(l instanceof O?l:new kt(l instanceof Error?l.message:l))}};let u=n&&setTimeout(()=>{u=null,c(new O(`timeout ${n} of ms exceeded`,O.ETIMEDOUT))},n);const p=()=>{e&&(u&&clearTimeout(u),u=null,e.forEach(g=>{g.unsubscribe?g.unsubscribe(c):g.removeEventListener("abort",c)}),e=null)};e.forEach(g=>g.addEventListener("abort",c));const{signal:m}=s;return m.unsubscribe=()=>d.asap(p),m}},jo=function*(e,n){let i=e.byteLength;if(i{const a=$o(e,n);let c=0,u,p=m=>{u||(u=!0,s&&s(m))};return new ReadableStream({async pull(m){try{const{done:g,value:l}=await a.next();if(g){p(),m.close();return}let _=l.byteLength;if(i){let C=c+=_;i(C)}m.enqueue(new Uint8Array(l))}catch(g){throw p(g),g}},cancel(m){return p(m),a.return()}},{highWaterMark:2})},tr=64*1024,{isFunction:Gt}=d,Do=(({Request:e,Response:n})=>({Request:e,Response:n}))(d.global),{ReadableStream:er,TextEncoder:rr}=d.global,nr=(e,...n)=>{try{return!!e(...n)}catch{return!1}},qo=e=>{e=d.merge.call({skipUndefined:!0},Do,e);const{fetch:n,Request:i,Response:s}=e,a=n?Gt(n):typeof fetch=="function",c=Gt(i),u=Gt(s);if(!a)return!1;const p=a&&Gt(er),m=a&&(typeof rr=="function"?(b=>v=>b.encode(v))(new rr):async b=>new Uint8Array(await new i(b).arrayBuffer())),g=c&&p&&nr(()=>{let b=!1;const v=new i(D.origin,{body:new er,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!v}),l=u&&p&&nr(()=>d.isReadableStream(new s("").body)),_={stream:l&&(b=>b.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!_[b]&&(_[b]=(v,S)=>{let P=v&&v[b];if(P)return P.call(v);throw new O(`Response type '${b}' is not supported`,O.ERR_NOT_SUPPORT,S)})});const C=async b=>{if(b==null)return 0;if(d.isBlob(b))return b.size;if(d.isSpecCompliantForm(b))return(await new i(D.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(d.isArrayBufferView(b)||d.isArrayBuffer(b))return b.byteLength;if(d.isURLSearchParams(b)&&(b=b+""),d.isString(b))return(await m(b)).byteLength},E=async(b,v)=>d.toFiniteNumber(b.getContentLength())??C(v);return async b=>{let{url:v,method:S,data:P,signal:I,cancelToken:J,timeout:X,onDownloadProgress:Ut,onUploadProgress:Nt,responseType:st,headers:Z,withCredentials:mt="same-origin",fetchOptions:It}=Tr(b),Vt=n||fetch;st=st?(st+"").toLowerCase():"text";let At=zo([I,J&&J.toAbortSignal()],X),bt=null;const ft=At&&At.unsubscribe&&(()=>{At.unsubscribe()});let Wt;try{if(Nt&&g&&S!=="get"&&S!=="head"&&(Wt=await E(Z,P))!==0){let at=new i(v,{method:"POST",body:P,duplex:"half"}),dt;if(d.isFormData(P)&&(dt=at.headers.get("content-type"))&&Z.setContentType(dt),at.body){const[Ft,L]=Ke(Wt,re(Ye(Nt)));P=Qe(at.body,tr,Ft,L)}}d.isString(mt)||(mt=mt?"include":"omit");const G=c&&"credentials"in i.prototype,Lt={...It,signal:At,method:S.toUpperCase(),headers:Z.normalize().toJSON(),body:P,duplex:"half",credentials:G?mt:void 0};bt=c&&new i(v,Lt);let Q=await(c?Vt(bt,It):Vt(v,Lt));const Jt=l&&(st==="stream"||st==="response");if(l&&(Ut||Jt&&ft)){const at={};["status","statusText","headers"].forEach($=>{at[$]=Q[$]});const dt=d.toFiniteNumber(Q.headers.get("content-length")),[Ft,L]=Ut&&Ke(dt,re(Ye(Ut),!0))||[];Q=new s(Qe(Q.body,tr,Ft,()=>{L&&L(),ft&&ft()}),at)}st=st||"text";let ue=await _[d.findKey(_,st)||"text"](Q,b);return!Jt&&ft&&ft(),await new Promise((at,dt)=>{xr(at,dt,{data:ue,headers:W.from(Q.headers),status:Q.status,statusText:Q.statusText,config:b,request:bt})})}catch(G){throw ft&&ft(),G&&G.name==="TypeError"&&/Load failed|fetch/i.test(G.message)?Object.assign(new O("Network Error",O.ERR_NETWORK,b,bt),{cause:G.cause||G}):O.from(G,G&&G.code,b,bt)}}},Ho=new Map,kr=e=>{let n=e?e.env:{};const{fetch:i,Request:s,Response:a}=n,c=[s,a,i];let u=c.length,p=u,m,g,l=Ho;for(;p--;)m=c[p],g=l.get(m),g===void 0&&l.set(m,g=p?new Map:qo(n)),l=g;return g};kr();const _e={http:so,xhr:Po,fetch:{get:kr}};d.forEach(_e,(e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch{}Object.defineProperty(e,"adapterName",{value:n})}});const or=e=>`- ${e}`,Vo=e=>d.isFunction(e)||e===null||e===!1,Ur={getAdapter:(e,n)=>{e=d.isArray(e)?e:[e];const{length:i}=e;let s,a;const c={};for(let u=0;u`adapter ${m} `+(g===!1?"is not supported by the environment":"is not available in the build"));let p=i?u.length>1?`since : `+u.map(or).join(` `):" "+or(u[0]):"as no adapter specified";throw new O("There is no suitable adapter to dispatch the request "+p,"ERR_NOT_SUPPORT")}return a},adapters:_e};function ge(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new kt(null,e)}function ir(e){return ge(e),e.headers=W.from(e.headers),e.data=pe.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ur.getAdapter(e.adapter||qt.adapter,e)(e).then(function(n){return ge(e),n.data=pe.call(e,e.transformResponse,n),n.headers=W.from(n.headers),n},function(n){return Sr(n)||(ge(e),n&&n.response&&(n.response.data=pe.call(e,e.transformResponse,n.response),n.response.headers=W.from(n.response.headers))),Promise.reject(n)})}const Nr="1.12.2",ne={};["object","boolean","number","function","string","symbol"].forEach((e,n)=>{ne[e]=function(i){return typeof i===e||"a"+(n<1?"n ":" ")+e}});const sr={};ne.transitional=function(e,n,i){function s(a,c){return"[Axios v"+Nr+"] Transitional option '"+a+"'"+c+(i?". "+i:"")}return(a,c,u)=>{if(e===!1)throw new O(s(c," has been removed"+(n?" in "+n:"")),O.ERR_DEPRECATED);return n&&!sr[c]&&(sr[c]=!0,console.warn(s(c," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(a,c,u):!0}},ne.spelling=function(e){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${e}`),!0)};function Wo(e,n,i){if(typeof e!="object")throw new O("options must be an object",O.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let a=s.length;for(;a-- >0;){const c=s[a],u=n[c];if(u){const p=e[c],m=p===void 0||u(p,c,e);if(m!==!0)throw new O("option "+c+" must be "+m,O.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new O("Unknown option "+c,O.ERR_BAD_OPTION)}}const Qt={assertOptions:Wo,validators:ne},lt=Qt.validators;let _t=class{constructor(e){this.defaults=e||{},this.interceptors={request:new Xe,response:new Xe}}async request(e,n){try{return await this._request(e,n)}catch(i){if(i instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const a=s.stack?s.stack.replace(/^.+\n/,""):"";try{i.stack?a&&!String(i.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(i.stack+=` `+a):i.stack=a}catch{}}throw i}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Rt(this.defaults,n);const{transitional:i,paramsSerializer:s,headers:a}=n;i!==void 0&&Qt.assertOptions(i,{silentJSONParsing:lt.transitional(lt.boolean),forcedJSONParsing:lt.transitional(lt.boolean),clarifyTimeoutError:lt.transitional(lt.boolean)},!1),s!=null&&(d.isFunction(s)?n.paramsSerializer={serialize:s}:Qt.assertOptions(s,{encode:lt.function,serialize:lt.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Qt.assertOptions(n,{baseUrl:lt.spelling("baseURL"),withXsrfToken:lt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let c=a&&d.merge(a.common,a[n.method]);a&&d.forEach(["delete","get","head","post","put","patch","common"],E=>{delete a[E]}),n.headers=W.concat(c,a);const u=[];let p=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(p=p&&E.synchronous,u.unshift(E.fulfilled,E.rejected))});const m=[];this.interceptors.response.forEach(function(E){m.push(E.fulfilled,E.rejected)});let g,l=0,_;if(!p){const E=[ir.bind(this),void 0];for(E.unshift(...u),E.push(...m),_=E.length,g=Promise.resolve(n);l<_;)g=g.then(E[l++],E[l++]);return g}_=u.length;let C=n;for(;l<_;){const E=u[l++],b=u[l++];try{C=E(C)}catch(v){b.call(this,v);break}}try{g=ir.call(this,C)}catch(E){return Promise.reject(E)}for(l=0,_=m.length;l<_;)g=g.then(m[l++],m[l++]);return g}getUri(e){e=Rt(this.defaults,e);const n=Br(e.baseURL,e.url,e.allowAbsoluteUrls);return Ar(n,e.params,e.paramsSerializer)}};d.forEach(["delete","get","head","options"],function(e){_t.prototype[e]=function(n,i){return this.request(Rt(i||{},{method:e,url:n,data:(i||{}).data}))}}),d.forEach(["post","put","patch"],function(e){function n(i){return function(s,a,c){return this.request(Rt(c||{},{method:e,headers:i?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}_t.prototype[e]=n(),_t.prototype[e+"Form"]=n(!0)});let Jo=class Ir{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(a){i=a});const s=this;this.promise.then(a=>{if(!s._listeners)return;let c=s._listeners.length;for(;c-- >0;)s._listeners[c](a);s._listeners=null}),this.promise.then=a=>{let c;const u=new Promise(p=>{s.subscribe(p),c=p}).then(a);return u.cancel=function(){s.unsubscribe(c)},u},n(function(a,c,u){s.reason||(s.reason=new kt(a,c,u),i(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const i=this._listeners.indexOf(n);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const n=new AbortController,i=s=>{n.abort(s)};return this.subscribe(i),n.signal.unsubscribe=()=>this.unsubscribe(i),n.signal}static source(){let n;return{token:new Ir(function(i){n=i}),cancel:n}}};function Xo(e){return function(n){return e.apply(null,n)}}function Go(e){return d.isObject(e)&&e.isAxiosError===!0}const Re={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(Re).forEach(([e,n])=>{Re[n]=e});function Lr(e){const n=new _t(e),i=gr(_t.prototype.request,n);return d.extend(i,_t.prototype,n,{allOwnKeys:!0}),d.extend(i,n,null,{allOwnKeys:!0}),i.create=function(s){return Lr(Rt(e,s))},i}const F=Lr(qt);F.Axios=_t,F.CanceledError=kt,F.CancelToken=Jo,F.isCancel=Sr,F.VERSION=Nr,F.toFormData=ae,F.AxiosError=O,F.Cancel=F.CanceledError,F.all=function(e){return Promise.all(e)},F.spread=Xo,F.isAxiosError=Go,F.mergeConfig=Rt,F.AxiosHeaders=W,F.formToJSON=e=>Or(d.isHTMLForm(e)?new FormData(e):e),F.getAdapter=Ur.getAdapter,F.HttpStatusCode=Re,F.default=F;const{Axios:ws,AxiosError:vs,CanceledError:Es,isCancel:_s,CancelToken:Rs,VERSION:As,all:Cs,Cancel:Os,isAxiosError:Te,spread:Ss,toFormData:xs,AxiosHeaders:Bs,HttpStatusCode:Ts,formToJSON:ks,getAdapter:Us,mergeConfig:Ns}=F,Fr=F.create({headers:{requesttoken:Vr()??"","X-Requested-With":"XMLHttpRequest"}});Wr(e=>{Fr.defaults.headers.requesttoken=e});const xt=Object.assign(Fr,{CancelToken:F.CancelToken,isCancel:F.isCancel}),ar=Symbol("csrf-retry");function Ko(e){return async n=>{if(!Te(n))throw n;const{config:i,response:s,request:a}=n,c=a?.responseURL;if(i&&!i[ar]&&s?.status===412&&s?.data?.message==="CSRF check failed"){console.warn(`Request to ${c} failed because of a CSRF mismatch. Fetching a new token`);const{data:{token:u}}=await e.get(Ae("/csrftoken"));return console.debug(`New request token ${u} fetched`),e.defaults.headers.requesttoken=u,e({...i,headers:{...i.headers,requesttoken:u},[ar]:!0})}throw n}}const ye=Symbol("retryDelay");function Yo(e){return async n=>{if(!Te(n))throw n;const{config:i,response:s,request:a}=n,c=a?.responseURL,u=s?.status,p=s?.headers;let m=typeof i?.[ye]=="number"?i?.[ye]:1;if(u===503&&p?.["x-nextcloud-maintenance-mode"]==="1"&&i?.retryIfMaintenanceMode){if(m*=2,m>32)throw console.error("Retry delay exceeded one minute, giving up.",{responseURL:c}),n;return console.warn(`Request to ${c} failed because of maintenance mode. Retrying in ${m}s`),await new Promise(g=>{setTimeout(g,m*1e3)}),e({...i,[ye]:m})}throw n}}async function Zo(e){if(Te(e)){const{config:n,response:i,request:s}=e,a=s?.responseURL;i?.status===401&&i?.data?.message==="Current user is not logged in"&&n?.reloadExpiredSession&&window?.location&&(console.error(`Request to ${a} failed because the user session expired. Reloading the page …`),window.location.reload())}throw e}xt.interceptors.response.use(e=>e,Ko(xt)),xt.interceptors.response.use(e=>e,Yo(xt)),xt.interceptors.response.use(e=>e,Zo);const Qo=["poster"],ti=["src"],ei=["src"],ri=ot({__name:"IntroAnimation",emits:["next"],setup(e,{emit:n}){const i=n,s=wt("firstrunwizard","nextcloudHub.mp4"),a=wt("firstrunwizard","nextcloudHub.webm"),c=wt("firstrunwizard","nextcloudHub-preload.webp"),u=wt("firstrunwizard","nextcloudHub.webp"),p=A("firstrunwizard","Welcome to {cloudName}!",{cloudName:window.OC.theme.name}),m=Jr("video"),g=Et(!1),l=Et(!1),_=Et(!1),C=et(()=>g.value||l.value?u:c);Xr(()=>{g.value="getAutoplayPolicy"in navigator&&navigator.getAutoplayPolicy(m.value)==="disallowed",window.setTimeout(()=>{window.setTimeout(()=>{_.value=!0},1200),(!l.value||g.value)&&window.setTimeout(E,1200),l.value||(l.value=!0)},800)});function E(){i("next")}return(b,v)=>(T(),Y("div",{class:x(b.$style.introAnimation)},[q("video",{ref:"video",class:x(b.$style.introAnimation__video),playsinline:"",autoplay:"",muted:"",poster:C.value,onEnded:E,onPlay:v[0]||(v[0]=S=>l.value=!0)},[q("source",{src:R(a),type:"video/webm"},null,8,ti),q("source",{src:R(s),type:"video/mp4"},null,8,ei),te(" "+nt(R(p)),1)],42,Qo),_.value?(T(),H(R(jt),{key:0,class:x(b.$style.introAnimation__skipButton),alignment:"end-reverse",variant:"primary",onClick:E},{icon:z(()=>[U(R(ht),{directional:"",path:R(Gr)},null,8,["path"])]),default:z(()=>[te(" "+nt(R(A)("firstrunwizard","Skip")),1)]),_:1},8,["class"])):gt("",!0)],2))}}),ni="_introAnimation_zkowx_2",oi="_introAnimation__video_zkowx_6",ii="_introAnimation__skipButton_zkowx_13",si={introAnimation:ni,introAnimation__video:oi,introAnimation__skipButton:ii},ai={$style:si},ui=yt(ri,[["__cssModules",ai]]),li=ot({__name:"SlideShow",props:je({pages:{}},{modelValue:{required:!0},modelModifiers:{}}),emits:je(["close"],["update:modelValue"]),setup(e,{emit:n}){cr(b=>({v3e3ebf8b:g}));const i=Kr(e,"modelValue"),s=e,a=n,c=Et(!1),u=et(()=>s.pages[i.value]),p=et(()=>i.value===0),m=et(()=>i.value===s.pages.length-1),g=`url('${wt("firstrunwizard","nextcloudLogo.svg")}')`,l=Yr("transitions"),_=et(()=>{const b=c.value?"right":"left";return{active:l["slide-active"],enter:l[`slide-${b}-enter`],leave:l[`slide-${b}-leave-to`]}}),C=et(()=>{const b=c.value?"down":"up";return{active:l["slide-active"],enter:l[`slide-${b}-enter`],leave:l[`slide-${b}-leave-to`]}});Zr(()=>i.value,(b,v)=>{bS.id===b);i.value=v}return(b,v)=>(T(),Y("div",{class:x(b.$style.wrapper)},[U($e,{enterClass:C.value.enter,enterActiveClass:C.value.active,leaveActiveClass:C.value.active,leaveToClass:C.value.leave},{default:z(()=>[p.value?(T(),Y("div",{key:0,class:x(b.$style.background_circle)},null,2)):gt("",!0)]),_:1},8,["enterClass","enterActiveClass","leaveActiveClass","leaveToClass"]),q("div",{class:x(b.$style.background_bar)},null,2),p.value?gt("",!0):(T(),H(R(jt),{key:0,"aria-label":R(A)("firstrunwizard","Go to previous page"),class:x(b.$style.button_back),variant:"tertiary-no-background",onClick:v[0]||(v[0]=S=>i.value-=1)},{icon:z(()=>[U(R(ht),{path:R(Qr)},null,8,["path"])]),_:1},8,["aria-label","class"])),U(R(jt),{"aria-label":R(A)("firstrunwizard","Close"),class:x(b.$style.button_close),variant:p.value?"tertiary-on-primary":"tertiary-no-background",onClick:v[1]||(v[1]=S=>b.$emit("close"))},{icon:z(()=>[U(R(ht),{path:R(tn)},null,8,["path"])]),_:1},8,["aria-label","class","variant"]),p.value?(T(),Y("div",{key:1,class:x(b.$style.logo)},null,2)):gt("",!0),U($e,{mode:"out-in",enterClass:_.value.enter,enterActiveClass:_.value.active,leaveActiveClass:_.value.active,leaveToClass:_.value.leave},{default:z(()=>[(T(),H(fr(u.value.component),{scrollerClasses:p.value?b.$style.first_page_scroller:""},null,8,["scrollerClasses"]))]),_:1},8,["enterClass","enterActiveClass","leaveActiveClass","leaveToClass"]),q("div",{class:x(b.$style.button_wrapper)},[(T(!0),Y(Ce,null,Oe(u.value.buttons,(S,P)=>(T(),H(R(jt),{key:S.to,alignment:"center-reverse",variant:P===u.value.buttons.length-1?"primary":"secondary",wide:P===u.value.buttons.length-1,onClick:I=>E(S.to)},en({default:z(()=>[te(" "+nt(S.label),1)]),_:2},[m.value?void 0:{name:"icon",fn:z(()=>[U(R(ht),{path:R(rn)},null,8,["path"])]),key:"0"}]),1032,["variant","wide","onClick"]))),128))],2)],2))}}),ci="_wrapper_16697_1",fi="_background_circle_16697_12",hi="_background_bar_16697_22",di="_button_back_16697_31",pi="_button_close_16697_37",gi="_button_wrapper_16697_43",yi="_logo_16697_56",mi="_first_page_scroller_16697_69",bi={wrapper:ci,background_circle:fi,background_bar:hi,button_back:di,button_close:pi,button_wrapper:gi,logo:yi,first_page_scroller:mi},wi={"slide-active":"_slide-active_8t7o1_5","slide-left-enter":"_slide-left-enter_8t7o1_9","slide-left-leave-to":"_slide-left-leave-to_8t7o1_14","slide-right-enter":"_slide-right-enter_8t7o1_19","slide-right-leave-to":"_slide-right-leave-to_8t7o1_24","slide-up-enter":"_slide-up-enter_8t7o1_29","slide-up-leave-to":"_slide-up-leave-to_8t7o1_33","slide-down-enter":"_slide-down-enter_8t7o1_37","slide-down-leave-to":"_slide-down-leave-to_8t7o1_41"},vi={$style:bi,transitions:wi},Ei=yt(li,[["__cssModules",vi]]),_i=["textContent"],Ri=ot({__name:"InfoCard",props:{title:{},subtitle:{},href:{}},setup(e){const n=e,i=et(()=>!!n.href);return(s,a)=>(T(),H(fr(i.value?"a":"div"),{href:e.href||void 0,class:x([s.$style.card,{[s.$style.link]:i.value}]),target:i.value?"_blank":void 0,rel:i.value?"noreferrer":void 0},{default:z(()=>[q("div",{class:x(s.$style.icon)},[hr(s.$slots,"default")],2),q("div",{class:x(s.$style.text)},[q("h3",{class:x(s.$style.heading)},nt(e.title),3),e.subtitle!==void 0?(T(),Y("p",{key:0,textContent:nt(e.subtitle)},null,8,_i)):gt("",!0)],2)]),_:3},8,["href","class","target","rel"]))}}),Ai="_card_14cr6_1",Ci="_icon_14cr6_9",Oi="_heading_14cr6_18",Si="_link_14cr6_24",xi="_text_14cr6_34",Bi={card:Ai,icon:Ci,heading:Oi,link:Si,text:xi},Ti={$style:Bi},rt=yt(Ri,[["__cssModules",Ti]]),ki=ot({__name:"WizardPage",props:{title:{},subtitle:{},scrollerClasses:{}},setup(e){return(n,i)=>(T(),Y("div",{class:x(n.$style.wrapper)},[q("div",{class:x([n.$style.scroller,e.scrollerClasses])},[q("h2",{class:x(n.$style.heading)},nt(e.title),3),e.subtitle?(T(),Y("p",{key:0,class:x(n.$style.subtitle)},nt(e.subtitle),3)):gt("",!0),q("div",{class:x(n.$style.content)},[hr(n.$slots,"default")],2)],2)],2))}}),Ui="_wrapper_1b76s_2",Ni="_scroller_1b76s_9",Ii="_heading_1b76s_14",Li="_subtitle_1b76s_20",Fi="_content_1b76s_26",Pi={wrapper:Ui,scroller:Ni,heading:Ii,subtitle:Li,content:Fi},zi={$style:Pi},Ht=yt(ki,[["__cssModules",zi]]),ji=ot({__name:"AboutNextcloud",setup(e){return(n,i)=>(T(),H(Ht,{title:R(A)("firstrunwizard","More about Nextcloud")},{default:z(()=>[U(rt,{href:"https://apps.nextcloud.com/",title:R(A)("firstrunwizard","Explore more apps ↗"),subtitle:R(A)("firstrunwizard","Extend the functionality of Nextcloud with hundreds of community-developed apps.")},null,8,["title","subtitle"]),U(rt,{href:"https://nextcloud.com/contribute/",title:R(A)("firstrunwizard","Get involved! ↗"),subtitle:R(A)("firstrunwizard","Be a part of the community that helps build, design, translate and promote Nextcloud!")},null,8,["title","subtitle"]),U(rt,{href:"https://docs.nextcloud.com/",title:R(A)("firstrunwizard","Need help? ↗"),subtitle:R(A)("firstrunwizard","Find out more about your Nextcloud setup with the admin, user or developer documentation.")},null,8,["title","subtitle"]),U(rt,{href:"https://nextcloud.com/enterprise/",title:R(A)("firstrunwizard","For large organisations ↗"),subtitle:R(A)("firstrunwizard","Get Nextcloud Enterprise for mission critical environments where advanced security and compliance are important.")},null,8,["title","subtitle"])]),_:1},8,["title"]))}}),$i=["aria-label","href"],Mi=ot({__name:"AppStoreBadge",props:{type:{}},setup(e){cr(m=>({v4be1d9ee:c.value}));const n=e,i=ee("firstrunwizard","android"),s=ee("firstrunwizard","ios"),a=et(()=>{if(n.type==="ios")return wt("firstrunwizard","iosBadge.png");if(n.type==="android")return wt("firstrunwizard","androidBadge.png")}),c=et(()=>`url('${a.value}')`),u=et(()=>{if(n.type==="ios")return s;if(n.type==="android")return i}),p=et(()=>{if(n.type==="ios")return A("firstrunwizard","Download on Apple app store");if(n.type==="android")return A("firstrunwizard","Download on Google play store")});return(m,g)=>(T(),Y("a",{class:x(m.$style.badge),"aria-label":p.value,target:"_blank",rel:"noreferrer",href:u.value},null,10,$i))}}),Di="_badge_1lvp9_1",qi={badge:Di},Hi={$style:qi},ur=yt(Mi,[["__cssModules",Hi]]),Vi=ot({__name:"DeviceIntegration",setup(e){const n=ee("firstrunwizard","desktop"),i=Ae("settings/user/sync-clients");return(s,a)=>(T(),H(Ht,{title:R(A)("firstrunwizard","Seamless integration with your devices."),subtitle:R(A)("firstrunwizard","Sync your files across your devices with the desktop and mobile apps, and connect your calendar and contacts.")},{default:z(()=>[U(ur,{type:"android"}),U(ur,{type:"ios"}),U(rt,{href:R(n),title:R(A)("firstrunwizard","Desktop app ↗"),subtitle:R(A)("firstrunwizard","Download For Windows, Mac OS and Linux.")},null,8,["href","title","subtitle"]),U(rt,{href:R(i),title:R(A)("firstrunwizard","Calendar and contacts ↗"),subtitle:R(A)("firstrunwizard","Connect your calendar and contacts with your devices.")},null,8,["href","title","subtitle"])]),_:1},8,["title","subtitle"]))}}),Wi=ot({__name:"KeyNotes",props:{scrollerClasses:{}},setup(e){const n=A("firstrunwizard","This Nextcloud is on version {version}",{version:window.OC.config.versionstring});return(i,s)=>(T(),H(Ht,{scrollerClasses:e.scrollerClasses,title:R(A)("firstrunwizard","A collaboration platform that puts you in control")},{default:z(()=>[U(rt,{title:R(A)("firstrunwizard","Privacy"),subtitle:R(A)("firstrunwizard","Host your data and files where you decide.")},{default:z(()=>[U(R(ht),{class:x(i.$style.icon),inline:"",path:R(nn)},null,8,["class","path"])]),_:1},8,["title","subtitle"]),U(rt,{title:R(A)("firstrunwizard","Productivity"),subtitle:R(A)("firstrunwizard","Collaborate and communicate across any platform.")},{default:z(()=>[U(R(ht),{class:x(i.$style.icon),inline:"",path:R(on)},null,8,["class","path"])]),_:1},8,["title","subtitle"]),U(rt,{title:R(A)("firstrunwizard","Interoperability"),subtitle:R(A)("firstrunwizard","Import and export anything you want with open standards.")},{default:z(()=>[U(R(ht),{class:x(i.$style.icon),inline:"",path:R(sn)},null,8,["class","path"])]),_:1},8,["title","subtitle"]),U(rt,{title:R(A)("firstrunwizard","Community"),subtitle:R(A)("firstrunwizard","Enjoy constant improvements from a thriving open-source community.")},{default:z(()=>[U(R(ht),{class:x(i.$style.icon),inline:"",path:R(an)},null,8,["class","path"])]),_:1},8,["title","subtitle"]),q("p",{class:x(i.$style.version)},nt(R(n)),3)]),_:1},8,["scrollerClasses","title"]))}}),Ji="_icon_rdl0k_2",Xi="_version_rdl0k_6",Gi={icon:Ji,version:Xi},Ki={$style:Gi},Yi=yt(Wi,[["__cssModules",Ki]]),Zi=` `,Qi='',ts='',es=` `,tt={version:"26 Winter",link:"https://nextcloud.com/blog/nextcloud-hub26-winter/",releaseNotes:["🌐 "+A("firstrunwizard","Growing sovereignty: new federation features, improved data export and import"),"💬 "+A("firstrunwizard","Nextcloud Talk: live translations, pinned messages, scheduling"),"🔎 "+A("firstrunwizard","Office document comparison"),"🧑‍🎨 "+A("firstrunwizard","Whiteboard: comments, reactions, timers"),"✨ "+A("firstrunwizard","Nextcloud Assistant performance upgrade and AI labeling"),"🔐 "+A("firstrunwizard","Powerful E2EE in the web interface"),"💪 "+A("firstrunwizard","Speed-up with ADA engine"),A("firstrunwizard","… and many more improvements in all apps!"),A("firstrunwizard","Experience the brand new Nextcloud Hub!")],videoAltText:A("firstrunwizard","Get to know the new features of Hub {version}",{version:"26 Winter"}),shareSubject:A("firstrunwizard","Time to own your collaboration: Meet Nextcloud Hub 26 Winter! 🚀")},rs=ot({__name:"SharePage",setup(e){const n=encodeURIComponent(encodeURI(tt.link)),i=encodeURIComponent(tt.shareSubject??A("firstrunwizard","Nextcloud Hub {version} release",{version:tt.version})),s=encodeURIComponent(A("firstrunwizard","Read more about it on the Nextcloud Hub {version} blog",{version:tt.version})+` `+tt.link),a=[{id:"bluesky",name:"Bluesky",link:`https://bsky.app/intent/compose?text=${n}`,icon:Zi},{id:"facebook",name:"Facebook",link:`https://www.facebook.com/sharer/sharer.php?u=${n}`,icon:Qi},{id:"linkedin",name:"LinkedIn",link:`https://www.linkedin.com/sharing/share-offsite/?url=${n}`,icon:ts},{id:"mastodon",name:"Mastodon",link:`https://mastodon.social/share?text=${n}`,icon:es},{id:"email",name:"EMail",link:`mailto:?subject=${i}&body=${s}`,icon:un}];return(c,u)=>(T(),H(Ht,{title:R(A)("firstrunwizard","Find out more on the blog")},{default:z(()=>[U(R(jt),{href:R(tt).link,target:"_blank"},{default:z(()=>[te(nt(R(A)("firstrunwizard","Read the Nextcloud Hub {version} blog",{version:R(tt).version}))+" ↗ ",1)]),_:1},8,["href"]),q("section",{class:x(c.$style.share_section)},[q("h3",{class:x(c.$style.heading)},nt(R(A)("firstrunwizard","Share your opinion about Nextcloud Hub {version}",{version:R(tt).version})),3),q("div",{class:x(c.$style.share_wrapper)},[(T(),Y(Ce,null,Oe(a,p=>U(rt,{key:p.id,class:x(c.$style.card),href:p.link,title:p.id==="email"?R(A)("firstrunwizard","Share via email"):R(A)("firstrunwizard","Share on {socialMedia}",{socialMedia:p.name})},{default:z(()=>[p.icon?(T(),H(R(ht),{key:0,svg:p.id!=="email"?p.icon:void 0,path:p.id==="email"?p.icon:void 0},null,8,["svg","path"])):gt("",!0)]),_:2},1032,["class","href","title"])),64))],2)],2)]),_:1},8,["title"]))}}),ns="_share_section_1krl5_2",os="_share_wrapper_1krl5_6",is="_card_1krl5_15",ss="_heading_1krl5_23",as={share_section:ns,share_wrapper:os,card:is,heading:ss},us={$style:as},ls=yt(rs,[["__cssModules",us]]),cs=ot({__name:"WhatsNew",setup(e){return(n,i)=>(T(),H(Ht,{title:R(A)("firstrunwizard","New in Nextcloud Hub {version}",{version:R(tt).version})+" 🚀"},{default:z(()=>[q("ul",{class:x(n.$style.list)},[(T(!0),Y(Ce,null,Oe(R(tt).releaseNotes,(s,a)=>(T(),Y("li",{key:a,class:x(n.$style.entry)},nt(s),3))),128))],2)]),_:1},8,["title"]))}}),fs="_list_lk7o9_2",hs="_entry_lk7o9_6",ds={list:fs,entry:hs},ps={$style:ds},gs=yt(cs,[["__cssModules",ps]]),lr=[{id:"key-aspects",component:Yi,buttons:[{to:"whats-new",label:A("firstrunwizard","What's new?")},{to:"devices",label:A("firstrunwizard","Nextcloud on all your devices")}]},{id:"devices",component:Vi,buttons:[{to:"about",label:A("firstrunwizard","More about Nextcloud")}]},{id:"about",component:ji,buttons:[{to:"whats-new",label:A("firstrunwizard","Nextcloud Hub {version}",{version:tt.version})}]},{id:"whats-new",component:gs,buttons:[{to:"share",label:A("firstrunwizard","Share on social media")}]},{id:"share",component:ls,buttons:[{to:"close",label:A("firstrunwizard","Get started!")}]}],ys=ot({__name:"App",setup(e,{expose:n}){n({open:m,close:g});const i=ln(),s=ee("firstrunwizard","changelogOnly",!1),a=Math.max(lr.findIndex(l=>l.id==="whats-new"),0),c=Et(!1),u=Et(-1),p=Et();function m(l){p.value=l,u.value=-1,c.value=!0}function g(){u.value=-1,c.value=!1,xt.delete(Ae("/apps/firstrunwizard/wizard"))}return(l,_)=>c.value?(T(),H(R(cn),{key:0,id:"firstrunwizard",class:"first-run-wizard",size:"normal",noClose:"",dark:!R(i),setReturnFocus:p.value,onClose:g,onNext:_[2]||(_[2]=C=>u.value+=1),onPrevious:_[3]||(_[3]=C=>u.value-=1)},{default:z(()=>[u.value===-1?(T(),H(ui,{key:0,onNext:_[0]||(_[0]=C=>u.value=R(s)?R(a):0)})):(T(),H(Ei,{key:1,modelValue:u.value,"onUpdate:modelValue":_[1]||(_[1]=C=>u.value=C),pages:R(lr),onClose:g},null,8,["modelValue","pages"]))]),_:1},8,["dark","setReturnFocus"])):gt("",!0)}});let me;function Is(e){if(me===void 0){const n=document.createElement("div");n.id="firstrunwizard",document.querySelector("body").appendChild(n),me=fn(ys).mount(n)}me.open(e)}export{Is as open}; //# sourceMappingURL=main-CNEKzU5m.chunk.mjs.map