
管理员
站长
- UID
- 1
- 积分
- 224402
- 余额
- 13 R
- Moe币
- 84883
- 在线时间
- 279 小时
- 注册时间
- 2025-12-28
- 最后登录
- 2026-11-13
|
nction(t){d_.forEach(this.handlers,function(r){r!==null&&t(r)})};var p_=qo,h_=st,v_=function(t,n){h_.forEach(t,function(o,i){i!==n&&i.toUpperCase()===n.toUpperCase()&&(t[n]=o,delete t[i])})},au=st;function cr(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}au.inherits(cr,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 lu=cr.prototype,cu={};["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){cu[e]={value:e}});Object.defineProperties(cr,cu);Object.defineProperty(lu,"isAxiosError",{value:!0});cr.from=function(e,t,n,r,o,i){var s=Object.create(lu);return au.toFlatObject(e,s,function(l){return l!==Error.prototype}),cr.call(s,e.message,t,n,r,o),s.name=e.name,i&&Object.assign(s,i),s};var gr=cr,uu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Dt=st;function g_(e,t){t=t||new FormData;var n=[];function r(i){return i===null?"":Dt.isDate(i)?i.toISOString():Dt.isArrayBuffer(i)||Dt.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function o(i,s){if(Dt.isPlainObject(i)||Dt.isArray(i)){if(n.indexOf(i)!==-1)throw Error("Circular reference detected in "+s);n.push(i),Dt.forEach(i,function(l,c){if(!Dt.isUndefined(l)){var u=s?s+"."+c:c,p;if(l&&!s&&typeof l=="object"){if(Dt.endsWith(c,"{}"))l=JSON.stringify(l);else if(Dt.endsWith(c,"[]")&&(p=Dt.toArray(l))){p.forEach(function(d){!Dt.isUndefined(d)&&t.append(u,r(d))});return}}o(l,u)}}),n.pop()}else t.append(s,r(i))}return o(e),t}var fu=g_,fi,Wa;function __(){if(Wa)return fi;Wa=1;var e=gr;return fi=function(n,r,o){var i=o.config.validateStatus;!o.status||!i||i(o.status)?n(o):r(new e("Request failed with status code "+o.status,[e.ERR_BAD_REQUEST,e.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))},fi}var di,qa;function m_(){if(qa)return di;qa=1;var e=st;return di=e.isStandardBrowserEnv()?function(){return{write:function(r,o,i,s,a,l){var c=[];c.push(r+"="+encodeURIComponent(o)),e.isNumber(i)&&c.push("expires="+new Date(i).toGMTString()),e.isString(s)&&c.push("path="+s),e.isString(a)&&c.push("domain="+a),l===!0&&c.push("secure"),document.cookie=c.join("; ")},read:function(r){var o=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),di}var b_=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},y_=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},w_=b_,C_=y_,du=function(t,n){return t&&!w_(n)?C_(t,n):n},pi,Va;function E_(){if(Va)return pi;Va=1;var e=st,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 pi=function(r){var o={},i,s,a;return r&&e.forEach(r.split(`
`),function(c){if(a=c.indexOf(":"),i=e.trim(c.substr(0,a)).toLowerCase(),s=e.trim(c.substr(a+1)),i){if(o[i]&&t.indexOf(i)>=0)return;i==="set-cookie"?o[i]=(o[i]?o[i]:[]).concat([s]):o[i]=o[i]?o[i]+", "+s:s}}),o},pi}var hi,Ka;function A_(){if(Ka)return hi;Ka=1;var e=st;return hi=e.isStandardBrowserEnv()?function(){var n=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),o;function i(s){var a=s;return n&&(r.setAttribute("href",a),a=r.href),r.setAttribute("href",a),{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 o=i(window.location.href),function(a){var l=e.isString(a)?i(a):a;return l.protocol===o.protocol&&l.host===o.host}}():function(){return function(){return!0}}(),hi}var vi,Ga;function Vo(){if(Ga)return vi;Ga=1;var e=gr,t=st;function n(r){e.call(this,r??"canceled",e.ERR_CANCELED),this.name="CanceledError"}return t.inherits(n,e,{__CANCEL__:!0}),vi=n,vi}var gi,Ja;function x_(){return Ja||(Ja=1,gi=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}),gi}var _i,Za;function Qa(){if(Za)return _i;Za=1;var e=st,t=__(),n=m_(),r=su,o=du,i=E_(),s=A_(),a=uu,l=gr,c=Vo(),u=x_();return _i=function(d){return new Promise(function(N,E){var P=d.data,w=d.headers,y=d.responseType,T;function k(){d.cancelToken&&d.cancelToken.unsubscribe(T),d.signal&&d.signal.removeEventListener("abort",T)}e.isFormData(P)&&e.isStandardBrowserEnv()&&delete w["Content-Type"];var C=new XMLHttpRequest;if(d.auth){var te=d.auth.username||"",pe=d.auth.password?unescape(encodeURIComponent(d.auth.password)):"";w.Authorization="Basic "+btoa(te+":"+pe)}var Q=o(d.baseURL,d.url);C.open(d.method.toUpperCase(),r(Q,d.params,d.paramsSerializer),!0),C.timeout=d.timeout;function he(){if(C){var z="getAllResponseHeaders"in C?i(C.getAllResponseHeaders()):null,D=!y||y==="text"||y==="json"?C.responseText:C.response,$={data:D,status:C.status,statusText:C.statusText,headers:z,config:d,request:C};t(function(fe){N(fe),k()},function(fe){E(fe),k()},$),C=null}}if("onloadend"in C?C.onloadend=he:C.onreadystatechange=function(){!C||C.readyState!==4||C.status===0&&!(C.responseURL&&C.responseURL.indexOf("file:")===0)||setTimeout(he)},C.onabort=function(){C&&(E(new l("Request aborted",l.ECONNABORTED,d,C)),C=null)},C.onerror=function(){E(new l("Network Error",l.ERR_NETWORK,d,C,C)),C=null},C.ontimeout=function(){var D=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded",$=d.transitional||a;d.timeoutErrorMessage&&(D=d.timeoutErrorMessage),E(new l(D,$.clarifyTimeoutError?l.ETIMEDOUT:l.ECONNABORTED,d,C)),C=null},e.isStandardBrowserEnv()){var le=(d.withCredentials||s(Q))&&d.xsrfCookieName?n.read(d.xsrfCookieName):void 0;le&&(w[d.xsrfHeaderName]=le)}"setRequestHeader"in C&&e.forEach(w,function(D,$){typeof P>"u"&&$.toLowerCase()==="content-type"?delete w[$]:C.setRequestHeader($,D)}),e.isUndefined(d.withCredentials)||(C.withCredentials=!!d.withCredentials),y&&y!=="json"&&(C.responseType=d.responseType),typeof d.onDownloadProgress=="function"&&C.addEventListener("progress",d.onDownloadProgress),typeof d.onUploadProgress=="function"&&C.upload&&C.upload.addEventListener("progress",d.onUploadProgress),(d.cancelToken||d.signal)&&(T=function(z){C&&(E(!z||z&&z.type?new c:z),C.abort(),C=null)},d.cancelToken&&d.cancelToken.subscribe(T),d.signal&&(d.signal.aborted?T():d.signal.addEventListener("abort",T))),P||(P=null);var Ae=u(Q);if(Ae&&["http","https","file"].indexOf(Ae)===-1){E(new l("Unsupported protocol "+Ae+":",l.ERR_BAD_REQUEST,d));return}C.send(P)})},_i}var mi,Ya;function k_(){return Ya||(Ya=1,mi=null),mi}var tt=st,Xa=v_,el=gr,T_=uu,S_=fu,R_={"Content-Type":"application/x-www-form-urlencoded"};function tl(e,t){!tt.isUndefined(e)&&tt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function O_(){var e;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Qa()),e}function I_(e,t,n){if(tt.isString(e))try{return(t||JSON.parse)(e),tt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var Ko={transitional:T_,adapter:O_(),transformRequest:[function(t,n){if(Xa(n,"Accept"),Xa(n,"Content-Type"),tt.isFormData(t)||tt.isArrayBuffer(t)||tt.isBuffer(t)||tt.isStream(t)||tt.isFile(t)||tt.isBlob(t))return t;if(tt.isArrayBufferView(t))return t.buffer;if(tt.isURLSearchParams(t))return tl(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=tt.isObject(t),o=n&&n["Content-Type"],i;if((i=tt.isFileList(t))||r&&o==="multipart/form-data"){var s=this.env&&this.env.FormData;return S_(i?{"files[]":t}:t,s&&new s)}else if(r||o==="application/json")return tl(n,"application/json"),I_(t);return t}],transformResponse:[function(t){var n=this.transitional||Ko.transitional,r=n&&n.silentJSONParsing,o=n&&n.forcedJSONParsing,i=!r&&this.responseType==="json";if(i||o&&tt.isString(t)&&t.length)try{return JSON.parse(t)}catch(s){if(i)throw s.name==="SyntaxError"?el.from(s,el.ERR_BAD_RESPONSE,this,null,this.response):s}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:k_()},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};tt.forEach(["delete","get","head"],function(t){Ko.headers[t]={}});tt.forEach(["post","put","patch"],function(t){Ko.headers[t]=tt.merge(R_)});var Hs=Ko,P_=st,L_=Hs,N_=function(t,n,r){var o=this||L_;return P_.forEach(r,function(s){t=s.call(o,t,n)}),t},bi,nl;function pu(){return nl||(nl=1,bi=function(t){return!!(t&&t.__CANCEL__)}),bi}var rl=st,yi=N_,D_=pu(),j_=Hs,$_=Vo();function wi(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new $_}var M_=function(t){wi(t),t.headers=t.headers||{},t.data=yi.call(t,t.data,t.headers,t.transformRequest),t.headers=rl.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),rl.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var n=t.adapter||j_.adapter;return n(t).then(function(o){return wi(t),o.data=yi.call(t,o.data,o.headers,t.transformResponse),o},function(o){return D_(o)||(wi(t),o&&o.response&&(o.response.data=yi.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})},Ct=st,hu=function(t,n){n=n||{};var r={};function o(u,p){return Ct.isPlainObject(u)&&Ct.isPlainObject(p)?Ct.merge(u,p):Ct.isPlainObject(p)?Ct.merge({},p):Ct.isArray(p)?p.slice():p}function i(u){if(Ct.isUndefined(n[u])){if(!Ct.isUndefined(t[u]))return o(void 0,t[u])}else return o(t[u],n[u])}function s(u){if(!Ct.isUndefined( |
|