ykt-npmv3
Version:
ykt npm use vue3
6 lines • 122 kB
JavaScript
(function(S,B0){typeof exports=="object"&&typeof module<"u"?module.exports=B0(require("vue")):typeof define=="function"&&define.amd?define(["vue"],B0):(S=typeof globalThis<"u"?globalThis:S||self,S["ykt-npmv3"]=B0(S.Vue))})(this,function(S){"use strict";function B0(e,n){return function(){return e.apply(n,arguments)}}const{toString:Hr}=Object.prototype,{getPrototypeOf:Z0}=Object,T0=(e=>n=>{const r=Hr.call(n);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),a0=e=>(e=e.toLowerCase(),n=>T0(n)===e),O0=e=>n=>typeof n===e,{isArray:E0}=Array,m0=O0("undefined");function Tr(e){return e!==null&&!m0(e)&&e.constructor!==null&&!m0(e.constructor)&&t0(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ye=a0("ArrayBuffer");function Or(e){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(e):n=e&&e.buffer&&Ye(e.buffer),n}const Pr=O0("string"),t0=O0("function"),$e=O0("number"),P0=e=>e!==null&&typeof e=="object",zr=e=>e===!0||e===!1,z0=e=>{if(T0(e)!=="object")return!1;const n=Z0(e);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Nr=a0("Date"),Ur=a0("File"),Ir=a0("Blob"),qr=a0("FileList"),Lr=e=>P0(e)&&t0(e.pipe),Wr=e=>{let n;return e&&(typeof FormData=="function"&&e instanceof FormData||t0(e.append)&&((n=T0(e))==="formdata"||n==="object"&&t0(e.toString)&&e.toString()==="[object FormData]"))},jr=a0("URLSearchParams"),[Qr,Mr,Kr,Gr]=["ReadableStream","Request","Response","Headers"].map(a0),Jr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function y0(e,n,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let t,o;if(typeof e!="object"&&(e=[e]),E0(e))for(t=0,o=e.length;t<o;t++)n.call(null,e[t],t,e);else{const s=r?Object.getOwnPropertyNames(e):Object.keys(e),l=s.length;let c;for(t=0;t<l;t++)c=s[t],n.call(null,e[c],c,e)}}function et(e,n){n=n.toLowerCase();const r=Object.keys(e);let t=r.length,o;for(;t-- >0;)if(o=r[t],n===o.toLowerCase())return o;return null}const A0=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),tt=e=>!m0(e)&&e!==A0;function Y0(){const{caseless:e}=tt(this)&&this||{},n={},r=(t,o)=>{const s=e&&et(n,o)||o;z0(n[s])&&z0(t)?n[s]=Y0(n[s],t):z0(t)?n[s]=Y0({},t):E0(t)?n[s]=t.slice():n[s]=t};for(let t=0,o=arguments.length;t<o;t++)arguments[t]&&y0(arguments[t],r);return n}const Vr=(e,n,r,{allOwnKeys:t}={})=>(y0(n,(o,s)=>{r&&t0(o)?e[s]=B0(o,r):e[s]=o},{allOwnKeys:t}),e),Xr=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Zr=(e,n,r,t)=>{e.prototype=Object.create(n.prototype,t),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:n.prototype}),r&&Object.assign(e.prototype,r)},Yr=(e,n,r,t)=>{let o,s,l;const c={};if(n=n||{},e==null)return n;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)l=o[s],(!t||t(l,e,n))&&!c[l]&&(n[l]=e[l],c[l]=!0);e=r!==!1&&Z0(e)}while(e&&(!r||r(e,n))&&e!==Object.prototype);return n},$r=(e,n,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=n.length;const t=e.indexOf(n,r);return t!==-1&&t===r},en=e=>{if(!e)return null;if(E0(e))return e;let n=e.length;if(!$e(n))return null;const r=new Array(n);for(;n-- >0;)r[n]=e[n];return r},tn=(e=>n=>e&&n instanceof e)(typeof Uint8Array<"u"&&Z0(Uint8Array)),rn=(e,n)=>{const t=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=t.next())&&!o.done;){const s=o.value;n.call(e,s[0],s[1])}},nn=(e,n)=>{let r;const t=[];for(;(r=e.exec(n))!==null;)t.push(r);return t},on=a0("HTMLFormElement"),an=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,t,o){return t.toUpperCase()+o}),rt=(({hasOwnProperty:e})=>(n,r)=>e.call(n,r))(Object.prototype),sn=a0("RegExp"),nt=(e,n)=>{const r=Object.getOwnPropertyDescriptors(e),t={};y0(r,(o,s)=>{let l;(l=n(o,s,e))!==!1&&(t[s]=l||o)}),Object.defineProperties(e,t)},xn=e=>{nt(e,(n,r)=>{if(t0(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const t=e[r];if(t0(t)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},cn=(e,n)=>{const r={},t=o=>{o.forEach(s=>{r[s]=!0})};return E0(e)?t(e):t(String(e).split(n)),r},fn=()=>{},ln=(e,n)=>e!=null&&Number.isFinite(e=+e)?e:n,$0="abcdefghijklmnopqrstuvwxyz",ot="0123456789",at={DIGIT:ot,ALPHA:$0,ALPHA_DIGIT:$0+$0.toUpperCase()+ot},un=(e=16,n=at.ALPHA_DIGIT)=>{let r="";const{length:t}=n;for(;e--;)r+=n[Math.random()*t|0];return r};function dn(e){return!!(e&&t0(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const An=e=>{const n=new Array(10),r=(t,o)=>{if(P0(t)){if(n.indexOf(t)>=0)return;if(!("toJSON"in t)){n[o]=t;const s=E0(t)?[]:{};return y0(t,(l,c)=>{const B=r(l,o+1);!m0(B)&&(s[c]=B)}),n[o]=void 0,s}}return t};return r(e,0)},hn=a0("AsyncFunction"),pn=e=>e&&(P0(e)||t0(e))&&t0(e.then)&&t0(e.catch),it=((e,n)=>e?setImmediate:n?((r,t)=>(A0.addEventListener("message",({source:o,data:s})=>{o===A0&&s===r&&t.length&&t.shift()()},!1),o=>{t.push(o),A0.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",t0(A0.postMessage)),vn=typeof queueMicrotask<"u"?queueMicrotask.bind(A0):typeof process<"u"&&process.nextTick||it,b={isArray:E0,isArrayBuffer:Ye,isBuffer:Tr,isFormData:Wr,isArrayBufferView:Or,isString:Pr,isNumber:$e,isBoolean:zr,isObject:P0,isPlainObject:z0,isReadableStream:Qr,isRequest:Mr,isResponse:Kr,isHeaders:Gr,isUndefined:m0,isDate:Nr,isFile:Ur,isBlob:Ir,isRegExp:sn,isFunction:t0,isStream:Lr,isURLSearchParams:jr,isTypedArray:tn,isFileList:qr,forEach:y0,merge:Y0,extend:Vr,trim:Jr,stripBOM:Xr,inherits:Zr,toFlatObject:Yr,kindOf:T0,kindOfTest:a0,endsWith:$r,toArray:en,forEachEntry:rn,matchAll:nn,isHTMLForm:on,hasOwnProperty:rt,hasOwnProp:rt,reduceDescriptors:nt,freezeMethods:xn,toObjectSet:cn,toCamelCase:an,noop:fn,toFiniteNumber:ln,findKey:et,global:A0,isContextDefined:tt,ALPHABET:at,generateString:un,isSpecCompliantForm:dn,toJSONObject:An,isAsyncFn:hn,isThenable:pn,setImmediate:it,asap:vn};function L(e,n,r,t,o){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),r&&(this.config=r),t&&(this.request=t),o&&(this.response=o,this.status=o.status?o.status:null)}b.inherits(L,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:b.toJSONObject(this.config),code:this.code,status:this.status}}});const st=L.prototype,xt={};["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=>{xt[e]={value:e}}),Object.defineProperties(L,xt),Object.defineProperty(st,"isAxiosError",{value:!0}),L.from=(e,n,r,t,o,s)=>{const l=Object.create(st);return b.toFlatObject(e,l,function(B){return B!==Error.prototype},c=>c!=="isAxiosError"),L.call(l,e.message,n,r,t,o),l.cause=e,l.name=e.name,s&&Object.assign(l,s),l};const Bn=null;function ee(e){return b.isPlainObject(e)||b.isArray(e)}function ct(e){return b.endsWith(e,"[]")?e.slice(0,-2):e}function ft(e,n,r){return e?e.concat(n).map(function(o,s){return o=ct(o),!r&&s?"["+o+"]":o}).join(r?".":""):n}function En(e){return b.isArray(e)&&!e.some(ee)}const Cn=b.toFlatObject(b,{},null,function(n){return/^is[A-Z]/.test(n)});function N0(e,n,r){if(!b.isObject(e))throw new TypeError("target must be an object");n=n||new FormData,r=b.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,u){return!b.isUndefined(u[h])});const t=r.metaTokens,o=r.visitor||i,s=r.dots,l=r.indexes,B=(r.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(n);if(!b.isFunction(o))throw new TypeError("visitor must be a function");function a(f){if(f===null)return"";if(b.isDate(f))return f.toISOString();if(!B&&b.isBlob(f))throw new L("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(f)||b.isTypedArray(f)?B&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function i(f,h,u){let C=f;if(f&&!u&&typeof f=="object"){if(b.endsWith(h,"{}"))h=t?h:h.slice(0,-2),f=JSON.stringify(f);else if(b.isArray(f)&&En(f)||(b.isFileList(f)||b.endsWith(h,"[]"))&&(C=b.toArray(f)))return h=ct(h),C.forEach(function(A,v){!(b.isUndefined(A)||A===null)&&n.append(l===!0?ft([h],v,s):l===null?h:h+"[]",a(A))}),!1}return ee(f)?!0:(n.append(ft(u,h,s),a(f)),!1)}const E=[],x=Object.assign(Cn,{defaultVisitor:i,convertValue:a,isVisitable:ee});function p(f,h){if(!b.isUndefined(f)){if(E.indexOf(f)!==-1)throw Error("Circular reference detected in "+h.join("."));E.push(f),b.forEach(f,function(C,d){(!(b.isUndefined(C)||C===null)&&o.call(n,C,b.isString(d)?d.trim():d,h,x))===!0&&p(C,h?h.concat(d):[d])}),E.pop()}}if(!b.isObject(e))throw new TypeError("data must be an object");return p(e),n}function lt(e){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(t){return n[t]})}function te(e,n){this._pairs=[],e&&N0(e,this,n)}const ut=te.prototype;ut.append=function(n,r){this._pairs.push([n,r])},ut.toString=function(n){const r=n?function(t){return n.call(this,t,lt)}:lt;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Fn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dt(e,n,r){if(!n)return e;const t=r&&r.encode||Fn;b.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let s;if(o?s=o(n,r):s=b.isURLSearchParams(n)?n.toString():new te(n,r).toString(t),s){const l=e.indexOf("#");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Dn{constructor(){this.handlers=[]}use(n,r,t){return this.handlers.push({fulfilled:n,rejected:r,synchronous:t?t.synchronous:!1,runWhen:t?t.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){b.forEach(this.handlers,function(t){t!==null&&n(t)})}}const At=Dn,ht={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},gn={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:te,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},re=typeof window<"u"&&typeof document<"u",ne=typeof navigator=="object"&&navigator||void 0,mn=re&&(!ne||["ReactNative","NativeScript","NS"].indexOf(ne.product)<0),yn=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),bn=re&&window.location.href||"http://localhost",$={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:re,hasStandardBrowserEnv:mn,hasStandardBrowserWebWorkerEnv:yn,navigator:ne,origin:bn},Symbol.toStringTag,{value:"Module"})),...gn};function wn(e,n){return N0(e,new $.classes.URLSearchParams,Object.assign({visitor:function(r,t,o,s){return $.isNode&&b.isBuffer(r)?(this.append(t,r.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},n))}function _n(e){return b.matchAll(/\w+|\[(\w*)]/g,e).map(n=>n[0]==="[]"?"":n[1]||n[0])}function Sn(e){const n={},r=Object.keys(e);let t;const o=r.length;let s;for(t=0;t<o;t++)s=r[t],n[s]=e[s];return n}function pt(e){function n(r,t,o,s){let l=r[s++];if(l==="__proto__")return!0;const c=Number.isFinite(+l),B=s>=r.length;return l=!l&&b.isArray(o)?o.length:l,B?(b.hasOwnProp(o,l)?o[l]=[o[l],t]:o[l]=t,!c):((!o[l]||!b.isObject(o[l]))&&(o[l]=[]),n(r,t,o[l],s)&&b.isArray(o[l])&&(o[l]=Sn(o[l])),!c)}if(b.isFormData(e)&&b.isFunction(e.entries)){const r={};return b.forEachEntry(e,(t,o)=>{n(_n(t),o,r,0)}),r}return null}function Rn(e,n,r){if(b.isString(e))try{return(n||JSON.parse)(e),b.trim(e)}catch(t){if(t.name!=="SyntaxError")throw t}return(r||JSON.stringify)(e)}const oe={transitional:ht,adapter:["xhr","http","fetch"],transformRequest:[function(n,r){const t=r.getContentType()||"",o=t.indexOf("application/json")>-1,s=b.isObject(n);if(s&&b.isHTMLForm(n)&&(n=new FormData(n)),b.isFormData(n))return o?JSON.stringify(pt(n)):n;if(b.isArrayBuffer(n)||b.isBuffer(n)||b.isStream(n)||b.isFile(n)||b.isBlob(n)||b.isReadableStream(n))return n;if(b.isArrayBufferView(n))return n.buffer;if(b.isURLSearchParams(n))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let c;if(s){if(t.indexOf("application/x-www-form-urlencoded")>-1)return wn(n,this.formSerializer).toString();if((c=b.isFileList(n))||t.indexOf("multipart/form-data")>-1){const B=this.env&&this.env.FormData;return N0(c?{"files[]":n}:n,B&&new B,this.formSerializer)}}return s||o?(r.setContentType("application/json",!1),Rn(n)):n}],transformResponse:[function(n){const r=this.transitional||oe.transitional,t=r&&r.forcedJSONParsing,o=this.responseType==="json";if(b.isResponse(n)||b.isReadableStream(n))return n;if(n&&b.isString(n)&&(t&&!this.responseType||o)){const l=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(n)}catch(c){if(l)throw c.name==="SyntaxError"?L.from(c,L.ERR_BAD_RESPONSE,this,null,this.response):c}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$.classes.FormData,Blob:$.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};b.forEach(["delete","get","head","post","put","patch"],e=>{oe.headers[e]={}});const ae=oe,kn=b.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"]),Hn=e=>{const n={};let r,t,o;return e&&e.split(`
`).forEach(function(l){o=l.indexOf(":"),r=l.substring(0,o).trim().toLowerCase(),t=l.substring(o+1).trim(),!(!r||n[r]&&kn[r])&&(r==="set-cookie"?n[r]?n[r].push(t):n[r]=[t]:n[r]=n[r]?n[r]+", "+t:t)}),n},vt=Symbol("internals");function b0(e){return e&&String(e).trim().toLowerCase()}function U0(e){return e===!1||e==null?e:b.isArray(e)?e.map(U0):String(e)}function Tn(e){const n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let t;for(;t=r.exec(e);)n[t[1]]=t[2];return n}const On=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ie(e,n,r,t,o){if(b.isFunction(t))return t.call(this,n,r);if(o&&(n=r),!!b.isString(n)){if(b.isString(t))return n.indexOf(t)!==-1;if(b.isRegExp(t))return t.test(n)}}function Pn(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,r,t)=>r.toUpperCase()+t)}function zn(e,n){const r=b.toCamelCase(" "+n);["get","set","has"].forEach(t=>{Object.defineProperty(e,t+r,{value:function(o,s,l){return this[t].call(this,n,o,s,l)},configurable:!0})})}class I0{constructor(n){n&&this.set(n)}set(n,r,t){const o=this;function s(c,B,a){const i=b0(B);if(!i)throw new Error("header name must be a non-empty string");const E=b.findKey(o,i);(!E||o[E]===void 0||a===!0||a===void 0&&o[E]!==!1)&&(o[E||B]=U0(c))}const l=(c,B)=>b.forEach(c,(a,i)=>s(a,i,B));if(b.isPlainObject(n)||n instanceof this.constructor)l(n,r);else if(b.isString(n)&&(n=n.trim())&&!On(n))l(Hn(n),r);else if(b.isHeaders(n))for(const[c,B]of n.entries())s(B,c,t);else n!=null&&s(r,n,t);return this}get(n,r){if(n=b0(n),n){const t=b.findKey(this,n);if(t){const o=this[t];if(!r)return o;if(r===!0)return Tn(o);if(b.isFunction(r))return r.call(this,o,t);if(b.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,r){if(n=b0(n),n){const t=b.findKey(this,n);return!!(t&&this[t]!==void 0&&(!r||ie(this,this[t],t,r)))}return!1}delete(n,r){const t=this;let o=!1;function s(l){if(l=b0(l),l){const c=b.findKey(t,l);c&&(!r||ie(t,t[c],c,r))&&(delete t[c],o=!0)}}return b.isArray(n)?n.forEach(s):s(n),o}clear(n){const r=Object.keys(this);let t=r.length,o=!1;for(;t--;){const s=r[t];(!n||ie(this,this[s],s,n,!0))&&(delete this[s],o=!0)}return o}normalize(n){const r=this,t={};return b.forEach(this,(o,s)=>{const l=b.findKey(t,s);if(l){r[l]=U0(o),delete r[s];return}const c=n?Pn(s):String(s).trim();c!==s&&delete r[s],r[c]=U0(o),t[c]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const r=Object.create(null);return b.forEach(this,(t,o)=>{t!=null&&t!==!1&&(r[o]=n&&b.isArray(t)?t.join(", "):t)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,r])=>n+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...r){const t=new this(n);return r.forEach(o=>t.set(o)),t}static accessor(n){const t=(this[vt]=this[vt]={accessors:{}}).accessors,o=this.prototype;function s(l){const c=b0(l);t[c]||(zn(o,l),t[c]=!0)}return b.isArray(n)?n.forEach(s):s(n),this}}I0.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),b.reduceDescriptors(I0.prototype,({value:e},n)=>{let r=n[0].toUpperCase()+n.slice(1);return{get:()=>e,set(t){this[r]=t}}}),b.freezeMethods(I0);const i0=I0;function se(e,n){const r=this||ae,t=n||r,o=i0.from(t.headers);let s=t.data;return b.forEach(e,function(c){s=c.call(r,s,o.normalize(),n?n.status:void 0)}),o.normalize(),s}function Bt(e){return!!(e&&e.__CANCEL__)}function C0(e,n,r){L.call(this,e??"canceled",L.ERR_CANCELED,n,r),this.name="CanceledError"}b.inherits(C0,L,{__CANCEL__:!0});function Et(e,n,r){const t=r.config.validateStatus;!r.status||!t||t(r.status)?e(r):n(new L("Request failed with status code "+r.status,[L.ERR_BAD_REQUEST,L.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Nn(e){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return n&&n[1]||""}function Un(e,n){e=e||10;const r=new Array(e),t=new Array(e);let o=0,s=0,l;return n=n!==void 0?n:1e3,function(B){const a=Date.now(),i=t[s];l||(l=a),r[o]=B,t[o]=a;let E=s,x=0;for(;E!==o;)x+=r[E++],E=E%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),a-l<n)return;const p=i&&a-i;return p?Math.round(x*1e3/p):void 0}}function In(e,n){let r=0,t=1e3/n,o,s;const l=(a,i=Date.now())=>{r=i,o=null,s&&(clearTimeout(s),s=null),e.apply(null,a)};return[(...a)=>{const i=Date.now(),E=i-r;E>=t?l(a,i):(o=a,s||(s=setTimeout(()=>{s=null,l(o)},t-E)))},()=>o&&l(o)]}const q0=(e,n,r=3)=>{let t=0;const o=Un(50,250);return In(s=>{const l=s.loaded,c=s.lengthComputable?s.total:void 0,B=l-t,a=o(B),i=l<=c;t=l;const E={loaded:l,total:c,progress:c?l/c:void 0,bytes:B,rate:a||void 0,estimated:a&&c&&i?(c-l)/a:void 0,event:s,lengthComputable:c!=null,[n?"download":"upload"]:!0};e(E)},r)},Ct=(e,n)=>{const r=e!=null;return[t=>n[0]({lengthComputable:r,total:e,loaded:t}),n[1]]},Ft=e=>(...n)=>b.asap(()=>e(...n)),qn=$.hasStandardBrowserEnv?((e,n)=>r=>(r=new URL(r,$.origin),e.protocol===r.protocol&&e.host===r.host&&(n||e.port===r.port)))(new URL($.origin),$.navigator&&/(msie|trident)/i.test($.navigator.userAgent)):()=>!0,Ln=$.hasStandardBrowserEnv?{write(e,n,r,t,o,s){const l=[e+"="+encodeURIComponent(n)];b.isNumber(r)&&l.push("expires="+new Date(r).toGMTString()),b.isString(t)&&l.push("path="+t),b.isString(o)&&l.push("domain="+o),s===!0&&l.push("secure"),document.cookie=l.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 Wn(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function jn(e,n){return n?e.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):e}function Dt(e,n){return e&&!Wn(n)?jn(e,n):n}const gt=e=>e instanceof i0?{...e}:e;function h0(e,n){n=n||{};const r={};function t(a,i,E,x){return b.isPlainObject(a)&&b.isPlainObject(i)?b.merge.call({caseless:x},a,i):b.isPlainObject(i)?b.merge({},i):b.isArray(i)?i.slice():i}function o(a,i,E,x){if(b.isUndefined(i)){if(!b.isUndefined(a))return t(void 0,a,E,x)}else return t(a,i,E,x)}function s(a,i){if(!b.isUndefined(i))return t(void 0,i)}function l(a,i){if(b.isUndefined(i)){if(!b.isUndefined(a))return t(void 0,a)}else return t(void 0,i)}function c(a,i,E){if(E in n)return t(a,i);if(E in e)return t(void 0,a)}const B={url:s,method:s,data:s,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:c,headers:(a,i,E)=>o(gt(a),gt(i),E,!0)};return b.forEach(Object.keys(Object.assign({},e,n)),function(i){const E=B[i]||o,x=E(e[i],n[i],i);b.isUndefined(x)&&E!==c||(r[i]=x)}),r}const mt=e=>{const n=h0({},e);let{data:r,withXSRFToken:t,xsrfHeaderName:o,xsrfCookieName:s,headers:l,auth:c}=n;n.headers=l=i0.from(l),n.url=dt(Dt(n.baseURL,n.url),e.params,e.paramsSerializer),c&&l.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):"")));let B;if(b.isFormData(r)){if($.hasStandardBrowserEnv||$.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((B=l.getContentType())!==!1){const[a,...i]=B?B.split(";").map(E=>E.trim()).filter(Boolean):[];l.setContentType([a||"multipart/form-data",...i].join("; "))}}if($.hasStandardBrowserEnv&&(t&&b.isFunction(t)&&(t=t(n)),t||t!==!1&&qn(n.url))){const a=o&&s&&Ln.read(s);a&&l.set(o,a)}return n},Qn=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(r,t){const o=mt(e);let s=o.data;const l=i0.from(o.headers).normalize();let{responseType:c,onUploadProgress:B,onDownloadProgress:a}=o,i,E,x,p,f;function h(){p&&p(),f&&f(),o.cancelToken&&o.cancelToken.unsubscribe(i),o.signal&&o.signal.removeEventListener("abort",i)}let u=new XMLHttpRequest;u.open(o.method.toUpperCase(),o.url,!0),u.timeout=o.timeout;function C(){if(!u)return;const A=i0.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),D={data:!c||c==="text"||c==="json"?u.responseText:u.response,status:u.status,statusText:u.statusText,headers:A,config:e,request:u};Et(function(m){r(m),h()},function(m){t(m),h()},D),u=null}"onloadend"in u?u.onloadend=C:u.onreadystatechange=function(){!u||u.readyState!==4||u.status===0&&!(u.responseURL&&u.responseURL.indexOf("file:")===0)||setTimeout(C)},u.onabort=function(){u&&(t(new L("Request aborted",L.ECONNABORTED,e,u)),u=null)},u.onerror=function(){t(new L("Network Error",L.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let v=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const D=o.transitional||ht;o.timeoutErrorMessage&&(v=o.timeoutErrorMessage),t(new L(v,D.clarifyTimeoutError?L.ETIMEDOUT:L.ECONNABORTED,e,u)),u=null},s===void 0&&l.setContentType(null),"setRequestHeader"in u&&b.forEach(l.toJSON(),function(v,D){u.setRequestHeader(D,v)}),b.isUndefined(o.withCredentials)||(u.withCredentials=!!o.withCredentials),c&&c!=="json"&&(u.responseType=o.responseType),a&&([x,f]=q0(a,!0),u.addEventListener("progress",x)),B&&u.upload&&([E,p]=q0(B),u.upload.addEventListener("progress",E),u.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(i=A=>{u&&(t(!A||A.type?new C0(null,e,u):A),u.abort(),u=null)},o.cancelToken&&o.cancelToken.subscribe(i),o.signal&&(o.signal.aborted?i():o.signal.addEventListener("abort",i)));const d=Nn(o.url);if(d&&$.protocols.indexOf(d)===-1){t(new L("Unsupported protocol "+d+":",L.ERR_BAD_REQUEST,e));return}u.send(s||null)})},Mn=(e,n)=>{const{length:r}=e=e?e.filter(Boolean):[];if(n||r){let t=new AbortController,o;const s=function(a){if(!o){o=!0,c();const i=a instanceof Error?a:this.reason;t.abort(i instanceof L?i:new C0(i instanceof Error?i.message:i))}};let l=n&&setTimeout(()=>{l=null,s(new L(`timeout ${n} of ms exceeded`,L.ETIMEDOUT))},n);const c=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(a=>{a.unsubscribe?a.unsubscribe(s):a.removeEventListener("abort",s)}),e=null)};e.forEach(a=>a.addEventListener("abort",s));const{signal:B}=t;return B.unsubscribe=()=>b.asap(c),B}},Kn=function*(e,n){let r=e.byteLength;if(!n||r<n){yield e;return}let t=0,o;for(;t<r;)o=t+n,yield e.slice(t,o),t=o},Gn=async function*(e,n){for await(const r of Jn(e))yield*Kn(r,n)},Jn=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const n=e.getReader();try{for(;;){const{done:r,value:t}=await n.read();if(r)break;yield t}}finally{await n.cancel()}},yt=(e,n,r,t)=>{const o=Gn(e,n);let s=0,l,c=B=>{l||(l=!0,t&&t(B))};return new ReadableStream({async pull(B){try{const{done:a,value:i}=await o.next();if(a){c(),B.close();return}let E=i.byteLength;if(r){let x=s+=E;r(x)}B.enqueue(new Uint8Array(i))}catch(a){throw c(a),a}},cancel(B){return c(B),o.return()}},{highWaterMark:2})},L0=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",bt=L0&&typeof ReadableStream=="function",Vn=L0&&(typeof TextEncoder=="function"?(e=>n=>e.encode(n))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),wt=(e,...n)=>{try{return!!e(...n)}catch{return!1}},Xn=bt&&wt(()=>{let e=!1;const n=new Request($.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!n}),_t=64*1024,xe=bt&&wt(()=>b.isReadableStream(new Response("").body)),W0={stream:xe&&(e=>e.body)};L0&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(n=>{!W0[n]&&(W0[n]=b.isFunction(e[n])?r=>r[n]():(r,t)=>{throw new L(`Response type '${n}' is not supported`,L.ERR_NOT_SUPPORT,t)})})})(new Response);const Zn=async e=>{if(e==null)return 0;if(b.isBlob(e))return e.size;if(b.isSpecCompliantForm(e))return(await new Request($.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(b.isArrayBufferView(e)||b.isArrayBuffer(e))return e.byteLength;if(b.isURLSearchParams(e)&&(e=e+""),b.isString(e))return(await Vn(e)).byteLength},Yn=async(e,n)=>{const r=b.toFiniteNumber(e.getContentLength());return r??Zn(n)},ce={http:Bn,xhr:Qn,fetch:L0&&(async e=>{let{url:n,method:r,data:t,signal:o,cancelToken:s,timeout:l,onDownloadProgress:c,onUploadProgress:B,responseType:a,headers:i,withCredentials:E="same-origin",fetchOptions:x}=mt(e);a=a?(a+"").toLowerCase():"text";let p=Mn([o,s&&s.toAbortSignal()],l),f;const h=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let u;try{if(B&&Xn&&r!=="get"&&r!=="head"&&(u=await Yn(i,t))!==0){let D=new Request(n,{method:"POST",body:t,duplex:"half"}),g;if(b.isFormData(t)&&(g=D.headers.get("content-type"))&&i.setContentType(g),D.body){const[m,w]=Ct(u,q0(Ft(B)));t=yt(D.body,_t,m,w)}}b.isString(E)||(E=E?"include":"omit");const C="credentials"in Request.prototype;f=new Request(n,{...x,signal:p,method:r.toUpperCase(),headers:i.normalize().toJSON(),body:t,duplex:"half",credentials:C?E:void 0});let d=await fetch(f);const A=xe&&(a==="stream"||a==="response");if(xe&&(c||A&&h)){const D={};["status","statusText","headers"].forEach(P=>{D[P]=d[P]});const g=b.toFiniteNumber(d.headers.get("content-length")),[m,w]=c&&Ct(g,q0(Ft(c),!0))||[];d=new Response(yt(d.body,_t,m,()=>{w&&w(),h&&h()}),D)}a=a||"text";let v=await W0[b.findKey(W0,a)||"text"](d,e);return!A&&h&&h(),await new Promise((D,g)=>{Et(D,g,{data:v,headers:i0.from(d.headers),status:d.status,statusText:d.statusText,config:e,request:f})})}catch(C){throw h&&h(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new L("Network Error",L.ERR_NETWORK,e,f),{cause:C.cause||C}):L.from(C,C&&C.code,e,f)}})};b.forEach(ce,(e,n)=>{if(e){try{Object.defineProperty(e,"name",{value:n})}catch{}Object.defineProperty(e,"adapterName",{value:n})}});const St=e=>`- ${e}`,$n=e=>b.isFunction(e)||e===null||e===!1,Rt={getAdapter:e=>{e=b.isArray(e)?e:[e];const{length:n}=e;let r,t;const o={};for(let s=0;s<n;s++){r=e[s];let l;if(t=r,!$n(r)&&(t=ce[(l=String(r)).toLowerCase()],t===void 0))throw new L(`Unknown adapter '${l}'`);if(t)break;o[l||"#"+s]=t}if(!t){const s=Object.entries(o).map(([c,B])=>`adapter ${c} `+(B===!1?"is not supported by the environment":"is not available in the build"));let l=n?s.length>1?`since :
`+s.map(St).join(`
`):" "+St(s[0]):"as no adapter specified";throw new L("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return t},adapters:ce};function fe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new C0(null,e)}function kt(e){return fe(e),e.headers=i0.from(e.headers),e.data=se.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Rt.getAdapter(e.adapter||ae.adapter)(e).then(function(t){return fe(e),t.data=se.call(e,e.transformResponse,t),t.headers=i0.from(t.headers),t},function(t){return Bt(t)||(fe(e),t&&t.response&&(t.response.data=se.call(e,e.transformResponse,t.response),t.response.headers=i0.from(t.response.headers))),Promise.reject(t)})}const Ht="1.7.9",j0={};["object","boolean","number","function","string","symbol"].forEach((e,n)=>{j0[e]=function(t){return typeof t===e||"a"+(n<1?"n ":" ")+e}});const Tt={};j0.transitional=function(n,r,t){function o(s,l){return"[Axios v"+Ht+"] Transitional option '"+s+"'"+l+(t?". "+t:"")}return(s,l,c)=>{if(n===!1)throw new L(o(l," has been removed"+(r?" in "+r:"")),L.ERR_DEPRECATED);return r&&!Tt[l]&&(Tt[l]=!0,console.warn(o(l," has been deprecated since v"+r+" and will be removed in the near future"))),n?n(s,l,c):!0}},j0.spelling=function(n){return(r,t)=>(console.warn(`${t} is likely a misspelling of ${n}`),!0)};function eo(e,n,r){if(typeof e!="object")throw new L("options must be an object",L.ERR_BAD_OPTION_VALUE);const t=Object.keys(e);let o=t.length;for(;o-- >0;){const s=t[o],l=n[s];if(l){const c=e[s],B=c===void 0||l(c,s,e);if(B!==!0)throw new L("option "+s+" must be "+B,L.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new L("Unknown option "+s,L.ERR_BAD_OPTION)}}const Q0={assertOptions:eo,validators:j0},c0=Q0.validators;class M0{constructor(n){this.defaults=n,this.interceptors={request:new At,response:new At}}async request(n,r){try{return await this._request(n,r)}catch(t){if(t instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";try{t.stack?s&&!String(t.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(t.stack+=`
`+s):t.stack=s}catch{}}throw t}}_request(n,r){typeof n=="string"?(r=r||{},r.url=n):r=n||{},r=h0(this.defaults,r);const{transitional:t,paramsSerializer:o,headers:s}=r;t!==void 0&&Q0.assertOptions(t,{silentJSONParsing:c0.transitional(c0.boolean),forcedJSONParsing:c0.transitional(c0.boolean),clarifyTimeoutError:c0.transitional(c0.boolean)},!1),o!=null&&(b.isFunction(o)?r.paramsSerializer={serialize:o}:Q0.assertOptions(o,{encode:c0.function,serialize:c0.function},!0)),Q0.assertOptions(r,{baseUrl:c0.spelling("baseURL"),withXsrfToken:c0.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let l=s&&b.merge(s.common,s[r.method]);s&&b.forEach(["delete","get","head","post","put","patch","common"],f=>{delete s[f]}),r.headers=i0.concat(l,s);const c=[];let B=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(B=B&&h.synchronous,c.unshift(h.fulfilled,h.rejected))});const a=[];this.interceptors.response.forEach(function(h){a.push(h.fulfilled,h.rejected)});let i,E=0,x;if(!B){const f=[kt.bind(this),void 0];for(f.unshift.apply(f,c),f.push.apply(f,a),x=f.length,i=Promise.resolve(r);E<x;)i=i.then(f[E++],f[E++]);return i}x=c.length;let p=r;for(E=0;E<x;){const f=c[E++],h=c[E++];try{p=f(p)}catch(u){h.call(this,u);break}}try{i=kt.call(this,p)}catch(f){return Promise.reject(f)}for(E=0,x=a.length;E<x;)i=i.then(a[E++],a[E++]);return i}getUri(n){n=h0(this.defaults,n);const r=Dt(n.baseURL,n.url);return dt(r,n.params,n.paramsSerializer)}}b.forEach(["delete","get","head","options"],function(n){M0.prototype[n]=function(r,t){return this.request(h0(t||{},{method:n,url:r,data:(t||{}).data}))}}),b.forEach(["post","put","patch"],function(n){function r(t){return function(s,l,c){return this.request(h0(c||{},{method:n,headers:t?{"Content-Type":"multipart/form-data"}:{},url:s,data:l}))}}M0.prototype[n]=r(),M0.prototype[n+"Form"]=r(!0)});const K0=M0;class le{constructor(n){if(typeof n!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(s){r=s});const t=this;this.promise.then(o=>{if(!t._listeners)return;let s=t._listeners.length;for(;s-- >0;)t._listeners[s](o);t._listeners=null}),this.promise.then=o=>{let s;const l=new Promise(c=>{t.subscribe(c),s=c}).then(o);return l.cancel=function(){t.unsubscribe(s)},l},n(function(s,l,c){t.reason||(t.reason=new C0(s,l,c),r(t.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 r=this._listeners.indexOf(n);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const n=new AbortController,r=t=>{n.abort(t)};return this.subscribe(r),n.signal.unsubscribe=()=>this.unsubscribe(r),n.signal}static source(){let n;return{token:new le(function(o){n=o}),cancel:n}}}const to=le;function ro(e){return function(r){return e.apply(null,r)}}function no(e){return b.isObject(e)&&e.isAxiosError===!0}const ue={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(ue).forEach(([e,n])=>{ue[n]=e});const oo=ue;function Ot(e){const n=new K0(e),r=B0(K0.prototype.request,n);return b.extend(r,K0.prototype,n,{allOwnKeys:!0}),b.extend(r,n,null,{allOwnKeys:!0}),r.create=function(o){return Ot(h0(e,o))},r}const Z=Ot(ae);Z.Axios=K0,Z.CanceledError=C0,Z.CancelToken=to,Z.isCancel=Bt,Z.VERSION=Ht,Z.toFormData=N0,Z.AxiosError=L,Z.Cancel=Z.CanceledError,Z.all=function(n){return Promise.all(n)},Z.spread=ro,Z.isAxiosError=no,Z.mergeConfig=h0,Z.AxiosHeaders=i0,Z.formToJSON=e=>pt(b.isHTMLForm(e)?new FormData(e):e),Z.getAdapter=Rt.getAdapter,Z.HttpStatusCode=oo,Z.default=Z;const ao=Z;var j=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function io(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function so(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var r=function t(){return this instanceof t?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};r.prototype=n.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:function(){return e[t]}})}),r}var Pt={exports:{}};function xo(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var de={exports:{}};const co=so(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var zt;function Q(){return zt||(zt=1,function(e,n){(function(r,t){e.exports=t()})(j,function(){var r=r||function(t,o){var s;if(typeof window<"u"&&window.crypto&&(s=window.crypto),typeof self<"u"&&self.crypto&&(s=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(s=globalThis.crypto),!s&&typeof window<"u"&&window.msCrypto&&(s=window.msCrypto),!s&&typeof j<"u"&&j.crypto&&(s=j.crypto),!s&&typeof xo=="function")try{s=co}catch{}var l=function(){if(s){if(typeof s.getRandomValues=="function")try{return s.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof s.randomBytes=="function")try{return s.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},c=Object.create||function(){function d(){}return function(A){var v;return d.prototype=A,v=new d,d.prototype=null,v}}(),B={},a=B.lib={},i=a.Base=function(){return{extend:function(d){var A=c(this);return d&&A.mixIn(d),(!A.hasOwnProperty("init")||this.init===A.init)&&(A.init=function(){A.$super.init.apply(this,arguments)}),A.init.prototype=A,A.$super=this,A},create:function(){var d=this.extend();return d.init.apply(d,arguments),d},init:function(){},mixIn:function(d){for(var A in d)d.hasOwnProperty(A)&&(this[A]=d[A]);d.hasOwnProperty("toString")&&(this.toString=d.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),E=a.WordArray=i.extend({init:function(d,A){d=this.words=d||[],A!=o?this.sigBytes=A:this.sigBytes=d.length*4},toString:function(d){return(d||p).stringify(this)},concat:function(d){var A=this.words,v=d.words,D=this.sigBytes,g=d.sigBytes;if(this.clamp(),D%4)for(var m=0;m<g;m++){var w=v[m>>>2]>>>24-m%4*8&255;A[D+m>>>2]|=w<<24-(D+m)%4*8}else for(var P=0;P<g;P+=4)A[D+P>>>2]=v[P>>>2];return this.sigBytes+=g,this},clamp:function(){var d=this.words,A=this.sigBytes;d[A>>>2]&=4294967295<<32-A%4*8,d.length=t.ceil(A/4)},clone:function(){var d=i.clone.call(this);return d.words=this.words.slice(0),d},random:function(d){for(var A=[],v=0;v<d;v+=4)A.push(l());return new E.init(A,d)}}),x=B.enc={},p=x.Hex={stringify:function(d){for(var A=d.words,v=d.sigBytes,D=[],g=0;g<v;g++){var m=A[g>>>2]>>>24-g%4*8&255;D.push((m>>>4).toString(16)),D.push((m&15).toString(16))}return D.join("")},parse:function(d){for(var A=d.length,v=[],D=0;D<A;D+=2)v[D>>>3]|=parseInt(d.substr(D,2),16)<<24-D%8*4;return new E.init(v,A/2)}},f=x.Latin1={stringify:function(d){for(var A=d.words,v=d.sigBytes,D=[],g=0;g<v;g++){var m=A[g>>>2]>>>24-g%4*8&255;D.push(String.fromCharCode(m))}return D.join("")},parse:function(d){for(var A=d.length,v=[],D=0;D<A;D++)v[D>>>2]|=(d.charCodeAt(D)&255)<<24-D%4*8;return new E.init(v,A)}},h=x.Utf8={stringify:function(d){try{return decodeURIComponent(escape(f.stringify(d)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(d){return f.parse(unescape(encodeURIComponent(d)))}},u=a.BufferedBlockAlgorithm=i.extend({reset:function(){this._data=new E.init,this._nDataBytes=0},_append:function(d){typeof d=="string"&&(d=h.parse(d)),this._data.concat(d),this._nDataBytes+=d.sigBytes},_process:function(d){var A,v=this._data,D=v.words,g=v.sigBytes,m=this.blockSize,w=m*4,P=g/w;d?P=t.ceil(P):P=t.max((P|0)-this._minBufferSize,0);var F=P*m,y=t.min(F*4,g);if(F){for(var k=0;k<F;k+=m)this._doProcessBlock(D,k);A=D.splice(0,F),v.sigBytes-=y}return new E.init(A,y)},clone:function(){var d=i.clone.call(this);return d._data=this._data.clone(),d},_minBufferSize:0});a.Hasher=u.extend({cfg:i.extend(),init:function(d){this.cfg=this.cfg.extend(d),this.reset()},reset:function(){u.reset.call(this),this._doReset()},update:function(d){return this._append(d),this._process(),this},finalize:function(d){d&&this._append(d);var A=this._doFinalize();return A},blockSize:16,_createHelper:function(d){return function(A,v){return new d.init(v).finalize(A)}},_createHmacHelper:function(d){return function(A,v){return new C.HMAC.init(d,v).finalize(A)}}});var C=B.algo={};return B}(Math);return r})}(de)),de.exports}var Ae={exports:{}},Nt;function G0(){return Nt||(Nt=1,function(e,n){(function(r,t){e.exports=t(Q())})(j,function(r){return function(t){var o=r,s=o.lib,l=s.Base,c=s.WordArray,B=o.x64={};B.Word=l.extend({init:function(a,i){this.high=a,this.low=i}}),B.WordArray=l.extend({init:function(a,i){a=this.words=a||[],i!=t?this.sigBytes=i:this.sigBytes=a.length*8},toX32:function(){for(var a=this.words,i=a.length,E=[],x=0;x<i;x++){var p=a[x];E.push(p.high),E.push(p.low)}return c.create(E,this.sigBytes)},clone:function(){for(var a=l.clone.call(this),i=a.words=this.words.slice(0),E=i.length,x=0;x<E;x++)i[x]=i[x].clone();return a}})}(),r})}(Ae)),Ae.exports}var he={exports:{}},Ut;function fo(){return Ut||(Ut=1,function(e,n){(function(r,t){e.exports=t(Q())})(j,function(r){return function(){if(typeof ArrayBuffer=="function"){var t=r,o=t.lib,s=o.WordArray,l=s.init,c=s.init=function(B){if(B instanceof ArrayBuffer&&(B=new Uint8Array(B)),(B instanceof Int8Array||typeof Uint8ClampedArray<"u"&&B instanceof Uint8ClampedArray||B instanceof Int16Array||B instanceof Uint16Array||B instanceof Int32Array||B instanceof Uint32Array||B instanceof Float32Array||B instanceof Float64Array)&&(B=new Uint8Array(B.buffer,B.byteOffset,B.byteLength)),B instanceof Uint8Array){for(var a=B.byteLength,i=[],E=0;E<a;E++)i[E>>>2]|=B[E]<<24-E%4*8;l.call(this,i,a)}else l.apply(this,arguments)};c.prototype=s}}(),r.lib.WordArray})}(he)),he.exports}var pe={exports:{}},It;function lo(){return It||(It=1,function(e,n){(function(r,t){e.exports=t(Q())})(j,function(r){return function(){var t=r,o=t.lib,s=o.WordArray,l=t.enc;l.Utf16=l.Utf16BE={stringify:function(B){for(var a=B.words,i=B.sigBytes,E=[],x=0;x<i;x+=2){var p=a[x>>>2]>>>16-x%4*8&65535;E.push(String.fromCharCode(p))}return E.join("")},parse:function(B){for(var a=B.length,i=[],E=0;E<a;E++)i[E>>>1]|=B.charCodeAt(E)<<16-E%2*16;return s.create(i,a*2)}},l.Utf16LE={stringify:function(B){for(var a=B.words,i=B.sigBytes,E=[],x=0;x<i;x+=2){var p=c(a[x>>>2]>>>16-x%4*8&65535);E.push(String.fromCharCode(p))}return E.join("")},parse:function(B){for(var a=B.length,i=[],E=0;E<a;E++)i[E>>>1]|=c(B.charCodeAt(E)<<16-E%2*16);return s.create(i,a*2)}};function c(B){return B<<8&4278255360|B>>>8&16711935}}(),r.enc.Utf16})}(pe)),pe.exports}var ve={exports:{}},qt;function p0(){return qt||(qt=1,function(e,n){(function(r,t){e.exports=t(Q())})(j,function(r){return function(){var t=r,o=t.lib,s=o.WordArray,l=t.enc;l.Base64={stringify:function(B){var a=B.words,i=B.sigBytes,E=this._map;B.clamp();for(var x=[],p=0;p<i;p+=3)for(var f=a[p>>>2]>>>24-p%4*8&255,h=a[p+1>>>2]>>>24-(p+1)%4*8&255,u=a[p+2>>>2]>>>24-(p+2)%4*8&255,C=f<<16|h<<8|u,d=0;d<4&&p+d*.75<i;d++)x.push(E.charAt(C>>>6*(3-d)&63));var A=E.charAt(64);if(A)for(;x.length%4;)x.push(A);return x.join("")},parse:function(B){var a=B.length,i=this._map,E=this._reverseMap;if(!E){E=this._reverseMap=[];for(var x=0;x<i.length;x++)E[i.charCodeAt(x)]=x}var p=i.charAt(64);if(p){var f=B.indexOf(p);f!==-1&&(a=f)}return c(B,a,E)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function c(B,a,i){for(var E=[],x=0,p=0;p<a;p++)if(p%4){var f=i[B.charCodeAt(p-1)]<<p%4*2,h=i[B.charCodeAt(p)]>>>6-p%4*2,u=f|h;E[x>>>2]|=u<<24-x%4*8,x++}return s.create(E,x)}}(),r.enc.Base64})}(ve)),ve.exports}var Be={exports:{}},Lt;function uo(){return Lt||(Lt=1,function(e,n){(function(r,t){e.exports=t(Q())})(j,function(r){return function(){var t=r,o=t.lib,s=o.WordArray,l=t.enc;l.Base64url={stringify:function(B,a){a===void 0&&(a=!0);var i=B.words,E=B.sigBytes,x=a?this._safe_map:this._map;B.clamp();for(var p=[],f=0;f<E;f+=3)for(var h=i[f>>>2]>>>24-f%4*8&255,u=i[f+1>>>2]>>>24-(f+1)%4*8&255,C=i[f+2>>>2]>>>24-(f+2)%4*8&255,d=h<<16|u<<8|C,A=0;A<4&&f+A*.75<E;A++)p.push(x.charAt(d>>>6*(3-A)&63));var v=x.charAt(64);if(v)for(;p.length%4;)p.push(v);return p.join("")},parse:function(B,a){a===void 0&&(a=!0);var i=B.length,E=a?this._safe_map:this._map,x=this._reverseMap;if(!x){x=this._reverseMap=[];for(var p=0;p<E.length;p++)x[E.charCodeAt(p)]=p}var f=E.charAt(64);if(f){var h=B.indexOf(f);h!==-1&&(i=h)}return c(B,i,x)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function c(B,a,i){for(var E=[],x=0,p=0;p<a;p++)if(p%4){var f=i[B.charCodeAt(p-1)]<<p%4*2,h=i[B.charCodeAt(p)]>>>6-p%4*2,u=f|h;E[x>>>2]|=u<<24-x%4*8,x++}return s.create(E,x)}}(),r.enc.Base64url})}(Be)),Be.exports}var Ee={exports:{}},Wt;function v0(){return Wt||(Wt=1,function(e,n){(function(r,t){e.exports=t(Q())})(j,function(r){return function(t){var o=r,s=o.lib,l=s.WordArray,c=s.Hasher,B=o.algo,a=[];(function(){for(var h=0;h<64;h++)a[h]=t.abs(t.sin(h+1))*4294967296|0})();var i=B.MD5=c.extend({_doReset:function(){this._hash=new l.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(h,u){for(var C=0;C<16;C++){var d=u+C,A=h[d];h[d]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var v=this._hash.words,D=h[u+0],g=h[u+1],m=h[u+2],w=h[u+3],P=h[u+4],F=h[u+5],y=h[u+6],k=h[u+7],R=h[u+8],N=h[u+9],U=h[u+10],W=h[u+11],J=h[u+12],M=h[u+13],G=h[u+14],K=h[u+15],_=v[0],T=v[1],O=v[2],H=v[3];_=E(_,T,O,H,D,7,a[0]),H=E(H,_,T,O,g,12,a[1]),O=E(O,H,_,T,m,17,a[2]),T=E(T,O,H,_,w,22,a[3]),_=E(_,T,O,H,P,7,a[4]),H=E(H,_,T,O,F,12,a[5]),O=E(O,H,_,T,y,17,a[6]),T=E(T,O,H,_,k,22,a[7]),_=E(_,T,O,H,R,7,a[8]),H=E(H,_,T,O,N,12,a[9]),O=E(O,H,_,T,U,17,a[10]),T=E(T,O,H,_,W,22,a[11]),_=E(_,T,O,H,J,7,a[12]),H=E(H,_,T,O,M,12,a[13]),O=E(O,H,_,T,G,17,a[14]),T=E(T,O,H,_,K,22,a[15]),_=x(_,T,O,H,g,5,a[16]),H=x(H,_,T,O,y,9,a[17]),O=x(O,H,_,T,W,14,a[18]),T=x(T,O,H,_,D,20,a[19]),_=x(_,T,O,H,F,5,a[20]),H=x(H,_,T,O,U,9,a[21]),O=x(O,H,_,T,K,14,a[22]),T=x(T,O,H,_,P,20,a[23]),_=x(_,T,O,H,N,5,a[24]),H=x(H,_,T,O,G,9,a[25]),O=x(O,H,_,T,w,14,a[26]),T=x(T,O,H,_,R,20,a[27]),_=x(_,T,O,H,M,5,a[28]),H=x(H,_,T,O,m,9,a[29]),O=x(O,H,_,T,k,14,a[30]),T=x(T,O,H,_,J,20,a[31]),_=p(_,T,O,H,F,4,a[32]),H=p(H,_,T,O,R,11,a[33]),O=p(O,H,_,T,W,16,a[34]),T=p(T,O,H,_,G,23,a[35]),_=p(_,T,O,H,g,4,a[36]),H=p(H,_,T,O,P,11,a[37]),O=p(O,H,_,T,k,16,a[38]),T=p(T,O,H,_,U,23,a[39]),_=p(_,T,O,H,M,4,a[40]),H=p(H,_,T,O,D,11,a[41]),O=p(O,H,_,T,w,16,a[42]),T=p(T,O,H,_,y,23,a[43]),_=p(_,T,O,H,N,4,a[44]),H=p(H,_,T,O,J,11,a[45]),O=p(O,H,_,T,K,16,a[46]),T=p(T,O,H,_,m,23,a[47]),_=f(_,T,O,H,D,6,a[48]),H=f(H,_,T,O,k,10,a[49]),O=f(O,H,_,T,G,15,a[50]),T=f(T,O,H,_,F,21,a[51]),_=f(_,T,O,H,J,6,a[52]),H=f(H,_,T,O,w,10,a[53]),O=f(O,H,_,T,U,15,a[54]),T=f(T,O,H,_,g,21,a[55]),_=f(_,T,O,H,R,6,a[56]),H=f(H,_,T,O,K,10,a[57]),O=f(O,H,_,T,y,15,a[58]),T=f(T,O,H,_,M,21,a[59]),_=f(_,T,O,H,P,6,a[60]),H=f(H,_,T,O,W,10,a[61]),O=f(O,H,_,T,m,15,a[62]),T=f(T,O,H,_,N,21,a[63]),v[0]=v[0]+_|0,v[1]=v[1]+T|0,v[2]=v[2]+O|0,v[3]=v[3]+H|0},_doFinalize:function(){var h=this._data,u=h.words,C=this._nDataBytes*8,d=h.sigBytes*8;u[d>>>5]|=128<<24-d%32;var A=t.floor(C/4294967296),v=C;u[(d+64>>>9<<4)+15]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,u[(d+64>>>9<<4)+14]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,h.sigBytes=(u.length+1)*4,this._process();for(var D=this._hash,g=D.words,m=0;m<4;m++){var w=g[m];g[m]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360}return D},clone:function(){var h=c.clone.call(this);return h._hash=this._hash.clone(),h}});function E(h,u,C,d,A,v,D){var g=h+(u&C|~u&d)+A+D;return(g<<v|g>>>32-v)+u}function x(h,u,C,d,A,v,D){var g=h+(u&d|C&~d)+A+D;return(g<<v|g>>>32-v)+u}function p(h,u,C,d,A,v,D){var g=h+(u^C^d)+A+D;return(g<<v|g>>>32-v)+u}function f(h,u,C,d,A,v,D){var g=h+(C^(u|~d))+A+D;return(g<<v|g>>>32-v)+u}o.MD5=c._createHelper(i),o.HmacMD5=c._createHmacHelper(i)}(Math),r.MD5})}(Ee)),Ee.exports}var Ce={exports:{}},jt;function Qt(){return jt||(jt=1,function(e,n){(function(r,t){e.exports=t(Q())})(j,function(r){return function(){var t=r,o=t.lib,s=o.WordArray,l=o.Hasher,c=t.algo,B=[],a=c.SHA1=l.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(i,E){for(var x=this._hash.words,p=x[0],f=x[1],h=x[2],u=x[3],C=x[4],d=0;d<80;d++){if(d<16)B[d]=i[E+d]|0;else{var A=B[d-3]^B[d-8]^B[d-14]^B[d-16];B[d]=A<<1|A>>>31}var v=(p<<5|p>>>27)+C+B[d];d<20?v+=(f&h|~f&u)+1518500249:d<40?v+=(f^h^u)+1859775393:d<60?v+=(f&h|f&u|h&u)-1894007588:v+=(f^h^u)-899497514,C=u,u=h,h=f<<30|f>>>2,f=p,p=v}x[0]=x[0]+p|0,x[1]=x[1]+f|0,x[2]=x[2]+h|0,x[3]=x[3]+u|0,x[4]=x[4]+C|0},_doFinalize:function(){var i=this._data,E=i.words,x=this._nDataBytes*8,p=i.sigBytes*8;return E[p>>>5]|=128<<24-p%32,E[(p+64>>>9<<4)+14]=Math.floor(x/4294967296),E[(p+64>>>9<<4)+15]=x,i.sigBytes=E.length*4,this._process(),this._hash},clone:function(){var i=l.clone.call(this);return i._hash=this._hash.clone(),i}});t.SHA1=l._createHelper(a),t.HmacSHA1=l._createHmacHelper(a)}(),r.SHA1})}(Ce)),Ce.exports}var Fe={exports:{}},Mt;function De(){return Mt||(Mt=1,function(e,n){(function(r,t){e.exports=t(Q())})(j,function(r){return function(t){var o=r,s=o.lib,l=s.WordArray,c=s.Hasher,B=o.algo,a=[],i=[];(function(){function p(C){for(var d=t.sqrt(C),A=2;A<=d;A++)if(!(C%A))return!1;return!0}function f(C){return(C-(C|0))*4294967296|0}for(var h=2,u=0;u<64;)p(h)&&(u<8&&(a[u]=f(t.pow(h,1/2))),i[u]=f(t.pow(h,1/3)),u++),h++})();var E=[],x=B.SHA256=c.extend({_doReset:function(){this._hash=new l.init(a.slice(0))},_doProcessBlock:function(p,f){for(var h=this._hash.words,u=h[0],C=h[1],d=h[2],A=h[3],v=h[4],D=h[5],g=h[6],m=h[7],w=0;w<64;w++){if(w<16)E[w]=p[f+w]|0;else{var P=E[w-15],F=(P<<25|P>>>7)^(P<<14|P>>>18)^P>>>3,y=E[w-2],k=(y<<15|y>>>17)^(y<<13|y>>>19)^y>>>10;E[w]=F+E[w-7]+k+E[w-16]}var R=v&D^~v&g,N=u&C^u&d^C&d,U=(u<<30|u>>>2)^(u<<19|u>>>13)^(u<<10|u>>>22),W=(v<<26|v>>>6)^(v<<21|v>>>11)^(v<<7|v>>>25),J=m+W+R+i[w]+E[w],M=U+N;m=g,g=D,D=v,v=A+J|0,A=d,d=C,C=u,u=J+M|0}h[0]=h[0]+u|0,h[1]=h[1]+C|0,h[2]=h[2]+d|0,h[3]=h[3]+A|0,h[4