@indfnd/utils 0.1.42 → 0.1.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/dist/ind-utils.es.js +2 -1
- package/dist/ind-utils.umd.cjs +7 -7
- package/package.json +1 -1
- package/src/api/user.ts +7 -2
- package/types/api/user.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.1.43](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.42...v0.1.43) (2026-03-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* 入库 ([42b97ea](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/42b97ea82fcb8daf262cdb840d375a06c8423bad))
|
|
11
|
+
* 入库 ([71726b3](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/71726b332a43e4f617de92cdc76ff4afc6a81afc))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* 前端人员组织树缓存支持区分params ([83d45fc](http://git.inspur.com/imp-ec/ind-front/ind-utils/commit/83d45fc18f9867dd98dd0a717810cc10f0d14f9d))
|
|
17
|
+
|
|
5
18
|
### [0.1.42](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.41...v0.1.42) (2026-03-24)
|
|
6
19
|
|
|
7
20
|
### [0.1.41](http://git.inspur.com/imp-ec/ind-front/ind-utils/compare/v0.1.40...v0.1.41) (2026-03-24)
|
package/dist/ind-utils.es.js
CHANGED
|
@@ -7593,7 +7593,8 @@ async function getApplicationTreeApi(params) {
|
|
|
7593
7593
|
const UC_CONTEXT = config.ucExtServerContext;
|
|
7594
7594
|
async function listUserTreeApi(params) {
|
|
7595
7595
|
var _a, _b;
|
|
7596
|
-
const
|
|
7596
|
+
const cacheKeySuffix = Object.keys(params || {}).length > 0 ? "-" + JSON.stringify(params || {}, Object.keys(params || {}).sort()) : "";
|
|
7597
|
+
const DATAVERSION_KEY = "ind-cache-dataVersion-organTree" + ((_a = getUserInfoCache()) == null ? void 0 : _a.manageUnitId) + cacheKeySuffix;
|
|
7597
7598
|
const globalConfigData = await getGlobalConfig();
|
|
7598
7599
|
if (!(globalConfigData == null ? void 0 : globalConfigData.enableTreeLocalCache) || (globalConfigData == null ? void 0 : globalConfigData.enableTreeLocalCache) !== "1") {
|
|
7599
7600
|
return instance.get(`${UC_CONTEXT}/tree/uc-user/listUserTree`, { params });
|
package/dist/ind-utils.umd.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
(function(m,ze){typeof exports=="object"&&typeof module!="undefined"?ze(exports,require("lodash")):typeof define=="function"&&define.amd?define(["exports","lodash"],ze):(m=typeof globalThis!="undefined"?globalThis:m||self,ze(m.IndUtils={},m._))})(this,function(m,ze){"use strict";function Ti(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var k=Ti(ze);const Se=e=>{const t=sessionStorage.getItem(e);if(t)try{return JSON.parse(t)}catch{return t}return t},_e=(e,t)=>{typeof t!="string"&&(t=JSON.stringify(t)),sessionStorage.setItem(e,t)},Vt=e=>sessionStorage.removeItem(e);function Fi(){sessionStorage.clear()}const Ae=e=>{const t=localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch{return t}return t},Ge=(e,t)=>{typeof t!="string"&&(t=JSON.stringify(t)),localStorage.setItem(e,t)},nn=e=>localStorage.removeItem(e),Wt="indexDesc";function Ri(){return Ae(Wt)}function $i(e){Ge(Wt,e)}function Di(){nn(Wt)}const qt="ibp-sc-permission";function Pi(){return Se(qt)}function _i(e){_e(qt,e)}function Ni(){Vt(qt)}const zt="lambo-userInfo";function Gt(){return Se(zt)}function Mi(e){_e(zt,e)}function Ii(){Vt(zt)}function on(e,t){return function(){return e.apply(t,arguments)}}const{toString:xi}=Object.prototype,{getPrototypeOf:Jt}=Object,{iterator:dt,toStringTag:an}=Symbol,ht=(e=>t=>{const r=xi.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ae=e=>(e=e.toLowerCase(),t=>ht(t)===e),mt=e=>t=>typeof t===e,{isArray:Ne}=Array,Me=mt("undefined");function Je(e){return e!==null&&!Me(e)&&e.constructor!==null&&!Me(e.constructor)&&te(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const sn=ae("ArrayBuffer");function Bi(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&sn(e.buffer),t}const Li=mt("string"),te=mt("function"),un=mt("number"),Ke=e=>e!==null&&typeof e=="object",Ui=e=>e===!0||e===!1,yt=e=>{if(ht(e)!=="object")return!1;const t=Jt(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(an in e)&&!(dt in e)},ki=e=>{if(!Ke(e)||Je(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Hi=ae("Date"),Yi=ae("File"),ji=e=>!!(e&&typeof e.uri!="undefined"),Vi=e=>e&&typeof e.getParts!="undefined",Wi=ae("Blob"),qi=ae("FileList"),zi=e=>Ke(e)&&te(e.pipe);function Gi(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const ln=Gi(),cn=typeof ln.FormData!="undefined"?ln.FormData:void 0,Ji=e=>{let t;return e&&(cn&&e instanceof cn||te(e.append)&&((t=ht(e))==="formdata"||t==="object"&&te(e.toString)&&e.toString()==="[object FormData]"))},Ki=ae("URLSearchParams"),[Qi,Xi,Zi,ea]=["ReadableStream","Request","Response","Headers"].map(ae),ta=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qe(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,o;if(typeof e!="object"&&(e=[e]),Ne(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(Je(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(n=0;n<s;n++)a=i[n],t.call(null,e[a],a,e)}}function fn(e,t){if(Je(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Oe=(()=>typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global)(),pn=e=>!Me(e)&&e!==Oe;function Kt(){const{caseless:e,skipUndefined:t}=pn(this)&&this||{},r={},n=(o,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=e&&fn(r,i)||i;yt(r[s])&&yt(o)?r[s]=Kt(r[s],o):yt(o)?r[s]=Kt({},o):Ne(o)?r[s]=o.slice():(!t||!Me(o))&&(r[s]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Qe(arguments[o],n);return r}const ra=(e,t,r,{allOwnKeys:n}={})=>(Qe(t,(o,i)=>{r&&te(o)?Object.defineProperty(e,i,{value:on(o,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),na=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),oa=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},ia=(e,t,r,n)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=r!==!1&&Jt(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},aa=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},sa=e=>{if(!e)return null;if(Ne(e))return e;let t=e.length;if(!un(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ua=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Jt(Uint8Array)),la=(e,t)=>{const n=(e&&e[dt]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},ca=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},fa=ae("HTMLFormElement"),pa=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),dn=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),da=ae("RegExp"),hn=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Qe(r,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(n[i]=s||o)}),Object.defineProperties(e,n)},ha=e=>{hn(e,(t,r)=>{if(te(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(!!te(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},ma=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return Ne(e)?n(e):n(String(e).split(t)),r},ya=()=>{},ga=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function va(e){return!!(e&&te(e.append)&&e[an]==="FormData"&&e[dt])}const ba=e=>{const t=new Array(10),r=(n,o)=>{if(Ke(n)){if(t.indexOf(n)>=0)return;if(Je(n))return n;if(!("toJSON"in n)){t[o]=n;const i=Ne(n)?[]:{};return Qe(n,(s,a)=>{const c=r(s,o+1);!Me(c)&&(i[a]=c)}),t[o]=void 0,i}}return n};return r(e,0)},wa=ae("AsyncFunction"),Ea=e=>e&&(Ke(e)||te(e))&&te(e.then)&&te(e.catch),mn=((e,t)=>e?setImmediate:t?((r,n)=>(Oe.addEventListener("message",({source:o,data:i})=>{o===Oe&&i===r&&n.length&&n.shift()()},!1),o=>{n.push(o),Oe.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",te(Oe.postMessage)),Sa=typeof queueMicrotask!="undefined"?queueMicrotask.bind(Oe):typeof process!="undefined"&&process.nextTick||mn;var y={isArray:Ne,isArrayBuffer:sn,isBuffer:Je,isFormData:Ji,isArrayBufferView:Bi,isString:Li,isNumber:un,isBoolean:Ui,isObject:Ke,isPlainObject:yt,isEmptyObject:ki,isReadableStream:Qi,isRequest:Xi,isResponse:Zi,isHeaders:ea,isUndefined:Me,isDate:Hi,isFile:Yi,isReactNativeBlob:ji,isReactNative:Vi,isBlob:Wi,isRegExp:da,isFunction:te,isStream:zi,isURLSearchParams:Ki,isTypedArray:ua,isFileList:qi,forEach:Qe,merge:Kt,extend:ra,trim:ta,stripBOM:na,inherits:oa,toFlatObject:ia,kindOf:ht,kindOfTest:ae,endsWith:aa,toArray:sa,forEachEntry:la,matchAll:ca,isHTMLForm:fa,hasOwnProperty:dn,hasOwnProp:dn,reduceDescriptors:hn,freezeMethods:ha,toObjectSet:ma,toCamelCase:pa,noop:ya,toFiniteNumber:ga,findKey:fn,global:Oe,isContextDefined:pn,isSpecCompliantForm:va,toJSONObject:ba,isAsyncFn:wa,isThenable:Ea,setImmediate:mn,asap:Sa,isIterable:e=>e!=null&&te(e[dt])};class Z extends Error{static from(t,r,n,o,i,s){const a=new Z(t.message,r||t.code,n,o,i);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),s&&Object.assign(a,s),a}constructor(t,r,n,o,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),o&&(this.request=o),i&&(this.response=i,this.status=i.status)}toJSON(){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:y.toJSONObject(this.config),code:this.code,status:this.status}}}Z.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Z.ERR_BAD_OPTION="ERR_BAD_OPTION",Z.ECONNABORTED="ECONNABORTED",Z.ETIMEDOUT="ETIMEDOUT",Z.ERR_NETWORK="ERR_NETWORK",Z.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Z.ERR_DEPRECATED="ERR_DEPRECATED",Z.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Z.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Z.ERR_CANCELED="ERR_CANCELED",Z.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Z.ERR_INVALID_URL="ERR_INVALID_URL";var B=Z,Aa=null;function Qt(e){return y.isPlainObject(e)||y.isArray(e)}function yn(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function Xt(e,t,r){return e?e.concat(t).map(function(o,i){return o=yn(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function Oa(e){return y.isArray(e)&&!e.some(Qt)}const Ca=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function gt(e,t,r){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=y.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,b){return!y.isUndefined(b[v])});const n=r.metaTokens,o=r.visitor||l,i=r.dots,s=r.indexes,c=(r.Blob||typeof Blob!="undefined"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(o))throw new TypeError("visitor must be a function");function u(d){if(d===null)return"";if(y.isDate(d))return d.toISOString();if(y.isBoolean(d))return d.toString();if(!c&&y.isBlob(d))throw new B("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(d)||y.isTypedArray(d)?c&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function l(d,v,b){let g=d;if(y.isReactNative(t)&&y.isReactNativeBlob(d))return t.append(Xt(b,v,i),u(d)),!1;if(d&&!b&&typeof d=="object"){if(y.endsWith(v,"{}"))v=n?v:v.slice(0,-2),d=JSON.stringify(d);else if(y.isArray(d)&&Oa(d)||(y.isFileList(d)||y.endsWith(v,"[]"))&&(g=y.toArray(d)))return v=yn(v),g.forEach(function(w,E){!(y.isUndefined(w)||w===null)&&t.append(s===!0?Xt([v],E,i):s===null?v:v+"[]",u(w))}),!1}return Qt(d)?!0:(t.append(Xt(b,v,i),u(d)),!1)}const f=[],p=Object.assign(Ca,{defaultVisitor:l,convertValue:u,isVisitable:Qt});function h(d,v){if(!y.isUndefined(d)){if(f.indexOf(d)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(d),y.forEach(d,function(g,A){(!(y.isUndefined(g)||g===null)&&o.call(t,g,y.isString(A)?A.trim():A,v,p))===!0&&h(g,v?v.concat(A):[A])}),f.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return h(e),t}function gn(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Zt(e,t){this._pairs=[],e&>(e,this,t)}const vn=Zt.prototype;vn.append=function(t,r){this._pairs.push([t,r])},vn.toString=function(t){const r=t?function(n){return t.call(this,n,gn)}:gn;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Ta(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function bn(e,t,r){if(!t)return e;const n=r&&r.encode||Ta,o=y.isFunction(r)?{serialize:r}:r,i=o&&o.serialize;let s;if(i?s=i(t,o):s=y.isURLSearchParams(t)?t.toString():new Zt(t,o).toString(n),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Fa{constructor(){this.handlers=[]}use(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}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){y.forEach(this.handlers,function(n){n!==null&&t(n)})}}var wn=Fa,er={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Ra=typeof URLSearchParams!="undefined"?URLSearchParams:Zt,$a=typeof FormData!="undefined"?FormData:null,Da=typeof Blob!="undefined"?Blob:null,Pa={isBrowser:!0,classes:{URLSearchParams:Ra,FormData:$a,Blob:Da},protocols:["http","https","file","blob","url","data"]};const tr=typeof window!="undefined"&&typeof document!="undefined",rr=typeof navigator=="object"&&navigator||void 0,_a=tr&&(!rr||["ReactNative","NativeScript","NS"].indexOf(rr.product)<0),Na=(()=>typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ma=tr&&window.location.href||"http://localhost";var Ia=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:tr,hasStandardBrowserWebWorkerEnv:Na,hasStandardBrowserEnv:_a,navigator:rr,origin:Ma},Symbol.toStringTag,{value:"Module"})),K={...Ia,...Pa};function xa(e,t){return gt(e,new K.classes.URLSearchParams,{visitor:function(r,n,o,i){return K.isNode&&y.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function Ba(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function La(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function En(e){function t(r,n,o,i){let s=r[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),c=i>=r.length;return s=!s&&y.isArray(o)?o.length:s,c?(y.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!a):((!o[s]||!y.isObject(o[s]))&&(o[s]=[]),t(r,n,o[s],i)&&y.isArray(o[s])&&(o[s]=La(o[s])),!a)}if(y.isFormData(e)&&y.isFunction(e.entries)){const r={};return y.forEachEntry(e,(n,o)=>{t(Ba(n),o,r,0)}),r}return null}function Ua(e,t,r){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const nr={transitional:er,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=y.isObject(t);if(i&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return o?JSON.stringify(En(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return xa(t,this.formSerializer).toString();if((a=y.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return gt(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),Ua(t)):t}],transformResponse:[function(t){const r=this.transitional||nr.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.isString(t)&&(n&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?B.from(a,B.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:K.classes.FormData,Blob:K.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{nr.headers[e]={}});var or=nr;const ka=y.toObjectSet(["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"]);var Ha=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
1
|
+
(function(m,ze){typeof exports=="object"&&typeof module!="undefined"?ze(exports,require("lodash")):typeof define=="function"&&define.amd?define(["exports","lodash"],ze):(m=typeof globalThis!="undefined"?globalThis:m||self,ze(m.IndUtils={},m._))})(this,function(m,ze){"use strict";function Ti(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var k=Ti(ze);const Se=e=>{const t=sessionStorage.getItem(e);if(t)try{return JSON.parse(t)}catch{return t}return t},_e=(e,t)=>{typeof t!="string"&&(t=JSON.stringify(t)),sessionStorage.setItem(e,t)},Vt=e=>sessionStorage.removeItem(e);function Fi(){sessionStorage.clear()}const Ae=e=>{const t=localStorage.getItem(e);if(t)try{return JSON.parse(t)}catch{return t}return t},Ge=(e,t)=>{typeof t!="string"&&(t=JSON.stringify(t)),localStorage.setItem(e,t)},nn=e=>localStorage.removeItem(e),Wt="indexDesc";function Ri(){return Ae(Wt)}function $i(e){Ge(Wt,e)}function Di(){nn(Wt)}const qt="ibp-sc-permission";function Pi(){return Se(qt)}function _i(e){_e(qt,e)}function Ni(){Vt(qt)}const zt="lambo-userInfo";function Gt(){return Se(zt)}function Mi(e){_e(zt,e)}function xi(){Vt(zt)}function on(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ii}=Object.prototype,{getPrototypeOf:Jt}=Object,{iterator:dt,toStringTag:an}=Symbol,ht=(e=>t=>{const r=Ii.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ae=e=>(e=e.toLowerCase(),t=>ht(t)===e),mt=e=>t=>typeof t===e,{isArray:Ne}=Array,Me=mt("undefined");function Je(e){return e!==null&&!Me(e)&&e.constructor!==null&&!Me(e.constructor)&&te(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const sn=ae("ArrayBuffer");function Bi(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&sn(e.buffer),t}const Li=mt("string"),te=mt("function"),un=mt("number"),Ke=e=>e!==null&&typeof e=="object",Ui=e=>e===!0||e===!1,yt=e=>{if(ht(e)!=="object")return!1;const t=Jt(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(an in e)&&!(dt in e)},ki=e=>{if(!Ke(e)||Je(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch{return!1}},Hi=ae("Date"),Yi=ae("File"),ji=e=>!!(e&&typeof e.uri!="undefined"),Vi=e=>e&&typeof e.getParts!="undefined",Wi=ae("Blob"),qi=ae("FileList"),zi=e=>Ke(e)&&te(e.pipe);function Gi(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const ln=Gi(),cn=typeof ln.FormData!="undefined"?ln.FormData:void 0,Ji=e=>{let t;return e&&(cn&&e instanceof cn||te(e.append)&&((t=ht(e))==="formdata"||t==="object"&&te(e.toString)&&e.toString()==="[object FormData]"))},Ki=ae("URLSearchParams"),[Qi,Xi,Zi,ea]=["ReadableStream","Request","Response","Headers"].map(ae),ta=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Qe(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,o;if(typeof e!="object"&&(e=[e]),Ne(e))for(n=0,o=e.length;n<o;n++)t.call(null,e[n],n,e);else{if(Je(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let a;for(n=0;n<s;n++)a=i[n],t.call(null,e[a],a,e)}}function fn(e,t){if(Je(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,o;for(;n-- >0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Oe=(()=>typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global)(),pn=e=>!Me(e)&&e!==Oe;function Kt(){const{caseless:e,skipUndefined:t}=pn(this)&&this||{},r={},n=(o,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=e&&fn(r,i)||i;yt(r[s])&&yt(o)?r[s]=Kt(r[s],o):yt(o)?r[s]=Kt({},o):Ne(o)?r[s]=o.slice():(!t||!Me(o))&&(r[s]=o)};for(let o=0,i=arguments.length;o<i;o++)arguments[o]&&Qe(arguments[o],n);return r}const ra=(e,t,r,{allOwnKeys:n}={})=>(Qe(t,(o,i)=>{r&&te(o)?Object.defineProperty(e,i,{value:on(o,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),na=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),oa=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},ia=(e,t,r,n)=>{let o,i,s;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],(!n||n(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=r!==!1&&Jt(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},aa=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},sa=e=>{if(!e)return null;if(Ne(e))return e;let t=e.length;if(!un(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ua=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Jt(Uint8Array)),la=(e,t)=>{const n=(e&&e[dt]).call(e);let o;for(;(o=n.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},ca=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},fa=ae("HTMLFormElement"),pa=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),dn=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),da=ae("RegExp"),hn=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Qe(r,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(n[i]=s||o)}),Object.defineProperties(e,n)},ha=e=>{hn(e,(t,r)=>{if(te(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(!!te(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},ma=(e,t)=>{const r={},n=o=>{o.forEach(i=>{r[i]=!0})};return Ne(e)?n(e):n(String(e).split(t)),r},ya=()=>{},ga=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function va(e){return!!(e&&te(e.append)&&e[an]==="FormData"&&e[dt])}const ba=e=>{const t=new Array(10),r=(n,o)=>{if(Ke(n)){if(t.indexOf(n)>=0)return;if(Je(n))return n;if(!("toJSON"in n)){t[o]=n;const i=Ne(n)?[]:{};return Qe(n,(s,a)=>{const c=r(s,o+1);!Me(c)&&(i[a]=c)}),t[o]=void 0,i}}return n};return r(e,0)},wa=ae("AsyncFunction"),Ea=e=>e&&(Ke(e)||te(e))&&te(e.then)&&te(e.catch),mn=((e,t)=>e?setImmediate:t?((r,n)=>(Oe.addEventListener("message",({source:o,data:i})=>{o===Oe&&i===r&&n.length&&n.shift()()},!1),o=>{n.push(o),Oe.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",te(Oe.postMessage)),Sa=typeof queueMicrotask!="undefined"?queueMicrotask.bind(Oe):typeof process!="undefined"&&process.nextTick||mn;var y={isArray:Ne,isArrayBuffer:sn,isBuffer:Je,isFormData:Ji,isArrayBufferView:Bi,isString:Li,isNumber:un,isBoolean:Ui,isObject:Ke,isPlainObject:yt,isEmptyObject:ki,isReadableStream:Qi,isRequest:Xi,isResponse:Zi,isHeaders:ea,isUndefined:Me,isDate:Hi,isFile:Yi,isReactNativeBlob:ji,isReactNative:Vi,isBlob:Wi,isRegExp:da,isFunction:te,isStream:zi,isURLSearchParams:Ki,isTypedArray:ua,isFileList:qi,forEach:Qe,merge:Kt,extend:ra,trim:ta,stripBOM:na,inherits:oa,toFlatObject:ia,kindOf:ht,kindOfTest:ae,endsWith:aa,toArray:sa,forEachEntry:la,matchAll:ca,isHTMLForm:fa,hasOwnProperty:dn,hasOwnProp:dn,reduceDescriptors:hn,freezeMethods:ha,toObjectSet:ma,toCamelCase:pa,noop:ya,toFiniteNumber:ga,findKey:fn,global:Oe,isContextDefined:pn,isSpecCompliantForm:va,toJSONObject:ba,isAsyncFn:wa,isThenable:Ea,setImmediate:mn,asap:Sa,isIterable:e=>e!=null&&te(e[dt])};class Z extends Error{static from(t,r,n,o,i,s){const a=new Z(t.message,r||t.code,n,o,i);return a.cause=t,a.name=t.name,t.status!=null&&a.status==null&&(a.status=t.status),s&&Object.assign(a,s),a}constructor(t,r,n,o,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),o&&(this.request=o),i&&(this.response=i,this.status=i.status)}toJSON(){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:y.toJSONObject(this.config),code:this.code,status:this.status}}}Z.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Z.ERR_BAD_OPTION="ERR_BAD_OPTION",Z.ECONNABORTED="ECONNABORTED",Z.ETIMEDOUT="ETIMEDOUT",Z.ERR_NETWORK="ERR_NETWORK",Z.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Z.ERR_DEPRECATED="ERR_DEPRECATED",Z.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Z.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Z.ERR_CANCELED="ERR_CANCELED",Z.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Z.ERR_INVALID_URL="ERR_INVALID_URL";var B=Z,Aa=null;function Qt(e){return y.isPlainObject(e)||y.isArray(e)}function yn(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function Xt(e,t,r){return e?e.concat(t).map(function(o,i){return o=yn(o),!r&&i?"["+o+"]":o}).join(r?".":""):t}function Oa(e){return y.isArray(e)&&!e.some(Qt)}const Ca=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function gt(e,t,r){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=y.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,b){return!y.isUndefined(b[v])});const n=r.metaTokens,o=r.visitor||l,i=r.dots,s=r.indexes,c=(r.Blob||typeof Blob!="undefined"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(o))throw new TypeError("visitor must be a function");function u(d){if(d===null)return"";if(y.isDate(d))return d.toISOString();if(y.isBoolean(d))return d.toString();if(!c&&y.isBlob(d))throw new B("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(d)||y.isTypedArray(d)?c&&typeof Blob=="function"?new Blob([d]):Buffer.from(d):d}function l(d,v,b){let g=d;if(y.isReactNative(t)&&y.isReactNativeBlob(d))return t.append(Xt(b,v,i),u(d)),!1;if(d&&!b&&typeof d=="object"){if(y.endsWith(v,"{}"))v=n?v:v.slice(0,-2),d=JSON.stringify(d);else if(y.isArray(d)&&Oa(d)||(y.isFileList(d)||y.endsWith(v,"[]"))&&(g=y.toArray(d)))return v=yn(v),g.forEach(function(w,E){!(y.isUndefined(w)||w===null)&&t.append(s===!0?Xt([v],E,i):s===null?v:v+"[]",u(w))}),!1}return Qt(d)?!0:(t.append(Xt(b,v,i),u(d)),!1)}const f=[],p=Object.assign(Ca,{defaultVisitor:l,convertValue:u,isVisitable:Qt});function h(d,v){if(!y.isUndefined(d)){if(f.indexOf(d)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(d),y.forEach(d,function(g,A){(!(y.isUndefined(g)||g===null)&&o.call(t,g,y.isString(A)?A.trim():A,v,p))===!0&&h(g,v?v.concat(A):[A])}),f.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return h(e),t}function gn(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Zt(e,t){this._pairs=[],e&>(e,this,t)}const vn=Zt.prototype;vn.append=function(t,r){this._pairs.push([t,r])},vn.toString=function(t){const r=t?function(n){return t.call(this,n,gn)}:gn;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Ta(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function bn(e,t,r){if(!t)return e;const n=r&&r.encode||Ta,o=y.isFunction(r)?{serialize:r}:r,i=o&&o.serialize;let s;if(i?s=i(t,o):s=y.isURLSearchParams(t)?t.toString():new Zt(t,o).toString(n),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Fa{constructor(){this.handlers=[]}use(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}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){y.forEach(this.handlers,function(n){n!==null&&t(n)})}}var wn=Fa,er={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},Ra=typeof URLSearchParams!="undefined"?URLSearchParams:Zt,$a=typeof FormData!="undefined"?FormData:null,Da=typeof Blob!="undefined"?Blob:null,Pa={isBrowser:!0,classes:{URLSearchParams:Ra,FormData:$a,Blob:Da},protocols:["http","https","file","blob","url","data"]};const tr=typeof window!="undefined"&&typeof document!="undefined",rr=typeof navigator=="object"&&navigator||void 0,_a=tr&&(!rr||["ReactNative","NativeScript","NS"].indexOf(rr.product)<0),Na=(()=>typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Ma=tr&&window.location.href||"http://localhost";var xa=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:tr,hasStandardBrowserWebWorkerEnv:Na,hasStandardBrowserEnv:_a,navigator:rr,origin:Ma},Symbol.toStringTag,{value:"Module"})),K={...xa,...Pa};function Ia(e,t){return gt(e,new K.classes.URLSearchParams,{visitor:function(r,n,o,i){return K.isNode&&y.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}function Ba(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function La(e){const t={},r=Object.keys(e);let n;const o=r.length;let i;for(n=0;n<o;n++)i=r[n],t[i]=e[i];return t}function En(e){function t(r,n,o,i){let s=r[i++];if(s==="__proto__")return!0;const a=Number.isFinite(+s),c=i>=r.length;return s=!s&&y.isArray(o)?o.length:s,c?(y.hasOwnProp(o,s)?o[s]=[o[s],n]:o[s]=n,!a):((!o[s]||!y.isObject(o[s]))&&(o[s]=[]),t(r,n,o[s],i)&&y.isArray(o[s])&&(o[s]=La(o[s])),!a)}if(y.isFormData(e)&&y.isFunction(e.entries)){const r={};return y.forEachEntry(e,(n,o)=>{t(Ba(n),o,r,0)}),r}return null}function Ua(e,t,r){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const nr={transitional:er,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,i=y.isObject(t);if(i&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return o?JSON.stringify(En(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Ia(t,this.formSerializer).toString();if((a=y.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return gt(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||o?(r.setContentType("application/json",!1),Ua(t)):t}],transformResponse:[function(t){const r=this.transitional||nr.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.isString(t)&&(n&&!this.responseType||o)){const s=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?B.from(a,B.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:K.classes.FormData,Blob:K.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};y.forEach(["delete","get","head","post","put","patch"],e=>{nr.headers[e]={}});var or=nr;const ka=y.toObjectSet(["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"]);var Ha=e=>{const t={};let r,n,o;return e&&e.split(`
|
|
2
2
|
`).forEach(function(s){o=s.indexOf(":"),r=s.substring(0,o).trim().toLowerCase(),n=s.substring(o+1).trim(),!(!r||t[r]&&ka[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t};const Sn=Symbol("internals");function Xe(e){return e&&String(e).trim().toLowerCase()}function vt(e){return e===!1||e==null?e:y.isArray(e)?e.map(vt):String(e)}function Ya(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const ja=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ir(e,t,r,n,o){if(y.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!y.isString(t)){if(y.isString(n))return t.indexOf(n)!==-1;if(y.isRegExp(n))return n.test(t)}}function Va(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Wa(e,t){const r=y.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,i,s){return this[n].call(this,t,o,i,s)},configurable:!0})})}class bt{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function i(a,c,u){const l=Xe(c);if(!l)throw new Error("header name must be a non-empty string");const f=y.findKey(o,l);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||c]=vt(a))}const s=(a,c)=>y.forEach(a,(u,l)=>i(u,l,c));if(y.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(y.isString(t)&&(t=t.trim())&&!ja(t))s(Ha(t),r);else if(y.isObject(t)&&y.isIterable(t)){let a={},c,u;for(const l of t){if(!y.isArray(l))throw TypeError("Object iterator must return a key-value pair");a[u=l[0]]=(c=a[u])?y.isArray(c)?[...c,l[1]]:[c,l[1]]:l[1]}s(a,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=Xe(t),t){const n=y.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return Ya(o);if(y.isFunction(r))return r.call(this,o,n);if(y.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Xe(t),t){const n=y.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||ir(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function i(s){if(s=Xe(s),s){const a=y.findKey(n,s);a&&(!r||ir(n,n[a],a,r))&&(delete n[a],o=!0)}}return y.isArray(t)?t.forEach(i):i(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const i=r[n];(!t||ir(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const r=this,n={};return y.forEach(this,(o,i)=>{const s=y.findKey(n,i);if(s){r[s]=vt(o),delete r[i];return}const a=t?Va(i):String(i).trim();a!==i&&delete r[i],r[a]=vt(o),n[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return y.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&y.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Sn]=this[Sn]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Xe(s);n[a]||(Wa(o,s),n[a]=!0)}return y.isArray(t)?t.forEach(i):i(t),this}}bt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.reduceDescriptors(bt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),y.freezeMethods(bt);var se=bt;function ar(e,t){const r=this||or,n=t||r,o=se.from(n.headers);let i=n.data;return y.forEach(e,function(a){i=a.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function An(e){return!!(e&&e.__CANCEL__)}class qa extends B{constructor(t,r,n){super(t==null?"canceled":t,B.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}}var Ze=qa;function On(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new B("Request failed with status code "+r.status,[B.ERR_BAD_REQUEST,B.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function za(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ga(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),l=n[i];s||(s=u),r[o]=c,n[o]=u;let f=i,p=0;for(;f!==o;)p+=r[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s<t)return;const h=l&&u-l;return h?Math.round(p*1e3/h):void 0}}function Ja(e,t){let r=0,n=1e3/t,o,i;const s=(u,l=Date.now())=>{r=l,o=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const l=Date.now(),f=l-r;f>=n?s(u,l):(o=u,i||(i=setTimeout(()=>{i=null,s(o)},n-f)))},()=>o&&s(o)]}const wt=(e,t,r=3)=>{let n=0;const o=Ga(50,250);return Ja(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,c=s-n,u=o(c),l=s<=a;n=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&l?(a-s)/u:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},r)},Cn=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Tn=e=>(...t)=>y.asap(()=>e(...t));var Ka=K.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,K.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(K.origin),K.navigator&&/(msie|trident)/i.test(K.navigator.userAgent)):()=>!0,Qa=K.hasStandardBrowserEnv?{write(e,t,r,n,o,i,s){if(typeof document=="undefined")return;const a=[`${e}=${encodeURIComponent(t)}`];y.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),y.isString(n)&&a.push(`path=${n}`),y.isString(o)&&a.push(`domain=${o}`),i===!0&&a.push("secure"),y.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Xa(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Za(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Fn(e,t,r){let n=!Xa(t);return e&&(n||r==!1)?Za(e,t):t}const Rn=e=>e instanceof se?{...e}:e;function Ce(e,t){t=t||{};const r={};function n(u,l,f,p){return y.isPlainObject(u)&&y.isPlainObject(l)?y.merge.call({caseless:p},u,l):y.isPlainObject(l)?y.merge({},l):y.isArray(l)?l.slice():l}function o(u,l,f,p){if(y.isUndefined(l)){if(!y.isUndefined(u))return n(void 0,u,f,p)}else return n(u,l,f,p)}function i(u,l){if(!y.isUndefined(l))return n(void 0,l)}function s(u,l){if(y.isUndefined(l)){if(!y.isUndefined(u))return n(void 0,u)}else return n(void 0,l)}function a(u,l,f){if(f in t)return n(u,l);if(f in e)return n(void 0,u)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken: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,headers:(u,l,f)=>o(Rn(u),Rn(l),f,!0)};return y.forEach(Object.keys({...e,...t}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;const f=y.hasOwnProp(c,l)?c[l]:o,p=f(e[l],t[l],l);y.isUndefined(p)&&f!==a||(r[l]=p)}),r}var $n=e=>{const t=Ce({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=se.from(s),t.url=bn(Fn(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),y.isFormData(r)){if(K.hasStandardBrowserEnv||K.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(y.isFunction(r.getHeaders)){const c=r.getHeaders(),u=["content-type","content-length"];Object.entries(c).forEach(([l,f])=>{u.includes(l.toLowerCase())&&s.set(l,f)})}}if(K.hasStandardBrowserEnv&&(n&&y.isFunction(n)&&(n=n(t)),n||n!==!1&&Ka(t.url))){const c=o&&i&&Qa.read(i);c&&s.set(o,c)}return t},es=typeof XMLHttpRequest!="undefined"&&function(e){return new Promise(function(r,n){const o=$n(e);let i=o.data;const s=se.from(o.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=o,l,f,p,h,d;function v(){h&&h(),d&&d(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function g(){if(!b)return;const w=se.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),O={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:w,config:e,request:b};On(function(F){r(F),v()},function(F){n(F),v()},O),b=null}"onloadend"in b?b.onloadend=g:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(g)},b.onabort=function(){!b||(n(new B("Request aborted",B.ECONNABORTED,e,b)),b=null)},b.onerror=function(E){const O=E&&E.message?E.message:"Network Error",R=new B(O,B.ERR_NETWORK,e,b);R.event=E||null,n(R),b=null},b.ontimeout=function(){let E=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const O=o.transitional||er;o.timeoutErrorMessage&&(E=o.timeoutErrorMessage),n(new B(E,O.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,e,b)),b=null},i===void 0&&s.setContentType(null),"setRequestHeader"in b&&y.forEach(s.toJSON(),function(E,O){b.setRequestHeader(O,E)}),y.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),a&&a!=="json"&&(b.responseType=o.responseType),u&&([p,d]=wt(u,!0),b.addEventListener("progress",p)),c&&b.upload&&([f,h]=wt(c),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",h)),(o.cancelToken||o.signal)&&(l=w=>{!b||(n(!w||w.type?new Ze(null,e,b):w),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const A=za(o.url);if(A&&K.protocols.indexOf(A)===-1){n(new B("Unsupported protocol "+A+":",B.ERR_BAD_REQUEST,e));return}b.send(i||null)})},ts=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const i=function(u){if(!o){o=!0,a();const l=u instanceof Error?u:this.reason;n.abort(l instanceof B?l:new Ze(l instanceof Error?l.message:l))}};let s=t&&setTimeout(()=>{s=null,i(new B(`timeout of ${t}ms exceeded`,B.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:c}=n;return c.unsubscribe=()=>y.asap(a),c}};const rs=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},ns=async function*(e,t){for await(const r of os(e))yield*rs(r,t)},os=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Dn=(e,t,r,n)=>{const o=ns(e,t);let i=0,s,a=c=>{s||(s=!0,n&&n(c))};return new ReadableStream({async pull(c){try{const{done:u,value:l}=await o.next();if(u){a(),c.close();return}let f=l.byteLength;if(r){let p=i+=f;r(p)}c.enqueue(new Uint8Array(l))}catch(u){throw a(u),u}},cancel(c){return a(c),o.return()}},{highWaterMark:2})},Pn=64*1024,{isFunction:Et}=y,is=(({Request:e,Response:t})=>({Request:e,Response:t}))(y.global),{ReadableStream:_n,TextEncoder:Nn}=y.global,Mn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},as=e=>{e=y.merge.call({skipUndefined:!0},is,e);const{fetch:t,Request:r,Response:n}=e,o=t?Et(t):typeof fetch=="function",i=Et(r),s=Et(n);if(!o)return!1;const a=o&&Et(_n),c=o&&(typeof Nn=="function"?(d=>v=>d.encode(v))(new Nn):async d=>new Uint8Array(await new r(d).arrayBuffer())),u=i&&a&&Mn(()=>{let d=!1;const v=new r(K.origin,{body:new _n,method:"POST",get duplex(){return d=!0,"half"}}).headers.has("Content-Type");return d&&!v}),l=s&&a&&Mn(()=>y.isReadableStream(new n("").body)),f={stream:l&&(d=>d.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(d=>{!f[d]&&(f[d]=(v,b)=>{let g=v&&v[d];if(g)return g.call(v);throw new B(`Response type '${d}' is not supported`,B.ERR_NOT_SUPPORT,b)})});const p=async d=>{if(d==null)return 0;if(y.isBlob(d))return d.size;if(y.isSpecCompliantForm(d))return(await new r(K.origin,{method:"POST",body:d}).arrayBuffer()).byteLength;if(y.isArrayBufferView(d)||y.isArrayBuffer(d))return d.byteLength;if(y.isURLSearchParams(d)&&(d=d+""),y.isString(d))return(await c(d)).byteLength},h=async(d,v)=>{const b=y.toFiniteNumber(d.getContentLength());return b==null?p(v):b};return async d=>{let{url:v,method:b,data:g,signal:A,cancelToken:w,timeout:E,onDownloadProgress:O,onUploadProgress:R,responseType:F,headers:D,withCredentials:j="same-origin",fetchOptions:_}=$n(d),N=t||fetch;F=F?(F+"").toLowerCase():"text";let H=ts([A,w&&w.toAbortSignal()],E),V=null;const $=H&&H.unsubscribe&&(()=>{H.unsubscribe()});let T;try{if(R&&u&&b!=="get"&&b!=="head"&&(T=await h(D,g))!==0){let U=new r(v,{method:"POST",body:g,duplex:"half"}),Y;if(y.isFormData(g)&&(Y=U.headers.get("content-type"))&&D.setContentType(Y),U.body){const[W,q]=Cn(T,wt(Tn(R)));g=Dn(U.body,Pn,W,q)}}y.isString(j)||(j=j?"include":"omit");const S=i&&"credentials"in r.prototype,P={..._,signal:H,method:b.toUpperCase(),headers:D.normalize().toJSON(),body:g,duplex:"half",credentials:S?j:void 0};V=i&&new r(v,P);let C=await(i?N(V,_):N(v,P));const I=l&&(F==="stream"||F==="response");if(l&&(O||I&&$)){const U={};["status","statusText","headers"].forEach(ee=>{U[ee]=C[ee]});const Y=y.toFiniteNumber(C.headers.get("content-length")),[W,q]=O&&Cn(Y,wt(Tn(O),!0))||[];C=new n(Dn(C.body,Pn,W,()=>{q&&q(),$&&$()}),U)}F=F||"text";let x=await f[y.findKey(f,F)||"text"](C,d);return!I&&$&&$(),await new Promise((U,Y)=>{On(U,Y,{data:x,headers:se.from(C.headers),status:C.status,statusText:C.statusText,config:d,request:V})})}catch(S){throw $&&$(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new B("Network Error",B.ERR_NETWORK,d,V,S&&S.response),{cause:S.cause||S}):B.from(S,S&&S.code,d,V,S&&S.response)}}},ss=new Map,In=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let s=i.length,a=s,c,u,l=ss;for(;a--;)c=i[a],u=l.get(c),u===void 0&&l.set(c,u=a?new Map:as(t)),l=u;return u};In();const sr={http:Aa,xhr:es,fetch:{get:In}};y.forEach(sr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const xn=e=>`- ${e}`,us=e=>y.isFunction(e)||e===null||e===!1;function ls(e,t){e=y.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let s=0;s<r;s++){n=e[s];let a;if(o=n,!us(n)&&(o=sr[(a=String(n)).toLowerCase()],o===void 0))throw new B(`Unknown adapter '${a}'`);if(o&&(y.isFunction(o)||(o=o.get(t))))break;i[a||"#"+s]=o}if(!o){const s=Object.entries(i).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=r?s.length>1?`since :
|
|
4
|
-
`+s.map(
|
|
5
|
-
`):" "+
|
|
6
|
-
`+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ce(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&At.assertOptions(n,{silentJSONParsing:ne.transitional(ne.boolean),forcedJSONParsing:ne.transitional(ne.boolean),clarifyTimeoutError:ne.transitional(ne.boolean),legacyInterceptorReqResOrdering:ne.transitional(ne.boolean)},!1),o!=null&&(y.isFunction(o)?r.paramsSerializer={serialize:o}:At.assertOptions(o,{encode:ne.function,serialize:ne.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),At.assertOptions(r,{baseUrl:ne.spelling("baseURL"),withXsrfToken:ne.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&y.merge(i.common,i[r.method]);i&&y.forEach(["delete","get","head","post","put","patch","common"],d=>{delete i[d]}),r.headers=se.concat(s,i);const a=[];let c=!0;this.interceptors.request.forEach(function(v){if(typeof v.runWhen=="function"&&v.runWhen(r)===!1)return;c=c&&v.synchronous;const b=r.transitional||er;b&&b.legacyInterceptorReqResOrdering?a.unshift(v.fulfilled,v.rejected):a.push(v.fulfilled,v.rejected)});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let l,f=0,p;if(!c){const d=[Ln.bind(this),void 0];for(d.unshift(...a),d.push(...u),p=d.length,l=Promise.resolve(r);f<p;)l=l.then(d[f++],d[f++]);return l}p=a.length;let h=r;for(;f<p;){const d=a[f++],v=a[f++];try{h=d(h)}catch(b){v.call(this,b);break}}try{l=Ln.call(this,h)}catch(d){return Promise.reject(d)}for(f=0,p=u.length;f<p;)l=l.then(u[f++],u[f++]);return l}getUri(t){t=Ce(this.defaults,t);const r=Fn(t.baseURL,t.url,t.allowAbsoluteUrls);return bn(r,t.params,t.paramsSerializer)}}y.forEach(["delete","get","head","options"],function(t){Ot.prototype[t]=function(r,n){return this.request(Ce(n||{},{method:t,url:r,data:(n||{}).data}))}}),y.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,a){return this.request(Ce(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Ot.prototype[t]=r(),Ot.prototype[t+"Form"]=r(!0)});var Ct=Ot;class lr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{n.subscribe(a),i=a}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,a){n.reason||(n.reason=new Ze(i,s,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new lr(function(o){t=o}),cancel:t}}}var fs=lr;function ps(e){return function(r){return e.apply(null,r)}}function ds(e){return y.isObject(e)&&e.isAxiosError===!0}const cr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(cr).forEach(([e,t])=>{cr[t]=e});var hs=cr;function Hn(e){const t=new Ct(e),r=on(Ct.prototype.request,t);return y.extend(r,Ct.prototype,t,{allOwnKeys:!0}),y.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return Hn(Ce(e,o))},r}const z=Hn(or);z.Axios=Ct,z.CanceledError=Ze,z.CancelToken=fs,z.isCancel=An,z.VERSION=Un,z.toFormData=gt,z.AxiosError=B,z.Cancel=z.CanceledError,z.all=function(t){return Promise.all(t)},z.spread=ps,z.isAxiosError=ds,z.mergeConfig=Ce,z.AxiosHeaders=se,z.formToJSON=e=>En(y.isHTMLForm(e)?new FormData(e):e),z.getAdapter=Bn.getAdapter,z.HttpStatusCode=hs,z.default=z;var fr=z,Yn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ms(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}var ys=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==o||s.enumerable!==!0)return!1}return!0},jn=typeof Symbol!="undefined"&&Symbol,gs=ys,vs=function(){return typeof jn!="function"||typeof Symbol!="function"||typeof jn("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:gs()},Vn={foo:{}},bs=Object,ws=function(){return{__proto__:Vn}.foo===Vn.foo&&!({__proto__:null}instanceof bs)},Es="Function.prototype.bind called on incompatible ",Ss=Object.prototype.toString,As=Math.max,Os="[object Function]",Wn=function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var i=0;i<r.length;i+=1)n[i+t.length]=r[i];return n},Cs=function(t,r){for(var n=[],o=r||0,i=0;o<t.length;o+=1,i+=1)n[i]=t[o];return n},Ts=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r},Fs=function(t){var r=this;if(typeof r!="function"||Ss.apply(r)!==Os)throw new TypeError(Es+r);for(var n=Cs(arguments,1),o,i=function(){if(this instanceof o){var l=r.apply(this,Wn(n,arguments));return Object(l)===l?l:this}return r.apply(t,Wn(n,arguments))},s=As(0,r.length-n.length),a=[],c=0;c<s;c++)a[c]="$"+c;if(o=Function("binder","return function ("+Ts(a,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var u=function(){};u.prototype=r.prototype,o.prototype=new u,u.prototype=null}return o},Rs=Fs,pr=Function.prototype.bind||Rs,$s=Function.prototype.call,Ds=Object.prototype.hasOwnProperty,Ps=pr,_s=Ps.call($s,Ds),L,Ie=SyntaxError,qn=Function,xe=TypeError,dr=function(e){try{return qn('"use strict"; return ('+e+").constructor;")()}catch{}},Te=Object.getOwnPropertyDescriptor;if(Te)try{Te({},"")}catch{Te=null}var hr=function(){throw new xe},Ns=Te?function(){try{return arguments.callee,hr}catch{try{return Te(arguments,"callee").get}catch{return hr}}}():hr,Be=vs(),Ms=ws(),G=Object.getPrototypeOf||(Ms?function(e){return e.__proto__}:null),Le={},Is=typeof Uint8Array=="undefined"||!G?L:G(Uint8Array),Fe={"%AggregateError%":typeof AggregateError=="undefined"?L:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?L:ArrayBuffer,"%ArrayIteratorPrototype%":Be&&G?G([][Symbol.iterator]()):L,"%AsyncFromSyncIteratorPrototype%":L,"%AsyncFunction%":Le,"%AsyncGenerator%":Le,"%AsyncGeneratorFunction%":Le,"%AsyncIteratorPrototype%":Le,"%Atomics%":typeof Atomics=="undefined"?L:Atomics,"%BigInt%":typeof BigInt=="undefined"?L:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?L:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?L:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?L:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?L:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?L:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?L:FinalizationRegistry,"%Function%":qn,"%GeneratorFunction%":Le,"%Int8Array%":typeof Int8Array=="undefined"?L:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?L:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?L:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Be&&G?G(G([][Symbol.iterator]())):L,"%JSON%":typeof JSON=="object"?JSON:L,"%Map%":typeof Map=="undefined"?L:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Be||!G?L:G(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?L:Promise,"%Proxy%":typeof Proxy=="undefined"?L:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?L:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?L:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Be||!G?L:G(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?L:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Be&&G?G(""[Symbol.iterator]()):L,"%Symbol%":Be?Symbol:L,"%SyntaxError%":Ie,"%ThrowTypeError%":Ns,"%TypedArray%":Is,"%TypeError%":xe,"%Uint8Array%":typeof Uint8Array=="undefined"?L:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?L:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?L:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?L:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?L:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?L:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?L:WeakSet};if(G)try{null.error}catch(e){var xs=G(G(e));Fe["%Error.prototype%"]=xs}var Bs=function e(t){var r;if(t==="%AsyncFunction%")r=dr("async function () {}");else if(t==="%GeneratorFunction%")r=dr("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=dr("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&G&&(r=G(o.prototype))}return Fe[t]=r,r},zn={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},et=pr,Tt=_s,Ls=et.call(Function.call,Array.prototype.concat),Us=et.call(Function.apply,Array.prototype.splice),Gn=et.call(Function.call,String.prototype.replace),Ft=et.call(Function.call,String.prototype.slice),ks=et.call(Function.call,RegExp.prototype.exec),Hs=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ys=/\\(\\)?/g,js=function(t){var r=Ft(t,0,1),n=Ft(t,-1);if(r==="%"&&n!=="%")throw new Ie("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Ie("invalid intrinsic syntax, expected opening `%`");var o=[];return Gn(t,Hs,function(i,s,a,c){o[o.length]=a?Gn(c,Ys,"$1"):s||i}),o},Vs=function(t,r){var n=t,o;if(Tt(zn,n)&&(o=zn[n],n="%"+o[0]+"%"),Tt(Fe,n)){var i=Fe[n];if(i===Le&&(i=Bs(n)),typeof i=="undefined"&&!r)throw new xe("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new Ie("intrinsic "+t+" does not exist!")},Re=function(t,r){if(typeof t!="string"||t.length===0)throw new xe("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new xe('"allowMissing" argument must be a boolean');if(ks(/^%?[^%]*%?$/,t)===null)throw new Ie("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=js(t),o=n.length>0?n[0]:"",i=Vs("%"+o+"%",r),s=i.name,a=i.value,c=!1,u=i.alias;u&&(o=u[0],Us(n,Ls([0,1],u)));for(var l=1,f=!0;l<n.length;l+=1){var p=n[l],h=Ft(p,0,1),d=Ft(p,-1);if((h==='"'||h==="'"||h==="`"||d==='"'||d==="'"||d==="`")&&h!==d)throw new Ie("property names with quotes must have matching quotes");if((p==="constructor"||!f)&&(c=!0),o+="."+p,s="%"+o+"%",Tt(Fe,s))a=Fe[s];else if(a!=null){if(!(p in a)){if(!r)throw new xe("base intrinsic for "+t+" exists, but the property is not available.");return}if(Te&&l+1>=n.length){var v=Te(a,p);f=!!v,f&&"get"in v&&!("originalValue"in v.get)?a=v.get:a=a[p]}else f=Tt(a,p),a=a[p];f&&!c&&(Fe[s]=a)}}return a},Jn={exports:{}},Ws=Re,mr=Ws("%Object.defineProperty%",!0),yr=function(){if(mr)try{return mr({},"a",{value:1}),!0}catch{return!1}return!1};yr.hasArrayLengthDefineBug=function(){if(!yr())return null;try{return mr([],"length",{value:1}).length!==1}catch{return!0}};var Kn=yr,qs=Re,Rt=qs("%Object.getOwnPropertyDescriptor%",!0);if(Rt)try{Rt([],"length")}catch{Rt=null}var Qn=Rt,zs=Kn(),gr=Re,tt=zs&&gr("%Object.defineProperty%",!0);if(tt)try{tt({},"a",{value:1})}catch{tt=!1}var Gs=gr("%SyntaxError%"),Ue=gr("%TypeError%"),Xn=Qn,Js=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Ue("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Ue("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Ue("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Ue("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Ue("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Ue("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,c=!!Xn&&Xn(t,r);if(tt)tt(t,r,{configurable:s===null&&c?c.configurable:!s,enumerable:o===null&&c?c.enumerable:!o,value:n,writable:i===null&&c?c.writable:!i});else if(a||!o&&!i&&!s)t[r]=n;else throw new Gs("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Zn=Re,eo=Js,Ks=Kn(),to=Qn,ro=Zn("%TypeError%"),Qs=Zn("%Math.floor%"),Xs=function(t,r){if(typeof t!="function")throw new ro("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Qs(r)!==r)throw new ro("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in t&&to){var s=to(t,"length");s&&!s.configurable&&(o=!1),s&&!s.writable&&(i=!1)}return(o||i||!n)&&(Ks?eo(t,"length",r,!0,!0):eo(t,"length",r)),t};(function(e){var t=pr,r=Re,n=Xs,o=r("%TypeError%"),i=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(s,i),c=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}e.exports=function(p){if(typeof p!="function")throw new o("a function is required");var h=a(t,s,arguments);return n(h,1+u(0,p.length-(arguments.length-1)),!0)};var l=function(){return a(t,i,arguments)};c?c(e.exports,"apply",{value:l}):e.exports.apply=l})(Jn);var no=Re,oo=Jn.exports,Zs=oo(no("String.prototype.indexOf")),eu=function(t,r){var n=no(t,!!r);return typeof n=="function"&&Zs(t,".prototype.")>-1?oo(n):n},tu={},ru=Object.freeze(Object.defineProperty({__proto__:null,default:tu},Symbol.toStringTag,{value:"Module"})),nu=ms(ru),vr=typeof Map=="function"&&Map.prototype,br=Object.getOwnPropertyDescriptor&&vr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,$t=vr&&br&&typeof br.get=="function"?br.get:null,io=vr&&Map.prototype.forEach,wr=typeof Set=="function"&&Set.prototype,Er=Object.getOwnPropertyDescriptor&&wr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Dt=wr&&Er&&typeof Er.get=="function"?Er.get:null,ao=wr&&Set.prototype.forEach,ou=typeof WeakMap=="function"&&WeakMap.prototype,rt=ou?WeakMap.prototype.has:null,iu=typeof WeakSet=="function"&&WeakSet.prototype,nt=iu?WeakSet.prototype.has:null,au=typeof WeakRef=="function"&&WeakRef.prototype,so=au?WeakRef.prototype.deref:null,su=Boolean.prototype.valueOf,uu=Object.prototype.toString,lu=Function.prototype.toString,cu=String.prototype.match,Sr=String.prototype.slice,ge=String.prototype.replace,fu=String.prototype.toUpperCase,uo=String.prototype.toLowerCase,lo=RegExp.prototype.test,co=Array.prototype.concat,le=Array.prototype.join,pu=Array.prototype.slice,fo=Math.floor,Ar=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Or=Object.getOwnPropertySymbols,Cr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ke=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Q=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ke?"object":"symbol")?Symbol.toStringTag:null,po=Object.prototype.propertyIsEnumerable,ho=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function mo(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||lo.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-fo(-e):fo(e);if(n!==e){var o=String(n),i=Sr.call(t,o.length+1);return ge.call(o,r,"$&_")+"."+ge.call(ge.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ge.call(t,r,"$&_")}var Tr=nu,yo=Tr.custom,go=wo(yo)?yo:null,du=function e(t,r,n,o){var i=r||{};if(ve(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ve(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=ve(i,"customInspect")?i.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ve(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ve(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=i.numericSeparator;if(typeof t=="undefined")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return So(t,i);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var c=String(t);return a?mo(t,c):c}if(typeof t=="bigint"){var u=String(t)+"n";return a?mo(t,u):u}var l=typeof i.depth=="undefined"?5:i.depth;if(typeof n=="undefined"&&(n=0),n>=l&&l>0&&typeof t=="object")return Fr(t)?"[Array]":"[Object]";var f=Pu(i,n);if(typeof o=="undefined")o=[];else if(Eo(o,t)>=0)return"[Circular]";function p(V,$,T){if($&&(o=pu.call(o),o.push($)),T){var S={depth:i.depth};return ve(i,"quoteStyle")&&(S.quoteStyle=i.quoteStyle),e(V,S,n+1,o)}return e(V,i,n+1,o)}if(typeof t=="function"&&!bo(t)){var h=Su(t),d=Pt(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+le.call(d,", ")+" }":"")}if(wo(t)){var v=ke?ge.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Cr.call(t);return typeof t=="object"&&!ke?ot(v):v}if(Ru(t)){for(var b="<"+uo.call(String(t.nodeName)),g=t.attributes||[],A=0;A<g.length;A++)b+=" "+g[A].name+"="+vo(hu(g[A].value),"double",i);return b+=">",t.childNodes&&t.childNodes.length&&(b+="..."),b+="</"+uo.call(String(t.nodeName))+">",b}if(Fr(t)){if(t.length===0)return"[]";var w=Pt(t,p);return f&&!Du(w)?"["+$r(w,f)+"]":"[ "+le.call(w,", ")+" ]"}if(yu(t)){var E=Pt(t,p);return!("cause"in Error.prototype)&&"cause"in t&&!po.call(t,"cause")?"{ ["+String(t)+"] "+le.call(co.call("[cause]: "+p(t.cause),E),", ")+" }":E.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+le.call(E,", ")+" }"}if(typeof t=="object"&&s){if(go&&typeof t[go]=="function"&&Tr)return Tr(t,{depth:l-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Au(t)){var O=[];return io&&io.call(t,function(V,$){O.push(p($,t,!0)+" => "+p(V,t))}),Ao("Map",$t.call(t),O,f)}if(Tu(t)){var R=[];return ao&&ao.call(t,function(V){R.push(p(V,t))}),Ao("Set",Dt.call(t),R,f)}if(Ou(t))return Rr("WeakMap");if(Fu(t))return Rr("WeakSet");if(Cu(t))return Rr("WeakRef");if(vu(t))return ot(p(Number(t)));if(wu(t))return ot(p(Ar.call(t)));if(bu(t))return ot(su.call(t));if(gu(t))return ot(p(String(t)));if(typeof window!="undefined"&&t===window)return"{ [object Window] }";if(t===Yn)return"{ [object globalThis] }";if(!mu(t)&&!bo(t)){var F=Pt(t,p),D=ho?ho(t)===Object.prototype:t instanceof Object||t.constructor===Object,j=t instanceof Object?"":"null prototype",_=!D&&Q&&Object(t)===t&&Q in t?Sr.call(be(t),8,-1):j?"Object":"",N=D||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",H=N+(_||j?"["+le.call(co.call([],_||[],j||[]),": ")+"] ":"");return F.length===0?H+"{}":f?H+"{"+$r(F,f)+"}":H+"{ "+le.call(F,", ")+" }"}return String(t)};function vo(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function hu(e){return ge.call(String(e),/"/g,""")}function Fr(e){return be(e)==="[object Array]"&&(!Q||!(typeof e=="object"&&Q in e))}function mu(e){return be(e)==="[object Date]"&&(!Q||!(typeof e=="object"&&Q in e))}function bo(e){return be(e)==="[object RegExp]"&&(!Q||!(typeof e=="object"&&Q in e))}function yu(e){return be(e)==="[object Error]"&&(!Q||!(typeof e=="object"&&Q in e))}function gu(e){return be(e)==="[object String]"&&(!Q||!(typeof e=="object"&&Q in e))}function vu(e){return be(e)==="[object Number]"&&(!Q||!(typeof e=="object"&&Q in e))}function bu(e){return be(e)==="[object Boolean]"&&(!Q||!(typeof e=="object"&&Q in e))}function wo(e){if(ke)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Cr)return!1;try{return Cr.call(e),!0}catch{}return!1}function wu(e){if(!e||typeof e!="object"||!Ar)return!1;try{return Ar.call(e),!0}catch{}return!1}var Eu=Object.prototype.hasOwnProperty||function(e){return e in this};function ve(e,t){return Eu.call(e,t)}function be(e){return uu.call(e)}function Su(e){if(e.name)return e.name;var t=cu.call(lu.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Eo(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Au(e){if(!$t||!e||typeof e!="object")return!1;try{$t.call(e);try{Dt.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function Ou(e){if(!rt||!e||typeof e!="object")return!1;try{rt.call(e,rt);try{nt.call(e,nt)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Cu(e){if(!so||!e||typeof e!="object")return!1;try{return so.call(e),!0}catch{}return!1}function Tu(e){if(!Dt||!e||typeof e!="object")return!1;try{Dt.call(e);try{$t.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Fu(e){if(!nt||!e||typeof e!="object")return!1;try{nt.call(e,nt);try{rt.call(e,rt)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function Ru(e){return!e||typeof e!="object"?!1:typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function So(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return So(Sr.call(e,0,t.maxStringLength),t)+n}var o=ge.call(ge.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,$u);return vo(o,"single",t)}function $u(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+fu.call(t.toString(16))}function ot(e){return"Object("+e+")"}function Rr(e){return e+" { ? }"}function Ao(e,t,r,n){var o=n?$r(r,n):le.call(r,", ");return e+" ("+t+") {"+o+"}"}function Du(e){for(var t=0;t<e.length;t++)if(Eo(e[t],`
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Sn]=this[Sn]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Xe(s);n[a]||(Wa(o,s),n[a]=!0)}return y.isArray(t)?t.forEach(i):i(t),this}}bt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.reduceDescriptors(bt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),y.freezeMethods(bt);var se=bt;function ar(e,t){const r=this||or,n=t||r,o=se.from(n.headers);let i=n.data;return y.forEach(e,function(a){i=a.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function An(e){return!!(e&&e.__CANCEL__)}class qa extends B{constructor(t,r,n){super(t==null?"canceled":t,B.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}}var Ze=qa;function On(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new B("Request failed with status code "+r.status,[B.ERR_BAD_REQUEST,B.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function za(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Ga(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(c){const u=Date.now(),l=n[i];s||(s=u),r[o]=c,n[o]=u;let f=i,p=0;for(;f!==o;)p+=r[f++],f=f%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-s<t)return;const h=l&&u-l;return h?Math.round(p*1e3/h):void 0}}function Ja(e,t){let r=0,n=1e3/t,o,i;const s=(u,l=Date.now())=>{r=l,o=null,i&&(clearTimeout(i),i=null),e(...u)};return[(...u)=>{const l=Date.now(),f=l-r;f>=n?s(u,l):(o=u,i||(i=setTimeout(()=>{i=null,s(o)},n-f)))},()=>o&&s(o)]}const wt=(e,t,r=3)=>{let n=0;const o=Ga(50,250);return Ja(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,c=s-n,u=o(c),l=s<=a;n=s;const f={loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:u||void 0,estimated:u&&a&&l?(a-s)/u:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(f)},r)},Cn=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Tn=e=>(...t)=>y.asap(()=>e(...t));var Ka=K.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,K.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(K.origin),K.navigator&&/(msie|trident)/i.test(K.navigator.userAgent)):()=>!0,Qa=K.hasStandardBrowserEnv?{write(e,t,r,n,o,i,s){if(typeof document=="undefined")return;const a=[`${e}=${encodeURIComponent(t)}`];y.isNumber(r)&&a.push(`expires=${new Date(r).toUTCString()}`),y.isString(n)&&a.push(`path=${n}`),y.isString(o)&&a.push(`domain=${o}`),i===!0&&a.push("secure"),y.isString(s)&&a.push(`SameSite=${s}`),document.cookie=a.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Xa(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Za(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Fn(e,t,r){let n=!Xa(t);return e&&(n||r==!1)?Za(e,t):t}const Rn=e=>e instanceof se?{...e}:e;function Ce(e,t){t=t||{};const r={};function n(u,l,f,p){return y.isPlainObject(u)&&y.isPlainObject(l)?y.merge.call({caseless:p},u,l):y.isPlainObject(l)?y.merge({},l):y.isArray(l)?l.slice():l}function o(u,l,f,p){if(y.isUndefined(l)){if(!y.isUndefined(u))return n(void 0,u,f,p)}else return n(u,l,f,p)}function i(u,l){if(!y.isUndefined(l))return n(void 0,l)}function s(u,l){if(y.isUndefined(l)){if(!y.isUndefined(u))return n(void 0,u)}else return n(void 0,l)}function a(u,l,f){if(f in t)return n(u,l);if(f in e)return n(void 0,u)}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken: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,headers:(u,l,f)=>o(Rn(u),Rn(l),f,!0)};return y.forEach(Object.keys({...e,...t}),function(l){if(l==="__proto__"||l==="constructor"||l==="prototype")return;const f=y.hasOwnProp(c,l)?c[l]:o,p=f(e[l],t[l],l);y.isUndefined(p)&&f!==a||(r[l]=p)}),r}var $n=e=>{const t=Ce({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=se.from(s),t.url=bn(Fn(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),y.isFormData(r)){if(K.hasStandardBrowserEnv||K.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(y.isFunction(r.getHeaders)){const c=r.getHeaders(),u=["content-type","content-length"];Object.entries(c).forEach(([l,f])=>{u.includes(l.toLowerCase())&&s.set(l,f)})}}if(K.hasStandardBrowserEnv&&(n&&y.isFunction(n)&&(n=n(t)),n||n!==!1&&Ka(t.url))){const c=o&&i&&Qa.read(i);c&&s.set(o,c)}return t},es=typeof XMLHttpRequest!="undefined"&&function(e){return new Promise(function(r,n){const o=$n(e);let i=o.data;const s=se.from(o.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:u}=o,l,f,p,h,d;function v(){h&&h(),d&&d(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function g(){if(!b)return;const w=se.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),O={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:w,config:e,request:b};On(function(F){r(F),v()},function(F){n(F),v()},O),b=null}"onloadend"in b?b.onloadend=g:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(g)},b.onabort=function(){!b||(n(new B("Request aborted",B.ECONNABORTED,e,b)),b=null)},b.onerror=function(E){const O=E&&E.message?E.message:"Network Error",R=new B(O,B.ERR_NETWORK,e,b);R.event=E||null,n(R),b=null},b.ontimeout=function(){let E=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const O=o.transitional||er;o.timeoutErrorMessage&&(E=o.timeoutErrorMessage),n(new B(E,O.clarifyTimeoutError?B.ETIMEDOUT:B.ECONNABORTED,e,b)),b=null},i===void 0&&s.setContentType(null),"setRequestHeader"in b&&y.forEach(s.toJSON(),function(E,O){b.setRequestHeader(O,E)}),y.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),a&&a!=="json"&&(b.responseType=o.responseType),u&&([p,d]=wt(u,!0),b.addEventListener("progress",p)),c&&b.upload&&([f,h]=wt(c),b.upload.addEventListener("progress",f),b.upload.addEventListener("loadend",h)),(o.cancelToken||o.signal)&&(l=w=>{!b||(n(!w||w.type?new Ze(null,e,b):w),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const A=za(o.url);if(A&&K.protocols.indexOf(A)===-1){n(new B("Unsupported protocol "+A+":",B.ERR_BAD_REQUEST,e));return}b.send(i||null)})},ts=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,o;const i=function(u){if(!o){o=!0,a();const l=u instanceof Error?u:this.reason;n.abort(l instanceof B?l:new Ze(l instanceof Error?l.message:l))}};let s=t&&setTimeout(()=>{s=null,i(new B(`timeout of ${t}ms exceeded`,B.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(i):u.removeEventListener("abort",i)}),e=null)};e.forEach(u=>u.addEventListener("abort",i));const{signal:c}=n;return c.unsubscribe=()=>y.asap(a),c}};const rs=function*(e,t){let r=e.byteLength;if(!t||r<t){yield e;return}let n=0,o;for(;n<r;)o=n+t,yield e.slice(n,o),n=o},ns=async function*(e,t){for await(const r of os(e))yield*rs(r,t)},os=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Dn=(e,t,r,n)=>{const o=ns(e,t);let i=0,s,a=c=>{s||(s=!0,n&&n(c))};return new ReadableStream({async pull(c){try{const{done:u,value:l}=await o.next();if(u){a(),c.close();return}let f=l.byteLength;if(r){let p=i+=f;r(p)}c.enqueue(new Uint8Array(l))}catch(u){throw a(u),u}},cancel(c){return a(c),o.return()}},{highWaterMark:2})},Pn=64*1024,{isFunction:Et}=y,is=(({Request:e,Response:t})=>({Request:e,Response:t}))(y.global),{ReadableStream:_n,TextEncoder:Nn}=y.global,Mn=(e,...t)=>{try{return!!e(...t)}catch{return!1}},as=e=>{e=y.merge.call({skipUndefined:!0},is,e);const{fetch:t,Request:r,Response:n}=e,o=t?Et(t):typeof fetch=="function",i=Et(r),s=Et(n);if(!o)return!1;const a=o&&Et(_n),c=o&&(typeof Nn=="function"?(d=>v=>d.encode(v))(new Nn):async d=>new Uint8Array(await new r(d).arrayBuffer())),u=i&&a&&Mn(()=>{let d=!1;const v=new r(K.origin,{body:new _n,method:"POST",get duplex(){return d=!0,"half"}}).headers.has("Content-Type");return d&&!v}),l=s&&a&&Mn(()=>y.isReadableStream(new n("").body)),f={stream:l&&(d=>d.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(d=>{!f[d]&&(f[d]=(v,b)=>{let g=v&&v[d];if(g)return g.call(v);throw new B(`Response type '${d}' is not supported`,B.ERR_NOT_SUPPORT,b)})});const p=async d=>{if(d==null)return 0;if(y.isBlob(d))return d.size;if(y.isSpecCompliantForm(d))return(await new r(K.origin,{method:"POST",body:d}).arrayBuffer()).byteLength;if(y.isArrayBufferView(d)||y.isArrayBuffer(d))return d.byteLength;if(y.isURLSearchParams(d)&&(d=d+""),y.isString(d))return(await c(d)).byteLength},h=async(d,v)=>{const b=y.toFiniteNumber(d.getContentLength());return b==null?p(v):b};return async d=>{let{url:v,method:b,data:g,signal:A,cancelToken:w,timeout:E,onDownloadProgress:O,onUploadProgress:R,responseType:F,headers:D,withCredentials:j="same-origin",fetchOptions:_}=$n(d),N=t||fetch;F=F?(F+"").toLowerCase():"text";let H=ts([A,w&&w.toAbortSignal()],E),V=null;const $=H&&H.unsubscribe&&(()=>{H.unsubscribe()});let T;try{if(R&&u&&b!=="get"&&b!=="head"&&(T=await h(D,g))!==0){let U=new r(v,{method:"POST",body:g,duplex:"half"}),Y;if(y.isFormData(g)&&(Y=U.headers.get("content-type"))&&D.setContentType(Y),U.body){const[W,q]=Cn(T,wt(Tn(R)));g=Dn(U.body,Pn,W,q)}}y.isString(j)||(j=j?"include":"omit");const S=i&&"credentials"in r.prototype,P={..._,signal:H,method:b.toUpperCase(),headers:D.normalize().toJSON(),body:g,duplex:"half",credentials:S?j:void 0};V=i&&new r(v,P);let C=await(i?N(V,_):N(v,P));const x=l&&(F==="stream"||F==="response");if(l&&(O||x&&$)){const U={};["status","statusText","headers"].forEach(ee=>{U[ee]=C[ee]});const Y=y.toFiniteNumber(C.headers.get("content-length")),[W,q]=O&&Cn(Y,wt(Tn(O),!0))||[];C=new n(Dn(C.body,Pn,W,()=>{q&&q(),$&&$()}),U)}F=F||"text";let I=await f[y.findKey(f,F)||"text"](C,d);return!x&&$&&$(),await new Promise((U,Y)=>{On(U,Y,{data:I,headers:se.from(C.headers),status:C.status,statusText:C.statusText,config:d,request:V})})}catch(S){throw $&&$(),S&&S.name==="TypeError"&&/Load failed|fetch/i.test(S.message)?Object.assign(new B("Network Error",B.ERR_NETWORK,d,V,S&&S.response),{cause:S.cause||S}):B.from(S,S&&S.code,d,V,S&&S.response)}}},ss=new Map,xn=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:o}=t,i=[n,o,r];let s=i.length,a=s,c,u,l=ss;for(;a--;)c=i[a],u=l.get(c),u===void 0&&l.set(c,u=a?new Map:as(t)),l=u;return u};xn();const sr={http:Aa,xhr:es,fetch:{get:xn}};y.forEach(sr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const In=e=>`- ${e}`,us=e=>y.isFunction(e)||e===null||e===!1;function ls(e,t){e=y.isArray(e)?e:[e];const{length:r}=e;let n,o;const i={};for(let s=0;s<r;s++){n=e[s];let a;if(o=n,!us(n)&&(o=sr[(a=String(n)).toLowerCase()],o===void 0))throw new B(`Unknown adapter '${a}'`);if(o&&(y.isFunction(o)||(o=o.get(t))))break;i[a||"#"+s]=o}if(!o){const s=Object.entries(i).map(([c,u])=>`adapter ${c} `+(u===!1?"is not supported by the environment":"is not available in the build"));let a=r?s.length>1?`since :
|
|
4
|
+
`+s.map(In).join(`
|
|
5
|
+
`):" "+In(s[0]):"as no adapter specified";throw new B("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}var Bn={getAdapter:ls,adapters:sr};function ur(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ze(null,e)}function Ln(e){return ur(e),e.headers=se.from(e.headers),e.data=ar.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Bn.getAdapter(e.adapter||or.adapter,e)(e).then(function(n){return ur(e),n.data=ar.call(e,e.transformResponse,n),n.headers=se.from(n.headers),n},function(n){return An(n)||(ur(e),n&&n.response&&(n.response.data=ar.call(e,e.transformResponse,n.response),n.response.headers=se.from(n.response.headers))),Promise.reject(n)})}const Un="1.13.6",St={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{St[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const kn={};St.transitional=function(t,r,n){function o(i,s){return"[Axios v"+Un+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,a)=>{if(t===!1)throw new B(o(s," has been removed"+(r?" in "+r:"")),B.ERR_DEPRECATED);return r&&!kn[s]&&(kn[s]=!0,console.warn(o(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,a):!0}},St.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function cs(e,t,r){if(typeof e!="object")throw new B("options must be an object",B.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const i=n[o],s=t[i];if(s){const a=e[i],c=a===void 0||s(a,i,e);if(c!==!0)throw new B("option "+i+" must be "+c,B.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new B("Unknown option "+i,B.ERR_BAD_OPTION)}}var At={assertOptions:cs,validators:St};const ne=At.validators;class Ot{constructor(t){this.defaults=t||{},this.interceptors={request:new wn,response:new wn}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
6
|
+
`+i):n.stack=i}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ce(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:i}=r;n!==void 0&&At.assertOptions(n,{silentJSONParsing:ne.transitional(ne.boolean),forcedJSONParsing:ne.transitional(ne.boolean),clarifyTimeoutError:ne.transitional(ne.boolean),legacyInterceptorReqResOrdering:ne.transitional(ne.boolean)},!1),o!=null&&(y.isFunction(o)?r.paramsSerializer={serialize:o}:At.assertOptions(o,{encode:ne.function,serialize:ne.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),At.assertOptions(r,{baseUrl:ne.spelling("baseURL"),withXsrfToken:ne.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&y.merge(i.common,i[r.method]);i&&y.forEach(["delete","get","head","post","put","patch","common"],d=>{delete i[d]}),r.headers=se.concat(s,i);const a=[];let c=!0;this.interceptors.request.forEach(function(v){if(typeof v.runWhen=="function"&&v.runWhen(r)===!1)return;c=c&&v.synchronous;const b=r.transitional||er;b&&b.legacyInterceptorReqResOrdering?a.unshift(v.fulfilled,v.rejected):a.push(v.fulfilled,v.rejected)});const u=[];this.interceptors.response.forEach(function(v){u.push(v.fulfilled,v.rejected)});let l,f=0,p;if(!c){const d=[Ln.bind(this),void 0];for(d.unshift(...a),d.push(...u),p=d.length,l=Promise.resolve(r);f<p;)l=l.then(d[f++],d[f++]);return l}p=a.length;let h=r;for(;f<p;){const d=a[f++],v=a[f++];try{h=d(h)}catch(b){v.call(this,b);break}}try{l=Ln.call(this,h)}catch(d){return Promise.reject(d)}for(f=0,p=u.length;f<p;)l=l.then(u[f++],u[f++]);return l}getUri(t){t=Ce(this.defaults,t);const r=Fn(t.baseURL,t.url,t.allowAbsoluteUrls);return bn(r,t.params,t.paramsSerializer)}}y.forEach(["delete","get","head","options"],function(t){Ot.prototype[t]=function(r,n){return this.request(Ce(n||{},{method:t,url:r,data:(n||{}).data}))}}),y.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,a){return this.request(Ce(a||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Ot.prototype[t]=r(),Ot.prototype[t+"Form"]=r(!0)});var Ct=Ot;class lr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(o=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](o);n._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{n.subscribe(a),i=a}).then(o);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,a){n.reason||(n.reason=new Ze(i,s,a),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new lr(function(o){t=o}),cancel:t}}}var fs=lr;function ps(e){return function(r){return e.apply(null,r)}}function ds(e){return y.isObject(e)&&e.isAxiosError===!0}const cr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(cr).forEach(([e,t])=>{cr[t]=e});var hs=cr;function Hn(e){const t=new Ct(e),r=on(Ct.prototype.request,t);return y.extend(r,Ct.prototype,t,{allOwnKeys:!0}),y.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return Hn(Ce(e,o))},r}const z=Hn(or);z.Axios=Ct,z.CanceledError=Ze,z.CancelToken=fs,z.isCancel=An,z.VERSION=Un,z.toFormData=gt,z.AxiosError=B,z.Cancel=z.CanceledError,z.all=function(t){return Promise.all(t)},z.spread=ps,z.isAxiosError=ds,z.mergeConfig=Ce,z.AxiosHeaders=se,z.formToJSON=e=>En(y.isHTMLForm(e)?new FormData(e):e),z.getAdapter=Bn.getAdapter,z.HttpStatusCode=hs,z.default=z;var fr=z,Yn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function ms(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}),t}var ys=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;t[r]=o;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(t,r);if(s.value!==o||s.enumerable!==!0)return!1}return!0},jn=typeof Symbol!="undefined"&&Symbol,gs=ys,vs=function(){return typeof jn!="function"||typeof Symbol!="function"||typeof jn("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:gs()},Vn={foo:{}},bs=Object,ws=function(){return{__proto__:Vn}.foo===Vn.foo&&!({__proto__:null}instanceof bs)},Es="Function.prototype.bind called on incompatible ",Ss=Object.prototype.toString,As=Math.max,Os="[object Function]",Wn=function(t,r){for(var n=[],o=0;o<t.length;o+=1)n[o]=t[o];for(var i=0;i<r.length;i+=1)n[i+t.length]=r[i];return n},Cs=function(t,r){for(var n=[],o=r||0,i=0;o<t.length;o+=1,i+=1)n[i]=t[o];return n},Ts=function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r},Fs=function(t){var r=this;if(typeof r!="function"||Ss.apply(r)!==Os)throw new TypeError(Es+r);for(var n=Cs(arguments,1),o,i=function(){if(this instanceof o){var l=r.apply(this,Wn(n,arguments));return Object(l)===l?l:this}return r.apply(t,Wn(n,arguments))},s=As(0,r.length-n.length),a=[],c=0;c<s;c++)a[c]="$"+c;if(o=Function("binder","return function ("+Ts(a,",")+"){ return binder.apply(this,arguments); }")(i),r.prototype){var u=function(){};u.prototype=r.prototype,o.prototype=new u,u.prototype=null}return o},Rs=Fs,pr=Function.prototype.bind||Rs,$s=Function.prototype.call,Ds=Object.prototype.hasOwnProperty,Ps=pr,_s=Ps.call($s,Ds),L,xe=SyntaxError,qn=Function,Ie=TypeError,dr=function(e){try{return qn('"use strict"; return ('+e+").constructor;")()}catch{}},Te=Object.getOwnPropertyDescriptor;if(Te)try{Te({},"")}catch{Te=null}var hr=function(){throw new Ie},Ns=Te?function(){try{return arguments.callee,hr}catch{try{return Te(arguments,"callee").get}catch{return hr}}}():hr,Be=vs(),Ms=ws(),G=Object.getPrototypeOf||(Ms?function(e){return e.__proto__}:null),Le={},xs=typeof Uint8Array=="undefined"||!G?L:G(Uint8Array),Fe={"%AggregateError%":typeof AggregateError=="undefined"?L:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?L:ArrayBuffer,"%ArrayIteratorPrototype%":Be&&G?G([][Symbol.iterator]()):L,"%AsyncFromSyncIteratorPrototype%":L,"%AsyncFunction%":Le,"%AsyncGenerator%":Le,"%AsyncGeneratorFunction%":Le,"%AsyncIteratorPrototype%":Le,"%Atomics%":typeof Atomics=="undefined"?L:Atomics,"%BigInt%":typeof BigInt=="undefined"?L:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?L:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?L:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?L:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?L:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?L:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?L:FinalizationRegistry,"%Function%":qn,"%GeneratorFunction%":Le,"%Int8Array%":typeof Int8Array=="undefined"?L:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?L:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?L:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Be&&G?G(G([][Symbol.iterator]())):L,"%JSON%":typeof JSON=="object"?JSON:L,"%Map%":typeof Map=="undefined"?L:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!Be||!G?L:G(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?L:Promise,"%Proxy%":typeof Proxy=="undefined"?L:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?L:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?L:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!Be||!G?L:G(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?L:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Be&&G?G(""[Symbol.iterator]()):L,"%Symbol%":Be?Symbol:L,"%SyntaxError%":xe,"%ThrowTypeError%":Ns,"%TypedArray%":xs,"%TypeError%":Ie,"%Uint8Array%":typeof Uint8Array=="undefined"?L:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?L:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?L:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?L:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?L:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?L:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?L:WeakSet};if(G)try{null.error}catch(e){var Is=G(G(e));Fe["%Error.prototype%"]=Is}var Bs=function e(t){var r;if(t==="%AsyncFunction%")r=dr("async function () {}");else if(t==="%GeneratorFunction%")r=dr("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=dr("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var o=e("%AsyncGenerator%");o&&G&&(r=G(o.prototype))}return Fe[t]=r,r},zn={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},et=pr,Tt=_s,Ls=et.call(Function.call,Array.prototype.concat),Us=et.call(Function.apply,Array.prototype.splice),Gn=et.call(Function.call,String.prototype.replace),Ft=et.call(Function.call,String.prototype.slice),ks=et.call(Function.call,RegExp.prototype.exec),Hs=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ys=/\\(\\)?/g,js=function(t){var r=Ft(t,0,1),n=Ft(t,-1);if(r==="%"&&n!=="%")throw new xe("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new xe("invalid intrinsic syntax, expected opening `%`");var o=[];return Gn(t,Hs,function(i,s,a,c){o[o.length]=a?Gn(c,Ys,"$1"):s||i}),o},Vs=function(t,r){var n=t,o;if(Tt(zn,n)&&(o=zn[n],n="%"+o[0]+"%"),Tt(Fe,n)){var i=Fe[n];if(i===Le&&(i=Bs(n)),typeof i=="undefined"&&!r)throw new Ie("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new xe("intrinsic "+t+" does not exist!")},Re=function(t,r){if(typeof t!="string"||t.length===0)throw new Ie("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Ie('"allowMissing" argument must be a boolean');if(ks(/^%?[^%]*%?$/,t)===null)throw new xe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=js(t),o=n.length>0?n[0]:"",i=Vs("%"+o+"%",r),s=i.name,a=i.value,c=!1,u=i.alias;u&&(o=u[0],Us(n,Ls([0,1],u)));for(var l=1,f=!0;l<n.length;l+=1){var p=n[l],h=Ft(p,0,1),d=Ft(p,-1);if((h==='"'||h==="'"||h==="`"||d==='"'||d==="'"||d==="`")&&h!==d)throw new xe("property names with quotes must have matching quotes");if((p==="constructor"||!f)&&(c=!0),o+="."+p,s="%"+o+"%",Tt(Fe,s))a=Fe[s];else if(a!=null){if(!(p in a)){if(!r)throw new Ie("base intrinsic for "+t+" exists, but the property is not available.");return}if(Te&&l+1>=n.length){var v=Te(a,p);f=!!v,f&&"get"in v&&!("originalValue"in v.get)?a=v.get:a=a[p]}else f=Tt(a,p),a=a[p];f&&!c&&(Fe[s]=a)}}return a},Jn={exports:{}},Ws=Re,mr=Ws("%Object.defineProperty%",!0),yr=function(){if(mr)try{return mr({},"a",{value:1}),!0}catch{return!1}return!1};yr.hasArrayLengthDefineBug=function(){if(!yr())return null;try{return mr([],"length",{value:1}).length!==1}catch{return!0}};var Kn=yr,qs=Re,Rt=qs("%Object.getOwnPropertyDescriptor%",!0);if(Rt)try{Rt([],"length")}catch{Rt=null}var Qn=Rt,zs=Kn(),gr=Re,tt=zs&&gr("%Object.defineProperty%",!0);if(tt)try{tt({},"a",{value:1})}catch{tt=!1}var Gs=gr("%SyntaxError%"),Ue=gr("%TypeError%"),Xn=Qn,Js=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new Ue("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Ue("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Ue("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Ue("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Ue("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Ue("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,c=!!Xn&&Xn(t,r);if(tt)tt(t,r,{configurable:s===null&&c?c.configurable:!s,enumerable:o===null&&c?c.enumerable:!o,value:n,writable:i===null&&c?c.writable:!i});else if(a||!o&&!i&&!s)t[r]=n;else throw new Gs("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Zn=Re,eo=Js,Ks=Kn(),to=Qn,ro=Zn("%TypeError%"),Qs=Zn("%Math.floor%"),Xs=function(t,r){if(typeof t!="function")throw new ro("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||Qs(r)!==r)throw new ro("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in t&&to){var s=to(t,"length");s&&!s.configurable&&(o=!1),s&&!s.writable&&(i=!1)}return(o||i||!n)&&(Ks?eo(t,"length",r,!0,!0):eo(t,"length",r)),t};(function(e){var t=pr,r=Re,n=Xs,o=r("%TypeError%"),i=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),a=r("%Reflect.apply%",!0)||t.call(s,i),c=r("%Object.defineProperty%",!0),u=r("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}e.exports=function(p){if(typeof p!="function")throw new o("a function is required");var h=a(t,s,arguments);return n(h,1+u(0,p.length-(arguments.length-1)),!0)};var l=function(){return a(t,i,arguments)};c?c(e.exports,"apply",{value:l}):e.exports.apply=l})(Jn);var no=Re,oo=Jn.exports,Zs=oo(no("String.prototype.indexOf")),eu=function(t,r){var n=no(t,!!r);return typeof n=="function"&&Zs(t,".prototype.")>-1?oo(n):n},tu={},ru=Object.freeze(Object.defineProperty({__proto__:null,default:tu},Symbol.toStringTag,{value:"Module"})),nu=ms(ru),vr=typeof Map=="function"&&Map.prototype,br=Object.getOwnPropertyDescriptor&&vr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,$t=vr&&br&&typeof br.get=="function"?br.get:null,io=vr&&Map.prototype.forEach,wr=typeof Set=="function"&&Set.prototype,Er=Object.getOwnPropertyDescriptor&&wr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Dt=wr&&Er&&typeof Er.get=="function"?Er.get:null,ao=wr&&Set.prototype.forEach,ou=typeof WeakMap=="function"&&WeakMap.prototype,rt=ou?WeakMap.prototype.has:null,iu=typeof WeakSet=="function"&&WeakSet.prototype,nt=iu?WeakSet.prototype.has:null,au=typeof WeakRef=="function"&&WeakRef.prototype,so=au?WeakRef.prototype.deref:null,su=Boolean.prototype.valueOf,uu=Object.prototype.toString,lu=Function.prototype.toString,cu=String.prototype.match,Sr=String.prototype.slice,ge=String.prototype.replace,fu=String.prototype.toUpperCase,uo=String.prototype.toLowerCase,lo=RegExp.prototype.test,co=Array.prototype.concat,le=Array.prototype.join,pu=Array.prototype.slice,fo=Math.floor,Ar=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Or=Object.getOwnPropertySymbols,Cr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ke=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Q=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ke?"object":"symbol")?Symbol.toStringTag:null,po=Object.prototype.propertyIsEnumerable,ho=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function mo(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||lo.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-fo(-e):fo(e);if(n!==e){var o=String(n),i=Sr.call(t,o.length+1);return ge.call(o,r,"$&_")+"."+ge.call(ge.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return ge.call(t,r,"$&_")}var Tr=nu,yo=Tr.custom,go=wo(yo)?yo:null,du=function e(t,r,n,o){var i=r||{};if(ve(i,"quoteStyle")&&i.quoteStyle!=="single"&&i.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(ve(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=ve(i,"customInspect")?i.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(ve(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(ve(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var a=i.numericSeparator;if(typeof t=="undefined")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return So(t,i);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var c=String(t);return a?mo(t,c):c}if(typeof t=="bigint"){var u=String(t)+"n";return a?mo(t,u):u}var l=typeof i.depth=="undefined"?5:i.depth;if(typeof n=="undefined"&&(n=0),n>=l&&l>0&&typeof t=="object")return Fr(t)?"[Array]":"[Object]";var f=Pu(i,n);if(typeof o=="undefined")o=[];else if(Eo(o,t)>=0)return"[Circular]";function p(V,$,T){if($&&(o=pu.call(o),o.push($)),T){var S={depth:i.depth};return ve(i,"quoteStyle")&&(S.quoteStyle=i.quoteStyle),e(V,S,n+1,o)}return e(V,i,n+1,o)}if(typeof t=="function"&&!bo(t)){var h=Su(t),d=Pt(t,p);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(d.length>0?" { "+le.call(d,", ")+" }":"")}if(wo(t)){var v=ke?ge.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):Cr.call(t);return typeof t=="object"&&!ke?ot(v):v}if(Ru(t)){for(var b="<"+uo.call(String(t.nodeName)),g=t.attributes||[],A=0;A<g.length;A++)b+=" "+g[A].name+"="+vo(hu(g[A].value),"double",i);return b+=">",t.childNodes&&t.childNodes.length&&(b+="..."),b+="</"+uo.call(String(t.nodeName))+">",b}if(Fr(t)){if(t.length===0)return"[]";var w=Pt(t,p);return f&&!Du(w)?"["+$r(w,f)+"]":"[ "+le.call(w,", ")+" ]"}if(yu(t)){var E=Pt(t,p);return!("cause"in Error.prototype)&&"cause"in t&&!po.call(t,"cause")?"{ ["+String(t)+"] "+le.call(co.call("[cause]: "+p(t.cause),E),", ")+" }":E.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+le.call(E,", ")+" }"}if(typeof t=="object"&&s){if(go&&typeof t[go]=="function"&&Tr)return Tr(t,{depth:l-n});if(s!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(Au(t)){var O=[];return io&&io.call(t,function(V,$){O.push(p($,t,!0)+" => "+p(V,t))}),Ao("Map",$t.call(t),O,f)}if(Tu(t)){var R=[];return ao&&ao.call(t,function(V){R.push(p(V,t))}),Ao("Set",Dt.call(t),R,f)}if(Ou(t))return Rr("WeakMap");if(Fu(t))return Rr("WeakSet");if(Cu(t))return Rr("WeakRef");if(vu(t))return ot(p(Number(t)));if(wu(t))return ot(p(Ar.call(t)));if(bu(t))return ot(su.call(t));if(gu(t))return ot(p(String(t)));if(typeof window!="undefined"&&t===window)return"{ [object Window] }";if(t===Yn)return"{ [object globalThis] }";if(!mu(t)&&!bo(t)){var F=Pt(t,p),D=ho?ho(t)===Object.prototype:t instanceof Object||t.constructor===Object,j=t instanceof Object?"":"null prototype",_=!D&&Q&&Object(t)===t&&Q in t?Sr.call(be(t),8,-1):j?"Object":"",N=D||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",H=N+(_||j?"["+le.call(co.call([],_||[],j||[]),": ")+"] ":"");return F.length===0?H+"{}":f?H+"{"+$r(F,f)+"}":H+"{ "+le.call(F,", ")+" }"}return String(t)};function vo(e,t,r){var n=(r.quoteStyle||t)==="double"?'"':"'";return n+e+n}function hu(e){return ge.call(String(e),/"/g,""")}function Fr(e){return be(e)==="[object Array]"&&(!Q||!(typeof e=="object"&&Q in e))}function mu(e){return be(e)==="[object Date]"&&(!Q||!(typeof e=="object"&&Q in e))}function bo(e){return be(e)==="[object RegExp]"&&(!Q||!(typeof e=="object"&&Q in e))}function yu(e){return be(e)==="[object Error]"&&(!Q||!(typeof e=="object"&&Q in e))}function gu(e){return be(e)==="[object String]"&&(!Q||!(typeof e=="object"&&Q in e))}function vu(e){return be(e)==="[object Number]"&&(!Q||!(typeof e=="object"&&Q in e))}function bu(e){return be(e)==="[object Boolean]"&&(!Q||!(typeof e=="object"&&Q in e))}function wo(e){if(ke)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!Cr)return!1;try{return Cr.call(e),!0}catch{}return!1}function wu(e){if(!e||typeof e!="object"||!Ar)return!1;try{return Ar.call(e),!0}catch{}return!1}var Eu=Object.prototype.hasOwnProperty||function(e){return e in this};function ve(e,t){return Eu.call(e,t)}function be(e){return uu.call(e)}function Su(e){if(e.name)return e.name;var t=cu.call(lu.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function Eo(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}function Au(e){if(!$t||!e||typeof e!="object")return!1;try{$t.call(e);try{Dt.call(e)}catch{return!0}return e instanceof Map}catch{}return!1}function Ou(e){if(!rt||!e||typeof e!="object")return!1;try{rt.call(e,rt);try{nt.call(e,nt)}catch{return!0}return e instanceof WeakMap}catch{}return!1}function Cu(e){if(!so||!e||typeof e!="object")return!1;try{return so.call(e),!0}catch{}return!1}function Tu(e){if(!Dt||!e||typeof e!="object")return!1;try{Dt.call(e);try{$t.call(e)}catch{return!0}return e instanceof Set}catch{}return!1}function Fu(e){if(!nt||!e||typeof e!="object")return!1;try{nt.call(e,nt);try{rt.call(e,rt)}catch{return!0}return e instanceof WeakSet}catch{}return!1}function Ru(e){return!e||typeof e!="object"?!1:typeof HTMLElement!="undefined"&&e instanceof HTMLElement?!0:typeof e.nodeName=="string"&&typeof e.getAttribute=="function"}function So(e,t){if(e.length>t.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return So(Sr.call(e,0,t.maxStringLength),t)+n}var o=ge.call(ge.call(e,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,$u);return vo(o,"single",t)}function $u(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+fu.call(t.toString(16))}function ot(e){return"Object("+e+")"}function Rr(e){return e+" { ? }"}function Ao(e,t,r,n){var o=n?$r(r,n):le.call(r,", ");return e+" ("+t+") {"+o+"}"}function Du(e){for(var t=0;t<e.length;t++)if(Eo(e[t],`
|
|
7
7
|
`)>=0)return!1;return!0}function Pu(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=le.call(Array(e.indent+1)," ");else return null;return{base:r,prev:le.call(Array(t+1),r)}}function $r(e,t){if(e.length===0)return"";var r=`
|
|
8
8
|
`+t.prev+t.base;return r+le.call(e,","+r)+`
|
|
9
|
-
`+t.prev}function Pt(e,t){var r=Fr(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=ve(e,o)?t(e[o],e):""}var i=typeof Or=="function"?Or(e):[],s;if(ke){s={};for(var a=0;a<i.length;a++)s["$"+i[a]]=i[a]}for(var c in e)!ve(e,c)||r&&String(Number(c))===c&&c<e.length||ke&&s["$"+c]instanceof Symbol||(lo.call(/[^\w$]/,c)?n.push(t(c,e)+": "+t(e[c],e)):n.push(c+": "+t(e[c],e)));if(typeof Or=="function")for(var u=0;u<i.length;u++)po.call(e,i[u])&&n.push("["+t(i[u])+"]: "+t(e[i[u]],e));return n}var Dr=Re,He=eu,_u=du,Nu=Dr("%TypeError%"),_t=Dr("%WeakMap%",!0),Nt=Dr("%Map%",!0),Mu=He("WeakMap.prototype.get",!0),Iu=He("WeakMap.prototype.set",!0),xu=He("WeakMap.prototype.has",!0),Bu=He("Map.prototype.get",!0),Lu=He("Map.prototype.set",!0),Uu=He("Map.prototype.has",!0),Pr=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},ku=function(e,t){var r=Pr(e,t);return r&&r.value},Hu=function(e,t,r){var n=Pr(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Yu=function(e,t){return!!Pr(e,t)},ju=function(){var t,r,n,o={assert:function(i){if(!o.has(i))throw new Nu("Side channel does not contain "+_u(i))},get:function(i){if(_t&&i&&(typeof i=="object"||typeof i=="function")){if(t)return Mu(t,i)}else if(Nt){if(r)return Bu(r,i)}else if(n)return ku(n,i)},has:function(i){if(_t&&i&&(typeof i=="object"||typeof i=="function")){if(t)return xu(t,i)}else if(Nt){if(r)return Uu(r,i)}else if(n)return Yu(n,i);return!1},set:function(i,s){_t&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new _t),Iu(t,i,s)):Nt?(r||(r=new Nt),Lu(r,i,s)):(n||(n={key:{},next:null}),Hu(n,i,s))}};return o},Vu=String.prototype.replace,Wu=/%20/g,_r={RFC1738:"RFC1738",RFC3986:"RFC3986"},Nr={default:_r.RFC3986,formatters:{RFC1738:function(e){return Vu.call(e,Wu,"+")},RFC3986:function(e){return String(e)}},RFC1738:_r.RFC1738,RFC3986:_r.RFC3986},qu=Nr,Mr=Object.prototype.hasOwnProperty,$e=Array.isArray,ce=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),zu=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if($e(n)){for(var o=[],i=0;i<n.length;++i)typeof n[i]!="undefined"&&o.push(n[i]);r.obj[r.prop]=o}}},Oo=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},o=0;o<t.length;++o)typeof t[o]!="undefined"&&(n[o]=t[o]);return n},Gu=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if($e(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Mr.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var o=t;return $e(t)&&!$e(r)&&(o=Oo(t,n)),$e(t)&&$e(r)?(r.forEach(function(i,s){if(Mr.call(t,s)){var a=t[s];a&&typeof a=="object"&&i&&typeof i=="object"?t[s]=e(a,i,n):t.push(i)}else t[s]=i}),t):Object.keys(r).reduce(function(i,s){var a=r[s];return Mr.call(i,s)?i[s]=e(i[s],a,n):i[s]=a,i},o)},Ju=function(t,r){return Object.keys(r).reduce(function(n,o){return n[o]=r[o],n},t)},Ku=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Qu=function(t,r,n,o,i){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(l){return"%26%23"+parseInt(l.slice(2),16)+"%3B"});for(var a="",c=0;c<s.length;++c){var u=s.charCodeAt(c);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===qu.RFC1738&&(u===40||u===41)){a+=s.charAt(c);continue}if(u<128){a=a+ce[u];continue}if(u<2048){a=a+(ce[192|u>>6]+ce[128|u&63]);continue}if(u<55296||u>=57344){a=a+(ce[224|u>>12]+ce[128|u>>6&63]+ce[128|u&63]);continue}c+=1,u=65536+((u&1023)<<10|s.charCodeAt(c)&1023),a+=ce[240|u>>18]+ce[128|u>>12&63]+ce[128|u>>6&63]+ce[128|u&63]}return a},Xu=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],o=0;o<r.length;++o)for(var i=r[o],s=i.obj[i.prop],a=Object.keys(s),c=0;c<a.length;++c){var u=a[c],l=s[u];typeof l=="object"&&l!==null&&n.indexOf(l)===-1&&(r.push({obj:s,prop:u}),n.push(l))}return zu(r),t},Zu=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},el=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},tl=function(t,r){return[].concat(t,r)},rl=function(t,r){if($e(t)){for(var n=[],o=0;o<t.length;o+=1)n.push(r(t[o]));return n}return r(t)},Co={arrayToObject:Oo,assign:Ju,combine:tl,compact:Xu,decode:Ku,encode:Qu,isBuffer:el,isRegExp:Zu,maybeMap:rl,merge:Gu},To=ju,Mt=Co,it=Nr,nl=Object.prototype.hasOwnProperty,Fo={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},de=Array.isArray,ol=Array.prototype.push,Ro=function(e,t){ol.apply(e,de(t)?t:[t])},il=Date.prototype.toISOString,$o=it.default,X={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Mt.encode,encodeValuesOnly:!1,format:$o,formatter:it.formatters[$o],indices:!1,serializeDate:function(t){return il.call(t)},skipNulls:!1,strictNullHandling:!1},al=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},Ir={},sl=function e(t,r,n,o,i,s,a,c,u,l,f,p,h,d,v,b){for(var g=t,A=b,w=0,E=!1;(A=A.get(Ir))!==void 0&&!E;){var O=A.get(t);if(w+=1,typeof O!="undefined"){if(O===w)throw new RangeError("Cyclic object value");E=!0}typeof A.get(Ir)=="undefined"&&(w=0)}if(typeof c=="function"?g=c(r,g):g instanceof Date?g=f(g):n==="comma"&&de(g)&&(g=Mt.maybeMap(g,function(S){return S instanceof Date?f(S):S})),g===null){if(i)return a&&!d?a(r,X.encoder,v,"key",p):r;g=""}if(al(g)||Mt.isBuffer(g)){if(a){var R=d?r:a(r,X.encoder,v,"key",p);return[h(R)+"="+h(a(g,X.encoder,v,"value",p))]}return[h(r)+"="+h(String(g))]}var F=[];if(typeof g=="undefined")return F;var D;if(n==="comma"&&de(g))d&&a&&(g=Mt.maybeMap(g,a)),D=[{value:g.length>0?g.join(",")||null:void 0}];else if(de(c))D=c;else{var j=Object.keys(g);D=u?j.sort(u):j}for(var _=o&&de(g)&&g.length===1?r+"[]":r,N=0;N<D.length;++N){var H=D[N],V=typeof H=="object"&&typeof H.value!="undefined"?H.value:g[H];if(!(s&&V===null)){var $=de(g)?typeof n=="function"?n(_,H):_:_+(l?"."+H:"["+H+"]");b.set(t,w);var T=To();T.set(Ir,b),Ro(F,e(V,$,n,o,i,s,n==="comma"&&d&&de(g)?null:a,c,u,l,f,p,h,d,v,T))}}return F},ul=function(t){if(!t)return X;if(t.encoder!==null&&typeof t.encoder!="undefined"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||X.charset;if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=it.default;if(typeof t.format!="undefined"){if(!nl.call(it.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var o=it.formatters[n],i=X.filter;return(typeof t.filter=="function"||de(t.filter))&&(i=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:X.addQueryPrefix,allowDots:typeof t.allowDots=="undefined"?X.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:X.charsetSentinel,delimiter:typeof t.delimiter=="undefined"?X.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:X.encode,encoder:typeof t.encoder=="function"?t.encoder:X.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:X.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:X.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:X.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:X.strictNullHandling}},ll=function(e,t){var r=e,n=ul(t),o,i;typeof n.filter=="function"?(i=n.filter,r=i("",r)):de(n.filter)&&(i=n.filter,o=i);var s=[];if(typeof r!="object"||r===null)return"";var a;t&&t.arrayFormat in Fo?a=t.arrayFormat:t&&"indices"in t?a=t.indices?"indices":"repeat":a="indices";var c=Fo[a];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=c==="comma"&&t&&t.commaRoundTrip;o||(o=Object.keys(r)),n.sort&&o.sort(n.sort);for(var l=To(),f=0;f<o.length;++f){var p=o[f];n.skipNulls&&r[p]===null||Ro(s,sl(r[p],p,c,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}var h=s.join(n.delimiter),d=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),h.length>0?d+h:""},Ye=Co,xr=Object.prototype.hasOwnProperty,cl=Array.isArray,J={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ye.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},fl=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},Do=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},pl="utf8=%26%2310003%3B",dl="utf8=%E2%9C%93",hl=function(t,r){var n={__proto__:null},o=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=r.parameterLimit===1/0?void 0:r.parameterLimit,s=o.split(r.delimiter,i),a=-1,c,u=r.charset;if(r.charsetSentinel)for(c=0;c<s.length;++c)s[c].indexOf("utf8=")===0&&(s[c]===dl?u="utf-8":s[c]===pl&&(u="iso-8859-1"),a=c,c=s.length);for(c=0;c<s.length;++c)if(c!==a){var l=s[c],f=l.indexOf("]="),p=f===-1?l.indexOf("="):f+1,h,d;p===-1?(h=r.decoder(l,J.decoder,u,"key"),d=r.strictNullHandling?null:""):(h=r.decoder(l.slice(0,p),J.decoder,u,"key"),d=Ye.maybeMap(Do(l.slice(p+1),r),function(v){return r.decoder(v,J.decoder,u,"value")})),d&&r.interpretNumericEntities&&u==="iso-8859-1"&&(d=fl(d)),l.indexOf("[]=")>-1&&(d=cl(d)?[d]:d),xr.call(n,h)?n[h]=Ye.combine(n[h],d):n[h]=d}return n},ml=function(e,t,r,n){for(var o=n?t:Do(t,r),i=e.length-1;i>=0;--i){var s,a=e[i];if(a==="[]"&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var c=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,u=parseInt(c,10);!r.parseArrays&&c===""?s={0:o}:!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=o):c!=="__proto__"&&(s[c]=o)}o=s}return o},yl=function(t,r,n,o){if(!!t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=n.depth>0&&s.exec(i),u=c?i.slice(0,c.index):i,l=[];if(u){if(!n.plainObjects&&xr.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var f=0;n.depth>0&&(c=a.exec(i))!==null&&f<n.depth;){if(f+=1,!n.plainObjects&&xr.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+i.slice(c.index)+"]"),ml(l,r,n,o)}},gl=function(t){if(!t)return J;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset=="undefined"?J.charset:t.charset;return{allowDots:typeof t.allowDots=="undefined"?J.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:J.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:J.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:J.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:J.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:J.comma,decoder:typeof t.decoder=="function"?t.decoder:J.decoder,delimiter:typeof t.delimiter=="string"||Ye.isRegExp(t.delimiter)?t.delimiter:J.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:J.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:J.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:J.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:J.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:J.strictNullHandling}},vl=function(e,t){var r=gl(t);if(e===""||e===null||typeof e=="undefined")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?hl(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),s=0;s<i.length;++s){var a=i[s],c=yl(a,n[a],r,typeof e=="string");o=Ye.merge(o,c,r)}return r.allowSparse===!0?o:Ye.compact(o)},bl=ll,wl=vl,El=Nr,Sl={formats:El,parse:wl,stringify:bl};function Po(){const e=location.search,t=new Object;if(e.indexOf("?")!=-1){let n=e.substr(1).split("&");for(let o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1])}return t}const _o="Content-Type";function Br(e){let t=(e==null?void 0:e[_o])||(e==null?void 0:e["content-type"])||"";const r=t.indexOf(";");return r!==-1&&(t=t.substring(0,r)),t}function No(e,t){e[_o]=t}const at={form:"application/x-www-form-urlencoded",multiForm:"multipart/form-data",body:"application/json",os:"application/octet-stream",json:"application/json"},Mo="v8-token",Io="lambo-token";function xo(){return window.location.pathname.includes("scyxweb")}function Al(e){_e(Io,e),xo||(Ge(Mo,e),It.set("TOKEN_KEY",e,1),It.set("lambo-sso-key",e,1))}function Lr(){let e=Se(Io);return xo||(e||(e=It.get("lambo-sso-key")),e||(e=It.get("TOKEN_KEY")),e||(e=Ae(Mo))),e||!1}const It={set:function(e,t,r){if(e.indexOf("=")!==-1)throw new Error("Cookie\u4E0D\u652F\u6301key\u4E2D\u4F7F\u7528\u7B49\u53F7\u3010=\u3011, key:"+e);let n=new Date;n.setTime(n.getTime()+24*60*60*1e3*r),window.document.cookie=e+"="+t+";path=/;expires="+n.toGMTString()},get:function(e){if(document.cookie.length>0){var t=document.cookie.split("; ");for(let n=0;n<t.length;n++){let o=t[n].split("=");if(o[0]===e){var r=o[1];for(let i=2;i<o.length;i++)r+="="+o[i];return r}}}}};var Ur={title:"",icomId:"",showMenus:!1,routerBase:"ind",loginRouteName:"login",rootRouteName:"root",homeRouteName:"home",authServerContext:"/user-manage-server",ossServerContext:"/user-manage-server",ismAmServerContext:"/ind-ism-am-server",ismAcServerContext:"/ind-ism-ac-server",ismSqServerContext:"/ind-ism-sq-server",ilmServerContext:"/ind-ilm-server",imgServerContext:"/ind-img-server",imaServerContext:"/imarket-act-manage-server",ucExtServerContext:"/ind-uc-ext-server",dataManageServerContext:"/ddd-data-manage-server",kkfilepreviewContext:"/kkfilepreview",errorMessage:"\u7CFB\u7EDF\u5F00\u5C0F\u5DEE\u4E86\uFF0C\u8BF7\u7A0D\u540E\u5C1D\u8BD5",leftLockDays:7,labelStyle:{labelWidthButton:50,labelWidthSmall:100+40,labelWidthMiddle:120+40,labelWidthMiddleLarge:140+40,labelWidthLarge:160+40,labelWidthSuperLarge:180+40},linkColor:"#488AFF"};function Ol(){return{showMenus:!0}}function Cl(){return{showMenus:typeof window!="undefined"&&window.top===window.self}}m.config={};function Bo(e){return m.config=e?Object.assign({},Ur,Ol()):Object.assign({},Ur,Cl()),m.config}Bo();function Tl(e,t){Ur[e]=t,m.config[e]=t}const Fl=1,Rl=10106;let st=null;function $l(e){st&&clearTimeout(st);let t=!st;st=setTimeout(()=>{st=null},1e3*20),t&&e()}function Dl(e){let t=Lr();t&&(e.headers.token=t);const r=Po();(r.hasOwnProperty("sso_token")||sessionStorage.getItem("sso_token"))&&(e.params=Object.assign({sso_token:r.sso_token||sessionStorage.getItem("sso_token"),sso_id:r.sso_id},e.params));const n=Br(e.headers);return e.method==="post"&&n===at.form&&(e.data=Sl.stringify(e.data)),e}function Lo(e){var o;let t=e.data;if(Br(e.headers)!==at.json)return t;switch(typeof e.data=="string"&&(t=JSON.parse(e.data)),t.code){case Fl:return sessionStorage.getItem("isFromIM")=="1"&&((o=t==null?void 0:t.extInfo)==null?void 0:o.handleTask)&&typeof window.native!="undefined"&&window.native.goHome(),t;case Rl:{$l(function(){window.sessionNotValidHandler&&window.sessionNotValidHandler()});break}default:{let i=t.message||t.msg||m.config.errorMessage;window.apiErrorHandler&&window.apiErrorHandler(i)}}return Promise.reject(t)}function Uo(e){var t;return(e==null?void 0:e.code)==="ECONNABORTED"?window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"):((t=e==null?void 0:e.response)==null?void 0:t.status)!==200&&(e==null?void 0:e.message)!=="canceled"&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86"),Promise.reject(e)}const M=fr.create({timeout:5*60*1e3});M.interceptors.request.use(Dl,Uo),M.interceptors.response.use(Lo,Uo),M.formPost=function(e,t,r){const n=(r==null?void 0:r.headers)||{};return No(n,at.form),M.post(e,t,{...r,headers:n})};const xt=(e,t=!1)=>{let r={};return async function(...o){let i=o[0];r[i]&&(console.log("currentController.abort trigger, now cancel before request"),r[i].abort(),r[i]=null);const s=new AbortController;r[i]=s;const a=[...o],c=a.length-1;try{if((t?c>1:c>0)&&typeof a[c]=="object"&&!Array.isArray(a[c])){const l=a[c];if(l.signal){const f=new AbortController,p=l.signal;p.addEventListener("abort",()=>{f.abort(p.reason)}),s.signal.addEventListener("abort",()=>{f.abort(s.signal.reason)}),a[c]={...l,signal:f.signal}}else a[c]={...l,signal:s.signal}}else t&&c===0?a.push(null,{signal:s.signal}):a.push({signal:s.signal});const u=await e(...a);return r[i]=null,u}catch(u){throw u.name==="AbortError"||fr.isCancel(u)?Object.assign(new Error("Request cancelled"),{name:"AbortError",cancelled:!0,originalError:u}):u}finally{r[i]===s&&(r[i]=null)}}};M.getSingleton=xt(M.get),M.postSingleton=xt(M.post,!0),M.formPostSingleton=xt(M.formPost,!0);var ko={exports:{}},Ho={exports:{}};(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,n){return r<<n|r>>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return t.rotl(r,8)&16711935|t.rotl(r,24)&4278255360;for(var n=0;n<r.length;n++)r[n]=t.endian(r[n]);return r},randomBytes:function(r){for(var n=[];r>0;r--)n.push(Math.floor(Math.random()*256));return n},bytesToWords:function(r){for(var n=[],o=0,i=0;o<r.length;o++,i+=8)n[i>>>5]|=r[o]<<24-i%32;return n},wordsToBytes:function(r){for(var n=[],o=0;o<r.length*32;o+=8)n.push(r[o>>>5]>>>24-o%32&255);return n},bytesToHex:function(r){for(var n=[],o=0;o<r.length;o++)n.push((r[o]>>>4).toString(16)),n.push((r[o]&15).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],o=0;o<r.length;o+=2)n.push(parseInt(r.substr(o,2),16));return n},bytesToBase64:function(r){for(var n=[],o=0;o<r.length;o+=3)for(var i=r[o]<<16|r[o+1]<<8|r[o+2],s=0;s<4;s++)o*8+s*6<=r.length*8?n.push(e.charAt(i>>>6*(3-s)&63)):n.push("=");return n.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],o=0,i=0;o<r.length;i=++o%4)i!=0&&n.push((e.indexOf(r.charAt(o-1))&Math.pow(2,-2*i+8)-1)<<i*2|e.indexOf(r.charAt(o))>>>6-i*2);return n}};Ho.exports=t})();var kr={utf8:{stringToBytes:function(e){return kr.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(kr.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(e.charCodeAt(r)&255);return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}},Yo=kr;/*!
|
|
9
|
+
`+t.prev}function Pt(e,t){var r=Fr(e),n=[];if(r){n.length=e.length;for(var o=0;o<e.length;o++)n[o]=ve(e,o)?t(e[o],e):""}var i=typeof Or=="function"?Or(e):[],s;if(ke){s={};for(var a=0;a<i.length;a++)s["$"+i[a]]=i[a]}for(var c in e)!ve(e,c)||r&&String(Number(c))===c&&c<e.length||ke&&s["$"+c]instanceof Symbol||(lo.call(/[^\w$]/,c)?n.push(t(c,e)+": "+t(e[c],e)):n.push(c+": "+t(e[c],e)));if(typeof Or=="function")for(var u=0;u<i.length;u++)po.call(e,i[u])&&n.push("["+t(i[u])+"]: "+t(e[i[u]],e));return n}var Dr=Re,He=eu,_u=du,Nu=Dr("%TypeError%"),_t=Dr("%WeakMap%",!0),Nt=Dr("%Map%",!0),Mu=He("WeakMap.prototype.get",!0),xu=He("WeakMap.prototype.set",!0),Iu=He("WeakMap.prototype.has",!0),Bu=He("Map.prototype.get",!0),Lu=He("Map.prototype.set",!0),Uu=He("Map.prototype.has",!0),Pr=function(e,t){for(var r=e,n;(n=r.next)!==null;r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},ku=function(e,t){var r=Pr(e,t);return r&&r.value},Hu=function(e,t,r){var n=Pr(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},Yu=function(e,t){return!!Pr(e,t)},ju=function(){var t,r,n,o={assert:function(i){if(!o.has(i))throw new Nu("Side channel does not contain "+_u(i))},get:function(i){if(_t&&i&&(typeof i=="object"||typeof i=="function")){if(t)return Mu(t,i)}else if(Nt){if(r)return Bu(r,i)}else if(n)return ku(n,i)},has:function(i){if(_t&&i&&(typeof i=="object"||typeof i=="function")){if(t)return Iu(t,i)}else if(Nt){if(r)return Uu(r,i)}else if(n)return Yu(n,i);return!1},set:function(i,s){_t&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new _t),xu(t,i,s)):Nt?(r||(r=new Nt),Lu(r,i,s)):(n||(n={key:{},next:null}),Hu(n,i,s))}};return o},Vu=String.prototype.replace,Wu=/%20/g,_r={RFC1738:"RFC1738",RFC3986:"RFC3986"},Nr={default:_r.RFC3986,formatters:{RFC1738:function(e){return Vu.call(e,Wu,"+")},RFC3986:function(e){return String(e)}},RFC1738:_r.RFC1738,RFC3986:_r.RFC3986},qu=Nr,Mr=Object.prototype.hasOwnProperty,$e=Array.isArray,ce=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),zu=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if($e(n)){for(var o=[],i=0;i<n.length;++i)typeof n[i]!="undefined"&&o.push(n[i]);r.obj[r.prop]=o}}},Oo=function(t,r){for(var n=r&&r.plainObjects?Object.create(null):{},o=0;o<t.length;++o)typeof t[o]!="undefined"&&(n[o]=t[o]);return n},Gu=function e(t,r,n){if(!r)return t;if(typeof r!="object"){if($e(t))t.push(r);else if(t&&typeof t=="object")(n&&(n.plainObjects||n.allowPrototypes)||!Mr.call(Object.prototype,r))&&(t[r]=!0);else return[t,r];return t}if(!t||typeof t!="object")return[t].concat(r);var o=t;return $e(t)&&!$e(r)&&(o=Oo(t,n)),$e(t)&&$e(r)?(r.forEach(function(i,s){if(Mr.call(t,s)){var a=t[s];a&&typeof a=="object"&&i&&typeof i=="object"?t[s]=e(a,i,n):t.push(i)}else t[s]=i}),t):Object.keys(r).reduce(function(i,s){var a=r[s];return Mr.call(i,s)?i[s]=e(i[s],a,n):i[s]=a,i},o)},Ju=function(t,r){return Object.keys(r).reduce(function(n,o){return n[o]=r[o],n},t)},Ku=function(e,t,r){var n=e.replace(/\+/g," ");if(r==="iso-8859-1")return n.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(n)}catch{return n}},Qu=function(t,r,n,o,i){if(t.length===0)return t;var s=t;if(typeof t=="symbol"?s=Symbol.prototype.toString.call(t):typeof t!="string"&&(s=String(t)),n==="iso-8859-1")return escape(s).replace(/%u[0-9a-f]{4}/gi,function(l){return"%26%23"+parseInt(l.slice(2),16)+"%3B"});for(var a="",c=0;c<s.length;++c){var u=s.charCodeAt(c);if(u===45||u===46||u===95||u===126||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===qu.RFC1738&&(u===40||u===41)){a+=s.charAt(c);continue}if(u<128){a=a+ce[u];continue}if(u<2048){a=a+(ce[192|u>>6]+ce[128|u&63]);continue}if(u<55296||u>=57344){a=a+(ce[224|u>>12]+ce[128|u>>6&63]+ce[128|u&63]);continue}c+=1,u=65536+((u&1023)<<10|s.charCodeAt(c)&1023),a+=ce[240|u>>18]+ce[128|u>>12&63]+ce[128|u>>6&63]+ce[128|u&63]}return a},Xu=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],o=0;o<r.length;++o)for(var i=r[o],s=i.obj[i.prop],a=Object.keys(s),c=0;c<a.length;++c){var u=a[c],l=s[u];typeof l=="object"&&l!==null&&n.indexOf(l)===-1&&(r.push({obj:s,prop:u}),n.push(l))}return zu(r),t},Zu=function(t){return Object.prototype.toString.call(t)==="[object RegExp]"},el=function(t){return!t||typeof t!="object"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},tl=function(t,r){return[].concat(t,r)},rl=function(t,r){if($e(t)){for(var n=[],o=0;o<t.length;o+=1)n.push(r(t[o]));return n}return r(t)},Co={arrayToObject:Oo,assign:Ju,combine:tl,compact:Xu,decode:Ku,encode:Qu,isBuffer:el,isRegExp:Zu,maybeMap:rl,merge:Gu},To=ju,Mt=Co,it=Nr,nl=Object.prototype.hasOwnProperty,Fo={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},de=Array.isArray,ol=Array.prototype.push,Ro=function(e,t){ol.apply(e,de(t)?t:[t])},il=Date.prototype.toISOString,$o=it.default,X={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:Mt.encode,encodeValuesOnly:!1,format:$o,formatter:it.formatters[$o],indices:!1,serializeDate:function(t){return il.call(t)},skipNulls:!1,strictNullHandling:!1},al=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},xr={},sl=function e(t,r,n,o,i,s,a,c,u,l,f,p,h,d,v,b){for(var g=t,A=b,w=0,E=!1;(A=A.get(xr))!==void 0&&!E;){var O=A.get(t);if(w+=1,typeof O!="undefined"){if(O===w)throw new RangeError("Cyclic object value");E=!0}typeof A.get(xr)=="undefined"&&(w=0)}if(typeof c=="function"?g=c(r,g):g instanceof Date?g=f(g):n==="comma"&&de(g)&&(g=Mt.maybeMap(g,function(S){return S instanceof Date?f(S):S})),g===null){if(i)return a&&!d?a(r,X.encoder,v,"key",p):r;g=""}if(al(g)||Mt.isBuffer(g)){if(a){var R=d?r:a(r,X.encoder,v,"key",p);return[h(R)+"="+h(a(g,X.encoder,v,"value",p))]}return[h(r)+"="+h(String(g))]}var F=[];if(typeof g=="undefined")return F;var D;if(n==="comma"&&de(g))d&&a&&(g=Mt.maybeMap(g,a)),D=[{value:g.length>0?g.join(",")||null:void 0}];else if(de(c))D=c;else{var j=Object.keys(g);D=u?j.sort(u):j}for(var _=o&&de(g)&&g.length===1?r+"[]":r,N=0;N<D.length;++N){var H=D[N],V=typeof H=="object"&&typeof H.value!="undefined"?H.value:g[H];if(!(s&&V===null)){var $=de(g)?typeof n=="function"?n(_,H):_:_+(l?"."+H:"["+H+"]");b.set(t,w);var T=To();T.set(xr,b),Ro(F,e(V,$,n,o,i,s,n==="comma"&&d&&de(g)?null:a,c,u,l,f,p,h,d,v,T))}}return F},ul=function(t){if(!t)return X;if(t.encoder!==null&&typeof t.encoder!="undefined"&&typeof t.encoder!="function")throw new TypeError("Encoder has to be a function.");var r=t.charset||X.charset;if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=it.default;if(typeof t.format!="undefined"){if(!nl.call(it.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var o=it.formatters[n],i=X.filter;return(typeof t.filter=="function"||de(t.filter))&&(i=t.filter),{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:X.addQueryPrefix,allowDots:typeof t.allowDots=="undefined"?X.allowDots:!!t.allowDots,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:X.charsetSentinel,delimiter:typeof t.delimiter=="undefined"?X.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:X.encode,encoder:typeof t.encoder=="function"?t.encoder:X.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:X.encodeValuesOnly,filter:i,format:n,formatter:o,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:X.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:X.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:X.strictNullHandling}},ll=function(e,t){var r=e,n=ul(t),o,i;typeof n.filter=="function"?(i=n.filter,r=i("",r)):de(n.filter)&&(i=n.filter,o=i);var s=[];if(typeof r!="object"||r===null)return"";var a;t&&t.arrayFormat in Fo?a=t.arrayFormat:t&&"indices"in t?a=t.indices?"indices":"repeat":a="indices";var c=Fo[a];if(t&&"commaRoundTrip"in t&&typeof t.commaRoundTrip!="boolean")throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=c==="comma"&&t&&t.commaRoundTrip;o||(o=Object.keys(r)),n.sort&&o.sort(n.sort);for(var l=To(),f=0;f<o.length;++f){var p=o[f];n.skipNulls&&r[p]===null||Ro(s,sl(r[p],p,c,u,n.strictNullHandling,n.skipNulls,n.encode?n.encoder:null,n.filter,n.sort,n.allowDots,n.serializeDate,n.format,n.formatter,n.encodeValuesOnly,n.charset,l))}var h=s.join(n.delimiter),d=n.addQueryPrefix===!0?"?":"";return n.charsetSentinel&&(n.charset==="iso-8859-1"?d+="utf8=%26%2310003%3B&":d+="utf8=%E2%9C%93&"),h.length>0?d+h:""},Ye=Co,Ir=Object.prototype.hasOwnProperty,cl=Array.isArray,J={allowDots:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:Ye.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},fl=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},Do=function(e,t){return e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1?e.split(","):e},pl="utf8=%26%2310003%3B",dl="utf8=%E2%9C%93",hl=function(t,r){var n={__proto__:null},o=r.ignoreQueryPrefix?t.replace(/^\?/,""):t,i=r.parameterLimit===1/0?void 0:r.parameterLimit,s=o.split(r.delimiter,i),a=-1,c,u=r.charset;if(r.charsetSentinel)for(c=0;c<s.length;++c)s[c].indexOf("utf8=")===0&&(s[c]===dl?u="utf-8":s[c]===pl&&(u="iso-8859-1"),a=c,c=s.length);for(c=0;c<s.length;++c)if(c!==a){var l=s[c],f=l.indexOf("]="),p=f===-1?l.indexOf("="):f+1,h,d;p===-1?(h=r.decoder(l,J.decoder,u,"key"),d=r.strictNullHandling?null:""):(h=r.decoder(l.slice(0,p),J.decoder,u,"key"),d=Ye.maybeMap(Do(l.slice(p+1),r),function(v){return r.decoder(v,J.decoder,u,"value")})),d&&r.interpretNumericEntities&&u==="iso-8859-1"&&(d=fl(d)),l.indexOf("[]=")>-1&&(d=cl(d)?[d]:d),Ir.call(n,h)?n[h]=Ye.combine(n[h],d):n[h]=d}return n},ml=function(e,t,r,n){for(var o=n?t:Do(t,r),i=e.length-1;i>=0;--i){var s,a=e[i];if(a==="[]"&&r.parseArrays)s=[].concat(o);else{s=r.plainObjects?Object.create(null):{};var c=a.charAt(0)==="["&&a.charAt(a.length-1)==="]"?a.slice(1,-1):a,u=parseInt(c,10);!r.parseArrays&&c===""?s={0:o}:!isNaN(u)&&a!==c&&String(u)===c&&u>=0&&r.parseArrays&&u<=r.arrayLimit?(s=[],s[u]=o):c!=="__proto__"&&(s[c]=o)}o=s}return o},yl=function(t,r,n,o){if(!!t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,s=/(\[[^[\]]*])/,a=/(\[[^[\]]*])/g,c=n.depth>0&&s.exec(i),u=c?i.slice(0,c.index):i,l=[];if(u){if(!n.plainObjects&&Ir.call(Object.prototype,u)&&!n.allowPrototypes)return;l.push(u)}for(var f=0;n.depth>0&&(c=a.exec(i))!==null&&f<n.depth;){if(f+=1,!n.plainObjects&&Ir.call(Object.prototype,c[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(c[1])}return c&&l.push("["+i.slice(c.index)+"]"),ml(l,r,n,o)}},gl=function(t){if(!t)return J;if(t.decoder!==null&&t.decoder!==void 0&&typeof t.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof t.charset!="undefined"&&t.charset!=="utf-8"&&t.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=typeof t.charset=="undefined"?J.charset:t.charset;return{allowDots:typeof t.allowDots=="undefined"?J.allowDots:!!t.allowDots,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:J.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:J.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:J.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:J.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:J.comma,decoder:typeof t.decoder=="function"?t.decoder:J.decoder,delimiter:typeof t.delimiter=="string"||Ye.isRegExp(t.delimiter)?t.delimiter:J.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:J.depth,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:J.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:J.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:J.plainObjects,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:J.strictNullHandling}},vl=function(e,t){var r=gl(t);if(e===""||e===null||typeof e=="undefined")return r.plainObjects?Object.create(null):{};for(var n=typeof e=="string"?hl(e,r):e,o=r.plainObjects?Object.create(null):{},i=Object.keys(n),s=0;s<i.length;++s){var a=i[s],c=yl(a,n[a],r,typeof e=="string");o=Ye.merge(o,c,r)}return r.allowSparse===!0?o:Ye.compact(o)},bl=ll,wl=vl,El=Nr,Sl={formats:El,parse:wl,stringify:bl};function Po(){const e=location.search,t=new Object;if(e.indexOf("?")!=-1){let n=e.substr(1).split("&");for(let o=0;o<n.length;o++)t[n[o].split("=")[0]]=unescape(n[o].split("=")[1])}return t}const _o="Content-Type";function Br(e){let t=(e==null?void 0:e[_o])||(e==null?void 0:e["content-type"])||"";const r=t.indexOf(";");return r!==-1&&(t=t.substring(0,r)),t}function No(e,t){e[_o]=t}const at={form:"application/x-www-form-urlencoded",multiForm:"multipart/form-data",body:"application/json",os:"application/octet-stream",json:"application/json"},Mo="v8-token",xo="lambo-token";function Io(){return window.location.pathname.includes("scyxweb")}function Al(e){_e(xo,e),Io||(Ge(Mo,e),xt.set("TOKEN_KEY",e,1),xt.set("lambo-sso-key",e,1))}function Lr(){let e=Se(xo);return Io||(e||(e=xt.get("lambo-sso-key")),e||(e=xt.get("TOKEN_KEY")),e||(e=Ae(Mo))),e||!1}const xt={set:function(e,t,r){if(e.indexOf("=")!==-1)throw new Error("Cookie\u4E0D\u652F\u6301key\u4E2D\u4F7F\u7528\u7B49\u53F7\u3010=\u3011, key:"+e);let n=new Date;n.setTime(n.getTime()+24*60*60*1e3*r),window.document.cookie=e+"="+t+";path=/;expires="+n.toGMTString()},get:function(e){if(document.cookie.length>0){var t=document.cookie.split("; ");for(let n=0;n<t.length;n++){let o=t[n].split("=");if(o[0]===e){var r=o[1];for(let i=2;i<o.length;i++)r+="="+o[i];return r}}}}};var Ur={title:"",icomId:"",showMenus:!1,routerBase:"ind",loginRouteName:"login",rootRouteName:"root",homeRouteName:"home",authServerContext:"/user-manage-server",ossServerContext:"/user-manage-server",ismAmServerContext:"/ind-ism-am-server",ismAcServerContext:"/ind-ism-ac-server",ismSqServerContext:"/ind-ism-sq-server",ilmServerContext:"/ind-ilm-server",imgServerContext:"/ind-img-server",imaServerContext:"/imarket-act-manage-server",ucExtServerContext:"/ind-uc-ext-server",dataManageServerContext:"/ddd-data-manage-server",kkfilepreviewContext:"/kkfilepreview",errorMessage:"\u7CFB\u7EDF\u5F00\u5C0F\u5DEE\u4E86\uFF0C\u8BF7\u7A0D\u540E\u5C1D\u8BD5",leftLockDays:7,labelStyle:{labelWidthButton:50,labelWidthSmall:100+40,labelWidthMiddle:120+40,labelWidthMiddleLarge:140+40,labelWidthLarge:160+40,labelWidthSuperLarge:180+40},linkColor:"#488AFF"};function Ol(){return{showMenus:!0}}function Cl(){return{showMenus:typeof window!="undefined"&&window.top===window.self}}m.config={};function Bo(e){return m.config=e?Object.assign({},Ur,Ol()):Object.assign({},Ur,Cl()),m.config}Bo();function Tl(e,t){Ur[e]=t,m.config[e]=t}const Fl=1,Rl=10106;let st=null;function $l(e){st&&clearTimeout(st);let t=!st;st=setTimeout(()=>{st=null},1e3*20),t&&e()}function Dl(e){let t=Lr();t&&(e.headers.token=t);const r=Po();(r.hasOwnProperty("sso_token")||sessionStorage.getItem("sso_token"))&&(e.params=Object.assign({sso_token:r.sso_token||sessionStorage.getItem("sso_token"),sso_id:r.sso_id},e.params));const n=Br(e.headers);return e.method==="post"&&n===at.form&&(e.data=Sl.stringify(e.data)),e}function Lo(e){var o;let t=e.data;if(Br(e.headers)!==at.json)return t;switch(typeof e.data=="string"&&(t=JSON.parse(e.data)),t.code){case Fl:return sessionStorage.getItem("isFromIM")=="1"&&((o=t==null?void 0:t.extInfo)==null?void 0:o.handleTask)&&typeof window.native!="undefined"&&window.native.goHome(),t;case Rl:{$l(function(){window.sessionNotValidHandler&&window.sessionNotValidHandler()});break}default:{let i=t.message||t.msg||m.config.errorMessage;window.apiErrorHandler&&window.apiErrorHandler(i)}}return Promise.reject(t)}function Uo(e){var t;return(e==null?void 0:e.code)==="ECONNABORTED"?window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u518D\u8BD5"):((t=e==null?void 0:e.response)==null?void 0:t.status)!==200&&(e==null?void 0:e.message)!=="canceled"&&window.apiErrorHandler&&window.apiErrorHandler("\u8BF7\u6C42\u51FA\u9519\u4E86"),Promise.reject(e)}const M=fr.create({timeout:5*60*1e3});M.interceptors.request.use(Dl,Uo),M.interceptors.response.use(Lo,Uo),M.formPost=function(e,t,r){const n=(r==null?void 0:r.headers)||{};return No(n,at.form),M.post(e,t,{...r,headers:n})};const It=(e,t=!1)=>{let r={};return async function(...o){let i=o[0];r[i]&&(console.log("currentController.abort trigger, now cancel before request"),r[i].abort(),r[i]=null);const s=new AbortController;r[i]=s;const a=[...o],c=a.length-1;try{if((t?c>1:c>0)&&typeof a[c]=="object"&&!Array.isArray(a[c])){const l=a[c];if(l.signal){const f=new AbortController,p=l.signal;p.addEventListener("abort",()=>{f.abort(p.reason)}),s.signal.addEventListener("abort",()=>{f.abort(s.signal.reason)}),a[c]={...l,signal:f.signal}}else a[c]={...l,signal:s.signal}}else t&&c===0?a.push(null,{signal:s.signal}):a.push({signal:s.signal});const u=await e(...a);return r[i]=null,u}catch(u){throw u.name==="AbortError"||fr.isCancel(u)?Object.assign(new Error("Request cancelled"),{name:"AbortError",cancelled:!0,originalError:u}):u}finally{r[i]===s&&(r[i]=null)}}};M.getSingleton=It(M.get),M.postSingleton=It(M.post,!0),M.formPostSingleton=It(M.formPost,!0);var ko={exports:{}},Ho={exports:{}};(function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t={rotl:function(r,n){return r<<n|r>>>32-n},rotr:function(r,n){return r<<32-n|r>>>n},endian:function(r){if(r.constructor==Number)return t.rotl(r,8)&16711935|t.rotl(r,24)&4278255360;for(var n=0;n<r.length;n++)r[n]=t.endian(r[n]);return r},randomBytes:function(r){for(var n=[];r>0;r--)n.push(Math.floor(Math.random()*256));return n},bytesToWords:function(r){for(var n=[],o=0,i=0;o<r.length;o++,i+=8)n[i>>>5]|=r[o]<<24-i%32;return n},wordsToBytes:function(r){for(var n=[],o=0;o<r.length*32;o+=8)n.push(r[o>>>5]>>>24-o%32&255);return n},bytesToHex:function(r){for(var n=[],o=0;o<r.length;o++)n.push((r[o]>>>4).toString(16)),n.push((r[o]&15).toString(16));return n.join("")},hexToBytes:function(r){for(var n=[],o=0;o<r.length;o+=2)n.push(parseInt(r.substr(o,2),16));return n},bytesToBase64:function(r){for(var n=[],o=0;o<r.length;o+=3)for(var i=r[o]<<16|r[o+1]<<8|r[o+2],s=0;s<4;s++)o*8+s*6<=r.length*8?n.push(e.charAt(i>>>6*(3-s)&63)):n.push("=");return n.join("")},base64ToBytes:function(r){r=r.replace(/[^A-Z0-9+\/]/ig,"");for(var n=[],o=0,i=0;o<r.length;i=++o%4)i!=0&&n.push((e.indexOf(r.charAt(o-1))&Math.pow(2,-2*i+8)-1)<<i*2|e.indexOf(r.charAt(o))>>>6-i*2);return n}};Ho.exports=t})();var kr={utf8:{stringToBytes:function(e){return kr.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(kr.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(e.charCodeAt(r)&255);return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}},Yo=kr;/*!
|
|
10
10
|
* Determine if an object is a Buffer
|
|
11
11
|
*
|
|
12
12
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
13
13
|
* @license MIT
|
|
14
|
-
*/var Pl=function(e){return e!=null&&(jo(e)||_l(e)||!!e._isBuffer)};function jo(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function _l(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&jo(e.slice(0,0))}(function(){var e=Ho.exports,t=Yo.utf8,r=Pl,n=Yo.bin,o=function(i,s){i.constructor==String?s&&s.encoding==="binary"?i=n.stringToBytes(i):i=t.stringToBytes(i):r(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var a=e.bytesToWords(i),c=i.length*8,u=1732584193,l=-271733879,f=-1732584194,p=271733878,h=0;h<a.length;h++)a[h]=(a[h]<<8|a[h]>>>24)&16711935|(a[h]<<24|a[h]>>>8)&4278255360;a[c>>>5]|=128<<c%32,a[(c+64>>>9<<4)+14]=c;for(var d=o._ff,v=o._gg,b=o._hh,g=o._ii,h=0;h<a.length;h+=16){var A=u,w=l,E=f,O=p;u=d(u,l,f,p,a[h+0],7,-680876936),p=d(p,u,l,f,a[h+1],12,-389564586),f=d(f,p,u,l,a[h+2],17,606105819),l=d(l,f,p,u,a[h+3],22,-1044525330),u=d(u,l,f,p,a[h+4],7,-176418897),p=d(p,u,l,f,a[h+5],12,1200080426),f=d(f,p,u,l,a[h+6],17,-1473231341),l=d(l,f,p,u,a[h+7],22,-45705983),u=d(u,l,f,p,a[h+8],7,1770035416),p=d(p,u,l,f,a[h+9],12,-1958414417),f=d(f,p,u,l,a[h+10],17,-42063),l=d(l,f,p,u,a[h+11],22,-1990404162),u=d(u,l,f,p,a[h+12],7,1804603682),p=d(p,u,l,f,a[h+13],12,-40341101),f=d(f,p,u,l,a[h+14],17,-1502002290),l=d(l,f,p,u,a[h+15],22,1236535329),u=v(u,l,f,p,a[h+1],5,-165796510),p=v(p,u,l,f,a[h+6],9,-1069501632),f=v(f,p,u,l,a[h+11],14,643717713),l=v(l,f,p,u,a[h+0],20,-373897302),u=v(u,l,f,p,a[h+5],5,-701558691),p=v(p,u,l,f,a[h+10],9,38016083),f=v(f,p,u,l,a[h+15],14,-660478335),l=v(l,f,p,u,a[h+4],20,-405537848),u=v(u,l,f,p,a[h+9],5,568446438),p=v(p,u,l,f,a[h+14],9,-1019803690),f=v(f,p,u,l,a[h+3],14,-187363961),l=v(l,f,p,u,a[h+8],20,1163531501),u=v(u,l,f,p,a[h+13],5,-1444681467),p=v(p,u,l,f,a[h+2],9,-51403784),f=v(f,p,u,l,a[h+7],14,1735328473),l=v(l,f,p,u,a[h+12],20,-1926607734),u=b(u,l,f,p,a[h+5],4,-378558),p=b(p,u,l,f,a[h+8],11,-2022574463),f=b(f,p,u,l,a[h+11],16,1839030562),l=b(l,f,p,u,a[h+14],23,-35309556),u=b(u,l,f,p,a[h+1],4,-1530992060),p=b(p,u,l,f,a[h+4],11,1272893353),f=b(f,p,u,l,a[h+7],16,-155497632),l=b(l,f,p,u,a[h+10],23,-1094730640),u=b(u,l,f,p,a[h+13],4,681279174),p=b(p,u,l,f,a[h+0],11,-358537222),f=b(f,p,u,l,a[h+3],16,-722521979),l=b(l,f,p,u,a[h+6],23,76029189),u=b(u,l,f,p,a[h+9],4,-640364487),p=b(p,u,l,f,a[h+12],11,-421815835),f=b(f,p,u,l,a[h+15],16,530742520),l=b(l,f,p,u,a[h+2],23,-995338651),u=g(u,l,f,p,a[h+0],6,-198630844),p=g(p,u,l,f,a[h+7],10,1126891415),f=g(f,p,u,l,a[h+14],15,-1416354905),l=g(l,f,p,u,a[h+5],21,-57434055),u=g(u,l,f,p,a[h+12],6,1700485571),p=g(p,u,l,f,a[h+3],10,-1894986606),f=g(f,p,u,l,a[h+10],15,-1051523),l=g(l,f,p,u,a[h+1],21,-2054922799),u=g(u,l,f,p,a[h+8],6,1873313359),p=g(p,u,l,f,a[h+15],10,-30611744),f=g(f,p,u,l,a[h+6],15,-1560198380),l=g(l,f,p,u,a[h+13],21,1309151649),u=g(u,l,f,p,a[h+4],6,-145523070),p=g(p,u,l,f,a[h+11],10,-1120210379),f=g(f,p,u,l,a[h+2],15,718787259),l=g(l,f,p,u,a[h+9],21,-343485551),u=u+A>>>0,l=l+w>>>0,f=f+E>>>0,p=p+O>>>0}return e.endian([u,l,f,p])};o._ff=function(i,s,a,c,u,l,f){var p=i+(s&a|~s&c)+(u>>>0)+f;return(p<<l|p>>>32-l)+s},o._gg=function(i,s,a,c,u,l,f){var p=i+(s&c|a&~c)+(u>>>0)+f;return(p<<l|p>>>32-l)+s},o._hh=function(i,s,a,c,u,l,f){var p=i+(s^a^c)+(u>>>0)+f;return(p<<l|p>>>32-l)+s},o._ii=function(i,s,a,c,u,l,f){var p=i+(a^(s|~c))+(u>>>0)+f;return(p<<l|p>>>32-l)+s},o._blocksize=16,o._digestsize=16,ko.exports=function(i,s){if(i==null)throw new Error("Illegal argument "+i);var a=e.wordsToBytes(o(i,s));return s&&s.asBytes?a:s&&s.asString?n.bytesToString(a):e.bytesToHex(a)}})();var Vo=ko.exports;function ut(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e}function Nl(e){let r="";for(let n=0;n<e.length/8;n++)r+=ut(parseInt(e.substr(n*8,8),2).toString(16),2);return r}function Hr(e){let r="";for(let n=0;n<e.length/2;n++)r+=ut(parseInt(e.substr(n*2,2),16).toString(2),8);return r}function Ml(e){let t="";for(const r of e)t+=ut(r.codePointAt(0).toString(2),8);return t}function oe(e,t){return e.substring(t%e.length)+e.substr(0,t%e.length)}function lt(e,t,r){const n=e||"",o=t||"",i=[];let s;for(let a=n.length-1;a>=0;a--)s=r(n[a],o[a],s),i[a]=s[0];return i.join("")}function he(e,t){return lt(e,t,(r,n)=>[r===n?"0":"1"])}function ct(e,t){return lt(e,t,(r,n)=>[r==="1"&&n==="1"?"1":"0"])}function Wo(e,t){return lt(e,t,(r,n)=>[r==="1"||n==="1"?"1":"0"])}function Yr(e,t){return lt(e,t,(n,o,i)=>{const s=i?i[1]:"0";return n!==o?[s==="0"?"1":"0",s]:[s,n]})}function Il(e){return lt(e,void 0,t=>[t==="1"?"0":"1"])}function fe(e){return(...t)=>t.reduce((r,n)=>e(r,n))}function xl(e){return fe(he)(e,oe(e,9),oe(e,17))}function Bl(e){return fe(he)(e,oe(e,15),oe(e,23))}function Ll(e,t,r,n){return n>=0&&n<=15?fe(he)(e,t,r):fe(Wo)(ct(e,t),ct(e,r),ct(t,r))}function Ul(e,t,r,n){return n>=0&&n<=15?fe(he)(e,t,r):Wo(ct(e,t),ct(Il(e),r))}function kl(e){return e>=0&&e<=15?Hr("79cc4519"):Hr("7a879d8a")}function Hl(e,t){const n=[],o=[];for(let A=0;A<16;A++)n.push(t.substr(A*32,32));for(let A=16;A<68;A++)n.push(fe(he)(Bl(fe(he)(n[A-16],n[A-9],oe(n[A-3],15))),oe(n[A-13],7),n[A-6]));for(let A=0;A<64;A++)o.push(he(n[A],n[A+4]));const i=[];for(let A=0;A<8;A++)i.push(e.substr(A*32,32));let s=i[0],a=i[1],c=i[2],u=i[3],l=i[4],f=i[5],p=i[6],h=i[7],d,v,b,g;for(let A=0;A<64;A++)d=oe(fe(Yr)(oe(s,12),l,oe(kl(A),A)),7),v=he(d,oe(s,12)),b=fe(Yr)(Ll(s,a,c,A),u,v,o[A]),g=fe(Yr)(Ul(l,f,p,A),h,d,n[A]),u=c,c=oe(a,9),a=s,s=b,h=p,p=oe(f,19),f=l,l=xl(g);return he([s,a,c,u,l,f,p,h].join(""),e)}function jr(e){const t=Ml(e),r=t.length;let n=r%512;n=n>=448?512-n%448-1:448-n-1;const o=`${t}1${ut("",n)}${ut(r.toString(2),64)}`.toString(),i=(r+n+65)/512;let s=Hr("7380166f4914b2b9172442d7da8a0600a96f30bc163138aae38dee4db0fb0e4e");for(let a=0;a<=i-1;a++){const c=o.substr(512*a,512);s=Hl(s,c)}return Nl(s)}const Yl={encrypt:jr,encryptForLogin(e,t,r){let n="";return t||(t="md5"),t=="md5"?r?n=Vo(this.genSalt(e)):n=Vo(e):r?n=jr(this.genSalt(e)):n=jr(e),n},genSalt(e){return e+"{1#2$3%4(5)6@7!poeeww$3%4(5)djjkkldss}"}};let jl={Base64Chars:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@*-",encode:function(e){if(!e||e.length==0)return e;for(var t="",r=this.ucs2_utf8(e),n,o,i,s,a=r.length,c=0;c<a;){var u=r[c++];n=(u&252)>>2,o=(u&3)<<4,c<a?(u=r[c++],o|=(u&240)>>4,i=(u&15)<<2,c<a?(u=r[c++],i|=(u&192)>>6,s=u&63):s=64):i=s=64,t+=this.Base64Chars.charAt(n),t+=this.Base64Chars.charAt(o),t+=this.Base64Chars.charAt(i),t+=this.Base64Chars.charAt(s)}return t},ucs2_utf8:function(e){if(!e)return null;var t=new Array;if(e=="")return t;for(var r=0,n=0,o=0,i=e.length;n<i;)r=e.charCodeAt(n++),r<=127?t[o++]=r:r>=128&&r<=2047?(t[o++]=r>>6&31|192,t[o++]=r&63|128):(t[o++]=r>>12|224,t[o++]=r>>6&63|128,t[o++]=r&63|128);return t},utf8_ucs2:function(e){if(!e)return null;var t=e.length;if(t==0)return"";for(var r="",n=0,o=0,i=0;o<t;)n=e[o++],(n&224)==224?(i=(n&15)<<12,n=e[o++],i|=(n&63)<<6,n=e[o++],i|=n&63):(n&192)==192?(i=(n&31)<<6,n=e[o++],i|=n&63):i=n,r+=String.fromCharCode(i);return r}};function Vl(e,t){t=t||"";const r=1024,n=atob(e),o=n.length,i=Math.ceil(o/r),s=new Array(i);for(let a=0;a<i;++a){const c=a*r,u=Math.min(c+r,o),l=new Array(u-c);for(let f=c,p=0;f<u;++p,++f)l[p]=n[f].charCodeAt(0);s[a]=new Uint8Array(l)}return new Blob(s,{type:t})}function Wl(e,t=!0){return new Promise(r=>{const n=new FileReader;n.onload=function(){const o=(n==null?void 0:n.result)||"";if(t){r(o);return}const i=o.split(",")[1];r(i)},n.readAsDataURL(e)})}var qo={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Yn,function(){var r=1e3,n=6e4,o=36e5,i="millisecond",s="second",a="minute",c="hour",u="day",l="week",f="month",p="quarter",h="year",d="date",v="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function($){var T=["th","st","nd","rd"],S=$%100;return"["+$+(T[(S-20)%10]||T[S]||T[0])+"]"}},w=function($,T,S){var P=String($);return!P||P.length>=T?$:""+Array(T+1-P.length).join(S)+$},E={s:w,z:function($){var T=-$.utcOffset(),S=Math.abs(T),P=Math.floor(S/60),C=S%60;return(T<=0?"+":"-")+w(P,2,"0")+":"+w(C,2,"0")},m:function $(T,S){if(T.date()<S.date())return-$(S,T);var P=12*(S.year()-T.year())+(S.month()-T.month()),C=T.clone().add(P,f),I=S-C<0,x=T.clone().add(P+(I?-1:1),f);return+(-(P+(S-C)/(I?C-x:x-C))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:f,y:h,w:l,d:u,D:d,h:c,m:a,s,ms:i,Q:p}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},O="en",R={};R[O]=A;var F="$isDayjsObject",D=function($){return $ instanceof H||!(!$||!$[F])},j=function $(T,S,P){var C;if(!T)return O;if(typeof T=="string"){var I=T.toLowerCase();R[I]&&(C=I),S&&(R[I]=S,C=I);var x=T.split("-");if(!C&&x.length>1)return $(x[0])}else{var U=T.name;R[U]=T,C=U}return!P&&C&&(O=C),C||!P&&O},_=function($,T){if(D($))return $.clone();var S=typeof T=="object"?T:{};return S.date=$,S.args=arguments,new H(S)},N=E;N.l=j,N.i=D,N.w=function($,T){return _($,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var H=function(){function $(S){this.$L=j(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[F]=!0}var T=$.prototype;return T.parse=function(S){this.$d=function(P){var C=P.date,I=P.utc;if(C===null)return new Date(NaN);if(N.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var x=C.match(b);if(x){var U=x[2]-1||0,Y=(x[7]||"0").substring(0,3);return I?new Date(Date.UTC(x[1],U,x[3]||1,x[4]||0,x[5]||0,x[6]||0,Y)):new Date(x[1],U,x[3]||1,x[4]||0,x[5]||0,x[6]||0,Y)}}return new Date(C)}(S),this.init()},T.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},T.$utils=function(){return N},T.isValid=function(){return this.$d.toString()!==v},T.isSame=function(S,P){var C=_(S);return this.startOf(P)<=C&&C<=this.endOf(P)},T.isAfter=function(S,P){return _(S)<this.startOf(P)},T.isBefore=function(S,P){return this.endOf(P)<_(S)},T.$g=function(S,P,C){return N.u(S)?this[P]:this.set(C,S)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(S,P){var C=this,I=!!N.u(P)||P,x=N.p(S),U=function(Pe,re){var Ee=N.w(C.$u?Date.UTC(C.$y,re,Pe):new Date(C.$y,re,Pe),C);return I?Ee:Ee.endOf(u)},Y=function(Pe,re){return N.w(C.toDate()[Pe].apply(C.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(re)),C)},W=this.$W,q=this.$M,ee=this.$D,qe="set"+(this.$u?"UTC":"");switch(x){case h:return I?U(1,0):U(31,11);case f:return I?U(1,q):U(0,q+1);case l:var De=this.$locale().weekStart||0,ft=(W<De?W+7:W)-De;return U(I?ee-ft:ee+(6-ft),q);case u:case d:return Y(qe+"Hours",0);case c:return Y(qe+"Minutes",1);case a:return Y(qe+"Seconds",2);case s:return Y(qe+"Milliseconds",3);default:return this.clone()}},T.endOf=function(S){return this.startOf(S,!1)},T.$set=function(S,P){var C,I=N.p(S),x="set"+(this.$u?"UTC":""),U=(C={},C[u]=x+"Date",C[d]=x+"Date",C[f]=x+"Month",C[h]=x+"FullYear",C[c]=x+"Hours",C[a]=x+"Minutes",C[s]=x+"Seconds",C[i]=x+"Milliseconds",C)[I],Y=I===u?this.$D+(P-this.$W):P;if(I===f||I===h){var W=this.clone().set(d,1);W.$d[U](Y),W.init(),this.$d=W.set(d,Math.min(this.$D,W.daysInMonth())).$d}else U&&this.$d[U](Y);return this.init(),this},T.set=function(S,P){return this.clone().$set(S,P)},T.get=function(S){return this[N.p(S)]()},T.add=function(S,P){var C,I=this;S=Number(S);var x=N.p(P),U=function(q){var ee=_(I);return N.w(ee.date(ee.date()+Math.round(q*S)),I)};if(x===f)return this.set(f,this.$M+S);if(x===h)return this.set(h,this.$y+S);if(x===u)return U(1);if(x===l)return U(7);var Y=(C={},C[a]=n,C[c]=o,C[s]=r,C)[x]||1,W=this.$d.getTime()+S*Y;return N.w(W,this)},T.subtract=function(S,P){return this.add(-1*S,P)},T.format=function(S){var P=this,C=this.$locale();if(!this.isValid())return C.invalidDate||v;var I=S||"YYYY-MM-DDTHH:mm:ssZ",x=N.z(this),U=this.$H,Y=this.$m,W=this.$M,q=C.weekdays,ee=C.months,qe=C.meridiem,De=function(re,Ee,pt,jt){return re&&(re[Ee]||re(P,I))||pt[Ee].slice(0,jt)},ft=function(re){return N.s(U%12||12,re,"0")},Pe=qe||function(re,Ee,pt){var jt=re<12?"AM":"PM";return pt?jt.toLowerCase():jt};return I.replace(g,function(re,Ee){return Ee||function(pt){switch(pt){case"YY":return String(P.$y).slice(-2);case"YYYY":return N.s(P.$y,4,"0");case"M":return W+1;case"MM":return N.s(W+1,2,"0");case"MMM":return De(C.monthsShort,W,ee,3);case"MMMM":return De(ee,W);case"D":return P.$D;case"DD":return N.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return De(C.weekdaysMin,P.$W,q,2);case"ddd":return De(C.weekdaysShort,P.$W,q,3);case"dddd":return q[P.$W];case"H":return String(U);case"HH":return N.s(U,2,"0");case"h":return ft(1);case"hh":return ft(2);case"a":return Pe(U,Y,!0);case"A":return Pe(U,Y,!1);case"m":return String(Y);case"mm":return N.s(Y,2,"0");case"s":return String(P.$s);case"ss":return N.s(P.$s,2,"0");case"SSS":return N.s(P.$ms,3,"0");case"Z":return x}return null}(re)||x.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(S,P,C){var I,x=this,U=N.p(P),Y=_(S),W=(Y.utcOffset()-this.utcOffset())*n,q=this-Y,ee=function(){return N.m(x,Y)};switch(U){case h:I=ee()/12;break;case f:I=ee();break;case p:I=ee()/3;break;case l:I=(q-W)/6048e5;break;case u:I=(q-W)/864e5;break;case c:I=q/o;break;case a:I=q/n;break;case s:I=q/r;break;default:I=q}return C?I:N.a(I)},T.daysInMonth=function(){return this.endOf(f).$D},T.$locale=function(){return R[this.$L]},T.locale=function(S,P){if(!S)return this.$L;var C=this.clone(),I=j(S,P,!0);return I&&(C.$L=I),C},T.clone=function(){return N.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},$}(),V=H.prototype;return _.prototype=V,[["$ms",i],["$s",s],["$m",a],["$H",c],["$W",u],["$M",f],["$y",h],["$D",d]].forEach(function($){V[$[1]]=function(T){return this.$g(T,$[0],$[1])}}),_.extend=function($,T){return $.$i||($(T,H,_),$.$i=!0),_},_.locale=j,_.isDayjs=D,_.unix=function($){return _(1e3*$)},_.en=R[O],_.Ls=R,_.p={},_})})(qo);var me=qo.exports;function ql(e){return e?me(e,["YYYYMMDDHHmmss","YYYYMMDDHHmm","YYYYMMDD","YYYYMM","YYYY"]).toDate():null}function zl(e){if(e&&/^[0-9]+$/.test(e))switch(e.length){case 14:return me(e,["YYYYMMDDHHmmss"]).format("YYYY-MM-DD HH:mm:ss");case 12:return me(e,["YYYYMMDDHHmmss"]).format("YYYY-MM-DD HH:mm");case 8:return me(e,["YYYYMMDD"]).format("YYYY-MM-DD");case 6:return me(e,["YYYYMM"]).format("YYYY-MM");case 4:return e.substring(0,2)+"-"+e.substring(2,2)}else return e||"-"}function Gl(e){if(e&&/^[0-9]+$/.test(e))switch(e.length){case 14:return me(e,["YYYYMMDDHHmmss"]).format("YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss");case 12:return me(e,["YYYYMMDDHHmmss"]).format("YYYY\u5E74MM\u6708DD\u65E5 HH:mm");case 8:return me(e,["YYYYMMDD"]).format("YYYY\u5E74MM\u6708DD\u65E5");case 6:return me(e,["YYYYMM"]).format("YYYY\u5E74MM\u6708");case 4:return e.substring(0,2)+"\u5E74"+e.substring(2,2)+"\u6708"}else return e||"-"}const zo={}.toString,Jl=Object.prototype.hasOwnProperty,Kl=1e-5,Ql=Object.prototype,Go=e=>e===null,Jo=e=>e===void 0,je=e=>Go(e)||Jo(e),Ko=e=>zo.call(e).replace(/^\[object /,"").replace(/]$/,""),ue=(e,t)=>zo.call(e)===`[object ${t}]`,Qo=e=>{const t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Ql;return e===r},Xl=e=>ue(e,"Boolean"),we=e=>ue(e,"Number"),Bt=e=>ue(e,"String"),Vr=e=>Array.isArray?Array.isArray(e):ue(e,"Array"),Lt=e=>e!==null&&typeof e!="function"&&Number.isFinite(e.length),Zl=e=>{const t=typeof e;return e!==null&&t==="object"||t==="function"},Ut=e=>typeof e=="object"&&e!==null,ec=e=>{if(!Ut(e)||!ue(e,"Object"))return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},Wr=e=>ue(e,"Function"),tc=e=>e&&typeof e.then=="function",rc=e=>ue(e,"Date"),nc=e=>ue(e,"Arguments"),oc=e=>ue(e,"RegExp"),ic=e=>ue(e,"Error"),ac=e=>e instanceof Element||e instanceof HTMLDocument,sc=e=>{if(je(e))return!0;if(Lt(e))return!e.length;const t=Ko(e);if(["Map","Set"].includes(t))return!e.size;if(Qo(e))return!Object.keys(e).length;for(const r in e)if(Jl.call(e,r))return!1;return!0},kt=(e,t)=>{if(e===t)return!0;if(!e||!t||Bt(e)||Bt(t))return!1;if(Lt(e)||Lt(t)){if(e.length!==t.length)return!1;let r=!0;for(let n=0;n<e.length&&(r=kt(e[n],t[n]),!!r);n++);return r}if(Ut(e)||Ut(t)){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;let o=!0;for(let i=0;i<r.length&&(o=kt(e[r[i]],t[r[i]]),!!o);i++);return o}return!1},uc=e=>we(e)&&e%2===0,lc=e=>we(e)&&e%2!==0,cc=e=>we(e)&&Number.isFinite(e),fc=Number.isInteger?Number.isInteger:e=>we(e)&&e%1===0,pc=e=>we(e)&&e%1!==0,dc=e=>we(e)&&e<0,hc=e=>we(e)&&e>0,mc=(e,t,r=Kl)=>Math.abs(e-t)<r,yc=(e,t,r)=>Wr(r)?!!r(e,t):kt(e,t),Xo="IS_ENUM",gc={1:"\u662F",0:"\u5426"},Zo=[{K:"1",V:"\u662F"},{K:"0",V:"\u5426"}],vc={MANAGE_UNIT_ID:"00000000000000000000000020370001",ORG_CODE_ADMIN:"default",ORG_CODE_MKT:"08",ORG_CODE_LOG:"08",ORG_CODE_ACTIVITY:"08",ADMIN_LEVEL_IND:"01",ADMIN_LEVEL_CENTER:"02",ADMIN_LEVEL_FAC:"03",ADMIN_LEVEL_DIST:"04",ADMIN_LEVEL_COMMON_DEPT:"08",ADMIN_LEVEL_COMMON_POST:"80",LEVEL_IND:"01",LEVEL_CENTER:"02",LEVEL_FAC:"02",LEVEL_DIST:"04",LEVEL_CIGAR_DIST:"05",LEVEL_COMMON_DEPT:"03",LEVEL_COMMON_POST:"80",LEVEL_DIST_MANAGE_POST:"81",LEVEL_CUST_MANAGE_POST:"82",LEVEL_CIGAR_DIST_MANAGE_POST:"83",LEVEL_CIGAR_CUST_MANAGE_POST:"84",LEVEL_INTERNAL_POST:"85"};function bc(e=[],t="K",r="V"){return e.map(n=>({K:n[t],V:n[r]}))}function wc(e=[],t="K",r="V"){return e.reduce(n=>({...n,[n[t]]:n[r]}),{})}function ei(e=[],t={}){const r=k.default.cloneDeep(e),n=Object.keys(t);return r.forEach(o=>{const i=o.field||o.key,s=["enum","select"].includes(o.type);if(n.includes(i)&&s){o.cellRendererParams||(o.cellRendererParams={});const a=t[i];o.type==="enum"?Vr(a)?o.cellRendererParams.enumList=a:o.cellRendererParams.enumData=a:o.type==="select"&&(o.cellRendererParams.datas=a)}o.children&&o.children.length&&(o.children=ei(o.children,t))}),r}function Ec(e=[],t={}){const r=k.default.cloneDeep(e),n=Object.keys(t);return r.forEach(o=>{const i=o.formKey;if(n.includes(i)){const s=t[i];Vr(s)?o.enumList=s:o.enumData=s}}),r}function qr(){return window.location.pathname.includes("scyxweb")}const ti=m.config.ossServerContext;function ri(e=""){return`${qr()?"/scyxgateway/ind-uc-ext-server":ti}/oss/file/get/${e}`}function ni(){return`${qr()?"/scyxgateway/ind-uc-ext-server":ti}/oss/file/put`}function Sc(e,t){const r={};return t&&(r.responseType=t),M.get(ri(e),r)}function oi(e,t){let r=new FormData;return r.append("file",t,e),M({method:"post",url:ni(),headers:{"Content-Type":at.multiForm},data:r})}function Ac(e){const t=location.protocol==="https:"?"1":"",r={};return M.get(`${m.config.ucExtServerContext}/api/wps/getPreviewUrl/${e}?isWeb=${t}&previewMode=high_definition`,r)}async function Oc(e,t){const r=navigator.userAgent;if(/miniProgram/i.test(r))window.wx.miniProgram.navigateTo({url:`/pages/download/index?downloadFileId=${e}`});else{const n=`${(qr()?"/scyxgateway":"")+"/ind-uc-ext-server"}/oss/file/get/${e}`,o=Lr(),i=await fetch(n,{headers:{token:o+""}});if(!i.ok)throw new Error(`\u4E0B\u8F7D\u5931\u8D25: ${i.status}`);const s=await i.blob();t||(t=Tc(i));let a="application/octet-stream";const u=(t==null?void 0:t.toLowerCase()).match(/\.([a-z0-9]+)$/),l=u==null?void 0:u[1];Gr[l]&&(a=Gr[l]);const f=new Blob([s],{type:a}),p=window.URL.createObjectURL(f),h=document.createElement("a");h.href=p,h.download=t,h.style.display="none",h.target="_blank",document.body.appendChild(h),h.click(),document.body.removeChild(h)}}function Cc(e){if(!e)return null;console.log("\u539F\u59CB Content-Disposition:",e);const t=e.match(/filename\*=(?:UTF-8''|UTF-8\s*'')([^;]+)/i);if(t&&t[1])try{const i=decodeURIComponent(t[1].trim());return console.log("\u89E3\u6790 RFC 5987 \u6587\u4EF6\u540D:",i),i}catch(i){console.warn("RFC 5987 \u89E3\u7801\u5931\u8D25:",i)}const r=e.match(/filename\*=([^;]+)/i);if(r&&r[1]){const i=r[1].trim();if(i.includes("''")){const s=i.split("''");if(s.length===2)try{const a=decodeURIComponent(s[1]);return console.log("\u89E3\u6790 filename* \u6587\u4EF6\u540D:",a),a}catch(a){console.warn("filename* \u89E3\u7801\u5931\u8D25:",a)}}}const n=e.match(/filename="([^"]+)"/i);if(n&&n[1])return console.log("\u89E3\u6790\u5F15\u53F7\u5185\u6587\u4EF6\u540D:",n[1]),n[1];const o=e.match(/filename=([^;]+)/i);if(o&&o[1]){const i=o[1].trim();return console.log("\u89E3\u6790\u65E0\u5F15\u53F7\u6587\u4EF6\u540D:",i),i}return console.log("\u672A\u627E\u5230\u6709\u6548\u7684\u6587\u4EF6\u540D"),null}function Tc(e){const t=e.headers.get("Content-Disposition");console.log("Content-Disposition \u5934:",t);let r=null;return t&&(r=Cc(t),console.log("\u89E3\u6790\u5230\u7684\u6587\u4EF6\u540D:",r)),!r&&e.url&&(r=$c(e.url),console.log("\u4ECE URL \u63D0\u53D6\u7684\u6587\u4EF6\u540D:",r)),r||(r="download",console.log("\u4F7F\u7528\u9ED8\u8BA4\u6587\u4EF6\u540D:",r)),r=Rc(r,e.headers.get("Content-Type")),r}function Fc(e){if(!e)return"";const t={"image/jpeg":".jpg","image/jpg":".jpg","image/png":".png","image/gif":".gif","image/webp":".webp","image/svg+xml":".svg","image/bmp":".bmp","application/pdf":".pdf","application/msword":".doc","application/vnd.openxmlformats-officedocument.wordprocessingml.document":".docx","application/vnd.ms-excel":".xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":".xlsx","application/vnd.ms-powerpoint":".ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":".pptx","text/plain":".txt","text/html":".html","text/css":".css","text/javascript":".js","application/json":".json","text/csv":".csv","text/xml":".xml","application/zip":".zip","application/x-rar-compressed":".rar","application/x-7z-compressed":".7z","application/gzip":".gz","application/octet-stream":".bin"},r=e.split(";")[0].trim();return t[r]||""}function Rc(e,t){if(e.includes("."))return e;const r=Fc(t);return r?e+r:e}function $c(e){try{return new URL(e).pathname.split("/").pop().split("?")[0].split("#")[0]||null}catch(t){return console.warn("\u4ECE URL \u63D0\u53D6\u6587\u4EF6\u540D\u5931\u8D25:",t),null}}const ii={bold:!0,fontSize:"14",horizontalAlignment:"center",verticalAlignment:"center"},ai={fontSize:"10",horizontalAlignment:"left",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},si={fontSize:"10",horizontalAlignment:"right",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},ui={bold:!0,fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",fill:"bdc3c7",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},ie={fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},li=27,ci=18,fi=18,pi=18;function zr({columns:e,datas:t}){var r=k.default.cloneDeep(e),n=k.default.cloneDeep(t);k.default.remove(r,w=>{var E;return w.cellClass&&((E=w==null?void 0:w.cellClass)==null?void 0:E.indexOf("button"))!=-1}),n.forEach((w,E)=>{w.__seq=E+1}),k.default.forEach(r,w=>{var E;w.cellClass&&((E=w==null?void 0:w.cellClass)==null?void 0:E.indexOf("enum"))!=-1&&n.forEach(O=>{O[w.field]=w.cellRendererParams.datas[O[w.field]]})});const o=w=>{if(w.children){var E=1+Math.max(...w.children.map(O=>o(O)));return w.deepth=E,E}else return 1};var i=Math.max(...r.map(w=>{var E=o(w);return w.deepth=E,E}));console.log("calc deepth = ",i);const s=w=>{if(w.children){var E=k.default.sum(w.children.map(O=>s(O)));return w.width=E,E}else return 1};var a=k.default.sum(r.map(w=>{var E=s(w);return w.width=E,E}));console.log("calc width = ",a),console.log("now columnsClo is ",r);var c=[],u=1,l=0;function f(w,E){l+=1,w.reduce((O,R,F)=>(R.children?(O.push({text:R.excelName||R.headerName||R.title,srow:l,scol:u,erow:l,ecol:u+R.width-1}),f(R.children,O)):(O.push({text:R.excelName||R.headerName||R.title,srow:l,scol:u,erow:i,ecol:u}),u+=1),O),E),l-=1}f(r,c);var p=[];function h(w,E){w.reduce((O,R)=>(R.children?h(R.children,O):O.push(R),O),E)}h(r,p);var d=p.map(w=>w.align||"left"),v=p.map(w=>w.align=="right"||w.align=="rightNum"?"n":"s"),b=p.map(w=>w.excelWidth?w.excelWidth:w.width?Math.floor(w.width/10):10),g=p.map(w=>w.numberFormat===void 0?w.align=="rightNum"?"#,##0.0000":w.align=="right"?"#,##0.00":"":w.numberFormat);p.map((w,E)=>{w.field=w.field?w.field:w.key;var O=w.excelName||w.headerName||w.title;O=O.replace(/<br\/>/g,""),w.columnWidth!==void 0?b[E]=w.columnWidth:O&&b[E]<O.length*2&&(b[E]=O.length*2)});var A=n.map(w=>p.map((E,O)=>{E.columnWidth!==void 0?b[O]=E.columnWidth:w[E.field]&&b[O]<(""+w[E.field]).length*2&&(b[O]=(""+w[E.field]).length*2);let R=null;E.cellStyle&&(E.cellStyle instanceof Function?R=E.cellStyle(w[E.field],w,n):R=E.cellStyle);let F=null;return E.formula&&(E.formula instanceof Function?F=E.formula(w[E.field],w,n):F=E.formula),{cellStyle:R,formula:F,value:w[E.field]}}));return{deepth:i,columnAlign:d,columnType:v,columnWidth:b,exportData:A,numberFormat:g,columnTitle:c,columnsCalc:p}}var Ht=[];function di(e){if(e.rowSpanColumns){let n=function(o,i){var s=k.default.findIndex(e.columns,{field:o});if(!t[o]){var a=[],c="CUR_VAL",u={};k.default.forEach(e.datas,function(l,f){var p=i?l[o]!=c||f==(r[""+f]||{}).first:l[o]!=c;if(p){if(!i&&u.first!==void 0)for(var h=u.first;h<=u.last;h++)r[""+h]={first:u.first,last:u.last};c=l[o],u={col:o,val:c,first:f,last:f,rowSpan:1},a.push(u)}else if(u.last=f,u.rowSpan=u.last-u.first+1,a.push({rowSpan:0}),!i&&f==e.datas.length-1)for(var h=u.first;h<=u.last;h++)r[""+h]={first:u.first,last:u.last}}),t[o]=a,k.default.forEach(a,function(l,f){l.rowSpan>1&&Ht.push({mergeRowS:f,mergeRowE:f+l.rowSpan-1,megerColS:s,megerColE:s})})}};e.rowSpanIndexCol&&(e.rowSpanIndexCol=e.rowSpanColumns[0]);var t={},r={};n(e.rowSpanIndexCol),k.default.forEach(e.rowSpanColumns,function(o){n(o,!0)})}}function Dc(e){var t=zr(e);console.log("calcExportDatas",t);var r=e.title,n=t.deepth,o=e.columnAlign||t.columnAlign,i=e.columnType||t.columnType,s=t.columnTitle,a=e.columnWidth||t.columnWidth,c=o.length,u=e.paramLeft,l=e.paramRight,f=t.exportData,p=e.numberFormat||t.numberFormat;XlsxPopulate.fromBlankAsync().then(h=>{var d=h.sheet("Sheet1");d.name(r);for(var v=0;v<c;v++)d.column(v+1).width(a[v]==0?10:a[v]);var b=d.range(1,1,1,c);b.merged(!0),b.style(ii),b.cell(0,0).value(r),d.row(1).height(li);var g=2;if(!!e.paramLeft||!!e.paramRight){var A=d.range(2,1,2,Math.round(c/2));A.cell(0,0).value(u||""),A.merged(!0),A.style(ai);var w=d.range(2,Math.round(c/2)+1,2,c);w.cell(0,0).value(l||""),w.merged(!0),w.style(si),d.row(2).height(ci),g+=1}s.forEach(F=>{var D=d.range(F.srow+g-1,F.scol,F.erow+g-1,F.ecol);D.merged(!0),D.style(ui),D.cell(0,0).value(F.text.replace(/<br\/>/g,""))});for(let F=0;F<n;F++)d.row(g+F).height(fi);g+=n;for(var v=0;v<f.length;v++){for(var E=f[v],O=0;O<E.length;O++)if(i[O]==="s"&&E[O]?(d.cell(g+v,O+1).value(E[O].value),ie.numberFormat=""):i[O]==="n"&&E[O]?(d.cell(g+v,O+1).value(E[O].value?parseFloat(E[O].value):E[O].value),ie.numberFormat=p[O]):i[O]==="n"?ie.numberFormat=p[O]:d.cell(g+v,O+1).value(""),E[O].formula&&d.cell(g+v,O+1).formula(E[O].formula),ie.horizontalAlignment=o[O],E[O].cellStyle){let D=k.default.merge({},ie,E[O].cellStyle);d.cell(g+v,O+1).style(D)}else d.cell(g+v,O+1).style(ie);if(e.rowColor&&v%2!=0){var R=d.range(g+v,1,g+v,c);R.style({fill:"f8f8f9"})}d.row(g+v).height(pi)}e.rowSpanColumns&&(di({...e,columns:t.columnsCalc}),k.default.forEach(Ht,function(F){var D=d.range(F.mergeRowS+g,F.megerColS+1,F.mergeRowE+g,F.megerColE+1);D.merged(!0)})),d.freezePanes(e.leftColumns||0,(e.topRows||0)+g-1),h.outputAsync().then(function(F){if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(F,r+".xlsx");else{var D=window.URL.createObjectURL(F),j=document.createElement("a");document.body.appendChild(j),j.href=D,j.download=r+".xlsx",j.click(),window.URL.revokeObjectURL(D),document.body.removeChild(j)}})}).catch(h=>console.log(h))}function Pc(e){return new Promise((t,r)=>{var n=zr(e),o=n.deepth;const i=new FileReader;i.onload=async s=>{XlsxPopulate.fromDataAsync(s.target.result).then(a=>{var p;var c=a.sheet(0),u=2;(!!e.paramLeft||!!e.paramRight)&&(u+=1),u+=o;let l=[];for(let h=u;h<c._rows.length;h++){var f=c.row(h);let d={};l.push(d);for(let v=1;v<f._cells.length;v++){let b=(p=f._cells[v])==null?void 0:p._value;if(v>n.columnsCalc.length)continue;let g=n.columnsCalc[v-1];d[g.field]=b}}t(l)}).catch(a=>console.log(a))},i.readAsArrayBuffer(e.file)})}const hi=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function _c(e){if(!e)return"";let t="";const r=hi.length;for(;e>=0;){const n=e%r;t=hi[n]+t,e=parseInt((e-n)/r)-1}return t}function Nc(e){return new Promise((t,r)=>{var n=zr(e),o="";console.log("calcExportDatas",n);var i=e.title,s=n.deepth,a=e.columnAlign||n.columnAlign,c=e.columnType||n.columnType,u=n.columnTitle,l=e.columnWidth||n.columnWidth,f=a.length,p=e.paramLeft,h=e.paramRight,d=n.exportData,v=e.numberFormat||n.numberFormat;XlsxPopulate.fromBlankAsync().then(b=>{for(var g=b.sheet("Sheet1"),A=0;A<f;A++)g.column(A+1).width(l[A]==0?10:l[A]);var w=g.range(1,1,1,f);w.merged(!0),w.style(ii),w.cell(0,0).value(i),g.row(1).height(li);var E=2;if(!!e.paramLeft||!!e.paramRight){var O=g.range(2,1,2,Math.round(f/2));O.cell(0,0).value(p||""),O.merged(!0),O.style(ai);var R=g.range(2,Math.round(f/2)+1,2,f);R.cell(0,0).value(h||""),R.merged(!0),R.style(si),g.row(2).height(ci),E+=1}u.forEach(_=>{var H;var N=g.range(_.srow+E-1,_.scol,_.erow+E-1,_.ecol);N.merged(!0),N.style(ui),N.cell(0,0).value((H=_.text)==null?void 0:H.replace(/<br\/>/g,""))});for(let _=0;_<s;_++)g.row(E+_).height(fi);E+=s;for(var A=0;A<d.length;A++){for(var F=d[A],D=0;D<F.length;D++)c[D]==="p"&&F[D]?(g.cell(E+A,D+1).value(parseFloat(F[D].value/100)),ie.numberFormat=v[D]):c[D]==="n"&&F[D]?(g.cell(E+A,D+1).value(parseFloat(F[D].value)),ie.numberFormat=v[D]):c[D]==="s"&&F[D]?(g.cell(E+A,D+1).value(F[D].value),ie.numberFormat=""):c[D]==="p"||c[D]==="n"?ie.numberFormat=v[D]:g.cell(E+A,D+1).value(""),ie.horizontalAlignment=a[D],g.cell(E+A,D+1).style(ie);if(e.rowColor&&A%2!=0){var j=g.range(E+A,1,E+A,f);j.style({fill:"f8f8f9"})}g.row(E+A).height(pi)}e.rowSpanDefs?(initRowSpanInfosNew({...e,columns:n.columnsCalc}),k.default.forEach(Ht,function(_){var N=g.range(_.mergeRowS+E,_.megerColS+1,_.mergeRowE+E,_.megerColE+1);N.merged(!0)})):e.rowSpanColumns&&(di({...e,columns:n.columnsCalc}),k.default.forEach(Ht,function(_){var N=g.range(_.mergeRowS+E,_.megerColS+1,_.mergeRowE+E,_.megerColE+1);N.merged(!0)})),(e.leftColumns||e.topRows)&&g.freezePanes(e.leftColumns||0,(e.topRows||0)+E-1),b.outputAsync().then(async function(_){const H=`${new Date().getTime()}.xlsx`;let{data:V}=await oi(H,_);console.log("data is --111111",V),o=(V==null?void 0:V[0].fileId)||"",t(o)})}).catch(b=>{console.log(b),r(b)})})}function Mc(){return document.addEventListener?function(e,t,r){e&&t&&r&&e.addEventListener(t,r,!1)}:function(e,t,r){e&&t&&r&&e.attachEvent("on"+t,r)}}function Ic(){return window.document.removeEventListener?function(e,t,r){e&&t&&e.removeEventListener(t,r,!1)}:function(e,t,r){e&&t&&e.detachEvent("on"+t,r)}}function xc(e,t,r){const n=Mc();return n(e,t,r),n}function Bc(e,t,r){const n=Ic();return n(e,t,r),n}const mi=e=>e.stopPropagation();function Lc(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&mi(e)}function Uc(e){if(!e||e.length<4)return"";const t=e.substring(0,4),r=e.substring(4,6),n=yi(parseInt(r));return r?`${t}H${n}`:`${t}`}function yi(e){if(typeof e=="string"){if(isNaN(parseInt(e)))return 0;e=parseInt(e)}return e<=6?1:2}function kc(e){if(!e||e.length<4)return e;const t=e.substring(0,4);if(!e.substring(4,6))return`${t}\u5168\u5E74`;const o=parseInt(e.substring(5))===1?"\u4E0A\u534A\u5E74":"\u4E0B\u534A\u5E74";return`${t}${o}`}function Hc(e){if(!e||e.length<4)return e;const t=e.substring(0,4);if(!e.substring(4,6))return`${t}01`;const o=parseInt(e.substring(5))*6-5,i=o<10?`0${o}`:`${o}`;return`${t}${i}`}function Yc(e){if(!e||e.length<4)return e;const t=e.substring(0,4);if(!e.substring(4,6))return`${t}12`;const o=parseInt(e.substring(5))*2,i=o<10?`0${o}`:`${o}`;return`${t}${i}`}const Gr={aac:"audio/aac",abw:"application/x-abiword",arc:"application/x-freearc",avi:"video/x-msvideo",azw:"application/vnd.amazon.ebook",bin:"application/octet-stream",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip2",csh:"application/x-csh",css:"text/css",csv:"text/csv",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",eot:"application/vnd.ms-fontobject",epub:"application/epub+zip",gif:"image/gif",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",jar:"application/java-archive",jpg:"image/jpeg",jpeg:"image/jpeg",js:"text/javascript",json:"application/json",jsonld:"application/ld+json",mid:"audio/midi",midi:"audio/x-midi",mjs:"text/javascript",mp3:"audio/mpeg",mpeg:"video/mpeg",mpkg:"application/vnd.apple.installer+xml",odp:"application/vnd.oasis.opendocument.presentation",ods:"application/vnd.oasis.opendocument.spreadsheet",odt:"application/vnd.oasis.opendocument.text",oga:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",otf:"font/otf",png:"image/png",pdf:"application/pdf",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",rar:"application/x-rar-compressed",rtf:"application/rtf",sh:"application/x-sh",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tiff:"image/tiff",ttf:"font/ttf",txt:"text/plain",vsd:"application/vnd.visio",wav:"audio/wav",weba:"audio/webm",webm:"video/webm",webp:"image/webp",woff:"font/woff",woff2:"font/woff2",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xul:"application/vnd.mozilla.xul+xml",zip:"application/zip","7z":"application/x-7z-compressed"};function jc(e){let t="";for(e=(e||0).toString();e.length>3;)t=","+e.slice(-3)+t,e=e.slice(0,e.length-3);return e&&(t=e+t),t}function Vc(e){const t=e.length,r=["\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"],n=["\u4EDF","\u4F70","\u62FE","\u4EBF","\u4EDF","\u4F70","\u62FE","\u4E07","\u4EDF","\u4F70","\u62FE"];let o=[],i=[],s="";for(let a=0;a<t;a++)o.push(parseInt(e[a])),i[a]=r[o[a]];for(let a=t-1,c=1;a>0;a--)i.splice(a,0,n[n.length-c++]);return s=i.join(""),t>=1&&(s+="\u5143\u6574"),s}function Wc(e){if(!/^(0|[1-9]\d*)(\.\d+)?$/.test(e))return"\u6570\u636E\u975E\u6CD5";let t="\u5343\u767E\u62FE\u4EBF\u5343\u767E\u62FE\u4E07\u5343\u767E\u62FE\u5143\u89D2\u5206",r="";e+="00";let n=e.indexOf(".");n>=0&&(e=e.substring(0,n)+e.substr(n+1,2)),t=t.substr(t.length-e.length);for(let o=0;o<e.length;o++)r+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".charAt(parseInt(e.charAt(o)))+t.charAt(o);return r.replace(/零(千|百|拾|角)/g,"\u96F6").replace(/(零)+/g,"\u96F6").replace(/零(万|亿|元)/g,"$1").replace(/(亿)万|壹(拾)/g,"$1$2").replace(/^元零?|零分/g,"").replace(/元$/g,"\u5143\u6574")}function qc(e,t=2){e=e.toString();let r=e.indexOf(".");return r!==-1?e=e.substring(0,t+r+1):e=e.substring(0),parseFloat(e).toFixed(t)}function gi(e,t=2){if(typeof e=="number"){const n=/([0-9])+e([-0-9]+)/.exec(e+"")||[];if(n.length>2){const o=n[1],i=n[2];return Math.round(parseFloat(+o+"e"+(+i+t)))/Math.pow(10,t)}return Math.round(parseFloat(+e+"e"+t))/Math.pow(10,t)}return e}function zc(e,t=2){const r=parseFloat(e+"");return!isNaN(r)&&(r||r===0)?gi(r,t).toFixed(t):e}const Gc=e=>{if(isNaN(e))throw"numToChineseNumerals: \u6570\u636E\u975E\u6CD5";return e=Number(e),vi(e).replace(/^零/,"").replace(/^一十/,"\u5341")},Jc=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],Kc=["","\u5341","\u767E","\u5343"];function vi(e){if(e===0)return"";const t=Math.floor(Math.log10(e)),r=Math.floor(t/8),n=Math.floor(t%8/4);let o=Math.floor(e/Math.pow(10,4*n+8*r)),i=e%Math.pow(10,4*n+8*r),s=k.default(String(o).padStart(4,"0")).split("").map((a,c)=>Jc[a]+(a==="0"?"":Kc[3-c])).uniq().value().join("").replace(/零$/,"");for(let a=0;a<n;a++)s+="\u4E07";for(let a=0;a<r;a++)s+="\u4EBF";return s+vi(i)}function bi(e){return e?["\u4E00","\u4E8C","\u4E09","\u56DB"][e-1]:""}function Qc(e){if(!e||e.length<6)return"";const t=e.substring(0,4),r=e.substring(4,6),n=wi(parseInt(r));return`${t}Q${n}`}function wi(e){if(typeof e=="string"){if(isNaN(parseInt(e)))return 0;e=parseInt(e)}return Math.ceil(e/3)}function Xc(e){if(!e||e.length<6)return e;const t=e.substring(0,4),r=parseInt(e.substring(5));return`${t}\u7B2C${bi(r)}\u5B63\u5EA6`}function Zc(e){if(!e||e.length<6)return e;const t=e.substring(0,4),n=parseInt(e.substring(5))*3-2,o=n<10?`0${n}`:`${n}`;return`${t}${o}`}function ef(e){if(!e||e.length<6)return e;const t=e.substring(0,4),n=parseInt(e.substring(5))*3,o=n<10?`0${n}`:`${n}`;return`${t}${o}`}const ye="__",Ve="--";function Jr({tooltip:e,item:t,parents:r,title:n}){let o=null;return e&&(Wr(e)?o=e(t,r):e===!0?o=n:o=e),o}function Kr(e,t,r={}){var E;const{key:n,keyProp:o,title:i,titleProp:s,titleFormatter:a,sortProp:c,sortOrder:u="asc",keyLastSuffix:l,isLimitChildren:f,headerTooltip:p,children:h,...d}=t,{keyPropName:v="key",titlePropName:b="title",keyPrefix:g="",parents:A=[]}=r;if(o){let O=((E=k.default.uniqBy(e,t.keyProp))==null?void 0:E.filter(R=>!je(R[t.keyProp])))||[];if(c){const R=O.filter(D=>je(D[c])),F=O.filter(D=>!je(D[c]));O=k.default.orderBy(F,[c],[u]).concat(R)}return O.map(R=>{const F=a?a(R[s]):R[s];if(h&&h.length){const j=`${g}${o}${Ve}${R[o]}${ye}`,_=h.map(N=>{let H=f?e.filter(V=>V[o]===R[o]):e;return Kr(H,N,{...r,keyPrefix:j,parents:[...A,R]})});return{...d,[b]:F,headerTooltip:Jr({tooltip:p,item:R,parents:A,title:F}),children:k.default.flatten(_)}}const D=l?`${ye}${l}`:"";return{...d,[v]:`${g}${o}${Ve}${R[o]}${D}`,[b]:F,headerTooltip:Jr({tooltip:p,item:R,parents:A,title:F})}})}const w=Jr({tooltip:p,item:{},parents:A,title:i});if(h&&h.length){const O=`${g}${n||""}`,R=h.map(F=>Kr(e,F,{...r,keyPrefix:O}));return{...d,[b]:i,headerTooltip:w,children:k.default.flatten(R)}}return{...d,[v]:`${g}${n||""}`,[b]:i,headerTooltip:w}}function Qr(e=[]){return!e||!e.length?[]:e.reduce((t,r)=>r.children?[...t,...Qr(r.children)]:[...t,r],[])}function Ei(e,t){var o;if(!t.length)return;const r=t[0];if(t=t.slice(1),r.includes(Ve)&&t.length){const[i,s]=r.split(Ve),a=k.default.filter(e,{[i]:s});return Ei(a,t)}return t.length&&console.error("\u600E\u4E48\u4F1A\u4E0D\u662F\u6700\u540E\u4E00\u5C42\u5206\u7EC4\u5462\uFF0C\u8BF7\u8054\u7CFB\u5F00\u53D1\u4EBA\u5458\u67E5\u770B\uFF01"),(o=e==null?void 0:e[0])==null?void 0:o[r]}function Yt(e,t){if(!e)return"";if(Bt(t))return e[t]||"";for(const r of t)if(e[r])return e[r];return""}function Si(e,t,r,n,o){if(r>=e.length)return;const i=e[r];let s=k.default.find(n,{key:i});if(!s&&(s={key:i,title:t[r],children:[]},n.push(s),r===e.length-1)){Object.assign(s,o,{title:t[r]});return}Si(e,t,r+1,s.children,o)}function tf({sumColumnDefs:e}){const t=[];for(const r of e){const{key:n,title:o}=r,i=n.split(ye),s=o.split(ye);Si(i,s,0,t,r)}return t}function rf(e=[],t=[],r,n={}){var l;const o=[];n.sumColumnDefs&&n.sumColumnDefs.length&&o.push(...tf(n));const i=k.default.flatten(t.map(f=>Kr(e,f,n)))||[];o.push(...i);const s=Qr(o),a=((l=k.default.uniqBy(e,f=>Yt(f,r)))==null?void 0:l.filter(f=>!je(Yt(f,r))))||[],c=k.default.groupBy(e,f=>Yt(f,r));return{data:a.map(f=>{const p=Yt(f,r),h=c[p]||[],d={...f};return n.sumColumnDefs&&n.sumColumnDefs.length&&n.sumColumnDefs.forEach(v=>{const{key:b}=v,g=b.split(ye)||[],A=(g==null?void 0:g[0])||"",w=(g==null?void 0:g[g.length-1])||"",{sumColKeyProp:E="sumColCode"}=n,O=k.default.find(h,{[E]:A})||{};d[b]=O[w]}),s.forEach(v=>{const b=v[n.keyPropName||"key"]||"",g=b.split(ye)||[],A=Ei(h,g);d[b]=A,delete d[g[g.length-1]]}),d}),columns:o}}function nf(e={},t=[],r={}){const n=[],o={};return Object.keys(e).forEach(s=>{s.includes(ye)||(o[s]=e[s])}),t.forEach(s=>{const a={},c=s[r.keyPropName||"key"]||"";if(c.includes(ye)){const u=c.split(ye);u.forEach((l,f)=>{if(l.includes(Ve)&&u.length){const[p,h]=l.split(Ve);a[p]=h}else if(u.length!==f+1)console.error("columns\u6709\u95EE\u9898\uFF0C\u8BF7\u68C0\u67E5\uFF01");else{const p=k.default.find(n,a);p?p[l]=e[c]:n.push({...o,...a,[l]:e[c]})}})}}),n}function of(e=[],t=[],r={}){const n=Qr(t);return e.reduce((o,i)=>[...o,...nf(i,n,r)],[])}let af=e=>crypto.getRandomValues(new Uint8Array(e)),sf=(e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*n*t/e.length);return(i=t)=>{let s="";for(;;){let a=r(o),c=o;for(;c--;)if(s+=e[a[c]&n]||"",s.length===i)return s}}};const uf=((e,t=21)=>sf(e,t,af))("0123456789abcdef",32);function lf(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=Math.random()*16|0,r=e==="x"?t:t&3|8;return r.toString(16)})}function cf(e){var t=new Array("\u9A8C\u8BC1\u901A\u8FC7!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u4F4D\u6570\u4E0D\u5BF9!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u51FA\u751F\u65E5\u671F\u8D85\u51FA\u8303\u56F4\u6216\u542B\u6709\u975E\u6CD5\u5B57\u7B26!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u6821\u9A8C\u9519\u8BEF!","\u8EAB\u4EFD\u8BC1\u5730\u533A\u975E\u6CD5!"),r={11:"\u5317\u4EAC",12:"\u5929\u6D25",13:"\u6CB3\u5317",14:"\u5C71\u897F",15:"\u5185\u8499\u53E4",21:"\u8FBD\u5B81",22:"\u5409\u6797",23:"\u9ED1\u9F99\u6C5F",31:"\u4E0A\u6D77",32:"\u6C5F\u82CF",33:"\u6D59\u6C5F",34:"\u5B89\u5FBD",35:"\u798F\u5EFA",36:"\u6C5F\u897F",37:"\u5C71\u4E1C",41:"\u6CB3\u5357",42:"\u6E56\u5317",43:"\u6E56\u5357",44:"\u5E7F\u4E1C",45:"\u5E7F\u897F",46:"\u6D77\u5357",50:"\u91CD\u5E86",51:"\u56DB\u5DDD",52:"\u8D35\u5DDE",53:"\u4E91\u5357",54:"\u897F\u85CF",61:"\u9655\u897F",62:"\u7518\u8083",63:"\u9752\u6D77",64:"\u5B81\u590F",65:"\u65B0\u7586",71:"\u53F0\u6E7E",81:"\u9999\u6E2F",82:"\u6FB3\u95E8",91:"\u56FD\u5916"},n,o,i,s,a,c=new Array;if(c=e.split(""),r[parseInt(e.substr(0,2))]==null)return t[4];switch(e.length){case 15:return(parseInt(e.substr(6,2))+1900)%4==0||(parseInt(e.substr(6,2))+1900)%100==0&&(parseInt(e.substr(6,2))+1900)%4==0?a=/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}$/:a=/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}$/,a.test(e)?t[0]:t[2];case 18:return parseInt(e.substr(6,4))%4==0||parseInt(e.substr(6,4))%100==0&&parseInt(e.substr(6,4))%4==0?a=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:a=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/,a.test(e)?(i=(parseInt(c[0])+parseInt(c[10]))*7+(parseInt(c[1])+parseInt(c[11]))*9+(parseInt(c[2])+parseInt(c[12]))*10+(parseInt(c[3])+parseInt(c[13]))*5+(parseInt(c[4])+parseInt(c[14]))*8+(parseInt(c[5])+parseInt(c[15]))*4+(parseInt(c[6])+parseInt(c[16]))*2+parseInt(c[7])*1+parseInt(c[8])*6+parseInt(c[9])*3,n=i%11,s="F",o="10X98765432",s=o.substr(n,1),s==c[17]?t[0]:t[3]):t[2];default:return t[1]}}function ff(e){var t=/^1[3456789]\d{9}$/;return!!t.test(e)}function pf(e){var t=/^([0-9]{3,4}-)?[0-9]{7,8}$/,r=/^((\+?86)|(\(\+86\)))?(13[0123456789][0-9]{8}|15[012356789][0-9]{8}|18[0123456789][0-9]{8}|14[57][0-9]{8}|17[678][0-9]{8})$/;return!!(r.test(e)||t.test(e))}function df(e){return/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z](-)?(([DF]((?![IO])[a-zA-Z0-9](?![IO]))[0-9]{4})|([0-9]{5}[DF]))$/.test(e)?!0:/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z](-)?[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]$/.test(e)}const Ai="ind-dict_";function hf(e){return Se(`${Ai}${e}`)}function mf(e,t){_e(`${Ai}${e}`,t)}const Oi=m.config.authServerContext;function yf(e){return M.get(`${Oi}/anon/dict/getDictsMap`,{params:{dictId:e}})}async function Ci(e){if(e===Xo)return Zo;const t=hf(e);if(t)return t;try{const{data:r}=await M.get(`${Oi}/dict/getDicts`,{params:{dictId:e}});return mf(e,r),r}catch(r){console.error(`getDict error dictId=${e}`,r)}}async function gf(e){const t={},r=await Promise.all(e.map(n=>Ci(n)));return e.forEach((n,o)=>{if(r[o]){const i={};r[o].forEach(s=>{i[s.K]=s.V}),t[n]={data:i,renderData:r[o]}}}),t}const pe=m.config.authServerContext;function vf(){return M.get(`${pe}/manage/menu/getAllPermission`)}function bf(){return M.get(`${pe}/manage/upmsMenuHistory/list`)}function wf(e){return M.post(`${pe}/manage/upmsMenuHistory/add`,null,{params:e})}function Ef(e){return M.get(`${pe}/manage/upmsMenuHistory/delete/`+e)}function Sf(){return M.get(`${pe}/manage/upmsMenuCollect/list`)}function Af(e){return M.post(`${pe}/manage/upmsMenuCollect/add`,null,{params:e})}function Of(e){return M.get(`${pe}/manage/upmsMenuCollect/delete/`+e)}function Cf(e){return M.post(`${pe}/manage/upmsMenuCollect/remove`,null,{params:e})}function Tf(){return M.get(`${pe}/manage/app/list`)}function Ff(){return M.get(`${pe}/ipm/bc/basic/item/getMaxTabNum`)}let Rf={Base64Chars:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@*-",encode:function(e){if(!e||e.length==0)return e;for(var t="",r=this.ucs2_utf8(e),n,o,i,s,a=r.length,c=0;c<a;){var u=r[c++];n=(u&252)>>2,o=(u&3)<<4,c<a?(u=r[c++],o|=(u&240)>>4,i=(u&15)<<2,c<a?(u=r[c++],i|=(u&192)>>6,s=u&63):s=64):i=s=64,t+=this.Base64Chars.charAt(n),t+=this.Base64Chars.charAt(o),t+=this.Base64Chars.charAt(i),t+=this.Base64Chars.charAt(s)}return t},ucs2_utf8:function(e){if(!e)return null;var t=new Array;if(e=="")return t;for(var r=0,n=0,o=0,i=e.length;n<i;)r=e.charCodeAt(n++),r<=127?t[o++]=r:r>=128&&r<=2047?(t[o++]=r>>6&31|192,t[o++]=r&63|128):(t[o++]=r>>12|224,t[o++]=r>>6&63|128,t[o++]=r&63|128);return t},utf8_ucs2:function(e){if(!e)return null;var t=e.length;if(t==0)return"";for(var r="",n=0,o=0,i=0;o<t;)n=e[o++],(n&224)==224?(i=(n&15)<<12,n=e[o++],i|=(n&63)<<6,n=e[o++],i|=n&63):(n&192)==192?(i=(n&31)<<6,n=e[o++],i|=n&63):i=n,r+=String.fromCharCode(i);return r}};const We=m.config.authServerContext;function $f({userName:e,password:t,validCodeId:r,validCodeInput:n}){let o="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD2iolFHi+6bUh+V6JPr2gFJQsC0QNsq2EwI0MAPlI5AaizBHRVMjX1H73ptuDSiT3QZh4kk74w+eDLyYj4JXo1SvvDw5w378SLhUIDzH0zrlt3oleT3kiPQxC17yM3Os/wrtHO7IC+KGo9qrg+LJFyR/fYYHcyH9i+JAejBEnJQIDAQAB",s=new window.NodeRSA(o,"pkcs8-public").encrypt(t,"base64"),a=Rf.encode(s);const c={usn:e,upw:a,validCodeId:r,validCodeInput:n};return M.formPost(We+"/sso/auth/login",c)}function Df(){return M.get(`${We}/manage/user/getCurrentInfo`)}function Pf(){return M.get(`${We}/anon/user/getGlobalPolicy`)}function _f(e){return M.post(`${We}/manage/user/updatePassword`,e)}function Nf(e){return`${We}/anon/user/getCaptcha/`+e}function Mf(){return M.get(`${We}/sso/logout`)}const Xr="global-cache",Zr=async()=>{if(Se(Xr))return Se(Xr);{let e=location.protocol+"//"+location.host+"/ibp-sc/manage/global?t="+new Date().getTime();return fr.get(e).then(({data:t})=>(_e(Xr,t),t))}};function If(){return window.location.pathname.includes("scyxweb")}const xf=m.config.ismAmServerContext;function Bf(e){return m.config.useDddComItemTree?M.get(`${If()?"/scyxgateway":""}${m.config.ucExtServerContext}/manage/tree/getBusiComTree`,{params:e}):M.get(`${xf}/tree/com/listComTree`,{params:e})}const Lf=m.config.ucExtServerContext;function Uf(e){return M.get(`${Lf}/index-desc/list`,{params:e})}function kf(){return window.location.pathname.includes("scyxweb")}const en=m.config.ismAmServerContext;function Hf(e){return m.config.useDddComItemTree?M.get(`${kf()?"/scyxgateway":""}${m.config.ucExtServerContext}/manage/tree/getProductInfoAsTreeData`,{params:e}):M.get(`${en}/tree/item/listItemTree`,{params:e})}function Yf(){return M.get(`${en}/basic/getPriceInfo`,{})}function jf(e){return M.get(`${en}/basic/getItem`,{params:e})}const tn=m.config.ucExtServerContext;async function Vf(e){var s,a;const t="ind-cache-dataVersion-applicationTree"+((s=Gt())==null?void 0:s.manageUnitId),r=await Zr();if(!(r!=null&&r.enableTreeLocalCache)||(r==null?void 0:r.enableTreeLocalCache)!=="1")return M.formPost(`${tn}/tree/uc-application/getApplicationTree`,{params:e});const n=Ae(t),i=(await M.get(`${tn}/cacheManage/getCacheDataVersion`,{})).data.applicationTree;if((n==null?void 0:n.dataVersion)!==i){const c=await M.formPost(`${tn}/tree/uc-application/getApplicationTree`,{params:e});Ge(t,{dataVersion:i,response:c})}return(a=Ae(t))==null?void 0:a.response}const rn=m.config.ucExtServerContext;async function Wf(e){var s,a;const t="ind-cache-dataVersion-organTree"+((s=Gt())==null?void 0:s.manageUnitId),r=await Zr();if(!(r!=null&&r.enableTreeLocalCache)||(r==null?void 0:r.enableTreeLocalCache)!=="1")return M.get(`${rn}/tree/uc-user/listUserTree`,{params:e});const n=Ae(t),i=(await M.get(`${rn}/cacheManage/getCacheDataVersion`,{})).data.organTree;if((n==null?void 0:n.dataVersion)!==i){const c=await M.get(`${rn}/tree/uc-user/listUserTree`,{params:e});Ge(t,{dataVersion:i,response:c})}return(a=Ae(t))==null?void 0:a.response}m.Base64ForLogin=jl,m.CONTENT_TYPE=at,m.IS_OR_NOT_ENUM=gc,m.IS_OR_NOT_ENUM_KEY=Xo,m.IS_OR_NOT_ENUM_LIST=Zo,m.MIME_TYPE=Gr,m.UC_ENUM=vc,m.addMenuCollectApi=Af,m.axios=M,m.base64ToBlob=Vl,m.blobToBase64=Wl,m.checkIdCard=cf,m.checkPhone=ff,m.checkTel=pf,m.checkVehicleNo=df,m.clearIndexDescCache=Di,m.clearPermissionCache=Ni,m.clearSessionStorage=Fi,m.clearUserInfoCache=Ii,m.cryptor=Yl,m.deleteMenuCollectApi=Of,m.deleteMenuHistoryApi=Ef,m.downLoadScDcApi=Oc,m.exportJsonToExcel=Dc,m.flattenRow2ColumnData=of,m.formatDate=zl,m.formatDateChinese=Gl,m.formatDecimal=qc,m.formatHalfYear=kc,m.formatQuarter=Xc,m.getAppListApi=Tf,m.getApplicationTreeApi=Vf,m.getCaptchaURL=Nf,m.getContentType=Br,m.getDictApi=Ci,m.getDictMapApi=gf,m.getDictsMapApi=yf,m.getExcelColumnIdx=_c,m.getGlobalConfig=Zr,m.getGlobalPolicyApi=Pf,m.getHalfYear=Uc,m.getHalfYearBeginMonth=Hc,m.getHalfYearEndMonth=Yc,m.getHalfYearNum=yi,m.getIndexDescCache=Ri,m.getItem=jf,m.getLocalStorage=Ae,m.getMaxTabNumValueApi=Ff,m.getMenuCollectApi=Sf,m.getMenuHistoryApi=bf,m.getOssFileApi=Sc,m.getOssFileUrl=ri,m.getPermissionApi=vf,m.getPermissionCache=Pi,m.getPreviewUrlApi=Ac,m.getPriceInfo=Yf,m.getQuarter=Qc,m.getQuarterBeginMonth=Zc,m.getQuarterEndMonth=ef,m.getQuarterNum=wi,m.getSessionStorage=Se,m.getToken=Lr,m.getType=Ko,m.getUrlParams=Po,m.getUserInfoApi=Df,m.getUserInfoCache=Gt,m.guid=lf,m.importJsonFromExcel=Pc,m.isArguments=nc,m.isArray=Vr,m.isArrayLike=Lt,m.isBoolean=Xl,m.isDate=rc,m.isDecimal=pc,m.isElement=ac,m.isEmpty=sc,m.isEqual=kt,m.isEqualWith=yc,m.isError=ic,m.isEven=uc,m.isFinite=cc,m.isFunction=Wr,m.isInteger=fc,m.isNegative=dc,m.isNil=je,m.isNull=Go,m.isNumber=we,m.isNumberEqual=mc,m.isObject=Zl,m.isObjectLike=Ut,m.isOdd=lc,m.isPlainObject=ec,m.isPositive=hc,m.isPromise=tc,m.isPrototype=Qo,m.isRegExp=oc,m.isString=Bt,m.isType=ue,m.isUndefined=Jo,m.listComTreeApi=Bf,m.listIndexDescApi=Uf,m.listItemTreeApi=Hf,m.listUserTreeApi=Wf,m.loginApi=$f,m.logoutApi=Mf,m.menuHistoryApi=wf,m.numToChineseNumerals=Gc,m.numToDX=Wc,m.off=Bc,m.on=xc,m.preventDefault=Lc,m.previewJsonToExcel=Nc,m.putOssFileApi=oi,m.putOssFileUrl=ni,m.quarter2Chinese=bi,m.removeLocalStorage=nn,m.removeMenuCollectApi=Cf,m.removeSessionStorage=Vt,m.renderColumnEnums=ei,m.renderEnumData=wc,m.renderEnumList=bc,m.renderFieldEnums=Ec,m.responseInterceptors=Lo,m.round=gi,m.row2column=rf,m.setConfig=Tl,m.setContentType=No,m.setIndexDescCache=$i,m.setLocalStorage=Ge,m.setPermissionCache=_i,m.setSessionStorage=_e,m.setToken=Al,m.setUserInfoCache=Mi,m.stopPropagation=mi,m.str2Date=ql,m.toChies=Vc,m.toFixed=zc,m.toThousands=jc,m.updatePasswordApi=_f,m.useConfig=Bo,m.uuid=uf,m.wrapApi=xt,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
|
14
|
+
*/var Pl=function(e){return e!=null&&(jo(e)||_l(e)||!!e._isBuffer)};function jo(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function _l(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&jo(e.slice(0,0))}(function(){var e=Ho.exports,t=Yo.utf8,r=Pl,n=Yo.bin,o=function(i,s){i.constructor==String?s&&s.encoding==="binary"?i=n.stringToBytes(i):i=t.stringToBytes(i):r(i)?i=Array.prototype.slice.call(i,0):!Array.isArray(i)&&i.constructor!==Uint8Array&&(i=i.toString());for(var a=e.bytesToWords(i),c=i.length*8,u=1732584193,l=-271733879,f=-1732584194,p=271733878,h=0;h<a.length;h++)a[h]=(a[h]<<8|a[h]>>>24)&16711935|(a[h]<<24|a[h]>>>8)&4278255360;a[c>>>5]|=128<<c%32,a[(c+64>>>9<<4)+14]=c;for(var d=o._ff,v=o._gg,b=o._hh,g=o._ii,h=0;h<a.length;h+=16){var A=u,w=l,E=f,O=p;u=d(u,l,f,p,a[h+0],7,-680876936),p=d(p,u,l,f,a[h+1],12,-389564586),f=d(f,p,u,l,a[h+2],17,606105819),l=d(l,f,p,u,a[h+3],22,-1044525330),u=d(u,l,f,p,a[h+4],7,-176418897),p=d(p,u,l,f,a[h+5],12,1200080426),f=d(f,p,u,l,a[h+6],17,-1473231341),l=d(l,f,p,u,a[h+7],22,-45705983),u=d(u,l,f,p,a[h+8],7,1770035416),p=d(p,u,l,f,a[h+9],12,-1958414417),f=d(f,p,u,l,a[h+10],17,-42063),l=d(l,f,p,u,a[h+11],22,-1990404162),u=d(u,l,f,p,a[h+12],7,1804603682),p=d(p,u,l,f,a[h+13],12,-40341101),f=d(f,p,u,l,a[h+14],17,-1502002290),l=d(l,f,p,u,a[h+15],22,1236535329),u=v(u,l,f,p,a[h+1],5,-165796510),p=v(p,u,l,f,a[h+6],9,-1069501632),f=v(f,p,u,l,a[h+11],14,643717713),l=v(l,f,p,u,a[h+0],20,-373897302),u=v(u,l,f,p,a[h+5],5,-701558691),p=v(p,u,l,f,a[h+10],9,38016083),f=v(f,p,u,l,a[h+15],14,-660478335),l=v(l,f,p,u,a[h+4],20,-405537848),u=v(u,l,f,p,a[h+9],5,568446438),p=v(p,u,l,f,a[h+14],9,-1019803690),f=v(f,p,u,l,a[h+3],14,-187363961),l=v(l,f,p,u,a[h+8],20,1163531501),u=v(u,l,f,p,a[h+13],5,-1444681467),p=v(p,u,l,f,a[h+2],9,-51403784),f=v(f,p,u,l,a[h+7],14,1735328473),l=v(l,f,p,u,a[h+12],20,-1926607734),u=b(u,l,f,p,a[h+5],4,-378558),p=b(p,u,l,f,a[h+8],11,-2022574463),f=b(f,p,u,l,a[h+11],16,1839030562),l=b(l,f,p,u,a[h+14],23,-35309556),u=b(u,l,f,p,a[h+1],4,-1530992060),p=b(p,u,l,f,a[h+4],11,1272893353),f=b(f,p,u,l,a[h+7],16,-155497632),l=b(l,f,p,u,a[h+10],23,-1094730640),u=b(u,l,f,p,a[h+13],4,681279174),p=b(p,u,l,f,a[h+0],11,-358537222),f=b(f,p,u,l,a[h+3],16,-722521979),l=b(l,f,p,u,a[h+6],23,76029189),u=b(u,l,f,p,a[h+9],4,-640364487),p=b(p,u,l,f,a[h+12],11,-421815835),f=b(f,p,u,l,a[h+15],16,530742520),l=b(l,f,p,u,a[h+2],23,-995338651),u=g(u,l,f,p,a[h+0],6,-198630844),p=g(p,u,l,f,a[h+7],10,1126891415),f=g(f,p,u,l,a[h+14],15,-1416354905),l=g(l,f,p,u,a[h+5],21,-57434055),u=g(u,l,f,p,a[h+12],6,1700485571),p=g(p,u,l,f,a[h+3],10,-1894986606),f=g(f,p,u,l,a[h+10],15,-1051523),l=g(l,f,p,u,a[h+1],21,-2054922799),u=g(u,l,f,p,a[h+8],6,1873313359),p=g(p,u,l,f,a[h+15],10,-30611744),f=g(f,p,u,l,a[h+6],15,-1560198380),l=g(l,f,p,u,a[h+13],21,1309151649),u=g(u,l,f,p,a[h+4],6,-145523070),p=g(p,u,l,f,a[h+11],10,-1120210379),f=g(f,p,u,l,a[h+2],15,718787259),l=g(l,f,p,u,a[h+9],21,-343485551),u=u+A>>>0,l=l+w>>>0,f=f+E>>>0,p=p+O>>>0}return e.endian([u,l,f,p])};o._ff=function(i,s,a,c,u,l,f){var p=i+(s&a|~s&c)+(u>>>0)+f;return(p<<l|p>>>32-l)+s},o._gg=function(i,s,a,c,u,l,f){var p=i+(s&c|a&~c)+(u>>>0)+f;return(p<<l|p>>>32-l)+s},o._hh=function(i,s,a,c,u,l,f){var p=i+(s^a^c)+(u>>>0)+f;return(p<<l|p>>>32-l)+s},o._ii=function(i,s,a,c,u,l,f){var p=i+(a^(s|~c))+(u>>>0)+f;return(p<<l|p>>>32-l)+s},o._blocksize=16,o._digestsize=16,ko.exports=function(i,s){if(i==null)throw new Error("Illegal argument "+i);var a=e.wordsToBytes(o(i,s));return s&&s.asBytes?a:s&&s.asString?n.bytesToString(a):e.bytesToHex(a)}})();var Vo=ko.exports;function ut(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e}function Nl(e){let r="";for(let n=0;n<e.length/8;n++)r+=ut(parseInt(e.substr(n*8,8),2).toString(16),2);return r}function Hr(e){let r="";for(let n=0;n<e.length/2;n++)r+=ut(parseInt(e.substr(n*2,2),16).toString(2),8);return r}function Ml(e){let t="";for(const r of e)t+=ut(r.codePointAt(0).toString(2),8);return t}function oe(e,t){return e.substring(t%e.length)+e.substr(0,t%e.length)}function lt(e,t,r){const n=e||"",o=t||"",i=[];let s;for(let a=n.length-1;a>=0;a--)s=r(n[a],o[a],s),i[a]=s[0];return i.join("")}function he(e,t){return lt(e,t,(r,n)=>[r===n?"0":"1"])}function ct(e,t){return lt(e,t,(r,n)=>[r==="1"&&n==="1"?"1":"0"])}function Wo(e,t){return lt(e,t,(r,n)=>[r==="1"||n==="1"?"1":"0"])}function Yr(e,t){return lt(e,t,(n,o,i)=>{const s=i?i[1]:"0";return n!==o?[s==="0"?"1":"0",s]:[s,n]})}function xl(e){return lt(e,void 0,t=>[t==="1"?"0":"1"])}function fe(e){return(...t)=>t.reduce((r,n)=>e(r,n))}function Il(e){return fe(he)(e,oe(e,9),oe(e,17))}function Bl(e){return fe(he)(e,oe(e,15),oe(e,23))}function Ll(e,t,r,n){return n>=0&&n<=15?fe(he)(e,t,r):fe(Wo)(ct(e,t),ct(e,r),ct(t,r))}function Ul(e,t,r,n){return n>=0&&n<=15?fe(he)(e,t,r):Wo(ct(e,t),ct(xl(e),r))}function kl(e){return e>=0&&e<=15?Hr("79cc4519"):Hr("7a879d8a")}function Hl(e,t){const n=[],o=[];for(let A=0;A<16;A++)n.push(t.substr(A*32,32));for(let A=16;A<68;A++)n.push(fe(he)(Bl(fe(he)(n[A-16],n[A-9],oe(n[A-3],15))),oe(n[A-13],7),n[A-6]));for(let A=0;A<64;A++)o.push(he(n[A],n[A+4]));const i=[];for(let A=0;A<8;A++)i.push(e.substr(A*32,32));let s=i[0],a=i[1],c=i[2],u=i[3],l=i[4],f=i[5],p=i[6],h=i[7],d,v,b,g;for(let A=0;A<64;A++)d=oe(fe(Yr)(oe(s,12),l,oe(kl(A),A)),7),v=he(d,oe(s,12)),b=fe(Yr)(Ll(s,a,c,A),u,v,o[A]),g=fe(Yr)(Ul(l,f,p,A),h,d,n[A]),u=c,c=oe(a,9),a=s,s=b,h=p,p=oe(f,19),f=l,l=Il(g);return he([s,a,c,u,l,f,p,h].join(""),e)}function jr(e){const t=Ml(e),r=t.length;let n=r%512;n=n>=448?512-n%448-1:448-n-1;const o=`${t}1${ut("",n)}${ut(r.toString(2),64)}`.toString(),i=(r+n+65)/512;let s=Hr("7380166f4914b2b9172442d7da8a0600a96f30bc163138aae38dee4db0fb0e4e");for(let a=0;a<=i-1;a++){const c=o.substr(512*a,512);s=Hl(s,c)}return Nl(s)}const Yl={encrypt:jr,encryptForLogin(e,t,r){let n="";return t||(t="md5"),t=="md5"?r?n=Vo(this.genSalt(e)):n=Vo(e):r?n=jr(this.genSalt(e)):n=jr(e),n},genSalt(e){return e+"{1#2$3%4(5)6@7!poeeww$3%4(5)djjkkldss}"}};let jl={Base64Chars:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@*-",encode:function(e){if(!e||e.length==0)return e;for(var t="",r=this.ucs2_utf8(e),n,o,i,s,a=r.length,c=0;c<a;){var u=r[c++];n=(u&252)>>2,o=(u&3)<<4,c<a?(u=r[c++],o|=(u&240)>>4,i=(u&15)<<2,c<a?(u=r[c++],i|=(u&192)>>6,s=u&63):s=64):i=s=64,t+=this.Base64Chars.charAt(n),t+=this.Base64Chars.charAt(o),t+=this.Base64Chars.charAt(i),t+=this.Base64Chars.charAt(s)}return t},ucs2_utf8:function(e){if(!e)return null;var t=new Array;if(e=="")return t;for(var r=0,n=0,o=0,i=e.length;n<i;)r=e.charCodeAt(n++),r<=127?t[o++]=r:r>=128&&r<=2047?(t[o++]=r>>6&31|192,t[o++]=r&63|128):(t[o++]=r>>12|224,t[o++]=r>>6&63|128,t[o++]=r&63|128);return t},utf8_ucs2:function(e){if(!e)return null;var t=e.length;if(t==0)return"";for(var r="",n=0,o=0,i=0;o<t;)n=e[o++],(n&224)==224?(i=(n&15)<<12,n=e[o++],i|=(n&63)<<6,n=e[o++],i|=n&63):(n&192)==192?(i=(n&31)<<6,n=e[o++],i|=n&63):i=n,r+=String.fromCharCode(i);return r}};function Vl(e,t){t=t||"";const r=1024,n=atob(e),o=n.length,i=Math.ceil(o/r),s=new Array(i);for(let a=0;a<i;++a){const c=a*r,u=Math.min(c+r,o),l=new Array(u-c);for(let f=c,p=0;f<u;++p,++f)l[p]=n[f].charCodeAt(0);s[a]=new Uint8Array(l)}return new Blob(s,{type:t})}function Wl(e,t=!0){return new Promise(r=>{const n=new FileReader;n.onload=function(){const o=(n==null?void 0:n.result)||"";if(t){r(o);return}const i=o.split(",")[1];r(i)},n.readAsDataURL(e)})}var qo={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Yn,function(){var r=1e3,n=6e4,o=36e5,i="millisecond",s="second",a="minute",c="hour",u="day",l="week",f="month",p="quarter",h="year",d="date",v="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function($){var T=["th","st","nd","rd"],S=$%100;return"["+$+(T[(S-20)%10]||T[S]||T[0])+"]"}},w=function($,T,S){var P=String($);return!P||P.length>=T?$:""+Array(T+1-P.length).join(S)+$},E={s:w,z:function($){var T=-$.utcOffset(),S=Math.abs(T),P=Math.floor(S/60),C=S%60;return(T<=0?"+":"-")+w(P,2,"0")+":"+w(C,2,"0")},m:function $(T,S){if(T.date()<S.date())return-$(S,T);var P=12*(S.year()-T.year())+(S.month()-T.month()),C=T.clone().add(P,f),x=S-C<0,I=T.clone().add(P+(x?-1:1),f);return+(-(P+(S-C)/(x?C-I:I-C))||0)},a:function($){return $<0?Math.ceil($)||0:Math.floor($)},p:function($){return{M:f,y:h,w:l,d:u,D:d,h:c,m:a,s,ms:i,Q:p}[$]||String($||"").toLowerCase().replace(/s$/,"")},u:function($){return $===void 0}},O="en",R={};R[O]=A;var F="$isDayjsObject",D=function($){return $ instanceof H||!(!$||!$[F])},j=function $(T,S,P){var C;if(!T)return O;if(typeof T=="string"){var x=T.toLowerCase();R[x]&&(C=x),S&&(R[x]=S,C=x);var I=T.split("-");if(!C&&I.length>1)return $(I[0])}else{var U=T.name;R[U]=T,C=U}return!P&&C&&(O=C),C||!P&&O},_=function($,T){if(D($))return $.clone();var S=typeof T=="object"?T:{};return S.date=$,S.args=arguments,new H(S)},N=E;N.l=j,N.i=D,N.w=function($,T){return _($,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var H=function(){function $(S){this.$L=j(S.locale,null,!0),this.parse(S),this.$x=this.$x||S.x||{},this[F]=!0}var T=$.prototype;return T.parse=function(S){this.$d=function(P){var C=P.date,x=P.utc;if(C===null)return new Date(NaN);if(N.u(C))return new Date;if(C instanceof Date)return new Date(C);if(typeof C=="string"&&!/Z$/i.test(C)){var I=C.match(b);if(I){var U=I[2]-1||0,Y=(I[7]||"0").substring(0,3);return x?new Date(Date.UTC(I[1],U,I[3]||1,I[4]||0,I[5]||0,I[6]||0,Y)):new Date(I[1],U,I[3]||1,I[4]||0,I[5]||0,I[6]||0,Y)}}return new Date(C)}(S),this.init()},T.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},T.$utils=function(){return N},T.isValid=function(){return this.$d.toString()!==v},T.isSame=function(S,P){var C=_(S);return this.startOf(P)<=C&&C<=this.endOf(P)},T.isAfter=function(S,P){return _(S)<this.startOf(P)},T.isBefore=function(S,P){return this.endOf(P)<_(S)},T.$g=function(S,P,C){return N.u(S)?this[P]:this.set(C,S)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(S,P){var C=this,x=!!N.u(P)||P,I=N.p(S),U=function(Pe,re){var Ee=N.w(C.$u?Date.UTC(C.$y,re,Pe):new Date(C.$y,re,Pe),C);return x?Ee:Ee.endOf(u)},Y=function(Pe,re){return N.w(C.toDate()[Pe].apply(C.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(re)),C)},W=this.$W,q=this.$M,ee=this.$D,qe="set"+(this.$u?"UTC":"");switch(I){case h:return x?U(1,0):U(31,11);case f:return x?U(1,q):U(0,q+1);case l:var De=this.$locale().weekStart||0,ft=(W<De?W+7:W)-De;return U(x?ee-ft:ee+(6-ft),q);case u:case d:return Y(qe+"Hours",0);case c:return Y(qe+"Minutes",1);case a:return Y(qe+"Seconds",2);case s:return Y(qe+"Milliseconds",3);default:return this.clone()}},T.endOf=function(S){return this.startOf(S,!1)},T.$set=function(S,P){var C,x=N.p(S),I="set"+(this.$u?"UTC":""),U=(C={},C[u]=I+"Date",C[d]=I+"Date",C[f]=I+"Month",C[h]=I+"FullYear",C[c]=I+"Hours",C[a]=I+"Minutes",C[s]=I+"Seconds",C[i]=I+"Milliseconds",C)[x],Y=x===u?this.$D+(P-this.$W):P;if(x===f||x===h){var W=this.clone().set(d,1);W.$d[U](Y),W.init(),this.$d=W.set(d,Math.min(this.$D,W.daysInMonth())).$d}else U&&this.$d[U](Y);return this.init(),this},T.set=function(S,P){return this.clone().$set(S,P)},T.get=function(S){return this[N.p(S)]()},T.add=function(S,P){var C,x=this;S=Number(S);var I=N.p(P),U=function(q){var ee=_(x);return N.w(ee.date(ee.date()+Math.round(q*S)),x)};if(I===f)return this.set(f,this.$M+S);if(I===h)return this.set(h,this.$y+S);if(I===u)return U(1);if(I===l)return U(7);var Y=(C={},C[a]=n,C[c]=o,C[s]=r,C)[I]||1,W=this.$d.getTime()+S*Y;return N.w(W,this)},T.subtract=function(S,P){return this.add(-1*S,P)},T.format=function(S){var P=this,C=this.$locale();if(!this.isValid())return C.invalidDate||v;var x=S||"YYYY-MM-DDTHH:mm:ssZ",I=N.z(this),U=this.$H,Y=this.$m,W=this.$M,q=C.weekdays,ee=C.months,qe=C.meridiem,De=function(re,Ee,pt,jt){return re&&(re[Ee]||re(P,x))||pt[Ee].slice(0,jt)},ft=function(re){return N.s(U%12||12,re,"0")},Pe=qe||function(re,Ee,pt){var jt=re<12?"AM":"PM";return pt?jt.toLowerCase():jt};return x.replace(g,function(re,Ee){return Ee||function(pt){switch(pt){case"YY":return String(P.$y).slice(-2);case"YYYY":return N.s(P.$y,4,"0");case"M":return W+1;case"MM":return N.s(W+1,2,"0");case"MMM":return De(C.monthsShort,W,ee,3);case"MMMM":return De(ee,W);case"D":return P.$D;case"DD":return N.s(P.$D,2,"0");case"d":return String(P.$W);case"dd":return De(C.weekdaysMin,P.$W,q,2);case"ddd":return De(C.weekdaysShort,P.$W,q,3);case"dddd":return q[P.$W];case"H":return String(U);case"HH":return N.s(U,2,"0");case"h":return ft(1);case"hh":return ft(2);case"a":return Pe(U,Y,!0);case"A":return Pe(U,Y,!1);case"m":return String(Y);case"mm":return N.s(Y,2,"0");case"s":return String(P.$s);case"ss":return N.s(P.$s,2,"0");case"SSS":return N.s(P.$ms,3,"0");case"Z":return I}return null}(re)||I.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(S,P,C){var x,I=this,U=N.p(P),Y=_(S),W=(Y.utcOffset()-this.utcOffset())*n,q=this-Y,ee=function(){return N.m(I,Y)};switch(U){case h:x=ee()/12;break;case f:x=ee();break;case p:x=ee()/3;break;case l:x=(q-W)/6048e5;break;case u:x=(q-W)/864e5;break;case c:x=q/o;break;case a:x=q/n;break;case s:x=q/r;break;default:x=q}return C?x:N.a(x)},T.daysInMonth=function(){return this.endOf(f).$D},T.$locale=function(){return R[this.$L]},T.locale=function(S,P){if(!S)return this.$L;var C=this.clone(),x=j(S,P,!0);return x&&(C.$L=x),C},T.clone=function(){return N.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},$}(),V=H.prototype;return _.prototype=V,[["$ms",i],["$s",s],["$m",a],["$H",c],["$W",u],["$M",f],["$y",h],["$D",d]].forEach(function($){V[$[1]]=function(T){return this.$g(T,$[0],$[1])}}),_.extend=function($,T){return $.$i||($(T,H,_),$.$i=!0),_},_.locale=j,_.isDayjs=D,_.unix=function($){return _(1e3*$)},_.en=R[O],_.Ls=R,_.p={},_})})(qo);var me=qo.exports;function ql(e){return e?me(e,["YYYYMMDDHHmmss","YYYYMMDDHHmm","YYYYMMDD","YYYYMM","YYYY"]).toDate():null}function zl(e){if(e&&/^[0-9]+$/.test(e))switch(e.length){case 14:return me(e,["YYYYMMDDHHmmss"]).format("YYYY-MM-DD HH:mm:ss");case 12:return me(e,["YYYYMMDDHHmmss"]).format("YYYY-MM-DD HH:mm");case 8:return me(e,["YYYYMMDD"]).format("YYYY-MM-DD");case 6:return me(e,["YYYYMM"]).format("YYYY-MM");case 4:return e.substring(0,2)+"-"+e.substring(2,2)}else return e||"-"}function Gl(e){if(e&&/^[0-9]+$/.test(e))switch(e.length){case 14:return me(e,["YYYYMMDDHHmmss"]).format("YYYY\u5E74MM\u6708DD\u65E5 HH:mm:ss");case 12:return me(e,["YYYYMMDDHHmmss"]).format("YYYY\u5E74MM\u6708DD\u65E5 HH:mm");case 8:return me(e,["YYYYMMDD"]).format("YYYY\u5E74MM\u6708DD\u65E5");case 6:return me(e,["YYYYMM"]).format("YYYY\u5E74MM\u6708");case 4:return e.substring(0,2)+"\u5E74"+e.substring(2,2)+"\u6708"}else return e||"-"}const zo={}.toString,Jl=Object.prototype.hasOwnProperty,Kl=1e-5,Ql=Object.prototype,Go=e=>e===null,Jo=e=>e===void 0,je=e=>Go(e)||Jo(e),Ko=e=>zo.call(e).replace(/^\[object /,"").replace(/]$/,""),ue=(e,t)=>zo.call(e)===`[object ${t}]`,Qo=e=>{const t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Ql;return e===r},Xl=e=>ue(e,"Boolean"),we=e=>ue(e,"Number"),Bt=e=>ue(e,"String"),Vr=e=>Array.isArray?Array.isArray(e):ue(e,"Array"),Lt=e=>e!==null&&typeof e!="function"&&Number.isFinite(e.length),Zl=e=>{const t=typeof e;return e!==null&&t==="object"||t==="function"},Ut=e=>typeof e=="object"&&e!==null,ec=e=>{if(!Ut(e)||!ue(e,"Object"))return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t},Wr=e=>ue(e,"Function"),tc=e=>e&&typeof e.then=="function",rc=e=>ue(e,"Date"),nc=e=>ue(e,"Arguments"),oc=e=>ue(e,"RegExp"),ic=e=>ue(e,"Error"),ac=e=>e instanceof Element||e instanceof HTMLDocument,sc=e=>{if(je(e))return!0;if(Lt(e))return!e.length;const t=Ko(e);if(["Map","Set"].includes(t))return!e.size;if(Qo(e))return!Object.keys(e).length;for(const r in e)if(Jl.call(e,r))return!1;return!0},kt=(e,t)=>{if(e===t)return!0;if(!e||!t||Bt(e)||Bt(t))return!1;if(Lt(e)||Lt(t)){if(e.length!==t.length)return!1;let r=!0;for(let n=0;n<e.length&&(r=kt(e[n],t[n]),!!r);n++);return r}if(Ut(e)||Ut(t)){const r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;let o=!0;for(let i=0;i<r.length&&(o=kt(e[r[i]],t[r[i]]),!!o);i++);return o}return!1},uc=e=>we(e)&&e%2===0,lc=e=>we(e)&&e%2!==0,cc=e=>we(e)&&Number.isFinite(e),fc=Number.isInteger?Number.isInteger:e=>we(e)&&e%1===0,pc=e=>we(e)&&e%1!==0,dc=e=>we(e)&&e<0,hc=e=>we(e)&&e>0,mc=(e,t,r=Kl)=>Math.abs(e-t)<r,yc=(e,t,r)=>Wr(r)?!!r(e,t):kt(e,t),Xo="IS_ENUM",gc={1:"\u662F",0:"\u5426"},Zo=[{K:"1",V:"\u662F"},{K:"0",V:"\u5426"}],vc={MANAGE_UNIT_ID:"00000000000000000000000020370001",ORG_CODE_ADMIN:"default",ORG_CODE_MKT:"08",ORG_CODE_LOG:"08",ORG_CODE_ACTIVITY:"08",ADMIN_LEVEL_IND:"01",ADMIN_LEVEL_CENTER:"02",ADMIN_LEVEL_FAC:"03",ADMIN_LEVEL_DIST:"04",ADMIN_LEVEL_COMMON_DEPT:"08",ADMIN_LEVEL_COMMON_POST:"80",LEVEL_IND:"01",LEVEL_CENTER:"02",LEVEL_FAC:"02",LEVEL_DIST:"04",LEVEL_CIGAR_DIST:"05",LEVEL_COMMON_DEPT:"03",LEVEL_COMMON_POST:"80",LEVEL_DIST_MANAGE_POST:"81",LEVEL_CUST_MANAGE_POST:"82",LEVEL_CIGAR_DIST_MANAGE_POST:"83",LEVEL_CIGAR_CUST_MANAGE_POST:"84",LEVEL_INTERNAL_POST:"85"};function bc(e=[],t="K",r="V"){return e.map(n=>({K:n[t],V:n[r]}))}function wc(e=[],t="K",r="V"){return e.reduce(n=>({...n,[n[t]]:n[r]}),{})}function ei(e=[],t={}){const r=k.default.cloneDeep(e),n=Object.keys(t);return r.forEach(o=>{const i=o.field||o.key,s=["enum","select"].includes(o.type);if(n.includes(i)&&s){o.cellRendererParams||(o.cellRendererParams={});const a=t[i];o.type==="enum"?Vr(a)?o.cellRendererParams.enumList=a:o.cellRendererParams.enumData=a:o.type==="select"&&(o.cellRendererParams.datas=a)}o.children&&o.children.length&&(o.children=ei(o.children,t))}),r}function Ec(e=[],t={}){const r=k.default.cloneDeep(e),n=Object.keys(t);return r.forEach(o=>{const i=o.formKey;if(n.includes(i)){const s=t[i];Vr(s)?o.enumList=s:o.enumData=s}}),r}function qr(){return window.location.pathname.includes("scyxweb")}const ti=m.config.ossServerContext;function ri(e=""){return`${qr()?"/scyxgateway/ind-uc-ext-server":ti}/oss/file/get/${e}`}function ni(){return`${qr()?"/scyxgateway/ind-uc-ext-server":ti}/oss/file/put`}function Sc(e,t){const r={};return t&&(r.responseType=t),M.get(ri(e),r)}function oi(e,t){let r=new FormData;return r.append("file",t,e),M({method:"post",url:ni(),headers:{"Content-Type":at.multiForm},data:r})}function Ac(e){const t=location.protocol==="https:"?"1":"",r={};return M.get(`${m.config.ucExtServerContext}/api/wps/getPreviewUrl/${e}?isWeb=${t}&previewMode=high_definition`,r)}async function Oc(e,t){const r=navigator.userAgent;if(/miniProgram/i.test(r))window.wx.miniProgram.navigateTo({url:`/pages/download/index?downloadFileId=${e}`});else{const n=`${(qr()?"/scyxgateway":"")+"/ind-uc-ext-server"}/oss/file/get/${e}`,o=Lr(),i=await fetch(n,{headers:{token:o+""}});if(!i.ok)throw new Error(`\u4E0B\u8F7D\u5931\u8D25: ${i.status}`);const s=await i.blob();t||(t=Tc(i));let a="application/octet-stream";const u=(t==null?void 0:t.toLowerCase()).match(/\.([a-z0-9]+)$/),l=u==null?void 0:u[1];Gr[l]&&(a=Gr[l]);const f=new Blob([s],{type:a}),p=window.URL.createObjectURL(f),h=document.createElement("a");h.href=p,h.download=t,h.style.display="none",h.target="_blank",document.body.appendChild(h),h.click(),document.body.removeChild(h)}}function Cc(e){if(!e)return null;console.log("\u539F\u59CB Content-Disposition:",e);const t=e.match(/filename\*=(?:UTF-8''|UTF-8\s*'')([^;]+)/i);if(t&&t[1])try{const i=decodeURIComponent(t[1].trim());return console.log("\u89E3\u6790 RFC 5987 \u6587\u4EF6\u540D:",i),i}catch(i){console.warn("RFC 5987 \u89E3\u7801\u5931\u8D25:",i)}const r=e.match(/filename\*=([^;]+)/i);if(r&&r[1]){const i=r[1].trim();if(i.includes("''")){const s=i.split("''");if(s.length===2)try{const a=decodeURIComponent(s[1]);return console.log("\u89E3\u6790 filename* \u6587\u4EF6\u540D:",a),a}catch(a){console.warn("filename* \u89E3\u7801\u5931\u8D25:",a)}}}const n=e.match(/filename="([^"]+)"/i);if(n&&n[1])return console.log("\u89E3\u6790\u5F15\u53F7\u5185\u6587\u4EF6\u540D:",n[1]),n[1];const o=e.match(/filename=([^;]+)/i);if(o&&o[1]){const i=o[1].trim();return console.log("\u89E3\u6790\u65E0\u5F15\u53F7\u6587\u4EF6\u540D:",i),i}return console.log("\u672A\u627E\u5230\u6709\u6548\u7684\u6587\u4EF6\u540D"),null}function Tc(e){const t=e.headers.get("Content-Disposition");console.log("Content-Disposition \u5934:",t);let r=null;return t&&(r=Cc(t),console.log("\u89E3\u6790\u5230\u7684\u6587\u4EF6\u540D:",r)),!r&&e.url&&(r=$c(e.url),console.log("\u4ECE URL \u63D0\u53D6\u7684\u6587\u4EF6\u540D:",r)),r||(r="download",console.log("\u4F7F\u7528\u9ED8\u8BA4\u6587\u4EF6\u540D:",r)),r=Rc(r,e.headers.get("Content-Type")),r}function Fc(e){if(!e)return"";const t={"image/jpeg":".jpg","image/jpg":".jpg","image/png":".png","image/gif":".gif","image/webp":".webp","image/svg+xml":".svg","image/bmp":".bmp","application/pdf":".pdf","application/msword":".doc","application/vnd.openxmlformats-officedocument.wordprocessingml.document":".docx","application/vnd.ms-excel":".xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":".xlsx","application/vnd.ms-powerpoint":".ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":".pptx","text/plain":".txt","text/html":".html","text/css":".css","text/javascript":".js","application/json":".json","text/csv":".csv","text/xml":".xml","application/zip":".zip","application/x-rar-compressed":".rar","application/x-7z-compressed":".7z","application/gzip":".gz","application/octet-stream":".bin"},r=e.split(";")[0].trim();return t[r]||""}function Rc(e,t){if(e.includes("."))return e;const r=Fc(t);return r?e+r:e}function $c(e){try{return new URL(e).pathname.split("/").pop().split("?")[0].split("#")[0]||null}catch(t){return console.warn("\u4ECE URL \u63D0\u53D6\u6587\u4EF6\u540D\u5931\u8D25:",t),null}}const ii={bold:!0,fontSize:"14",horizontalAlignment:"center",verticalAlignment:"center"},ai={fontSize:"10",horizontalAlignment:"left",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},si={fontSize:"10",horizontalAlignment:"right",verticalAlignment:"center",topBorder:!0,bottomBorder:!0},ui={bold:!0,fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",fill:"bdc3c7",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},ie={fontSize:"10",horizontalAlignment:"center",verticalAlignment:"center",topBorder:!0,bottomBorder:!0,leftBorder:!0,rightBorder:!0},li=27,ci=18,fi=18,pi=18;function zr({columns:e,datas:t}){var r=k.default.cloneDeep(e),n=k.default.cloneDeep(t);k.default.remove(r,w=>{var E;return w.cellClass&&((E=w==null?void 0:w.cellClass)==null?void 0:E.indexOf("button"))!=-1}),n.forEach((w,E)=>{w.__seq=E+1}),k.default.forEach(r,w=>{var E;w.cellClass&&((E=w==null?void 0:w.cellClass)==null?void 0:E.indexOf("enum"))!=-1&&n.forEach(O=>{O[w.field]=w.cellRendererParams.datas[O[w.field]]})});const o=w=>{if(w.children){var E=1+Math.max(...w.children.map(O=>o(O)));return w.deepth=E,E}else return 1};var i=Math.max(...r.map(w=>{var E=o(w);return w.deepth=E,E}));console.log("calc deepth = ",i);const s=w=>{if(w.children){var E=k.default.sum(w.children.map(O=>s(O)));return w.width=E,E}else return 1};var a=k.default.sum(r.map(w=>{var E=s(w);return w.width=E,E}));console.log("calc width = ",a),console.log("now columnsClo is ",r);var c=[],u=1,l=0;function f(w,E){l+=1,w.reduce((O,R,F)=>(R.children?(O.push({text:R.excelName||R.headerName||R.title,srow:l,scol:u,erow:l,ecol:u+R.width-1}),f(R.children,O)):(O.push({text:R.excelName||R.headerName||R.title,srow:l,scol:u,erow:i,ecol:u}),u+=1),O),E),l-=1}f(r,c);var p=[];function h(w,E){w.reduce((O,R)=>(R.children?h(R.children,O):O.push(R),O),E)}h(r,p);var d=p.map(w=>w.align||"left"),v=p.map(w=>w.align=="right"||w.align=="rightNum"?"n":"s"),b=p.map(w=>w.excelWidth?w.excelWidth:w.width?Math.floor(w.width/10):10),g=p.map(w=>w.numberFormat===void 0?w.align=="rightNum"?"#,##0.0000":w.align=="right"?"#,##0.00":"":w.numberFormat);p.map((w,E)=>{w.field=w.field?w.field:w.key;var O=w.excelName||w.headerName||w.title;O=O.replace(/<br\/>/g,""),w.columnWidth!==void 0?b[E]=w.columnWidth:O&&b[E]<O.length*2&&(b[E]=O.length*2)});var A=n.map(w=>p.map((E,O)=>{E.columnWidth!==void 0?b[O]=E.columnWidth:w[E.field]&&b[O]<(""+w[E.field]).length*2&&(b[O]=(""+w[E.field]).length*2);let R=null;E.cellStyle&&(E.cellStyle instanceof Function?R=E.cellStyle(w[E.field],w,n):R=E.cellStyle);let F=null;return E.formula&&(E.formula instanceof Function?F=E.formula(w[E.field],w,n):F=E.formula),{cellStyle:R,formula:F,value:w[E.field]}}));return{deepth:i,columnAlign:d,columnType:v,columnWidth:b,exportData:A,numberFormat:g,columnTitle:c,columnsCalc:p}}var Ht=[];function di(e){if(e.rowSpanColumns){let n=function(o,i){var s=k.default.findIndex(e.columns,{field:o});if(!t[o]){var a=[],c="CUR_VAL",u={};k.default.forEach(e.datas,function(l,f){var p=i?l[o]!=c||f==(r[""+f]||{}).first:l[o]!=c;if(p){if(!i&&u.first!==void 0)for(var h=u.first;h<=u.last;h++)r[""+h]={first:u.first,last:u.last};c=l[o],u={col:o,val:c,first:f,last:f,rowSpan:1},a.push(u)}else if(u.last=f,u.rowSpan=u.last-u.first+1,a.push({rowSpan:0}),!i&&f==e.datas.length-1)for(var h=u.first;h<=u.last;h++)r[""+h]={first:u.first,last:u.last}}),t[o]=a,k.default.forEach(a,function(l,f){l.rowSpan>1&&Ht.push({mergeRowS:f,mergeRowE:f+l.rowSpan-1,megerColS:s,megerColE:s})})}};e.rowSpanIndexCol&&(e.rowSpanIndexCol=e.rowSpanColumns[0]);var t={},r={};n(e.rowSpanIndexCol),k.default.forEach(e.rowSpanColumns,function(o){n(o,!0)})}}function Dc(e){var t=zr(e);console.log("calcExportDatas",t);var r=e.title,n=t.deepth,o=e.columnAlign||t.columnAlign,i=e.columnType||t.columnType,s=t.columnTitle,a=e.columnWidth||t.columnWidth,c=o.length,u=e.paramLeft,l=e.paramRight,f=t.exportData,p=e.numberFormat||t.numberFormat;XlsxPopulate.fromBlankAsync().then(h=>{var d=h.sheet("Sheet1");d.name(r);for(var v=0;v<c;v++)d.column(v+1).width(a[v]==0?10:a[v]);var b=d.range(1,1,1,c);b.merged(!0),b.style(ii),b.cell(0,0).value(r),d.row(1).height(li);var g=2;if(!!e.paramLeft||!!e.paramRight){var A=d.range(2,1,2,Math.round(c/2));A.cell(0,0).value(u||""),A.merged(!0),A.style(ai);var w=d.range(2,Math.round(c/2)+1,2,c);w.cell(0,0).value(l||""),w.merged(!0),w.style(si),d.row(2).height(ci),g+=1}s.forEach(F=>{var D=d.range(F.srow+g-1,F.scol,F.erow+g-1,F.ecol);D.merged(!0),D.style(ui),D.cell(0,0).value(F.text.replace(/<br\/>/g,""))});for(let F=0;F<n;F++)d.row(g+F).height(fi);g+=n;for(var v=0;v<f.length;v++){for(var E=f[v],O=0;O<E.length;O++)if(i[O]==="s"&&E[O]?(d.cell(g+v,O+1).value(E[O].value),ie.numberFormat=""):i[O]==="n"&&E[O]?(d.cell(g+v,O+1).value(E[O].value?parseFloat(E[O].value):E[O].value),ie.numberFormat=p[O]):i[O]==="n"?ie.numberFormat=p[O]:d.cell(g+v,O+1).value(""),E[O].formula&&d.cell(g+v,O+1).formula(E[O].formula),ie.horizontalAlignment=o[O],E[O].cellStyle){let D=k.default.merge({},ie,E[O].cellStyle);d.cell(g+v,O+1).style(D)}else d.cell(g+v,O+1).style(ie);if(e.rowColor&&v%2!=0){var R=d.range(g+v,1,g+v,c);R.style({fill:"f8f8f9"})}d.row(g+v).height(pi)}e.rowSpanColumns&&(di({...e,columns:t.columnsCalc}),k.default.forEach(Ht,function(F){var D=d.range(F.mergeRowS+g,F.megerColS+1,F.mergeRowE+g,F.megerColE+1);D.merged(!0)})),d.freezePanes(e.leftColumns||0,(e.topRows||0)+g-1),h.outputAsync().then(function(F){if(window.navigator&&window.navigator.msSaveOrOpenBlob)window.navigator.msSaveOrOpenBlob(F,r+".xlsx");else{var D=window.URL.createObjectURL(F),j=document.createElement("a");document.body.appendChild(j),j.href=D,j.download=r+".xlsx",j.click(),window.URL.revokeObjectURL(D),document.body.removeChild(j)}})}).catch(h=>console.log(h))}function Pc(e){return new Promise((t,r)=>{var n=zr(e),o=n.deepth;const i=new FileReader;i.onload=async s=>{XlsxPopulate.fromDataAsync(s.target.result).then(a=>{var p;var c=a.sheet(0),u=2;(!!e.paramLeft||!!e.paramRight)&&(u+=1),u+=o;let l=[];for(let h=u;h<c._rows.length;h++){var f=c.row(h);let d={};l.push(d);for(let v=1;v<f._cells.length;v++){let b=(p=f._cells[v])==null?void 0:p._value;if(v>n.columnsCalc.length)continue;let g=n.columnsCalc[v-1];d[g.field]=b}}t(l)}).catch(a=>console.log(a))},i.readAsArrayBuffer(e.file)})}const hi=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];function _c(e){if(!e)return"";let t="";const r=hi.length;for(;e>=0;){const n=e%r;t=hi[n]+t,e=parseInt((e-n)/r)-1}return t}function Nc(e){return new Promise((t,r)=>{var n=zr(e),o="";console.log("calcExportDatas",n);var i=e.title,s=n.deepth,a=e.columnAlign||n.columnAlign,c=e.columnType||n.columnType,u=n.columnTitle,l=e.columnWidth||n.columnWidth,f=a.length,p=e.paramLeft,h=e.paramRight,d=n.exportData,v=e.numberFormat||n.numberFormat;XlsxPopulate.fromBlankAsync().then(b=>{for(var g=b.sheet("Sheet1"),A=0;A<f;A++)g.column(A+1).width(l[A]==0?10:l[A]);var w=g.range(1,1,1,f);w.merged(!0),w.style(ii),w.cell(0,0).value(i),g.row(1).height(li);var E=2;if(!!e.paramLeft||!!e.paramRight){var O=g.range(2,1,2,Math.round(f/2));O.cell(0,0).value(p||""),O.merged(!0),O.style(ai);var R=g.range(2,Math.round(f/2)+1,2,f);R.cell(0,0).value(h||""),R.merged(!0),R.style(si),g.row(2).height(ci),E+=1}u.forEach(_=>{var H;var N=g.range(_.srow+E-1,_.scol,_.erow+E-1,_.ecol);N.merged(!0),N.style(ui),N.cell(0,0).value((H=_.text)==null?void 0:H.replace(/<br\/>/g,""))});for(let _=0;_<s;_++)g.row(E+_).height(fi);E+=s;for(var A=0;A<d.length;A++){for(var F=d[A],D=0;D<F.length;D++)c[D]==="p"&&F[D]?(g.cell(E+A,D+1).value(parseFloat(F[D].value/100)),ie.numberFormat=v[D]):c[D]==="n"&&F[D]?(g.cell(E+A,D+1).value(parseFloat(F[D].value)),ie.numberFormat=v[D]):c[D]==="s"&&F[D]?(g.cell(E+A,D+1).value(F[D].value),ie.numberFormat=""):c[D]==="p"||c[D]==="n"?ie.numberFormat=v[D]:g.cell(E+A,D+1).value(""),ie.horizontalAlignment=a[D],g.cell(E+A,D+1).style(ie);if(e.rowColor&&A%2!=0){var j=g.range(E+A,1,E+A,f);j.style({fill:"f8f8f9"})}g.row(E+A).height(pi)}e.rowSpanDefs?(initRowSpanInfosNew({...e,columns:n.columnsCalc}),k.default.forEach(Ht,function(_){var N=g.range(_.mergeRowS+E,_.megerColS+1,_.mergeRowE+E,_.megerColE+1);N.merged(!0)})):e.rowSpanColumns&&(di({...e,columns:n.columnsCalc}),k.default.forEach(Ht,function(_){var N=g.range(_.mergeRowS+E,_.megerColS+1,_.mergeRowE+E,_.megerColE+1);N.merged(!0)})),(e.leftColumns||e.topRows)&&g.freezePanes(e.leftColumns||0,(e.topRows||0)+E-1),b.outputAsync().then(async function(_){const H=`${new Date().getTime()}.xlsx`;let{data:V}=await oi(H,_);console.log("data is --111111",V),o=(V==null?void 0:V[0].fileId)||"",t(o)})}).catch(b=>{console.log(b),r(b)})})}function Mc(){return document.addEventListener?function(e,t,r){e&&t&&r&&e.addEventListener(t,r,!1)}:function(e,t,r){e&&t&&r&&e.attachEvent("on"+t,r)}}function xc(){return window.document.removeEventListener?function(e,t,r){e&&t&&e.removeEventListener(t,r,!1)}:function(e,t,r){e&&t&&e.detachEvent("on"+t,r)}}function Ic(e,t,r){const n=Mc();return n(e,t,r),n}function Bc(e,t,r){const n=xc();return n(e,t,r),n}const mi=e=>e.stopPropagation();function Lc(e,t){(typeof e.cancelable!="boolean"||e.cancelable)&&e.preventDefault(),t&&mi(e)}function Uc(e){if(!e||e.length<4)return"";const t=e.substring(0,4),r=e.substring(4,6),n=yi(parseInt(r));return r?`${t}H${n}`:`${t}`}function yi(e){if(typeof e=="string"){if(isNaN(parseInt(e)))return 0;e=parseInt(e)}return e<=6?1:2}function kc(e){if(!e||e.length<4)return e;const t=e.substring(0,4);if(!e.substring(4,6))return`${t}\u5168\u5E74`;const o=parseInt(e.substring(5))===1?"\u4E0A\u534A\u5E74":"\u4E0B\u534A\u5E74";return`${t}${o}`}function Hc(e){if(!e||e.length<4)return e;const t=e.substring(0,4);if(!e.substring(4,6))return`${t}01`;const o=parseInt(e.substring(5))*6-5,i=o<10?`0${o}`:`${o}`;return`${t}${i}`}function Yc(e){if(!e||e.length<4)return e;const t=e.substring(0,4);if(!e.substring(4,6))return`${t}12`;const o=parseInt(e.substring(5))*2,i=o<10?`0${o}`:`${o}`;return`${t}${i}`}const Gr={aac:"audio/aac",abw:"application/x-abiword",arc:"application/x-freearc",avi:"video/x-msvideo",azw:"application/vnd.amazon.ebook",bin:"application/octet-stream",bmp:"image/bmp",bz:"application/x-bzip",bz2:"application/x-bzip2",csh:"application/x-csh",css:"text/css",csv:"text/csv",doc:"application/msword",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",eot:"application/vnd.ms-fontobject",epub:"application/epub+zip",gif:"image/gif",html:"text/html",ico:"image/vnd.microsoft.icon",ics:"text/calendar",jar:"application/java-archive",jpg:"image/jpeg",jpeg:"image/jpeg",js:"text/javascript",json:"application/json",jsonld:"application/ld+json",mid:"audio/midi",midi:"audio/x-midi",mjs:"text/javascript",mp3:"audio/mpeg",mpeg:"video/mpeg",mpkg:"application/vnd.apple.installer+xml",odp:"application/vnd.oasis.opendocument.presentation",ods:"application/vnd.oasis.opendocument.spreadsheet",odt:"application/vnd.oasis.opendocument.text",oga:"audio/ogg",ogv:"video/ogg",ogx:"application/ogg",otf:"font/otf",png:"image/png",pdf:"application/pdf",ppt:"application/vnd.ms-powerpoint",pptx:"application/vnd.openxmlformats-officedocument.presentationml.presentation",rar:"application/x-rar-compressed",rtf:"application/rtf",sh:"application/x-sh",svg:"image/svg+xml",swf:"application/x-shockwave-flash",tar:"application/x-tar",tiff:"image/tiff",ttf:"font/ttf",txt:"text/plain",vsd:"application/vnd.visio",wav:"audio/wav",weba:"audio/webm",webm:"video/webm",webp:"image/webp",woff:"font/woff",woff2:"font/woff2",xhtml:"application/xhtml+xml",xls:"application/vnd.ms-excel",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xul:"application/vnd.mozilla.xul+xml",zip:"application/zip","7z":"application/x-7z-compressed"};function jc(e){let t="";for(e=(e||0).toString();e.length>3;)t=","+e.slice(-3)+t,e=e.slice(0,e.length-3);return e&&(t=e+t),t}function Vc(e){const t=e.length,r=["\u96F6","\u58F9","\u8D30","\u53C1","\u8086","\u4F0D","\u9646","\u67D2","\u634C","\u7396"],n=["\u4EDF","\u4F70","\u62FE","\u4EBF","\u4EDF","\u4F70","\u62FE","\u4E07","\u4EDF","\u4F70","\u62FE"];let o=[],i=[],s="";for(let a=0;a<t;a++)o.push(parseInt(e[a])),i[a]=r[o[a]];for(let a=t-1,c=1;a>0;a--)i.splice(a,0,n[n.length-c++]);return s=i.join(""),t>=1&&(s+="\u5143\u6574"),s}function Wc(e){if(!/^(0|[1-9]\d*)(\.\d+)?$/.test(e))return"\u6570\u636E\u975E\u6CD5";let t="\u5343\u767E\u62FE\u4EBF\u5343\u767E\u62FE\u4E07\u5343\u767E\u62FE\u5143\u89D2\u5206",r="";e+="00";let n=e.indexOf(".");n>=0&&(e=e.substring(0,n)+e.substr(n+1,2)),t=t.substr(t.length-e.length);for(let o=0;o<e.length;o++)r+="\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396".charAt(parseInt(e.charAt(o)))+t.charAt(o);return r.replace(/零(千|百|拾|角)/g,"\u96F6").replace(/(零)+/g,"\u96F6").replace(/零(万|亿|元)/g,"$1").replace(/(亿)万|壹(拾)/g,"$1$2").replace(/^元零?|零分/g,"").replace(/元$/g,"\u5143\u6574")}function qc(e,t=2){e=e.toString();let r=e.indexOf(".");return r!==-1?e=e.substring(0,t+r+1):e=e.substring(0),parseFloat(e).toFixed(t)}function gi(e,t=2){if(typeof e=="number"){const n=/([0-9])+e([-0-9]+)/.exec(e+"")||[];if(n.length>2){const o=n[1],i=n[2];return Math.round(parseFloat(+o+"e"+(+i+t)))/Math.pow(10,t)}return Math.round(parseFloat(+e+"e"+t))/Math.pow(10,t)}return e}function zc(e,t=2){const r=parseFloat(e+"");return!isNaN(r)&&(r||r===0)?gi(r,t).toFixed(t):e}const Gc=e=>{if(isNaN(e))throw"numToChineseNumerals: \u6570\u636E\u975E\u6CD5";return e=Number(e),vi(e).replace(/^零/,"").replace(/^一十/,"\u5341")},Jc=["\u96F6","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D","\u4E03","\u516B","\u4E5D"],Kc=["","\u5341","\u767E","\u5343"];function vi(e){if(e===0)return"";const t=Math.floor(Math.log10(e)),r=Math.floor(t/8),n=Math.floor(t%8/4);let o=Math.floor(e/Math.pow(10,4*n+8*r)),i=e%Math.pow(10,4*n+8*r),s=k.default(String(o).padStart(4,"0")).split("").map((a,c)=>Jc[a]+(a==="0"?"":Kc[3-c])).uniq().value().join("").replace(/零$/,"");for(let a=0;a<n;a++)s+="\u4E07";for(let a=0;a<r;a++)s+="\u4EBF";return s+vi(i)}function bi(e){return e?["\u4E00","\u4E8C","\u4E09","\u56DB"][e-1]:""}function Qc(e){if(!e||e.length<6)return"";const t=e.substring(0,4),r=e.substring(4,6),n=wi(parseInt(r));return`${t}Q${n}`}function wi(e){if(typeof e=="string"){if(isNaN(parseInt(e)))return 0;e=parseInt(e)}return Math.ceil(e/3)}function Xc(e){if(!e||e.length<6)return e;const t=e.substring(0,4),r=parseInt(e.substring(5));return`${t}\u7B2C${bi(r)}\u5B63\u5EA6`}function Zc(e){if(!e||e.length<6)return e;const t=e.substring(0,4),n=parseInt(e.substring(5))*3-2,o=n<10?`0${n}`:`${n}`;return`${t}${o}`}function ef(e){if(!e||e.length<6)return e;const t=e.substring(0,4),n=parseInt(e.substring(5))*3,o=n<10?`0${n}`:`${n}`;return`${t}${o}`}const ye="__",Ve="--";function Jr({tooltip:e,item:t,parents:r,title:n}){let o=null;return e&&(Wr(e)?o=e(t,r):e===!0?o=n:o=e),o}function Kr(e,t,r={}){var E;const{key:n,keyProp:o,title:i,titleProp:s,titleFormatter:a,sortProp:c,sortOrder:u="asc",keyLastSuffix:l,isLimitChildren:f,headerTooltip:p,children:h,...d}=t,{keyPropName:v="key",titlePropName:b="title",keyPrefix:g="",parents:A=[]}=r;if(o){let O=((E=k.default.uniqBy(e,t.keyProp))==null?void 0:E.filter(R=>!je(R[t.keyProp])))||[];if(c){const R=O.filter(D=>je(D[c])),F=O.filter(D=>!je(D[c]));O=k.default.orderBy(F,[c],[u]).concat(R)}return O.map(R=>{const F=a?a(R[s]):R[s];if(h&&h.length){const j=`${g}${o}${Ve}${R[o]}${ye}`,_=h.map(N=>{let H=f?e.filter(V=>V[o]===R[o]):e;return Kr(H,N,{...r,keyPrefix:j,parents:[...A,R]})});return{...d,[b]:F,headerTooltip:Jr({tooltip:p,item:R,parents:A,title:F}),children:k.default.flatten(_)}}const D=l?`${ye}${l}`:"";return{...d,[v]:`${g}${o}${Ve}${R[o]}${D}`,[b]:F,headerTooltip:Jr({tooltip:p,item:R,parents:A,title:F})}})}const w=Jr({tooltip:p,item:{},parents:A,title:i});if(h&&h.length){const O=`${g}${n||""}`,R=h.map(F=>Kr(e,F,{...r,keyPrefix:O}));return{...d,[b]:i,headerTooltip:w,children:k.default.flatten(R)}}return{...d,[v]:`${g}${n||""}`,[b]:i,headerTooltip:w}}function Qr(e=[]){return!e||!e.length?[]:e.reduce((t,r)=>r.children?[...t,...Qr(r.children)]:[...t,r],[])}function Ei(e,t){var o;if(!t.length)return;const r=t[0];if(t=t.slice(1),r.includes(Ve)&&t.length){const[i,s]=r.split(Ve),a=k.default.filter(e,{[i]:s});return Ei(a,t)}return t.length&&console.error("\u600E\u4E48\u4F1A\u4E0D\u662F\u6700\u540E\u4E00\u5C42\u5206\u7EC4\u5462\uFF0C\u8BF7\u8054\u7CFB\u5F00\u53D1\u4EBA\u5458\u67E5\u770B\uFF01"),(o=e==null?void 0:e[0])==null?void 0:o[r]}function Yt(e,t){if(!e)return"";if(Bt(t))return e[t]||"";for(const r of t)if(e[r])return e[r];return""}function Si(e,t,r,n,o){if(r>=e.length)return;const i=e[r];let s=k.default.find(n,{key:i});if(!s&&(s={key:i,title:t[r],children:[]},n.push(s),r===e.length-1)){Object.assign(s,o,{title:t[r]});return}Si(e,t,r+1,s.children,o)}function tf({sumColumnDefs:e}){const t=[];for(const r of e){const{key:n,title:o}=r,i=n.split(ye),s=o.split(ye);Si(i,s,0,t,r)}return t}function rf(e=[],t=[],r,n={}){var l;const o=[];n.sumColumnDefs&&n.sumColumnDefs.length&&o.push(...tf(n));const i=k.default.flatten(t.map(f=>Kr(e,f,n)))||[];o.push(...i);const s=Qr(o),a=((l=k.default.uniqBy(e,f=>Yt(f,r)))==null?void 0:l.filter(f=>!je(Yt(f,r))))||[],c=k.default.groupBy(e,f=>Yt(f,r));return{data:a.map(f=>{const p=Yt(f,r),h=c[p]||[],d={...f};return n.sumColumnDefs&&n.sumColumnDefs.length&&n.sumColumnDefs.forEach(v=>{const{key:b}=v,g=b.split(ye)||[],A=(g==null?void 0:g[0])||"",w=(g==null?void 0:g[g.length-1])||"",{sumColKeyProp:E="sumColCode"}=n,O=k.default.find(h,{[E]:A})||{};d[b]=O[w]}),s.forEach(v=>{const b=v[n.keyPropName||"key"]||"",g=b.split(ye)||[],A=Ei(h,g);d[b]=A,delete d[g[g.length-1]]}),d}),columns:o}}function nf(e={},t=[],r={}){const n=[],o={};return Object.keys(e).forEach(s=>{s.includes(ye)||(o[s]=e[s])}),t.forEach(s=>{const a={},c=s[r.keyPropName||"key"]||"";if(c.includes(ye)){const u=c.split(ye);u.forEach((l,f)=>{if(l.includes(Ve)&&u.length){const[p,h]=l.split(Ve);a[p]=h}else if(u.length!==f+1)console.error("columns\u6709\u95EE\u9898\uFF0C\u8BF7\u68C0\u67E5\uFF01");else{const p=k.default.find(n,a);p?p[l]=e[c]:n.push({...o,...a,[l]:e[c]})}})}}),n}function of(e=[],t=[],r={}){const n=Qr(t);return e.reduce((o,i)=>[...o,...nf(i,n,r)],[])}let af=e=>crypto.getRandomValues(new Uint8Array(e)),sf=(e,t,r)=>{let n=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*n*t/e.length);return(i=t)=>{let s="";for(;;){let a=r(o),c=o;for(;c--;)if(s+=e[a[c]&n]||"",s.length===i)return s}}};const uf=((e,t=21)=>sf(e,t,af))("0123456789abcdef",32);function lf(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=Math.random()*16|0,r=e==="x"?t:t&3|8;return r.toString(16)})}function cf(e){var t=new Array("\u9A8C\u8BC1\u901A\u8FC7!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u4F4D\u6570\u4E0D\u5BF9!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u51FA\u751F\u65E5\u671F\u8D85\u51FA\u8303\u56F4\u6216\u542B\u6709\u975E\u6CD5\u5B57\u7B26!","\u8EAB\u4EFD\u8BC1\u53F7\u7801\u6821\u9A8C\u9519\u8BEF!","\u8EAB\u4EFD\u8BC1\u5730\u533A\u975E\u6CD5!"),r={11:"\u5317\u4EAC",12:"\u5929\u6D25",13:"\u6CB3\u5317",14:"\u5C71\u897F",15:"\u5185\u8499\u53E4",21:"\u8FBD\u5B81",22:"\u5409\u6797",23:"\u9ED1\u9F99\u6C5F",31:"\u4E0A\u6D77",32:"\u6C5F\u82CF",33:"\u6D59\u6C5F",34:"\u5B89\u5FBD",35:"\u798F\u5EFA",36:"\u6C5F\u897F",37:"\u5C71\u4E1C",41:"\u6CB3\u5357",42:"\u6E56\u5317",43:"\u6E56\u5357",44:"\u5E7F\u4E1C",45:"\u5E7F\u897F",46:"\u6D77\u5357",50:"\u91CD\u5E86",51:"\u56DB\u5DDD",52:"\u8D35\u5DDE",53:"\u4E91\u5357",54:"\u897F\u85CF",61:"\u9655\u897F",62:"\u7518\u8083",63:"\u9752\u6D77",64:"\u5B81\u590F",65:"\u65B0\u7586",71:"\u53F0\u6E7E",81:"\u9999\u6E2F",82:"\u6FB3\u95E8",91:"\u56FD\u5916"},n,o,i,s,a,c=new Array;if(c=e.split(""),r[parseInt(e.substr(0,2))]==null)return t[4];switch(e.length){case 15:return(parseInt(e.substr(6,2))+1900)%4==0||(parseInt(e.substr(6,2))+1900)%100==0&&(parseInt(e.substr(6,2))+1900)%4==0?a=/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}$/:a=/^[1-9][0-9]{5}19[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}$/,a.test(e)?t[0]:t[2];case 18:return parseInt(e.substr(6,4))%4==0||parseInt(e.substr(6,4))%100==0&&parseInt(e.substr(6,4))%4==0?a=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|[1-2][0-9]))[0-9]{3}[0-9Xx]$/:a=/^[1-9][0-9]{5}(19|20)[0-9]{2}((01|03|05|07|08|10|12)(0[1-9]|[1-2][0-9]|3[0-1])|(04|06|09|11)(0[1-9]|[1-2][0-9]|30)|02(0[1-9]|1[0-9]|2[0-8]))[0-9]{3}[0-9Xx]$/,a.test(e)?(i=(parseInt(c[0])+parseInt(c[10]))*7+(parseInt(c[1])+parseInt(c[11]))*9+(parseInt(c[2])+parseInt(c[12]))*10+(parseInt(c[3])+parseInt(c[13]))*5+(parseInt(c[4])+parseInt(c[14]))*8+(parseInt(c[5])+parseInt(c[15]))*4+(parseInt(c[6])+parseInt(c[16]))*2+parseInt(c[7])*1+parseInt(c[8])*6+parseInt(c[9])*3,n=i%11,s="F",o="10X98765432",s=o.substr(n,1),s==c[17]?t[0]:t[3]):t[2];default:return t[1]}}function ff(e){var t=/^1[3456789]\d{9}$/;return!!t.test(e)}function pf(e){var t=/^([0-9]{3,4}-)?[0-9]{7,8}$/,r=/^((\+?86)|(\(\+86\)))?(13[0123456789][0-9]{8}|15[012356789][0-9]{8}|18[0123456789][0-9]{8}|14[57][0-9]{8}|17[678][0-9]{8})$/;return!!(r.test(e)||t.test(e))}function df(e){return/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z](-)?(([DF]((?![IO])[a-zA-Z0-9](?![IO]))[0-9]{4})|([0-9]{5}[DF]))$/.test(e)?!0:/^[京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-HJ-NP-Z](-)?[A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳]$/.test(e)}const Ai="ind-dict_";function hf(e){return Se(`${Ai}${e}`)}function mf(e,t){_e(`${Ai}${e}`,t)}const Oi=m.config.authServerContext;function yf(e){return M.get(`${Oi}/anon/dict/getDictsMap`,{params:{dictId:e}})}async function Ci(e){if(e===Xo)return Zo;const t=hf(e);if(t)return t;try{const{data:r}=await M.get(`${Oi}/dict/getDicts`,{params:{dictId:e}});return mf(e,r),r}catch(r){console.error(`getDict error dictId=${e}`,r)}}async function gf(e){const t={},r=await Promise.all(e.map(n=>Ci(n)));return e.forEach((n,o)=>{if(r[o]){const i={};r[o].forEach(s=>{i[s.K]=s.V}),t[n]={data:i,renderData:r[o]}}}),t}const pe=m.config.authServerContext;function vf(){return M.get(`${pe}/manage/menu/getAllPermission`)}function bf(){return M.get(`${pe}/manage/upmsMenuHistory/list`)}function wf(e){return M.post(`${pe}/manage/upmsMenuHistory/add`,null,{params:e})}function Ef(e){return M.get(`${pe}/manage/upmsMenuHistory/delete/`+e)}function Sf(){return M.get(`${pe}/manage/upmsMenuCollect/list`)}function Af(e){return M.post(`${pe}/manage/upmsMenuCollect/add`,null,{params:e})}function Of(e){return M.get(`${pe}/manage/upmsMenuCollect/delete/`+e)}function Cf(e){return M.post(`${pe}/manage/upmsMenuCollect/remove`,null,{params:e})}function Tf(){return M.get(`${pe}/manage/app/list`)}function Ff(){return M.get(`${pe}/ipm/bc/basic/item/getMaxTabNum`)}let Rf={Base64Chars:"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@*-",encode:function(e){if(!e||e.length==0)return e;for(var t="",r=this.ucs2_utf8(e),n,o,i,s,a=r.length,c=0;c<a;){var u=r[c++];n=(u&252)>>2,o=(u&3)<<4,c<a?(u=r[c++],o|=(u&240)>>4,i=(u&15)<<2,c<a?(u=r[c++],i|=(u&192)>>6,s=u&63):s=64):i=s=64,t+=this.Base64Chars.charAt(n),t+=this.Base64Chars.charAt(o),t+=this.Base64Chars.charAt(i),t+=this.Base64Chars.charAt(s)}return t},ucs2_utf8:function(e){if(!e)return null;var t=new Array;if(e=="")return t;for(var r=0,n=0,o=0,i=e.length;n<i;)r=e.charCodeAt(n++),r<=127?t[o++]=r:r>=128&&r<=2047?(t[o++]=r>>6&31|192,t[o++]=r&63|128):(t[o++]=r>>12|224,t[o++]=r>>6&63|128,t[o++]=r&63|128);return t},utf8_ucs2:function(e){if(!e)return null;var t=e.length;if(t==0)return"";for(var r="",n=0,o=0,i=0;o<t;)n=e[o++],(n&224)==224?(i=(n&15)<<12,n=e[o++],i|=(n&63)<<6,n=e[o++],i|=n&63):(n&192)==192?(i=(n&31)<<6,n=e[o++],i|=n&63):i=n,r+=String.fromCharCode(i);return r}};const We=m.config.authServerContext;function $f({userName:e,password:t,validCodeId:r,validCodeInput:n}){let o="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDD2iolFHi+6bUh+V6JPr2gFJQsC0QNsq2EwI0MAPlI5AaizBHRVMjX1H73ptuDSiT3QZh4kk74w+eDLyYj4JXo1SvvDw5w378SLhUIDzH0zrlt3oleT3kiPQxC17yM3Os/wrtHO7IC+KGo9qrg+LJFyR/fYYHcyH9i+JAejBEnJQIDAQAB",s=new window.NodeRSA(o,"pkcs8-public").encrypt(t,"base64"),a=Rf.encode(s);const c={usn:e,upw:a,validCodeId:r,validCodeInput:n};return M.formPost(We+"/sso/auth/login",c)}function Df(){return M.get(`${We}/manage/user/getCurrentInfo`)}function Pf(){return M.get(`${We}/anon/user/getGlobalPolicy`)}function _f(e){return M.post(`${We}/manage/user/updatePassword`,e)}function Nf(e){return`${We}/anon/user/getCaptcha/`+e}function Mf(){return M.get(`${We}/sso/logout`)}const Xr="global-cache",Zr=async()=>{if(Se(Xr))return Se(Xr);{let e=location.protocol+"//"+location.host+"/ibp-sc/manage/global?t="+new Date().getTime();return fr.get(e).then(({data:t})=>(_e(Xr,t),t))}};function xf(){return window.location.pathname.includes("scyxweb")}const If=m.config.ismAmServerContext;function Bf(e){return m.config.useDddComItemTree?M.get(`${xf()?"/scyxgateway":""}${m.config.ucExtServerContext}/manage/tree/getBusiComTree`,{params:e}):M.get(`${If}/tree/com/listComTree`,{params:e})}const Lf=m.config.ucExtServerContext;function Uf(e){return M.get(`${Lf}/index-desc/list`,{params:e})}function kf(){return window.location.pathname.includes("scyxweb")}const en=m.config.ismAmServerContext;function Hf(e){return m.config.useDddComItemTree?M.get(`${kf()?"/scyxgateway":""}${m.config.ucExtServerContext}/manage/tree/getProductInfoAsTreeData`,{params:e}):M.get(`${en}/tree/item/listItemTree`,{params:e})}function Yf(){return M.get(`${en}/basic/getPriceInfo`,{})}function jf(e){return M.get(`${en}/basic/getItem`,{params:e})}const tn=m.config.ucExtServerContext;async function Vf(e){var s,a;const t="ind-cache-dataVersion-applicationTree"+((s=Gt())==null?void 0:s.manageUnitId),r=await Zr();if(!(r!=null&&r.enableTreeLocalCache)||(r==null?void 0:r.enableTreeLocalCache)!=="1")return M.formPost(`${tn}/tree/uc-application/getApplicationTree`,{params:e});const n=Ae(t),i=(await M.get(`${tn}/cacheManage/getCacheDataVersion`,{})).data.applicationTree;if((n==null?void 0:n.dataVersion)!==i){const c=await M.formPost(`${tn}/tree/uc-application/getApplicationTree`,{params:e});Ge(t,{dataVersion:i,response:c})}return(a=Ae(t))==null?void 0:a.response}const rn=m.config.ucExtServerContext;async function Wf(e){var a,c;const t=Object.keys(e||{}).length>0?"-"+JSON.stringify(e||{},Object.keys(e||{}).sort()):"",r="ind-cache-dataVersion-organTree"+((a=Gt())==null?void 0:a.manageUnitId)+t,n=await Zr();if(!(n!=null&&n.enableTreeLocalCache)||(n==null?void 0:n.enableTreeLocalCache)!=="1")return M.get(`${rn}/tree/uc-user/listUserTree`,{params:e});const o=Ae(r),s=(await M.get(`${rn}/cacheManage/getCacheDataVersion`,{})).data.organTree;if((o==null?void 0:o.dataVersion)!==s){const u=await M.get(`${rn}/tree/uc-user/listUserTree`,{params:e});Ge(r,{dataVersion:s,response:u})}return(c=Ae(r))==null?void 0:c.response}m.Base64ForLogin=jl,m.CONTENT_TYPE=at,m.IS_OR_NOT_ENUM=gc,m.IS_OR_NOT_ENUM_KEY=Xo,m.IS_OR_NOT_ENUM_LIST=Zo,m.MIME_TYPE=Gr,m.UC_ENUM=vc,m.addMenuCollectApi=Af,m.axios=M,m.base64ToBlob=Vl,m.blobToBase64=Wl,m.checkIdCard=cf,m.checkPhone=ff,m.checkTel=pf,m.checkVehicleNo=df,m.clearIndexDescCache=Di,m.clearPermissionCache=Ni,m.clearSessionStorage=Fi,m.clearUserInfoCache=xi,m.cryptor=Yl,m.deleteMenuCollectApi=Of,m.deleteMenuHistoryApi=Ef,m.downLoadScDcApi=Oc,m.exportJsonToExcel=Dc,m.flattenRow2ColumnData=of,m.formatDate=zl,m.formatDateChinese=Gl,m.formatDecimal=qc,m.formatHalfYear=kc,m.formatQuarter=Xc,m.getAppListApi=Tf,m.getApplicationTreeApi=Vf,m.getCaptchaURL=Nf,m.getContentType=Br,m.getDictApi=Ci,m.getDictMapApi=gf,m.getDictsMapApi=yf,m.getExcelColumnIdx=_c,m.getGlobalConfig=Zr,m.getGlobalPolicyApi=Pf,m.getHalfYear=Uc,m.getHalfYearBeginMonth=Hc,m.getHalfYearEndMonth=Yc,m.getHalfYearNum=yi,m.getIndexDescCache=Ri,m.getItem=jf,m.getLocalStorage=Ae,m.getMaxTabNumValueApi=Ff,m.getMenuCollectApi=Sf,m.getMenuHistoryApi=bf,m.getOssFileApi=Sc,m.getOssFileUrl=ri,m.getPermissionApi=vf,m.getPermissionCache=Pi,m.getPreviewUrlApi=Ac,m.getPriceInfo=Yf,m.getQuarter=Qc,m.getQuarterBeginMonth=Zc,m.getQuarterEndMonth=ef,m.getQuarterNum=wi,m.getSessionStorage=Se,m.getToken=Lr,m.getType=Ko,m.getUrlParams=Po,m.getUserInfoApi=Df,m.getUserInfoCache=Gt,m.guid=lf,m.importJsonFromExcel=Pc,m.isArguments=nc,m.isArray=Vr,m.isArrayLike=Lt,m.isBoolean=Xl,m.isDate=rc,m.isDecimal=pc,m.isElement=ac,m.isEmpty=sc,m.isEqual=kt,m.isEqualWith=yc,m.isError=ic,m.isEven=uc,m.isFinite=cc,m.isFunction=Wr,m.isInteger=fc,m.isNegative=dc,m.isNil=je,m.isNull=Go,m.isNumber=we,m.isNumberEqual=mc,m.isObject=Zl,m.isObjectLike=Ut,m.isOdd=lc,m.isPlainObject=ec,m.isPositive=hc,m.isPromise=tc,m.isPrototype=Qo,m.isRegExp=oc,m.isString=Bt,m.isType=ue,m.isUndefined=Jo,m.listComTreeApi=Bf,m.listIndexDescApi=Uf,m.listItemTreeApi=Hf,m.listUserTreeApi=Wf,m.loginApi=$f,m.logoutApi=Mf,m.menuHistoryApi=wf,m.numToChineseNumerals=Gc,m.numToDX=Wc,m.off=Bc,m.on=Ic,m.preventDefault=Lc,m.previewJsonToExcel=Nc,m.putOssFileApi=oi,m.putOssFileUrl=ni,m.quarter2Chinese=bi,m.removeLocalStorage=nn,m.removeMenuCollectApi=Cf,m.removeSessionStorage=Vt,m.renderColumnEnums=ei,m.renderEnumData=wc,m.renderEnumList=bc,m.renderFieldEnums=Ec,m.responseInterceptors=Lo,m.round=gi,m.row2column=rf,m.setConfig=Tl,m.setContentType=No,m.setIndexDescCache=$i,m.setLocalStorage=Ge,m.setPermissionCache=_i,m.setSessionStorage=_e,m.setToken=Al,m.setUserInfoCache=Mi,m.stopPropagation=mi,m.str2Date=ql,m.toChies=Vc,m.toFixed=zc,m.toThousands=jc,m.updatePasswordApi=_f,m.useConfig=Bo,m.uuid=uf,m.wrapApi=It,Object.defineProperties(m,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
|
package/package.json
CHANGED
package/src/api/user.ts
CHANGED
|
@@ -7,8 +7,13 @@ import { getGlobalConfig } from '@/api/platform/config.js'
|
|
|
7
7
|
const UC_CONTEXT = config.ucExtServerContext
|
|
8
8
|
|
|
9
9
|
export async function listUserTreeApi(params) {
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
// 需要区分params: showPosition, isHideProjectTeam 作为不同的树缓存,后端使用统一版本号
|
|
11
|
+
const cacheKeySuffix =
|
|
12
|
+
Object.keys(params || {}).length > 0
|
|
13
|
+
? '-' + JSON.stringify(params || {}, Object.keys(params || {}).sort())
|
|
14
|
+
: ''
|
|
15
|
+
const DATAVERSION_KEY =
|
|
16
|
+
'ind-cache-dataVersion-organTree' + getUserInfoCache()?.manageUnitId + cacheKeySuffix
|
|
12
17
|
//0.读取全局配置,是否使用缓存
|
|
13
18
|
const globalConfigData = await getGlobalConfig()
|
|
14
19
|
if (!globalConfigData?.enableTreeLocalCache || globalConfigData?.enableTreeLocalCache !== '1') {
|
package/types/api/user.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/api/user.ts"],"names":[],"mappings":"AAQA,wBAAsB,eAAe,CAAC,MAAM,KAAA,
|
|
1
|
+
{"version":3,"file":"user.d.ts","sourceRoot":"","sources":["../../src/api/user.ts"],"names":[],"mappings":"AAQA,wBAAsB,eAAe,CAAC,MAAM,KAAA,gBAgC3C"}
|