@pusdn/pgz-comp-elep
Version:
PGZ组件库,Vue3 中基于Element-plus二次封装基础组件文档
11 lines • 1.07 MB
JavaScript
(function(Ue,s){typeof exports=="object"&&typeof module<"u"?s(exports,require("vue"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","element-plus"],s):(Ue=typeof globalThis<"u"?globalThis:Ue||self,s(Ue.TuiPlus={},Ue.Vue,Ue.ElementPlus))})(this,function(Ue,s,_t){"use strict";const Yh=(o=>o&&typeof o=="object"&&"default"in o?o:{default:o})(s);function nc(o,r){return function(){return o.apply(r,arguments)}}const{toString:Xh}=Object.prototype,{getPrototypeOf:Gi}=Object,fr=(o=>r=>{const n=Xh.call(r);return o[n]||(o[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Dn=o=>(o=o.toLowerCase(),r=>fr(r)===o),hr=o=>r=>typeof r===o,{isArray:Ka}=Array,Eo=hr("undefined");function Jh(o){return o!==null&&!Eo(o)&&o.constructor!==null&&!Eo(o.constructor)&&vn(o.constructor.isBuffer)&&o.constructor.isBuffer(o)}const ac=Dn("ArrayBuffer");function Qh(o){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(o):r=o&&o.buffer&&ac(o.buffer),r}const Zh=hr("string"),vn=hr("function"),oc=hr("number"),pr=o=>o!==null&&typeof o=="object",qh=o=>o===!0||o===!1,vr=o=>{if(fr(o)!=="object")return!1;const r=Gi(o);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in o)&&!(Symbol.iterator in o)},$h=Dn("Date"),ep=Dn("File"),tp=Dn("Blob"),np=Dn("FileList"),ap=o=>pr(o)&&vn(o.pipe),op=o=>{let r;return o&&(typeof FormData=="function"&&o instanceof FormData||vn(o.append)&&((r=fr(o))==="formdata"||r==="object"&&vn(o.toString)&&o.toString()==="[object FormData]"))},rp=Dn("URLSearchParams"),[ip,sp,lp,cp]=["ReadableStream","Request","Response","Headers"].map(Dn),up=o=>o.trim?o.trim():o.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Co(o,r,{allOwnKeys:n=!1}={}){if(o===null||typeof o>"u")return;let t,e;if(typeof o!="object"&&(o=[o]),Ka(o))for(t=0,e=o.length;t<e;t++)r.call(null,o[t],t,o);else{const a=n?Object.getOwnPropertyNames(o):Object.keys(o),i=a.length;let l;for(t=0;t<i;t++)l=a[t],r.call(null,o[l],l,o)}}function rc(o,r){r=r.toLowerCase();const n=Object.keys(o);let t=n.length,e;for(;t-- >0;)if(e=n[t],r===e.toLowerCase())return e;return null}const Ta=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),ic=o=>!Eo(o)&&o!==Ta;function Wi(){const{caseless:o}=ic(this)&&this||{},r={},n=(t,e)=>{const a=o&&rc(r,e)||e;vr(r[a])&&vr(t)?r[a]=Wi(r[a],t):vr(t)?r[a]=Wi({},t):Ka(t)?r[a]=t.slice():r[a]=t};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&Co(arguments[t],n);return r}const dp=(o,r,n,{allOwnKeys:t}={})=>(Co(r,(e,a)=>{n&&vn(e)?o[a]=nc(e,n):o[a]=e},{allOwnKeys:t}),o),fp=o=>(o.charCodeAt(0)===65279&&(o=o.slice(1)),o),hp=(o,r,n,t)=>{o.prototype=Object.create(r.prototype,t),o.prototype.constructor=o,Object.defineProperty(o,"super",{value:r.prototype}),n&&Object.assign(o.prototype,n)},pp=(o,r,n,t)=>{let e,a,i;const l={};if(r=r||{},o==null)return r;do{for(e=Object.getOwnPropertyNames(o),a=e.length;a-- >0;)i=e[a],(!t||t(i,o,r))&&!l[i]&&(r[i]=o[i],l[i]=!0);o=n!==!1&&Gi(o)}while(o&&(!n||n(o,r))&&o!==Object.prototype);return r},vp=(o,r,n)=>{o=String(o),(n===void 0||n>o.length)&&(n=o.length),n-=r.length;const t=o.indexOf(r,n);return t!==-1&&t===n},mp=o=>{if(!o)return null;if(Ka(o))return o;let r=o.length;if(!oc(r))return null;const n=new Array(r);for(;r-- >0;)n[r]=o[r];return n},gp=(o=>r=>o&&r instanceof o)(typeof Uint8Array<"u"&&Gi(Uint8Array)),yp=(o,r)=>{const t=(o&&o[Symbol.iterator]).call(o);let e;for(;(e=t.next())&&!e.done;){const a=e.value;r.call(o,a[0],a[1])}},_p=(o,r)=>{let n;const t=[];for(;(n=o.exec(r))!==null;)t.push(n);return t},wp=Dn("HTMLFormElement"),bp=o=>o.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,t,e){return t.toUpperCase()+e}),sc=(({hasOwnProperty:o})=>(r,n)=>o.call(r,n))(Object.prototype),Ep=Dn("RegExp"),lc=(o,r)=>{const n=Object.getOwnPropertyDescriptors(o),t={};Co(n,(e,a)=>{let i;(i=r(e,a,o))!==!1&&(t[a]=i||e)}),Object.defineProperties(o,t)},Cp=o=>{lc(o,(r,n)=>{if(vn(o)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const t=o[n];if(!!vn(t)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Sp=(o,r)=>{const n={},t=e=>{e.forEach(a=>{n[a]=!0})};return Ka(o)?t(o):t(String(o).split(r)),n},kp=()=>{},Tp=(o,r)=>o!=null&&Number.isFinite(o=+o)?o:r,Ki="abcdefghijklmnopqrstuvwxyz",cc="0123456789",uc={DIGIT:cc,ALPHA:Ki,ALPHA_DIGIT:Ki+Ki.toUpperCase()+cc},xp=(o=16,r=uc.ALPHA_DIGIT)=>{let n="";const{length:t}=r;for(;o--;)n+=r[Math.random()*t|0];return n};function Bp(o){return!!(o&&vn(o.append)&&o[Symbol.toStringTag]==="FormData"&&o[Symbol.iterator])}const Ap=o=>{const r=new Array(10),n=(t,e)=>{if(pr(t)){if(r.indexOf(t)>=0)return;if(!("toJSON"in t)){r[e]=t;const a=Ka(t)?[]:{};return Co(t,(i,l)=>{const c=n(i,e+1);!Eo(c)&&(a[l]=c)}),r[e]=void 0,a}}return t};return n(o,0)},Dp=Dn("AsyncFunction"),Pp=o=>o&&(pr(o)||vn(o))&&vn(o.then)&&vn(o.catch),dc=((o,r)=>o?setImmediate:r?((n,t)=>(Ta.addEventListener("message",({source:e,data:a})=>{e===Ta&&a===n&&t.length&&t.shift()()},!1),e=>{t.push(e),Ta.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",vn(Ta.postMessage)),Op=typeof queueMicrotask<"u"?queueMicrotask.bind(Ta):typeof process<"u"&&process.nextTick||dc,Y={isArray:Ka,isArrayBuffer:ac,isBuffer:Jh,isFormData:op,isArrayBufferView:Qh,isString:Zh,isNumber:oc,isBoolean:qh,isObject:pr,isPlainObject:vr,isReadableStream:ip,isRequest:sp,isResponse:lp,isHeaders:cp,isUndefined:Eo,isDate:$h,isFile:ep,isBlob:tp,isRegExp:Ep,isFunction:vn,isStream:ap,isURLSearchParams:rp,isTypedArray:gp,isFileList:np,forEach:Co,merge:Wi,extend:dp,trim:up,stripBOM:fp,inherits:hp,toFlatObject:pp,kindOf:fr,kindOfTest:Dn,endsWith:vp,toArray:mp,forEachEntry:yp,matchAll:_p,isHTMLForm:wp,hasOwnProperty:sc,hasOwnProp:sc,reduceDescriptors:lc,freezeMethods:Cp,toObjectSet:Sp,toCamelCase:bp,noop:kp,toFiniteNumber:Tp,findKey:rc,global:Ta,isContextDefined:ic,ALPHABET:uc,generateString:xp,isSpecCompliantForm:Bp,toJSONObject:Ap,isAsyncFn:Dp,isThenable:Pp,setImmediate:dc,asap:Op};function Me(o,r,n,t,e){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=o,this.name="AxiosError",r&&(this.code=r),n&&(this.config=n),t&&(this.request=t),e&&(this.response=e,this.status=e.status?e.status:null)}Y.inherits(Me,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:Y.toJSONObject(this.config),code:this.code,status:this.status}}});const fc=Me.prototype,hc={};["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(o=>{hc[o]={value:o}}),Object.defineProperties(Me,hc),Object.defineProperty(fc,"isAxiosError",{value:!0}),Me.from=(o,r,n,t,e,a)=>{const i=Object.create(fc);return Y.toFlatObject(o,i,function(c){return c!==Error.prototype},l=>l!=="isAxiosError"),Me.call(i,o.message,r,n,t,e),i.cause=o,i.name=o.name,a&&Object.assign(i,a),i};const Lp=null;function Yi(o){return Y.isPlainObject(o)||Y.isArray(o)}function pc(o){return Y.endsWith(o,"[]")?o.slice(0,-2):o}function vc(o,r,n){return o?o.concat(r).map(function(e,a){return e=pc(e),!n&&a?"["+e+"]":e}).join(n?".":""):r}function Ip(o){return Y.isArray(o)&&!o.some(Yi)}const Mp=Y.toFlatObject(Y,{},null,function(r){return/^is[A-Z]/.test(r)});function mr(o,r,n){if(!Y.isObject(o))throw new TypeError("target must be an object");r=r||new FormData,n=Y.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,m){return!Y.isUndefined(m[g])});const t=n.metaTokens,e=n.visitor||d,a=n.dots,i=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&Y.isSpecCompliantForm(r);if(!Y.isFunction(e))throw new TypeError("visitor must be a function");function u(v){if(v===null)return"";if(Y.isDate(v))return v.toISOString();if(!c&&Y.isBlob(v))throw new Me("Blob is not supported. Use a Buffer instead.");return Y.isArrayBuffer(v)||Y.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function d(v,g,m){let _=v;if(v&&!m&&typeof v=="object"){if(Y.endsWith(g,"{}"))g=t?g:g.slice(0,-2),v=JSON.stringify(v);else if(Y.isArray(v)&&Ip(v)||(Y.isFileList(v)||Y.endsWith(g,"[]"))&&(_=Y.toArray(v)))return g=pc(g),_.forEach(function(y,w){!(Y.isUndefined(y)||y===null)&&r.append(i===!0?vc([g],w,a):i===null?g:g+"[]",u(y))}),!1}return Yi(v)?!0:(r.append(vc(m,g,a),u(v)),!1)}const f=[],h=Object.assign(Mp,{defaultVisitor:d,convertValue:u,isVisitable:Yi});function p(v,g){if(!Y.isUndefined(v)){if(f.indexOf(v)!==-1)throw Error("Circular reference detected in "+g.join("."));f.push(v),Y.forEach(v,function(_,b){(!(Y.isUndefined(_)||_===null)&&e.call(r,_,Y.isString(b)?b.trim():b,g,h))===!0&&p(_,g?g.concat(b):[b])}),f.pop()}}if(!Y.isObject(o))throw new TypeError("data must be an object");return p(o),r}function mc(o){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(o).replace(/[!'()~]|%20|%00/g,function(t){return r[t]})}function Xi(o,r){this._pairs=[],o&&mr(o,this,r)}const gc=Xi.prototype;gc.append=function(r,n){this._pairs.push([r,n])},gc.toString=function(r){const n=r?function(t){return r.call(this,t,mc)}:mc;return this._pairs.map(function(e){return n(e[0])+"="+n(e[1])},"").join("&")};function Np(o){return encodeURIComponent(o).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yc(o,r,n){if(!r)return o;const t=n&&n.encode||Np;Y.isFunction(n)&&(n={serialize:n});const e=n&&n.serialize;let a;if(e?a=e(r,n):a=Y.isURLSearchParams(r)?r.toString():new Xi(r,n).toString(t),a){const i=o.indexOf("#");i!==-1&&(o=o.slice(0,i)),o+=(o.indexOf("?")===-1?"?":"&")+a}return o}class Rp{constructor(){this.handlers=[]}use(r,n,t){return this.handlers.push({fulfilled:r,rejected:n,synchronous:t?t.synchronous:!1,runWhen:t?t.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){Y.forEach(this.handlers,function(t){t!==null&&r(t)})}}const _c=Rp,wc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Vp={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Xi,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Ji=typeof window<"u"&&typeof document<"u",Qi=typeof navigator=="object"&&navigator||void 0,Fp=Ji&&(!Qi||["ReactNative","NativeScript","NS"].indexOf(Qi.product)<0),Hp=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),zp=Ji&&window.location.href||"http://localhost",jt={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ji,hasStandardBrowserWebWorkerEnv:Hp,hasStandardBrowserEnv:Fp,navigator:Qi,origin:zp},Symbol.toStringTag,{value:"Module"})),...Vp};function Up(o,r){return mr(o,new jt.classes.URLSearchParams,Object.assign({visitor:function(n,t,e,a){return jt.isNode&&Y.isBuffer(n)?(this.append(t,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},r))}function jp(o){return Y.matchAll(/\w+|\[(\w*)]/g,o).map(r=>r[0]==="[]"?"":r[1]||r[0])}function Gp(o){const r={},n=Object.keys(o);let t;const e=n.length;let a;for(t=0;t<e;t++)a=n[t],r[a]=o[a];return r}function bc(o){function r(n,t,e,a){let i=n[a++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),c=a>=n.length;return i=!i&&Y.isArray(e)?e.length:i,c?(Y.hasOwnProp(e,i)?e[i]=[e[i],t]:e[i]=t,!l):((!e[i]||!Y.isObject(e[i]))&&(e[i]=[]),r(n,t,e[i],a)&&Y.isArray(e[i])&&(e[i]=Gp(e[i])),!l)}if(Y.isFormData(o)&&Y.isFunction(o.entries)){const n={};return Y.forEachEntry(o,(t,e)=>{r(jp(t),e,n,0)}),n}return null}function Wp(o,r,n){if(Y.isString(o))try{return(r||JSON.parse)(o),Y.trim(o)}catch(t){if(t.name!=="SyntaxError")throw t}return(n||JSON.stringify)(o)}const Zi={transitional:wc,adapter:["xhr","http","fetch"],transformRequest:[function(r,n){const t=n.getContentType()||"",e=t.indexOf("application/json")>-1,a=Y.isObject(r);if(a&&Y.isHTMLForm(r)&&(r=new FormData(r)),Y.isFormData(r))return e?JSON.stringify(bc(r)):r;if(Y.isArrayBuffer(r)||Y.isBuffer(r)||Y.isStream(r)||Y.isFile(r)||Y.isBlob(r)||Y.isReadableStream(r))return r;if(Y.isArrayBufferView(r))return r.buffer;if(Y.isURLSearchParams(r))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let l;if(a){if(t.indexOf("application/x-www-form-urlencoded")>-1)return Up(r,this.formSerializer).toString();if((l=Y.isFileList(r))||t.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return mr(l?{"files[]":r}:r,c&&new c,this.formSerializer)}}return a||e?(n.setContentType("application/json",!1),Wp(r)):r}],transformResponse:[function(r){const n=this.transitional||Zi.transitional,t=n&&n.forcedJSONParsing,e=this.responseType==="json";if(Y.isResponse(r)||Y.isReadableStream(r))return r;if(r&&Y.isString(r)&&(t&&!this.responseType||e)){const i=!(n&&n.silentJSONParsing)&&e;try{return JSON.parse(r)}catch(l){if(i)throw l.name==="SyntaxError"?Me.from(l,Me.ERR_BAD_RESPONSE,this,null,this.response):l}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:jt.classes.FormData,Blob:jt.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Y.forEach(["delete","get","head","post","put","patch"],o=>{Zi.headers[o]={}});const qi=Zi,Kp=Y.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"]),Yp=o=>{const r={};let n,t,e;return o&&o.split(`
`).forEach(function(i){e=i.indexOf(":"),n=i.substring(0,e).trim().toLowerCase(),t=i.substring(e+1).trim(),!(!n||r[n]&&Kp[n])&&(n==="set-cookie"?r[n]?r[n].push(t):r[n]=[t]:r[n]=r[n]?r[n]+", "+t:t)}),r},Ec=Symbol("internals");function So(o){return o&&String(o).trim().toLowerCase()}function gr(o){return o===!1||o==null?o:Y.isArray(o)?o.map(gr):String(o)}function Xp(o){const r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let t;for(;t=n.exec(o);)r[t[1]]=t[2];return r}const Jp=o=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(o.trim());function $i(o,r,n,t,e){if(Y.isFunction(t))return t.call(this,r,n);if(e&&(r=n),!!Y.isString(r)){if(Y.isString(t))return r.indexOf(t)!==-1;if(Y.isRegExp(t))return t.test(r)}}function Qp(o){return o.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,n,t)=>n.toUpperCase()+t)}function Zp(o,r){const n=Y.toCamelCase(" "+r);["get","set","has"].forEach(t=>{Object.defineProperty(o,t+n,{value:function(e,a,i){return this[t].call(this,r,e,a,i)},configurable:!0})})}class yr{constructor(r){r&&this.set(r)}set(r,n,t){const e=this;function a(l,c,u){const d=So(c);if(!d)throw new Error("header name must be a non-empty string");const f=Y.findKey(e,d);(!f||e[f]===void 0||u===!0||u===void 0&&e[f]!==!1)&&(e[f||c]=gr(l))}const i=(l,c)=>Y.forEach(l,(u,d)=>a(u,d,c));if(Y.isPlainObject(r)||r instanceof this.constructor)i(r,n);else if(Y.isString(r)&&(r=r.trim())&&!Jp(r))i(Yp(r),n);else if(Y.isHeaders(r))for(const[l,c]of r.entries())a(c,l,t);else r!=null&&a(n,r,t);return this}get(r,n){if(r=So(r),r){const t=Y.findKey(this,r);if(t){const e=this[t];if(!n)return e;if(n===!0)return Xp(e);if(Y.isFunction(n))return n.call(this,e,t);if(Y.isRegExp(n))return n.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,n){if(r=So(r),r){const t=Y.findKey(this,r);return!!(t&&this[t]!==void 0&&(!n||$i(this,this[t],t,n)))}return!1}delete(r,n){const t=this;let e=!1;function a(i){if(i=So(i),i){const l=Y.findKey(t,i);l&&(!n||$i(t,t[l],l,n))&&(delete t[l],e=!0)}}return Y.isArray(r)?r.forEach(a):a(r),e}clear(r){const n=Object.keys(this);let t=n.length,e=!1;for(;t--;){const a=n[t];(!r||$i(this,this[a],a,r,!0))&&(delete this[a],e=!0)}return e}normalize(r){const n=this,t={};return Y.forEach(this,(e,a)=>{const i=Y.findKey(t,a);if(i){n[i]=gr(e),delete n[a];return}const l=r?Qp(a):String(a).trim();l!==a&&delete n[a],n[l]=gr(e),t[l]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const n=Object.create(null);return Y.forEach(this,(t,e)=>{t!=null&&t!==!1&&(n[e]=r&&Y.isArray(t)?t.join(", "):t)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,n])=>r+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...n){const t=new this(r);return n.forEach(e=>t.set(e)),t}static accessor(r){const t=(this[Ec]=this[Ec]={accessors:{}}).accessors,e=this.prototype;function a(i){const l=So(i);t[l]||(Zp(e,i),t[l]=!0)}return Y.isArray(r)?r.forEach(a):a(r),this}}yr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Y.reduceDescriptors(yr.prototype,({value:o},r)=>{let n=r[0].toUpperCase()+r.slice(1);return{get:()=>o,set(t){this[n]=t}}}),Y.freezeMethods(yr);const Pn=yr;function es(o,r){const n=this||qi,t=r||n,e=Pn.from(t.headers);let a=t.data;return Y.forEach(o,function(l){a=l.call(n,a,e.normalize(),r?r.status:void 0)}),e.normalize(),a}function Cc(o){return!!(o&&o.__CANCEL__)}function Ya(o,r,n){Me.call(this,o==null?"canceled":o,Me.ERR_CANCELED,r,n),this.name="CanceledError"}Y.inherits(Ya,Me,{__CANCEL__:!0});function Sc(o,r,n){const t=n.config.validateStatus;!n.status||!t||t(n.status)?o(n):r(new Me("Request failed with status code "+n.status,[Me.ERR_BAD_REQUEST,Me.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function qp(o){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o);return r&&r[1]||""}function $p(o,r){o=o||10;const n=new Array(o),t=new Array(o);let e=0,a=0,i;return r=r!==void 0?r:1e3,function(c){const u=Date.now(),d=t[a];i||(i=u),n[e]=c,t[e]=u;let f=a,h=0;for(;f!==e;)h+=n[f++],f=f%o;if(e=(e+1)%o,e===a&&(a=(a+1)%o),u-i<r)return;const p=d&&u-d;return p?Math.round(h*1e3/p):void 0}}function e2(o,r){let n=0,t=1e3/r,e,a;const i=(u,d=Date.now())=>{n=d,e=null,a&&(clearTimeout(a),a=null),o.apply(null,u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=t?i(u,d):(e=u,a||(a=setTimeout(()=>{a=null,i(e)},t-f)))},()=>e&&i(e)]}const _r=(o,r,n=3)=>{let t=0;const e=$p(50,250);return e2(a=>{const i=a.loaded,l=a.lengthComputable?a.total:void 0,c=i-t,u=e(c),d=i<=l;t=i;const f={loaded:i,total:l,progress:l?i/l:void 0,bytes:c,rate:u||void 0,estimated:u&&l&&d?(l-i)/u:void 0,event:a,lengthComputable:l!=null,[r?"download":"upload"]:!0};o(f)},n)},kc=(o,r)=>{const n=o!=null;return[t=>r[0]({lengthComputable:n,total:o,loaded:t}),r[1]]},Tc=o=>(...r)=>Y.asap(()=>o(...r)),t2=jt.hasStandardBrowserEnv?((o,r)=>n=>(n=new URL(n,jt.origin),o.protocol===n.protocol&&o.host===n.host&&(r||o.port===n.port)))(new URL(jt.origin),jt.navigator&&/(msie|trident)/i.test(jt.navigator.userAgent)):()=>!0,n2=jt.hasStandardBrowserEnv?{write(o,r,n,t,e,a){const i=[o+"="+encodeURIComponent(r)];Y.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),Y.isString(t)&&i.push("path="+t),Y.isString(e)&&i.push("domain="+e),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(o){const r=document.cookie.match(new RegExp("(^|;\\s*)("+o+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove(o){this.write(o,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function a2(o){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o)}function o2(o,r){return r?o.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):o}function xc(o,r){return o&&!a2(r)?o2(o,r):r}const Bc=o=>o instanceof Pn?{...o}:o;function xa(o,r){r=r||{};const n={};function t(u,d,f,h){return Y.isPlainObject(u)&&Y.isPlainObject(d)?Y.merge.call({caseless:h},u,d):Y.isPlainObject(d)?Y.merge({},d):Y.isArray(d)?d.slice():d}function e(u,d,f,h){if(Y.isUndefined(d)){if(!Y.isUndefined(u))return t(void 0,u,f,h)}else return t(u,d,f,h)}function a(u,d){if(!Y.isUndefined(d))return t(void 0,d)}function i(u,d){if(Y.isUndefined(d)){if(!Y.isUndefined(u))return t(void 0,u)}else return t(void 0,d)}function l(u,d,f){if(f in r)return t(u,d);if(f in o)return t(void 0,u)}const c={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(u,d,f)=>e(Bc(u),Bc(d),f,!0)};return Y.forEach(Object.keys(Object.assign({},o,r)),function(d){const f=c[d]||e,h=f(o[d],r[d],d);Y.isUndefined(h)&&f!==l||(n[d]=h)}),n}const Ac=o=>{const r=xa({},o);let{data:n,withXSRFToken:t,xsrfHeaderName:e,xsrfCookieName:a,headers:i,auth:l}=r;r.headers=i=Pn.from(i),r.url=yc(xc(r.baseURL,r.url),o.params,o.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let c;if(Y.isFormData(n)){if(jt.hasStandardBrowserEnv||jt.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((c=i.getContentType())!==!1){const[u,...d]=c?c.split(";").map(f=>f.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...d].join("; "))}}if(jt.hasStandardBrowserEnv&&(t&&Y.isFunction(t)&&(t=t(r)),t||t!==!1&&t2(r.url))){const u=e&&a&&n2.read(a);u&&i.set(e,u)}return r},r2=typeof XMLHttpRequest<"u"&&function(o){return new Promise(function(n,t){const e=Ac(o);let a=e.data;const i=Pn.from(e.headers).normalize();let{responseType:l,onUploadProgress:c,onDownloadProgress:u}=e,d,f,h,p,v;function g(){p&&p(),v&&v(),e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}let m=new XMLHttpRequest;m.open(e.method.toUpperCase(),e.url,!0),m.timeout=e.timeout;function _(){if(!m)return;const y=Pn.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),S={data:!l||l==="text"||l==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:y,config:o,request:m};Sc(function(C){n(C),g()},function(C){t(C),g()},S),m=null}"onloadend"in m?m.onloadend=_:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(_)},m.onabort=function(){!m||(t(new Me("Request aborted",Me.ECONNABORTED,o,m)),m=null)},m.onerror=function(){t(new Me("Network Error",Me.ERR_NETWORK,o,m)),m=null},m.ontimeout=function(){let w=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const S=e.transitional||wc;e.timeoutErrorMessage&&(w=e.timeoutErrorMessage),t(new Me(w,S.clarifyTimeoutError?Me.ETIMEDOUT:Me.ECONNABORTED,o,m)),m=null},a===void 0&&i.setContentType(null),"setRequestHeader"in m&&Y.forEach(i.toJSON(),function(w,S){m.setRequestHeader(S,w)}),Y.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),l&&l!=="json"&&(m.responseType=e.responseType),u&&([h,v]=_r(u,!0),m.addEventListener("progress",h)),c&&m.upload&&([f,p]=_r(c),m.upload.addEventListener("progress",f),m.upload.addEventListener("loadend",p)),(e.cancelToken||e.signal)&&(d=y=>{!m||(t(!y||y.type?new Ya(null,o,m):y),m.abort(),m=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d)));const b=qp(e.url);if(b&&jt.protocols.indexOf(b)===-1){t(new Me("Unsupported protocol "+b+":",Me.ERR_BAD_REQUEST,o));return}m.send(a||null)})},i2=(o,r)=>{const{length:n}=o=o?o.filter(Boolean):[];if(r||n){let t=new AbortController,e;const a=function(u){if(!e){e=!0,l();const d=u instanceof Error?u:this.reason;t.abort(d instanceof Me?d:new Ya(d instanceof Error?d.message:d))}};let i=r&&setTimeout(()=>{i=null,a(new Me(`timeout ${r} of ms exceeded`,Me.ETIMEDOUT))},r);const l=()=>{o&&(i&&clearTimeout(i),i=null,o.forEach(u=>{u.unsubscribe?u.unsubscribe(a):u.removeEventListener("abort",a)}),o=null)};o.forEach(u=>u.addEventListener("abort",a));const{signal:c}=t;return c.unsubscribe=()=>Y.asap(l),c}},s2=function*(o,r){let n=o.byteLength;if(!r||n<r){yield o;return}let t=0,e;for(;t<n;)e=t+r,yield o.slice(t,e),t=e},l2=async function*(o,r){for await(const n of c2(o))yield*s2(n,r)},c2=async function*(o){if(o[Symbol.asyncIterator]){yield*o;return}const r=o.getReader();try{for(;;){const{done:n,value:t}=await r.read();if(n)break;yield t}}finally{await r.cancel()}},Dc=(o,r,n,t)=>{const e=l2(o,r);let a=0,i,l=c=>{i||(i=!0,t&&t(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await e.next();if(u){l(),c.close();return}let f=d.byteLength;if(n){let h=a+=f;n(h)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),e.return()}},{highWaterMark:2})},wr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Pc=wr&&typeof ReadableStream=="function",u2=wr&&(typeof TextEncoder=="function"?(o=>r=>o.encode(r))(new TextEncoder):async o=>new Uint8Array(await new Response(o).arrayBuffer())),Oc=(o,...r)=>{try{return!!o(...r)}catch{return!1}},d2=Pc&&Oc(()=>{let o=!1;const r=new Request(jt.origin,{body:new ReadableStream,method:"POST",get duplex(){return o=!0,"half"}}).headers.has("Content-Type");return o&&!r}),Lc=64*1024,ts=Pc&&Oc(()=>Y.isReadableStream(new Response("").body)),br={stream:ts&&(o=>o.body)};wr&&(o=>{["text","arrayBuffer","blob","formData","stream"].forEach(r=>{!br[r]&&(br[r]=Y.isFunction(o[r])?n=>n[r]():(n,t)=>{throw new Me(`Response type '${r}' is not supported`,Me.ERR_NOT_SUPPORT,t)})})})(new Response);const f2=async o=>{if(o==null)return 0;if(Y.isBlob(o))return o.size;if(Y.isSpecCompliantForm(o))return(await new Request(jt.origin,{method:"POST",body:o}).arrayBuffer()).byteLength;if(Y.isArrayBufferView(o)||Y.isArrayBuffer(o))return o.byteLength;if(Y.isURLSearchParams(o)&&(o=o+""),Y.isString(o))return(await u2(o)).byteLength},h2=async(o,r)=>{const n=Y.toFiniteNumber(o.getContentLength());return n==null?f2(r):n},ns={http:Lp,xhr:r2,fetch:wr&&(async o=>{let{url:r,method:n,data:t,signal:e,cancelToken:a,timeout:i,onDownloadProgress:l,onUploadProgress:c,responseType:u,headers:d,withCredentials:f="same-origin",fetchOptions:h}=Ac(o);u=u?(u+"").toLowerCase():"text";let p=i2([e,a&&a.toAbortSignal()],i),v;const g=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let m;try{if(c&&d2&&n!=="get"&&n!=="head"&&(m=await h2(d,t))!==0){let S=new Request(r,{method:"POST",body:t,duplex:"half"}),D;if(Y.isFormData(t)&&(D=S.headers.get("content-type"))&&d.setContentType(D),S.body){const[C,B]=kc(m,_r(Tc(c)));t=Dc(S.body,Lc,C,B)}}Y.isString(f)||(f=f?"include":"omit");const _="credentials"in Request.prototype;v=new Request(r,{...h,signal:p,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:t,duplex:"half",credentials:_?f:void 0});let b=await fetch(v);const y=ts&&(u==="stream"||u==="response");if(ts&&(l||y&&g)){const S={};["status","statusText","headers"].forEach(A=>{S[A]=b[A]});const D=Y.toFiniteNumber(b.headers.get("content-length")),[C,B]=l&&kc(D,_r(Tc(l),!0))||[];b=new Response(Dc(b.body,Lc,C,()=>{B&&B(),g&&g()}),S)}u=u||"text";let w=await br[Y.findKey(br,u)||"text"](b,o);return!y&&g&&g(),await new Promise((S,D)=>{Sc(S,D,{data:w,headers:Pn.from(b.headers),status:b.status,statusText:b.statusText,config:o,request:v})})}catch(_){throw g&&g(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new Me("Network Error",Me.ERR_NETWORK,o,v),{cause:_.cause||_}):Me.from(_,_&&_.code,o,v)}})};Y.forEach(ns,(o,r)=>{if(o){try{Object.defineProperty(o,"name",{value:r})}catch{}Object.defineProperty(o,"adapterName",{value:r})}});const Ic=o=>`- ${o}`,p2=o=>Y.isFunction(o)||o===null||o===!1,Mc={getAdapter:o=>{o=Y.isArray(o)?o:[o];const{length:r}=o;let n,t;const e={};for(let a=0;a<r;a++){n=o[a];let i;if(t=n,!p2(n)&&(t=ns[(i=String(n)).toLowerCase()],t===void 0))throw new Me(`Unknown adapter '${i}'`);if(t)break;e[i||"#"+a]=t}if(!t){const a=Object.entries(e).map(([l,c])=>`adapter ${l} `+(c===!1?"is not supported by the environment":"is not available in the build"));let i=r?a.length>1?`since :
`+a.map(Ic).join(`
`):" "+Ic(a[0]):"as no adapter specified";throw new Me("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return t},adapters:ns};function as(o){if(o.cancelToken&&o.cancelToken.throwIfRequested(),o.signal&&o.signal.aborted)throw new Ya(null,o)}function Nc(o){return as(o),o.headers=Pn.from(o.headers),o.data=es.call(o,o.transformRequest),["post","put","patch"].indexOf(o.method)!==-1&&o.headers.setContentType("application/x-www-form-urlencoded",!1),Mc.getAdapter(o.adapter||qi.adapter)(o).then(function(t){return as(o),t.data=es.call(o,o.transformResponse,t),t.headers=Pn.from(t.headers),t},function(t){return Cc(t)||(as(o),t&&t.response&&(t.response.data=es.call(o,o.transformResponse,t.response),t.response.headers=Pn.from(t.response.headers))),Promise.reject(t)})}const Rc="1.7.9",Er={};["object","boolean","number","function","string","symbol"].forEach((o,r)=>{Er[o]=function(t){return typeof t===o||"a"+(r<1?"n ":" ")+o}});const Vc={};Er.transitional=function(r,n,t){function e(a,i){return"[Axios v"+Rc+"] Transitional option '"+a+"'"+i+(t?". "+t:"")}return(a,i,l)=>{if(r===!1)throw new Me(e(i," has been removed"+(n?" in "+n:"")),Me.ERR_DEPRECATED);return n&&!Vc[i]&&(Vc[i]=!0,console.warn(e(i," has been deprecated since v"+n+" and will be removed in the near future"))),r?r(a,i,l):!0}},Er.spelling=function(r){return(n,t)=>(console.warn(`${t} is likely a misspelling of ${r}`),!0)};function v2(o,r,n){if(typeof o!="object")throw new Me("options must be an object",Me.ERR_BAD_OPTION_VALUE);const t=Object.keys(o);let e=t.length;for(;e-- >0;){const a=t[e],i=r[a];if(i){const l=o[a],c=l===void 0||i(l,a,o);if(c!==!0)throw new Me("option "+a+" must be "+c,Me.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Me("Unknown option "+a,Me.ERR_BAD_OPTION)}}const Cr={assertOptions:v2,validators:Er},Vn=Cr.validators;class Sr{constructor(r){this.defaults=r,this.interceptors={request:new _c,response:new _c}}async request(r,n){try{return await this._request(r,n)}catch(t){if(t instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const a=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?a&&!String(t.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(t.stack+=`
`+a):t.stack=a}catch{}}throw t}}_request(r,n){typeof r=="string"?(n=n||{},n.url=r):n=r||{},n=xa(this.defaults,n);const{transitional:t,paramsSerializer:e,headers:a}=n;t!==void 0&&Cr.assertOptions(t,{silentJSONParsing:Vn.transitional(Vn.boolean),forcedJSONParsing:Vn.transitional(Vn.boolean),clarifyTimeoutError:Vn.transitional(Vn.boolean)},!1),e!=null&&(Y.isFunction(e)?n.paramsSerializer={serialize:e}:Cr.assertOptions(e,{encode:Vn.function,serialize:Vn.function},!0)),Cr.assertOptions(n,{baseUrl:Vn.spelling("baseURL"),withXsrfToken:Vn.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=a&&Y.merge(a.common,a[n.method]);a&&Y.forEach(["delete","get","head","post","put","patch","common"],v=>{delete a[v]}),n.headers=Pn.concat(i,a);const l=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(c=c&&g.synchronous,l.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let d,f=0,h;if(!c){const v=[Nc.bind(this),void 0];for(v.unshift.apply(v,l),v.push.apply(v,u),h=v.length,d=Promise.resolve(n);f<h;)d=d.then(v[f++],v[f++]);return d}h=l.length;let p=n;for(f=0;f<h;){const v=l[f++],g=l[f++];try{p=v(p)}catch(m){g.call(this,m);break}}try{d=Nc.call(this,p)}catch(v){return Promise.reject(v)}for(f=0,h=u.length;f<h;)d=d.then(u[f++],u[f++]);return d}getUri(r){r=xa(this.defaults,r);const n=xc(r.baseURL,r.url);return yc(n,r.params,r.paramsSerializer)}}Y.forEach(["delete","get","head","options"],function(r){Sr.prototype[r]=function(n,t){return this.request(xa(t||{},{method:r,url:n,data:(t||{}).data}))}}),Y.forEach(["post","put","patch"],function(r){function n(t){return function(a,i,l){return this.request(xa(l||{},{method:r,headers:t?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}Sr.prototype[r]=n(),Sr.prototype[r+"Form"]=n(!0)});const kr=Sr;class os{constructor(r){if(typeof r!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const t=this;this.promise.then(e=>{if(!t._listeners)return;let a=t._listeners.length;for(;a-- >0;)t._listeners[a](e);t._listeners=null}),this.promise.then=e=>{let a;const i=new Promise(l=>{t.subscribe(l),a=l}).then(e);return i.cancel=function(){t.unsubscribe(a)},i},r(function(a,i,l){t.reason||(t.reason=new Ya(a,i,l),n(t.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const n=this._listeners.indexOf(r);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const r=new AbortController,n=t=>{r.abort(t)};return this.subscribe(n),r.signal.unsubscribe=()=>this.unsubscribe(n),r.signal}static source(){let r;return{token:new os(function(e){r=e}),cancel:r}}}const m2=os;function g2(o){return function(n){return o.apply(null,n)}}function y2(o){return Y.isObject(o)&&o.isAxiosError===!0}const rs={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(rs).forEach(([o,r])=>{rs[r]=o});const _2=rs;function Fc(o){const r=new kr(o),n=nc(kr.prototype.request,r);return Y.extend(n,kr.prototype,r,{allOwnKeys:!0}),Y.extend(n,r,null,{allOwnKeys:!0}),n.create=function(e){return Fc(xa(o,e))},n}const kt=Fc(qi);kt.Axios=kr,kt.CanceledError=Ya,kt.CancelToken=m2,kt.isCancel=Cc,kt.VERSION=Rc,kt.toFormData=mr,kt.AxiosError=Me,kt.Cancel=kt.CanceledError,kt.all=function(r){return Promise.all(r)},kt.spread=g2,kt.isAxiosError=y2,kt.mergeConfig=xa,kt.AxiosHeaders=Pn,kt.formToJSON=o=>bc(Y.isHTMLForm(o)?new FormData(o):o),kt.getAdapter=Mc.getAdapter,kt.HttpStatusCode=_2,kt.default=kt;const Hc=kt;var zc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function w2(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}function b2(o){var r=o.default;if(typeof r=="function"){var n=function(){return r.apply(this,arguments)};n.prototype=r.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(o).forEach(function(t){var e=Object.getOwnPropertyDescriptor(o,t);Object.defineProperty(n,t,e.get?e:{enumerable:!0,get:function(){return o[t]}})}),n}var Uc={exports:{}},jc={exports:{}};(function(){var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(n,t){return n<<t|n>>>32-t},rotr:function(n,t){return n<<32-t|n>>>t},endian:function(n){if(n.constructor==Number)return r.rotl(n,8)&16711935|r.rotl(n,24)&4278255360;for(var t=0;t<n.length;t++)n[t]=r.endian(n[t]);return n},randomBytes:function(n){for(var t=[];n>0;n--)t.push(Math.floor(Math.random()*256));return t},bytesToWords:function(n){for(var t=[],e=0,a=0;e<n.length;e++,a+=8)t[a>>>5]|=n[e]<<24-a%32;return t},wordsToBytes:function(n){for(var t=[],e=0;e<n.length*32;e+=8)t.push(n[e>>>5]>>>24-e%32&255);return t},bytesToHex:function(n){for(var t=[],e=0;e<n.length;e++)t.push((n[e]>>>4).toString(16)),t.push((n[e]&15).toString(16));return t.join("")},hexToBytes:function(n){for(var t=[],e=0;e<n.length;e+=2)t.push(parseInt(n.substr(e,2),16));return t},bytesToBase64:function(n){for(var t=[],e=0;e<n.length;e+=3)for(var a=n[e]<<16|n[e+1]<<8|n[e+2],i=0;i<4;i++)e*8+i*6<=n.length*8?t.push(o.charAt(a>>>6*(3-i)&63)):t.push("=");return t.join("")},base64ToBytes:function(n){n=n.replace(/[^A-Z0-9+\/]/ig,"");for(var t=[],e=0,a=0;e<n.length;a=++e%4)a!=0&&t.push((o.indexOf(n.charAt(e-1))&Math.pow(2,-2*a+8)-1)<<a*2|o.indexOf(n.charAt(e))>>>6-a*2);return t}};jc.exports=r})();var is={utf8:{stringToBytes:function(o){return is.bin.stringToBytes(unescape(encodeURIComponent(o)))},bytesToString:function(o){return decodeURIComponent(escape(is.bin.bytesToString(o)))}},bin:{stringToBytes:function(o){for(var r=[],n=0;n<o.length;n++)r.push(o.charCodeAt(n)&255);return r},bytesToString:function(o){for(var r=[],n=0;n<o.length;n++)r.push(String.fromCharCode(o[n]));return r.join("")}}},Gc=is;/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/var E2=function(o){return o!=null&&(Wc(o)||C2(o)||!!o._isBuffer)};function Wc(o){return!!o.constructor&&typeof o.constructor.isBuffer=="function"&&o.constructor.isBuffer(o)}function C2(o){return typeof o.readFloatLE=="function"&&typeof o.slice=="function"&&Wc(o.slice(0,0))}(function(){var o=jc.exports,r=Gc.utf8,n=E2,t=Gc.bin,e=function(a,i){a.constructor==String?i&&i.encoding==="binary"?a=t.stringToBytes(a):a=r.stringToBytes(a):n(a)?a=Array.prototype.slice.call(a,0):!Array.isArray(a)&&a.constructor!==Uint8Array&&(a=a.toString());for(var l=o.bytesToWords(a),c=a.length*8,u=1732584193,d=-271733879,f=-1732584194,h=271733878,p=0;p<l.length;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360;l[c>>>5]|=128<<c%32,l[(c+64>>>9<<4)+14]=c;for(var v=e._ff,g=e._gg,m=e._hh,_=e._ii,p=0;p<l.length;p+=16){var b=u,y=d,w=f,S=h;u=v(u,d,f,h,l[p+0],7,-680876936),h=v(h,u,d,f,l[p+1],12,-389564586),f=v(f,h,u,d,l[p+2],17,606105819),d=v(d,f,h,u,l[p+3],22,-1044525330),u=v(u,d,f,h,l[p+4],7,-176418897),h=v(h,u,d,f,l[p+5],12,1200080426),f=v(f,h,u,d,l[p+6],17,-1473231341),d=v(d,f,h,u,l[p+7],22,-45705983),u=v(u,d,f,h,l[p+8],7,1770035416),h=v(h,u,d,f,l[p+9],12,-1958414417),f=v(f,h,u,d,l[p+10],17,-42063),d=v(d,f,h,u,l[p+11],22,-1990404162),u=v(u,d,f,h,l[p+12],7,1804603682),h=v(h,u,d,f,l[p+13],12,-40341101),f=v(f,h,u,d,l[p+14],17,-1502002290),d=v(d,f,h,u,l[p+15],22,1236535329),u=g(u,d,f,h,l[p+1],5,-165796510),h=g(h,u,d,f,l[p+6],9,-1069501632),f=g(f,h,u,d,l[p+11],14,643717713),d=g(d,f,h,u,l[p+0],20,-373897302),u=g(u,d,f,h,l[p+5],5,-701558691),h=g(h,u,d,f,l[p+10],9,38016083),f=g(f,h,u,d,l[p+15],14,-660478335),d=g(d,f,h,u,l[p+4],20,-405537848),u=g(u,d,f,h,l[p+9],5,568446438),h=g(h,u,d,f,l[p+14],9,-1019803690),f=g(f,h,u,d,l[p+3],14,-187363961),d=g(d,f,h,u,l[p+8],20,1163531501),u=g(u,d,f,h,l[p+13],5,-1444681467),h=g(h,u,d,f,l[p+2],9,-51403784),f=g(f,h,u,d,l[p+7],14,1735328473),d=g(d,f,h,u,l[p+12],20,-1926607734),u=m(u,d,f,h,l[p+5],4,-378558),h=m(h,u,d,f,l[p+8],11,-2022574463),f=m(f,h,u,d,l[p+11],16,1839030562),d=m(d,f,h,u,l[p+14],23,-35309556),u=m(u,d,f,h,l[p+1],4,-1530992060),h=m(h,u,d,f,l[p+4],11,1272893353),f=m(f,h,u,d,l[p+7],16,-155497632),d=m(d,f,h,u,l[p+10],23,-1094730640),u=m(u,d,f,h,l[p+13],4,681279174),h=m(h,u,d,f,l[p+0],11,-358537222),f=m(f,h,u,d,l[p+3],16,-722521979),d=m(d,f,h,u,l[p+6],23,76029189),u=m(u,d,f,h,l[p+9],4,-640364487),h=m(h,u,d,f,l[p+12],11,-421815835),f=m(f,h,u,d,l[p+15],16,530742520),d=m(d,f,h,u,l[p+2],23,-995338651),u=_(u,d,f,h,l[p+0],6,-198630844),h=_(h,u,d,f,l[p+7],10,1126891415),f=_(f,h,u,d,l[p+14],15,-1416354905),d=_(d,f,h,u,l[p+5],21,-57434055),u=_(u,d,f,h,l[p+12],6,1700485571),h=_(h,u,d,f,l[p+3],10,-1894986606),f=_(f,h,u,d,l[p+10],15,-1051523),d=_(d,f,h,u,l[p+1],21,-2054922799),u=_(u,d,f,h,l[p+8],6,1873313359),h=_(h,u,d,f,l[p+15],10,-30611744),f=_(f,h,u,d,l[p+6],15,-1560198380),d=_(d,f,h,u,l[p+13],21,1309151649),u=_(u,d,f,h,l[p+4],6,-145523070),h=_(h,u,d,f,l[p+11],10,-1120210379),f=_(f,h,u,d,l[p+2],15,718787259),d=_(d,f,h,u,l[p+9],21,-343485551),u=u+b>>>0,d=d+y>>>0,f=f+w>>>0,h=h+S>>>0}return o.endian([u,d,f,h])};e._ff=function(a,i,l,c,u,d,f){var h=a+(i&l|~i&c)+(u>>>0)+f;return(h<<d|h>>>32-d)+i},e._gg=function(a,i,l,c,u,d,f){var h=a+(i&c|l&~c)+(u>>>0)+f;return(h<<d|h>>>32-d)+i},e._hh=function(a,i,l,c,u,d,f){var h=a+(i^l^c)+(u>>>0)+f;return(h<<d|h>>>32-d)+i},e._ii=function(a,i,l,c,u,d,f){var h=a+(l^(i|~c))+(u>>>0)+f;return(h<<d|h>>>32-d)+i},e._blocksize=16,e._digestsize=16,Uc.exports=function(a,i){if(a==null)throw new Error("Illegal argument "+a);var l=o.wordsToBytes(e(a,i));return i&&i.asBytes?l:i&&i.asString?t.bytesToString(l):o.bytesToHex(l)}})();const S2="dd05f1c54d63749eda95f9fa6d49v442a";class Kc{static sortAsc(r){const n=new Array;let t=0;for(const i in r)n[t]=i,t++;const e=n.sort(),a={};for(const i in e)a[e[i]]=r[e[i]];return a}static getSign(r,n){const t=this.parseQueryString(r),e=this.mergeObject(t,n),a=this.sortAsc(e);return Uc.exports(JSON.stringify(a)+S2).toUpperCase()}static parseQueryString(r){const n=/^[^\?]+\?([\w\W]+)$/,t=/([^&=]+)=([\w\W]*?)(&|$|#)/g,e=n.exec(r),a={};let i=r.substring(r.lastIndexOf("/")+1);if(i.includes(",")&&(i.includes("?")&&(i=i.substring(0,i.indexOf("?"))),a["x-path-variable"]=decodeURIComponent(i)),e&&e[1]){const l=e[1];let c;for(;(c=t.exec(l))!=null;)this.myIsNaN(c[2])&&(c[2]=c[2].toString()),a[c[1]]=c[2]}return a}static mergeObject(r,n){if(n&&Object.keys(n).length>0)for(const t in n)n.hasOwnProperty(t)===!0&&(this.myIsNaN(n[t])&&(n[t]=n[t].toString()),r[t]=n[t]);return r}static urlEncode(r,n,t){if(r==null)return"";let e="";const a=typeof r;if(a=="string"||a=="number"||a=="boolean")e+="&"+n+"="+(t==null||t?encodeURIComponent(r):r);else for(const i in r){const l=n==null?i:n+(r instanceof Array?"["+i+"]":"."+i);e+=this.urlEncode(r[i],l,t)}return e}static getDateTimeToString(){const r=new Date,n=r.getFullYear();let t=r.getMonth()+1,e=r.getDate();t<10&&(t="0"+t),e<10&&(e="0"+e);let a=r.getHours(),i=r.getMinutes(),l=r.getSeconds();const c=r.getMilliseconds();return a<10&&(a="0"+a),i<10&&(i="0"+i),l<10&&(l="0"+l),c<10&&(l="0"+c),n+""+t+e+a+i+l}static myIsNaN(r){return typeof r=="number"&&!isNaN(r)}}var Yc;const ss=typeof window<"u",k2=o=>typeof o=="function",T2=o=>typeof o=="string",ls=()=>{};ss&&((Yc=window==null?void 0:window.navigator)==null?void 0:Yc.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function ko(o){return typeof o=="function"?o():s.unref(o)}function Xc(o,r){function n(...t){return new Promise((e,a)=>{Promise.resolve(o(()=>r.apply(this,t),{fn:r,thisArg:this,args:t})).then(e).catch(a)})}return n}const Jc=o=>o();function x2(o,r={}){let n,t,e=ls;const a=l=>{clearTimeout(l),e(),e=ls};return l=>{const c=ko(o),u=ko(r.maxWait);return n&&a(n),c<=0||u!==void 0&&u<=0?(t&&(a(t),t=null),Promise.resolve(l())):new Promise((d,f)=>{e=r.rejectOnCancel?f:d,u&&!t&&(t=setTimeout(()=>{n&&a(n),t=null,d(l())},u)),n=setTimeout(()=>{t&&a(t),t=null,d(l())},c)})}}function B2(o=Jc){const r=s.ref(!0);function n(){r.value=!1}function t(){r.value=!0}const e=(...a)=>{r.value&&o(...a)};return{isActive:s.readonly(r),pause:n,resume:t,eventFilter:e}}function A2(o){return o}function Qc(o){return s.getCurrentScope()?(s.onScopeDispose(o),!0):!1}function D2(o,r=200,n={}){return Xc(x2(r,n),o)}function P2(o,r=!0){s.getCurrentInstance()?s.onMounted(o):r?o():s.nextTick(o)}var Zc=Object.getOwnPropertySymbols,O2=Object.prototype.hasOwnProperty,L2=Object.prototype.propertyIsEnumerable,I2=(o,r)=>{var n={};for(var t in o)O2.call(o,t)&&r.indexOf(t)<0&&(n[t]=o[t]);if(o!=null&&Zc)for(var t of Zc(o))r.indexOf(t)<0&&L2.call(o,t)&&(n[t]=o[t]);return n};function M2(o,r,n={}){const t=n,{eventFilter:e=Jc}=t,a=I2(t,["eventFilter"]);return s.watch(o,Xc(e,r),a)}var N2=Object.defineProperty,R2=Object.defineProperties,V2=Object.getOwnPropertyDescriptors,Tr=Object.getOwnPropertySymbols,qc=Object.prototype.hasOwnProperty,$c=Object.prototype.propertyIsEnumerable,eu=(o,r,n)=>r in o?N2(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,F2=(o,r)=>{for(var n in r||(r={}))qc.call(r,n)&&eu(o,n,r[n]);if(Tr)for(var n of Tr(r))$c.call(r,n)&&eu(o,n,r[n]);return o},H2=(o,r)=>R2(o,V2(r)),z2=(o,r)=>{var n={};for(var t in o)qc.call(o,t)&&r.indexOf(t)<0&&(n[t]=o[t]);if(o!=null&&Tr)for(var t of Tr(o))r.indexOf(t)<0&&$c.call(o,t)&&(n[t]=o[t]);return n};function U2(o,r,n={}){const t=n,{eventFilter:e}=t,a=z2(t,["eventFilter"]),{eventFilter:i,pause:l,resume:c,isActive:u}=B2(e);return{stop:M2(o,r,H2(F2({},a),{eventFilter:i})),pause:l,resume:c,isActive:u}}function tu(o){var r;const n=ko(o);return(r=n==null?void 0:n.$el)!=null?r:n}const xr=ss?window:void 0;function nu(...o){let r,n,t,e;if(T2(o[0])||Array.isArray(o[0])?([n,t,e]=o,r=xr):[r,n,t,e]=o,!r)return ls;Array.isArray(n)||(n=[n]),Array.isArray(t)||(t=[t]);const a=[],i=()=>{a.forEach(d=>d()),a.length=0},l=(d,f,h,p)=>(d.addEventListener(f,h,p),()=>d.removeEventListener(f,h,p)),c=s.watch(()=>[tu(r),ko(e)],([d,f])=>{i(),d&&a.push(...n.flatMap(h=>t.map(p=>l(d,h,p,f))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return Qc(u),u}function j2(o,r=!1){const n=s.ref(),t=()=>n.value=Boolean(o());return t(),P2(t,r),n}const cs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},us="__vueuse_ssr_handlers__";cs[us]=cs[us]||{};const G2=cs[us];function W2(o,r){return G2[o]||r}function K2(o){return o==null?"any":o instanceof Set?"set":o instanceof Map?"map":o instanceof Date?"date":typeof o=="boolean"?"boolean":typeof o=="string"?"string":typeof o=="object"?"object":Number.isNaN(o)?"any":"number"}var Y2=Object.defineProperty,au=Object.getOwnPropertySymbols,X2=Object.prototype.hasOwnProperty,J2=Object.prototype.propertyIsEnumerable,ou=(o,r,n)=>r in o?Y2(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,ru=(o,r)=>{for(var n in r||(r={}))X2.call(r,n)&&ou(o,n,r[n]);if(au)for(var n of au(r))J2.call(r,n)&&ou(o,n,r[n]);return o};const Q2={boolean:{read:o=>o==="true",write:o=>String(o)},object:{read:o=>JSON.parse(o),write:o=>JSON.stringify(o)},number:{read:o=>Number.parseFloat(o),write:o=>String(o)},any:{read:o=>o,write:o=>String(o)},string:{read:o=>o,write:o=>String(o)},map:{read:o=>new Map(JSON.parse(o)),write:o=>JSON.stringify(Array.from(o.entries()))},set:{read:o=>new Set(JSON.parse(o)),write:o=>JSON.stringify(Array.from(o))},date:{read:o=>new Date(o),write:o=>o.toISOString()}},iu="vueuse-storage";function Z2(o,r,n,t={}){var e;const{flush:a="pre",deep:i=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:d,window:f=xr,eventFilter:h,onError:p=B=>{console.error(B)}}=t,v=(d?s.shallowRef:s.ref)(r);if(!n)try{n=W2("getDefaultStorage",()=>{var B;return(B=xr)==null?void 0:B.localStorage})()}catch(B){p(B)}if(!n)return v;const g=ko(r),m=K2(g),_=(e=t.serializer)!=null?e:Q2[m],{pause:b,resume:y}=U2(v,()=>w(v.value),{flush:a,deep:i,eventFilter:h});return f&&l&&(nu(f,"storage",C),nu(f,iu,D)),C(),v;function w(B){try{if(B==null)n.removeItem(o);else{const A=_.write(B),L=n.getItem(o);L!==A&&(n.setItem(o,A),f&&f.dispatchEvent(new CustomEvent(iu,{detail:{key:o,oldValue:L,newValue:A,storageArea:n}})))}}catch(A){p(A)}}function S(B){const A=B?B.newValue:n.getItem(o);if(A==null)return c&&g!==null&&n.setItem(o,_.write(g)),g;if(!B&&u){const L=_.read(A);return k2(u)?u(L,g):m==="object"&&!Array.isArray(L)?ru(ru({},g),L):L}else return typeof A!="string"?A:_.read(A)}function D(B){C(B.detail)}function C(B){if(!(B&&B.storageArea!==n)){if(B&&B.key==null){v.value=g;return}if(!(B&&B.key!==o)){b();try{v.value=S(B)}catch(A){p(A)}finally{B?s.nextTick(y):y()}}}}}var su=Object.getOwnPropertySymbols,q2=Object.prototype.hasOwnProperty,$2=Object.prototype.propertyIsEnumerable,e0=(o,r)=>{var n={};for(var t in o)q2.call(o,t)&&r.indexOf(t)<0&&(n[t]=o[t]);if(o!=null&&su)for(var t of su(o))r.indexOf(t)<0&&$2.call(o,t)&&(n[t]=o[t]);return n};function t0(o,r,n={}){const t=n,{window:e=xr}=t,a=e0(t,["window"]);let i;const l=j2(()=>e&&"ResizeObserver"in e),c=()=>{i&&(i.disconnect(),i=void 0)},u=s.watch(()=>tu(o),f=>{c(),l.value&&e&&f&&(i=new ResizeObserver(r),i.observe(f,a))},{immediate:!0,flush:"post"}),d=()=>{c(),u()};return Qc(d),{isSupported:l,stop:d}}var lu;(function(o){o.UP="UP",o.RIGHT="RIGHT",o.DOWN="DOWN",o.LEFT="LEFT",o.NONE="NONE"})(lu||(lu={}));var n0=Object.defineProperty,cu=Object.getOwnPropertySymbols,a0=Object.prototype.hasOwnProperty,o0=Object.prototype.propertyIsEnumerable,uu=(o,r,n)=>r in o?n0(o,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[r]=n,r0=(o,r)=>{for(var n in r||(r={}))a0.call(r,n)&&uu(o,n,r[n]);if(cu)for(var n of cu(r))o0.call(r,n)&&uu(o,n,r[n]);return o};r0({linear:A2},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45