Files
zyplayer-doc/zyplayer-doc-api/src/main/resources/dist/assets/custom.471d0de0.js
2023-10-15 08:36:55 +08:00

6 lines
48 KiB
JavaScript

var ct=Object.defineProperty,pt=Object.defineProperties;var dt=Object.getOwnPropertyDescriptors;var pr=Object.getOwnPropertySymbols;var yt=Object.prototype.hasOwnProperty,mt=Object.prototype.propertyIsEnumerable;var dr=(r,e,t)=>e in r?ct(r,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):r[e]=t,Ne=(r,e)=>{for(var t in e||(e={}))yt.call(e,t)&&dr(r,t,e[t]);if(pr)for(var t of pr(e))mt.call(e,t)&&dr(r,t,e[t]);return r},Fe=(r,e)=>pt(r,dt(e));import{a1 as ht,B as ce}from"./vendor.6399378c.js";var De={exports:{}},yr=function(e,t){return function(){for(var a=new Array(arguments.length),o=0;o<a.length;o++)a[o]=arguments[o];return e.apply(t,a)}},vt=yr,j=Object.prototype.toString;function mr(r){return j.call(r)==="[object Array]"}function Ie(r){return typeof r=="undefined"}function gt(r){return r!==null&&!Ie(r)&&r.constructor!==null&&!Ie(r.constructor)&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function St(r){return j.call(r)==="[object ArrayBuffer]"}function bt(r){return typeof FormData!="undefined"&&r instanceof FormData}function wt(r){var e;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?e=ArrayBuffer.isView(r):e=r&&r.buffer&&r.buffer instanceof ArrayBuffer,e}function At(r){return typeof r=="string"}function Et(r){return typeof r=="number"}function hr(r){return r!==null&&typeof r=="object"}function Ot(r){return j.call(r)==="[object Date]"}function Pt(r){return j.call(r)==="[object File]"}function $t(r){return j.call(r)==="[object Blob]"}function vr(r){return j.call(r)==="[object Function]"}function xt(r){return hr(r)&&vr(r.pipe)}function Rt(r){return typeof URLSearchParams!="undefined"&&r instanceof URLSearchParams}function Ct(r){return r.replace(/^\s*/,"").replace(/\s*$/,"")}function Nt(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function pe(r,e){if(!(r===null||typeof r=="undefined"))if(typeof r!="object"&&(r=[r]),mr(r))for(var t=0,n=r.length;t<n;t++)e.call(null,r[t],t,r);else for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&e.call(null,r[a],a,r)}function gr(){var r={};function e(a,o){typeof r[o]=="object"&&typeof a=="object"?r[o]=gr(r[o],a):r[o]=a}for(var t=0,n=arguments.length;t<n;t++)pe(arguments[t],e);return r}function Ue(){var r={};function e(a,o){typeof r[o]=="object"&&typeof a=="object"?r[o]=Ue(r[o],a):typeof a=="object"?r[o]=Ue({},a):r[o]=a}for(var t=0,n=arguments.length;t<n;t++)pe(arguments[t],e);return r}function Ft(r,e,t){return pe(e,function(a,o){t&&typeof a=="function"?r[o]=vt(a,t):r[o]=a}),r}var O={isArray:mr,isArrayBuffer:St,isBuffer:gt,isFormData:bt,isArrayBufferView:wt,isString:At,isNumber:Et,isObject:hr,isUndefined:Ie,isDate:Ot,isFile:Pt,isBlob:$t,isFunction:vr,isStream:xt,isURLSearchParams:Rt,isStandardBrowserEnv:Nt,forEach:pe,merge:gr,deepMerge:Ue,extend:Ft,trim:Ct},V=O;function Sr(r){return encodeURIComponent(r).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var br=function(e,t,n){if(!t)return e;var a;if(n)a=n(t);else if(V.isURLSearchParams(t))a=t.toString();else{var o=[];V.forEach(t,function(s,l){s===null||typeof s=="undefined"||(V.isArray(s)?l=l+"[]":s=[s],V.forEach(s,function(p){V.isDate(p)?p=p.toISOString():V.isObject(p)&&(p=JSON.stringify(p)),o.push(Sr(l)+"="+Sr(p))}))}),a=o.join("&")}if(a){var u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e},Dt=O;function de(){this.handlers=[]}de.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1};de.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)};de.prototype.forEach=function(e){Dt.forEach(this.handlers,function(n){n!==null&&e(n)})};var It=de,Ut=O,Tt=function(e,t,n){return Ut.forEach(n,function(o){e=o(e,t)}),e},wr=function(e){return!!(e&&e.__CANCEL__)},Bt=O,Mt=function(e,t){Bt.forEach(e,function(a,o){o!==t&&o.toUpperCase()===t.toUpperCase()&&(e[t]=a,delete e[o])})},Lt=function(e,t,n,a,o){return e.config=t,n&&(e.code=n),e.request=a,e.response=o,e.isAxiosError=!0,e.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:this.config,code:this.code}},e},_t=Lt,Ar=function(e,t,n,a,o){var u=new Error(e);return _t(u,t,n,a,o)},qt=Ar,Wt=function(e,t,n){var a=n.config.validateStatus;!a||a(n.status)?e(n):t(qt("Request failed with status code "+n.status,n.config,null,n.request,n))},Ht=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)},kt=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},zt=Ht,Gt=kt,jt=function(e,t){return e&&!zt(t)?Gt(e,t):t},Te=O,Vt=["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"],Qt=function(e){var t={},n,a,o;return e&&Te.forEach(e.split(`
`),function(i){if(o=i.indexOf(":"),n=Te.trim(i.substr(0,o)).toLowerCase(),a=Te.trim(i.substr(o+1)),n){if(t[n]&&Vt.indexOf(n)>=0)return;n==="set-cookie"?t[n]=(t[n]?t[n]:[]).concat([a]):t[n]=t[n]?t[n]+", "+a:a}}),t},Er=O,Jt=Er.isStandardBrowserEnv()?function(){var e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a"),n;function a(o){var u=o;return e&&(t.setAttribute("href",u),u=t.href),t.setAttribute("href",u),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}return n=a(window.location.href),function(u){var i=Er.isString(u)?a(u):u;return i.protocol===n.protocol&&i.host===n.host}}():function(){return function(){return!0}}(),ye=O,Kt=ye.isStandardBrowserEnv()?function(){return{write:function(t,n,a,o,u,i){var s=[];s.push(t+"="+encodeURIComponent(n)),ye.isNumber(a)&&s.push("expires="+new Date(a).toGMTString()),ye.isString(o)&&s.push("path="+o),ye.isString(u)&&s.push("domain="+u),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),me=O,Xt=Wt,Yt=br,Zt=jt,en=Qt,rn=Jt,Be=Ar,Or=function(e){return new Promise(function(n,a){var o=e.data,u=e.headers;me.isFormData(o)&&delete u["Content-Type"];var i=new XMLHttpRequest;if(e.auth){var s=e.auth.username||"",l=e.auth.password||"";u.Authorization="Basic "+btoa(s+":"+l)}var f=Zt(e.baseURL,e.url);if(i.open(e.method.toUpperCase(),Yt(f,e.params,e.paramsSerializer),!0),i.timeout=e.timeout,i.onreadystatechange=function(){if(!(!i||i.readyState!==4)&&!(i.status===0&&!(i.responseURL&&i.responseURL.indexOf("file:")===0))){var d="getAllResponseHeaders"in i?en(i.getAllResponseHeaders()):null,g=!e.responseType||e.responseType==="text"?i.responseText:i.response,h={data:g,status:i.status,statusText:i.statusText,headers:d,config:e,request:i};Xt(n,a,h),i=null}},i.onabort=function(){!i||(a(Be("Request aborted",e,"ECONNABORTED",i)),i=null)},i.onerror=function(){a(Be("Network Error",e,null,i)),i=null},i.ontimeout=function(){var d="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(d=e.timeoutErrorMessage),a(Be(d,e,"ECONNABORTED",i)),i=null},me.isStandardBrowserEnv()){var p=Kt,c=(e.withCredentials||rn(f))&&e.xsrfCookieName?p.read(e.xsrfCookieName):void 0;c&&(u[e.xsrfHeaderName]=c)}if("setRequestHeader"in i&&me.forEach(u,function(d,g){typeof o=="undefined"&&g.toLowerCase()==="content-type"?delete u[g]:i.setRequestHeader(g,d)}),me.isUndefined(e.withCredentials)||(i.withCredentials=!!e.withCredentials),e.responseType)try{i.responseType=e.responseType}catch(m){if(e.responseType!=="json")throw m}typeof e.onDownloadProgress=="function"&&i.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&i.upload&&i.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then(function(d){!i||(i.abort(),a(d),i=null)}),o===void 0&&(o=null),i.send(o)})},E=O,Pr=Mt,tn={"Content-Type":"application/x-www-form-urlencoded"};function $r(r,e){!E.isUndefined(r)&&E.isUndefined(r["Content-Type"])&&(r["Content-Type"]=e)}function nn(){var r;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(r=Or),r}var he={adapter:nn(),transformRequest:[function(e,t){return Pr(t,"Accept"),Pr(t,"Content-Type"),E.isFormData(e)||E.isArrayBuffer(e)||E.isBuffer(e)||E.isStream(e)||E.isFile(e)||E.isBlob(e)?e:E.isArrayBufferView(e)?e.buffer:E.isURLSearchParams(e)?($r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):E.isObject(e)?($r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if(typeof e=="string")try{e=JSON.parse(e)}catch{}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};he.headers={common:{Accept:"application/json, text/plain, */*"}};E.forEach(["delete","get","head"],function(e){he.headers[e]={}});E.forEach(["post","put","patch"],function(e){he.headers[e]=E.merge(tn)});var xr=he,Rr=O,Me=Tt,an=wr,on=xr;function Le(r){r.cancelToken&&r.cancelToken.throwIfRequested()}var un=function(e){Le(e),e.headers=e.headers||{},e.data=Me(e.data,e.headers,e.transformRequest),e.headers=Rr.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),Rr.forEach(["delete","get","head","post","put","patch","common"],function(a){delete e.headers[a]});var t=e.adapter||on.adapter;return t(e).then(function(a){return Le(e),a.data=Me(a.data,a.headers,e.transformResponse),a},function(a){return an(a)||(Le(e),a&&a.response&&(a.response.data=Me(a.response.data,a.response.headers,e.transformResponse))),Promise.reject(a)})},F=O,Cr=function(e,t){t=t||{};var n={},a=["url","method","params","data"],o=["headers","auth","proxy"],u=["baseURL","url","transformRequest","transformResponse","paramsSerializer","timeout","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","maxContentLength","validateStatus","maxRedirects","httpAgent","httpsAgent","cancelToken","socketPath"];F.forEach(a,function(f){typeof t[f]!="undefined"&&(n[f]=t[f])}),F.forEach(o,function(f){F.isObject(t[f])?n[f]=F.deepMerge(e[f],t[f]):typeof t[f]!="undefined"?n[f]=t[f]:F.isObject(e[f])?n[f]=F.deepMerge(e[f]):typeof e[f]!="undefined"&&(n[f]=e[f])}),F.forEach(u,function(f){typeof t[f]!="undefined"?n[f]=t[f]:typeof e[f]!="undefined"&&(n[f]=e[f])});var i=a.concat(o).concat(u),s=Object.keys(t).filter(function(f){return i.indexOf(f)===-1});return F.forEach(s,function(f){typeof t[f]!="undefined"?n[f]=t[f]:typeof e[f]!="undefined"&&(n[f]=e[f])}),n},ve=O,sn=br,Nr=It,ln=un,Fr=Cr;function ae(r){this.defaults=r,this.interceptors={request:new Nr,response:new Nr}}ae.prototype.request=function(e){typeof e=="string"?(e=arguments[1]||{},e.url=arguments[0]):e=e||{},e=Fr(this.defaults,e),e.method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[ln,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(o){t.unshift(o.fulfilled,o.rejected)}),this.interceptors.response.forEach(function(o){t.push(o.fulfilled,o.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n};ae.prototype.getUri=function(e){return e=Fr(this.defaults,e),sn(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};ve.forEach(["delete","get","head","options"],function(e){ae.prototype[e]=function(t,n){return this.request(ve.merge(n||{},{method:e,url:t}))}});ve.forEach(["post","put","patch"],function(e){ae.prototype[e]=function(t,n,a){return this.request(ve.merge(a||{},{method:e,url:t,data:n}))}});var fn=ae;function _e(r){this.message=r}_e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};_e.prototype.__CANCEL__=!0;var Dr=_e,cn=Dr;function ge(r){if(typeof r!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(a){e=a});var t=this;r(function(a){t.reason||(t.reason=new cn(a),e(t.reason))})}ge.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};ge.source=function(){var e,t=new ge(function(a){e=a});return{token:t,cancel:e}};var pn=ge,dn=function(e){return function(n){return e.apply(null,n)}},Ir=O,yn=yr,Se=fn,mn=Cr,hn=xr;function Ur(r){var e=new Se(r),t=yn(Se.prototype.request,e);return Ir.extend(t,Se.prototype,e),Ir.extend(t,e),t}var P=Ur(hn);P.Axios=Se;P.create=function(e){return Ur(mn(P.defaults,e))};P.Cancel=Dr;P.CancelToken=pn;P.isCancel=wr;P.all=function(e){return Promise.all(e)};P.spread=dn;De.exports=P;De.exports.default=P;var Tr=De.exports,vn=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;e[t]=a;for(t in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,t);if(u.value!==a||u.enumerable!==!0)return!1}return!0},Br=typeof Symbol!="undefined"&&Symbol,gn=vn,Sn=function(){return typeof Br!="function"||typeof Symbol!="function"||typeof Br("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:gn()},bn="Function.prototype.bind called on incompatible ",qe=Array.prototype.slice,wn=Object.prototype.toString,An="[object Function]",En=function(e){var t=this;if(typeof t!="function"||wn.call(t)!==An)throw new TypeError(bn+t);for(var n=qe.call(arguments,1),a,o=function(){if(this instanceof a){var f=t.apply(this,n.concat(qe.call(arguments)));return Object(f)===f?f:this}else return t.apply(e,n.concat(qe.call(arguments)))},u=Math.max(0,t.length-n.length),i=[],s=0;s<u;s++)i.push("$"+s);if(a=Function("binder","return function ("+i.join(",")+"){ return binder.apply(this,arguments); }")(o),t.prototype){var l=function(){};l.prototype=t.prototype,a.prototype=new l,l.prototype=null}return a},On=En,We=Function.prototype.bind||On,Pn=We,$n=Pn.call(Function.call,Object.prototype.hasOwnProperty),y,oe=SyntaxError,Mr=Function,Q=TypeError,He=function(r){try{return Mr('"use strict"; return ('+r+").constructor;")()}catch{}},q=Object.getOwnPropertyDescriptor;if(q)try{q({},"")}catch{q=null}var ke=function(){throw new Q},xn=q?function(){try{return arguments.callee,ke}catch{try{return q(arguments,"callee").get}catch{return ke}}}():ke,J=Sn(),D=Object.getPrototypeOf||function(r){return r.__proto__},K={},Rn=typeof Uint8Array=="undefined"?y:D(Uint8Array),X={"%AggregateError%":typeof AggregateError=="undefined"?y:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?y:ArrayBuffer,"%ArrayIteratorPrototype%":J?D([][Symbol.iterator]()):y,"%AsyncFromSyncIteratorPrototype%":y,"%AsyncFunction%":K,"%AsyncGenerator%":K,"%AsyncGeneratorFunction%":K,"%AsyncIteratorPrototype%":K,"%Atomics%":typeof Atomics=="undefined"?y:Atomics,"%BigInt%":typeof BigInt=="undefined"?y:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?y:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?y:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?y:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?y:FinalizationRegistry,"%Function%":Mr,"%GeneratorFunction%":K,"%Int8Array%":typeof Int8Array=="undefined"?y:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?y:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?y:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":J?D(D([][Symbol.iterator]())):y,"%JSON%":typeof JSON=="object"?JSON:y,"%Map%":typeof Map=="undefined"?y:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!J?y:D(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?y:Promise,"%Proxy%":typeof Proxy=="undefined"?y:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?y:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?y:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!J?y:D(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?y:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":J?D(""[Symbol.iterator]()):y,"%Symbol%":J?Symbol:y,"%SyntaxError%":oe,"%ThrowTypeError%":xn,"%TypedArray%":Rn,"%TypeError%":Q,"%Uint8Array%":typeof Uint8Array=="undefined"?y:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?y:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?y:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?y:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?y:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?y:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?y:WeakSet},Cn=function r(e){var t;if(e==="%AsyncFunction%")t=He("async function () {}");else if(e==="%GeneratorFunction%")t=He("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=He("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var a=r("%AsyncGenerator%");a&&(t=D(a.prototype))}return X[e]=t,t},Lr={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},be=We,we=$n,Nn=be.call(Function.call,Array.prototype.concat),Fn=be.call(Function.apply,Array.prototype.splice),_r=be.call(Function.call,String.prototype.replace),Ae=be.call(Function.call,String.prototype.slice),Dn=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,In=/\\(\\)?/g,Un=function(e){var t=Ae(e,0,1),n=Ae(e,-1);if(t==="%"&&n!=="%")throw new oe("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new oe("invalid intrinsic syntax, expected opening `%`");var a=[];return _r(e,Dn,function(o,u,i,s){a[a.length]=i?_r(s,In,"$1"):u||o}),a},Tn=function(e,t){var n=e,a;if(we(Lr,n)&&(a=Lr[n],n="%"+a[0]+"%"),we(X,n)){var o=X[n];if(o===K&&(o=Cn(n)),typeof o=="undefined"&&!t)throw new Q("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:a,name:n,value:o}}throw new oe("intrinsic "+e+" does not exist!")},ze=function(e,t){if(typeof e!="string"||e.length===0)throw new Q("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new Q('"allowMissing" argument must be a boolean');var n=Un(e),a=n.length>0?n[0]:"",o=Tn("%"+a+"%",t),u=o.name,i=o.value,s=!1,l=o.alias;l&&(a=l[0],Fn(n,Nn([0,1],l)));for(var f=1,p=!0;f<n.length;f+=1){var c=n[f],m=Ae(c,0,1),d=Ae(c,-1);if((m==='"'||m==="'"||m==="`"||d==='"'||d==="'"||d==="`")&&m!==d)throw new oe("property names with quotes must have matching quotes");if((c==="constructor"||!p)&&(s=!0),a+="."+c,u="%"+a+"%",we(X,u))i=X[u];else if(i!=null){if(!(c in i)){if(!t)throw new Q("base intrinsic for "+e+" exists, but the property is not available.");return}if(q&&f+1>=n.length){var g=q(i,c);p=!!g,p&&"get"in g&&!("originalValue"in g.get)?i=g.get:i=i[c]}else p=we(i,c),i=i[c];p&&!s&&(X[u]=i)}}return i},qr={exports:{}};(function(r){var e=We,t=ze,n=t("%Function.prototype.apply%"),a=t("%Function.prototype.call%"),o=t("%Reflect.apply%",!0)||e.call(a,n),u=t("%Object.getOwnPropertyDescriptor%",!0),i=t("%Object.defineProperty%",!0),s=t("%Math.max%");if(i)try{i({},"a",{value:1})}catch{i=null}r.exports=function(p){var c=o(e,a,arguments);if(u&&i){var m=u(c,"length");m.configurable&&i(c,"length",{value:1+s(0,p.length-(arguments.length-1))})}return c};var l=function(){return o(e,n,arguments)};i?i(r.exports,"apply",{value:l}):r.exports.apply=l})(qr);var Wr=ze,Hr=qr.exports,Bn=Hr(Wr("String.prototype.indexOf")),Mn=function(e,t){var n=Wr(e,!!t);return typeof n=="function"&&Bn(e,".prototype.")>-1?Hr(n):n},Ln={},_n=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Ln}),qn=ht(_n),Ge=typeof Map=="function"&&Map.prototype,je=Object.getOwnPropertyDescriptor&&Ge?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Ee=Ge&&je&&typeof je.get=="function"?je.get:null,Wn=Ge&&Map.prototype.forEach,Ve=typeof Set=="function"&&Set.prototype,Qe=Object.getOwnPropertyDescriptor&&Ve?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Oe=Ve&&Qe&&typeof Qe.get=="function"?Qe.get:null,Hn=Ve&&Set.prototype.forEach,kn=typeof WeakMap=="function"&&WeakMap.prototype,ie=kn?WeakMap.prototype.has:null,zn=typeof WeakSet=="function"&&WeakSet.prototype,ue=zn?WeakSet.prototype.has:null,Gn=typeof WeakRef=="function"&&WeakRef.prototype,kr=Gn?WeakRef.prototype.deref:null,jn=Boolean.prototype.valueOf,Vn=Object.prototype.toString,Qn=Function.prototype.toString,Jn=String.prototype.match,Je=String.prototype.slice,I=String.prototype.replace,Kn=String.prototype.toUpperCase,zr=String.prototype.toLowerCase,Gr=RegExp.prototype.test,jr=Array.prototype.concat,$=Array.prototype.join,Xn=Array.prototype.slice,Vr=Math.floor,Ke=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Xe=Object.getOwnPropertySymbols,Ye=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Y=typeof Symbol=="function"&&typeof Symbol.iterator=="object",w=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Y?"object":"symbol")?Symbol.toStringTag:null,Qr=Object.prototype.propertyIsEnumerable,Jr=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Kr(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Gr.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-Vr(-r):Vr(r);if(n!==r){var a=String(n),o=Je.call(e,a.length+1);return I.call(a,t,"$&_")+"."+I.call(I.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return I.call(e,t,"$&_")}var Ze=qn.custom,er=Ze&&Yr(Ze)?Ze:null,Yn=function r(e,t,n,a){var o=t||{};if(U(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(U(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var u=U(o,"customInspect")?o.customInspect:!0;if(typeof u!="boolean"&&u!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(U(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(U(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var i=o.numericSeparator;if(typeof e=="undefined")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return et(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var s=String(e);return i?Kr(e,s):s}if(typeof e=="bigint"){var l=String(e)+"n";return i?Kr(e,l):l}var f=typeof o.depth=="undefined"?5:o.depth;if(typeof n=="undefined"&&(n=0),n>=f&&f>0&&typeof e=="object")return rr(e)?"[Array]":"[Object]";var p=va(o,n);if(typeof a=="undefined")a=[];else if(Zr(a,e)>=0)return"[Circular]";function c(A,_,Re){if(_&&(a=Xn.call(a),a.push(_)),Re){var ne={depth:o.depth};return U(o,"quoteStyle")&&(ne.quoteStyle=o.quoteStyle),r(A,ne,n+1,a)}return r(A,o,n+1,a)}if(typeof e=="function"){var m=sa(e),d=Pe(e,c);return"[Function"+(m?": "+m:" (anonymous)")+"]"+(d.length>0?" { "+$.call(d,", ")+" }":"")}if(Yr(e)){var g=Y?I.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Ye.call(e);return typeof e=="object"&&!Y?se(g):g}if(ya(e)){for(var h="<"+zr.call(String(e.nodeName)),C=e.attributes||[],R=0;R<C.length;R++)h+=" "+C[R].name+"="+Xr(Zn(C[R].value),"double",o);return h+=">",e.childNodes&&e.childNodes.length&&(h+="..."),h+="</"+zr.call(String(e.nodeName))+">",h}if(rr(e)){if(e.length===0)return"[]";var k=Pe(e,c);return p&&!ha(k)?"["+nr(k,p)+"]":"[ "+$.call(k,", ")+" ]"}if(ta(e)){var z=Pe(e,c);return"cause"in e&&!Qr.call(e,"cause")?"{ ["+String(e)+"] "+$.call(jr.call("[cause]: "+c(e.cause),z),", ")+" }":z.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+$.call(z,", ")+" }"}if(typeof e=="object"&&u){if(er&&typeof e[er]=="function")return e[er]();if(u!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(la(e)){var re=[];return Wn.call(e,function(A,_){re.push(c(_,e,!0)+" => "+c(A,e))}),rt("Map",Ee.call(e),re,p)}if(pa(e)){var te=[];return Hn.call(e,function(A){te.push(c(A,e))}),rt("Set",Oe.call(e),te,p)}if(fa(e))return tr("WeakMap");if(da(e))return tr("WeakSet");if(ca(e))return tr("WeakRef");if(aa(e))return se(c(Number(e)));if(ia(e))return se(c(Ke.call(e)));if(oa(e))return se(jn.call(e));if(na(e))return se(c(String(e)));if(!ea(e)&&!ra(e)){var G=Pe(e,c),B=Jr?Jr(e)===Object.prototype:e instanceof Object||e.constructor===Object,M=e instanceof Object?"":"null prototype",N=!B&&w&&Object(e)===e&&w in e?Je.call(T(e),8,-1):M?"Object":"",fe=B||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",L=fe+(N||M?"["+$.call(jr.call([],N||[],M||[]),": ")+"] ":"");return G.length===0?L+"{}":p?L+"{"+nr(G,p)+"}":L+"{ "+$.call(G,", ")+" }"}return String(e)};function Xr(r,e,t){var n=(t.quoteStyle||e)==="double"?'"':"'";return n+r+n}function Zn(r){return I.call(String(r),/"/g,"&quot;")}function rr(r){return T(r)==="[object Array]"&&(!w||!(typeof r=="object"&&w in r))}function ea(r){return T(r)==="[object Date]"&&(!w||!(typeof r=="object"&&w in r))}function ra(r){return T(r)==="[object RegExp]"&&(!w||!(typeof r=="object"&&w in r))}function ta(r){return T(r)==="[object Error]"&&(!w||!(typeof r=="object"&&w in r))}function na(r){return T(r)==="[object String]"&&(!w||!(typeof r=="object"&&w in r))}function aa(r){return T(r)==="[object Number]"&&(!w||!(typeof r=="object"&&w in r))}function oa(r){return T(r)==="[object Boolean]"&&(!w||!(typeof r=="object"&&w in r))}function Yr(r){if(Y)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Ye)return!1;try{return Ye.call(r),!0}catch{}return!1}function ia(r){if(!r||typeof r!="object"||!Ke)return!1;try{return Ke.call(r),!0}catch{}return!1}var ua=Object.prototype.hasOwnProperty||function(r){return r in this};function U(r,e){return ua.call(r,e)}function T(r){return Vn.call(r)}function sa(r){if(r.name)return r.name;var e=Jn.call(Qn.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function Zr(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function la(r){if(!Ee||!r||typeof r!="object")return!1;try{Ee.call(r);try{Oe.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function fa(r){if(!ie||!r||typeof r!="object")return!1;try{ie.call(r,ie);try{ue.call(r,ue)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function ca(r){if(!kr||!r||typeof r!="object")return!1;try{return kr.call(r),!0}catch{}return!1}function pa(r){if(!Oe||!r||typeof r!="object")return!1;try{Oe.call(r);try{Ee.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function da(r){if(!ue||!r||typeof r!="object")return!1;try{ue.call(r,ue);try{ie.call(r,ie)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function ya(r){return!r||typeof r!="object"?!1:typeof HTMLElement!="undefined"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function et(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return et(Je.call(r,0,e.maxStringLength),e)+n}var a=I.call(I.call(r,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,ma);return Xr(a,"single",e)}function ma(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+Kn.call(e.toString(16))}function se(r){return"Object("+r+")"}function tr(r){return r+" { ? }"}function rt(r,e,t,n){var a=n?nr(t,n):$.call(t,", ");return r+" ("+e+") {"+a+"}"}function ha(r){for(var e=0;e<r.length;e++)if(Zr(r[e],`
`)>=0)return!1;return!0}function va(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=$.call(Array(r.indent+1)," ");else return null;return{base:t,prev:$.call(Array(e+1),t)}}function nr(r,e){if(r.length===0)return"";var t=`
`+e.prev+e.base;return t+$.call(r,","+t)+`
`+e.prev}function Pe(r,e){var t=rr(r),n=[];if(t){n.length=r.length;for(var a=0;a<r.length;a++)n[a]=U(r,a)?e(r[a],r):""}var o=typeof Xe=="function"?Xe(r):[],u;if(Y){u={};for(var i=0;i<o.length;i++)u["$"+o[i]]=o[i]}for(var s in r)!U(r,s)||t&&String(Number(s))===s&&s<r.length||Y&&u["$"+s]instanceof Symbol||(Gr.call(/[^\w$]/,s)?n.push(e(s,r)+": "+e(r[s],r)):n.push(s+": "+e(r[s],r)));if(typeof Xe=="function")for(var l=0;l<o.length;l++)Qr.call(r,o[l])&&n.push("["+e(o[l])+"]: "+e(r[o[l]],r));return n}var ar=ze,Z=Mn,ga=Yn,Sa=ar("%TypeError%"),$e=ar("%WeakMap%",!0),xe=ar("%Map%",!0),ba=Z("WeakMap.prototype.get",!0),wa=Z("WeakMap.prototype.set",!0),Aa=Z("WeakMap.prototype.has",!0),Ea=Z("Map.prototype.get",!0),Oa=Z("Map.prototype.set",!0),Pa=Z("Map.prototype.has",!0),or=function(r,e){for(var t=r,n;(n=t.next)!==null;t=n)if(n.key===e)return t.next=n.next,n.next=r.next,r.next=n,n},$a=function(r,e){var t=or(r,e);return t&&t.value},xa=function(r,e,t){var n=or(r,e);n?n.value=t:r.next={key:e,next:r.next,value:t}},Ra=function(r,e){return!!or(r,e)},Ca=function(){var e,t,n,a={assert:function(o){if(!a.has(o))throw new Sa("Side channel does not contain "+ga(o))},get:function(o){if($e&&o&&(typeof o=="object"||typeof o=="function")){if(e)return ba(e,o)}else if(xe){if(t)return Ea(t,o)}else if(n)return $a(n,o)},has:function(o){if($e&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Aa(e,o)}else if(xe){if(t)return Pa(t,o)}else if(n)return Ra(n,o);return!1},set:function(o,u){$e&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new $e),wa(e,o,u)):xe?(t||(t=new xe),Oa(t,o,u)):(n||(n={key:{},next:null}),xa(n,o,u))}};return a},Na=String.prototype.replace,Fa=/%20/g,ir={RFC1738:"RFC1738",RFC3986:"RFC3986"},ur={default:ir.RFC3986,formatters:{RFC1738:function(r){return Na.call(r,Fa,"+")},RFC3986:function(r){return String(r)}},RFC1738:ir.RFC1738,RFC3986:ir.RFC3986},Da=ur,sr=Object.prototype.hasOwnProperty,W=Array.isArray,x=function(){for(var r=[],e=0;e<256;++e)r.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return r}(),Ia=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(W(n)){for(var a=[],o=0;o<n.length;++o)typeof n[o]!="undefined"&&a.push(n[o]);t.obj[t.prop]=a}}},tt=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},a=0;a<e.length;++a)typeof e[a]!="undefined"&&(n[a]=e[a]);return n},Ua=function r(e,t,n){if(!t)return e;if(typeof t!="object"){if(W(e))e.push(t);else if(e&&typeof e=="object")(n&&(n.plainObjects||n.allowPrototypes)||!sr.call(Object.prototype,t))&&(e[t]=!0);else return[e,t];return e}if(!e||typeof e!="object")return[e].concat(t);var a=e;return W(e)&&!W(t)&&(a=tt(e,n)),W(e)&&W(t)?(t.forEach(function(o,u){if(sr.call(e,u)){var i=e[u];i&&typeof i=="object"&&o&&typeof o=="object"?e[u]=r(i,o,n):e.push(o)}else e[u]=o}),e):Object.keys(t).reduce(function(o,u){var i=t[u];return sr.call(o,u)?o[u]=r(o[u],i,n):o[u]=i,o},a)},Ta=function(e,t){return Object.keys(t).reduce(function(n,a){return n[a]=t[a],n},e)},Ba=function(r,e,t){var n=r.replace(/\+/g," ");if(t==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Ma=function(e,t,n,a,o){if(e.length===0)return e;var u=e;if(typeof e=="symbol"?u=Symbol.prototype.toString.call(e):typeof e!="string"&&(u=String(e)),n==="iso-8859-1")return escape(u).replace(/%u[0-9a-f]{4}/gi,function(f){return"%26%23"+parseInt(f.slice(2),16)+"%3B"});for(var i="",s=0;s<u.length;++s){var l=u.charCodeAt(s);if(l===45||l===46||l===95||l===126||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122||o===Da.RFC1738&&(l===40||l===41)){i+=u.charAt(s);continue}if(l<128){i=i+x[l];continue}if(l<2048){i=i+(x[192|l>>6]+x[128|l&63]);continue}if(l<55296||l>=57344){i=i+(x[224|l>>12]+x[128|l>>6&63]+x[128|l&63]);continue}s+=1,l=65536+((l&1023)<<10|u.charCodeAt(s)&1023),i+=x[240|l>>18]+x[128|l>>12&63]+x[128|l>>6&63]+x[128|l&63]}return i},La=function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],a=0;a<t.length;++a)for(var o=t[a],u=o.obj[o.prop],i=Object.keys(u),s=0;s<i.length;++s){var l=i[s],f=u[l];typeof f=="object"&&f!==null&&n.indexOf(f)===-1&&(t.push({obj:u,prop:l}),n.push(f))}return Ia(t),e},_a=function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},qa=function(e){return!e||typeof e!="object"?!1:!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},Wa=function(e,t){return[].concat(e,t)},Ha=function(e,t){if(W(e)){for(var n=[],a=0;a<e.length;a+=1)n.push(t(e[a]));return n}return t(e)},nt={arrayToObject:tt,assign:Ta,combine:Wa,compact:La,decode:Ba,encode:Ma,isBuffer:qa,isRegExp:_a,maybeMap:Ha,merge:Ua},at=Ca,lr=nt,le=ur,ka=Object.prototype.hasOwnProperty,ot={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},H=Array.isArray,za=String.prototype.split,Ga=Array.prototype.push,it=function(r,e){Ga.apply(r,H(e)?e:[e])},ja=Date.prototype.toISOString,ut=le.default,b={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:lr.encode,encodeValuesOnly:!1,format:ut,formatter:le.formatters[ut],indices:!1,serializeDate:function(e){return ja.call(e)},skipNulls:!1,strictNullHandling:!1},Va=function(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="symbol"||typeof e=="bigint"},fr={},Qa=function r(e,t,n,a,o,u,i,s,l,f,p,c,m,d,g){for(var h=e,C=g,R=0,k=!1;(C=C.get(fr))!==void 0&&!k;){var z=C.get(e);if(R+=1,typeof z!="undefined"){if(z===R)throw new RangeError("Cyclic object value");k=!0}typeof C.get(fr)=="undefined"&&(R=0)}if(typeof i=="function"?h=i(t,h):h instanceof Date?h=f(h):n==="comma"&&H(h)&&(h=lr.maybeMap(h,function(Ce){return Ce instanceof Date?f(Ce):Ce})),h===null){if(a)return u&&!m?u(t,b.encoder,d,"key",p):t;h=""}if(Va(h)||lr.isBuffer(h)){if(u){var re=m?t:u(t,b.encoder,d,"key",p);if(n==="comma"&&m){for(var te=za.call(String(h),","),G="",B=0;B<te.length;++B)G+=(B===0?"":",")+c(u(te[B],b.encoder,d,"value",p));return[c(re)+"="+G]}return[c(re)+"="+c(u(h,b.encoder,d,"value",p))]}return[c(t)+"="+c(String(h))]}var M=[];if(typeof h=="undefined")return M;var N;if(n==="comma"&&H(h))N=[{value:h.length>0?h.join(",")||null:void 0}];else if(H(i))N=i;else{var fe=Object.keys(h);N=s?fe.sort(s):fe}for(var L=0;L<N.length;++L){var A=N[L],_=typeof A=="object"&&typeof A.value!="undefined"?A.value:h[A];if(!(o&&_===null)){var Re=H(h)?typeof n=="function"?n(t,A):t:t+(l?"."+A:"["+A+"]");g.set(e,R);var ne=at();ne.set(fr,g),it(M,r(_,Re,n,a,o,u,i,s,l,f,p,c,m,d,ne))}}return M},Ja=function(e){if(!e)return b;if(e.encoder!==null&&typeof e.encoder!="undefined"&&typeof e.encoder!="function")throw new TypeError("Encoder has to be a function.");var t=e.charset||b.charset;if(typeof e.charset!="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=le.default;if(typeof e.format!="undefined"){if(!ka.call(le.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var a=le.formatters[n],o=b.filter;return(typeof e.filter=="function"||H(e.filter))&&(o=e.filter),{addQueryPrefix:typeof e.addQueryPrefix=="boolean"?e.addQueryPrefix:b.addQueryPrefix,allowDots:typeof e.allowDots=="undefined"?b.allowDots:!!e.allowDots,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:b.charsetSentinel,delimiter:typeof e.delimiter=="undefined"?b.delimiter:e.delimiter,encode:typeof e.encode=="boolean"?e.encode:b.encode,encoder:typeof e.encoder=="function"?e.encoder:b.encoder,encodeValuesOnly:typeof e.encodeValuesOnly=="boolean"?e.encodeValuesOnly:b.encodeValuesOnly,filter:o,format:n,formatter:a,serializeDate:typeof e.serializeDate=="function"?e.serializeDate:b.serializeDate,skipNulls:typeof e.skipNulls=="boolean"?e.skipNulls:b.skipNulls,sort:typeof e.sort=="function"?e.sort:null,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:b.strictNullHandling}},Ka=function(r,e){var t=r,n=Ja(e),a,o;typeof n.filter=="function"?(o=n.filter,t=o("",t)):H(n.filter)&&(o=n.filter,a=o);var u=[];if(typeof t!="object"||t===null)return"";var i;e&&e.arrayFormat in ot?i=e.arrayFormat:e&&"indices"in e?i=e.indices?"indices":"repeat":i="indices";var s=ot[i];a||(a=Object.keys(t)),n.sort&&a.sort(n.sort);for(var l=at(),f=0;f<a.length;++f){var p=a[f];n.skipNulls&&t[p]===null||it(u,Qa(t[p],p,s,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}var c=u.join(n.delimiter),m=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?m+="utf8=%26%2310003%3B&":m+="utf8=%E2%9C%93&"),c.length>0?m+c:""},ee=nt,cr=Object.prototype.hasOwnProperty,Xa=Array.isArray,S={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:ee.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},Ya=function(r){return r.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})},st=function(r,e){return r&&typeof r=="string"&&e.comma&&r.indexOf(",")>-1?r.split(","):r},Za="utf8=%26%2310003%3B",eo="utf8=%E2%9C%93",ro=function(e,t){var n={},a=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,o=t.parameterLimit===1/0?void 0:t.parameterLimit,u=a.split(t.delimiter,o),i=-1,s,l=t.charset;if(t.charsetSentinel)for(s=0;s<u.length;++s)u[s].indexOf("utf8=")===0&&(u[s]===eo?l="utf-8":u[s]===Za&&(l="iso-8859-1"),i=s,s=u.length);for(s=0;s<u.length;++s)if(s!==i){var f=u[s],p=f.indexOf("]="),c=p===-1?f.indexOf("="):p+1,m,d;c===-1?(m=t.decoder(f,S.decoder,l,"key"),d=t.strictNullHandling?null:""):(m=t.decoder(f.slice(0,c),S.decoder,l,"key"),d=ee.maybeMap(st(f.slice(c+1),t),function(g){return t.decoder(g,S.decoder,l,"value")})),d&&t.interpretNumericEntities&&l==="iso-8859-1"&&(d=Ya(d)),f.indexOf("[]=")>-1&&(d=Xa(d)?[d]:d),cr.call(n,m)?n[m]=ee.combine(n[m],d):n[m]=d}return n},to=function(r,e,t,n){for(var a=n?e:st(e,t),o=r.length-1;o>=0;--o){var u,i=r[o];if(i==="[]"&&t.parseArrays)u=[].concat(a);else{u=t.plainObjects?Object.create(null):{};var s=i.charAt(0)==="["&&i.charAt(i.length-1)==="]"?i.slice(1,-1):i,l=parseInt(s,10);!t.parseArrays&&s===""?u={0:a}:!isNaN(l)&&i!==s&&String(l)===s&&l>=0&&t.parseArrays&&l<=t.arrayLimit?(u=[],u[l]=a):s!=="__proto__"&&(u[s]=a)}a=u}return a},no=function(e,t,n,a){if(!!e){var o=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,u=/(\[[^[\]]*])/,i=/(\[[^[\]]*])/g,s=n.depth>0&&u.exec(o),l=s?o.slice(0,s.index):o,f=[];if(l){if(!n.plainObjects&&cr.call(Object.prototype,l)&&!n.allowPrototypes)return;f.push(l)}for(var p=0;n.depth>0&&(s=i.exec(o))!==null&&p<n.depth;){if(p+=1,!n.plainObjects&&cr.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;f.push(s[1])}return s&&f.push("["+o.slice(s.index)+"]"),to(f,t,n,a)}},ao=function(e){if(!e)return S;if(e.decoder!==null&&e.decoder!==void 0&&typeof e.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof e.charset!="undefined"&&e.charset!=="utf-8"&&e.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=typeof e.charset=="undefined"?S.charset:e.charset;return{allowDots:typeof e.allowDots=="undefined"?S.allowDots:!!e.allowDots,allowPrototypes:typeof e.allowPrototypes=="boolean"?e.allowPrototypes:S.allowPrototypes,allowSparse:typeof e.allowSparse=="boolean"?e.allowSparse:S.allowSparse,arrayLimit:typeof e.arrayLimit=="number"?e.arrayLimit:S.arrayLimit,charset:t,charsetSentinel:typeof e.charsetSentinel=="boolean"?e.charsetSentinel:S.charsetSentinel,comma:typeof e.comma=="boolean"?e.comma:S.comma,decoder:typeof e.decoder=="function"?e.decoder:S.decoder,delimiter:typeof e.delimiter=="string"||ee.isRegExp(e.delimiter)?e.delimiter:S.delimiter,depth:typeof e.depth=="number"||e.depth===!1?+e.depth:S.depth,ignoreQueryPrefix:e.ignoreQueryPrefix===!0,interpretNumericEntities:typeof e.interpretNumericEntities=="boolean"?e.interpretNumericEntities:S.interpretNumericEntities,parameterLimit:typeof e.parameterLimit=="number"?e.parameterLimit:S.parameterLimit,parseArrays:e.parseArrays!==!1,plainObjects:typeof e.plainObjects=="boolean"?e.plainObjects:S.plainObjects,strictNullHandling:typeof e.strictNullHandling=="boolean"?e.strictNullHandling:S.strictNullHandling}},oo=function(r,e){var t=ao(e);if(r===""||r===null||typeof r=="undefined")return t.plainObjects?Object.create(null):{};for(var n=typeof r=="string"?ro(r,t):r,a=t.plainObjects?Object.create(null):{},o=Object.keys(n),u=0;u<o.length;++u){var i=o[u],s=no(i,n[i],t,typeof r=="string");a=ee.merge(a,s,t)}return t.allowSparse===!0?a:ee.compact(a)},io=Ka,uo=oo,so=ur,lt={formats:so,parse:uo,stringify:io};function ft(){return"./"}function lo(){return"./"}const fo={"./swagger-resources":!0,"/v2/api-docs":!0};function co(r){r.interceptors.request.use(e=>(e.needValidateResult=!0,fo[e.url]&&(e.needValidateResult=!1),e.method==="get"?(e.params=e.params||{},e.params=Fe(Ne({},e.params),{_:new Date().getTime()})):e.method==="post"&&(e.data=e.data||{},e.data instanceof FormData||e.data instanceof Object&&(e.data=lt.stringify(e.data))),e),e=>(console.log(e),Promise.reject(e))),r.interceptors.response.use(e=>{if(e.message)vue.$message.error("\u8BF7\u6C42\u9519\u8BEF\uFF1A"+e.message);else{if(!e.config.needValidateResult||e.data.errCode===200)return e.data;if(e.data.errCode===400){ce.error("\u8BF7\u5148\u767B\u5F55");let t=encodeURIComponent(window.location.href);window.location=ft()+"#/user/login?redirect="+t}else ce.error(e.data.errMsg||"\u672A\u77E5\u9519\u8BEF")}return Promise.reject("\u8BF7\u6C42\u9519\u8BEF")},e=>(console.log("err"+e),ce.error("\u8BF7\u6C42\u9519\u8BEF\uFF1A"+e.message),Promise.reject(e)))}const v=Tr.create({baseURL:ft(),timeout:2e4,headers:{"Content-type":"application/x-www-form-urlencoded"},withCredentials:!0});co(v);const vo={searchUserList:r=>v({url:"/user/info/search",method:"post",data:r}),getSelfUserInfo:r=>v({url:"/user/info/selfInfo",method:"post",data:r}),userLogout:r=>v({url:"/logout",method:"post",data:r}),systemUpgradeInfo:r=>v({url:"/system/info/upgrade",method:"post",data:r}),apiDocList:r=>v({url:"/doc-api/doc/list",method:"post",data:r}),apiDocAdd:r=>v({url:"/doc-api/doc/add",method:"post",data:r}),apiDocUpdate:r=>v({url:"/doc-api/doc/update",method:"post",data:r}),apiDocDetail:r=>v({url:"/doc-api/doc/detail",method:"post",data:r}),apiDocApis:r=>v({url:"/doc-api/doc/apis",method:"post",data:r}),apiDocApisDetail:r=>v({url:"/doc-api/doc/apis/detail",method:"post",data:r}),docApiGlobalParamList:r=>v({url:"/doc-api/global-param/list",method:"post",data:r}),docApiGlobalParamUpdate:r=>v({url:"/doc-api/global-param/update",method:"post",data:r}),requestUrl:r=>v({url:"/doc-api/proxy/request",method:"post",data:r}),apiShareDocDetail:r=>v({url:"/doc-api/share/detail",method:"post",data:r}),apiShareDocApisDetail:r=>v({url:"/doc-api/share/apis/detail",method:"post",data:r}),docAuthList:r=>v({url:"/doc-api/doc/auth/list",method:"post",data:r}),docAuthAssign:r=>v({url:"/doc-api/doc/auth/assign",method:"post",data:r}),docAuthDelete:r=>v({url:"/doc-api/doc/auth/delete",method:"post",data:r}),apiCustomFolderAdd:r=>v({url:"/api-custom-folder/add",method:"post",data:r}),apiCustomFolderUpdate:r=>v({url:"/api-custom-folder/update",method:"post",data:r}),apiCustomFolderDelete:r=>v({url:"/api-custom-folder/delete",method:"post",data:r}),apiCustomRequestAdd:r=>v({url:"/api-custom-request/add",method:"post",data:r}),apiCustomRequestDetail:r=>v({url:"/api-custom-request/detail",method:"post",data:r}),apiCustomRequestDelete:r=>v({url:"/api-custom-request/delete",method:"post",data:r}),apiCustomNodeAdd:r=>v({url:"/api-custom-node/add",method:"post",data:r}),apiCustomNodeUpdate:r=>v({url:"/api-custom-node/update",method:"post",data:r}),apiCustomNodeDelete:r=>v({url:"/api-custom-node/delete",method:"post",data:r}),apiCustomNodeDetail:r=>v({url:"/api-custom-node/detail",method:"post",data:r}),apiCustomNodeChangeParent:r=>v({url:"/api-custom-node/changeParent",method:"post",data:r})};function po(r){r.interceptors.request.use(e=>(e.method==="get"?(e.params=e.params||{},e.params=Fe(Ne({},e.params),{_:new Date().getTime()})):e.method==="post"&&(e.data=e.data||{},e.data instanceof FormData||e.data instanceof Object&&(e.data=lt.stringify(e.data))),e),e=>(console.log(e),Promise.reject(e))),r.interceptors.response.use(e=>{if(e.message)vue.$message.error("\u8BF7\u6C42\u9519\u8BEF\uFF1A"+e.message);else return e.data;return Promise.reject("\u8BF7\u6C42\u9519\u8BEF")},e=>(console.log("err"+e),ce.error("\u8BF7\u6C42\u9519\u8BEF\uFF1A"+e.message),Promise.reject(e)))}const yo=Tr.create({baseURL:lo(),timeout:2e4,headers:{"Content-type":"application/x-www-form-urlencoded"},withCredentials:!0});po(yo);export{ft as g,vo as z};