lollms-webui/web/dist/assets/index-395dea4c.js

12 lines
256 KiB
JavaScript
Raw Normal View History

2023-05-03 15:06:21 +00:00
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();function bs(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}function ws(e){if(U(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=me(r)?ha(r):ws(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(me(e))return e;if(de(e))return e}}const ua=/;(?![^(]*\))/g,fa=/:([^]+)/,da=/\/\*.*?\*\//gs;function ha(e){const t={};return e.replace(da,"").split(ua).forEach(n=>{if(n){const r=n.split(fa);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ut(e){let t="";if(me(e))t=e;else if(U(e))for(let n=0;n<e.length;n++){const r=ut(e[n]);r&&(t+=r+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const pa="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ya=bs(pa);function ui(e){return!!e||e===""}const ct=e=>me(e)?e:e==null?"":U(e)||de(e)&&(e.toString===pi||!W(e.toString))?JSON.stringify(e,fi,2):String(e),fi=(e,t)=>t&&t.__v_isRef?fi(e,t.value):Gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:di(t)?{[`Set(${t.size})`]:[...t.values()]}:de(t)&&!U(t)&&!yi(t)?String(t):t,ue={},Jt=[],Ye=()=>{},ma=()=>!1,ga=/^on[^a-z]/,ur=e=>ga.test(e),js=e=>e.startsWith("onUpdate:"),Re=Object.assign,_s=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xa=Object.prototype.hasOwnProperty,ne=(e,t)=>xa.call(e,t),U=Array.isArray,Gt=e=>Cn(e)==="[object Map]",di=e=>Cn(e)==="[object Set]",va=e=>Cn(e)==="[object RegExp]",W=e=>typeof e=="function",me=e=>typeof e=="string",Es=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",hi=e=>de(e)&&W(e.then)&&W(e.catch),pi=Object.prototype.toString,Cn=e=>pi.call(e),ba=e=>Cn(e).slice(8,-1),yi=e=>Cn(e)==="[object Object]",As=e=>me(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kn=bs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},wa=/-(\w)/g,ot=fr(e=>e.replace(wa,(t,n)=>n?n.toUpperCase():"")),ja=/\B([A-Z])/g,$t=fr(e=>e.replace(ja,"-$1").toLowerCase()),dr=fr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Tr=fr(e=>e?`on${dr(e)}`:""),En=(e,t)=>!Object.is(e,t),Yt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},nr=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Wr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Zs;const _a=()=>Zs||(Zs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let We;class Ea{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=We,!t&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=We;try{return We=this,t()}finally{We=n}}}on(){We=this}off(){We=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function Aa(e,t=We){t&&t.active&&t.effects.push(e)}function Oa(){return We}const Os=e=>{const t=new Set(e);return t.w=0,t.n=0,t},mi=e=>(e.w&Mt)>0,gi=e=>(
2023-05-03 15:03:50 +00:00
* vue-router v4.1.6
* (c) 2022 Eduardo San Martin Morote
* @license MIT
2023-05-03 15:06:21 +00:00
*/const Wt=typeof window<"u";function $u(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const oe=Object.assign;function Hr(e,t){const n={};for(const r in t){const s=t[r];n[r]=Xe(s)?s.map(e):e(s)}return n}const jn=()=>{},Xe=Array.isArray,Vu=/\/$/,Uu=e=>e.replace(Vu,"");function Dr(e,t,n="/"){let r,s={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return l<a&&l>=0&&(a=-1),a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Ju(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Ku(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Mo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Wu(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&nn(t.matched[r],n.matched[s])&&ul(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function nn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ul(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!qu(e[n],t[n]))return!1;return!0}function qu(e,t){return Xe(e)?To(e,t):Xe(t)?To(t,e):e===t}function To(e,t){return Xe(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Ju(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,o,i;for(o=0;o<r.length;o++)if(i=r[o],i!==".")if(i==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Mn;(function(e){e.pop="pop",e.push="push"})(Mn||(Mn={}));var _n;(function(e){e.back="back",e.forward="forward",e.unknown=""})(_n||(_n={}));function Gu(e){if(!e)if(Wt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Uu(e)}const Yu=/^[^#]+#/;function Qu(e,t){return e.replace(Yu,"#")+t}function Xu(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const _r=()=>({left:window.pageXOffset,top:window.pageYOffset});function Zu(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Xu(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Co(e,t){return(history.state?history.state.position-t:-1)+e}const is=new Map;function ef(e,t){is.set(e,t)}function tf(e){const t=is.get(e);return is.delete(e),t}let nf=()=>location.protocol+"//"+location.host;function fl(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let l=s.includes(e.slice(o))?e.slice(o).length:1,a=s.slice(l);return a[0]!=="/"&&(a="/"+a),Mo(a,"")}return Mo(n,e)+r+s}function rf(e,t,n,r){let s=[],o=[],i=null;const l=({state:d})=>{const y=fl(e,location),p=n.value,m=t.value;let _=0;if(d){if(n.value=y,t.value=d,i&&i===p){i=null;return}_=m?d.position-m.position:0}else r(y);s.forEach(b=>{b(n.value,p,{delta:_,type:Mn.pop,direction:_?_>0?_n.forward:_n.back:_n.unknown})})};function a(){i=n.value}function c(d){s.push(d);const y=()=>{const p=s.indexOf(d);p>-1&&s.splice(p,1)};return o.push(y),y}function u(){const{history:d}=window;d.state&&d.replaceState(oe({},d.state,{scroll:_r()}),"")}function f(){for(const d of o)d();o=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u),{pauseListeners:a,listen:c,destroy:f}}function Po(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?_r():null}}function sf(e){const{history:t,location:n}=window,r={value:fl(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"
2023-05-03 15:03:50 +00:00
Copyright (c) 2016 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
2023-05-03 15:06:21 +00:00
*/(function(){var l=function(){function a(){}a.prototype=Object.create(null);function c(b,x){for(var v=x.length,O=0;O<v;++O)m(b,x[O])}var u={}.hasOwnProperty;function f(b,x){b[x]=!0}function d(b,x){for(var v in x)u.call(x,v)&&(b[v]=!!x[v])}var y=/\s+/;function p(b,x){for(var v=x.split(y),O=v.length,L=0;L<O;++L)b[v[L]]=!0}function m(b,x){if(x){var v=typeof x;v==="string"?p(b,x):Array.isArray(x)?c(b,x):v==="object"?d(b,x):v==="number"&&f(b,x)}}function _(){for(var b=arguments.length,x=Array(b),v=0;v<b;v++)x[v]=arguments[v];var O=new a;c(O,x);var L=[];for(var H in O)O[H]&&L.push(H);return L.join(" ")}return _}();typeof n<"u"&&n.exports?n.exports=l:(o=[],i=function(){return l}.apply(r,o),i!==void 0&&(n.exports=i))})()},"./node_modules/core-js/es/array/from.js":function(n,r,s){s("./node_modules/core-js/modules/es.string.iterator.js"),s("./node_modules/core-js/modules/es.array.from.js");var o=s("./node_modules/core-js/internals/path.js");n.exports=o.Array.from},"./node_modules/core-js/internals/a-function.js":function(n,r){n.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},"./node_modules/core-js/internals/an-object.js":function(n,r,s){var o=s("./node_modules/core-js/internals/is-object.js");n.exports=function(i){if(!o(i))throw TypeError(String(i)+" is not an object");return i}},"./node_modules/core-js/internals/array-from.js":function(n,r,s){var o=s("./node_modules/core-js/internals/bind-context.js"),i=s("./node_modules/core-js/internals/to-object.js"),l=s("./node_modules/core-js/internals/call-with-safe-iteration-closing.js"),a=s("./node_modules/core-js/internals/is-array-iterator-method.js"),c=s("./node_modules/core-js/internals/to-length.js"),u=s("./node_modules/core-js/internals/create-property.js"),f=s("./node_modules/core-js/internals/get-iterator-method.js");n.exports=function(y){var p=i(y),m=typeof this=="function"?this:Array,_=arguments.length,b=_>1?arguments[1]:void 0,x=b!==void 0,v=0,O=f(p),L,H,V,F;if(x&&(b=o(b,_>2?arguments[2]:void 0,2)),O!=null&&!(m==Array&&a(O)))for(F=O.call(p),H=new m;!(V=F.next()).done;v++)u(H,v,x?l(F,b,[V.value,v],!0):V.value);else for(L=c(p.length),H=new m(L);L>v;v++)u(H,v,x?b(p[v],v):p[v]);return H.length=v,H}},"./node_modules/core-js/internals/array-includes.js":function(n,r,s){var o=s("./node_modules/core-js/internals/to-indexed-object.js"),i=s("./node_modules/core-js/internals/to-length.js"),l=s("./node_modules/core-js/internals/to-absolute-index.js");n.exports=function(a){return function(c,u,f){var d=o(c),y=i(d.length),p=l(f,y),m;if(a&&u!=u){for(;y>p;)if(m=d[p++],m!=m)return!0}else for(;y>p;p++)if((a||p in d)&&d[p]===u)return a||p||0;return!a&&-1}}},"./node_modules/core-js/internals/bind-context.js":function(n,r,s){var o=s("./node_modules/core-js/internals/a-function.js");n.exports=function(i,l,a){if(o(i),l===void 0)return i;switch(a){case 0:return function(){return i.call(l)};case 1:return function(c){return i.call(l,c)};case 2:return function(c,u){return i.call(l,c,u)};case 3:return function(c,u,f){return i.call(l,c,u,f)}}return function(){return i.apply(l,arguments)}}},"./node_modules/core-js/internals/call-with-safe-iteration-closing.js":function(n,r,s){var o=s("./node_modules/core-js/internals/an-object.js");n.exports=function(i,l,a,c){try{return c?l(o(a)[0],a[1]):l(a)}catch(f){var u=i.return;throw u!==void 0&&o(u.call(i)),f}}},"./node_modules/core-js/internals/check-correctness-of-iteration.js":function(n,r,s){var o=s("./node_modules/core-js/internals/well-known-symbol.js"),i=o("iterator"),l=!1;try{var a=0,c={next:function(){return{done:!!a++}},return:function(){l=!0}};c[i]=function(){return this},Array.from(c,function(){throw 2})}catch{}n.exports=function(u,f){if(!f&&!l)return!1;var d=!1;try{var y={};y[i]=function(){return{next:function(){return{done:d=!0}}}},u(y)}catch{}return d}},"./node_modules/core-js/internals/classof-raw.js":function(n,r){var s={}.toString;n.exports=function(o){return s.call(o).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(n,r,s){var o=s("./node_modules/core-js/internals/classof-r
`).forEach(function(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&y1[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Qo=Symbol("internals");function dn(e){return e&&String(e).trim().toLowerCase()}function Yn(e){return e===!1||e==null?e:E.isArray(e)?e.map(Yn):String(e)}function g1(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const x1=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Vr(e,t,n,r,s){if(E.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!E.isString(t)){if(E.isString(r))return t.indexOf(r)!==-1;if(E.isRegExp(r))return r.test(t)}}function v1(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function b1(e,t){const n=E.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class Rr{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,a,c){const u=dn(a);if(!u)throw new Error("header name must be a non-empty string");const f=E.findKey(s,u);(!f||s[f]===void 0||c===!0||c===void 0&&s[f]!==!1)&&(s[f||a]=Yn(l))}const i=(l,a)=>E.forEach(l,(c,u)=>o(c,u,a));return E.isPlainObject(t)||t instanceof this.constructor?i(t,n):E.isString(t)&&(t=t.trim())&&!x1(t)?i(m1(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=dn(t),t){const r=E.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return g1(s);if(E.isFunction(n))return n.call(this,s,r);if(E.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=dn(t),t){const r=E.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Vr(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(i){if(i=dn(i),i){const l=E.findKey(r,i);l&&(!n||Vr(r,r[l],l,n))&&(delete r[l],s=!0)}}return E.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Vr(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return E.forEach(this,(s,o)=>{const i=E.findKey(r,o);if(i){n[i]=Yn(s),delete n[o];return}const l=t?v1(o):String(o).trim();l!==o&&delete n[o],n[l]=Yn(s),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return E.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&E.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Qo]=this[Qo]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=dn(i);r[l]||(b1(s,i),r[l]=!0)}return E.isArray(t)?t.forEach(o):o(t),this}}Rr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);E.freezeMethods(Rr.prototype);E.freezeMethods(Rr);const ht=Rr;function Ur(e,t){const n=this||Ks,r=t||n,s=ht.from(r.headers);let o=r.data;return E.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function Hl(e){return!!(e&&e.__CANCEL__)}function Ln(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}E.inherits(Ln,re,{__CANCEL__:!0});function w1(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const j1=rt.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,l){const a=[];a.push(n+"="+encodeURIComponent(r)),E.isNumber(s)&&a.push("expires="+new Date(s).toGMTString()),E.isString(o)&&a.push("path="+o),E.isString(i)&&a.push("domain="+i),l===!0&&a.push("secure"),document.cookie=a.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function _1(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function E1(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Dl(e,t){return e&&!_1(t)?E1(e,t):t}const A1=rt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(i){const l=E.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function O1(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function S1(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,i;return t=t!==void 0?t:1e3,function(a){const c=Date.now(),u=r[o];i||(i=c),n[s]=a,r[s]=c;let f=o,d=0;for(;f!==s;)d+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-i<t)return;const y=u&&c-u;return y?Math.round(d*1e3/y):void 0}}function Xo(e,t){let n=0;const r=S1(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,l=o-n,a=r(l),c=o<=i;n=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:a||void 0,estimated:a&&i&&c?(i-o)/a:void 0,event:s};u[t?"download":"upload"]=!0,e(u)}}const R1=typeof XMLHttpRequest<"u",k1=R1&&function(e){return new Promise(function(n,r){let s=e.data;const o=ht.from(e.headers).normalize(),i=e.responseType;let l;function a(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}E.isFormData(s)&&(rt.isStandardBrowserEnv||rt.isStandardBrowserWebWorkerEnv)&&o.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const y=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(y+":"+p))}const u=Dl(e.baseURL,e.url);c.open(e.method.toUpperCase(),Ll(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function f(){if(!c)return;const y=ht.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),m={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:y,config:e,request:c};w1(function(b){n(b),a()},function(b){r(b),a()