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-60500aa4.js

6 lines
63 KiB
JavaScript
Raw Normal View History

var xt=Object.defineProperty;var Pt=(e,t,n)=>t in e?xt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var F=(e,t,n)=>(Pt(e,typeof t!="symbol"?t+"":t,n),n);import{r as P,w as Xe,H as Ye,ag as kt,ah as De,O as Dt,P as Nt,u as Bt,l as Ze,V as Lt,az as Ft,aA as It,aB as Vt,aC as ee,b as Qe,z as Mt,e as Ut,m as zt,p as Ht,at as jt}from"./vue-ec167982.js";import{E as qt,b as K,c as $t,m as Jt,e as Wt,g as Gt,i as Kt,f as Xt}from"./element-d7298f5f.js";import{V as ve,a as Yt}from"./vxe-141ad77e.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 o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();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 Zt=()=>{const e=localStorage.getItem(_.CONFIG_LAYOUT);return e?JSON.parse(e):null},Qt=e=>{localStorage.setItem(_.CONFIG_LAYOUT,JSON.stringify(e))},ys=()=>{localStorage.removeItem(_.CONFIG_LAYOUT)},ws=()=>localStorage.getItem(_.SIDEBAR_STATUS),vs=e=>{localStorage.setItem(_.SIDEBAR_STATUS,e)},en=()=>localStorage.getItem(_.ACTIVE_THEME_NAME),tn=e=>{localStorage.setItem(_.ACTIVE_THEME_NAME,e)},nn=()=>{const e=localStorage.getItem(_.VISITED_VIEWS);return JSON.parse(e??"[]")},rn=e=>{e.forEach(t=>{delete t.matched,delete t.redirectedFrom}),localStorage.setItem(_.VISITED_VIEWS,JSON.stringify(e))},sn=()=>{const e=localStorage.getItem(_.CACHED_VIEWS);return JSON.parse(e??"[]")},on=e=>{localStorage.setItem(_.CACHED_VIEWS,JSON.stringify(e))},et="normal",an=[{title:"默认",name:et},{title:"黑暗",name:"dark"},{title:"深蓝",name:"dark-blue"}],be=P(en()||et),cn=e=>{be.value=e},un=e=>{document.documentElement.className=e},ln=()=>{Xe(()=>{const e=be.value;un(e),tn(e)})};function dn(){return{themeList:an,activeThemeName:be,initTheme:ln,setTheme:cn}}var fn={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(i){s=i.indexOf(":"),n=i.substring(0,s).trim().toLowerCase(),r=i.substring(s+1).trim(),!(!n||t[n]&&yr[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},He=Symbol("internals");function j(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 vr(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 br=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 Sr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function _r(e,t){const n=c.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,i){return this[r].call(this,t,s,o,i)},configurable:!0})})}class ie{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(l,m,p){const u=j(m);if(!u)throw new Error("header name must be a non-empty string");const f=c.findKey(s,u);(!f||s[f]===void 0||p===!0||p===void 0&&s[f]!==!1)&&(s[f||m]=Y(l))}const i=(l,m)=>c.forEach(l,(p,u)=>o(p,u,m));return c.isPlainObject(t)||t instanceof this.constructor?i(t,n):c.isString(t)&&(t=t.trim())&&!br(t)?i(wr(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=j(t),t){const r=c.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return vr(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=j(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 o(i){if(i=j(i),i){const l=c.findKey(r,i);l&&(!n||ce(r,r[l],l,n))&&(delete r[l],s=!0)}}return c.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||ce(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return c.forEach(this,(s,o)=>{const i=c.findKey(r,o);if(i){n[i]=Y(s),delete n[o];return}const l=t?Sr(o):String(o).trim();l!==o&&delete n[o],n[l]=Y(s),r[l]=!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[He]=this[He]={accessors:{}}).accessors,s=this.prototype;function o(i){const l=j(i);r[l]||(_r(s,i),r[l]=!0)}return c.isArray(t)?t.forEach(o):o(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 o=r.data;return c.forEach(e,function(l){o=l.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function St(e){return!!(e&&e.__CANCEL__)}function J(e,t,n){g.call(this,e??"canceled",g.ERR_CANCELED,t,n),this.name="CanceledError"}c.inherits(J,g,{__CANCEL__:!0});function Ar(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 Tr=x.isStandardBrowserEnv?function(){return{write:function(n,r,s,o,i,l){const m=[];m.push(n+"="+encodeURIComponent(r)),c.isNumber(s)&&m.push("expires="+new Date(s).toGMTString()),c.isString(o)&&m.push("path="+o),c.isString(i)&&m.push("domain="+i),l===!0&&m.push("secure"),document.cookie=m.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Rr(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Or(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function _t(e,t){return e&&!Rr(t)?Or(e,t):t}const Cr=x.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let i=o;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{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(i){const l=c.isString(i)?s(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}();function xr(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 s=0,o=0,i;return t=t!==void 0?t:1e3,function(m){const p=Date.now(),u=r[o];i||(i=p),n[s]=m,r[s]=p;let f=o,E=0;for(;f!==s;)E+=n[f++],f=f%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),p-i<t)return;const y=u&&p-u;return y?Math.round(E*1e3/y):void 0}}function je(e,t){let n=0;const r=Pr(50,250);return s=>{const o=s.loaded,i=s.lengthComputable?s.total:void 0,l=o-n,m=r(l),p=o<=i;n=o;const u={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:m||void 0,estimated:m&&i&&p?(i-o)/m:void 0,event:s};u[t?"download":"upload"]=!0,e(u)}}const kr=typeof XMLHttpRequest<"u",Dr=kr&&function(e){return new Promise(function(n,r){let s=e.data;const o=N.from(e.headers).normalize(),i=e.responseType;let l;function m(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let p;c.isFormData(s)&&(x.isStandardBrowserEnv||x.isStandardBrowserWebWorkerEnv?o.setContentType(!1):o.getContentType(/^\s*multipart\/form-data/)?c.isString(p=o.getContentType())&&o.setContentType(p.replace(/^\s*(multipart\/form-data);+/,"$1")):o.setContentType("multipart/form-data"));let u=new XMLHttpRequest;if(e.auth){const a=e.auth.username||"",d=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(a+":"+d))}const f=_t(e.baseURL,e.url);u.open(e.method.toUpperCase(),wt(f,e.params,e.paramsSerializer),!0),u.timeout=e.timeout;function
`+o.map(qe).join(`
`):" "+qe(o[0]):"as no adapter specified";throw new g("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:pe};function le(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new J(null,e)}function $e(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),At.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 St(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 Je=e=>e instanceof N?e.toJSON():e;function z(e,t){t=t||{};const n={};function r(p,u,f){return c.isPlainObject(p)&&c.isPlainObject(u)?c.merge.call({caseless:f},p,u):c.isPlainObject(u)?c.merge({},u):c.isArray(u)?u.slice():u}function s(p,u,f){if(c.isUndefined(u)){if(!c.isUndefined(p))return r(void 0,p,f)}else return r(p,u,f)}function o(p,u){if(!c.isUndefined(u))return r(void 0,u)}function i(p,u){if(c.isUndefined(u)){if(!c.isUndefined(p))return r(void 0,p)}else return r(void 0,u)}function l(p,u,f){if(f in t)return r(p,u);if(f in e)return r(void 0,p)}const m={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(p,u)=>s(Je(p),Je(u),!0)};return c.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=m[u]||s,E=f(e[u],t[u],u);c.isUndefined(E)&&f!==l||(n[u]=E)}),n}const Tt="1.5.1",Ce={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ce[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const We={};Ce.transitional=function(t,n,r){function s(o,i){return"[Axios v"+Tt+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return(o,i,l)=>{if(t===!1)throw new g(s(i," has been removed"+(n?" in "+n:"")),g.ERR_DEPRECATED);return n&&!We[i]&&(We[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,l):!0}};function Br(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 o=r[s],i=t[o];if(i){const l=e[o],m=l===void 0||i(l,o,e);if(m!==!0)throw new g("option "+o+" must be "+m,g.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new g("Unknown option "+o,g.ERR_BAD_OPTION)}}const he={assertOptions:Br,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:o}=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 i=o&&c.merge(o.common,o[n.method]);o&&c.forEach(["delete","get","head","post","put","patch","common"],a=>{delete o[a]}),n.headers=N.concat(i,o);const l=[];let m=!0;this.interceptors.request.forEach(function(d){typeof d.runWhen=="function"&&d.runWhen(n)===!1||(m=m&&d.synchronous,l.unshift(d.fulfilled,d.rejected))});const p=[];this.interceptors.response.forEach(function(d){p.push(d.fulfilled,d.rejected)});let u,f=0,E;if(!m){const a=[$e.bind(this),void 0];for(a.unshift.apply(a,l),a.push.apply(a,p),E=a.length,u=Promise.resolve(n);f<E;)u=u.then(a[f++],a[f++]);return u}E=l.length;let y=n;for(f=0;f<E;){const a=l[f++],d=l[f++];try{y=a(y)}catch(