Files
fast_response/front/public/gl/assets/http.8f265ba8.js
Your Name dce091da91 t
2025-03-27 07:52:44 +00:00

2 lines
19 KiB
JavaScript
Executable File

import{ai as e,ar as t,ah as r}from"./index-fea56fdb.js";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var o,i={exports:{}},s=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}},a=s,u=Object.prototype.toString,c=(o=Object.create(null),function(e){var t=u.call(e);return o[t]||(o[t]=t.slice(8,-1).toLowerCase())});function f(e){return e=e.toLowerCase(),function(t){return c(t)===e}}function l(e){return Array.isArray(e)}function p(e){return void 0===e}var d=f("ArrayBuffer");function h(e){return null!==e&&"object"==typeof e}function m(e){if("object"!==c(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var v=f("Date"),y=f("File"),g=f("Blob"),E=f("FileList");function b(e){return"[object Function]"===u.call(e)}var O=f("URLSearchParams");function w(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),l(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var R,A=(R="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return R&&e instanceof R}),S={isArray:l,isArrayBuffer:d,isBuffer:function(e){return null!==e&&!p(e)&&null!==e.constructor&&!p(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||u.call(e)===t||b(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&d(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:h,isPlainObject:m,isUndefined:p,isDate:v,isFile:y,isBlob:g,isFunction:b,isStream:function(e){return h(e)&&b(e.pipe)},isURLSearchParams:O,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:w,merge:function e(){var t={};function r(r,n){m(t[n])&&m(r)?t[n]=e(t[n],r):m(r)?t[n]=e({},r):l(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)w(arguments[n],r);return t},extend:function(e,t,r){return w(t,(function(t,n){e[n]=r&&"function"==typeof t?a(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r){var n,o,i,s={};t=t||{};do{for(o=(n=Object.getOwnPropertyNames(e)).length;o-- >0;)s[i=n[o]]||(t[i]=e[i],s[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:c,kindOfTest:f,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(p(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:A,isFileList:E},j=S;function x(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var T=function(e,t,r){if(!t)return e;var n;if(r)n=r(t);else if(j.isURLSearchParams(t))n=t.toString();else{var o=[];j.forEach(t,(function(e,t){null!=e&&(j.isArray(e)?t+="[]":e=[e],j.forEach(e,(function(e){j.isDate(e)?e=e.toISOString():j.isObject(e)&&(e=JSON.stringify(e)),o.push(x(t)+"="+x(e))})))})),n=o.join("&")}if(n){var i=e.indexOf("#");-1!==i&&(e=e.slice(0,i)),e+=(-1===e.indexOf("?")?"?":"&")+n}return e},C=S;function N(){this.handlers=[]}N.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},N.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},N.prototype.forEach=function(e){C.forEach(this.handlers,(function(t){null!==t&&e(t)}))};var _=N,P=S,U=S;function B(e,t,r,n,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}U.inherits(B,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var D=B.prototype,L={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){L[e]={value:e}})),Object.defineProperties(B,L),Object.defineProperty(D,"isAxiosError",{value:!0}),B.from=function(e,t,r,n,o,i){var s=Object.create(D);return U.toFlatObject(e,s,(function(e){return e!==Error.prototype})),B.call(s,e.message,t,r,n,o),s.name=e.name,i&&Object.assign(s,i),s};var k=B,F={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},q=S;var I,z,J,M,H=function(e,t){t=t||new FormData;var r=[];function n(e){return null===e?"":q.isDate(e)?e.toISOString():q.isArrayBuffer(e)||q.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(o,i){if(q.isPlainObject(o)||q.isArray(o)){if(-1!==r.indexOf(o))throw Error("Circular reference detected in "+i);r.push(o),q.forEach(o,(function(r,o){if(!q.isUndefined(r)){var s,a=i?i+"."+o:o;if(r&&!i&&"object"==typeof r)if(q.endsWith(o,"{}"))r=JSON.stringify(r);else if(q.endsWith(o,"[]")&&(s=q.toArray(r)))return void s.forEach((function(e){!q.isUndefined(e)&&t.append(a,n(e))}));e(r,a)}})),r.pop()}else t.append(i,n(o))}(e),t};var W,V,X,K,$,Q,G,Y,Z,ee,te,re,ne=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)},oe=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e},ie=function(e,t){return e&&!ne(t)?oe(e,t):t};function se(){if(Q)return $;Q=1;var e=k;function t(t){e.call(this,null==t?"canceled":t,e.ERR_CANCELED),this.name="CanceledError"}return S.inherits(t,e,{__CANCEL__:!0}),$=t}function ae(){if(ee)return Z;ee=1;var e=S,t=function(){if(z)return I;z=1;var e=k;return I=function(t,r,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?r(new e("Request failed with status code "+n.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}}(),r=function(){if(M)return J;M=1;var e=S;return J=e.isStandardBrowserEnv()?{write:function(t,r,n,o,i,s){var a=[];a.push(t+"="+encodeURIComponent(r)),e.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),e.isString(o)&&a.push("path="+o),e.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}}(),n=T,o=ie,i=function(){if(V)return W;V=1;var e=S,t=["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"];return W=function(r){var n,o,i,s={};return r?(e.forEach(r.split("\n"),(function(r){if(i=r.indexOf(":"),n=e.trim(r.substr(0,i)).toLowerCase(),o=e.trim(r.substr(i+1)),n){if(s[n]&&t.indexOf(n)>=0)return;s[n]="set-cookie"===n?(s[n]?s[n]:[]).concat([o]):s[n]?s[n]+", "+o:o}})),s):s}}(),s=function(){if(K)return X;K=1;var e=S;return X=e.isStandardBrowserEnv()?function(){var t,r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var t=e;return r&&(n.setAttribute("href",t),t=n.href),n.setAttribute("href",t),{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 t=o(window.location.href),function(r){var n=e.isString(r)?o(r):r;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}}(),a=F,u=k,c=se(),f=Y?G:(Y=1,G=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""});return Z=function(l){return new Promise((function(p,d){var h,m=l.data,v=l.headers,y=l.responseType;function g(){l.cancelToken&&l.cancelToken.unsubscribe(h),l.signal&&l.signal.removeEventListener("abort",h)}e.isFormData(m)&&e.isStandardBrowserEnv()&&delete v["Content-Type"];var E=new XMLHttpRequest;if(l.auth){var b=l.auth.username||"",O=l.auth.password?unescape(encodeURIComponent(l.auth.password)):"";v.Authorization="Basic "+btoa(b+":"+O)}var w=o(l.baseURL,l.url);function R(){if(E){var e="getAllResponseHeaders"in E?i(E.getAllResponseHeaders()):null,r={data:y&&"text"!==y&&"json"!==y?E.response:E.responseText,status:E.status,statusText:E.statusText,headers:e,config:l,request:E};t((function(e){p(e),g()}),(function(e){d(e),g()}),r),E=null}}if(E.open(l.method.toUpperCase(),n(w,l.params,l.paramsSerializer),!0),E.timeout=l.timeout,"onloadend"in E?E.onloadend=R:E.onreadystatechange=function(){E&&4===E.readyState&&(0!==E.status||E.responseURL&&0===E.responseURL.indexOf("file:"))&&setTimeout(R)},E.onabort=function(){E&&(d(new u("Request aborted",u.ECONNABORTED,l,E)),E=null)},E.onerror=function(){d(new u("Network Error",u.ERR_NETWORK,l,E,E)),E=null},E.ontimeout=function(){var e=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",t=l.transitional||a;l.timeoutErrorMessage&&(e=l.timeoutErrorMessage),d(new u(e,t.clarifyTimeoutError?u.ETIMEDOUT:u.ECONNABORTED,l,E)),E=null},e.isStandardBrowserEnv()){var A=(l.withCredentials||s(w))&&l.xsrfCookieName?r.read(l.xsrfCookieName):void 0;A&&(v[l.xsrfHeaderName]=A)}"setRequestHeader"in E&&e.forEach(v,(function(e,t){void 0===m&&"content-type"===t.toLowerCase()?delete v[t]:E.setRequestHeader(t,e)})),e.isUndefined(l.withCredentials)||(E.withCredentials=!!l.withCredentials),y&&"json"!==y&&(E.responseType=l.responseType),"function"==typeof l.onDownloadProgress&&E.addEventListener("progress",l.onDownloadProgress),"function"==typeof l.onUploadProgress&&E.upload&&E.upload.addEventListener("progress",l.onUploadProgress),(l.cancelToken||l.signal)&&(h=function(e){E&&(d(!e||e&&e.type?new c:e),E.abort(),E=null)},l.cancelToken&&l.cancelToken.subscribe(h),l.signal&&(l.signal.aborted?h():l.signal.addEventListener("abort",h))),m||(m=null);var S=f(w);S&&-1===["http","https","file"].indexOf(S)?d(new u("Unsupported protocol "+S+":",u.ERR_BAD_REQUEST,l)):E.send(m)}))}}var ue=S,ce=function(e,t){P.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))},fe=k,le=H,pe={"Content-Type":"application/x-www-form-urlencoded"};function de(e,t){!ue.isUndefined(e)&&ue.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var he,me={transitional:F,adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(he=ae()),he),transformRequest:[function(e,t){if(ce(t,"Accept"),ce(t,"Content-Type"),ue.isFormData(e)||ue.isArrayBuffer(e)||ue.isBuffer(e)||ue.isStream(e)||ue.isFile(e)||ue.isBlob(e))return e;if(ue.isArrayBufferView(e))return e.buffer;if(ue.isURLSearchParams(e))return de(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,n=ue.isObject(e),o=t&&t["Content-Type"];if((r=ue.isFileList(e))||n&&"multipart/form-data"===o){var i=this.env&&this.env.FormData;return le(r?{"files[]":e}:e,i&&new i)}return n||"application/json"===o?(de(t,"application/json"),function(e,t,r){if(ue.isString(e))try{return(t||JSON.parse)(e),ue.trim(e)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||me.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,o=!r&&"json"===this.responseType;if(o||n&&ue.isString(e)&&e.length)try{return JSON.parse(e)}catch(i){if(o){if("SyntaxError"===i.name)throw fe.from(i,fe.ERR_BAD_RESPONSE,this,null,this.response);throw i}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:re?te:(re=1,te=null)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};ue.forEach(["delete","get","head"],(function(e){me.headers[e]={}})),ue.forEach(["post","put","patch"],(function(e){me.headers[e]=ue.merge(pe)}));var ve,ye,ge=me,Ee=S,be=ge;function Oe(){return ye?ve:(ye=1,ve=function(e){return!(!e||!e.__CANCEL__)})}var we=S,Re=function(e,t,r){var n=this||be;return Ee.forEach(r,(function(r){e=r.call(n,e,t)})),e},Ae=Oe(),Se=ge,je=se();function xe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new je}var Te,Ce,Ne=S,_e=function(e,t){t=t||{};var r={};function n(e,t){return Ne.isPlainObject(e)&&Ne.isPlainObject(t)?Ne.merge(e,t):Ne.isPlainObject(t)?Ne.merge({},t):Ne.isArray(t)?t.slice():t}function o(r){return Ne.isUndefined(t[r])?Ne.isUndefined(e[r])?void 0:n(void 0,e[r]):n(e[r],t[r])}function i(e){if(!Ne.isUndefined(t[e]))return n(void 0,t[e])}function s(r){return Ne.isUndefined(t[r])?Ne.isUndefined(e[r])?void 0:n(void 0,e[r]):n(void 0,t[r])}function a(r){return r in t?n(e[r],t[r]):r in e?n(void 0,e[r]):void 0}var u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a};return Ne.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=u[e]||o,n=t(e);Ne.isUndefined(n)&&t!==a||(r[e]=n)})),r};function Pe(){return Ce?Te:(Ce=1,Te={version:"0.27.2"})}var Ue=Pe().version,Be=k,De={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){De[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var Le={};De.transitional=function(e,t,r){function n(e,t){return"[Axios v"+Ue+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,o,i){if(!1===e)throw new Be(n(o," has been removed"+(t?" in "+t:"")),Be.ERR_DEPRECATED);return t&&!Le[o]&&(Le[o]=!0,console.warn(n(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,o,i)}};var ke,Fe,qe,Ie,ze,Je,Me=S,He=T,We=_,Ve=function(e){return xe(e),e.headers=e.headers||{},e.data=Re.call(e,e.data,e.headers,e.transformRequest),e.headers=we.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),we.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||Se.adapter)(e).then((function(t){return xe(e),t.data=Re.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return Ae(t)||(xe(e),t&&t.response&&(t.response.data=Re.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))},Xe=_e,Ke=ie,$e={assertOptions:function(e,t,r){if("object"!=typeof e)throw new Be("options must be an object",Be.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],s=t[i];if(s){var a=e[i],u=void 0===a||s(a,i,e);if(!0!==u)throw new Be("option "+i+" must be "+u,Be.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new Be("Unknown option "+i,Be.ERR_BAD_OPTION)}},validators:De},Qe=$e.validators;function Ge(e){this.defaults=e,this.interceptors={request:new We,response:new We}}Ge.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=Xe(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&$e.assertOptions(r,{silentJSONParsing:Qe.transitional(Qe.boolean),forcedJSONParsing:Qe.transitional(Qe.boolean),clarifyTimeoutError:Qe.transitional(Qe.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,s=[];if(this.interceptors.response.forEach((function(e){s.push(e.fulfilled,e.rejected)})),!o){var a=[Ve,void 0];for(Array.prototype.unshift.apply(a,n),a=a.concat(s),i=Promise.resolve(t);a.length;)i=i.then(a.shift(),a.shift());return i}for(var u=t;n.length;){var c=n.shift(),f=n.shift();try{u=c(u)}catch(l){f(l);break}}try{i=Ve(u)}catch(l){return Promise.reject(l)}for(;s.length;)i=i.then(s.shift(),s.shift());return i},Ge.prototype.getUri=function(e){e=Xe(this.defaults,e);var t=Ke(e.baseURL,e.url);return He(t,e.params,e.paramsSerializer)},Me.forEach(["delete","get","head","options"],(function(e){Ge.prototype[e]=function(t,r){return this.request(Xe(r||{},{method:e,url:t,data:(r||{}).data}))}})),Me.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(Xe(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}Ge.prototype[e]=t(),Ge.prototype[e+"Form"]=t(!0)}));var Ye=S,Ze=s,et=Ge,tt=_e;var rt=function e(t){var r=new et(t),n=Ze(et.prototype.request,r);return Ye.extend(n,et.prototype,r),Ye.extend(n,r),n.create=function(r){return e(tt(t,r))},n}(ge);rt.Axios=et,rt.CanceledError=se(),rt.CancelToken=function(){if(Fe)return ke;Fe=1;var e=se();function t(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var r;this.promise=new Promise((function(e){r=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},t((function(t){n.reason||(n.reason=new e(t),r(n.reason))}))}return t.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},t.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},t.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},t.source=function(){var e;return{token:new t((function(t){e=t})),cancel:e}},ke=t}(),rt.isCancel=Oe(),rt.VERSION=Pe().version,rt.toFormData=H,rt.AxiosError=k,rt.Cancel=rt.CanceledError,rt.all=function(e){return Promise.all(e)},rt.spread=Ie?qe:(Ie=1,qe=function(e){return function(t){return e.apply(null,t)}}),rt.isAxiosError=function(){if(Je)return ze;Je=1;var e=S;return ze=function(t){return e.isObject(t)&&!0===t.isAxiosError}}(),i.exports=rt,i.exports.default=rt;const nt=n(i.exports),ot="https://ybx_prediagnosis.excn.top/";console.log(ot),e("Authorization");const it=nt.create({baseURL:ot});it.interceptors.request.use((t=>{console.log("config",t);const{method:r,params:n}=t,o={Authorization:e("Authorization")};return"get"===r&&(o["Cache-Control"]="no-cache"),{...t,headers:o}})),it.interceptors.response.use((e=>{var n;return 401===(null==(n=e.data)?void 0:n.code)?(t("Authorization"),r({url:"/pages/login/index"}),e.data):e.data}),(e=>Promise.reject(e)));export{it as i};