ponicode
Version:
Ponicode is a quick and easy AI-powered solution for Javascript unit testing.
6 lines • 7.05 MB
JavaScript
var UHt=Object.create;var DX=Object.defineProperty,VHt=Object.defineProperties,zHt=Object.getOwnPropertyDescriptor,JHt=Object.getOwnPropertyDescriptors,WHt=Object.getOwnPropertyNames,kOe=Object.getOwnPropertySymbols,$Ht=Object.getPrototypeOf,IOe=Object.prototype.hasOwnProperty,GHt=Object.prototype.propertyIsEnumerable;var OOe=(e,t,r)=>t in e?DX(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Xr=(e,t)=>{for(var r in t||(t={}))IOe.call(t,r)&&OOe(e,r,t[r]);if(kOe)for(var r of kOe(t))GHt.call(t,r)&&OOe(e,r,t[r]);return e},Ei=(e,t)=>VHt(e,JHt(t)),HHt=e=>DX(e,"__esModule",{value:!0});var L=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var XHt=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of WHt(t))!IOe.call(e,n)&&n!=="default"&&DX(e,n,{get:()=>t[n],enumerable:!(r=zHt(t,n))||r.enumerable});return e},ea=e=>XHt(HHt(DX(e!=null?UHt($Ht(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var a_e=L((T8n,ROe)=>{"use strict";ROe.exports=function(t,r){return function(){for(var i=new Array(arguments.length),o=0;o<i.length;o++)i[o]=arguments[o];return t.apply(r,i)}}});var t0=L((w8n,jOe)=>{"use strict";var KHt=a_e(),MA=Object.prototype.toString;function o_e(e){return MA.call(e)==="[object Array]"}function s_e(e){return typeof e=="undefined"}function YHt(e){return e!==null&&!s_e(e)&&e.constructor!==null&&!s_e(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function QHt(e){return MA.call(e)==="[object ArrayBuffer]"}function ZHt(e){return typeof FormData!="undefined"&&e instanceof FormData}function eXt(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&e.buffer instanceof ArrayBuffer,t}function tXt(e){return typeof e=="string"}function rXt(e){return typeof e=="number"}function FOe(e){return e!==null&&typeof e=="object"}function CX(e){if(MA.call(e)!=="[object Object]")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}function nXt(e){return MA.call(e)==="[object Date]"}function iXt(e){return MA.call(e)==="[object File]"}function aXt(e){return MA.call(e)==="[object Blob]"}function MOe(e){return MA.call(e)==="[object Function]"}function oXt(e){return FOe(e)&&MOe(e.pipe)}function sXt(e){return typeof URLSearchParams!="undefined"&&e instanceof URLSearchParams}function uXt(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function cXt(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function u_e(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),o_e(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}function c_e(){var e={};function t(i,o){CX(e[o])&&CX(i)?e[o]=c_e(e[o],i):CX(i)?e[o]=c_e({},i):o_e(i)?e[o]=i.slice():e[o]=i}for(var r=0,n=arguments.length;r<n;r++)u_e(arguments[r],t);return e}function lXt(e,t,r){return u_e(t,function(i,o){r&&typeof i=="function"?e[o]=KHt(i,r):e[o]=i}),e}function fXt(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}jOe.exports={isArray:o_e,isArrayBuffer:QHt,isBuffer:YHt,isFormData:ZHt,isArrayBufferView:eXt,isString:tXt,isNumber:rXt,isObject:FOe,isPlainObject:CX,isUndefined:s_e,isDate:nXt,isFile:iXt,isBlob:aXt,isFunction:MOe,isStream:oXt,isURLSearchParams:sXt,isStandardBrowserEnv:cXt,forEach:u_e,merge:c_e,extend:lXt,trim:uXt,stripBOM:fXt}});var TX=L((A8n,qOe)=>{"use strict";var qk=t0();function LOe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}qOe.exports=function(t,r,n){if(!r)return t;var i;if(n)i=n(r);else if(qk.isURLSearchParams(r))i=r.toString();else{var o=[];qk.forEach(r,function(c,f){c===null||typeof c=="undefined"||(qk.isArray(c)?f=f+"[]":c=[c],qk.forEach(c,function(h){qk.isDate(h)?h=h.toISOString():qk.isObject(h)&&(h=JSON.stringify(h)),o.push(LOe(f)+"="+LOe(h))}))}),i=o.join("&")}if(i){var s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}});var UOe=L((P8n,BOe)=>{"use strict";var pXt=t0();function wX(){this.handlers=[]}wX.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};wX.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};wX.prototype.forEach=function(t){pXt.forEach(this.handlers,function(n){n!==null&&t(n)})};BOe.exports=wX});var zOe=L((k8n,VOe)=>{"use strict";var dXt=t0();VOe.exports=function(t,r){dXt.forEach(t,function(i,o){o!==r&&o.toUpperCase()===r.toUpperCase()&&(t[r]=i,delete t[o])})}});var AX=L((I8n,JOe)=>{"use strict";JOe.exports=function(t,r,n,i,o){return t.config=r,n&&(t.code=n),t.request=i,t.response=o,t.isAxiosError=!0,t.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}},t}});var PX=L((O8n,WOe)=>{"use strict";var mXt=AX();WOe.exports=function(t,r,n,i,o){var s=new Error(t);return mXt(s,r,n,i,o)}});var l_e=L((N8n,$Oe)=>{"use strict";var _Xt=PX();$Oe.exports=function(t,r,n){var i=n.config.validateStatus;!n.status||!i||i(n.status)?t(n):r(_Xt("Request failed with status code "+n.status,n.config,null,n.request,n))}});var HOe=L((R8n,GOe)=>{"use strict";var kX=t0();GOe.exports=kX.isStandardBrowserEnv()?function(){return{write:function(r,n,i,o,s,u){var c=[];c.push(r+"="+encodeURIComponent(n)),kX.isNumber(i)&&c.push("expires="+new Date(i).toGMTString()),kX.isString(o)&&c.push("path="+o),kX.isString(s)&&c.push("domain="+s),u===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()});var KOe=L((F8n,XOe)=>{"use strict";XOe.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}});var QOe=L((M8n,YOe)=>{"use strict";YOe.exports=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t}});var f_e=L((j8n,ZOe)=>{"use strict";var hXt=KOe(),gXt=QOe();ZOe.exports=function(t,r){return t&&!hXt(r)?gXt(t,r):r}});var tNe=L((L8n,eNe)=>{"use strict";var p_e=t0(),vXt=["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"];eNe.exports=function(t){var r={},n,i,o;return t&&p_e.forEach(t.split(`
`),function(u){if(o=u.indexOf(":"),n=p_e.trim(u.substr(0,o)).toLowerCase(),i=p_e.trim(u.substr(o+1)),n){if(r[n]&&vXt.indexOf(n)>=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([i]):r[n]=r[n]?r[n]+", "+i:i}}),r}});var iNe=L((q8n,nNe)=>{"use strict";var rNe=t0();nNe.exports=rNe.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function i(o){var s=o;return t&&(r.setAttribute("href",s),s=r.href),r.setAttribute("href",s),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=i(window.location.href),function(s){var u=rNe.isString(s)?i(s):s;return u.protocol===n.protocol&&u.host===n.host}}():function(){return function(){return!0}}()});var oNe=L((B8n,aNe)=>{"use strict";var IX=t0(),yXt=l_e(),bXt=HOe(),SXt=TX(),EXt=f_e(),xXt=tNe(),DXt=iNe(),d_e=PX();aNe.exports=function(t){return new Promise(function(n,i){var o=t.data,s=t.headers,u=t.responseType;IX.isFormData(o)&&delete s["Content-Type"];var c=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",p=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";s.Authorization="Basic "+btoa(f+":"+p)}var h=EXt(t.baseURL,t.url);c.open(t.method.toUpperCase(),SXt(h,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function g(){if(!!c){var y="getAllResponseHeaders"in c?xXt(c.getAllResponseHeaders()):null,x=!u||u==="text"||u==="json"?c.responseText:c.response,b={data:x,status:c.status,statusText:c.statusText,headers:y,config:t,request:c};yXt(n,i,b),c=null}}if("onloadend"in c?c.onloadend=g:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(g)},c.onabort=function(){!c||(i(d_e("Request aborted",t,"ECONNABORTED",c)),c=null)},c.onerror=function(){i(d_e("Network Error",t,null,c)),c=null},c.ontimeout=function(){var x="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(x=t.timeoutErrorMessage),i(d_e(x,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",c)),c=null},IX.isStandardBrowserEnv()){var _=(t.withCredentials||DXt(h))&&t.xsrfCookieName?bXt.read(t.xsrfCookieName):void 0;_&&(s[t.xsrfHeaderName]=_)}"setRequestHeader"in c&&IX.forEach(s,function(x,b){typeof o=="undefined"&&b.toLowerCase()==="content-type"?delete s[b]:c.setRequestHeader(b,x)}),IX.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),u&&u!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(x){!c||(c.abort(),i(x),c=null)}),o||(o=null),c.send(o)})}});var uNe=L((U8n,sNe)=>{var Bk=1e3,Uk=Bk*60,Vk=Uk*60,jA=Vk*24,CXt=jA*7,TXt=jA*365.25;sNe.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return wXt(e);if(r==="number"&&isFinite(e))return t.long?PXt(e):AXt(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function wXt(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*TXt;case"weeks":case"week":case"w":return r*CXt;case"days":case"day":case"d":return r*jA;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Vk;case"minutes":case"minute":case"mins":case"min":case"m":return r*Uk;case"seconds":case"second":case"secs":case"sec":case"s":return r*Bk;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function AXt(e){var t=Math.abs(e);return t>=jA?Math.round(e/jA)+"d":t>=Vk?Math.round(e/Vk)+"h":t>=Uk?Math.round(e/Uk)+"m":t>=Bk?Math.round(e/Bk)+"s":e+"ms"}function PXt(e){var t=Math.abs(e);return t>=jA?OX(e,t,jA,"day"):t>=Vk?OX(e,t,Vk,"hour"):t>=Uk?OX(e,t,Uk,"minute"):t>=Bk?OX(e,t,Bk,"second"):e+" ms"}function OX(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var m_e=L((V8n,cNe)=>{function kXt(e){r.debug=r,r.default=r,r.coerce=c,r.disable=o,r.enable=i,r.enabled=s,r.humanize=uNe(),r.destroy=f,Object.keys(e).forEach(p=>{r[p]=e[p]}),r.names=[],r.skips=[],r.formatters={};function t(p){let h=0;for(let g=0;g<p.length;g++)h=(h<<5)-h+p.charCodeAt(g),h|=0;return r.colors[Math.abs(h)%r.colors.length]}r.selectColor=t;function r(p){let h,g=null,_,y;function x(...b){if(!x.enabled)return;let T=x,w=Number(new Date),N=w-(h||w);T.diff=N,T.prev=h,T.curr=w,h=w,b[0]=r.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let C=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(W,H)=>{if(W==="%%")return"%";C++;let $=r.formatters[H];if(typeof $=="function"){let te=b[C];W=$.call(T,te),b.splice(C,1),C--}return W}),r.formatArgs.call(T,b),(T.log||r.log).apply(T,b)}return x.namespace=p,x.useColors=r.useColors(),x.color=r.selectColor(p),x.extend=n,x.destroy=r.destroy,Object.defineProperty(x,"enabled",{enumerable:!0,configurable:!1,get:()=>g!==null?g:(_!==r.namespaces&&(_=r.namespaces,y=r.enabled(p)),y),set:b=>{g=b}}),typeof r.init=="function"&&r.init(x),x}function n(p,h){let g=r(this.namespace+(typeof h=="undefined"?":":h)+p);return g.log=this.log,g}function i(p){r.save(p),r.namespaces=p,r.names=[],r.skips=[];let h,g=(typeof p=="string"?p:"").split(/[\s,]+/),_=g.length;for(h=0;h<_;h++)!g[h]||(p=g[h].replace(/\*/g,".*?"),p[0]==="-"?r.skips.push(new RegExp("^"+p.substr(1)+"$")):r.names.push(new RegExp("^"+p+"$")))}function o(){let p=[...r.names.map(u),...r.skips.map(u).map(h=>"-"+h)].join(",");return r.enable(""),p}function s(p){if(p[p.length-1]==="*")return!0;let h,g;for(h=0,g=r.skips.length;h<g;h++)if(r.skips[h].test(p))return!1;for(h=0,g=r.names.length;h<g;h++)if(r.names[h].test(p))return!0;return!1}function u(p){return p.toString().substring(2,p.toString().length-2).replace(/\.\*\?$/,"*")}function c(p){return p instanceof Error?p.stack||p.message:p}function f(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}cNe.exports=kXt});var lNe=L((o2,NX)=>{o2.formatArgs=OXt;o2.save=NXt;o2.load=RXt;o2.useColors=IXt;o2.storage=FXt();o2.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();o2.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function IXt(){return typeof window!="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document!="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function OXt(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+NX.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),e.splice(n,0,t)}o2.log=console.debug||console.log||(()=>{});function NXt(e){try{e?o2.storage.setItem("debug",e):o2.storage.removeItem("debug")}catch(t){}}function RXt(){let e;try{e=o2.storage.getItem("debug")}catch(t){}return!e&&typeof process!="undefined"&&"env"in process&&(e=process.env.DEBUG),e}function FXt(){try{return localStorage}catch(e){}}NX.exports=m_e()(o2);var{formatters:MXt}=NX.exports;MXt.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var pNe=L((z8n,fNe)=>{"use strict";fNe.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n<i)}});var g_e=L((J8n,mNe)=>{"use strict";var jXt=require("os"),dNe=require("tty"),ib=pNe(),{env:lg}=process,Ow;ib("no-color")||ib("no-colors")||ib("color=false")||ib("color=never")?Ow=0:(ib("color")||ib("colors")||ib("color=true")||ib("color=always"))&&(Ow=1);"FORCE_COLOR"in lg&&(lg.FORCE_COLOR==="true"?Ow=1:lg.FORCE_COLOR==="false"?Ow=0:Ow=lg.FORCE_COLOR.length===0?1:Math.min(parseInt(lg.FORCE_COLOR,10),3));function __e(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function h_e(e,t){if(Ow===0)return 0;if(ib("color=16m")||ib("color=full")||ib("color=truecolor"))return 3;if(ib("color=256"))return 2;if(e&&!t&&Ow===void 0)return 0;let r=Ow||0;if(lg.TERM==="dumb")return r;if(process.platform==="win32"){let n=jXt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in lg)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in lg)||lg.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in lg)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(lg.TEAMCITY_VERSION)?1:0;if(lg.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in lg){let n=parseInt((lg.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(lg.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(lg.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(lg.TERM)||"COLORTERM"in lg?1:r}function LXt(e){let t=h_e(e,e&&e.isTTY);return __e(t)}mNe.exports={supportsColor:LXt,stdout:__e(h_e(!0,dNe.isatty(1))),stderr:__e(h_e(!0,dNe.isatty(2)))}});var hNe=L((sv,FX)=>{var qXt=require("tty"),RX=require("util");sv.init=$Xt;sv.log=zXt;sv.formatArgs=UXt;sv.save=JXt;sv.load=WXt;sv.useColors=BXt;sv.destroy=RX.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");sv.colors=[6,2,3,4,5,1];try{let e=g_e();e&&(e.stderr||e).level>=2&&(sv.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}sv.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,o)=>o.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function BXt(){return"colors"in sv.inspectOpts?Boolean(sv.inspectOpts.colors):qXt.isatty(process.stderr.fd)}function UXt(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,i="[3"+(n<8?n:"8;5;"+n),o=` ${i};1m${t} [0m`;e[0]=o+e[0].split(`
`).join(`
`+o),e.push(i+"m+"+FX.exports.humanize(this.diff)+"[0m")}else e[0]=VXt()+t+" "+e[0]}function VXt(){return sv.inspectOpts.hideDate?"":new Date().toISOString()+" "}function zXt(...e){return process.stderr.write(RX.format(...e)+`
`)}function JXt(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function WXt(){return process.env.DEBUG}function $Xt(e){e.inspectOpts={};let t=Object.keys(sv.inspectOpts);for(let r=0;r<t.length;r++)e.inspectOpts[t[r]]=sv.inspectOpts[t[r]]}FX.exports=m_e()(sv);var{formatters:_Ne}=FX.exports;_Ne.o=function(e){return this.inspectOpts.colors=this.useColors,RX.inspect(e,this.inspectOpts).split(`
`).map(t=>t.trim()).join(" ")};_Ne.O=function(e){return this.inspectOpts.colors=this.useColors,RX.inspect(e,this.inspectOpts)}});var Nw=L((W8n,v_e)=>{typeof process=="undefined"||process.type==="renderer"||process.browser===!0||process.__nwjs?v_e.exports=lNe():v_e.exports=hNe()});var vNe=L(($8n,gNe)=>{var gq;gNe.exports=function(){if(!gq){try{gq=Nw()("follow-redirects")}catch(e){}typeof gq!="function"&&(gq=function(){})}gq.apply(null,arguments)}});var x_e=L((G8n,E_e)=>{var LA=require("url"),y_e=LA.URL,GXt=require("http"),HXt=require("https"),yNe=require("stream").Writable,XXt=require("assert"),bNe=vNe(),qA=["abort","aborted","connect","error","socket","timeout"],b_e=Object.create(null);qA.forEach(function(e){b_e[e]=function(t,r,n){this._redirectable.emit(e,t,r,n)}});var SNe=MX("ERR_FR_REDIRECTION_FAILURE","Redirected request failed"),KXt=MX("ERR_FR_TOO_MANY_REDIRECTS","Maximum number of redirects exceeded"),YXt=MX("ERR_FR_MAX_BODY_LENGTH_EXCEEDED","Request body larger than maxBodyLength limit"),QXt=MX("ERR_STREAM_WRITE_AFTER_END","write after end");function s2(e,t){yNe.call(this),this._sanitizeOptions(e),this._options=e,this._ended=!1,this._ending=!1,this._redirectCount=0,this._redirects=[],this._requestBodyLength=0,this._requestBodyBuffers=[],t&&this.on("response",t);var r=this;this._onNativeResponse=function(n){r._processResponse(n)},this._performRequest()}s2.prototype=Object.create(yNe.prototype);s2.prototype.abort=function(){DNe(this._currentRequest),this.emit("abort")};s2.prototype.write=function(e,t,r){if(this._ending)throw new QXt;if(!(typeof e=="string"||typeof e=="object"&&"length"in e))throw new TypeError("data should be a string, Buffer or Uint8Array");if(typeof t=="function"&&(r=t,t=null),e.length===0){r&&r();return}this._requestBodyLength+e.length<=this._options.maxBodyLength?(this._requestBodyLength+=e.length,this._requestBodyBuffers.push({data:e,encoding:t}),this._currentRequest.write(e,t,r)):(this.emit("error",new YXt),this.abort())};s2.prototype.end=function(e,t,r){if(typeof e=="function"?(r=e,e=t=null):typeof t=="function"&&(r=t,t=null),!e)this._ended=this._ending=!0,this._currentRequest.end(null,null,r);else{var n=this,i=this._currentRequest;this.write(e,t,function(){n._ended=!0,i.end(null,null,r)}),this._ending=!0}};s2.prototype.setHeader=function(e,t){this._options.headers[e]=t,this._currentRequest.setHeader(e,t)};s2.prototype.removeHeader=function(e){delete this._options.headers[e],this._currentRequest.removeHeader(e)};s2.prototype.setTimeout=function(e,t){var r=this;function n(s){s.setTimeout(e),s.removeListener("timeout",s.destroy),s.addListener("timeout",s.destroy)}function i(s){r._timeout&&clearTimeout(r._timeout),r._timeout=setTimeout(function(){r.emit("timeout"),o()},e),n(s)}function o(){r._timeout&&(clearTimeout(r._timeout),r._timeout=null),r.removeListener("abort",o),r.removeListener("error",o),r.removeListener("response",o),t&&r.removeListener("timeout",t),r.socket||r._currentRequest.removeListener("socket",i)}return t&&this.on("timeout",t),this.socket?i(this.socket):this._currentRequest.once("socket",i),this.on("socket",n),this.on("abort",o),this.on("error",o),this.on("response",o),this};["flushHeaders","getHeader","setNoDelay","setSocketKeepAlive"].forEach(function(e){s2.prototype[e]=function(t,r){return this._currentRequest[e](t,r)}});["aborted","connection","socket"].forEach(function(e){Object.defineProperty(s2.prototype,e,{get:function(){return this._currentRequest[e]}})});s2.prototype._sanitizeOptions=function(e){if(e.headers||(e.headers={}),e.host&&(e.hostname||(e.hostname=e.host),delete e.host),!e.pathname&&e.path){var t=e.path.indexOf("?");t<0?e.pathname=e.path:(e.pathname=e.path.substring(0,t),e.search=e.path.substring(t))}};s2.prototype._performRequest=function(){var e=this._options.protocol,t=this._options.nativeProtocols[e];if(!t){this.emit("error",new TypeError("Unsupported protocol "+e));return}if(this._options.agents){var r=e.substr(0,e.length-1);this._options.agent=this._options.agents[r]}var n=this._currentRequest=t.request(this._options,this._onNativeResponse);this._currentUrl=LA.format(this._options),n._redirectable=this;for(var i=0;i<qA.length;i++)n.on(qA[i],b_e[qA[i]]);if(this._isRedirect){var o=0,s=this,u=this._requestBodyBuffers;(function c(f){if(n===s._currentRequest)if(f)s.emit("error",f);else if(o<u.length){var p=u[o++];n.finished||n.write(p.data,p.encoding,c)}else s._ended&&n.end()})()}};s2.prototype._processResponse=function(e){var t=e.statusCode;this._options.trackRedirects&&this._redirects.push({url:this._currentUrl,headers:e.headers,statusCode:t});var r=e.headers.location;if(!r||this._options.followRedirects===!1||t<300||t>=400){e.responseUrl=this._currentUrl,e.redirects=this._redirects,this.emit("response",e),this._requestBodyBuffers=[];return}if(DNe(this._currentRequest),e.destroy(),++this._redirectCount>this._options.maxRedirects){this.emit("error",new KXt);return}((t===301||t===302)&&this._options.method==="POST"||t===303&&!/^(?:GET|HEAD)$/.test(this._options.method))&&(this._options.method="GET",this._requestBodyBuffers=[],S_e(/^content-/i,this._options.headers));var n=S_e(/^host$/i,this._options.headers),i=LA.parse(this._currentUrl),o=n||i.host,s=/^\w+:/.test(r)?this._currentUrl:LA.format(Object.assign(i,{host:o})),u;try{u=LA.resolve(s,r)}catch(p){this.emit("error",new SNe(p));return}bNe("redirecting to",u),this._isRedirect=!0;var c=LA.parse(u);if(Object.assign(this._options,c),(c.protocol!==i.protocol&&c.protocol!=="https:"||c.host!==o&&!eKt(c.host,o))&&S_e(/^(?:authorization|cookie)$/i,this._options.headers),typeof this._options.beforeRedirect=="function"){var f={headers:e.headers};try{this._options.beforeRedirect.call(null,this._options,f)}catch(p){this.emit("error",p);return}this._sanitizeOptions(this._options)}try{this._performRequest()}catch(p){this.emit("error",new SNe(p))}};function ENe(e){var t={maxRedirects:21,maxBodyLength:10*1024*1024},r={};return Object.keys(e).forEach(function(n){var i=n+":",o=r[i]=e[n],s=t[n]=Object.create(o);function u(f,p,h){if(typeof f=="string"){var g=f;try{f=xNe(new y_e(g))}catch(_){f=LA.parse(g)}}else y_e&&f instanceof y_e?f=xNe(f):(h=p,p=f,f={protocol:i});return typeof p=="function"&&(h=p,p=null),p=Object.assign({maxRedirects:t.maxRedirects,maxBodyLength:t.maxBodyLength},f,p),p.nativeProtocols=r,XXt.equal(p.protocol,i,"protocol mismatch"),bNe("options",p),new s2(p,h)}function c(f,p,h){var g=s.request(f,p,h);return g.end(),g}Object.defineProperties(s,{request:{value:u,configurable:!0,enumerable:!0,writable:!0},get:{value:c,configurable:!0,enumerable:!0,writable:!0}})}),t}function ZXt(){}function xNe(e){var t={protocol:e.protocol,hostname:e.hostname.startsWith("[")?e.hostname.slice(1,-1):e.hostname,hash:e.hash,search:e.search,pathname:e.pathname,path:e.pathname+e.search,href:e.href};return e.port!==""&&(t.port=Number(e.port)),t}function S_e(e,t){var r;for(var n in t)e.test(n)&&(r=t[n],delete t[n]);return r===null||typeof r=="undefined"?void 0:String(r).trim()}function MX(e,t){function r(n){Error.captureStackTrace(this,this.constructor),n?(this.message=t+": "+n.message,this.cause=n):this.message=t}return r.prototype=new Error,r.prototype.constructor=r,r.prototype.name="Error ["+e+"]",r.prototype.code=e,r}function DNe(e){for(var t=0;t<qA.length;t++)e.removeListener(qA[t],b_e[qA[t]]);e.on("error",ZXt),e.abort()}function eKt(e,t){let r=e.length-t.length-1;return r>0&&e[r]==="."&&e.endsWith(t)}E_e.exports=ENe({http:GXt,https:HXt});E_e.exports.wrap=ENe});var D_e=L((H8n,tKt)=>{tKt.exports={name:"axios",version:"0.21.4",description:"Promise based HTTP client for the browser and node.js",main:"index.js",scripts:{test:"grunt test",start:"node ./sandbox/server.js",build:"NODE_ENV=production grunt build",preversion:"npm test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",postversion:"git push && git push --tags",examples:"node ./examples/server.js",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",fix:"eslint --fix lib/**/*.js"},repository:{type:"git",url:"https://github.com/axios/axios.git"},keywords:["xhr","http","ajax","promise","node"],author:"Matt Zabriskie",license:"MIT",bugs:{url:"https://github.com/axios/axios/issues"},homepage:"https://axios-http.com",devDependencies:{coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"},browser:{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},jsdelivr:"dist/axios.min.js",unpkg:"dist/axios.min.js",typings:"./index.d.ts",dependencies:{"follow-redirects":"^1.14.0"},bundlesize:[{path:"./dist/axios.min.js",threshold:"5kB"}]}});var kNe=L((X8n,PNe)=>{"use strict";var vq=t0(),CNe=l_e(),rKt=f_e(),nKt=TX(),iKt=require("http"),aKt=require("https"),oKt=x_e().http,sKt=x_e().https,TNe=require("url"),uKt=require("zlib"),cKt=D_e(),jX=PX(),C_e=AX(),wNe=/https:?/;function ANe(e,t,r){if(e.hostname=t.host,e.host=t.host,e.port=t.port,e.path=r,t.auth){var n=Buffer.from(t.auth.username+":"+t.auth.password,"utf8").toString("base64");e.headers["Proxy-Authorization"]="Basic "+n}e.beforeRedirect=function(o){o.headers.host=o.host,ANe(o,t,o.href)}}PNe.exports=function(t){return new Promise(function(n,i){var o=function(A){n(A)},s=function(A){i(A)},u=t.data,c=t.headers;if("User-Agent"in c||"user-agent"in c?!c["User-Agent"]&&!c["user-agent"]&&(delete c["User-Agent"],delete c["user-agent"]):c["User-Agent"]="axios/"+cKt.version,u&&!vq.isStream(u)){if(!Buffer.isBuffer(u))if(vq.isArrayBuffer(u))u=Buffer.from(new Uint8Array(u));else if(vq.isString(u))u=Buffer.from(u,"utf-8");else return s(jX("Data after transformation must be a string, an ArrayBuffer, a Buffer, or a Stream",t));c["Content-Length"]=u.length}var f=void 0;if(t.auth){var p=t.auth.username||"",h=t.auth.password||"";f=p+":"+h}var g=rKt(t.baseURL,t.url),_=TNe.parse(g),y=_.protocol||"http:";if(!f&&_.auth){var x=_.auth.split(":"),b=x[0]||"",T=x[1]||"";f=b+":"+T}f&&delete c.Authorization;var w=wNe.test(y),N=w?t.httpsAgent:t.httpAgent,C={path:nKt(_.path,t.params,t.paramsSerializer).replace(/^\?/,""),method:t.method.toUpperCase(),headers:c,agent:N,agents:{http:t.httpAgent,https:t.httpsAgent},auth:f};t.socketPath?C.socketPath=t.socketPath:(C.hostname=_.hostname,C.port=_.port);var D=t.proxy;if(!D&&D!==!1){var W=y.slice(0,-1)+"_proxy",H=process.env[W]||process.env[W.toUpperCase()];if(H){var $=TNe.parse(H),te=process.env.no_proxy||process.env.NO_PROXY,q=!0;if(te){var F=te.split(",").map(function(A){return A.trim()});q=!F.some(function(A){return A?A==="*"||A[0]==="."&&_.hostname.substr(_.hostname.length-A.length)===A?!0:_.hostname===A:!1})}if(q&&(D={host:$.hostname,port:$.port,protocol:$.protocol},$.auth)){var ee=$.auth.split(":");D.auth={username:ee[0],password:ee[1]}}}}D&&(C.headers.host=_.hostname+(_.port?":"+_.port:""),ANe(C,D,y+"//"+_.hostname+(_.port?":"+_.port:"")+C.path));var X,U=w&&(D?wNe.test(D.protocol):!0);t.transport?X=t.transport:t.maxRedirects===0?X=U?aKt:iKt:(t.maxRedirects&&(C.maxRedirects=t.maxRedirects),X=U?sKt:oKt),t.maxBodyLength>-1&&(C.maxBodyLength=t.maxBodyLength);var k=X.request(C,function(A){if(!k.aborted){var P=A,z=A.req||k;if(A.statusCode!==204&&z.method!=="HEAD"&&t.decompress!==!1)switch(A.headers["content-encoding"]){case"gzip":case"compress":case"deflate":P=P.pipe(uKt.createUnzip()),delete A.headers["content-encoding"];break}var O={status:A.statusCode,statusText:A.statusMessage,headers:A.headers,config:t,request:z};if(t.responseType==="stream")O.data=P,CNe(o,s,O);else{var G=[],ne=0;P.on("data",function(ie){G.push(ie),ne+=ie.length,t.maxContentLength>-1&&ne>t.maxContentLength&&(P.destroy(),s(jX("maxContentLength size of "+t.maxContentLength+" exceeded",t,null,z)))}),P.on("error",function(ie){k.aborted||s(C_e(ie,t,null,z))}),P.on("end",function(){var ie=Buffer.concat(G);t.responseType!=="arraybuffer"&&(ie=ie.toString(t.responseEncoding),(!t.responseEncoding||t.responseEncoding==="utf8")&&(ie=vq.stripBOM(ie))),O.data=ie,CNe(o,s,O)})}}});if(k.on("error",function(A){k.aborted&&A.code!=="ERR_FR_TOO_MANY_REDIRECTS"||s(C_e(A,t,null,k))}),t.timeout){var Z=parseInt(t.timeout,10);if(isNaN(Z)){s(jX("error trying to parse `config.timeout` to int",t,"ERR_PARSE_TIMEOUT",k));return}k.setTimeout(Z,function(){k.abort(),s(jX("timeout of "+Z+"ms exceeded",t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",k))})}t.cancelToken&&t.cancelToken.promise.then(function(A){k.aborted||(k.abort(),s(A))}),vq.isStream(u)?u.on("error",function(A){s(C_e(A,t,null,k))}).pipe(k):k.end(u)})}});var qX=L((K8n,NNe)=>{"use strict";var uv=t0(),INe=zOe(),lKt=AX(),fKt={"Content-Type":"application/x-www-form-urlencoded"};function ONe(e,t){!uv.isUndefined(e)&&uv.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function pKt(){var e;return typeof XMLHttpRequest!="undefined"?e=oNe():typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]"&&(e=kNe()),e}function dKt(e,t,r){if(uv.isString(e))try{return(t||JSON.parse)(e),uv.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var LX={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:pKt(),transformRequest:[function(t,r){return INe(r,"Accept"),INe(r,"Content-Type"),uv.isFormData(t)||uv.isArrayBuffer(t)||uv.isBuffer(t)||uv.isStream(t)||uv.isFile(t)||uv.isBlob(t)?t:uv.isArrayBufferView(t)?t.buffer:uv.isURLSearchParams(t)?(ONe(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):uv.isObject(t)||r&&r["Content-Type"]==="application/json"?(ONe(r,"application/json"),dKt(t)):t}],transformResponse:[function(t){var r=this.transitional,n=r&&r.silentJSONParsing,i=r&&r.forcedJSONParsing,o=!n&&this.responseType==="json";if(o||i&&uv.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?lKt(s,this,"E_JSON_PARSE"):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};LX.headers={common:{Accept:"application/json, text/plain, */*"}};uv.forEach(["delete","get","head"],function(t){LX.headers[t]={}});uv.forEach(["post","put","patch"],function(t){LX.headers[t]=uv.merge(fKt)});NNe.exports=LX});var FNe=L((Y8n,RNe)=>{"use strict";var mKt=t0(),_Kt=qX();RNe.exports=function(t,r,n){var i=this||_Kt;return mKt.forEach(n,function(s){t=s.call(i,t,r)}),t}});var T_e=L((Q8n,MNe)=>{"use strict";MNe.exports=function(t){return!!(t&&t.__CANCEL__)}});var qNe=L((Z8n,LNe)=>{"use strict";var jNe=t0(),w_e=FNe(),hKt=T_e(),gKt=qX();function A_e(e){e.cancelToken&&e.cancelToken.throwIfRequested()}LNe.exports=function(t){A_e(t),t.headers=t.headers||{},t.data=w_e.call(t,t.data,t.headers,t.transformRequest),t.headers=jNe.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),jNe.forEach(["delete","get","head","post","put","patch","common"],function(i){delete t.headers[i]});var r=t.adapter||gKt.adapter;return r(t).then(function(i){return A_e(t),i.data=w_e.call(t,i.data,i.headers,t.transformResponse),i},function(i){return hKt(i)||(A_e(t),i&&i.response&&(i.response.data=w_e.call(t,i.response.data,i.response.headers,t.transformResponse))),Promise.reject(i)})}});var P_e=L((e5n,BNe)=>{"use strict";var Gv=t0();BNe.exports=function(t,r){r=r||{};var n={},i=["url","method","data"],o=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],u=["validateStatus"];function c(g,_){return Gv.isPlainObject(g)&&Gv.isPlainObject(_)?Gv.merge(g,_):Gv.isPlainObject(_)?Gv.merge({},_):Gv.isArray(_)?_.slice():_}function f(g){Gv.isUndefined(r[g])?Gv.isUndefined(t[g])||(n[g]=c(void 0,t[g])):n[g]=c(t[g],r[g])}Gv.forEach(i,function(_){Gv.isUndefined(r[_])||(n[_]=c(void 0,r[_]))}),Gv.forEach(o,f),Gv.forEach(s,function(_){Gv.isUndefined(r[_])?Gv.isUndefined(t[_])||(n[_]=c(void 0,t[_])):n[_]=c(void 0,r[_])}),Gv.forEach(u,function(_){_ in r?n[_]=c(t[_],r[_]):_ in t&&(n[_]=c(void 0,t[_]))});var p=i.concat(o).concat(s).concat(u),h=Object.keys(t).concat(Object.keys(r)).filter(function(_){return p.indexOf(_)===-1});return Gv.forEach(h,f),n}});var WNe=L((t5n,JNe)=>{"use strict";var UNe=D_e(),k_e={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){k_e[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var VNe={},vKt=UNe.version.split(".");function zNe(e,t){for(var r=t?t.split("."):vKt,n=e.split("."),i=0;i<3;i++){if(r[i]>n[i])return!0;if(r[i]<n[i])return!1}return!1}k_e.transitional=function(t,r,n){var i=r&&zNe(r);function o(s,u){return"[Axios v"+UNe.version+"] Transitional option '"+s+"'"+u+(n?". "+n:"")}return function(s,u,c){if(t===!1)throw new Error(o(u," has been removed in "+r));return i&&!VNe[u]&&(VNe[u]=!0,console.warn(o(u," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(s,u,c):!0}};function yKt(e,t,r){if(typeof e!="object")throw new TypeError("options must be an object");for(var n=Object.keys(e),i=n.length;i-- >0;){var o=n[i],s=t[o];if(s){var u=e[o],c=u===void 0||s(u,o,e);if(c!==!0)throw new TypeError("option "+o+" must be "+c);continue}if(r!==!0)throw Error("Unknown option "+o)}}JNe.exports={isOlderVersion:zNe,assertOptions:yKt,validators:k_e}});var YNe=L((r5n,KNe)=>{"use strict";var $Ne=t0(),bKt=TX(),GNe=UOe(),HNe=qNe(),BX=P_e(),XNe=WNe(),zk=XNe.validators;function yq(e){this.defaults=e,this.interceptors={request:new GNe,response:new GNe}}yq.prototype.request=function(t){typeof t=="string"?(t=arguments[1]||{},t.url=arguments[0]):t=t||{},t=BX(this.defaults,t),t.method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;r!==void 0&&XNe.assertOptions(r,{silentJSONParsing:zk.transitional(zk.boolean,"1.0.0"),forcedJSONParsing:zk.transitional(zk.boolean,"1.0.0"),clarifyTimeoutError:zk.transitional(zk.boolean,"1.0.0")},!1);var n=[],i=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(t)===!1||(i=i&&g.synchronous,n.unshift(g.fulfilled,g.rejected))});var o=[];this.interceptors.response.forEach(function(g){o.push(g.fulfilled,g.rejected)});var s;if(!i){var u=[HNe,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(o),s=Promise.resolve(t);u.length;)s=s.then(u.shift(),u.shift());return s}for(var c=t;n.length;){var f=n.shift(),p=n.shift();try{c=f(c)}catch(h){p(h);break}}try{s=HNe(c)}catch(h){return Promise.reject(h)}for(;o.length;)s=s.then(o.shift(),o.shift());return s};yq.prototype.getUri=function(t){return t=BX(this.defaults,t),bKt(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")};$Ne.forEach(["delete","get","head","options"],function(t){yq.prototype[t]=function(r,n){return this.request(BX(n||{},{method:t,url:r,data:(n||{}).data}))}});$Ne.forEach(["post","put","patch"],function(t){yq.prototype[t]=function(r,n,i){return this.request(BX(i||{},{method:t,url:r,data:n}))}});KNe.exports=yq});var O_e=L((n5n,QNe)=>{"use strict";function I_e(e){this.message=e}I_e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")};I_e.prototype.__CANCEL__=!0;QNe.exports=I_e});var eRe=L((i5n,ZNe)=>{"use strict";var SKt=O_e();function UX(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(i){t=i});var r=this;e(function(i){r.reason||(r.reason=new SKt(i),t(r.reason))})}UX.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};UX.source=function(){var t,r=new UX(function(i){t=i});return{token:r,cancel:t}};ZNe.exports=UX});var rRe=L((a5n,tRe)=>{"use strict";tRe.exports=function(t){return function(n){return t.apply(null,n)}}});var iRe=L((o5n,nRe)=>{"use strict";nRe.exports=function(t){return typeof t=="object"&&t.isAxiosError===!0}});var sRe=L((s5n,N_e)=>{"use strict";var aRe=t0(),EKt=a_e(),VX=YNe(),xKt=P_e(),DKt=qX();function oRe(e){var t=new VX(e),r=EKt(VX.prototype.request,t);return aRe.extend(r,VX.prototype,t),aRe.extend(r,t),r}var OE=oRe(DKt);OE.Axios=VX;OE.create=function(t){return oRe(xKt(OE.defaults,t))};OE.Cancel=O_e();OE.CancelToken=eRe();OE.isCancel=T_e();OE.all=function(t){return Promise.all(t)};OE.spread=rRe();OE.isAxiosError=iRe();N_e.exports=OE;N_e.exports.default=OE});var R_e=L((u5n,uRe)=>{uRe.exports=sRe()});var $d=L((bq,F_e)=>{(function(e,t){if(typeof bq=="object"&&typeof F_e=="object")F_e.exports=t();else if(typeof define=="function"&&define.amd)define([],t);else{var r=t();for(var n in r)(typeof bq=="object"?bq:e)[n]=r[n]}})(bq,function(){return(()=>{"use strict";var e={470:r=>{function n(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function i(s,u){for(var c,f="",p=0,h=-1,g=0,_=0;_<=s.length;++_){if(_<s.length)c=s.charCodeAt(_);else{if(c===47)break;c=47}if(c===47){if(!(h===_-1||g===1))if(h!==_-1&&g===2){if(f.length<2||p!==2||f.charCodeAt(f.length-1)!==46||f.charCodeAt(f.length-2)!==46){if(f.length>2){var y=f.lastIndexOf("/");if(y!==f.length-1){y===-1?(f="",p=0):p=(f=f.slice(0,y)).length-1-f.lastIndexOf("/"),h=_,g=0;continue}}else if(f.length===2||f.length===1){f="",p=0,h=_,g=0;continue}}u&&(f.length>0?f+="/..":f="..",p=2)}else f.length>0?f+="/"+s.slice(h+1,_):f=s.slice(h+1,_),p=_-h-1;h=_,g=0}else c===46&&g!==-1?++g:g=-1}return f}var o={resolve:function(){for(var s,u="",c=!1,f=arguments.length-1;f>=-1&&!c;f--){var p;f>=0?p=arguments[f]:(s===void 0&&(s=process.cwd()),p=s),n(p),p.length!==0&&(u=p+"/"+u,c=p.charCodeAt(0)===47)}return u=i(u,!c),c?u.length>0?"/"+u:"/":u.length>0?u:"."},normalize:function(s){if(n(s),s.length===0)return".";var u=s.charCodeAt(0)===47,c=s.charCodeAt(s.length-1)===47;return(s=i(s,!u)).length!==0||u||(s="."),s.length>0&&c&&(s+="/"),u?"/"+s:s},isAbsolute:function(s){return n(s),s.length>0&&s.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var s,u=0;u<arguments.length;++u){var c=arguments[u];n(c),c.length>0&&(s===void 0?s=c:s+="/"+c)}return s===void 0?".":o.normalize(s)},relative:function(s,u){if(n(s),n(u),s===u||(s=o.resolve(s))===(u=o.resolve(u)))return"";for(var c=1;c<s.length&&s.charCodeAt(c)===47;++c);for(var f=s.length,p=f-c,h=1;h<u.length&&u.charCodeAt(h)===47;++h);for(var g=u.length-h,_=p<g?p:g,y=-1,x=0;x<=_;++x){if(x===_){if(g>_){if(u.charCodeAt(h+x)===47)return u.slice(h+x+1);if(x===0)return u.slice(h+x)}else p>_&&(s.charCodeAt(c+x)===47?y=x:x===0&&(y=0));break}var b=s.charCodeAt(c+x);if(b!==u.charCodeAt(h+x))break;b===47&&(y=x)}var T="";for(x=c+y+1;x<=f;++x)x!==f&&s.charCodeAt(x)!==47||(T.length===0?T+="..":T+="/..");return T.length>0?T+u.slice(h+y):(h+=y,u.charCodeAt(h)===47&&++h,u.slice(h))},_makeLong:function(s){return s},dirname:function(s){if(n(s),s.length===0)return".";for(var u=s.charCodeAt(0),c=u===47,f=-1,p=!0,h=s.length-1;h>=1;--h)if((u=s.charCodeAt(h))===47){if(!p){f=h;break}}else p=!1;return f===-1?c?"/":".":c&&f===1?"//":s.slice(0,f)},basename:function(s,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');n(s);var c,f=0,p=-1,h=!0;if(u!==void 0&&u.length>0&&u.length<=s.length){if(u.length===s.length&&u===s)return"";var g=u.length-1,_=-1;for(c=s.length-1;c>=0;--c){var y=s.charCodeAt(c);if(y===47){if(!h){f=c+1;break}}else _===-1&&(h=!1,_=c+1),g>=0&&(y===u.charCodeAt(g)?--g==-1&&(p=c):(g=-1,p=_))}return f===p?p=_:p===-1&&(p=s.length),s.slice(f,p)}for(c=s.length-1;c>=0;--c)if(s.charCodeAt(c)===47){if(!h){f=c+1;break}}else p===-1&&(h=!1,p=c+1);return p===-1?"":s.slice(f,p)},extname:function(s){n(s);for(var u=-1,c=0,f=-1,p=!0,h=0,g=s.length-1;g>=0;--g){var _=s.charCodeAt(g);if(_!==47)f===-1&&(p=!1,f=g+1),_===46?u===-1?u=g:h!==1&&(h=1):u!==-1&&(h=-1);else if(!p){c=g+1;break}}return u===-1||f===-1||h===0||h===1&&u===f-1&&u===c+1?"":s.slice(u,f)},format:function(s){if(s===null||typeof s!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof s);return function(u,c){var f=c.dir||c.root,p=c.base||(c.name||"")+(c.ext||"");return f?f===c.root?f+p:f+"/"+p:p}(0,s)},parse:function(s){n(s);var u={root:"",dir:"",base:"",ext:"",name:""};if(s.length===0)return u;var c,f=s.charCodeAt(0),p=f===47;p?(u.root="/",c=1):c=0;for(var h=-1,g=0,_=-1,y=!0,x=s.length-1,b=0;x>=c;--x)if((f=s.charCodeAt(x))!==47)_===-1&&(y=!1,_=x+1),f===46?h===-1?h=x:b!==1&&(b=1):h!==-1&&(b=-1);else if(!y){g=x+1;break}return h===-1||_===-1||b===0||b===1&&h===_-1&&h===g+1?_!==-1&&(u.base=u.name=g===0&&p?s.slice(1,_):s.slice(g,_)):(g===0&&p?(u.name=s.slice(1,h),u.base=s.slice(1,_)):(u.name=s.slice(g,h),u.base=s.slice(g,_)),u.ext=s.slice(h,_)),g>0?u.dir=s.slice(0,g-1):p&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};o.posix=o,r.exports=o},465:(r,n,i)=>{Object.defineProperty(n,"__esModule",{value:!0}),n.Utils=n.URI=void 0;var o=i(796);Object.defineProperty(n,"URI",{enumerable:!0,get:function(){return o.URI}});var s=i(679);Object.defineProperty(n,"Utils",{enumerable:!0,get:function(){return s.Utils}})},674:(r,n)=>{if(Object.defineProperty(n,"__esModule",{value:!0}),n.isWindows=void 0,typeof process=="object")n.isWindows=process.platform==="win32";else if(typeof navigator=="object"){var i=navigator.userAgent;n.isWindows=i.indexOf("Windows")>=0}},796:function(r,n,i){var o,s,u=this&&this.__extends||(o=function(F,ee){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(X,U){X.__proto__=U}||function(X,U){for(var k in U)Object.prototype.hasOwnProperty.call(U,k)&&(X[k]=U[k])})(F,ee)},function(F,ee){if(typeof ee!="function"&&ee!==null)throw new TypeError("Class extends value "+String(ee)+" is not a constructor or null");function X(){this.constructor=F}o(F,ee),F.prototype=ee===null?Object.create(ee):(X.prototype=ee.prototype,new X)});Object.defineProperty(n,"__esModule",{value:!0}),n.uriToFsPath=n.URI=void 0;var c=i(674),f=/^\w[\w\d+.-]*$/,p=/^\//,h=/^\/\//;function g(F,ee){if(!F.scheme&&ee)throw new Error('[UriError]: Scheme is missing: {scheme: "", authority: "'.concat(F.authority,'", path: "').concat(F.path,'", query: "').concat(F.query,'", fragment: "').concat(F.fragment,'"}'));if(F.scheme&&!f.test(F.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(F.path){if(F.authority){if(!p.test(F.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(h.test(F.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}var _="",y="/",x=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,b=function(){function F(ee,X,U,k,Z,j){j===void 0&&(j=!1),typeof ee=="object"?(this.scheme=ee.scheme||_,this.authority=ee.authority||_,this.path=ee.path||_,this.query=ee.query||_,this.fragment=ee.fragment||_):(this.scheme=function(A,P){return A||P?A:"file"}(ee,j),this.authority=X||_,this.path=function(A,P){switch(A){case"https":case"http":case"file":P?P[0]!==y&&(P=y+P):P=y}return P}(this.scheme,U||_),this.query=k||_,this.fragment=Z||_,g(this,j))}return F.isUri=function(ee){return ee instanceof F||!!ee&&typeof ee.authority=="string"&&typeof ee.fragment=="string"&&typeof ee.path=="string"&&typeof ee.query=="string"&&typeof ee.scheme=="string"&&typeof ee.fsPath=="string"&&typeof ee.with=="function"&&typeof ee.toString=="function"},Object.defineProperty(F.prototype,"fsPath",{get:function(){return W(this,!1)},enumerable:!1,configurable:!0}),F.prototype.with=function(ee){if(!ee)return this;var X=ee.scheme,U=ee.authority,k=ee.path,Z=ee.query,j=ee.fragment;return X===void 0?X=this.scheme:X===null&&(X=_),U===void 0?U=this.authority:U===null&&(U=_),k===void 0?k=this.path:k===null&&(k=_),Z===void 0?Z=this.query:Z===null&&(Z=_),j===void 0?j=this.fragment:j===null&&(j=_),X===this.scheme&&U===this.authority&&k===this.path&&Z===this.query&&j===this.fragment?this:new w(X,U,k,Z,j)},F.parse=function(ee,X){X===void 0&&(X=!1);var U=x.exec(ee);return U?new w(U[2]||_,q(U[4]||_),q(U[5]||_),q(U[7]||_),q(U[9]||_),X):new w(_,_,_,_,_)},F.file=function(ee){var X=_;if(c.isWindows&&(ee=ee.replace(/\\/g,y)),ee[0]===y&&ee[1]===y){var U=ee.indexOf(y,2);U===-1?(X=ee.substring(2),ee=y):(X=ee.substring(2,U),ee=ee.substring(U)||y)}return new w("file",X,ee,_,_)},F.from=function(ee){var X=new w(ee.scheme,ee.authority,ee.path,ee.query,ee.fragment);return g(X,!0),X},F.prototype.toString=function(ee){return ee===void 0&&(ee=!1),H(this,ee)},F.prototype.toJSON=function(){return this},F.revive=function(ee){if(ee){if(ee instanceof F)return ee;var X=new w(ee);return X._formatted=ee.external,X._fsPath=ee._sep===T?ee.fsPath:null,X}return ee},F}();n.URI=b;var T=c.isWindows?1:void 0,w=function(F){function ee(){var X=F!==null&&F.apply(this,arguments)||this;return X._formatted=null,X._fsPath=null,X}return u(ee,F),Object.defineProperty(ee.prototype,"fsPath",{get:function(){return this._fsPath||(this._fsPath=W(this,!1)),this._fsPath},enumerable:!1,configurable:!0}),ee.prototype.toString=function(X){return X===void 0&&(X=!1),X?H(this,!0):(this._formatted||(this._formatted=H(this,!1)),this._formatted)},ee.prototype.toJSON=function(){var X={$mid:1};return this._fsPath&&(X.fsPath=this._fsPath,X._sep=T),this._formatted&&(X.external=this._formatted),this.path&&(X.path=this.path),this.scheme&&(X.scheme=this.scheme),this.authority&&(X.authority=this.authority),th