This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
handingkang-ohmyweb/static/index-UxDMszmL.js

11 lines
63 KiB
JavaScript
Raw Normal View History

var Pt=Object.defineProperty;var xt=(e,t,n)=>t in e?Pt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var F=(e,t,n)=>(xt(e,typeof t!="symbol"?t+"":t,n),n);import{r as P,w as Xe,l as Ye,af as Dt,M as Nt,O as Bt,u as Lt,ag as De,m as Ze,T as Ft,ay as It,az as Vt,aA as Mt,aB as ee,b as Qe,z as Ut,e as zt,p as jt,q as Ht,as as qt}from"./vue-k1SOGvAh.js";import{E as Jt,b as K,c as Wt,m as $t,e as Gt,g as Kt,i as Xt,f as Yt}from"./element-ZYmdyXh6.js";import{V as be,a as Zt}from"./vxe-hFHEaiBz.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(s){if(s.ep)return;s.ep=!0;const i=n(s);fetch(s.href,i)}})();const M="v3-admin-vite";class _{}F(_,"TOKEN",`${M}-token-key`),F(_,"CONFIG_LAYOUT",`${M}-config-layout-key`),F(_,"SIDEBAR_STATUS",`${M}-sidebar-status-key`),F(_,"ACTIVE_THEME_NAME",`${M}-active-theme-name-key`),F(_,"VISITED_VIEWS",`${M}-visited-views-key`),F(_,"CACHED_VIEWS",`${M}-cached-views-key`);const Qt=()=>{const e=localStorage.getItem(_.CONFIG_LAYOUT);return e?JSON.parse(e):null},en=e=>{localStorage.setItem(_.CONFIG_LAYOUT,JSON.stringify(e))},ws=()=>{localStorage.removeItem(_.CONFIG_LAYOUT)},bs=()=>localStorage.getItem(_.SIDEBAR_STATUS),vs=e=>{localStorage.setItem(_.SIDEBAR_STATUS,e)},tn=()=>localStorage.getItem(_.ACTIVE_THEME_NAME),nn=e=>{localStorage.setItem(_.ACTIVE_THEME_NAME,e)},rn=()=>{const e=localStorage.getItem(_.VISITED_VIEWS);return JSON.parse(e??"[]")},sn=e=>{e.forEach(t=>{delete t.matched,delete t.redirectedFrom}),localStorage.setItem(_.VISITED_VIEWS,JSON.stringify(e))},on=()=>{const e=localStorage.getItem(_.CACHED_VIEWS);return JSON.parse(e??"[]")},an=e=>{localStorage.setItem(_.CACHED_VIEWS,JSON.stringify(e))},et="normal",cn=[{title:"默认",name:et},{title:"黑暗",name:"dark"},{title:"深蓝",name:"dark-blue"}],ve=P(tn()||et),un=e=>{ve.value=e},ln=e=>{document.documentElement.className=e},dn=()=>{Xe(()=>{const e=ve.value;ln(e),nn(e)})};function fn(){return{themeList:cn,activeThemeName:ve,initTheme:dn,setTheme:un}}var mn={name:"zh-cn",el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",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:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",de
`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||t[n]&&br[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},je=Symbol("internals");function H(e){return e&&String(e).trim().toLowerCase()}function Y(e){return e===!1||e==null?e:c.isArray(e)?e.map(Y):String(e)}function Sr(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 _r=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ce(e,t,n,r,s){if(c.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!c.isString(t)){if(c.isString(r))return t.indexOf(r)!==-1;if(c.isRegExp(r))return r.test(t)}}function Ar(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Tr(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}class ie{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(d,m,E){const f=H(m);if(!f)throw new Error("header name must be a non-empty string");const u=c.findKey(s,f);(!u||s[u]===void 0||E===!0||E===void 0&&s[u]!==!1)&&(s[u||m]=Y(d))}const o=(d,m)=>c.forEach(d,(E,f)=>i(E,f,m));return c.isPlainObject(t)||t instanceof this.constructor?o(t,n):c.isString(t)&&(t=t.trim())&&!_r(t)?o(vr(t),n):t!=null&&i(n,t,r),this}get(t,n){if(t=H(t),t){const r=c.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return Sr(s);if(c.isFunction(n))return n.call(this,s,r);if(c.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=H(t),t){const r=c.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ce(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=H(o),o){const d=c.findKey(r,o);d&&(!n||ce(r,r[d],d,n))&&(delete r[d],s=!0)}}return c.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||ce(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return c.forEach(this,(s,i)=>{const o=c.findKey(r,i);if(o){n[o]=Y(s),delete n[i];return}const d=t?Ar(i):String(i).trim();d!==i&&delete n[i],n[d]=Y(s),r[d]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return c.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&c.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[je]=this[je]={accessors:{}}).accessors,s=this.prototype;function i(o){const d=H(o);r[d]||(Tr(s,o),r[d]=!0)}return c.isArray(t)?t.forEach(i):i(t),this}}ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);c.reduceDescriptors(ie.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});c.freezeMethods(ie);const N=ie;function ue(e,t){const n=this||Oe,r=t||n,s=N.from(r.headers);let i=r.data;return c.forEach(e,function(d){i=d.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function _t(e){return!!(e&&e.__CANCEL__)}function W(e,t,n){g.call(this,e??"canceled",g.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits(W,g,{__CANCEL__:!0});function Rr(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new g("Request failed with status code "+n.status,[g.ERR_BAD_REQUEST,g.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Or=k.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const o=[e+"="+encodeURIComponent(t)];c.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),c.isString(r)&&o.push("path="+r),c.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Cr(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function kr(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function At(e,t){return e&&!Cr(t)?kr(e,t):t}const Pr=k.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=s(window.location.href),function(o){const d=c.isString(o)?s(o):o;return d.protocol===r.protocol&&d.host===r.host}}():function(){return function(){return!0}}();function xr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Dr(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(m){const E=Date.now(),f=r[i];o||(o=E),n[s]=m,r[s]=E;let u=i,h=0;for(;u!==s;)h+=n[u++],u=u%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),E-o<t)return;const w=f&&E-f;return w?Math.round(h*1e3/w):void 0}}function He(e,t){let n=0;const r=Dr(50,250);return s=>{const i=s.loaded,o=s.lengthComputable?s.total:void 0,d=i-n,m=r(d),E=i<=o;n=i;const f={loaded:i,total:o,progress:o?i/o:void 0,bytes:d,rate:m||void 0,estimated:m&&o&&E?(o-i)/m:void 0,event:s};f[t?"download":"upload"]=!0,e(f)}}const Nr=typeof XMLHttpRequest<"u",Br=Nr&&function(e){return new Promise(function(n,r){let s=e.data;const i=N.from(e.headers).normalize();let{responseType:o,withXSRFToken:d}=e,m;function E(){e.cancelToken&&e.cancelToken.unsubscribe(m),e.signal&&e.signal.removeEventListener("abort",m)}let f;if(c.isFormData(s)){if(k.hasStandardBrowserEnv||k.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((f=i.getContentType())!==!1){const[l,...p]=f?f.split(";").map(y=>y.trim()).filter(Boolean):[];i.setContentType([l||"multipart/form-data",...p].join("; "))}}let u=new XMLHttpRequest;if(e.auth){const l=e.auth.username||"",p=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(l+":"+p))}const h=At(e.baseURL,e.url);u.open(e.method.toUpperCase(),wt(h,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function w(){if(!u)return;const l=N.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders()),y={data
`+i.map(qe).join(`
`):" "+qe(i[0]):"as no adapter specified";throw new g("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:pe};function le(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new W(null,e)}function Je(e){return le(e),e.headers=N.from(e.headers),e.data=ue.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Tt.getAdapter(e.adapter||Oe.adapter)(e).then(function(r){return le(e),r.data=ue.call(e,e.transformResponse,r),r.headers=N.from(r.headers),r},function(r){return _t(r)||(le(e),r&&r.response&&(r.response.data=ue.call(e,e.transformResponse,r.response),r.response.headers=N.from(r.response.headers))),Promise.reject(r)})}const We=e=>e instanceof N?e.toJSON():e;function z(e,t){t=t||{};const n={};function r(E,f,u){return c.isPlainObject(E)&&c.isPlainObject(f)?c.merge.call({caseless:u},E,f):c.isPlainObject(f)?c.merge({},f):c.isArray(f)?f.slice():f}function s(E,f,u){if(c.isUndefined(f)){if(!c.isUndefined(E))return r(void 0,E,u)}else return r(E,f,u)}function i(E,f){if(!c.isUndefined(f))return r(void 0,f)}function o(E,f){if(c.isUndefined(f)){if(!c.isUndefined(E))return r(void 0,E)}else return r(void 0,f)}function d(E,f,u){if(u in t)return r(E,f);if(u in e)return r(void 0,E)}const m={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:d,headers:(E,f)=>s(We(E),We(f),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(f){const u=m[f]||s,h=u(e[f],t[f],f);c.isUndefined(h)&&u!==d||(n[f]=h)}),n}const Rt="1.6.4",Ce={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ce[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const $e={};Ce.transitional=function(t,n,r){function s(i,o){return"[Axios v"+Rt+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,d)=>{if(t===!1)throw new g(s(o," has been removed"+(n?" in "+n:"")),g.ERR_DEPRECATED);return n&&!$e[o]&&($e[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,d):!0}};function Fr(e,t,n){if(typeof e!="object")throw new g("options must be an object",g.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const d=e[i],m=d===void 0||o(d,i,e);if(m!==!0)throw new g("option "+i+" must be "+m,g.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new g("Unknown option "+i,g.ERR_BAD_OPTION)}}const he={assertOptions:Fr,validators:Ce},B=he.validators;class Q{constructor(t){this.defaults=t,this.interceptors={request:new ze,response:new ze}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=z(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&he.assertOptions(r,{silentJSONParsing:B.transitional(B.boolean),forcedJSONParsing:B.transitional(B.boolean),clarifyTimeoutError:B.transitional(B.boolean)},!1),s!=null&&(c.isFunction(s)?n.paramsSerializer={serialize:s}:he.assertOptions(s,{encode:B.function,serialize:B.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&c.merge(i.common,i[n.method]);i&&c.forEach(["delete","get","head","post","put","patch","common"],a=>{delete i[a]}),n.headers=N.concat(o,i);const d=[];let m=!0;this.interceptors.request.forEach(function(l){typeof l.runWhen=="function"&&l.runWhen(n)===!1||(m=m&&l.synchronous,d.unshift(l.fulfilled,l.rejected))});const E=[];this.interceptors.response.forEach(function(l){E.push(l.fulfilled,l.rejected)});let f,u=0,h;if(!m){const a=[Je.bind(this),void 0];for(a.unshift.apply(a,d),a.push.apply(a,E),h=a.length,f=Promise.resolve(n);u<h;)f=f.then(a[u++],a[u++]);return f}h=d.length;let w=n;for(u=0;u<h;){const a=d[u++],l=d[u++];t
function __vite__mapDeps(indexes) {
if (!__vite__mapDeps.viteFileDeps) {
__vite__mapDeps.viteFileDeps = ["static/index-hLeb7bUi.js","static/vue-k1SOGvAh.js","static/useWatermark-94gpnue1.js","static/element-ZYmdyXh6.js","static/index.vue_vue_type_script_setup_true_lang-131OZp2H.js","static/vxe-hFHEaiBz.js","static/index-jbaCkYSr.css","static/index-0fcVCWZp.js","static/403-x_3NNcGL.js","static/ErrorPageLayout-8McD4TZK.js","static/ErrorPageLayout-MzgEGPxr.css","static/404-iTCBZFWu.js","static/index-5y4W0NiM.js","static/index-wzvf4Xdj.css","static/index-129PEFiO.js","static/index-eNpFb1fr.css","static/index-1jo8QJgp.js","static/index-4GSFgMIn.js","static/index-8RevaNcz.js","static/index-RCyw3LyW.css","static/index-K3r3K8wT.js","static/index-TswwRxse.js","static/index-A5kuWbk8.css","static/index-xtavDsDD.js","static/index-f3gE8mMO.js","static/index-WegGh_Sj.js","static/index-dIc-ucaO.js","static/index-zfNmzTIn.js","static/index-4H5tkPHd.js","static/use-fetch-select-jtfqItVp.js","static/use-fullscreen-loading-TgDICyiz.js","static/use-watermark-d_Bms3uK.js","static/use-watermark-vMj6GPUV.css","static/page-OOD7QDE3.js","static/SwitchRoles-Olea5dlm.js","static/SwitchRoles-NLnFn-tk.css","static/page-Tq1n9aA7.css","static/directive-p-53Up-g.js","static/directive-2HmODsST.css"]
}
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
}