const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Login-Of_UyQ17.js","assets/_plugin-vue_export-helper-DRcqrMy4.js","assets/_plugin-vue_export-helper-D3TBFhuC.css","assets/vue-vendor-81Zqb-7t.js","assets/element-plus-CSxUwlOP.js","assets/Login-SI1W6Hi9.css","assets/el-form-item-DdFfujyr.css","assets/el-button-CDqfIFiK.css","assets/el-checkbox-BxOYmXQG.css","assets/el-col-Ds2mGN2S.css","assets/el-input-haxN-bjV.css","assets/MainLayout-D0JTyIrN.js","assets/el-tooltip-l0sNRNKZ.js","assets/MainLayout-ChcXFwWG.css","assets/el-scrollbar-dPQ2-wqA.css","assets/el-badge-BWN_0xb6.css","assets/UserManagement-BpBFV2W-.js","assets/roles-DU-i4RQC.js","assets/format-C9ipKQJf.js","assets/UserManagement-65THDnxn.css","assets/el-loading-bpKhqqQq.css","assets/el-overlay-BWs_5FFJ.css","assets/el-pagination-DvY-LlDT.css","assets/el-tag-DjxZVOpb.css","assets/el-select-CS5JQKo7.css","assets/el-table-column-CnCCW2oD.css","assets/el-popover-Dx7EGtyB.css","assets/el-card-BfnAzceq.css","assets/RoleManagement-B3hNaJJh.js","assets/RoleManagement-D5d5A3_K.css","assets/el-descriptions-item-o9ObloqJ.css","assets/el-text-BYEPGzFo.css","assets/DeviceTypeManagement-BEcymjay.js","assets/DeviceTypeManagement-DqJ9tQng.css","assets/el-date-picker-panel-C0naBazS.css","assets/el-input-number-D6iOyBgb.css","assets/OrganizationManagement-B4ws7M4y.js","assets/OrganizationManagement-SzM5q8w0.css","assets/el-tree-select-Csemd6fU.css","assets/AssetList-BO1I_MYh.js","assets/index-cmyWCBIy.js","assets/usePagination-Bv7ipmyC.js","assets/constants-7urqdt8E.js","assets/assets-BWrZWWEK.js","assets/AssetList-CTmoHtBe.css","assets/el-timeline-item-BGwaItks.css","assets/el-skeleton-item-BLY1jEuR.css","assets/el-upload-DqNEZba-.css","assets/el-divider-BUtF_RGI.css","assets/el-radio-group-BFBLxp_r.css","assets/AssetCreate-M3JCYVqI.js","assets/AssetCreate-NEtHs42T.css","assets/el-page-header-QCS5OKwk.css","assets/AssetAllocation-BksHW8f-.js","assets/AssetAllocation-uvBumCKy.css","assets/el-empty-D4ZqTl4F.css","assets/AssetScan-C2CpoHXY.js","assets/AssetScan-C4ZCSODd.css","assets/MaintenanceManagement-BbTmJafQ.js","assets/MaintenanceManagement-CwBj8rOV.css","assets/StatisticsDashboard-D6_Xx_AL.js","assets/echarts-CQFBST8R.js","assets/StatisticsDashboard-DXWPMb34.css","assets/TransferList-C2jtfwca.js","assets/TransferList-B4oJEm9V.css","assets/RecoveryList-DrpGzsVt.js","assets/RecoveryList-Cbo_t-NN.css","assets/SystemConfig-DZlah2bB.js","assets/SystemConfig-rcdUE01S.css","assets/el-tab-pane-CnNoQHsR.css","assets/OperationLog-BiK8nDpG.js","assets/OperationLog-DfVypZdu.css","assets/NotificationCenter-DPvRvrcl.js","assets/NotificationCenter-Df77W18k.css","assets/ChartsExample-Dy7qk4me.js","assets/ChartsExample-D-xFjFkn.css","assets/404-BQMA0eg5.js","assets/404-CIWhvF-2.css"])))=>i.map(i=>d[i]); var Ut=Object.defineProperty,vt=Object.defineProperties;var It=Object.getOwnPropertyDescriptors;var $e=Object.getOwnPropertySymbols;var jt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable;var J=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Mt=e=>{throw TypeError(e)};var Ve=(e,t,n)=>t in e?Ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))jt.call(t,n)&&Ve(e,n,t[n]);if($e)for(var n of $e(t))qt.call(t,n)&&Ve(e,n,t[n]);return e},ge=(e,t)=>vt(e,It(t));var N=(e,t,n)=>new Promise((r,o)=>{var i=d=>{try{a(n.next(d))}catch(c){o(c)}},s=d=>{try{a(n.throw(d))}catch(c){o(c)}},a=d=>d.done?r(d.value):Promise.resolve(d.value).then(i,s);a((n=n.apply(e,t)).next())}),M=function(e,t){this[0]=e,this[1]=t},we=(e,t,n)=>{var r=(s,a,d,c)=>{try{var l=n[s](a),p=(a=l.value)instanceof M,h=l.done;Promise.resolve(p?a[0]:a).then(b=>p?r(s==="return"?s:"next",a[1]?{done:b.done,value:b.value}:b,d,c):d({value:b,done:h})).catch(b=>r("throw",b,d,c))}catch(b){c(b)}},o=s=>i[s]=a=>new Promise((d,c)=>r(s,a,d,c)),i={};return n=n.apply(e,t),i[J("asyncIterator")]=()=>i,o("next"),o("throw"),o("return"),i},Re=e=>{var t=e[J("asyncIterator")],n=!1,r,o={};return t==null?(t=e[J("iterator")](),r=i=>o[i]=s=>t[i](s)):(t=t.call(e),r=i=>o[i]=s=>{if(n){if(n=!1,i==="throw")throw s;return s}return n=!0,{done:!1,value:new M(new Promise(a=>{var d=t[i](s);d instanceof Object||Mt("Object expected"),a(d)}),1)}}),o[J("iterator")]=()=>o,r("next"),"throw"in t?r("throw"):o.throw=i=>{throw i},"return"in t&&r("return"),o},ze=(e,t,n)=>(t=e[J("asyncIterator")])?t.call(e):(e=e[J("iterator")](),t={},n=(r,o)=>(o=e[r])&&(t[r]=i=>new Promise((s,a,d)=>(i=o.call(e,i),d=i.done,Promise.resolve(i.value).then(c=>s({value:c,done:d}),a)))),n("next"),n("return"),t);import{v as Ht,ab as $t,y as Vt,z as zt,aw as Jt,r as Je,c as Y,ax as Wt,ay as Kt,at as Xt,az as Gt}from"./vue-vendor-81Zqb-7t.js";import{E as S,a as Yt,b as Qt,i as Zt}from"./element-plus-CSxUwlOP.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();/*! Element Plus v2.13.1 */var en={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const tn=Ht({__name:"App",setup(e){return(t,n)=>{const r=$t("router-view");return Vt(),zt(r)}}}),nn="modulepreload",rn=function(e){return"/"+e},We={},R=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),a=(s==null?void 0:s.nonce)||(s==null?void 0:s.getAttribute("nonce"));o=Promise.allSettled(n.map(d=>{if(d=rn(d),d in We)return;We[d]=!0;const c=d.endsWith(".css"),l=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${l}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":nn,c||(p.as="script"),p.crossOrigin="",p.href=d,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((h,b)=>{p.addEventListener("load",h),p.addEventListener("error",()=>b(new Error(`Unable to preload CSS for ${d}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})};function ft(e,t){return function(){return e.apply(t,arguments)}}const{toString:on}=Object.prototype,{getPrototypeOf:Ce}=Object,{iterator:de,toStringTag:dt}=Symbol,pe=(e=>t=>{const n=on.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),P=e=>(e=e.toLowerCase(),t=>pe(t)===e),me=e=>t=>typeof t===e,{isArray:K}=Array,W=me("undefined");function Z(e){return e!==null&&!W(e)&&e.constructor!==null&&!W(e.constructor)&&T(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const pt=P("ArrayBuffer");function sn(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&pt(e.buffer),t}const un=me("string"),T=me("function"),mt=me("number"),ee=e=>e!==null&&typeof e=="object",an=e=>e===!0||e===!1,ae=e=>{if(pe(e)!=="object")return!1;const t=Ce(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(dt in e)&&!(de in e)},cn=e=>{if(!ee(e)||Z(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},ln=P("Date"),fn=P("File"),dn=P("Blob"),pn=P("FileList"),mn=e=>ee(e)&&T(e.pipe),hn=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||T(e.append)&&((t=pe(e))==="formdata"||t==="object"&&T(e.toString)&&e.toString()==="[object FormData]"))},En=P("URLSearchParams"),[yn,bn,gn,wn]=["ReadableStream","Request","Response","Headers"].map(P),Rn=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function te(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e=="undefined")return;let r,o;if(typeof e!="object"&&(e=[e]),K(e))for(r=0,o=e.length;r0;)if(o=n[r],t===o.toLowerCase())return o;return null}const H=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,Et=e=>!W(e)&&e!==H;function _e(){const{caseless:e,skipUndefined:t}=Et(this)&&this||{},n={},r=(o,i)=>{const s=e&&ht(n,i)||i;ae(n[s])&&ae(o)?n[s]=_e(n[s],o):ae(o)?n[s]=_e({},o):K(o)?n[s]=o.slice():(!t||!W(o))&&(n[s]=o)};for(let o=0,i=arguments.length;o(te(t,(o,i)=>{n&&T(o)?e[i]=ft(o,n):e[i]=o},{allOwnKeys:r}),e),Sn=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Fn=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},_n=(e,t,n,r)=>{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],(!r||r(s,e,t))&&!a[s]&&(t[s]=e[s],a[s]=!0);e=n!==!1&&Ce(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Tn=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},On=e=>{if(!e)return null;if(K(e))return e;let t=e.length;if(!mt(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Dn=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Ce(Uint8Array)),Cn=(e,t)=>{const r=(e&&e[de]).call(e);let o;for(;(o=r.next())&&!o.done;){const i=o.value;t.call(e,i[0],i[1])}},Bn=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Pn=P("HTMLFormElement"),xn=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Ke=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Ln=P("RegExp"),yt=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};te(n,(o,i)=>{let s;(s=t(o,i,e))!==!1&&(r[i]=s||o)}),Object.defineProperties(e,r)},kn=e=>{yt(e,(t,n)=>{if(T(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(T(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Nn=(e,t)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return K(e)?r(e):r(String(e).split(t)),n},Un=()=>{},vn=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function In(e){return!!(e&&T(e.append)&&e[dt]==="FormData"&&e[de])}const jn=e=>{const t=new Array(10),n=(r,o)=>{if(ee(r)){if(t.indexOf(r)>=0)return;if(Z(r))return r;if(!("toJSON"in r)){t[o]=r;const i=K(r)?[]:{};return te(r,(s,a)=>{const d=n(s,o+1);!W(d)&&(i[a]=d)}),t[o]=void 0,i}}return r};return n(e,0)},qn=P("AsyncFunction"),Mn=e=>e&&(ee(e)||T(e))&&T(e.then)&&T(e.catch),bt=((e,t)=>e?setImmediate:t?((n,r)=>(H.addEventListener("message",({source:o,data:i})=>{o===H&&i===n&&r.length&&r.shift()()},!1),o=>{r.push(o),H.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",T(H.postMessage)),Hn=typeof queueMicrotask!="undefined"?queueMicrotask.bind(H):typeof process!="undefined"&&process.nextTick||bt,$n=e=>e!=null&&T(e[de]),u={isArray:K,isArrayBuffer:pt,isBuffer:Z,isFormData:hn,isArrayBufferView:sn,isString:un,isNumber:mt,isBoolean:an,isObject:ee,isPlainObject:ae,isEmptyObject:cn,isReadableStream:yn,isRequest:bn,isResponse:gn,isHeaders:wn,isUndefined:W,isDate:ln,isFile:fn,isBlob:dn,isRegExp:Ln,isFunction:T,isStream:mn,isURLSearchParams:En,isTypedArray:Dn,isFileList:pn,forEach:te,merge:_e,extend:An,trim:Rn,stripBOM:Sn,inherits:Fn,toFlatObject:_n,kindOf:pe,kindOfTest:P,endsWith:Tn,toArray:On,forEachEntry:Cn,matchAll:Bn,isHTMLForm:Pn,hasOwnProperty:Ke,hasOwnProp:Ke,reduceDescriptors:yt,freezeMethods:kn,toObjectSet:Nn,toCamelCase:xn,noop:Un,toFiniteNumber:vn,findKey:ht,global:H,isContextDefined:Et,isSpecCompliantForm:In,toJSONObject:jn,isAsyncFn:qn,isThenable:Mn,setImmediate:bt,asap:Hn,isIterable:$n};function y(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}u.inherits(y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:u.toJSONObject(this.config),code:this.code,status:this.status}}});const gt=y.prototype,wt={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{wt[e]={value:e}});Object.defineProperties(y,wt);Object.defineProperty(gt,"isAxiosError",{value:!0});y.from=(e,t,n,r,o,i)=>{const s=Object.create(gt);u.toFlatObject(e,s,function(l){return l!==Error.prototype},c=>c!=="isAxiosError");const a=e&&e.message?e.message:"Error",d=t==null&&e?e.code:t;return y.call(s,a,d,n,r,o),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const Vn=null;function Te(e){return u.isPlainObject(e)||u.isArray(e)}function Rt(e){return u.endsWith(e,"[]")?e.slice(0,-2):e}function Xe(e,t,n){return e?e.concat(t).map(function(o,i){return o=Rt(o),!n&&i?"["+o+"]":o}).join(n?".":""):t}function zn(e){return u.isArray(e)&&!e.some(Te)}const Jn=u.toFlatObject(u,{},null,function(t){return/^is[A-Z]/.test(t)});function he(e,t,n){if(!u.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=u.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,m){return!u.isUndefined(m[E])});const r=n.metaTokens,o=n.visitor||l,i=n.dots,s=n.indexes,d=(n.Blob||typeof Blob!="undefined"&&Blob)&&u.isSpecCompliantForm(t);if(!u.isFunction(o))throw new TypeError("visitor must be a function");function c(f){if(f===null)return"";if(u.isDate(f))return f.toISOString();if(u.isBoolean(f))return f.toString();if(!d&&u.isBlob(f))throw new y("Blob is not supported. Use a Buffer instead.");return u.isArrayBuffer(f)||u.isTypedArray(f)?d&&typeof Blob=="function"?new Blob([f]):Buffer.from(f):f}function l(f,E,m){let w=f;if(f&&!m&&typeof f=="object"){if(u.endsWith(E,"{}"))E=r?E:E.slice(0,-2),f=JSON.stringify(f);else if(u.isArray(f)&&zn(f)||(u.isFileList(f)||u.endsWith(E,"[]"))&&(w=u.toArray(f)))return E=Rt(E),w.forEach(function(A,_){!(u.isUndefined(A)||A===null)&&t.append(s===!0?Xe([E],_,i):s===null?E:E+"[]",c(A))}),!1}return Te(f)?!0:(t.append(Xe(m,E,i),c(f)),!1)}const p=[],h=Object.assign(Jn,{defaultVisitor:l,convertValue:c,isVisitable:Te});function b(f,E){if(!u.isUndefined(f)){if(p.indexOf(f)!==-1)throw Error("Circular reference detected in "+E.join("."));p.push(f),u.forEach(f,function(w,D){(!(u.isUndefined(w)||w===null)&&o.call(t,w,u.isString(D)?D.trim():D,E,h))===!0&&b(w,E?E.concat(D):[D])}),p.pop()}}if(!u.isObject(e))throw new TypeError("data must be an object");return b(e),t}function Ge(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Be(e,t){this._pairs=[],e&&he(e,this,t)}const At=Be.prototype;At.append=function(t,n){this._pairs.push([t,n])};At.toString=function(t){const n=t?function(r){return t.call(this,r,Ge)}:Ge;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Wn(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function St(e,t,n){if(!t)return e;const r=n&&n.encode||Wn;u.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(o?i=o(t,n):i=u.isURLSearchParams(t)?t.toString():new Be(t,n).toString(r),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Ye{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){u.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Ft={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Kn=typeof URLSearchParams!="undefined"?URLSearchParams:Be,Xn=typeof FormData!="undefined"?FormData:null,Gn=typeof Blob!="undefined"?Blob:null,Yn={isBrowser:!0,classes:{URLSearchParams:Kn,FormData:Xn,Blob:Gn},protocols:["http","https","file","blob","url","data"]},Pe=typeof window!="undefined"&&typeof document!="undefined",Oe=typeof navigator=="object"&&navigator||void 0,Qn=Pe&&(!Oe||["ReactNative","NativeScript","NS"].indexOf(Oe.product)<0),Zn=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",er=Pe&&window.location.href||"http://localhost",tr=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Pe,hasStandardBrowserEnv:Qn,hasStandardBrowserWebWorkerEnv:Zn,navigator:Oe,origin:er},Symbol.toStringTag,{value:"Module"})),F=k(k({},tr),Yn);function nr(e,t){return he(e,new F.classes.URLSearchParams,k({visitor:function(n,r,o,i){return F.isNode&&u.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function rr(e){return u.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function or(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r=n.length;return s=!s&&u.isArray(o)?o.length:s,d?(u.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!a):((!o[s]||!u.isObject(o[s]))&&(o[s]=[]),t(n,r,o[s],i)&&u.isArray(o[s])&&(o[s]=or(o[s])),!a)}if(u.isFormData(e)&&u.isFunction(e.entries)){const n={};return u.forEachEntry(e,(r,o)=>{t(rr(r),o,n,0)}),n}return null}function sr(e,t,n){if(u.isString(e))try{return(t||JSON.parse)(e),u.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const ne={transitional:Ft,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=u.isObject(t);if(i&&u.isHTMLForm(t)&&(t=new FormData(t)),u.isFormData(t))return o?JSON.stringify(_t(t)):t;if(u.isArrayBuffer(t)||u.isBuffer(t)||u.isStream(t)||u.isFile(t)||u.isBlob(t)||u.isReadableStream(t))return t;if(u.isArrayBufferView(t))return t.buffer;if(u.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return nr(t,this.formSerializer).toString();if((a=u.isFileList(t))||r.indexOf("multipart/form-data")>-1){const d=this.env&&this.env.FormData;return he(a?{"files[]":t}:t,d&&new d,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),sr(t)):t}],transformResponse:[function(t){const n=this.transitional||ne.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(u.isResponse(t)||u.isReadableStream(t))return t;if(t&&u.isString(t)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t,this.parseReviver)}catch(a){if(s)throw a.name==="SyntaxError"?y.from(a,y.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:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};u.forEach(["delete","get","head","post","put","patch"],e=>{ne.headers[e]={}});const ir=u.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"]),ur=e=>{const t={};let n,r,o;return e&&e.split(` `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||t[n]&&ir[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Qe=Symbol("internals");function Q(e){return e&&String(e).trim().toLowerCase()}function ce(e){return e===!1||e==null?e:u.isArray(e)?e.map(ce):String(e)}function ar(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const cr=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ae(e,t,n,r,o){if(u.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!u.isString(t)){if(u.isString(r))return t.indexOf(r)!==-1;if(u.isRegExp(r))return r.test(t)}}function lr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function fr(e,t){const n=u.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,i,s){return this[r].call(this,t,o,i,s)},configurable:!0})})}let O=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function i(a,d,c){const l=Q(d);if(!l)throw new Error("header name must be a non-empty string");const p=u.findKey(o,l);(!p||o[p]===void 0||c===!0||c===void 0&&o[p]!==!1)&&(o[p||d]=ce(a))}const s=(a,d)=>u.forEach(a,(c,l)=>i(c,l,d));if(u.isPlainObject(t)||t instanceof this.constructor)s(t,n);else if(u.isString(t)&&(t=t.trim())&&!cr(t))s(ur(t),n);else if(u.isObject(t)&&u.isIterable(t)){let a={},d,c;for(const l of t){if(!u.isArray(l))throw TypeError("Object iterator must return a key-value pair");a[c=l[0]]=(d=a[c])?u.isArray(d)?[...d,l[1]]:[d,l[1]]:l[1]}s(a,n)}else t!=null&&i(n,t,r);return this}get(t,n){if(t=Q(t),t){const r=u.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return ar(o);if(u.isFunction(n))return n.call(this,o,r);if(u.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Q(t),t){const r=u.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Ae(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function i(s){if(s=Q(s),s){const a=u.findKey(r,s);a&&(!n||Ae(r,r[a],a,n))&&(delete r[a],o=!0)}}return u.isArray(t)?t.forEach(i):i(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!t||Ae(this,this[i],i,t,!0))&&(delete this[i],o=!0)}return o}normalize(t){const n=this,r={};return u.forEach(this,(o,i)=>{const s=u.findKey(r,i);if(s){n[s]=ce(o),delete n[i];return}const a=t?lr(i):String(i).trim();a!==i&&delete n[i],n[a]=ce(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return u.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&u.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}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,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Qe]=this[Qe]={accessors:{}}).accessors,o=this.prototype;function i(s){const a=Q(s);r[a]||(fr(o,s),r[a]=!0)}return u.isArray(t)?t.forEach(i):i(t),this}};O.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);u.reduceDescriptors(O.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});u.freezeMethods(O);function Se(e,t){const n=this||ne,r=t||n,o=O.from(r.headers);let i=r.data;return u.forEach(e,function(a){i=a.call(n,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Tt(e){return!!(e&&e.__CANCEL__)}function X(e,t,n){y.call(this,e==null?"canceled":e,y.ERR_CANCELED,t,n),this.name="CanceledError"}u.inherits(X,y,{__CANCEL__:!0});function Ot(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new y("Request failed with status code "+n.status,[y.ERR_BAD_REQUEST,y.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function dr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function pr(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,i=0,s;return t=t!==void 0?t:1e3,function(d){const c=Date.now(),l=r[i];s||(s=c),n[o]=d,r[o]=c;let p=i,h=0;for(;p!==o;)h+=n[p++],p=p%e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),c-s{n=l,o=null,i&&(clearTimeout(i),i=null),e(...c)};return[(...c)=>{const l=Date.now(),p=l-n;p>=r?s(c,l):(o=c,i||(i=setTimeout(()=>{i=null,s(o)},r-p)))},()=>o&&s(o)]}const fe=(e,t,n=3)=>{let r=0;const o=pr(50,250);return mr(i=>{const s=i.loaded,a=i.lengthComputable?i.total:void 0,d=s-r,c=o(d),l=s<=a;r=s;const p={loaded:s,total:a,progress:a?s/a:void 0,bytes:d,rate:c||void 0,estimated:c&&a&&l?(a-s)/c:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(p)},n)},Ze=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},et=e=>(...t)=>u.asap(()=>e(...t)),hr=F.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,F.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(F.origin),F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent)):()=>!0,Er=F.hasStandardBrowserEnv?{write(e,t,n,r,o,i,s){if(typeof document=="undefined")return;const a=[`${e}=${encodeURIComponent(t)}`];u.isNumber(n)&&a.push(`expires=${new Date(n).toUTCString()}`),u.isString(r)&&a.push(`path=${r}`),u.isString(o)&&a.push(`domain=${o}`),i===!0&&a.push("secure"),u.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 yr(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function br(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Dt(e,t,n){let r=!yr(t);return e&&(r||n==!1)?br(e,t):t}const tt=e=>e instanceof O?k({},e):e;function V(e,t){t=t||{};const n={};function r(c,l,p,h){return u.isPlainObject(c)&&u.isPlainObject(l)?u.merge.call({caseless:h},c,l):u.isPlainObject(l)?u.merge({},l):u.isArray(l)?l.slice():l}function o(c,l,p,h){if(u.isUndefined(l)){if(!u.isUndefined(c))return r(void 0,c,p,h)}else return r(c,l,p,h)}function i(c,l){if(!u.isUndefined(l))return r(void 0,l)}function s(c,l){if(u.isUndefined(l)){if(!u.isUndefined(c))return r(void 0,c)}else return r(void 0,l)}function a(c,l,p){if(p in t)return r(c,l);if(p in e)return r(void 0,c)}const d={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:(c,l,p)=>o(tt(c),tt(l),p,!0)};return u.forEach(Object.keys(k(k({},e),t)),function(l){const p=d[l]||o,h=p(e[l],t[l],l);u.isUndefined(h)&&p!==a||(n[l]=h)}),n}const Ct=e=>{const t=V({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:s,auth:a}=t;if(t.headers=s=O.from(s),t.url=St(Dt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),a&&s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),u.isFormData(n)){if(F.hasStandardBrowserEnv||F.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(u.isFunction(n.getHeaders)){const d=n.getHeaders(),c=["content-type","content-length"];Object.entries(d).forEach(([l,p])=>{c.includes(l.toLowerCase())&&s.set(l,p)})}}if(F.hasStandardBrowserEnv&&(r&&u.isFunction(r)&&(r=r(t)),r||r!==!1&&hr(t.url))){const d=o&&i&&Er.read(i);d&&s.set(o,d)}return t},gr=typeof XMLHttpRequest!="undefined",wr=gr&&function(e){return new Promise(function(n,r){const o=Ct(e);let i=o.data;const s=O.from(o.headers).normalize();let{responseType:a,onUploadProgress:d,onDownloadProgress:c}=o,l,p,h,b,f;function E(){b&&b(),f&&f(),o.cancelToken&&o.cancelToken.unsubscribe(l),o.signal&&o.signal.removeEventListener("abort",l)}let m=new XMLHttpRequest;m.open(o.method.toUpperCase(),o.url,!0),m.timeout=o.timeout;function w(){if(!m)return;const A=O.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),B={data:!a||a==="text"||a==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:A,config:e,request:m};Ot(function(C){n(C),E()},function(C){r(C),E()},B),m=null}"onloadend"in m?m.onloadend=w:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(w)},m.onabort=function(){m&&(r(new y("Request aborted",y.ECONNABORTED,e,m)),m=null)},m.onerror=function(_){const B=_&&_.message?_.message:"Network Error",j=new y(B,y.ERR_NETWORK,e,m);j.event=_||null,r(j),m=null},m.ontimeout=function(){let _=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const B=o.transitional||Ft;o.timeoutErrorMessage&&(_=o.timeoutErrorMessage),r(new y(_,B.clarifyTimeoutError?y.ETIMEDOUT:y.ECONNABORTED,e,m)),m=null},i===void 0&&s.setContentType(null),"setRequestHeader"in m&&u.forEach(s.toJSON(),function(_,B){m.setRequestHeader(B,_)}),u.isUndefined(o.withCredentials)||(m.withCredentials=!!o.withCredentials),a&&a!=="json"&&(m.responseType=o.responseType),c&&([h,f]=fe(c,!0),m.addEventListener("progress",h)),d&&m.upload&&([p,b]=fe(d),m.upload.addEventListener("progress",p),m.upload.addEventListener("loadend",b)),(o.cancelToken||o.signal)&&(l=A=>{m&&(r(!A||A.type?new X(null,e,m):A),m.abort(),m=null)},o.cancelToken&&o.cancelToken.subscribe(l),o.signal&&(o.signal.aborted?l():o.signal.addEventListener("abort",l)));const D=dr(o.url);if(D&&F.protocols.indexOf(D)===-1){r(new y("Unsupported protocol "+D+":",y.ERR_BAD_REQUEST,e));return}m.send(i||null)})},Rr=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const i=function(c){if(!o){o=!0,a();const l=c instanceof Error?c:this.reason;r.abort(l instanceof y?l:new X(l instanceof Error?l.message:l))}};let s=t&&setTimeout(()=>{s=null,i(new y(`timeout ${t} of ms exceeded`,y.ETIMEDOUT))},t);const a=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(i):c.removeEventListener("abort",i)}),e=null)};e.forEach(c=>c.addEventListener("abort",i));const{signal:d}=r;return d.unsubscribe=()=>u.asap(a),d}},Ar=function*(e,t){let n=e.byteLength;if(n{const o=Sr(e,t);let i=0,s,a=c=>{s||(s=!0,r&&r(c))};return new ReadableStream({pull(c){return N(this,null,function*(){try{const{done:l,value:p}=yield o.next();if(l){a(),c.close();return}let h=p.byteLength;if(n){let b=i+=h;n(b)}c.enqueue(new Uint8Array(p))}catch(l){throw a(l),l}})},cancel(c){return a(c),o.return()}},{highWaterMark:2})},rt=64*1024,{isFunction:ue}=u,_r=(({Request:e,Response:t})=>({Request:e,Response:t}))(u.global),{ReadableStream:ot,TextEncoder:st}=u.global,it=(e,...t)=>{try{return!!e(...t)}catch(n){return!1}},Tr=e=>{e=u.merge.call({skipUndefined:!0},_r,e);const{fetch:t,Request:n,Response:r}=e,o=t?ue(t):typeof fetch=="function",i=ue(n),s=ue(r);if(!o)return!1;const a=o&&ue(ot),d=o&&(typeof st=="function"?(f=>E=>f.encode(E))(new st):f=>N(void 0,null,function*(){return new Uint8Array(yield new n(f).arrayBuffer())})),c=i&&a&&it(()=>{let f=!1;const E=new n(F.origin,{body:new ot,method:"POST",get duplex(){return f=!0,"half"}}).headers.has("Content-Type");return f&&!E}),l=s&&a&&it(()=>u.isReadableStream(new r("").body)),p={stream:l&&(f=>f.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(f=>{!p[f]&&(p[f]=(E,m)=>{let w=E&&E[f];if(w)return w.call(E);throw new y(`Response type '${f}' is not supported`,y.ERR_NOT_SUPPORT,m)})});const h=f=>N(void 0,null,function*(){if(f==null)return 0;if(u.isBlob(f))return f.size;if(u.isSpecCompliantForm(f))return(yield new n(F.origin,{method:"POST",body:f}).arrayBuffer()).byteLength;if(u.isArrayBufferView(f)||u.isArrayBuffer(f))return f.byteLength;if(u.isURLSearchParams(f)&&(f=f+""),u.isString(f))return(yield d(f)).byteLength}),b=(f,E)=>N(void 0,null,function*(){const m=u.toFiniteNumber(f.getContentLength());return m==null?h(E):m});return f=>N(void 0,null,function*(){let{url:E,method:m,data:w,signal:D,cancelToken:A,timeout:_,onDownloadProgress:B,onUploadProgress:j,responseType:C,headers:ye,withCredentials:oe="same-origin",fetchOptions:ve}=Ct(f),Ie=t||fetch;C=C?(C+"").toLowerCase():"text";let se=Rr([D,A&&A.toAbortSignal()],_),G=null;const q=se&&se.unsubscribe&&(()=>{se.unsubscribe()});let je;try{if(j&&c&&m!=="get"&&m!=="head"&&(je=yield b(ye,w))!==0){let I=new n(E,{method:"POST",body:w,duplex:"half"}),z;if(u.isFormData(w)&&(z=I.headers.get("content-type"))&&ye.setContentType(z),I.body){const[be,ie]=Ze(je,fe(et(j)));w=nt(I.body,rt,be,ie)}}u.isString(oe)||(oe=oe?"include":"omit");const x=i&&"credentials"in n.prototype,qe=ge(k({},ve),{signal:se,method:m.toUpperCase(),headers:ye.normalize().toJSON(),body:w,duplex:"half",credentials:x?oe:void 0});G=i&&new n(E,qe);let v=yield i?Ie(G,ve):Ie(E,qe);const Me=l&&(C==="stream"||C==="response");if(l&&(B||Me&&q)){const I={};["status","statusText","headers"].forEach(He=>{I[He]=v[He]});const z=u.toFiniteNumber(v.headers.get("content-length")),[be,ie]=B&&Ze(z,fe(et(B),!0))||[];v=new r(nt(v.body,rt,be,()=>{ie&&ie(),q&&q()}),I)}C=C||"text";let Nt=yield p[u.findKey(p,C)||"text"](v,f);return!Me&&q&&q(),yield new Promise((I,z)=>{Ot(I,z,{data:Nt,headers:O.from(v.headers),status:v.status,statusText:v.statusText,config:f,request:G})})}catch(x){throw q&&q(),x&&x.name==="TypeError"&&/Load failed|fetch/i.test(x.message)?Object.assign(new y("Network Error",y.ERR_NETWORK,f,G),{cause:x.cause||x}):y.from(x,x&&x.code,f,G)}})},Or=new Map,Bt=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:o}=t,i=[r,o,n];let s=i.length,a=s,d,c,l=Or;for(;a--;)d=i[a],c=l.get(d),c===void 0&&l.set(d,c=a?new Map:Tr(t)),l=c;return c};Bt();const xe={http:Vn,xhr:wr,fetch:{get:Bt}};u.forEach(xe,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(n){}Object.defineProperty(e,"adapterName",{value:t})}});const ut=e=>`- ${e}`,Dr=e=>u.isFunction(e)||e===null||e===!1;function Cr(e,t){e=u.isArray(e)?e:[e];const{length:n}=e;let r,o;const i={};for(let s=0;s`adapter ${d} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=n?s.length>1?`since : `+s.map(ut).join(` `):" "+ut(s[0]):"as no adapter specified";throw new y("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o}const Pt={getAdapter:Cr,adapters:xe};function Fe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new X(null,e)}function at(e){return Fe(e),e.headers=O.from(e.headers),e.data=Se.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Pt.getAdapter(e.adapter||ne.adapter,e)(e).then(function(r){return Fe(e),r.data=Se.call(e,e.transformResponse,r),r.headers=O.from(r.headers),r},function(r){return Tt(r)||(Fe(e),r&&r.response&&(r.response.data=Se.call(e,e.transformResponse,r.response),r.response.headers=O.from(r.response.headers))),Promise.reject(r)})}const xt="1.13.2",Ee={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ee[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const ct={};Ee.transitional=function(t,n,r){function o(i,s){return"[Axios v"+xt+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,a)=>{if(t===!1)throw new y(o(s," has been removed"+(n?" in "+n:"")),y.ERR_DEPRECATED);return n&&!ct[s]&&(ct[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,s,a):!0}};Ee.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function Br(e,t,n){if(typeof e!="object")throw new y("options must be an object",y.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const a=e[i],d=a===void 0||s(a,i,e);if(d!==!0)throw new y("option "+i+" must be "+d,y.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new y("Unknown option "+i,y.ERR_BAD_OPTION)}}const le={assertOptions:Br,validators:Ee},L=le.validators;let $=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Ye,response:new Ye}}request(t,n){return N(this,null,function*(){try{return yield this._request(t,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const i=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` `+i):r.stack=i}catch(s){}}throw r}})}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=V(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&le.assertOptions(r,{silentJSONParsing:L.transitional(L.boolean),forcedJSONParsing:L.transitional(L.boolean),clarifyTimeoutError:L.transitional(L.boolean)},!1),o!=null&&(u.isFunction(o)?n.paramsSerializer={serialize:o}:le.assertOptions(o,{encode:L.function,serialize:L.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),le.assertOptions(n,{baseUrl:L.spelling("baseURL"),withXsrfToken:L.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&u.merge(i.common,i[n.method]);i&&u.forEach(["delete","get","head","post","put","patch","common"],f=>{delete i[f]}),n.headers=O.concat(s,i);const a=[];let d=!0;this.interceptors.request.forEach(function(E){typeof E.runWhen=="function"&&E.runWhen(n)===!1||(d=d&&E.synchronous,a.unshift(E.fulfilled,E.rejected))});const c=[];this.interceptors.response.forEach(function(E){c.push(E.fulfilled,E.rejected)});let l,p=0,h;if(!d){const f=[at.bind(this),void 0];for(f.unshift(...a),f.push(...c),h=f.length,l=Promise.resolve(n);p{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(a=>{r.subscribe(a),i=a}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},t(function(i,s,a){r.reason||(r.reason=new X(i,s,a),n(r.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Lt(function(o){t=o}),cancel:t}}};function xr(e){return function(n){return e.apply(null,n)}}function Lr(e){return u.isObject(e)&&e.isAxiosError===!0}const De={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(De).forEach(([e,t])=>{De[t]=e});function kt(e){const t=new $(e),n=ft($.prototype.request,t);return u.extend(n,$.prototype,t,{allOwnKeys:!0}),u.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return kt(V(e,o))},n}const g=kt(ne);g.Axios=$;g.CanceledError=X;g.CancelToken=Pr;g.isCancel=Tt;g.VERSION=xt;g.toFormData=he;g.AxiosError=y;g.Cancel=g.CanceledError;g.all=function(t){return Promise.all(t)};g.spread=xr;g.isAxiosError=Lr;g.mergeConfig=V;g.AxiosHeaders=O;g.formToJSON=e=>_t(u.isHTMLForm(e)?new FormData(e):e);g.getAdapter=Pt.getAdapter;g.HttpStatusCode=De;g.default=g;const{Axios:Jr,AxiosError:Wr,CanceledError:Kr,isCancel:Xr,CancelToken:Gr,VERSION:Yr,all:Qr,Cancel:Zr,isAxiosError:eo,spread:to,toFormData:no,AxiosHeaders:ro,HttpStatusCode:oo,formToJSON:so,getAdapter:io,mergeConfig:uo}=g,U=g.create({baseURL:"https://zc.workyai.cn/api/v1",timeout:15e3,headers:{"Content-Type":"application/json;charset=UTF-8"}});U.interceptors.request.use(e=>{const t=Ne();return t.token&&(e.headers=e.headers||{},e.headers.Authorization=`Bearer ${t.token}`),e.method==="get"&&(e.params=ge(k({},e.params),{_t:Date.now()})),e},e=>(console.error("Request error:",e),Promise.reject(e)));U.interceptors.response.use(e=>{const t=e.data;return e.config.responseType==="blob"?e:t.code===200?t.data:(S.error(t.message||"请求失败"),t.code===401&<(),Promise.reject(new Error(t.message||"请求失败")))},e=>{if(console.error("Response error:",e),e.response){const{status:t}=e.response;switch(t){case 400:S.error("请求参数错误");break;case 401:S.error("未授权,请重新登录"),lt();break;case 403:S.error("拒绝访问");break;case 404:S.error("请求资源不存在");break;case 405:S.error("请求方法不允许");break;case 408:S.error("请求超时");break;case 500:S.error("服务器内部错误");break;case 501:S.error("服务未实现");break;case 502:S.error("网关错误");break;case 503:S.error("服务不可用");break;case 504:S.error("网关超时");break;case 505:S.error("HTTP版本不受支持");break;default:S.error(`连接错误${t}`)}}else e.request?S.error("网络连接失败,请检查网络"):S.error(e.message||"请求失败");return Promise.reject(e)});function lt(){const e=Ne();Yt.confirm("登录状态已过期,您可以继续留在该页面,或者重新登录","系统提示",{confirmButtonText:"重新登录",cancelButtonText:"取消",type:"warning"}).then(()=>{e.logout(),window.location.href="/login"})}const Le={get(e,t){return U.get(e,t)},post(e,t,n){return U.post(e,t,n)},put(e,t,n){return U.put(e,t,n)},delete(e,t){return U.delete(e,t)},patch(e,t,n){return U.patch(e,t,n)},upload(e,t,n){const r=new FormData;return r.append("file",t),U.post(e,r,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:o=>{if(n&&o.total){const i=Math.round(o.loaded*100/o.total);n(i)}}})},download(e,t){return U.get(e,{responseType:"blob"}).then(n=>{const r=new Blob([n.data]),o=document.createElement("a");o.href=URL.createObjectURL(r),o.download=t||"download",o.click(),URL.revokeObjectURL(o.href)})}},kr=e=>Le.post("/auth/login",e),Nr=()=>Le.post("/auth/logout"),ao=()=>Le.get("/auth/captcha"),ke="access_token",Ur="refresh_token";function vr(){return localStorage.getItem(ke)||""}function Ir(e){localStorage.setItem(ke,e)}function jr(){localStorage.removeItem(ke),localStorage.removeItem(Ur)}const Ne=Jt("user",()=>{const e=Je(vr()||""),t=Je(null),n=Y(()=>!!e.value),r=Y(()=>{var h;return((h=t.value)==null?void 0:h.realName)||""}),o=Y(()=>{var h;return((h=t.value)==null?void 0:h.avatar)||""}),i=Y(()=>{var h;return((h=t.value)==null?void 0:h.permissions)||[]}),s=Y(()=>{var h;return((h=t.value)==null?void 0:h.roles)||[]});return{token:e,userInfo:t,isLoggedIn:n,userName:r,userAvatar:o,permissions:i,roles:s,login:(h,b,f,E)=>N(void 0,null,function*(){const m=yield kr({username:h,password:b,captcha:f,captcha_key:E});return e.value=m.access_token,t.value=m.user,Ir(m.access_token),m}),logout:()=>N(void 0,null,function*(){try{yield Nr()}finally{e.value="",t.value=null,jr()}}),setUserInfo:h=>{t.value=h},hasPermission:h=>{var b;return(b=t.value)!=null&&b.isAdmin?!0:i.value.includes(h)},hasRole:h=>{var b;return(b=t.value)!=null&&b.isAdmin?!0:s.value.some(f=>f.roleCode===h)}}}),qr=[{path:"/login",name:"Login",component:()=>R(()=>import("./Login-Of_UyQ17.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10])),meta:{title:"登录",hidden:!0}},{path:"/",component:()=>R(()=>import("./MainLayout-D0JTyIrN.js"),__vite__mapDeps([11,1,2,12,3,4,13,7,14,15,10])),redirect:"/assets/list",children:[{path:"/admin",name:"Admin",redirect:"/admin/users",meta:{title:"后台管理",icon:"Setting"},children:[{path:"users",name:"UserManagement",component:()=>R(()=>import("./UserManagement-BpBFV2W-.js"),__vite__mapDeps([16,1,2,12,3,4,17,18,19,20,21,6,22,23,24,14,10,25,8,26,7,27])),meta:{title:"用户管理",icon:"User"}},{path:"roles",name:"RoleManagement",component:()=>R(()=>import("./RoleManagement-B3hNaJJh.js"),__vite__mapDeps([28,1,2,12,4,3,17,29,20,30,21,6,31,8,10,25,14,26,7,23,27])),meta:{title:"角色权限",icon:"Lock"}},{path:"device-types",name:"DeviceTypeManagement",component:()=>R(()=>import("./DeviceTypeManagement-BEcymjay.js"),__vite__mapDeps([32,1,2,12,4,3,33,20,8,34,10,14,7,21,6,35,23,24,25,26,27])),meta:{title:"设备类型",icon:"Grid"}},{path:"organizations",name:"OrganizationManagement",component:()=>R(()=>import("./OrganizationManagement-B4ws7M4y.js"),__vite__mapDeps([36,1,2,3,4,37,21,6,23,24,14,31,8,38,10,26,7,27])),meta:{title:"机构网点",icon:"OfficeBuilding"}}]},{path:"/assets",name:"Assets",redirect:"/assets/list",meta:{title:"资产管理",icon:"Box"},children:[{path:"list",name:"AssetList",component:()=>R(()=>import("./AssetList-BO1I_MYh.js"),__vite__mapDeps([39,1,2,12,3,4,40,41,42,43,18,44,20,22,23,24,14,10,25,8,26,7,27,21,45,30,6,31,38,9,46,47,48,49])),meta:{title:"资产列表",icon:"List"}},{path:"create",name:"AssetCreate",component:()=>R(()=>import("./AssetCreate-M3JCYVqI.js"),__vite__mapDeps([50,1,2,3,40,4,43,51,27,6,7,23,24,14,31,8,38,10,35,34,9,48,52])),meta:{title:"资产入库",icon:"Plus"}},{path:"allocation",name:"AssetAllocation",component:()=>R(()=>import("./AssetAllocation-BksHW8f-.js"),__vite__mapDeps([53,1,2,4,3,54,27,55,48,52])),meta:{title:"资产分配",icon:"Share"}},{path:"scan",name:"AssetScan",component:()=>R(()=>import("./AssetScan-C2CpoHXY.js"),__vite__mapDeps([56,1,2,3,4,43,42,57,9,30,23,55,27,10,48,7,52])),meta:{title:"扫码查询",icon:"Camera"}},{path:"maintenance",name:"MaintenanceManagement",component:()=>R(()=>import("./MaintenanceManagement-BbTmJafQ.js"),__vite__mapDeps([58,1,2,12,3,4,40,41,42,43,59,20,27,22,23,24,14,10,25,8,7,48,52,21,6,47,34,35,49])),meta:{title:"维修管理",icon:"Tools"}},{path:"statistics",name:"StatisticsDashboard",component:()=>R(()=>import("./StatisticsDashboard-D6_Xx_AL.js"),__vite__mapDeps([60,1,2,4,3,40,61,62,9,27,7,34,10,14,48,52])),meta:{title:"统计报表",icon:"DataAnalysis"}}]},{path:"/allocation",name:"Allocation",redirect:"/allocation/transfers",meta:{title:"调拨管理",icon:"Sort"},children:[{path:"transfers",name:"TransferList",component:()=>R(()=>import("./TransferList-C2jtfwca.js"),__vite__mapDeps([63,1,2,12,3,4,40,41,42,43,64,20,21,6,49,22,23,24,14,10,25,8,26,7,27,34,45,30])),meta:{title:"资产调拨",icon:"ArrowRight"}},{path:"recoveries",name:"RecoveryList",component:()=>R(()=>import("./RecoveryList-DrpGzsVt.js"),__vite__mapDeps([65,1,2,12,3,4,40,41,42,43,66,20,21,6,49,22,23,24,14,10,25,8,26,7,27,34,45,30])),meta:{title:"资产回收",icon:"ArrowLeft"}}]},{path:"/system",name:"System",redirect:"/system/config",meta:{title:"系统管理",icon:"Setting"},children:[{path:"config",name:"SystemConfig",component:()=>R(()=>import("./SystemConfig-DZlah2bB.js"),__vite__mapDeps([67,1,2,12,4,3,40,68,20,21,6,10,23,24,14,27,69,25,8,26,7])),meta:{title:"系统配置",icon:"Tools"}},{path:"logs",name:"OperationLog",component:()=>R(()=>import("./OperationLog-BiK8nDpG.js"),__vite__mapDeps([70,1,2,12,3,4,40,41,71,20,21,30,22,23,24,14,10,25,8,27,34,7])),meta:{title:"操作日志",icon:"Document"}},{path:"notification",name:"NotificationCenter",component:()=>R(()=>import("./NotificationCenter-DPvRvrcl.js"),__vite__mapDeps([72,1,2,3,40,41,4,73,20,21,27,22,23,24,14,10,55,26,7,69,8,15])),meta:{title:"消息通知",icon:"Bell"}}]},{path:"/examples",name:"Examples",redirect:"/examples/charts",meta:{title:"示例",icon:"Document"},children:[{path:"charts",name:"ChartsExample",component:()=>R(()=>import("./ChartsExample-Dy7qk4me.js"),__vite__mapDeps([74,1,2,3,4,61,75,69,9,27,48,52,46,23])),meta:{title:"图表示例",icon:"PieChart"}}]}]},{path:"/:pathMatch(.*)*",name:"NotFound",component:()=>R(()=>import("./404-BQMA0eg5.js"),__vite__mapDeps([76,1,2,3,4,77,7])),meta:{title:"404",hidden:!0}}],Ue=Wt({history:Kt(),routes:qr,scrollBehavior(){return{top:0}}});Ue.beforeEach((e,t,n)=>{const r=Ne();document.title=`${e.meta.title||"资产管理系统"} - 资产管理系统`;const o=["/login"];r.isLoggedIn?e.path==="/login"?n({path:"/"}):n():o.includes(e.path)?n():(S.warning("请先登录"),n({path:"/login",query:{redirect:e.fullPath}}))});Ue.afterEach(()=>{});const re=Xt(tn);for(const[e,t]of Object.entries(Qt))re.component(e,t);re.use(Gt());re.use(Ue);re.use(Zt,{locale:en});re.mount("#app");export{ao as g,Le as r,Ne as u};