hs-admin-ui 16.0.8 → 16.0.9

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.
Files changed (24) hide show
  1. package/dist/{bcIcon-yArMcfT8.js → bcIcon-BnzU9Y20.cjs} +1 -1
  2. package/dist/{bcIcon-C9X7fHMn.mjs → bcIcon-CEW6HYbq.js} +1 -1
  3. package/dist/{bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-COr4IvZN.mjs → bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DeJm85cs.js} +2 -2
  4. package/dist/{bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BxwLctae.js → bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-Dl660Hz3.cjs} +2 -2
  5. package/dist/{components-DLXckk4C.mjs → components-BweH2evj.js} +1 -1
  6. package/dist/components-D4Q0gfqQ.cjs +3 -0
  7. package/dist/element-plus-ui.js +1 -1
  8. package/dist/element-plus-ui.mjs +10 -10
  9. package/dist/h5.js +1 -1
  10. package/dist/h5.mjs +2 -2
  11. package/dist/{index-Cffr-T4a.mjs → index-BMV_E6GB.js} +3 -3
  12. package/dist/{index-D9s2LT3q.js → index-BS6I1KCa.cjs} +1 -1
  13. package/dist/{index-413Nqtv2.js → index-BqER59zX.cjs} +1 -1
  14. package/dist/{index-DbVnKvm5.mjs → index-fAYztMsu.js} +1 -1
  15. package/dist/index.js +1 -1
  16. package/dist/index.mjs +10 -10
  17. package/dist/vxe-table-ui.js +1 -1
  18. package/dist/vxe-table-ui.mjs +12 -12
  19. package/package.json +2 -1
  20. package/dist/components-BnTw-qiD.js +0 -3
  21. /package/dist/{_plugin-vue_export-helper-VLDak8vc.js → _plugin-vue_export-helper-VLDak8vc.cjs} +0 -0
  22. /package/dist/{_plugin-vue_export-helper-Y3IFIQZf.mjs → _plugin-vue_export-helper-Y3IFIQZf.js} +0 -0
  23. /package/dist/{bcIcon.vue_vue_type_script_setup_true_name_bcIcon_lang-B4FHqtSa.js → bcIcon.vue_vue_type_script_setup_true_name_bcIcon_lang-B4FHqtSa.cjs} +0 -0
  24. /package/dist/{bcIcon.vue_vue_type_script_setup_true_name_bcIcon_lang-BwEGGUoG.mjs → bcIcon.vue_vue_type_script_setup_true_name_bcIcon_lang-BwEGGUoG.js} +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./bcIcon.vue_vue_type_script_setup_true_name_bcIcon_lang-B4FHqtSa.js");exports.default=e._sfc_main;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./bcIcon.vue_vue_type_script_setup_true_name_bcIcon_lang-B4FHqtSa.cjs");exports.default=e._sfc_main;
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./bcIcon.vue_vue_type_script_setup_true_name_bcIcon_lang-BwEGGUoG.mjs";
1
+ import { _ as f } from "./bcIcon.vue_vue_type_script_setup_true_name_bcIcon_lang-BwEGGUoG.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -2,7 +2,7 @@ var Ice = Object.defineProperty;
2
2
  var Ace = (e, t, n) => t in e ? Ice(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var fL = (e, t, n) => Ace(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import { isVNode as Os, Fragment as su, Comment as Dce, computed as ie, getCurrentInstance as cD, onMounted as yr, watchEffect as KY, onBeforeUnmount as Ka, isRef as kce, watch as Et, onScopeDispose as L6, shallowRef as Rm, ref as Oe, nextTick as et, defineComponent as Ct, renderSlot as za, useAttrs as XY, useSlots as Rce, toRef as Oce, createElementBlock as Gi, openBlock as lr, mergeProps as hL, unref as Nt, createCommentVNode as ct, createElementVNode as Zr, normalizeClass as Tr, createBlock as Xi, withCtx as Ai, resolveDynamicComponent as iu, withModifiers as mm, createVNode as Ji, toDisplayString as Aa, normalizeStyle as Ym, provide as Fr, Transition as uD, withDirectives as Sd, vShow as Om, h as x, shallowReactive as Nce, render as bh, reactive as bn, markRaw as IV, toRefs as Pce, resolveComponent as Yi, withKeys as AC, createTextVNode as fh, inject as At, createApp as Mce, onUnmounted as Zi, Teleport as mc, TransitionGroup as mv, onActivated as V6, getCurrentScope as JY, defineAsyncComponent as Lce, resolveDirective as ZY, toRaw as Vce, onDeactivated as Fce, renderList as fI } from "vue";
5
- import { k as cs, bF as cW, bz as uW, Q as QY, W as eq, bx as Bce, Z as tq, S as $ce, bs as Uce, M as Wce, T as Hce, bG as zce, aB as nq, bo as F6, c as jce, q as pL, ab as hh, l as AV, bH as Gce, a2 as Yce, f as DA, t as qce, u as gE, aM as dW, a$ as Kce, b0 as Xce, ai as hI, j as um, ak as $v, m as qm, b as Qm, au as Jce, d as ja, av as rq, bI as Zce, w as B6, a as Km, e as wd, v as iq, i as kA, _ as ry, ac as Qce, ao as eue, ax as tue, aG as nue, b3 as rue, bJ as iue, bK as oue, al as oq, s as aq, E as Zc, aw as aue, r as DV, bL as $6, a9 as Uv, aa as sq, aS as lq, a1 as fW, bM as cq, I as sue, ap as hW, af as pW, n as lue, aP as cue, bN as uue, B as uq } from "./_plugin-vue_export-helper-Y3IFIQZf.mjs";
5
+ import { k as cs, bF as cW, bz as uW, Q as QY, W as eq, bx as Bce, Z as tq, S as $ce, bs as Uce, M as Wce, T as Hce, bG as zce, aB as nq, bo as F6, c as jce, q as pL, ab as hh, l as AV, bH as Gce, a2 as Yce, f as DA, t as qce, u as gE, aM as dW, a$ as Kce, b0 as Xce, ai as hI, j as um, ak as $v, m as qm, b as Qm, au as Jce, d as ja, av as rq, bI as Zce, w as B6, a as Km, e as wd, v as iq, i as kA, _ as ry, ac as Qce, ao as eue, ax as tue, aG as nue, b3 as rue, bJ as iue, bK as oue, al as oq, s as aq, E as Zc, aw as aue, r as DV, bL as $6, a9 as Uv, aa as sq, aS as lq, a1 as fW, bM as cq, I as sue, ap as hW, af as pW, n as lue, aP as cue, bN as uue, B as uq } from "./_plugin-vue_export-helper-Y3IFIQZf.js";
6
6
  const due = 'a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])', fue = (e) => process.env.NODE_ENV === "test" ? !0 : getComputedStyle(e).position === "fixed" ? !1 : e.offsetParent !== null, mW = (e) => Array.from(e.querySelectorAll(due)).filter((t) => hue(t) && fue(t)), hue = (e) => {
7
7
  if (e.tabIndex > 0 || e.tabIndex === 0 && e.getAttribute("tabIndex") !== null)
8
8
  return !0;
@@ -49828,7 +49828,7 @@ function Q8e(e) {
49828
49828
  e
49829
49829
  );
49830
49830
  }
49831
- const eFe = Lce(() => import("./bcIcon-C9X7fHMn.mjs"));
49831
+ const eFe = Lce(() => import("./bcIcon-CEW6HYbq.js"));
49832
49832
  function GQ(e) {
49833
49833
  const t = uue;
49834
49834
  for (const n in t)
@@ -1,4 +1,4 @@
1
- "use strict";var Zle=Object.defineProperty;var Qle=(e,t,n)=>t in e?Zle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var I4=(e,t,n)=>Qle(e,typeof t!="symbol"?t+"":t,n);const s=require("vue"),rt=require("./_plugin-vue_export-helper-VLDak8vc.js"),ece='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',tce=e=>process.env.NODE_ENV==="test"?!0:getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,p9=e=>Array.from(e.querySelectorAll(ece)).filter(t=>nce(t)&&tce(t)),nce=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},rce=function(e,t,...n){let i;t.includes("mouse")||t.includes("click")?i="MouseEvents":t.includes("key")?i="KeyboardEvent":i="HTMLEvents";const a=document.createEvent(i);return a.initEvent(t,...n),e.dispatchEvent(a),e},jG=e=>!e.getAttribute("aria-owns"),ice=(e,t,n)=>{const{parentNode:i}=e;if(!i)return null;const a=i.querySelectorAll(n),l=Array.prototype.indexOf.call(a,e);return a[l+t]||null},oce=e=>{e&&(e.focus(),!jG(e)&&e.click())},GG=()=>rt.isClient&&/firefox/i.test(window.navigator.userAgent);function ace(e,t,n,i){const a=n-t;return e/=i/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}function YG(e){return e}function sce(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var lce=800,cce=16,uce=Date.now;function dce(e){var t=0,n=0;return function(){var i=uce(),a=cce-(i-n);if(n=i,a>0){if(++t>=lce)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function fce(e){return function(){return e}}var hce=rt.defineProperty?function(e,t){return rt.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:fce(t),writable:!0})}:YG,qG=dce(hce),m9=Math.max;function KG(e,t,n){return t=m9(t===void 0?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=m9(i.length-t,0),u=Array(l);++a<l;)u[a]=i[t+a];a=-1;for(var f=Array(t+1);++a<t;)f[a]=i[a];return f[t]=n(u),sce(e,this,f)}}var g9=rt.Symbol?rt.Symbol.isConcatSpreadable:void 0;function pce(e){return rt.isArray$1(e)||rt.isArguments(e)||!!(g9&&e&&e[g9])}function $V(e,t,n,i,a){var l=-1,u=e.length;for(n||(n=pce),a||(a=[]);++l<u;){var f=e[l];t>0&&n(f)?t>1?$V(f,t-1,n,i,a):rt.arrayPush(a,f):i||(a[a.length]=f)}return a}function XG(e){var t=e==null?0:e.length;return t?$V(e,1):[]}function JG(e){return qG(KG(e,void 0,XG),e+"")}function mce(e,t){return e!=null&&t in Object(e)}function gce(e,t,n){t=rt.castPath(t,e);for(var i=-1,a=t.length,l=!1;++i<a;){var u=rt.toKey(t[i]);if(!(l=e!=null&&n(e,u)))break;e=e[u]}return l||++i!=a?l:(a=e==null?0:e.length,!!a&&rt.isLength(a)&&rt.isIndex(u,a)&&(rt.isArray$1(e)||rt.isArguments(e)))}function ZG(e,t){return e!=null&&gce(e,t,mce)}function vce(e,t,n){for(var i=-1,a=t.length,l={};++i<a;){var u=t[i],f=rt.baseGet(e,u);n(f,u)&&rt.baseSet(l,rt.castPath(u,e),f)}return l}function yce(e,t){return vce(e,t,function(n,i){return ZG(e,i)})}var QG=JG(function(e,t){return e==null?{}:yce(e,t)});const eY=e=>rt.isClient?window.requestAnimationFrame(e):setTimeout(e,16),tY=e=>rt.isClient?window.cancelAnimationFrame(e):clearTimeout(e),_ce=(e,t)=>{if(!rt.isClient)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],i=rt.getStyle(e,n);return["scroll","auto","overlay"].some(a=>i.includes(a))},bce=(e,t)=>{if(!rt.isClient)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(_ce(n,t))return n;n=n.parentNode}return n};let zC;const nY=e=>{var t;if(!rt.isClient)return 0;if(zC!==void 0)return zC;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const i=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const l=a.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),zC=i-l,zC};function xce(e,t){if(!rt.isClient)return;if(!t){e.scrollTop=0;return}const n=[];let i=t.offsetParent;for(;i!==null&&e!==i&&e.contains(i);)n.push(i),i=i.offsetParent;const a=t.offsetTop+n.reduce((p,h)=>p+h.offsetTop,0),l=a+t.offsetHeight,u=e.scrollTop,f=u+e.clientHeight;a<u?e.scrollTop=a:l>f&&(e.scrollTop=l-e.clientHeight)}function Ece(e,t,n,i,a){const l=Date.now();let u;const f=()=>{const h=Date.now()-l,v=ace(h>i?i:h,t,n,i);rt.isWindow(e)?e.scrollTo(window.pageXOffset,v):e.scrollTop=v,h<i?u=eY(f):typeof a=="function"&&a()};return f(),()=>{u&&tY(u)}}const Sce=(e,t)=>rt.isWindow(t)?e.ownerDocument.documentElement:t,wce=e=>rt.isWindow(e)?window.scrollY:e.scrollTop,Lf={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},BI="update:modelValue",Cce="change",Tce="input",rY=e=>["",...rt.componentSizes].includes(e),Ice="utils/vue/vnode";var Zb=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(Zb||{});function iY(e){return s.isVNode(e)&&e.type===s.Fragment}function Ace(e){return s.isVNode(e)&&e.type===s.Comment}function Dce(e){return s.isVNode(e)&&!iY(e)&&!Ace(e)}const kce=e=>{if(!s.isVNode(e))return rt.debugWarn(Ice,"[getNormalizedProps] must be a VNode"),{};const t=e.props||{},n=(s.isVNode(e.type)?e.type.props:void 0)||{},i={};return Object.keys(n).forEach(a=>{rt.hasOwn(n[a],"default")&&(i[a]=n[a].default)}),Object.keys(t).forEach(a=>{i[rt.camelize(a)]=t[a]}),i},TT=e=>{const t=rt.isArray(e)?e:[e],n=[];return t.forEach(i=>{var a;rt.isArray(i)?n.push(...TT(i)):s.isVNode(i)&&rt.isArray(i.children)?n.push(...TT(i.children)):(n.push(i),s.isVNode(i)&&((a=i.component)!=null&&a.subTree)&&n.push(...TT(i.component.subTree)))}),n},Rce=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),Nce=["class","style"],Oce=/^on[A-Z]/,oY=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,i=s.computed(()=>((n==null?void 0:n.value)||[]).concat(Nce)),a=s.getCurrentInstance();return a?s.computed(()=>{var l;return rt.fromPairs(Object.entries((l=a.proxy)==null?void 0:l.$attrs).filter(([u])=>!i.value.includes(u)&&!(t&&Oce.test(u))))}):(rt.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),s.computed(()=>({})))},aY=(e,t,n,i)=>{let a={offsetX:0,offsetY:0};const l=h=>{const v=h.clientX,y=h.clientY,{offsetX:b,offsetY:E}=a,w=e.value.getBoundingClientRect(),C=w.left,T=w.top,I=w.width,k=w.height,A=document.documentElement.clientWidth,O=document.documentElement.clientHeight,V=-C+b,M=-T+E,L=A-C-I+b,$=O-T-k+E,q=U=>{let Q=b+U.clientX-v,X=E+U.clientY-y;i!=null&&i.value||(Q=Math.min(Math.max(Q,V),L),X=Math.min(Math.max(X,M),$)),a={offsetX:Q,offsetY:X},e.value&&(e.value.style.transform=`translate(${rt.addUnit(Q)}, ${rt.addUnit(X)})`)},B=()=>{document.removeEventListener("mousemove",q),document.removeEventListener("mouseup",B)};document.addEventListener("mousemove",q),document.addEventListener("mouseup",B)},u=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",l)},f=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",l)},p=()=>{a={offsetX:0,offsetY:0},e.value&&(e.value.style.transform="none")};return s.onMounted(()=>{s.watchEffect(()=>{n.value?u():f()})}),s.onBeforeUnmount(()=>{f()}),{resetPosition:p}},sY=(e,t={})=>{s.isRef(e)||rt.throwError("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||rt.useNamespace("popup"),i=s.computed(()=>n.bm("parent","hidden"));if(!rt.isClient||rt.hasClass(document.body,i.value))return;let a=0,l=!1,u="0";const f=()=>{setTimeout(()=>{rt.removeClass(document==null?void 0:document.body,i.value),l&&document&&(document.body.style.width=u)},200)};s.watch(e,p=>{if(!p){f();return}l=!rt.hasClass(document.body,i.value),l&&(u=document.body.style.width),a=nY(n.namespace.value);const h=document.documentElement.clientHeight<document.body.scrollHeight,v=rt.getStyle(document.body,"overflowY");a>0&&(h||v==="scroll")&&l&&(document.body.style.width=`calc(100% - ${a}px)`),rt.addClass(document.body,i.value)}),s.onScopeDispose(()=>f())},UV=e=>{if(!e)return{onClick:rt.NOOP,onMousedown:rt.NOOP,onMouseup:rt.NOOP};let t=!1,n=!1;return{onClick:u=>{t&&n&&e(u),t=n=!1},onMousedown:u=>{t=u.target===u.currentTarget},onMouseup:u=>{n=u.target===u.currentTarget}}};let C0=[];const v9=e=>{const t=e;t.key===Lf.esc&&C0.forEach(n=>n(t))},Pce=e=>{s.onMounted(()=>{C0.length===0&&document.addEventListener("keydown",v9),rt.isClient&&C0.push(e)}),s.onBeforeUnmount(()=>{C0=C0.filter(t=>t!==e),C0.length===0&&rt.isClient&&document.removeEventListener("keydown",v9)})};function Mce(e){let t;function n(){if(e.value==null)return;const{selectionStart:a,selectionEnd:l,value:u}=e.value;if(a==null||l==null)return;const f=u.slice(0,Math.max(0,a)),p=u.slice(Math.max(0,l));t={selectionStart:a,selectionEnd:l,value:u,beforeTxt:f,afterTxt:p}}function i(){if(e.value==null||t==null)return;const{value:a}=e.value,{beforeTxt:l,afterTxt:u,selectionStart:f}=t;if(l==null||u==null||f==null)return;let p=a.length;if(a.endsWith(u))p=a.length-u.length;else if(a.startsWith(l))p=l.length;else{const h=l[f-1],v=a.indexOf(h,f-1);v!==-1&&(p=v+1)}e.value.setSelectionRange(p,p)}return[n,i]}function lY(e,{beforeFocus:t,afterFocus:n,beforeBlur:i,afterBlur:a}={}){const l=s.getCurrentInstance(),{emit:u}=l,f=s.shallowRef(),p=s.ref(!1),h=b=>{rt.isFunction(t)&&t(b)||p.value||(p.value=!0,u("focus",b),n==null||n())},v=b=>{var E;rt.isFunction(i)&&i(b)||b.relatedTarget&&((E=f.value)!=null&&E.contains(b.relatedTarget))||(p.value=!1,u("blur",b),a==null||a())},y=()=>{var b,E;(b=f.value)!=null&&b.contains(document.activeElement)&&f.value!==document.activeElement||(E=e.value)==null||E.focus()};return s.watch(f,b=>{b&&b.setAttribute("tabindex","-1")}),rt.useEventListener(f,"focus",h,!0),rt.useEventListener(f,"blur",v,!0),rt.useEventListener(f,"click",y,!0),process.env.NODE_ENV==="test"&&s.onMounted(()=>{const b=rt.isElement(e.value)?e.value:document.querySelector("input,textarea");b&&(rt.useEventListener(b,"focus",h,!0),rt.useEventListener(b,"blur",v,!0))}),{isFocused:p,wrapperRef:f,handleFocus:h,handleBlur:v}}function cY({afterComposition:e,emit:t}){const n=s.ref(!1),i=f=>{t==null||t("compositionstart",f),n.value=!0},a=f=>{var p;t==null||t("compositionupdate",f);const h=(p=f.target)==null?void 0:p.value,v=h[h.length-1]||"";n.value=!Rce(v)},l=f=>{t==null||t("compositionend",f),n.value&&(n.value=!1,s.nextTick(()=>e(f)))};return{isComposing:n,handleComposition:f=>{f.type==="compositionend"?l(f):a(f)},handleCompositionStart:i,handleCompositionUpdate:a,handleCompositionEnd:l}}const Lce=rt.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),uY=e=>QG(Lce,e),Vce=rt.buildProps({a11y:{type:Boolean,default:!0},locale:{type:rt.definePropType(Object)},size:rt.useSizeProp,button:{type:rt.definePropType(Object)},experimentalFeatures:{type:rt.definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:rt.definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"},...rt.useEmptyValuesProps}),Ol={},Fce=s.defineComponent({name:"ElConfigProvider",props:Vce,setup(e,{slots:t}){s.watch(()=>e.message,i=>{Object.assign(Ol,i??{})},{immediate:!0,deep:!0});const n=rt.provideGlobalConfig(e);return()=>s.renderSlot(t,"default",{config:n==null?void 0:n.value})}}),dY=rt.withInstall(Fce);let Nl;const Bce=`
1
+ "use strict";var Zle=Object.defineProperty;var Qle=(e,t,n)=>t in e?Zle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var I4=(e,t,n)=>Qle(e,typeof t!="symbol"?t+"":t,n);const s=require("vue"),rt=require("./_plugin-vue_export-helper-VLDak8vc.cjs"),ece='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',tce=e=>process.env.NODE_ENV==="test"?!0:getComputedStyle(e).position==="fixed"?!1:e.offsetParent!==null,p9=e=>Array.from(e.querySelectorAll(ece)).filter(t=>nce(t)&&tce(t)),nce=e=>{if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return!(e.type==="hidden"||e.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},rce=function(e,t,...n){let i;t.includes("mouse")||t.includes("click")?i="MouseEvents":t.includes("key")?i="KeyboardEvent":i="HTMLEvents";const a=document.createEvent(i);return a.initEvent(t,...n),e.dispatchEvent(a),e},jG=e=>!e.getAttribute("aria-owns"),ice=(e,t,n)=>{const{parentNode:i}=e;if(!i)return null;const a=i.querySelectorAll(n),l=Array.prototype.indexOf.call(a,e);return a[l+t]||null},oce=e=>{e&&(e.focus(),!jG(e)&&e.click())},GG=()=>rt.isClient&&/firefox/i.test(window.navigator.userAgent);function ace(e,t,n,i){const a=n-t;return e/=i/2,e<1?a/2*e*e*e+t:a/2*((e-=2)*e*e+2)+t}function YG(e){return e}function sce(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var lce=800,cce=16,uce=Date.now;function dce(e){var t=0,n=0;return function(){var i=uce(),a=cce-(i-n);if(n=i,a>0){if(++t>=lce)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function fce(e){return function(){return e}}var hce=rt.defineProperty?function(e,t){return rt.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value:fce(t),writable:!0})}:YG,qG=dce(hce),m9=Math.max;function KG(e,t,n){return t=m9(t===void 0?e.length-1:t,0),function(){for(var i=arguments,a=-1,l=m9(i.length-t,0),u=Array(l);++a<l;)u[a]=i[t+a];a=-1;for(var f=Array(t+1);++a<t;)f[a]=i[a];return f[t]=n(u),sce(e,this,f)}}var g9=rt.Symbol?rt.Symbol.isConcatSpreadable:void 0;function pce(e){return rt.isArray$1(e)||rt.isArguments(e)||!!(g9&&e&&e[g9])}function $V(e,t,n,i,a){var l=-1,u=e.length;for(n||(n=pce),a||(a=[]);++l<u;){var f=e[l];t>0&&n(f)?t>1?$V(f,t-1,n,i,a):rt.arrayPush(a,f):i||(a[a.length]=f)}return a}function XG(e){var t=e==null?0:e.length;return t?$V(e,1):[]}function JG(e){return qG(KG(e,void 0,XG),e+"")}function mce(e,t){return e!=null&&t in Object(e)}function gce(e,t,n){t=rt.castPath(t,e);for(var i=-1,a=t.length,l=!1;++i<a;){var u=rt.toKey(t[i]);if(!(l=e!=null&&n(e,u)))break;e=e[u]}return l||++i!=a?l:(a=e==null?0:e.length,!!a&&rt.isLength(a)&&rt.isIndex(u,a)&&(rt.isArray$1(e)||rt.isArguments(e)))}function ZG(e,t){return e!=null&&gce(e,t,mce)}function vce(e,t,n){for(var i=-1,a=t.length,l={};++i<a;){var u=t[i],f=rt.baseGet(e,u);n(f,u)&&rt.baseSet(l,rt.castPath(u,e),f)}return l}function yce(e,t){return vce(e,t,function(n,i){return ZG(e,i)})}var QG=JG(function(e,t){return e==null?{}:yce(e,t)});const eY=e=>rt.isClient?window.requestAnimationFrame(e):setTimeout(e,16),tY=e=>rt.isClient?window.cancelAnimationFrame(e):clearTimeout(e),_ce=(e,t)=>{if(!rt.isClient)return!1;const n={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],i=rt.getStyle(e,n);return["scroll","auto","overlay"].some(a=>i.includes(a))},bce=(e,t)=>{if(!rt.isClient)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(_ce(n,t))return n;n=n.parentNode}return n};let zC;const nY=e=>{var t;if(!rt.isClient)return 0;if(zC!==void 0)return zC;const n=document.createElement("div");n.className=`${e}-scrollbar__wrap`,n.style.visibility="hidden",n.style.width="100px",n.style.position="absolute",n.style.top="-9999px",document.body.appendChild(n);const i=n.offsetWidth;n.style.overflow="scroll";const a=document.createElement("div");a.style.width="100%",n.appendChild(a);const l=a.offsetWidth;return(t=n.parentNode)==null||t.removeChild(n),zC=i-l,zC};function xce(e,t){if(!rt.isClient)return;if(!t){e.scrollTop=0;return}const n=[];let i=t.offsetParent;for(;i!==null&&e!==i&&e.contains(i);)n.push(i),i=i.offsetParent;const a=t.offsetTop+n.reduce((p,h)=>p+h.offsetTop,0),l=a+t.offsetHeight,u=e.scrollTop,f=u+e.clientHeight;a<u?e.scrollTop=a:l>f&&(e.scrollTop=l-e.clientHeight)}function Ece(e,t,n,i,a){const l=Date.now();let u;const f=()=>{const h=Date.now()-l,v=ace(h>i?i:h,t,n,i);rt.isWindow(e)?e.scrollTo(window.pageXOffset,v):e.scrollTop=v,h<i?u=eY(f):typeof a=="function"&&a()};return f(),()=>{u&&tY(u)}}const Sce=(e,t)=>rt.isWindow(t)?e.ownerDocument.documentElement:t,wce=e=>rt.isWindow(e)?window.scrollY:e.scrollTop,Lf={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},BI="update:modelValue",Cce="change",Tce="input",rY=e=>["",...rt.componentSizes].includes(e),Ice="utils/vue/vnode";var Zb=(e=>(e[e.TEXT=1]="TEXT",e[e.CLASS=2]="CLASS",e[e.STYLE=4]="STYLE",e[e.PROPS=8]="PROPS",e[e.FULL_PROPS=16]="FULL_PROPS",e[e.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",e[e.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",e[e.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",e[e.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",e[e.NEED_PATCH=512]="NEED_PATCH",e[e.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",e[e.HOISTED=-1]="HOISTED",e[e.BAIL=-2]="BAIL",e))(Zb||{});function iY(e){return s.isVNode(e)&&e.type===s.Fragment}function Ace(e){return s.isVNode(e)&&e.type===s.Comment}function Dce(e){return s.isVNode(e)&&!iY(e)&&!Ace(e)}const kce=e=>{if(!s.isVNode(e))return rt.debugWarn(Ice,"[getNormalizedProps] must be a VNode"),{};const t=e.props||{},n=(s.isVNode(e.type)?e.type.props:void 0)||{},i={};return Object.keys(n).forEach(a=>{rt.hasOwn(n[a],"default")&&(i[a]=n[a].default)}),Object.keys(t).forEach(a=>{i[rt.camelize(a)]=t[a]}),i},TT=e=>{const t=rt.isArray(e)?e:[e],n=[];return t.forEach(i=>{var a;rt.isArray(i)?n.push(...TT(i)):s.isVNode(i)&&rt.isArray(i.children)?n.push(...TT(i.children)):(n.push(i),s.isVNode(i)&&((a=i.component)!=null&&a.subTree)&&n.push(...TT(i.component.subTree)))}),n},Rce=e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e),Nce=["class","style"],Oce=/^on[A-Z]/,oY=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,i=s.computed(()=>((n==null?void 0:n.value)||[]).concat(Nce)),a=s.getCurrentInstance();return a?s.computed(()=>{var l;return rt.fromPairs(Object.entries((l=a.proxy)==null?void 0:l.$attrs).filter(([u])=>!i.value.includes(u)&&!(t&&Oce.test(u))))}):(rt.debugWarn("use-attrs","getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function"),s.computed(()=>({})))},aY=(e,t,n,i)=>{let a={offsetX:0,offsetY:0};const l=h=>{const v=h.clientX,y=h.clientY,{offsetX:b,offsetY:E}=a,w=e.value.getBoundingClientRect(),C=w.left,T=w.top,I=w.width,k=w.height,A=document.documentElement.clientWidth,O=document.documentElement.clientHeight,V=-C+b,M=-T+E,L=A-C-I+b,$=O-T-k+E,q=U=>{let Q=b+U.clientX-v,X=E+U.clientY-y;i!=null&&i.value||(Q=Math.min(Math.max(Q,V),L),X=Math.min(Math.max(X,M),$)),a={offsetX:Q,offsetY:X},e.value&&(e.value.style.transform=`translate(${rt.addUnit(Q)}, ${rt.addUnit(X)})`)},B=()=>{document.removeEventListener("mousemove",q),document.removeEventListener("mouseup",B)};document.addEventListener("mousemove",q),document.addEventListener("mouseup",B)},u=()=>{t.value&&e.value&&t.value.addEventListener("mousedown",l)},f=()=>{t.value&&e.value&&t.value.removeEventListener("mousedown",l)},p=()=>{a={offsetX:0,offsetY:0},e.value&&(e.value.style.transform="none")};return s.onMounted(()=>{s.watchEffect(()=>{n.value?u():f()})}),s.onBeforeUnmount(()=>{f()}),{resetPosition:p}},sY=(e,t={})=>{s.isRef(e)||rt.throwError("[useLockscreen]","You need to pass a ref param to this function");const n=t.ns||rt.useNamespace("popup"),i=s.computed(()=>n.bm("parent","hidden"));if(!rt.isClient||rt.hasClass(document.body,i.value))return;let a=0,l=!1,u="0";const f=()=>{setTimeout(()=>{rt.removeClass(document==null?void 0:document.body,i.value),l&&document&&(document.body.style.width=u)},200)};s.watch(e,p=>{if(!p){f();return}l=!rt.hasClass(document.body,i.value),l&&(u=document.body.style.width),a=nY(n.namespace.value);const h=document.documentElement.clientHeight<document.body.scrollHeight,v=rt.getStyle(document.body,"overflowY");a>0&&(h||v==="scroll")&&l&&(document.body.style.width=`calc(100% - ${a}px)`),rt.addClass(document.body,i.value)}),s.onScopeDispose(()=>f())},UV=e=>{if(!e)return{onClick:rt.NOOP,onMousedown:rt.NOOP,onMouseup:rt.NOOP};let t=!1,n=!1;return{onClick:u=>{t&&n&&e(u),t=n=!1},onMousedown:u=>{t=u.target===u.currentTarget},onMouseup:u=>{n=u.target===u.currentTarget}}};let C0=[];const v9=e=>{const t=e;t.key===Lf.esc&&C0.forEach(n=>n(t))},Pce=e=>{s.onMounted(()=>{C0.length===0&&document.addEventListener("keydown",v9),rt.isClient&&C0.push(e)}),s.onBeforeUnmount(()=>{C0=C0.filter(t=>t!==e),C0.length===0&&rt.isClient&&document.removeEventListener("keydown",v9)})};function Mce(e){let t;function n(){if(e.value==null)return;const{selectionStart:a,selectionEnd:l,value:u}=e.value;if(a==null||l==null)return;const f=u.slice(0,Math.max(0,a)),p=u.slice(Math.max(0,l));t={selectionStart:a,selectionEnd:l,value:u,beforeTxt:f,afterTxt:p}}function i(){if(e.value==null||t==null)return;const{value:a}=e.value,{beforeTxt:l,afterTxt:u,selectionStart:f}=t;if(l==null||u==null||f==null)return;let p=a.length;if(a.endsWith(u))p=a.length-u.length;else if(a.startsWith(l))p=l.length;else{const h=l[f-1],v=a.indexOf(h,f-1);v!==-1&&(p=v+1)}e.value.setSelectionRange(p,p)}return[n,i]}function lY(e,{beforeFocus:t,afterFocus:n,beforeBlur:i,afterBlur:a}={}){const l=s.getCurrentInstance(),{emit:u}=l,f=s.shallowRef(),p=s.ref(!1),h=b=>{rt.isFunction(t)&&t(b)||p.value||(p.value=!0,u("focus",b),n==null||n())},v=b=>{var E;rt.isFunction(i)&&i(b)||b.relatedTarget&&((E=f.value)!=null&&E.contains(b.relatedTarget))||(p.value=!1,u("blur",b),a==null||a())},y=()=>{var b,E;(b=f.value)!=null&&b.contains(document.activeElement)&&f.value!==document.activeElement||(E=e.value)==null||E.focus()};return s.watch(f,b=>{b&&b.setAttribute("tabindex","-1")}),rt.useEventListener(f,"focus",h,!0),rt.useEventListener(f,"blur",v,!0),rt.useEventListener(f,"click",y,!0),process.env.NODE_ENV==="test"&&s.onMounted(()=>{const b=rt.isElement(e.value)?e.value:document.querySelector("input,textarea");b&&(rt.useEventListener(b,"focus",h,!0),rt.useEventListener(b,"blur",v,!0))}),{isFocused:p,wrapperRef:f,handleFocus:h,handleBlur:v}}function cY({afterComposition:e,emit:t}){const n=s.ref(!1),i=f=>{t==null||t("compositionstart",f),n.value=!0},a=f=>{var p;t==null||t("compositionupdate",f);const h=(p=f.target)==null?void 0:p.value,v=h[h.length-1]||"";n.value=!Rce(v)},l=f=>{t==null||t("compositionend",f),n.value&&(n.value=!1,s.nextTick(()=>e(f)))};return{isComposing:n,handleComposition:f=>{f.type==="compositionend"?l(f):a(f)},handleCompositionStart:i,handleCompositionUpdate:a,handleCompositionEnd:l}}const Lce=rt.buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),uY=e=>QG(Lce,e),Vce=rt.buildProps({a11y:{type:Boolean,default:!0},locale:{type:rt.definePropType(Object)},size:rt.useSizeProp,button:{type:rt.definePropType(Object)},experimentalFeatures:{type:rt.definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:rt.definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"},...rt.useEmptyValuesProps}),Ol={},Fce=s.defineComponent({name:"ElConfigProvider",props:Vce,setup(e,{slots:t}){s.watch(()=>e.message,i=>{Object.assign(Ol,i??{})},{immediate:!0,deep:!0});const n=rt.provideGlobalConfig(e);return()=>s.renderSlot(t,"default",{config:n==null?void 0:n.value})}}),dY=rt.withInstall(Fce);let Nl;const Bce=`
2
2
  height:0 !important;
3
3
  visibility:hidden !important;
4
4
  ${GG()?"":"overflow:hidden !important;"}
@@ -112,7 +112,7 @@ Rn.version="2.30.1";YDe(Gi);Rn.fn=xn;Rn.min=M2e;Rn.max=L2e;Rn.now=V2e;Rn.utc=Wc;
112
112
  <div class="loading-next-box-item"></div>
113
113
  </div>
114
114
  </div>
115
- `;t.innerHTML=n,e.insertBefore(t,e.childNodes[0]),window.nextLoading=!0},done:(e=0)=>{s.nextTick(()=>{setTimeout(()=>{var n;window.nextLoading=!1;const t=document.querySelector(".loading-next");(n=t==null?void 0:t.parentNode)==null||n.removeChild(t)},e)})}};function Y6e(e){return{all:e=e||new Map,on:function(t,n){var i=e.get(t);i?i.push(n):e.set(t,[n])},off:function(t,n){var i=e.get(t);i&&(n?i.splice(i.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var i=e.get(t);i&&i.slice().map(function(a){a(n)}),(i=e.get("*"))&&i.slice().map(function(a){a(t,n)})}}}const E1=Y6e();function sQ(){const e=s.getCurrentScope(),t=new Map;let n={};function i(p,h){t.set(p,h),E1.on(p,h),n[p]&&(n[p].forEach(v=>h(v)),delete n[p])}function a(p,h){const v=(...y)=>{u(p,v),h(...y)};i(p,v)}function l(p,h){n[p]||(n[p]=[]),n[p].push(h),E1.emit(p,h)}function u(p,h){t.delete(p),E1.off(p,h)}function f(){for(const[p,h]of t.entries())u(p,h);n={}}return e&&s.onScopeDispose(f),{on:i,once:a,emit:l,off:u,clear:f}}function v5(e){let t=e.replace(/(^\s*)|(\s*$)/g,"");return t=t.replace(/[^\d.]/g,""),t=t.replace(/^0{2}$/g,"0"),t=t.replace(/^\./g,""),t=t.replace(".","$#$").replace(/\./g,"").replace("$#$","."),t=t.replace(/^(\-)*(\d+)\.(\d\d).*$/,"$1$2.$3"),t}function q6e(e){let t=e.replace(/(^\s*)|(\s*$)/g,"");return t=t.replace(/[^\d]/g,""),t=t.replace(/^0/g,""),t=t.replace(/^[1-9]\d\d{1,3}$/,"100"),t}function K6e(e){let t=v5(e);return t=t.replace(/^[1-9]\d\d{1,3}$/,"100"),t=t.replace(/^100\.$/,"100"),t}function X6e(e){let t=e.replace(/(^\s*)|(\s*$)/g,"");return t=t.replace(/[\.]*/g,""),t=t.replace(/(^0[\d]*)$/g,"0"),t=t.replace(/^0\d$/g,"0"),t=t.replace(/[^\d]/g,""),t}function J6e(e){let t=e.replace(/[\u4e00-\u9fa5\s]+/g,"");return t=t.replace(/(^\s*)|(\s*$)/g,""),t}function Z6e(e){let t=e.replace(/[a-zA-Z]+/g,"");return t=t.replace(/(^\s*)|(\s*$)/g,""),t}function Q6e(e){return e.replace(/(^\s*)|(\s*$)/g,"")}function e5e(e){let t=v5(e);return t=t.toString().split("."),t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t=t.join("."),t}function t5e(e,t="",n="red"){return t.replace(new RegExp(e,"gi"),`<span style='color: ${n}'>${e}</span>`)}function n5e(e,t="仟佰拾亿仟佰拾万仟佰拾元角分",n=""){e+="00";let i=e.indexOf(".");i>=0&&(e=e.substring(0,i)+e.substr(i+1,2)),t=t.substr(t.length-e.length);for(let a=0;a<e.length;a++)n+="零壹贰叁肆伍陆柒捌玖".substr(e.substr(a,1),1)+t.substr(a,1);return n=n.replace(/零角零分$/,"整").replace(/零[仟佰拾]/g,"零").replace(/零{2,}/g,"零").replace(/零([亿|万])/g,"$1").replace(/零+元/,"元").replace(/亿零{0,3}万/,"亿").replace(/^元/,"零元"),n}function r5e(e){return!!/^1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}$/.test(e)}function i5e(e){return!!/\d{3}-\d{8}|\d{4}-\d{7}/.test(e)}function o5e(e){return!!/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/.test(e)}function a5e(e){return!!/^[a-zA-Z]\w{5,15}$/.test(e)}function s5e(e){return!!/^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&\.*]+$)(?![a-zA-z\d]+$)(?![a-zA-z!@#$%^&\.*]+$)(?![\d!@#$%^&\.*]+$)[a-zA-Z\d!@#$%^&\.*]{6,16}$/.test(e)}function l5e(e){let t="";return/^(?:\d+|[a-zA-Z]+|[!@#$%^&\.*]+){6,16}$/.test(e)&&(t="弱"),/^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&\.*]+$)[a-zA-Z\d!@#$%^&\.*]{6,16}$/.test(e)&&(t="中"),/^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&\.*]+$)(?![a-zA-z\d]+$)(?![a-zA-z!@#$%^&\.*]+$)(?![\d!@#$%^&\.*]+$)[a-zA-Z\d!@#$%^&\.*]{6,16}$/.test(e)&&(t="强"),t}function c5e(e){return!!/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/.test(e)}function u5e(e){return!!/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}function d5e(e){return!!/^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/.test(e)}function f5e(e){return!!/^[\u4e00-\u9fa5]{1,6}(·[\u4e00-\u9fa5]{1,6}){0,2}$/.test(e)}function h5e(e){return!!/^[1-9][0-9]{5}$/.test(e)}function lQ(e){return!!/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(e)}function p5e(e){return!!/^(([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-Z](([0-9]{5}[DF])|([DF]([A-HJ-NP-Z0-9])[0-9]{4})))|([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-Z][A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳使领]))$/.test(e)}const m5e=s.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./bcIcon-yArMcfT8.js")));function cQ(e){const t=rt.svg;for(const n in t)e.component(`ele-${t[n].name}`,t[n]);e.component("SvgIcon",m5e)}function uQ(e){document.title=e}function dQ(e){let t="";const{query:n,params:i,meta:a}=e;return n!=null&&n.tagsViewName||i!=null&&i.tagsViewName?t=(n==null?void 0:n.tagsViewName)||(i==null?void 0:i.tagsViewName):t=a.title,t}const fQ=(e,t)=>{const n=new IntersectionObserver(i=>{i.forEach(a=>{if(a.isIntersecting){const{img:l,key:u}=a.target.dataset;a.target.src=l,a.target.onload=()=>{n.unobserve(a.target),t[u].loading=!1}}})});s.nextTick(()=>{document.querySelectorAll(e).forEach(i=>n.observe(i))})},hQ=()=>"",pQ=Nt.cloneDeep;function mQ(){return!!navigator.userAgent.match(/('phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone')/i)}function gQ(e){const t=[];for(const n in e){const i=[];for(const l in e[n])i.push(e[n][l]);i.filter(l=>l==="").length!==i.length&&t.push(e[n])}return t}function vQ(e){var i;const{origin:t,pathname:n}=window.location;if(e.link&&!((i=e==null?void 0:e.meta)!=null&&i.isIframe))return wr.get("userInfo").then(a=>{var u;const l=FZ(`${location.origin}${e.link}`,{isIframe:(u=e.meta)==null?void 0:u.isIframe,jti:a.jti});window.open(l,a.jti)});lQ(e.link)?window.open(e.link):window.open(`${t}${n}`)}const g5e={elSvg:e=>{cQ(e)},useTitle:e=>{uQ(e)},setTagsViewNameI18n(e){return dQ(e)},lazyImg:(e,t)=>{fQ(e,t)},globalComponentSize:()=>hQ(),deepClone:e=>pQ(e),isMobile:()=>mQ(),handleEmpty:e=>gQ(e),handleOpenLink:e=>{vQ(e)}},v5e=[{label:"F1",value:"F1"},{label:"F2",value:"F2"},{label:"F3",value:"F3"},{label:"F4",value:"F4"},{label:"F5",value:"F5"},{label:"F6",value:"F6"},{label:"F7",value:"F7"},{label:"F8",value:"F8"},{label:"F9",value:"F9"},{label:"F10",value:"F10"},{label:"F11",value:"F11"},{label:"F12",value:"F12"},{label:"Q",value:"KeyQ"},{label:"W",value:"KeyW"},{label:"E",value:"KeyE"},{label:"R",value:"KeyR"},{label:"T",value:"KeyT"},{label:"Y",value:"KeyY"},{label:"U",value:"KeyU"},{label:"I",value:"KeyI"},{label:"O",value:"KeyO"},{label:"P",value:"KeyP"},{label:"A",value:"KeyA"},{label:"S",value:"KeyS"},{label:"D",value:"KeyD"},{label:"F",value:"KeyF"},{label:"G",value:"KeyG"},{label:"H",value:"KeyH"},{label:"J",value:"KeyJ"},{label:"K",value:"KeyK"},{label:"L",value:"KeyL"},{label:"Z",value:"KeyZ"},{label:"X",value:"KeyX"},{label:"C",value:"KeyC"},{label:"V",value:"KeyV"},{label:"B",value:"KeyB"},{label:"N",value:"KeyN"},{label:"M",value:"KeyM"},{label:"Tab",value:"Tab"},{label:"Backspace",value:"Backspace"},{label:"Enter",value:"Enter"},{label:"NumpadEnter",value:"NumpadEnter"},{label:"Delete",value:"Delete"},{label:"左侧Shift",value:"ShiftLeft"},{label:"左侧Alt",value:"AltLeft"},{label:"左侧Ctrl",value:"ControlLeft"},{label:"左侧Win",value:"MetaLeft"},{label:"空格键",value:"Space"},{label:"右侧Alt",value:"AltRight"},{label:"右侧Win",value:"MetaRight"},{label:"右侧Ctrl",value:"ControlRight"},{label:"大键盘数字1",value:"Digit1"},{label:"大键盘数字2",value:"Digit2"},{label:"大键盘数字3",value:"Digit3"},{label:"大键盘数字4",value:"Digit4"},{label:"大键盘数字5",value:"Digit5"},{label:"大键盘数字6",value:"Digit6"},{label:"大键盘数字7",value:"Digit7"},{label:"大键盘数字8",value:"Digit8"},{label:"大键盘数字9",value:"Digit9"},{label:"大键盘数字0",value:"Digit0"},{label:"小键盘数字1",value:"Numpad1"},{label:"小键盘数字2",value:"Numpad2"},{label:"小键盘数字3",value:"Numpad3"},{label:"小键盘数字4",value:"Numpad4"},{label:"小键盘数字5",value:"Numpad5"},{label:"小键盘数字6",value:"Numpad6"},{label:"小键盘数字7",value:"Numpad7"},{label:"小键盘数字8",value:"Numpad8"},{label:"小键盘数字9",value:"Numpad9"},{label:"小键盘数字0",value:"Numpad0"}],sj={success(e){return Pi({message:e,type:"success"})},warning(e){return Pi({message:e,type:"warning"})},info(e){return Pi({message:e,type:"info"})},error(e){return Pi({message:e,type:"error"})}},Ll=new Proxy(Pi,{get(e,t){return t in sj?sj[t]:e[t]}}),y5e={install(e){e.config.globalProperties.$message=Ll}},S1={alert(e,t,n){const i=As.value;return As.value="",Jp.alert(e,t,{...n,callback:a=>{typeof(n==null?void 0:n.callback)=="function"&&(As.value=i,n.callback(a,a))}})},confirm(e,t,n){const i=As.value;return As.value="",Jp.confirm(e,t,n).finally(()=>{As.value=i})},prompt(e,t,n){const i=As.value;return As.value="",Jp.prompt(e,t,n).finally(()=>{As.value=i})}},U1=new Proxy(Jp,{get(e,t){return t in S1?S1[t]:e[t]}}),_5e={install(e){e.config.globalProperties.$MessageBox=U1,e.config.globalProperties.$messageBox=U1,e.config.globalProperties.$confirm=S1.confirm,e.config.globalProperties.$alert=S1.alert,e.config.globalProperties.$prompt=S1.prompt}},lj={success(e){return jb({...e,type:"success"})},warning(e){return jb({...e,type:"warning"})},info(e){return jb({...e,type:"info"})},error(e){return jb({...e,type:"error"})}},y5=new Proxy(jb,{get(e,t){return t in lj?lj[t]:e[t]}}),b5e={install(e){e.config.globalProperties.$notification=y5}},x5e={class:"popup-wrapper"},E5e={class:"content"},S5e={key:0},w5e=s.defineComponent({__name:"showPopup",props:{closeLoading:{type:Boolean,default:!1},showFooter:{type:Boolean,default:!0},confirmButtonText:{type:String,default:"确定"},cancelButtonText:{type:String,default:"取消"}},emits:["success"],setup(e){const t=s.ref(0),n=s.computed({get:()=>t.value>0,set:a=>{t.value+=a,t.value=Math.max(0,t.value)}});function i(a){n.value=a?1:-1}return s.provide("popupApi",{setLoading:i}),(a,l)=>{const u=s.resolveComponent("hs-button"),f=s.resolveDirective("loading");return s.withDirectives((s.openBlock(),s.createElementBlock("div",x5e,[s.createElementVNode("div",E5e,[s.createVNode(s.unref(dY),{locale:s.unref(EY)},{default:s.withCtx(()=>[s.renderSlot(a.$slots,"default",{},void 0,!0)]),_:3},8,["locale"])]),e.showFooter?(s.openBlock(),s.createElementBlock("footer",S5e,[s.createVNode(u,{size:"default",onClick:l[0]||(l[0]=p=>a.$emit("success","cancel"))},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(e.cancelButtonText),1)]),_:1}),s.createVNode(u,{type:"primary",size:"default",onClick:l[1]||(l[1]=p=>a.$emit("success","confirm"))},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(e.confirmButtonText),1)]),_:1})])):s.createCommentVNode("",!0)])),[[f,!e.closeLoading&&n.value]])}}}),C5e=rt._export_sfc$1(w5e,[["__scopeId","data-v-304dce2d"]]);function Cx(e){return s.getCurrentScope()?(s.onScopeDispose(e),!0):!1}function Qu(e){return typeof e=="function"?e():s.unref(e)}const Pk=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T5e=e=>e!=null,I5e=Object.prototype.toString,A5e=e=>I5e.call(e)==="[object Object]",kI=()=>{},D5e=k5e();function k5e(){var e,t;return Pk&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function R5e(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const i=t;t=void 0,i&&await i},n}function N5e(e){return s.getCurrentInstance()}function yQ(e,t=!0,n){N5e()?s.onMounted(e,n):t?e():s.nextTick(e)}function O5e(e,t,n){const i=s.watch(e,(...a)=>(s.nextTick(()=>i()),t(...a)),n);return i}const ll=Pk?window:void 0,P5e=Pk?window.document:void 0,_5=Pk?window.navigator:void 0;function os(e){var t;const n=Qu(e);return(t=n==null?void 0:n.$el)!=null?t:n}function eo(...e){let t,n,i,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,a]=e,t=ll):[t,n,i,a]=e,!t)return kI;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const l=[],u=()=>{l.forEach(v=>v()),l.length=0},f=(v,y,b,E)=>(v.addEventListener(y,b,E),()=>v.removeEventListener(y,b,E)),p=s.watch(()=>[os(t),Qu(a)],([v,y])=>{if(u(),!v)return;const b=A5e(y)?{...y}:y;l.push(...n.flatMap(E=>i.map(w=>f(v,E,w,b))))},{immediate:!0,flush:"post"}),h=()=>{p(),u()};return Cx(h),h}let cj=!1;function M5e(e,t,n={}){const{window:i=ll,ignore:a=[],capture:l=!0,detectIframe:u=!1}=n;if(!i)return kI;D5e&&!cj&&(cj=!0,Array.from(i.document.body.children).forEach(C=>C.addEventListener("click",kI)),i.document.documentElement.addEventListener("click",kI));let f=!0;const p=C=>Qu(a).some(T=>{if(typeof T=="string")return Array.from(i.document.querySelectorAll(T)).some(I=>I===C.target||C.composedPath().includes(I));{const I=os(T);return I&&(C.target===I||C.composedPath().includes(I))}});function h(C){const T=Qu(C);return T&&T.$.subTree.shapeFlag===16}function v(C,T){const I=Qu(C),k=I.$.subTree&&I.$.subTree.children;return k==null||!Array.isArray(k)?!1:k.some(A=>A.el===T.target||T.composedPath().includes(A.el))}const y=C=>{const T=os(e);if(C.target!=null&&!(!(T instanceof Element)&&h(e)&&v(e,C))&&!(!T||T===C.target||C.composedPath().includes(T))){if(C.detail===0&&(f=!p(C)),!f){f=!0;return}t(C)}};let b=!1;const E=[eo(i,"click",C=>{b||(b=!0,setTimeout(()=>{b=!1},0),y(C))},{passive:!0,capture:l}),eo(i,"pointerdown",C=>{const T=os(e);f=!p(C)&&!!(T&&!C.composedPath().includes(T))},{passive:!0}),u&&eo(i,"blur",C=>{setTimeout(()=>{var T;const I=os(e);((T=i.document.activeElement)==null?void 0:T.tagName)==="IFRAME"&&!(I!=null&&I.contains(i.document.activeElement))&&t(C)},0)})].filter(Boolean);return()=>E.forEach(C=>C())}function L5e(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function xV(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=ll,eventName:l="keydown",passive:u=!1,dedupe:f=!1}=i,p=L5e(t);return eo(a,l,v=>{v.repeat&&Qu(f)||p(v)&&n(v)},u)}function V5e(){const e=s.ref(!1),t=s.getCurrentInstance();return t&&s.onMounted(()=>{e.value=!0},t),e}function Rv(e){const t=V5e();return s.computed(()=>(t.value,!!e()))}function F5e(e,t,n={}){const{window:i=ll,...a}=n;let l;const u=Rv(()=>i&&"MutationObserver"in i),f=()=>{l&&(l.disconnect(),l=void 0)},p=s.computed(()=>{const b=Qu(e),E=(Array.isArray(b)?b:[b]).map(os).filter(T5e);return new Set(E)}),h=s.watch(()=>p.value,b=>{f(),u.value&&b.size&&(l=new MutationObserver(t),b.forEach(E=>l.observe(E,a)))},{immediate:!0,flush:"post"}),v=()=>l==null?void 0:l.takeRecords(),y=()=>{h(),f()};return Cx(y),{isSupported:u,stop:y,takeRecords:v}}function B5e(e={}){var t;const{window:n=ll,deep:i=!0,triggerOnRemoval:a=!1}=e,l=(t=e.document)!=null?t:n==null?void 0:n.document,u=()=>{var h;let v=l==null?void 0:l.activeElement;if(i)for(;v!=null&&v.shadowRoot;)v=(h=v==null?void 0:v.shadowRoot)==null?void 0:h.activeElement;return v},f=s.ref(),p=()=>{f.value=u()};return n&&(eo(n,"blur",h=>{h.relatedTarget===null&&p()},!0),eo(n,"focus",p,!0)),a&&F5e(l,h=>{h.filter(v=>v.removedNodes.length).map(v=>Array.from(v.removedNodes)).flat().forEach(v=>{v===f.value&&p()})},{childList:!0,subtree:!0}),p(),f}function $5e(e,t={}){const{window:n=ll}=t,i=Rv(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let a;const l=s.ref(!1),u=h=>{l.value=h.matches},f=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",u):a.removeListener(u))},p=s.watchEffect(()=>{i.value&&(f(),a=n.matchMedia(Qu(e)),"addEventListener"in a?a.addEventListener("change",u):a.addListener(u),l.value=a.matches)});return Cx(()=>{p(),f(),a=void 0}),l}function U5e(e,t={}){const{controls:n=!1,navigator:i=_5}=t,a=Rv(()=>i&&"permissions"in i),l=s.shallowRef(),u={name:e},f=s.shallowRef(),p=()=>{var v,y;f.value=(y=(v=l.value)==null?void 0:v.state)!=null?y:"prompt"};eo(l,"change",p);const h=R5e(async()=>{if(a.value){if(!l.value)try{l.value=await i.permissions.query(u)}catch{l.value=void 0}finally{p()}if(n)return s.toRaw(l.value)}});return h(),n?{state:f,isSupported:a,query:h}:f}function W5e(e={}){const{navigator:t=_5,requestPermissions:n=!1,constraints:i={audio:!0,video:!0},onUpdated:a}=e,l=s.ref([]),u=s.computed(()=>l.value.filter(w=>w.kind==="videoinput")),f=s.computed(()=>l.value.filter(w=>w.kind==="audioinput")),p=s.computed(()=>l.value.filter(w=>w.kind==="audiooutput")),h=Rv(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),v=s.ref(!1);let y;async function b(){h.value&&(l.value=await t.mediaDevices.enumerateDevices(),a==null||a(l.value),y&&(y.getTracks().forEach(w=>w.stop()),y=null))}async function E(){if(!h.value)return!1;if(v.value)return!0;const{state:w,query:C}=U5e("camera",{controls:!0});if(await C(),w.value!=="granted"){let T=!0;try{y=await t.mediaDevices.getUserMedia(i)}catch{y=null,T=!1}b(),v.value=T}else v.value=!0;return v.value}return h.value&&(n&&E(),eo(t.mediaDevices,"devicechange",b),b()),{devices:l,ensurePermissions:E,permissionGranted:v,videoInputs:u,audioInputs:f,audioOutputs:p,isSupported:h}}function z5e(e={}){const{document:t=P5e}=e;if(!t)return s.ref("visible");const n=s.ref(t.visibilityState);return eo(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function H5e(e,t,n={}){const{window:i=ll,...a}=n;let l;const u=Rv(()=>i&&"ResizeObserver"in i),f=()=>{l&&(l.disconnect(),l=void 0)},p=s.computed(()=>{const y=Qu(e);return Array.isArray(y)?y.map(b=>os(b)):[os(y)]}),h=s.watch(p,y=>{if(f(),u.value&&i){l=new ResizeObserver(t);for(const b of y)b&&l.observe(b,a)}},{immediate:!0,flush:"post"}),v=()=>{f(),h()};return Cx(v),{isSupported:u,stop:v}}function j5e(e,t={width:0,height:0},n={}){const{window:i=ll,box:a="content-box"}=n,l=s.computed(()=>{var y,b;return(b=(y=os(e))==null?void 0:y.namespaceURI)==null?void 0:b.includes("svg")}),u=s.ref(t.width),f=s.ref(t.height),{stop:p}=H5e(e,([y])=>{const b=a==="border-box"?y.borderBoxSize:a==="content-box"?y.contentBoxSize:y.devicePixelContentBoxSize;if(i&&l.value){const E=os(e);if(E){const w=E.getBoundingClientRect();u.value=w.width,f.value=w.height}}else if(b){const E=Array.isArray(b)?b:[b];u.value=E.reduce((w,{inlineSize:C})=>w+C,0),f.value=E.reduce((w,{blockSize:C})=>w+C,0)}else u.value=y.contentRect.width,f.value=y.contentRect.height},n);yQ(()=>{const y=os(e);y&&(u.value="offsetWidth"in y?y.offsetWidth:t.width,f.value="offsetHeight"in y?y.offsetHeight:t.height)});const h=s.watch(()=>os(e),y=>{u.value=y?t.width:0,f.value=y?t.height:0});function v(){p(),h()}return{width:u,height:f,stop:v}}const G5e={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Y5e(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:i=!1,initialValue:a={x:0,y:0},window:l=ll,target:u=l,scroll:f=!0,eventFilter:p}=e;let h=null,v=0,y=0;const b=s.ref(a.x),E=s.ref(a.y),w=s.ref(null),C=typeof t=="function"?t:G5e[t],T=L=>{const $=C(L);h=L,$&&([b.value,E.value]=$,w.value="mouse"),l&&(v=l.scrollX,y=l.scrollY)},I=L=>{if(L.touches.length>0){const $=C(L.touches[0]);$&&([b.value,E.value]=$,w.value="touch")}},k=()=>{if(!h||!l)return;const L=C(h);h instanceof MouseEvent&&L&&(b.value=L[0]+l.scrollX-v,E.value=L[1]+l.scrollY-y)},A=()=>{b.value=a.x,E.value=a.y},O=p?L=>p(()=>T(L),{}):L=>T(L),V=p?L=>p(()=>I(L),{}):L=>I(L),M=p?()=>p(()=>k(),{}):()=>k();if(u){const L={passive:!0};eo(u,["mousemove","dragover"],O,L),n&&t!=="movement"&&(eo(u,["touchstart","touchmove"],V,L),i&&eo(u,"touchend",A,L)),f&&t==="page"&&eo(l,"scroll",M,{passive:!0})}return{x:b,y:E,sourceType:w}}function q5e(e,t={}){const{handleOutside:n=!0,window:i=ll}=t,a=t.type||"page",{x:l,y:u,sourceType:f}=Y5e(t),p=s.ref(e??(i==null?void 0:i.document.body)),h=s.ref(0),v=s.ref(0),y=s.ref(0),b=s.ref(0),E=s.ref(0),w=s.ref(0),C=s.ref(!0);let T=()=>{};return i&&(T=s.watch([p,l,u],()=>{const I=os(p);if(!I||!(I instanceof Element))return;const{left:k,top:A,width:O,height:V}=I.getBoundingClientRect();y.value=k+(a==="page"?i.pageXOffset:0),b.value=A+(a==="page"?i.pageYOffset:0),E.value=V,w.value=O;const M=l.value-y.value,L=u.value-b.value;C.value=O===0||V===0||M<0||L<0||M>O||L>V,(n||!C.value)&&(h.value=M,v.value=L)},{immediate:!0}),eo(document,"mouseleave",()=>{C.value=!0})),{x:l,y:u,sourceType:f,elementX:h,elementY:v,elementPositionX:y,elementPositionY:b,elementHeight:E,elementWidth:w,isOutside:C,stop:T}}function K5e(e={}){const{touch:t=!0,drag:n=!0,capture:i=!1,initialValue:a=!1,window:l=ll}=e,u=s.ref(a),f=s.ref(null);if(!l)return{pressed:u,sourceType:f};const p=y=>()=>{u.value=!0,f.value=y},h=()=>{u.value=!1,f.value=null},v=s.computed(()=>os(e.target)||l);return eo(v,"mousedown",p("mouse"),{passive:!0,capture:i}),eo(l,"mouseleave",h,{passive:!0,capture:i}),eo(l,"mouseup",h,{passive:!0,capture:i}),n&&(eo(v,"dragstart",p("mouse"),{passive:!0,capture:i}),eo(l,"drop",h,{passive:!0,capture:i}),eo(l,"dragend",h,{passive:!0,capture:i})),t&&(eo(v,"touchstart",p("touch"),{passive:!0,capture:i}),eo(l,"touchend",h,{passive:!0,capture:i}),eo(l,"touchcancel",h,{passive:!0,capture:i})),{pressed:u,sourceType:f}}function X5e(e={}){var t,n;const i=s.ref((t=e.enabled)!=null?t:!1),a=s.ref((n=e.autoSwitch)!=null?n:!0),l=s.ref(e.constraints),{navigator:u=_5}=e,f=Rv(()=>{var C;return(C=u==null?void 0:u.mediaDevices)==null?void 0:C.getUserMedia}),p=s.shallowRef();function h(C){switch(C){case"video":{if(l.value)return l.value.video||!1;break}case"audio":{if(l.value)return l.value.audio||!1;break}}}async function v(){if(!(!f.value||p.value))return p.value=await u.mediaDevices.getUserMedia({video:h("video"),audio:h("audio")}),p.value}function y(){var C;(C=p.value)==null||C.getTracks().forEach(T=>T.stop()),p.value=void 0}function b(){y(),i.value=!1}async function E(){return await v(),p.value&&(i.value=!0),p.value}async function w(){return y(),await E()}return s.watch(i,C=>{C?v():y()},{immediate:!0}),s.watch(l,()=>{a.value&&p.value&&w()},{immediate:!0}),Cx(()=>{b()}),{isSupported:f,stream:p,start:E,stop:b,restart:w,constraints:l,enabled:i,autoSwitch:a}}function J5e(e={}){const{window:t=ll,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:l=!0,type:u="inner"}=e,f=s.ref(n),p=s.ref(i),h=()=>{t&&(u==="outer"?(f.value=t.outerWidth,p.value=t.outerHeight):l?(f.value=t.innerWidth,p.value=t.innerHeight):(f.value=t.document.documentElement.clientWidth,p.value=t.document.documentElement.clientHeight))};if(h(),yQ(h),eo("resize",h,{passive:!0}),a){const v=$5e("(orientation: portrait)");s.watch(v,()=>h())}return{width:f,height:p}}const W1=s.ref(1);function Z5e(e="code",t=!0){const n=s.ref();let i=[],a={};const l=z5e(),u=s.watch(W1,(y,b)=>{y>b?h(b):p(y)}),f=s.watch(l,y=>{y==="hidden"&&(i=[])});function p(y){h();const b=xV(w=>{i.push(w[e]),v(w)},{dedupe:!0,eventName:"keydown"}),E=xV(w=>{i=i.filter(C=>C!==w[e])},{dedupe:!0,eventName:"keyup"});Nt.set(a,y??W1.value,{onKeydown:b,onKeyup:E})}function h(y=-1){var w;if(i=[],y===-1){(w=Object.values(a))==null||w.forEach(C=>{var T,I;typeof C.onKeydown=="function"&&((T=C==null?void 0:C.onKeydown)==null||T.call(C)),typeof C.onKeyup=="function"&&((I=C==null?void 0:C.onKeyup)==null||I.call(C))}),a={};return}const{onKeydown:b,onKeyup:E}=Nt.get(a,y,{});typeof b=="function"&&(b==null||b()),typeof E=="function"&&(E==null||E()),delete a[y],u(),f()}function v(y){var w,C,T,I,k,A;const b=(w=n.value)==null?void 0:w.querySelectorAll("[shortcut]");if(!b)return;let E;for(let O in b)if((((C=b[O])==null?void 0:C.getAttribute)&&((T=b[O])==null?void 0:T.getAttribute("shortcut"))||"")===String(i)){E=b[O];break}if(!(!E||E!=null&&E.disabled||E!=null&&E.readOnly||(I=E==null?void 0:E.className)!=null&&I.includes("disabled"))){if(y.preventDefault(),(k=E==null?void 0:E.className)!=null&&k.includes("el-select")){if(E.querySelector(".is-disabled"))return;(A=E.querySelector("input"))==null||A.click();return}if((E==null?void 0:E.tagName)==="TEXTAREA"){typeof(E==null?void 0:E.focus)=="function"&&(E==null||E.focus()),typeof(E==null?void 0:E.click)=="function"&&(E==null||E.click());return}typeof(E==null?void 0:E.click)=="function"&&(E==null||E.click())}}return s.onMounted(()=>{t&&p()}),s.onBeforeUnmount(()=>{h()}),s.onDeactivated(()=>{i=[]}),{bcBoxRef:n,start:p,end:h}}let EV,_Q;function b5(e,t,n){var E;const i=As.value;As.value="";let a,l=()=>{};const u={...n.slots,title:((E=n.slots)==null?void 0:E.title)||(()=>n.title),default:()=>s.h(C5e,{onSuccess:y,showFooter:n.showFooter,closeLoading:n.closeLoading,confirmButtonText:n.confirmButtonText,cancelButtonText:n.cancelButtonText},{default:()=>s.h(e,{...t,onVnodeMounted:v,onReady:b,close:h})})},f=s.h(wv,Object.assign({},_Q,{...Nt.omit(n,["success"]),className:"custom-popup ".concat((n==null?void 0:n.className)||""),modelValue:!0,onHide(w){a(),typeof(n==null?void 0:n.onHide)=="function"&&n.onHide(w)},slots:u}));EV&&(f.appContext=EV);function p(){W1.value++;const w=document.createDocumentFragment();return s.render(f,w),document.body.appendChild(w),setTimeout(()=>{if(!Nt.isEmpty(n==null?void 0:n.position)){const C=n.position;if(/%/.test(C==null?void 0:C.top)||/%/.test(C==null?void 0:C.left)){/%/.test(C==null?void 0:C.top)&&(f.el.nextSibling.querySelector(".vxe-modal--box").style.top=`${C.top}`),/%/.test(C==null?void 0:C.left)&&(f.el.nextSibling.querySelector(".vxe-modal--box").style.top=`${C.left}`);return}(C==null?void 0:C.top)>-1&&(f.el.nextSibling.querySelector(".vxe-modal--box").style.top=`${C.top}px`),(C==null?void 0:C.left)>-1&&(f.el.nextSibling.querySelector(".vxe-modal--box").style.left=`${C.left}px`)}},100),()=>{W1.value--,As.value=i,s.render(null,w)}}a=p(),s.watch(()=>{var w;return(w=Dk.value)==null?void 0:w.value.path},()=>{a()});async function h(w){a(),typeof n.success=="function"&&n.success({type:w,data:w})}function v(w){var C;l=(C=w.component.exposed)==null?void 0:C.getData}async function y(w){const C=await l();typeof n.success=="function"&&n.success({type:w,data:C,close:a})}function b(w){typeof n.onReady=="function"&&n.onReady(w)}return a}const Q5e={install(e,t){EV=e._context,_Q=t}};function Kb(){return{hexToRgb:a=>{let l="";if(!/^\#?[0-9A-Fa-f]{6}$/.test(a))return Pi.warning("输入错误的hex"),"";a=a.replace("#",""),l=a.match(/../g);for(let f=0;f<3;f++)l[f]=parseInt(l[f],16);return l},rgbToHex:(a,l,u)=>{let f=/^\d{1,3}$/;if(!f.test(String(a))||!f.test(String(l))||!f.test(String(u)))return Pi.warning("输入错误的rgb颜色值"),"";let p=[a.toString(16),l.toString(16),u.toString(16)];for(let h=0;h<3;h++)p[h].length==1&&(p[h]=`0${p[h]}`);return`#${p.join("")}`},getDarkColor:(a,l)=>{if(!/^\#?[0-9A-Fa-f]{6}$/.test(a))return Pi.warning("输入错误的hex颜色值"),"";let f=Kb().hexToRgb(a);for(let p=0;p<3;p++)f[p]=Math.floor(f[p]*(1-l));return Kb().rgbToHex(f[0],f[1],f[2])},getLightColor:(a,l)=>{if(!/^\#?[0-9A-Fa-f]{6}$/.test(a))return Pi.warning("输入错误的hex颜色值"),"";let f=Kb().hexToRgb(a);for(let p=0;p<3;p++)f[p]=Math.floor((255-f[p])*l+f[p]);return Kb().rgbToHex(f[0],f[1],f[2])}}}function e8e(e,t=!0){const n=[];function i(a,l=[]){return a.reduce((u,f)=>(u.push(f),f!=null&&f.children&&f.children.length&&u.push(...i(f.children)),u),l)}return i(t?Nt.cloneDeep(e):e,n),n}function t8e(e){return e.reduce((t,n)=>{t[zu]||(t[zu]=[]);const i=t[zu].concat(n[zu]||[]);return Object.assign({},t,n,{[zu]:[...new Set(i)]})},{})}function bQ(e){const t={},n=i=>Object.values(i).reduce((a,l)=>(delete l[zu],a=Object.assign(a,l),a),{});return e.forEach(i=>{const a=i.getData();Object.assign(t,n(a))}),Nt.cloneDeep({...t,[zu]:Object.keys(t)})}function n8e(e){if(Array.isArray(e)){if(e.length===0||e.every(t=>typeof t=="string"||typeof t=="number"))return String(e);if(e.every(t=>typeof t=="object"&&t!==null))return JSON.stringify(e)}return typeof e=="object"&&e!==null?JSON.stringify(e):e}const r8e=(e,t,n)=>{if(!t)return e;const i=t.toLowerCase();return e.filter(a=>n(a).some(u=>u&&u.toLowerCase().includes(i)))};let xQ;const i8e=60*1e3;let uj=!1,SV=!1,RI;const o8e=/<script.*?src=["'](.*?)["'].*?><\/script>/g,dj=/index-(.*?)\.js/g,EQ=async()=>fetch("/index.html?timestep="+Date.now()).then(e=>e.text()).then(e=>{var n,i;const t=(n=e.match(o8e))==null?void 0:n.filter(a=>dj.test(a));return t&&t.length>0?Nt.get(((i=t[0])==null?void 0:i.match(dj))||[],"0",""):""}),SQ=()=>EQ().then(e=>{e&&e!=xQ&&!uj&&(uj=!0,wQ(),Jp.confirm("系统版本更新了,是否立即刷新页面?","提示",{confirmButtonText:"立即刷新",cancelButtonText:"稍后刷新",type:"warning",closeOnClickModal:!1}).then(()=>{location.reload()}))}),wV=async()=>{RI=window.setTimeout(async()=>{SV||SQ(),wV()},i8e)};function wQ(){RI&&(clearTimeout(RI),RI=0)}async function a8e(){return EQ().then(e=>{xQ=e,wV(),document.addEventListener("visibilitychange",()=>{SV=document.hidden,SV?wQ():(SQ(),wV())})})}const fj=e=>{const t="1.23452384164.123412416";document.getElementById(t)!==null&&document.body.removeChild(document.getElementById(t));const n=document.createElement("canvas");n.width=200,n.height=130;const i=n.getContext("2d");i.rotate(-20*Math.PI/180),i.font="12px Vedana",i.fillStyle="rgba(200, 200, 200, 0.30)",i.textBaseline="middle",i.fillText(e,n.width/10,n.height/2);const a=document.createElement("div");return a.id=t,a.style.pointerEvents="none",a.style.top="0px",a.style.left="0px",a.style.position="fixed",a.style.zIndex="10000000",a.style.width=`${document.documentElement.clientWidth}px`,a.style.height=`${document.documentElement.clientHeight}px`,a.style.background=`url(${n.toDataURL("image/png")}) left top repeat`,document.body.appendChild(a),t},s8e={set:e=>{let t=fj(e);document.getElementById(t)===null&&(t=fj(e))},del:()=>{let e="1.23452384164.123412416";document.getElementById(e)!==null&&document.body.removeChild(document.getElementById(e))}},l8e=Object.freeze(Object.defineProperty({__proto__:null,CurrentRoute:Dk,CurrentRouter:kk,CustomeStore:E6e,Download:rQ,HsMessage:Ll,HsMessageBox:U1,HsNotification:y5,IS_DEV:Em,IsIdNumber:W6e,Local:am,NEXT_NAME:cs,NextLoading:G6e,Session:$Z,add:$Oe,addUrlParams:FZ,axiosInterceptors:g6e,cfprint:p5,checkPlugin:qZ,clearAllIndexDB:S6e,convertCurrency:LJ,copyText:ZZ,dataURLtoBlob:iQ,dateFormatHMS:B6e,dateFormatYMD:V6e,dateFormatYMDHMS:F6e,decimalDigits:gx,decrypt:H6e,deepClone:pQ,div:zOe,downloadFile:g5,elSvg:cQ,encrypt:z6e,encryptionTool:b6e,exportAllData:nQ,exportSelectedData:tQ,exportSelectedDownloadFile:eQ,fixedNumAccuracy:sv,formatAxis:M6e,formatDate:wx,formatPast:P6e,fuzzySearch:r8e,getAuthFieldsByMid:jZ,getColumnWidthConfig:WZ,getConfig:Nk,getDataDictListByMid:T6e,getDataType:j6e,getDictListByMid:HZ,getFormDataType:oQ,getFormInstanceData:bQ,getMergeData:t8e,getNumbers:HOe,getStoreSystemParams:C6e,getSystemParams:w6e,getTableDataType:aQ,getUrlBase64:A6e,getUrlParams:Bo,getWeek:QZ,globalComponentSize:hQ,handleEmpty:gQ,handleOpenLink:vQ,iframeMessage:y6e,isLegalNumber:PJ,isMobile:mQ,isObjectValueEqual:RX,isToNumber:e5,isUpdate:a8e,judementSameArr:GDe,lazyImg:fQ,lodash:Nt,mathTool:MJ,message:y5e,messageBox:_5e,mittBus:E1,notification:b5e,numberToChinese:jOe,other:g5e,percentFormat:L6e,popupPlugin:Q5e,print:D6e,processData:m5,push:v6e,removeConfig:UZ,removeDuplicate:J3,request:gi,scale2Format:U6e,scaleFormat:$6e,sendMsg:KZ,setColumnWidthConfig:h5,setConfig:Ok,setLocalSystemParams:zZ,setTagsViewNameI18n:dQ,shortcutList:v5e,showPopup:b5,sub:UOe,systemStore:wr,times:WOe,transferString:n8e,treeToList:e8e,trimPrintData:XZ,useChangeColor:Kb,useMittBus:sQ,useRequest:_6e,useTitle:uQ,useToggleFullPage:O6e,verifiyNumberInteger:X6e,verifyAccount:o5e,verifyAndSpace:Q6e,verifyCarNum:p5e,verifyCnAndSpace:J6e,verifyEmail:u5e,verifyEnAndSpace:Z6e,verifyFullName:f5e,verifyIPAddress:c5e,verifyIdCard:d5e,verifyNumberCnUppercase:n5e,verifyNumberComma:e5e,verifyNumberIntegerAndFloat:v5,verifyNumberPercentage:q6e,verifyNumberPercentageFloat:K6e,verifyPassword:a5e,verifyPasswordPowerful:s5e,verifyPasswordStrength:l5e,verifyPhone:r5e,verifyPostalCode:h5e,verifyTelPhone:i5e,verifyTextColor:t5e,verifyUrl:lQ,watermark:s8e},Symbol.toStringTag,{value:"Module"}));function c8e({option:e,row:t}){return t.field1===Number(e.data)}const u8e=(e,t)=>{const n={},i=(t==null?void 0:t.reduce((a,l)=>(a[l.data.field]=!!l.data.formatAmount,Nt.set(n,l.data.field,!!l.data.formatFooter),a),{}))||{};return[e.columns.map((a,l)=>{if(l===0)return"合计";if(!Nt.isEmpty(e.data,"0.customTotal")){const u=Nt.get(e.data,`0.customTotal.${a.field}`,"");return(Nt.get(i,a.field)||Nt.get(n,a.field))&&u!==""?sv(u):u}return""})]};function d8e(e){console.debug("params.$table.getData()",e.$table.getData())}function f8e(e,t){console.debug("form =>> 表单单击",e,t)}const CV={filterAgeMethod:c8e,footerMethod:u8e,cellDetailMethod:d8e,formBtnMethod:f8e},As=s.ref(""),TV=s.ref({}),Ts=s.ref({}),fv=s.ref(!1),Oc=s.ref({}),CQ=s.ref({}),h8e=s.ref({}),p8e=s.ref(!0),TQ=s.ref({}),IQ=["checkbox","radio","expand","seq","html"],sA="system_params",Mk="custome_field_",z1="query_field_",x5="_REGEXP_",zu="force_update_list",AQ={},m8e=["hs-select","bc-tree-search","hs-tree-select","hs-radio","hs-checkbox","hs-upload","hs-date-picker"],g8e="Home,PrevJump,PrevPage,JumpNumber,NextPage,NextJump,End,Sizes,FullJump,Total".split(","),Xb=(e,t)=>e.isSimulate&&!e.requestUrl||e.isGetCanche?MQ(e,t):gi(t);function Nv(e){return TQ.value[e.uniqueId]?!e.isShow||!e.fieldShow?!1:e.userFieldShow:!0}function v8e(e){return JSON.stringify(e,function(t,n){return n instanceof RegExp?`${x5}${n.toString()}`:n})}function sm(e){const t=/method=/,n=/functionBody=/,i=/string=/;function a(l){for(let u in l){if(l[`${u}_1`])l[u]=CV[l[`${u}_1`]];else if(t.test(l[u])&&l[u].split("=")[1]){const f=l[u].replace(t,"");l[`${u}_1`]=f,l[u]=CV[f]}if(l[`${u}_2`])l[u]=new Function("return "+l[`${u}_2`])();else if(n.test(l[u])&&l[u].split("=")[1]){const f=l[u].replace(n,"");l[`${u}_2`]=f,l[u]=new Function("return "+f)()}if(i.test(l[u]))if(l[u].split("=")[1]){const f=l[u].replace(i,"");l[u]=new Function("return "+f)()}else l[u]=[];if(typeof l[u]=="string"&&l[u].startsWith(x5)){const f=l[u].slice(9).replace(/\/$/,"");l[u]=new RegExp(f)}u==="formatAmount"&&l[u]&&Nt.set(l,"formatter",function(f){var p,h;return sv((h=f==null?void 0:f.row)==null?void 0:h[(p=f==null?void 0:f.column)==null?void 0:p.field])}),Nt.isObject(l[u])&&!Nt.isEmpty(l[u])&&a(l[u]),Nt.isEmpty(Nt.get(l,`${u}.children`))||a(Nt.get(l,`${u}.children`))}}return a(e),e}function DQ(e){return e.groupMark?(e.el2=e.el,e.groupField=Mk+e.groupMark,"bc-group"):kQ(e.el)}function kQ(e){return{"hs-select":"bc-select","hs-tree-select":"bc-tree-select","hs-radio":"bc-radio","hs-checkbox":"bc-checkbox","hs-upload":"bc-upload"}[e]||e}async function RQ(e){if(!e.form)return Promise.resolve({});const t=e.form,n=t==null?void 0:t.formConfig.map(l=>{const u=sm(l.data.elData);return l.data.elData={...u==null?void 0:u.attrs,...Nt.omit(u,"attrs")},l.data.baseData.el=DQ(l.data.baseData),l}),i=Nt.omit(sm(e.form.baseData),["inline","gutter","justify","align"]),a=Nt.cloneDeep(Nt.get(Oc.value,`${e==null?void 0:e.config_unique_id}`));return fv.value&&a&&(e!=null&&e.form)&&(e.form.formData=Nt.cloneDeep(a)),{id:e.form.id,baseData:i,formConfig:n,formData:e.form.formData}}function y8e(e){return Promise.all(e.tables.map(t=>_8e(t,e)))}async function _8e(e,t){var p,h,v,y,b,E,w,C;const n=Nt.cloneDeep(e);if(n.baseData=sm(Nt.omit(n.baseData,"data")),n.baseData.mid=t.mid,n.baseData.config_unique_id=t.config_unique_id,n.baseData.is_apply_page){const T=await wr.get(sA),I=n.baseData.uuid?`${n.baseData.uuid}${n.baseData.id}`:n.baseData.id,k=Nt.get(T,`_user_pageSize.${I}`,T==null?void 0:T._sys_pageSize);n.baseData.table_page_data.pageSize=Number(k??((p=n.baseData.table_page_data)==null?void 0:p.pageSize)??20),Nt.isEmpty((h=n.baseData.table_page_data)==null?void 0:h.layouts)&&(n.baseData.table_page_data.layouts=g8e),Nt.isEmpty(T==null?void 0:T._sys_pageSize_s)||(n.baseData.table_page_data.pageSizes=T._sys_pageSize_s)}n.tableConfig=n.tableConfig.map(T=>(Nt.isEmpty(T==null?void 0:T.children)?T.data=sm(T.data):T.children=sm(T.children),T));let i={};const a=Nt.get(CQ.value,`query.${n.id}`)||[],l=Nt.get(Oc.value,`${(v=n==null?void 0:n.baseData)==null?void 0:v.config_unique_id}`);fv.value&&((b=(y=t==null?void 0:t.form)==null?void 0:y.baseData)!=null&&b.isShowQuerySearch)&&l?a.forEach(T=>{i[T]=l[T]}):i=Nt.cloneDeep((E=t==null?void 0:t.form)==null?void 0:E.formData);const u=await E5(n.baseData,i,(C=(w=t==null?void 0:t.form)==null?void 0:w.baseData)==null?void 0:C.isShowQuerySearch),f=T=>{var I;return(I=T.treeConfig)!=null&&I.transform?delete T.stripe:delete T.treeConfig,Nt.has(T==null?void 0:T.rowConfig,"height")&&(Nt.set(T,"cellConfig.height",Nt.get(T,"rowConfig.height")),Nt.unset(T,"rowConfig.height")),T};return{id:n.id,baseData:f(n.baseData),tableConfig:n.tableConfig,tableData:u}}async function E5(e,t,n=!1){let i=t&&Nt.cloneDeep(t);if(typeof TV.value[e.id]=="function"){const l=await TV.value[e.id](i,e);Nt.isEmpty(l)?n||(i=Oc.value[e.config_unique_id]):i=l}const a=await NQ(e,i,n);if(!e.isSimulate&&!e.requestUrl){console.log("未配置接口,不请求数据");const l=Nt.get(AQ,e.id,[]);return e.is_apply_page&&(e.table_page_data.total=l.length),l}return e.isCloseInitData&&fv.value&&(e.isCloseInitData=!1),e.isCloseInitData&&!fv.value?(e.isCloseInitData=!1,[]):(e.loading=!0,e.isSplitInterface?Xb(e,{...a,params:{...a.params,url_type:"data"}}).then(l=>{var u,f;if(e.is_apply_page){const p=((u=l.data)==null?void 0:u.pageList)??((f=l.data)==null?void 0:f.customPageList)??[];return typeof Ts.value[e.id]=="function"?Ts.value[e.id](p):p}else{const p=l.data||[];return typeof Ts.value[e.id]=="function"?Ts.value[e.id](p):p}}).finally(()=>{e.loading=!1}):e.isRemoteTotal?Promise.all([Xb(e,{...a,params:{...a.params,url_type:"total"}}),Xb(e,{...a,params:{...a.params,url_type:"data"}})]).then(([l,u])=>{var p,h,v;let f=((p=l==null?void 0:l.data)==null?void 0:p.customTotal)||{};if(e.is_apply_page){const b=(((h=u.data)==null?void 0:h.pageList)??((v=u.data)==null?void 0:v.customPageList)??[]).map(E=>Object.assign(E,{customTotal:f}));return typeof Ts.value[e.id]=="function"?Ts.value[e.id](b):b}else{const b=((u==null?void 0:u.data)||[]).map(E=>Object.assign(E,{customTotal:f}));return typeof Ts.value[e.id]=="function"?Ts.value[e.id](b):b}}).finally(()=>{e.loading=!1}):Xb(e,a).then(l=>{var f,p,h;const u=((f=l==null?void 0:l.data)==null?void 0:f.customTotal)||{};if(e.is_apply_page){e.table_page_data.currentPage=l.data.page.currentPage||1,e.table_page_data.pageSize=l.data.page.pageSize,e.table_page_data.total=l.data.page.totalItem;const y=(((p=l.data)==null?void 0:p.pageList)??((h=l.data)==null?void 0:h.customPageList)??[]).map(b=>Object.assign(b,{customTotal:u}));return typeof Ts.value[e.id]=="function"?Ts.value[e.id](y):y}else{const y=(l.data||[]).map(b=>Object.assign(b,{customTotal:u}));return typeof Ts.value[e.id]=="function"?Ts.value[e.id](y):y}}).finally(()=>{e.loading=!1}))}function b8e(e,t,n){const i=n&&Nt.cloneDeep(n),a=async(l,u)=>{if(l.baseData.isRemoteTotal||l.baseData.isSplitInterface){const f=await NQ(l.baseData,i);return Promise.all([l.baseData.is_apply_page?Xb(l.baseData,{...f,params:{...f.params,url_type:"count"}}):Promise.resolve(null)]).then(async p=>{var h,v,y,b,E,w,C,T,I;if(l.baseData.is_apply_page){const[k]=p;l.baseData.table_page_data.currentPage!==((v=(h=k==null?void 0:k.data)==null?void 0:h.page)==null?void 0:v.currentPage)&&(l.baseData.table_page_data.currentPage=((b=(y=k==null?void 0:k.data)==null?void 0:y.page)==null?void 0:b.currentPage)||1,l.tableData=await E5(l.baseData,i,(C=(w=(E=u.value)==null?void 0:E.form)==null?void 0:w.baseData)==null?void 0:C.isShowQuerySearch)),l.baseData.table_page_data.currentPage=((I=(T=k==null?void 0:k.data)==null?void 0:T.page)==null?void 0:I.currentPage)||1,l.baseData.table_page_data.pageSize=k.data.page.pageSize,l.baseData.table_page_data.total=k.data.page.totalItem}return p})}};return t?Promise.all(e.value.tables.filter(l=>l.id===t).map(l=>a(l,e))):Promise.all(e.value.tables.map(l=>a(l,e)))}async function NQ(e,t,n=!1){var E,w;const i=(e==null?void 0:e.proxy)||"scmp-web",a=e.method||"get",l={url:"/"+i+e.requestUrl,method:a},u={currentPage:((E=e.table_page_data)==null?void 0:E.currentPage)||1,pageSize:((w=e.table_page_data)==null?void 0:w.pageSize)||10};Nt.set(e,"scrollX.enabled",u.pageSize>=50),Nt.set(e,"scrollX.gt",0),Nt.set(e,"scrollY.enabled",u.pageSize>=50),Nt.set(e,"scrollY.gt",0);const f=OQ(e,t,!0,!0,n),p=e.requestParams?new Function("return "+e.requestParams)():{},h=Nt.cloneDeep(Object.assign({},f,e.is_apply_page?u:{},p)),v=Object.keys(h).filter(C=>C.startsWith("_")).map(C=>{const[T,I,k]=C.split("|");return{type:T.slice(1),key:I,code:k,value:h[C]}}),y=Object.keys(h).filter(C=>!C.startsWith("_")).reduce((C,T)=>(Nt.set(C,T,h[T]),C),{}),b=v.length>0?Object.assign({qry_json_data:JSON.stringify(v)},y):y;return a==="get"?l.params=b:l.data=b,l}function OQ(e,t,n=!0,i=!0,a=!1){const l=S5(e.config_unique_id);a&&t&&Object.keys(t).forEach(v=>{Oc.value[e.config_unique_id]||(Oc.value[e.config_unique_id]={}),Oc.value[e.config_unique_id][v]=t[v]});const u=a?t||{}:Oc.value[e.config_unique_id]||{},f=Nt.cloneDeep(fv.value?Object.assign(l,t||{},u):Object.assign(u,l,t||{}));if(Nt.isEmpty(f))return{};const p=new RegExp(Mk),h=new RegExp(z1);for(let v in f){Array.isArray(f[v])&&(f[v]=String(f[v]));const y=p.test(v),b=h.test(v),E=f[`${z1}${e.id}`];if(b&&E&&i){const C=Object.keys(E).reduce((T,I)=>(E[I]&&(typeof E[I]=="string"?T[I]=E[I].trim():T[I]=E[I]),T),{});Object.assign(f,C)}(y||b)&&delete f[v],(typeof f[v]=="string"&&f[v]===""||f[v]===void 0)&&n&&delete f[v]}return f}async function x8e(e){const t=Nt.cloneDeep(e);if(t.preParsing)return t;const n=await RQ(t),i=(await y8e(t)).filter(Boolean);return Em.value==!0&&aQ(i),{...t,form:n,tables:i}}function E8e(e){var l;const t=Nt.cloneDeep(e);if(t.preParsing)return t;const n=sm(t.data),i=PQ(t);for(let u in n)Nt.isEmpty(n[u])||Nt.set(n,`${u}.${zu}`,i);const a=((l=t.form)==null?void 0:l.map(u=>(u.config=sm(u.config),u)))||[];return Em.value==!0&&console.debug(oQ(t)),{...t,data:n,form:a}}function PQ(e){var t,n,i,a;return((a=(i=(n=(t=e==null?void 0:e.form)==null?void 0:t.filter(l=>l.formItemType==="form"))==null?void 0:n.map(l=>l.config.map(f=>f.config.filter(p=>Nv({...p.baseData,uniqueId:e.config_unique_id})).map(p=>p.baseData.prop).toString())))==null?void 0:i.flat(2))==null?void 0:a.filter(Boolean))||[]}function S8e({mid:e,id:t,uid:n,tableId:i,uuid:a,data:l,pageSize:u,is_apply_page:f}){const p=a?`cache_${i}_${a}`:`cache_${i}`;return Ok({mid:e,id:t,uid:n},Nt.cloneDeep(l),p).then(()=>{const h=Math.ceil(l.length/u);return{currentPage:h,totalPage:l.length,data:f?l.slice((h-1)*u,h*u):l,currentData:f?l.slice(0,u):l}})}async function MQ(e,t){const n=e.uuid,i=n?`cache_${e.id}_${n}`:`cache_${e.id}`,a=e.mid||Bo().mid;return Nk({mid:a,id:e.config_unique_id},i).then(l=>{if(!t)return l||[];let u=l||[];const f=u.length,p=t.method.toLocaleLowerCase()==="get"?"params":"data";let h=t[p].currentPage||1,v=t[p].pageSize;const y=(E,w,C)=>{const T=(I,k)=>I[w]<k[w]?C==="asc"?-1:1:I[w]>k[w]?C==="asc"?1:-1:0;return E.sort(T)};if(Nt.get(t,`${p}.query_order_by`)){const[E,w]=Nt.get(t,`${p}.query_order_by`).split(" ");u=y(u,E,w)}return e.is_apply_page?{code:1,data:{customPageList:u.slice((h-1)*v,h*v),page:{currentPage:h,pageSize:v,totalItem:f}}}:{code:1,data:u}})}function w8e(e,t){var u,f,p;const n=t||Nt.omit((u=e==null?void 0:e.form)==null?void 0:u.formData,["currentPage","pageSize"]),i=((p=(f=e==null?void 0:e.form)==null?void 0:f.formConfig)==null?void 0:p.reduce((h,v)=>(Nv({...v.data.baseData,uniqueId:e==null?void 0:e.config_unique_id})&&Object.assign(h,{[v.data.baseData.prop]:""}),h),{}))||{};if(Nt.isEmpty(i))return{};const a=new RegExp(Mk),l=new Set(Object.keys(i));return Object.keys(n).forEach(h=>{a.test(h)?n[h].some(v=>l.has(v))&&n[h].map(v=>{Object.assign(i,{[v]:n[v]})}):Reflect.has(i,h)&&(i[h]=n[h])}),i}function S5(e){const t=new RegExp(z1),n=Nt.get(Oc.value,e,{});return Object.keys(n).reduce((i,a)=>(t.test(a)&&Object.assign(i,{[a]:Nt.get(n,a,{})}),i),{})}class Io{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){const n=Io.hexChars,i=Io.hexOut;let a,l,u,f;for(f=0;f<4;f+=1)for(l=f*8,a=t[f],u=0;u<8;u+=2)i[l+1+u]=n.charAt(a&15),a>>>=4,i[l+0+u]=n.charAt(a&15),a>>>=4;return i.join("")}static _md5cycle(t,n){let i=t[0],a=t[1],l=t[2],u=t[3];i+=(a&l|~a&u)+n[0]-680876936|0,i=(i<<7|i>>>25)+a|0,u+=(i&a|~i&l)+n[1]-389564586|0,u=(u<<12|u>>>20)+i|0,l+=(u&i|~u&a)+n[2]+606105819|0,l=(l<<17|l>>>15)+u|0,a+=(l&u|~l&i)+n[3]-1044525330|0,a=(a<<22|a>>>10)+l|0,i+=(a&l|~a&u)+n[4]-176418897|0,i=(i<<7|i>>>25)+a|0,u+=(i&a|~i&l)+n[5]+1200080426|0,u=(u<<12|u>>>20)+i|0,l+=(u&i|~u&a)+n[6]-1473231341|0,l=(l<<17|l>>>15)+u|0,a+=(l&u|~l&i)+n[7]-45705983|0,a=(a<<22|a>>>10)+l|0,i+=(a&l|~a&u)+n[8]+1770035416|0,i=(i<<7|i>>>25)+a|0,u+=(i&a|~i&l)+n[9]-1958414417|0,u=(u<<12|u>>>20)+i|0,l+=(u&i|~u&a)+n[10]-42063|0,l=(l<<17|l>>>15)+u|0,a+=(l&u|~l&i)+n[11]-1990404162|0,a=(a<<22|a>>>10)+l|0,i+=(a&l|~a&u)+n[12]+1804603682|0,i=(i<<7|i>>>25)+a|0,u+=(i&a|~i&l)+n[13]-40341101|0,u=(u<<12|u>>>20)+i|0,l+=(u&i|~u&a)+n[14]-1502002290|0,l=(l<<17|l>>>15)+u|0,a+=(l&u|~l&i)+n[15]+1236535329|0,a=(a<<22|a>>>10)+l|0,i+=(a&u|l&~u)+n[1]-165796510|0,i=(i<<5|i>>>27)+a|0,u+=(i&l|a&~l)+n[6]-1069501632|0,u=(u<<9|u>>>23)+i|0,l+=(u&a|i&~a)+n[11]+643717713|0,l=(l<<14|l>>>18)+u|0,a+=(l&i|u&~i)+n[0]-373897302|0,a=(a<<20|a>>>12)+l|0,i+=(a&u|l&~u)+n[5]-701558691|0,i=(i<<5|i>>>27)+a|0,u+=(i&l|a&~l)+n[10]+38016083|0,u=(u<<9|u>>>23)+i|0,l+=(u&a|i&~a)+n[15]-660478335|0,l=(l<<14|l>>>18)+u|0,a+=(l&i|u&~i)+n[4]-405537848|0,a=(a<<20|a>>>12)+l|0,i+=(a&u|l&~u)+n[9]+568446438|0,i=(i<<5|i>>>27)+a|0,u+=(i&l|a&~l)+n[14]-1019803690|0,u=(u<<9|u>>>23)+i|0,l+=(u&a|i&~a)+n[3]-187363961|0,l=(l<<14|l>>>18)+u|0,a+=(l&i|u&~i)+n[8]+1163531501|0,a=(a<<20|a>>>12)+l|0,i+=(a&u|l&~u)+n[13]-1444681467|0,i=(i<<5|i>>>27)+a|0,u+=(i&l|a&~l)+n[2]-51403784|0,u=(u<<9|u>>>23)+i|0,l+=(u&a|i&~a)+n[7]+1735328473|0,l=(l<<14|l>>>18)+u|0,a+=(l&i|u&~i)+n[12]-1926607734|0,a=(a<<20|a>>>12)+l|0,i+=(a^l^u)+n[5]-378558|0,i=(i<<4|i>>>28)+a|0,u+=(i^a^l)+n[8]-2022574463|0,u=(u<<11|u>>>21)+i|0,l+=(u^i^a)+n[11]+1839030562|0,l=(l<<16|l>>>16)+u|0,a+=(l^u^i)+n[14]-35309556|0,a=(a<<23|a>>>9)+l|0,i+=(a^l^u)+n[1]-1530992060|0,i=(i<<4|i>>>28)+a|0,u+=(i^a^l)+n[4]+1272893353|0,u=(u<<11|u>>>21)+i|0,l+=(u^i^a)+n[7]-155497632|0,l=(l<<16|l>>>16)+u|0,a+=(l^u^i)+n[10]-1094730640|0,a=(a<<23|a>>>9)+l|0,i+=(a^l^u)+n[13]+681279174|0,i=(i<<4|i>>>28)+a|0,u+=(i^a^l)+n[0]-358537222|0,u=(u<<11|u>>>21)+i|0,l+=(u^i^a)+n[3]-722521979|0,l=(l<<16|l>>>16)+u|0,a+=(l^u^i)+n[6]+76029189|0,a=(a<<23|a>>>9)+l|0,i+=(a^l^u)+n[9]-640364487|0,i=(i<<4|i>>>28)+a|0,u+=(i^a^l)+n[12]-421815835|0,u=(u<<11|u>>>21)+i|0,l+=(u^i^a)+n[15]+530742520|0,l=(l<<16|l>>>16)+u|0,a+=(l^u^i)+n[2]-995338651|0,a=(a<<23|a>>>9)+l|0,i+=(l^(a|~u))+n[0]-198630844|0,i=(i<<6|i>>>26)+a|0,u+=(a^(i|~l))+n[7]+1126891415|0,u=(u<<10|u>>>22)+i|0,l+=(i^(u|~a))+n[14]-1416354905|0,l=(l<<15|l>>>17)+u|0,a+=(u^(l|~i))+n[5]-57434055|0,a=(a<<21|a>>>11)+l|0,i+=(l^(a|~u))+n[12]+1700485571|0,i=(i<<6|i>>>26)+a|0,u+=(a^(i|~l))+n[3]-1894986606|0,u=(u<<10|u>>>22)+i|0,l+=(i^(u|~a))+n[10]-1051523|0,l=(l<<15|l>>>17)+u|0,a+=(u^(l|~i))+n[1]-2054922799|0,a=(a<<21|a>>>11)+l|0,i+=(l^(a|~u))+n[8]+1873313359|0,i=(i<<6|i>>>26)+a|0,u+=(a^(i|~l))+n[15]-30611744|0,u=(u<<10|u>>>22)+i|0,l+=(i^(u|~a))+n[6]-1560198380|0,l=(l<<15|l>>>17)+u|0,a+=(u^(l|~i))+n[13]+1309151649|0,a=(a<<21|a>>>11)+l|0,i+=(l^(a|~u))+n[4]-145523070|0,i=(i<<6|i>>>26)+a|0,u+=(a^(i|~l))+n[11]-1120210379|0,u=(u<<10|u>>>22)+i|0,l+=(i^(u|~a))+n[2]+718787259|0,l=(l<<15|l>>>17)+u|0,a+=(u^(l|~i))+n[9]-343485551|0,a=(a<<21|a>>>11)+l|0,t[0]=i+t[0]|0,t[1]=a+t[1]|0,t[2]=l+t[2]|0,t[3]=u+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(Io.stateIdentity),this}appendStr(t){const n=this._buffer8,i=this._buffer32;let a=this._bufferLength,l,u;for(u=0;u<t.length;u+=1){if(l=t.charCodeAt(u),l<128)n[a++]=l;else if(l<2048)n[a++]=(l>>>6)+192,n[a++]=l&63|128;else if(l<55296||l>56319)n[a++]=(l>>>12)+224,n[a++]=l>>>6&63|128,n[a++]=l&63|128;else{if(l=(l-55296)*1024+(t.charCodeAt(++u)-56320)+65536,l>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[a++]=(l>>>18)+240,n[a++]=l>>>12&63|128,n[a++]=l>>>6&63|128,n[a++]=l&63|128}a>=64&&(this._dataLength+=64,Io._md5cycle(this._state,i),a-=64,i[0]=i[16])}return this._bufferLength=a,this}appendAsciiStr(t){const n=this._buffer8,i=this._buffer32;let a=this._bufferLength,l,u=0;for(;;){for(l=Math.min(t.length-u,64-a);l--;)n[a++]=t.charCodeAt(u++);if(a<64)break;this._dataLength+=64,Io._md5cycle(this._state,i),a=0}return this._bufferLength=a,this}appendByteArray(t){const n=this._buffer8,i=this._buffer32;let a=this._bufferLength,l,u=0;for(;;){for(l=Math.min(t.length-u,64-a);l--;)n[a++]=t[u++];if(a<64)break;this._dataLength+=64,Io._md5cycle(this._state,i),a=0}return this._bufferLength=a,this}getState(){const t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){const n=t.buffer,i=t.state,a=this._state;let l;for(this._dataLength=t.length,this._bufferLength=t.buflen,a[0]=i[0],a[1]=i[1],a[2]=i[2],a[3]=i[3],l=0;l<n.length;l+=1)this._buffer8[l]=n.charCodeAt(l)}end(t=!1){const n=this._bufferLength,i=this._buffer8,a=this._buffer32,l=(n>>2)+1;this._dataLength+=n;const u=this._dataLength*8;if(i[n]=128,i[n+1]=i[n+2]=i[n+3]=0,a.set(Io.buffer32Identity.subarray(l),l),n>55&&(Io._md5cycle(this._state,a),a.set(Io.buffer32Identity)),u<=4294967295)a[14]=u;else{const f=u.toString(16).match(/(.*?)(.{0,8})$/);if(f===null)return;const p=parseInt(f[2],16),h=parseInt(f[1],16)||0;a[14]=p,a[15]=h}return Io._md5cycle(this._state,a),t?this._state:Io._hex(this._state)}}Io.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);Io.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);Io.hexChars="0123456789abcdef";Io.hexOut=[];Io.onePassHasher=new Io;if(Io.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");const C8e=s.reactive({rowIndex:{},columnIndex:{}});function T8e(e,t){const n=s.inject("bcTableApi"),i=s.watch(e,l);s.onBeforeUnmount(()=>{i()});async function a(v){var T,I;const y=t.data.tables.find(k=>k.id===e.value);y.baseData.table_page_data.currentPage=v.currentPage,y.baseData.table_page_data.pageSize=v.pageSize;const b=await wr.get(sA)||{},E=t.data.uuid?`${t.data.uuid}${y.id}`:y.id;b._user_pageSize={...b._user_pageSize,[E]:v.pageSize},await wr.set(sA,b);const w=Nt.cloneDeep(((I=(T=t.data)==null?void 0:T.form)==null?void 0:I.formData)||{}),C=Nt.cloneDeep(Oc.value[t.data.config_unique_id]);return Nt.isEmpty(C)||Nt.merge(w,C),n==null?void 0:n.setQueryData(Object.assign(w,{currentPage:v.currentPage,pageSize:v.pageSize})).then(()=>n.search(n.getActiveTab(),n.getQueryData(!1)))}function l(){return s.nextTick().then(()=>{var y;const v=(y=t.data)==null?void 0:y.btns.find(b=>["exportSelect","exportSelectedData"].includes(b.data.key));if(v){const{data:b}=n.getCheckboxRow();v.data.disabled=Nt.isEmpty(b)}})}function u(v){const y=n==null?void 0:n.getApi(),b=y==null?void 0:y.getCheckboxRecords();if(!Nt.isEmpty(b))n==null||n.setCheckboxRow(b,v.checked);else{const E=t.data.tables.find(w=>w.id===e.value).tableData;n==null||n.setCheckboxRow(E,v.checked)}l()}function f(v){n==null||n.setCheckboxRow([v.row],v.checked),l()}function p(v,y){return Nk({mid:t.data.mid,id:t.data.config_unique_id,uid:t.data.uid},t.data.batch_id?`batch_${t.data.batch_id}`:"").then(async b=>{const E=t.data.batch_id?`table.${t.data.config_unique_id}`:"table",{tableConfig:w}=Nt.get(b,E).tables.find(I=>I.id===y),C=w.find(I=>I.data.field===v.column.field);C&&(C.data.width=v.column.resizeWidth.toString()),await Ok({mid:t.data.mid,id:t.data.config_unique_id,uid:t.data.uid},b,t.data.batch_id?`batch_${t.data.batch_id}`:"");const T=w.reduce((I,k)=>(I[k.data.field]=k.data.width,I),{});await h5({table_id:y,uid:t.data.uid},T)})}function h(){setTimeout(()=>{n==null||n.search(n.getActiveTab(),n==null?void 0:n.getQueryData(!1))},16)}return{onPageChange:a,onTabClick:h,onCheckboxAll:u,onCheckboxChange:f,onResizableChange:p,onCheckboxSelect:l}}/*!
115
+ `;t.innerHTML=n,e.insertBefore(t,e.childNodes[0]),window.nextLoading=!0},done:(e=0)=>{s.nextTick(()=>{setTimeout(()=>{var n;window.nextLoading=!1;const t=document.querySelector(".loading-next");(n=t==null?void 0:t.parentNode)==null||n.removeChild(t)},e)})}};function Y6e(e){return{all:e=e||new Map,on:function(t,n){var i=e.get(t);i?i.push(n):e.set(t,[n])},off:function(t,n){var i=e.get(t);i&&(n?i.splice(i.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var i=e.get(t);i&&i.slice().map(function(a){a(n)}),(i=e.get("*"))&&i.slice().map(function(a){a(t,n)})}}}const E1=Y6e();function sQ(){const e=s.getCurrentScope(),t=new Map;let n={};function i(p,h){t.set(p,h),E1.on(p,h),n[p]&&(n[p].forEach(v=>h(v)),delete n[p])}function a(p,h){const v=(...y)=>{u(p,v),h(...y)};i(p,v)}function l(p,h){n[p]||(n[p]=[]),n[p].push(h),E1.emit(p,h)}function u(p,h){t.delete(p),E1.off(p,h)}function f(){for(const[p,h]of t.entries())u(p,h);n={}}return e&&s.onScopeDispose(f),{on:i,once:a,emit:l,off:u,clear:f}}function v5(e){let t=e.replace(/(^\s*)|(\s*$)/g,"");return t=t.replace(/[^\d.]/g,""),t=t.replace(/^0{2}$/g,"0"),t=t.replace(/^\./g,""),t=t.replace(".","$#$").replace(/\./g,"").replace("$#$","."),t=t.replace(/^(\-)*(\d+)\.(\d\d).*$/,"$1$2.$3"),t}function q6e(e){let t=e.replace(/(^\s*)|(\s*$)/g,"");return t=t.replace(/[^\d]/g,""),t=t.replace(/^0/g,""),t=t.replace(/^[1-9]\d\d{1,3}$/,"100"),t}function K6e(e){let t=v5(e);return t=t.replace(/^[1-9]\d\d{1,3}$/,"100"),t=t.replace(/^100\.$/,"100"),t}function X6e(e){let t=e.replace(/(^\s*)|(\s*$)/g,"");return t=t.replace(/[\.]*/g,""),t=t.replace(/(^0[\d]*)$/g,"0"),t=t.replace(/^0\d$/g,"0"),t=t.replace(/[^\d]/g,""),t}function J6e(e){let t=e.replace(/[\u4e00-\u9fa5\s]+/g,"");return t=t.replace(/(^\s*)|(\s*$)/g,""),t}function Z6e(e){let t=e.replace(/[a-zA-Z]+/g,"");return t=t.replace(/(^\s*)|(\s*$)/g,""),t}function Q6e(e){return e.replace(/(^\s*)|(\s*$)/g,"")}function e5e(e){let t=v5(e);return t=t.toString().split("."),t[0]=t[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),t=t.join("."),t}function t5e(e,t="",n="red"){return t.replace(new RegExp(e,"gi"),`<span style='color: ${n}'>${e}</span>`)}function n5e(e,t="仟佰拾亿仟佰拾万仟佰拾元角分",n=""){e+="00";let i=e.indexOf(".");i>=0&&(e=e.substring(0,i)+e.substr(i+1,2)),t=t.substr(t.length-e.length);for(let a=0;a<e.length;a++)n+="零壹贰叁肆伍陆柒捌玖".substr(e.substr(a,1),1)+t.substr(a,1);return n=n.replace(/零角零分$/,"整").replace(/零[仟佰拾]/g,"零").replace(/零{2,}/g,"零").replace(/零([亿|万])/g,"$1").replace(/零+元/,"元").replace(/亿零{0,3}万/,"亿").replace(/^元/,"零元"),n}function r5e(e){return!!/^1(3[0-9]|4[01456879]|5[0-35-9]|6[2567]|7[0-8]|8[0-9]|9[0-35-9])\d{8}$/.test(e)}function i5e(e){return!!/\d{3}-\d{8}|\d{4}-\d{7}/.test(e)}function o5e(e){return!!/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/.test(e)}function a5e(e){return!!/^[a-zA-Z]\w{5,15}$/.test(e)}function s5e(e){return!!/^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&\.*]+$)(?![a-zA-z\d]+$)(?![a-zA-z!@#$%^&\.*]+$)(?![\d!@#$%^&\.*]+$)[a-zA-Z\d!@#$%^&\.*]{6,16}$/.test(e)}function l5e(e){let t="";return/^(?:\d+|[a-zA-Z]+|[!@#$%^&\.*]+){6,16}$/.test(e)&&(t="弱"),/^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&\.*]+$)[a-zA-Z\d!@#$%^&\.*]{6,16}$/.test(e)&&(t="中"),/^(?![a-zA-z]+$)(?!\d+$)(?![!@#$%^&\.*]+$)(?![a-zA-z\d]+$)(?![a-zA-z!@#$%^&\.*]+$)(?![\d!@#$%^&\.*]+$)[a-zA-Z\d!@#$%^&\.*]{6,16}$/.test(e)&&(t="强"),t}function c5e(e){return!!/^(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])\.(\d{1,2}|1\d\d|2[0-4]\d|25[0-5])$/.test(e)}function u5e(e){return!!/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}function d5e(e){return!!/^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/.test(e)}function f5e(e){return!!/^[\u4e00-\u9fa5]{1,6}(·[\u4e00-\u9fa5]{1,6}){0,2}$/.test(e)}function h5e(e){return!!/^[1-9][0-9]{5}$/.test(e)}function lQ(e){return!!/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-*)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})).?)(?::\d{2,5})?(?:[/?#]\S*)?$/i.test(e)}function p5e(e){return!!/^(([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-Z](([0-9]{5}[DF])|([DF]([A-HJ-NP-Z0-9])[0-9]{4})))|([京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领][A-Z][A-HJ-NP-Z0-9]{4}[A-HJ-NP-Z0-9挂学警港澳使领]))$/.test(e)}const m5e=s.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./bcIcon-BnzU9Y20.cjs")));function cQ(e){const t=rt.svg;for(const n in t)e.component(`ele-${t[n].name}`,t[n]);e.component("SvgIcon",m5e)}function uQ(e){document.title=e}function dQ(e){let t="";const{query:n,params:i,meta:a}=e;return n!=null&&n.tagsViewName||i!=null&&i.tagsViewName?t=(n==null?void 0:n.tagsViewName)||(i==null?void 0:i.tagsViewName):t=a.title,t}const fQ=(e,t)=>{const n=new IntersectionObserver(i=>{i.forEach(a=>{if(a.isIntersecting){const{img:l,key:u}=a.target.dataset;a.target.src=l,a.target.onload=()=>{n.unobserve(a.target),t[u].loading=!1}}})});s.nextTick(()=>{document.querySelectorAll(e).forEach(i=>n.observe(i))})},hQ=()=>"",pQ=Nt.cloneDeep;function mQ(){return!!navigator.userAgent.match(/('phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone')/i)}function gQ(e){const t=[];for(const n in e){const i=[];for(const l in e[n])i.push(e[n][l]);i.filter(l=>l==="").length!==i.length&&t.push(e[n])}return t}function vQ(e){var i;const{origin:t,pathname:n}=window.location;if(e.link&&!((i=e==null?void 0:e.meta)!=null&&i.isIframe))return wr.get("userInfo").then(a=>{var u;const l=FZ(`${location.origin}${e.link}`,{isIframe:(u=e.meta)==null?void 0:u.isIframe,jti:a.jti});window.open(l,a.jti)});lQ(e.link)?window.open(e.link):window.open(`${t}${n}`)}const g5e={elSvg:e=>{cQ(e)},useTitle:e=>{uQ(e)},setTagsViewNameI18n(e){return dQ(e)},lazyImg:(e,t)=>{fQ(e,t)},globalComponentSize:()=>hQ(),deepClone:e=>pQ(e),isMobile:()=>mQ(),handleEmpty:e=>gQ(e),handleOpenLink:e=>{vQ(e)}},v5e=[{label:"F1",value:"F1"},{label:"F2",value:"F2"},{label:"F3",value:"F3"},{label:"F4",value:"F4"},{label:"F5",value:"F5"},{label:"F6",value:"F6"},{label:"F7",value:"F7"},{label:"F8",value:"F8"},{label:"F9",value:"F9"},{label:"F10",value:"F10"},{label:"F11",value:"F11"},{label:"F12",value:"F12"},{label:"Q",value:"KeyQ"},{label:"W",value:"KeyW"},{label:"E",value:"KeyE"},{label:"R",value:"KeyR"},{label:"T",value:"KeyT"},{label:"Y",value:"KeyY"},{label:"U",value:"KeyU"},{label:"I",value:"KeyI"},{label:"O",value:"KeyO"},{label:"P",value:"KeyP"},{label:"A",value:"KeyA"},{label:"S",value:"KeyS"},{label:"D",value:"KeyD"},{label:"F",value:"KeyF"},{label:"G",value:"KeyG"},{label:"H",value:"KeyH"},{label:"J",value:"KeyJ"},{label:"K",value:"KeyK"},{label:"L",value:"KeyL"},{label:"Z",value:"KeyZ"},{label:"X",value:"KeyX"},{label:"C",value:"KeyC"},{label:"V",value:"KeyV"},{label:"B",value:"KeyB"},{label:"N",value:"KeyN"},{label:"M",value:"KeyM"},{label:"Tab",value:"Tab"},{label:"Backspace",value:"Backspace"},{label:"Enter",value:"Enter"},{label:"NumpadEnter",value:"NumpadEnter"},{label:"Delete",value:"Delete"},{label:"左侧Shift",value:"ShiftLeft"},{label:"左侧Alt",value:"AltLeft"},{label:"左侧Ctrl",value:"ControlLeft"},{label:"左侧Win",value:"MetaLeft"},{label:"空格键",value:"Space"},{label:"右侧Alt",value:"AltRight"},{label:"右侧Win",value:"MetaRight"},{label:"右侧Ctrl",value:"ControlRight"},{label:"大键盘数字1",value:"Digit1"},{label:"大键盘数字2",value:"Digit2"},{label:"大键盘数字3",value:"Digit3"},{label:"大键盘数字4",value:"Digit4"},{label:"大键盘数字5",value:"Digit5"},{label:"大键盘数字6",value:"Digit6"},{label:"大键盘数字7",value:"Digit7"},{label:"大键盘数字8",value:"Digit8"},{label:"大键盘数字9",value:"Digit9"},{label:"大键盘数字0",value:"Digit0"},{label:"小键盘数字1",value:"Numpad1"},{label:"小键盘数字2",value:"Numpad2"},{label:"小键盘数字3",value:"Numpad3"},{label:"小键盘数字4",value:"Numpad4"},{label:"小键盘数字5",value:"Numpad5"},{label:"小键盘数字6",value:"Numpad6"},{label:"小键盘数字7",value:"Numpad7"},{label:"小键盘数字8",value:"Numpad8"},{label:"小键盘数字9",value:"Numpad9"},{label:"小键盘数字0",value:"Numpad0"}],sj={success(e){return Pi({message:e,type:"success"})},warning(e){return Pi({message:e,type:"warning"})},info(e){return Pi({message:e,type:"info"})},error(e){return Pi({message:e,type:"error"})}},Ll=new Proxy(Pi,{get(e,t){return t in sj?sj[t]:e[t]}}),y5e={install(e){e.config.globalProperties.$message=Ll}},S1={alert(e,t,n){const i=As.value;return As.value="",Jp.alert(e,t,{...n,callback:a=>{typeof(n==null?void 0:n.callback)=="function"&&(As.value=i,n.callback(a,a))}})},confirm(e,t,n){const i=As.value;return As.value="",Jp.confirm(e,t,n).finally(()=>{As.value=i})},prompt(e,t,n){const i=As.value;return As.value="",Jp.prompt(e,t,n).finally(()=>{As.value=i})}},U1=new Proxy(Jp,{get(e,t){return t in S1?S1[t]:e[t]}}),_5e={install(e){e.config.globalProperties.$MessageBox=U1,e.config.globalProperties.$messageBox=U1,e.config.globalProperties.$confirm=S1.confirm,e.config.globalProperties.$alert=S1.alert,e.config.globalProperties.$prompt=S1.prompt}},lj={success(e){return jb({...e,type:"success"})},warning(e){return jb({...e,type:"warning"})},info(e){return jb({...e,type:"info"})},error(e){return jb({...e,type:"error"})}},y5=new Proxy(jb,{get(e,t){return t in lj?lj[t]:e[t]}}),b5e={install(e){e.config.globalProperties.$notification=y5}},x5e={class:"popup-wrapper"},E5e={class:"content"},S5e={key:0},w5e=s.defineComponent({__name:"showPopup",props:{closeLoading:{type:Boolean,default:!1},showFooter:{type:Boolean,default:!0},confirmButtonText:{type:String,default:"确定"},cancelButtonText:{type:String,default:"取消"}},emits:["success"],setup(e){const t=s.ref(0),n=s.computed({get:()=>t.value>0,set:a=>{t.value+=a,t.value=Math.max(0,t.value)}});function i(a){n.value=a?1:-1}return s.provide("popupApi",{setLoading:i}),(a,l)=>{const u=s.resolveComponent("hs-button"),f=s.resolveDirective("loading");return s.withDirectives((s.openBlock(),s.createElementBlock("div",x5e,[s.createElementVNode("div",E5e,[s.createVNode(s.unref(dY),{locale:s.unref(EY)},{default:s.withCtx(()=>[s.renderSlot(a.$slots,"default",{},void 0,!0)]),_:3},8,["locale"])]),e.showFooter?(s.openBlock(),s.createElementBlock("footer",S5e,[s.createVNode(u,{size:"default",onClick:l[0]||(l[0]=p=>a.$emit("success","cancel"))},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(e.cancelButtonText),1)]),_:1}),s.createVNode(u,{type:"primary",size:"default",onClick:l[1]||(l[1]=p=>a.$emit("success","confirm"))},{default:s.withCtx(()=>[s.createTextVNode(s.toDisplayString(e.confirmButtonText),1)]),_:1})])):s.createCommentVNode("",!0)])),[[f,!e.closeLoading&&n.value]])}}}),C5e=rt._export_sfc$1(w5e,[["__scopeId","data-v-304dce2d"]]);function Cx(e){return s.getCurrentScope()?(s.onScopeDispose(e),!0):!1}function Qu(e){return typeof e=="function"?e():s.unref(e)}const Pk=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const T5e=e=>e!=null,I5e=Object.prototype.toString,A5e=e=>I5e.call(e)==="[object Object]",kI=()=>{},D5e=k5e();function k5e(){var e,t;return Pk&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function R5e(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const i=t;t=void 0,i&&await i},n}function N5e(e){return s.getCurrentInstance()}function yQ(e,t=!0,n){N5e()?s.onMounted(e,n):t?e():s.nextTick(e)}function O5e(e,t,n){const i=s.watch(e,(...a)=>(s.nextTick(()=>i()),t(...a)),n);return i}const ll=Pk?window:void 0,P5e=Pk?window.document:void 0,_5=Pk?window.navigator:void 0;function os(e){var t;const n=Qu(e);return(t=n==null?void 0:n.$el)!=null?t:n}function eo(...e){let t,n,i,a;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,a]=e,t=ll):[t,n,i,a]=e,!t)return kI;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const l=[],u=()=>{l.forEach(v=>v()),l.length=0},f=(v,y,b,E)=>(v.addEventListener(y,b,E),()=>v.removeEventListener(y,b,E)),p=s.watch(()=>[os(t),Qu(a)],([v,y])=>{if(u(),!v)return;const b=A5e(y)?{...y}:y;l.push(...n.flatMap(E=>i.map(w=>f(v,E,w,b))))},{immediate:!0,flush:"post"}),h=()=>{p(),u()};return Cx(h),h}let cj=!1;function M5e(e,t,n={}){const{window:i=ll,ignore:a=[],capture:l=!0,detectIframe:u=!1}=n;if(!i)return kI;D5e&&!cj&&(cj=!0,Array.from(i.document.body.children).forEach(C=>C.addEventListener("click",kI)),i.document.documentElement.addEventListener("click",kI));let f=!0;const p=C=>Qu(a).some(T=>{if(typeof T=="string")return Array.from(i.document.querySelectorAll(T)).some(I=>I===C.target||C.composedPath().includes(I));{const I=os(T);return I&&(C.target===I||C.composedPath().includes(I))}});function h(C){const T=Qu(C);return T&&T.$.subTree.shapeFlag===16}function v(C,T){const I=Qu(C),k=I.$.subTree&&I.$.subTree.children;return k==null||!Array.isArray(k)?!1:k.some(A=>A.el===T.target||T.composedPath().includes(A.el))}const y=C=>{const T=os(e);if(C.target!=null&&!(!(T instanceof Element)&&h(e)&&v(e,C))&&!(!T||T===C.target||C.composedPath().includes(T))){if(C.detail===0&&(f=!p(C)),!f){f=!0;return}t(C)}};let b=!1;const E=[eo(i,"click",C=>{b||(b=!0,setTimeout(()=>{b=!1},0),y(C))},{passive:!0,capture:l}),eo(i,"pointerdown",C=>{const T=os(e);f=!p(C)&&!!(T&&!C.composedPath().includes(T))},{passive:!0}),u&&eo(i,"blur",C=>{setTimeout(()=>{var T;const I=os(e);((T=i.document.activeElement)==null?void 0:T.tagName)==="IFRAME"&&!(I!=null&&I.contains(i.document.activeElement))&&t(C)},0)})].filter(Boolean);return()=>E.forEach(C=>C())}function L5e(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function xV(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:a=ll,eventName:l="keydown",passive:u=!1,dedupe:f=!1}=i,p=L5e(t);return eo(a,l,v=>{v.repeat&&Qu(f)||p(v)&&n(v)},u)}function V5e(){const e=s.ref(!1),t=s.getCurrentInstance();return t&&s.onMounted(()=>{e.value=!0},t),e}function Rv(e){const t=V5e();return s.computed(()=>(t.value,!!e()))}function F5e(e,t,n={}){const{window:i=ll,...a}=n;let l;const u=Rv(()=>i&&"MutationObserver"in i),f=()=>{l&&(l.disconnect(),l=void 0)},p=s.computed(()=>{const b=Qu(e),E=(Array.isArray(b)?b:[b]).map(os).filter(T5e);return new Set(E)}),h=s.watch(()=>p.value,b=>{f(),u.value&&b.size&&(l=new MutationObserver(t),b.forEach(E=>l.observe(E,a)))},{immediate:!0,flush:"post"}),v=()=>l==null?void 0:l.takeRecords(),y=()=>{h(),f()};return Cx(y),{isSupported:u,stop:y,takeRecords:v}}function B5e(e={}){var t;const{window:n=ll,deep:i=!0,triggerOnRemoval:a=!1}=e,l=(t=e.document)!=null?t:n==null?void 0:n.document,u=()=>{var h;let v=l==null?void 0:l.activeElement;if(i)for(;v!=null&&v.shadowRoot;)v=(h=v==null?void 0:v.shadowRoot)==null?void 0:h.activeElement;return v},f=s.ref(),p=()=>{f.value=u()};return n&&(eo(n,"blur",h=>{h.relatedTarget===null&&p()},!0),eo(n,"focus",p,!0)),a&&F5e(l,h=>{h.filter(v=>v.removedNodes.length).map(v=>Array.from(v.removedNodes)).flat().forEach(v=>{v===f.value&&p()})},{childList:!0,subtree:!0}),p(),f}function $5e(e,t={}){const{window:n=ll}=t,i=Rv(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let a;const l=s.ref(!1),u=h=>{l.value=h.matches},f=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",u):a.removeListener(u))},p=s.watchEffect(()=>{i.value&&(f(),a=n.matchMedia(Qu(e)),"addEventListener"in a?a.addEventListener("change",u):a.addListener(u),l.value=a.matches)});return Cx(()=>{p(),f(),a=void 0}),l}function U5e(e,t={}){const{controls:n=!1,navigator:i=_5}=t,a=Rv(()=>i&&"permissions"in i),l=s.shallowRef(),u={name:e},f=s.shallowRef(),p=()=>{var v,y;f.value=(y=(v=l.value)==null?void 0:v.state)!=null?y:"prompt"};eo(l,"change",p);const h=R5e(async()=>{if(a.value){if(!l.value)try{l.value=await i.permissions.query(u)}catch{l.value=void 0}finally{p()}if(n)return s.toRaw(l.value)}});return h(),n?{state:f,isSupported:a,query:h}:f}function W5e(e={}){const{navigator:t=_5,requestPermissions:n=!1,constraints:i={audio:!0,video:!0},onUpdated:a}=e,l=s.ref([]),u=s.computed(()=>l.value.filter(w=>w.kind==="videoinput")),f=s.computed(()=>l.value.filter(w=>w.kind==="audioinput")),p=s.computed(()=>l.value.filter(w=>w.kind==="audiooutput")),h=Rv(()=>t&&t.mediaDevices&&t.mediaDevices.enumerateDevices),v=s.ref(!1);let y;async function b(){h.value&&(l.value=await t.mediaDevices.enumerateDevices(),a==null||a(l.value),y&&(y.getTracks().forEach(w=>w.stop()),y=null))}async function E(){if(!h.value)return!1;if(v.value)return!0;const{state:w,query:C}=U5e("camera",{controls:!0});if(await C(),w.value!=="granted"){let T=!0;try{y=await t.mediaDevices.getUserMedia(i)}catch{y=null,T=!1}b(),v.value=T}else v.value=!0;return v.value}return h.value&&(n&&E(),eo(t.mediaDevices,"devicechange",b),b()),{devices:l,ensurePermissions:E,permissionGranted:v,videoInputs:u,audioInputs:f,audioOutputs:p,isSupported:h}}function z5e(e={}){const{document:t=P5e}=e;if(!t)return s.ref("visible");const n=s.ref(t.visibilityState);return eo(t,"visibilitychange",()=>{n.value=t.visibilityState}),n}function H5e(e,t,n={}){const{window:i=ll,...a}=n;let l;const u=Rv(()=>i&&"ResizeObserver"in i),f=()=>{l&&(l.disconnect(),l=void 0)},p=s.computed(()=>{const y=Qu(e);return Array.isArray(y)?y.map(b=>os(b)):[os(y)]}),h=s.watch(p,y=>{if(f(),u.value&&i){l=new ResizeObserver(t);for(const b of y)b&&l.observe(b,a)}},{immediate:!0,flush:"post"}),v=()=>{f(),h()};return Cx(v),{isSupported:u,stop:v}}function j5e(e,t={width:0,height:0},n={}){const{window:i=ll,box:a="content-box"}=n,l=s.computed(()=>{var y,b;return(b=(y=os(e))==null?void 0:y.namespaceURI)==null?void 0:b.includes("svg")}),u=s.ref(t.width),f=s.ref(t.height),{stop:p}=H5e(e,([y])=>{const b=a==="border-box"?y.borderBoxSize:a==="content-box"?y.contentBoxSize:y.devicePixelContentBoxSize;if(i&&l.value){const E=os(e);if(E){const w=E.getBoundingClientRect();u.value=w.width,f.value=w.height}}else if(b){const E=Array.isArray(b)?b:[b];u.value=E.reduce((w,{inlineSize:C})=>w+C,0),f.value=E.reduce((w,{blockSize:C})=>w+C,0)}else u.value=y.contentRect.width,f.value=y.contentRect.height},n);yQ(()=>{const y=os(e);y&&(u.value="offsetWidth"in y?y.offsetWidth:t.width,f.value="offsetHeight"in y?y.offsetHeight:t.height)});const h=s.watch(()=>os(e),y=>{u.value=y?t.width:0,f.value=y?t.height:0});function v(){p(),h()}return{width:u,height:f,stop:v}}const G5e={page:e=>[e.pageX,e.pageY],client:e=>[e.clientX,e.clientY],screen:e=>[e.screenX,e.screenY],movement:e=>e instanceof Touch?null:[e.movementX,e.movementY]};function Y5e(e={}){const{type:t="page",touch:n=!0,resetOnTouchEnds:i=!1,initialValue:a={x:0,y:0},window:l=ll,target:u=l,scroll:f=!0,eventFilter:p}=e;let h=null,v=0,y=0;const b=s.ref(a.x),E=s.ref(a.y),w=s.ref(null),C=typeof t=="function"?t:G5e[t],T=L=>{const $=C(L);h=L,$&&([b.value,E.value]=$,w.value="mouse"),l&&(v=l.scrollX,y=l.scrollY)},I=L=>{if(L.touches.length>0){const $=C(L.touches[0]);$&&([b.value,E.value]=$,w.value="touch")}},k=()=>{if(!h||!l)return;const L=C(h);h instanceof MouseEvent&&L&&(b.value=L[0]+l.scrollX-v,E.value=L[1]+l.scrollY-y)},A=()=>{b.value=a.x,E.value=a.y},O=p?L=>p(()=>T(L),{}):L=>T(L),V=p?L=>p(()=>I(L),{}):L=>I(L),M=p?()=>p(()=>k(),{}):()=>k();if(u){const L={passive:!0};eo(u,["mousemove","dragover"],O,L),n&&t!=="movement"&&(eo(u,["touchstart","touchmove"],V,L),i&&eo(u,"touchend",A,L)),f&&t==="page"&&eo(l,"scroll",M,{passive:!0})}return{x:b,y:E,sourceType:w}}function q5e(e,t={}){const{handleOutside:n=!0,window:i=ll}=t,a=t.type||"page",{x:l,y:u,sourceType:f}=Y5e(t),p=s.ref(e??(i==null?void 0:i.document.body)),h=s.ref(0),v=s.ref(0),y=s.ref(0),b=s.ref(0),E=s.ref(0),w=s.ref(0),C=s.ref(!0);let T=()=>{};return i&&(T=s.watch([p,l,u],()=>{const I=os(p);if(!I||!(I instanceof Element))return;const{left:k,top:A,width:O,height:V}=I.getBoundingClientRect();y.value=k+(a==="page"?i.pageXOffset:0),b.value=A+(a==="page"?i.pageYOffset:0),E.value=V,w.value=O;const M=l.value-y.value,L=u.value-b.value;C.value=O===0||V===0||M<0||L<0||M>O||L>V,(n||!C.value)&&(h.value=M,v.value=L)},{immediate:!0}),eo(document,"mouseleave",()=>{C.value=!0})),{x:l,y:u,sourceType:f,elementX:h,elementY:v,elementPositionX:y,elementPositionY:b,elementHeight:E,elementWidth:w,isOutside:C,stop:T}}function K5e(e={}){const{touch:t=!0,drag:n=!0,capture:i=!1,initialValue:a=!1,window:l=ll}=e,u=s.ref(a),f=s.ref(null);if(!l)return{pressed:u,sourceType:f};const p=y=>()=>{u.value=!0,f.value=y},h=()=>{u.value=!1,f.value=null},v=s.computed(()=>os(e.target)||l);return eo(v,"mousedown",p("mouse"),{passive:!0,capture:i}),eo(l,"mouseleave",h,{passive:!0,capture:i}),eo(l,"mouseup",h,{passive:!0,capture:i}),n&&(eo(v,"dragstart",p("mouse"),{passive:!0,capture:i}),eo(l,"drop",h,{passive:!0,capture:i}),eo(l,"dragend",h,{passive:!0,capture:i})),t&&(eo(v,"touchstart",p("touch"),{passive:!0,capture:i}),eo(l,"touchend",h,{passive:!0,capture:i}),eo(l,"touchcancel",h,{passive:!0,capture:i})),{pressed:u,sourceType:f}}function X5e(e={}){var t,n;const i=s.ref((t=e.enabled)!=null?t:!1),a=s.ref((n=e.autoSwitch)!=null?n:!0),l=s.ref(e.constraints),{navigator:u=_5}=e,f=Rv(()=>{var C;return(C=u==null?void 0:u.mediaDevices)==null?void 0:C.getUserMedia}),p=s.shallowRef();function h(C){switch(C){case"video":{if(l.value)return l.value.video||!1;break}case"audio":{if(l.value)return l.value.audio||!1;break}}}async function v(){if(!(!f.value||p.value))return p.value=await u.mediaDevices.getUserMedia({video:h("video"),audio:h("audio")}),p.value}function y(){var C;(C=p.value)==null||C.getTracks().forEach(T=>T.stop()),p.value=void 0}function b(){y(),i.value=!1}async function E(){return await v(),p.value&&(i.value=!0),p.value}async function w(){return y(),await E()}return s.watch(i,C=>{C?v():y()},{immediate:!0}),s.watch(l,()=>{a.value&&p.value&&w()},{immediate:!0}),Cx(()=>{b()}),{isSupported:f,stream:p,start:E,stop:b,restart:w,constraints:l,enabled:i,autoSwitch:a}}function J5e(e={}){const{window:t=ll,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:a=!0,includeScrollbar:l=!0,type:u="inner"}=e,f=s.ref(n),p=s.ref(i),h=()=>{t&&(u==="outer"?(f.value=t.outerWidth,p.value=t.outerHeight):l?(f.value=t.innerWidth,p.value=t.innerHeight):(f.value=t.document.documentElement.clientWidth,p.value=t.document.documentElement.clientHeight))};if(h(),yQ(h),eo("resize",h,{passive:!0}),a){const v=$5e("(orientation: portrait)");s.watch(v,()=>h())}return{width:f,height:p}}const W1=s.ref(1);function Z5e(e="code",t=!0){const n=s.ref();let i=[],a={};const l=z5e(),u=s.watch(W1,(y,b)=>{y>b?h(b):p(y)}),f=s.watch(l,y=>{y==="hidden"&&(i=[])});function p(y){h();const b=xV(w=>{i.push(w[e]),v(w)},{dedupe:!0,eventName:"keydown"}),E=xV(w=>{i=i.filter(C=>C!==w[e])},{dedupe:!0,eventName:"keyup"});Nt.set(a,y??W1.value,{onKeydown:b,onKeyup:E})}function h(y=-1){var w;if(i=[],y===-1){(w=Object.values(a))==null||w.forEach(C=>{var T,I;typeof C.onKeydown=="function"&&((T=C==null?void 0:C.onKeydown)==null||T.call(C)),typeof C.onKeyup=="function"&&((I=C==null?void 0:C.onKeyup)==null||I.call(C))}),a={};return}const{onKeydown:b,onKeyup:E}=Nt.get(a,y,{});typeof b=="function"&&(b==null||b()),typeof E=="function"&&(E==null||E()),delete a[y],u(),f()}function v(y){var w,C,T,I,k,A;const b=(w=n.value)==null?void 0:w.querySelectorAll("[shortcut]");if(!b)return;let E;for(let O in b)if((((C=b[O])==null?void 0:C.getAttribute)&&((T=b[O])==null?void 0:T.getAttribute("shortcut"))||"")===String(i)){E=b[O];break}if(!(!E||E!=null&&E.disabled||E!=null&&E.readOnly||(I=E==null?void 0:E.className)!=null&&I.includes("disabled"))){if(y.preventDefault(),(k=E==null?void 0:E.className)!=null&&k.includes("el-select")){if(E.querySelector(".is-disabled"))return;(A=E.querySelector("input"))==null||A.click();return}if((E==null?void 0:E.tagName)==="TEXTAREA"){typeof(E==null?void 0:E.focus)=="function"&&(E==null||E.focus()),typeof(E==null?void 0:E.click)=="function"&&(E==null||E.click());return}typeof(E==null?void 0:E.click)=="function"&&(E==null||E.click())}}return s.onMounted(()=>{t&&p()}),s.onBeforeUnmount(()=>{h()}),s.onDeactivated(()=>{i=[]}),{bcBoxRef:n,start:p,end:h}}let EV,_Q;function b5(e,t,n){var E;const i=As.value;As.value="";let a,l=()=>{};const u={...n.slots,title:((E=n.slots)==null?void 0:E.title)||(()=>n.title),default:()=>s.h(C5e,{onSuccess:y,showFooter:n.showFooter,closeLoading:n.closeLoading,confirmButtonText:n.confirmButtonText,cancelButtonText:n.cancelButtonText},{default:()=>s.h(e,{...t,onVnodeMounted:v,onReady:b,close:h})})},f=s.h(wv,Object.assign({},_Q,{...Nt.omit(n,["success"]),className:"custom-popup ".concat((n==null?void 0:n.className)||""),modelValue:!0,onHide(w){a(),typeof(n==null?void 0:n.onHide)=="function"&&n.onHide(w)},slots:u}));EV&&(f.appContext=EV);function p(){W1.value++;const w=document.createDocumentFragment();return s.render(f,w),document.body.appendChild(w),setTimeout(()=>{if(!Nt.isEmpty(n==null?void 0:n.position)){const C=n.position;if(/%/.test(C==null?void 0:C.top)||/%/.test(C==null?void 0:C.left)){/%/.test(C==null?void 0:C.top)&&(f.el.nextSibling.querySelector(".vxe-modal--box").style.top=`${C.top}`),/%/.test(C==null?void 0:C.left)&&(f.el.nextSibling.querySelector(".vxe-modal--box").style.top=`${C.left}`);return}(C==null?void 0:C.top)>-1&&(f.el.nextSibling.querySelector(".vxe-modal--box").style.top=`${C.top}px`),(C==null?void 0:C.left)>-1&&(f.el.nextSibling.querySelector(".vxe-modal--box").style.left=`${C.left}px`)}},100),()=>{W1.value--,As.value=i,s.render(null,w)}}a=p(),s.watch(()=>{var w;return(w=Dk.value)==null?void 0:w.value.path},()=>{a()});async function h(w){a(),typeof n.success=="function"&&n.success({type:w,data:w})}function v(w){var C;l=(C=w.component.exposed)==null?void 0:C.getData}async function y(w){const C=await l();typeof n.success=="function"&&n.success({type:w,data:C,close:a})}function b(w){typeof n.onReady=="function"&&n.onReady(w)}return a}const Q5e={install(e,t){EV=e._context,_Q=t}};function Kb(){return{hexToRgb:a=>{let l="";if(!/^\#?[0-9A-Fa-f]{6}$/.test(a))return Pi.warning("输入错误的hex"),"";a=a.replace("#",""),l=a.match(/../g);for(let f=0;f<3;f++)l[f]=parseInt(l[f],16);return l},rgbToHex:(a,l,u)=>{let f=/^\d{1,3}$/;if(!f.test(String(a))||!f.test(String(l))||!f.test(String(u)))return Pi.warning("输入错误的rgb颜色值"),"";let p=[a.toString(16),l.toString(16),u.toString(16)];for(let h=0;h<3;h++)p[h].length==1&&(p[h]=`0${p[h]}`);return`#${p.join("")}`},getDarkColor:(a,l)=>{if(!/^\#?[0-9A-Fa-f]{6}$/.test(a))return Pi.warning("输入错误的hex颜色值"),"";let f=Kb().hexToRgb(a);for(let p=0;p<3;p++)f[p]=Math.floor(f[p]*(1-l));return Kb().rgbToHex(f[0],f[1],f[2])},getLightColor:(a,l)=>{if(!/^\#?[0-9A-Fa-f]{6}$/.test(a))return Pi.warning("输入错误的hex颜色值"),"";let f=Kb().hexToRgb(a);for(let p=0;p<3;p++)f[p]=Math.floor((255-f[p])*l+f[p]);return Kb().rgbToHex(f[0],f[1],f[2])}}}function e8e(e,t=!0){const n=[];function i(a,l=[]){return a.reduce((u,f)=>(u.push(f),f!=null&&f.children&&f.children.length&&u.push(...i(f.children)),u),l)}return i(t?Nt.cloneDeep(e):e,n),n}function t8e(e){return e.reduce((t,n)=>{t[zu]||(t[zu]=[]);const i=t[zu].concat(n[zu]||[]);return Object.assign({},t,n,{[zu]:[...new Set(i)]})},{})}function bQ(e){const t={},n=i=>Object.values(i).reduce((a,l)=>(delete l[zu],a=Object.assign(a,l),a),{});return e.forEach(i=>{const a=i.getData();Object.assign(t,n(a))}),Nt.cloneDeep({...t,[zu]:Object.keys(t)})}function n8e(e){if(Array.isArray(e)){if(e.length===0||e.every(t=>typeof t=="string"||typeof t=="number"))return String(e);if(e.every(t=>typeof t=="object"&&t!==null))return JSON.stringify(e)}return typeof e=="object"&&e!==null?JSON.stringify(e):e}const r8e=(e,t,n)=>{if(!t)return e;const i=t.toLowerCase();return e.filter(a=>n(a).some(u=>u&&u.toLowerCase().includes(i)))};let xQ;const i8e=60*1e3;let uj=!1,SV=!1,RI;const o8e=/<script.*?src=["'](.*?)["'].*?><\/script>/g,dj=/index-(.*?)\.js/g,EQ=async()=>fetch("/index.html?timestep="+Date.now()).then(e=>e.text()).then(e=>{var n,i;const t=(n=e.match(o8e))==null?void 0:n.filter(a=>dj.test(a));return t&&t.length>0?Nt.get(((i=t[0])==null?void 0:i.match(dj))||[],"0",""):""}),SQ=()=>EQ().then(e=>{e&&e!=xQ&&!uj&&(uj=!0,wQ(),Jp.confirm("系统版本更新了,是否立即刷新页面?","提示",{confirmButtonText:"立即刷新",cancelButtonText:"稍后刷新",type:"warning",closeOnClickModal:!1}).then(()=>{location.reload()}))}),wV=async()=>{RI=window.setTimeout(async()=>{SV||SQ(),wV()},i8e)};function wQ(){RI&&(clearTimeout(RI),RI=0)}async function a8e(){return EQ().then(e=>{xQ=e,wV(),document.addEventListener("visibilitychange",()=>{SV=document.hidden,SV?wQ():(SQ(),wV())})})}const fj=e=>{const t="1.23452384164.123412416";document.getElementById(t)!==null&&document.body.removeChild(document.getElementById(t));const n=document.createElement("canvas");n.width=200,n.height=130;const i=n.getContext("2d");i.rotate(-20*Math.PI/180),i.font="12px Vedana",i.fillStyle="rgba(200, 200, 200, 0.30)",i.textBaseline="middle",i.fillText(e,n.width/10,n.height/2);const a=document.createElement("div");return a.id=t,a.style.pointerEvents="none",a.style.top="0px",a.style.left="0px",a.style.position="fixed",a.style.zIndex="10000000",a.style.width=`${document.documentElement.clientWidth}px`,a.style.height=`${document.documentElement.clientHeight}px`,a.style.background=`url(${n.toDataURL("image/png")}) left top repeat`,document.body.appendChild(a),t},s8e={set:e=>{let t=fj(e);document.getElementById(t)===null&&(t=fj(e))},del:()=>{let e="1.23452384164.123412416";document.getElementById(e)!==null&&document.body.removeChild(document.getElementById(e))}},l8e=Object.freeze(Object.defineProperty({__proto__:null,CurrentRoute:Dk,CurrentRouter:kk,CustomeStore:E6e,Download:rQ,HsMessage:Ll,HsMessageBox:U1,HsNotification:y5,IS_DEV:Em,IsIdNumber:W6e,Local:am,NEXT_NAME:cs,NextLoading:G6e,Session:$Z,add:$Oe,addUrlParams:FZ,axiosInterceptors:g6e,cfprint:p5,checkPlugin:qZ,clearAllIndexDB:S6e,convertCurrency:LJ,copyText:ZZ,dataURLtoBlob:iQ,dateFormatHMS:B6e,dateFormatYMD:V6e,dateFormatYMDHMS:F6e,decimalDigits:gx,decrypt:H6e,deepClone:pQ,div:zOe,downloadFile:g5,elSvg:cQ,encrypt:z6e,encryptionTool:b6e,exportAllData:nQ,exportSelectedData:tQ,exportSelectedDownloadFile:eQ,fixedNumAccuracy:sv,formatAxis:M6e,formatDate:wx,formatPast:P6e,fuzzySearch:r8e,getAuthFieldsByMid:jZ,getColumnWidthConfig:WZ,getConfig:Nk,getDataDictListByMid:T6e,getDataType:j6e,getDictListByMid:HZ,getFormDataType:oQ,getFormInstanceData:bQ,getMergeData:t8e,getNumbers:HOe,getStoreSystemParams:C6e,getSystemParams:w6e,getTableDataType:aQ,getUrlBase64:A6e,getUrlParams:Bo,getWeek:QZ,globalComponentSize:hQ,handleEmpty:gQ,handleOpenLink:vQ,iframeMessage:y6e,isLegalNumber:PJ,isMobile:mQ,isObjectValueEqual:RX,isToNumber:e5,isUpdate:a8e,judementSameArr:GDe,lazyImg:fQ,lodash:Nt,mathTool:MJ,message:y5e,messageBox:_5e,mittBus:E1,notification:b5e,numberToChinese:jOe,other:g5e,percentFormat:L6e,popupPlugin:Q5e,print:D6e,processData:m5,push:v6e,removeConfig:UZ,removeDuplicate:J3,request:gi,scale2Format:U6e,scaleFormat:$6e,sendMsg:KZ,setColumnWidthConfig:h5,setConfig:Ok,setLocalSystemParams:zZ,setTagsViewNameI18n:dQ,shortcutList:v5e,showPopup:b5,sub:UOe,systemStore:wr,times:WOe,transferString:n8e,treeToList:e8e,trimPrintData:XZ,useChangeColor:Kb,useMittBus:sQ,useRequest:_6e,useTitle:uQ,useToggleFullPage:O6e,verifiyNumberInteger:X6e,verifyAccount:o5e,verifyAndSpace:Q6e,verifyCarNum:p5e,verifyCnAndSpace:J6e,verifyEmail:u5e,verifyEnAndSpace:Z6e,verifyFullName:f5e,verifyIPAddress:c5e,verifyIdCard:d5e,verifyNumberCnUppercase:n5e,verifyNumberComma:e5e,verifyNumberIntegerAndFloat:v5,verifyNumberPercentage:q6e,verifyNumberPercentageFloat:K6e,verifyPassword:a5e,verifyPasswordPowerful:s5e,verifyPasswordStrength:l5e,verifyPhone:r5e,verifyPostalCode:h5e,verifyTelPhone:i5e,verifyTextColor:t5e,verifyUrl:lQ,watermark:s8e},Symbol.toStringTag,{value:"Module"}));function c8e({option:e,row:t}){return t.field1===Number(e.data)}const u8e=(e,t)=>{const n={},i=(t==null?void 0:t.reduce((a,l)=>(a[l.data.field]=!!l.data.formatAmount,Nt.set(n,l.data.field,!!l.data.formatFooter),a),{}))||{};return[e.columns.map((a,l)=>{if(l===0)return"合计";if(!Nt.isEmpty(e.data,"0.customTotal")){const u=Nt.get(e.data,`0.customTotal.${a.field}`,"");return(Nt.get(i,a.field)||Nt.get(n,a.field))&&u!==""?sv(u):u}return""})]};function d8e(e){console.debug("params.$table.getData()",e.$table.getData())}function f8e(e,t){console.debug("form =>> 表单单击",e,t)}const CV={filterAgeMethod:c8e,footerMethod:u8e,cellDetailMethod:d8e,formBtnMethod:f8e},As=s.ref(""),TV=s.ref({}),Ts=s.ref({}),fv=s.ref(!1),Oc=s.ref({}),CQ=s.ref({}),h8e=s.ref({}),p8e=s.ref(!0),TQ=s.ref({}),IQ=["checkbox","radio","expand","seq","html"],sA="system_params",Mk="custome_field_",z1="query_field_",x5="_REGEXP_",zu="force_update_list",AQ={},m8e=["hs-select","bc-tree-search","hs-tree-select","hs-radio","hs-checkbox","hs-upload","hs-date-picker"],g8e="Home,PrevJump,PrevPage,JumpNumber,NextPage,NextJump,End,Sizes,FullJump,Total".split(","),Xb=(e,t)=>e.isSimulate&&!e.requestUrl||e.isGetCanche?MQ(e,t):gi(t);function Nv(e){return TQ.value[e.uniqueId]?!e.isShow||!e.fieldShow?!1:e.userFieldShow:!0}function v8e(e){return JSON.stringify(e,function(t,n){return n instanceof RegExp?`${x5}${n.toString()}`:n})}function sm(e){const t=/method=/,n=/functionBody=/,i=/string=/;function a(l){for(let u in l){if(l[`${u}_1`])l[u]=CV[l[`${u}_1`]];else if(t.test(l[u])&&l[u].split("=")[1]){const f=l[u].replace(t,"");l[`${u}_1`]=f,l[u]=CV[f]}if(l[`${u}_2`])l[u]=new Function("return "+l[`${u}_2`])();else if(n.test(l[u])&&l[u].split("=")[1]){const f=l[u].replace(n,"");l[`${u}_2`]=f,l[u]=new Function("return "+f)()}if(i.test(l[u]))if(l[u].split("=")[1]){const f=l[u].replace(i,"");l[u]=new Function("return "+f)()}else l[u]=[];if(typeof l[u]=="string"&&l[u].startsWith(x5)){const f=l[u].slice(9).replace(/\/$/,"");l[u]=new RegExp(f)}u==="formatAmount"&&l[u]&&Nt.set(l,"formatter",function(f){var p,h;return sv((h=f==null?void 0:f.row)==null?void 0:h[(p=f==null?void 0:f.column)==null?void 0:p.field])}),Nt.isObject(l[u])&&!Nt.isEmpty(l[u])&&a(l[u]),Nt.isEmpty(Nt.get(l,`${u}.children`))||a(Nt.get(l,`${u}.children`))}}return a(e),e}function DQ(e){return e.groupMark?(e.el2=e.el,e.groupField=Mk+e.groupMark,"bc-group"):kQ(e.el)}function kQ(e){return{"hs-select":"bc-select","hs-tree-select":"bc-tree-select","hs-radio":"bc-radio","hs-checkbox":"bc-checkbox","hs-upload":"bc-upload"}[e]||e}async function RQ(e){if(!e.form)return Promise.resolve({});const t=e.form,n=t==null?void 0:t.formConfig.map(l=>{const u=sm(l.data.elData);return l.data.elData={...u==null?void 0:u.attrs,...Nt.omit(u,"attrs")},l.data.baseData.el=DQ(l.data.baseData),l}),i=Nt.omit(sm(e.form.baseData),["inline","gutter","justify","align"]),a=Nt.cloneDeep(Nt.get(Oc.value,`${e==null?void 0:e.config_unique_id}`));return fv.value&&a&&(e!=null&&e.form)&&(e.form.formData=Nt.cloneDeep(a)),{id:e.form.id,baseData:i,formConfig:n,formData:e.form.formData}}function y8e(e){return Promise.all(e.tables.map(t=>_8e(t,e)))}async function _8e(e,t){var p,h,v,y,b,E,w,C;const n=Nt.cloneDeep(e);if(n.baseData=sm(Nt.omit(n.baseData,"data")),n.baseData.mid=t.mid,n.baseData.config_unique_id=t.config_unique_id,n.baseData.is_apply_page){const T=await wr.get(sA),I=n.baseData.uuid?`${n.baseData.uuid}${n.baseData.id}`:n.baseData.id,k=Nt.get(T,`_user_pageSize.${I}`,T==null?void 0:T._sys_pageSize);n.baseData.table_page_data.pageSize=Number(k??((p=n.baseData.table_page_data)==null?void 0:p.pageSize)??20),Nt.isEmpty((h=n.baseData.table_page_data)==null?void 0:h.layouts)&&(n.baseData.table_page_data.layouts=g8e),Nt.isEmpty(T==null?void 0:T._sys_pageSize_s)||(n.baseData.table_page_data.pageSizes=T._sys_pageSize_s)}n.tableConfig=n.tableConfig.map(T=>(Nt.isEmpty(T==null?void 0:T.children)?T.data=sm(T.data):T.children=sm(T.children),T));let i={};const a=Nt.get(CQ.value,`query.${n.id}`)||[],l=Nt.get(Oc.value,`${(v=n==null?void 0:n.baseData)==null?void 0:v.config_unique_id}`);fv.value&&((b=(y=t==null?void 0:t.form)==null?void 0:y.baseData)!=null&&b.isShowQuerySearch)&&l?a.forEach(T=>{i[T]=l[T]}):i=Nt.cloneDeep((E=t==null?void 0:t.form)==null?void 0:E.formData);const u=await E5(n.baseData,i,(C=(w=t==null?void 0:t.form)==null?void 0:w.baseData)==null?void 0:C.isShowQuerySearch),f=T=>{var I;return(I=T.treeConfig)!=null&&I.transform?delete T.stripe:delete T.treeConfig,Nt.has(T==null?void 0:T.rowConfig,"height")&&(Nt.set(T,"cellConfig.height",Nt.get(T,"rowConfig.height")),Nt.unset(T,"rowConfig.height")),T};return{id:n.id,baseData:f(n.baseData),tableConfig:n.tableConfig,tableData:u}}async function E5(e,t,n=!1){let i=t&&Nt.cloneDeep(t);if(typeof TV.value[e.id]=="function"){const l=await TV.value[e.id](i,e);Nt.isEmpty(l)?n||(i=Oc.value[e.config_unique_id]):i=l}const a=await NQ(e,i,n);if(!e.isSimulate&&!e.requestUrl){console.log("未配置接口,不请求数据");const l=Nt.get(AQ,e.id,[]);return e.is_apply_page&&(e.table_page_data.total=l.length),l}return e.isCloseInitData&&fv.value&&(e.isCloseInitData=!1),e.isCloseInitData&&!fv.value?(e.isCloseInitData=!1,[]):(e.loading=!0,e.isSplitInterface?Xb(e,{...a,params:{...a.params,url_type:"data"}}).then(l=>{var u,f;if(e.is_apply_page){const p=((u=l.data)==null?void 0:u.pageList)??((f=l.data)==null?void 0:f.customPageList)??[];return typeof Ts.value[e.id]=="function"?Ts.value[e.id](p):p}else{const p=l.data||[];return typeof Ts.value[e.id]=="function"?Ts.value[e.id](p):p}}).finally(()=>{e.loading=!1}):e.isRemoteTotal?Promise.all([Xb(e,{...a,params:{...a.params,url_type:"total"}}),Xb(e,{...a,params:{...a.params,url_type:"data"}})]).then(([l,u])=>{var p,h,v;let f=((p=l==null?void 0:l.data)==null?void 0:p.customTotal)||{};if(e.is_apply_page){const b=(((h=u.data)==null?void 0:h.pageList)??((v=u.data)==null?void 0:v.customPageList)??[]).map(E=>Object.assign(E,{customTotal:f}));return typeof Ts.value[e.id]=="function"?Ts.value[e.id](b):b}else{const b=((u==null?void 0:u.data)||[]).map(E=>Object.assign(E,{customTotal:f}));return typeof Ts.value[e.id]=="function"?Ts.value[e.id](b):b}}).finally(()=>{e.loading=!1}):Xb(e,a).then(l=>{var f,p,h;const u=((f=l==null?void 0:l.data)==null?void 0:f.customTotal)||{};if(e.is_apply_page){e.table_page_data.currentPage=l.data.page.currentPage||1,e.table_page_data.pageSize=l.data.page.pageSize,e.table_page_data.total=l.data.page.totalItem;const y=(((p=l.data)==null?void 0:p.pageList)??((h=l.data)==null?void 0:h.customPageList)??[]).map(b=>Object.assign(b,{customTotal:u}));return typeof Ts.value[e.id]=="function"?Ts.value[e.id](y):y}else{const y=(l.data||[]).map(b=>Object.assign(b,{customTotal:u}));return typeof Ts.value[e.id]=="function"?Ts.value[e.id](y):y}}).finally(()=>{e.loading=!1}))}function b8e(e,t,n){const i=n&&Nt.cloneDeep(n),a=async(l,u)=>{if(l.baseData.isRemoteTotal||l.baseData.isSplitInterface){const f=await NQ(l.baseData,i);return Promise.all([l.baseData.is_apply_page?Xb(l.baseData,{...f,params:{...f.params,url_type:"count"}}):Promise.resolve(null)]).then(async p=>{var h,v,y,b,E,w,C,T,I;if(l.baseData.is_apply_page){const[k]=p;l.baseData.table_page_data.currentPage!==((v=(h=k==null?void 0:k.data)==null?void 0:h.page)==null?void 0:v.currentPage)&&(l.baseData.table_page_data.currentPage=((b=(y=k==null?void 0:k.data)==null?void 0:y.page)==null?void 0:b.currentPage)||1,l.tableData=await E5(l.baseData,i,(C=(w=(E=u.value)==null?void 0:E.form)==null?void 0:w.baseData)==null?void 0:C.isShowQuerySearch)),l.baseData.table_page_data.currentPage=((I=(T=k==null?void 0:k.data)==null?void 0:T.page)==null?void 0:I.currentPage)||1,l.baseData.table_page_data.pageSize=k.data.page.pageSize,l.baseData.table_page_data.total=k.data.page.totalItem}return p})}};return t?Promise.all(e.value.tables.filter(l=>l.id===t).map(l=>a(l,e))):Promise.all(e.value.tables.map(l=>a(l,e)))}async function NQ(e,t,n=!1){var E,w;const i=(e==null?void 0:e.proxy)||"scmp-web",a=e.method||"get",l={url:"/"+i+e.requestUrl,method:a},u={currentPage:((E=e.table_page_data)==null?void 0:E.currentPage)||1,pageSize:((w=e.table_page_data)==null?void 0:w.pageSize)||10};Nt.set(e,"scrollX.enabled",u.pageSize>=50),Nt.set(e,"scrollX.gt",0),Nt.set(e,"scrollY.enabled",u.pageSize>=50),Nt.set(e,"scrollY.gt",0);const f=OQ(e,t,!0,!0,n),p=e.requestParams?new Function("return "+e.requestParams)():{},h=Nt.cloneDeep(Object.assign({},f,e.is_apply_page?u:{},p)),v=Object.keys(h).filter(C=>C.startsWith("_")).map(C=>{const[T,I,k]=C.split("|");return{type:T.slice(1),key:I,code:k,value:h[C]}}),y=Object.keys(h).filter(C=>!C.startsWith("_")).reduce((C,T)=>(Nt.set(C,T,h[T]),C),{}),b=v.length>0?Object.assign({qry_json_data:JSON.stringify(v)},y):y;return a==="get"?l.params=b:l.data=b,l}function OQ(e,t,n=!0,i=!0,a=!1){const l=S5(e.config_unique_id);a&&t&&Object.keys(t).forEach(v=>{Oc.value[e.config_unique_id]||(Oc.value[e.config_unique_id]={}),Oc.value[e.config_unique_id][v]=t[v]});const u=a?t||{}:Oc.value[e.config_unique_id]||{},f=Nt.cloneDeep(fv.value?Object.assign(l,t||{},u):Object.assign(u,l,t||{}));if(Nt.isEmpty(f))return{};const p=new RegExp(Mk),h=new RegExp(z1);for(let v in f){Array.isArray(f[v])&&(f[v]=String(f[v]));const y=p.test(v),b=h.test(v),E=f[`${z1}${e.id}`];if(b&&E&&i){const C=Object.keys(E).reduce((T,I)=>(E[I]&&(typeof E[I]=="string"?T[I]=E[I].trim():T[I]=E[I]),T),{});Object.assign(f,C)}(y||b)&&delete f[v],(typeof f[v]=="string"&&f[v]===""||f[v]===void 0)&&n&&delete f[v]}return f}async function x8e(e){const t=Nt.cloneDeep(e);if(t.preParsing)return t;const n=await RQ(t),i=(await y8e(t)).filter(Boolean);return Em.value==!0&&aQ(i),{...t,form:n,tables:i}}function E8e(e){var l;const t=Nt.cloneDeep(e);if(t.preParsing)return t;const n=sm(t.data),i=PQ(t);for(let u in n)Nt.isEmpty(n[u])||Nt.set(n,`${u}.${zu}`,i);const a=((l=t.form)==null?void 0:l.map(u=>(u.config=sm(u.config),u)))||[];return Em.value==!0&&console.debug(oQ(t)),{...t,data:n,form:a}}function PQ(e){var t,n,i,a;return((a=(i=(n=(t=e==null?void 0:e.form)==null?void 0:t.filter(l=>l.formItemType==="form"))==null?void 0:n.map(l=>l.config.map(f=>f.config.filter(p=>Nv({...p.baseData,uniqueId:e.config_unique_id})).map(p=>p.baseData.prop).toString())))==null?void 0:i.flat(2))==null?void 0:a.filter(Boolean))||[]}function S8e({mid:e,id:t,uid:n,tableId:i,uuid:a,data:l,pageSize:u,is_apply_page:f}){const p=a?`cache_${i}_${a}`:`cache_${i}`;return Ok({mid:e,id:t,uid:n},Nt.cloneDeep(l),p).then(()=>{const h=Math.ceil(l.length/u);return{currentPage:h,totalPage:l.length,data:f?l.slice((h-1)*u,h*u):l,currentData:f?l.slice(0,u):l}})}async function MQ(e,t){const n=e.uuid,i=n?`cache_${e.id}_${n}`:`cache_${e.id}`,a=e.mid||Bo().mid;return Nk({mid:a,id:e.config_unique_id},i).then(l=>{if(!t)return l||[];let u=l||[];const f=u.length,p=t.method.toLocaleLowerCase()==="get"?"params":"data";let h=t[p].currentPage||1,v=t[p].pageSize;const y=(E,w,C)=>{const T=(I,k)=>I[w]<k[w]?C==="asc"?-1:1:I[w]>k[w]?C==="asc"?1:-1:0;return E.sort(T)};if(Nt.get(t,`${p}.query_order_by`)){const[E,w]=Nt.get(t,`${p}.query_order_by`).split(" ");u=y(u,E,w)}return e.is_apply_page?{code:1,data:{customPageList:u.slice((h-1)*v,h*v),page:{currentPage:h,pageSize:v,totalItem:f}}}:{code:1,data:u}})}function w8e(e,t){var u,f,p;const n=t||Nt.omit((u=e==null?void 0:e.form)==null?void 0:u.formData,["currentPage","pageSize"]),i=((p=(f=e==null?void 0:e.form)==null?void 0:f.formConfig)==null?void 0:p.reduce((h,v)=>(Nv({...v.data.baseData,uniqueId:e==null?void 0:e.config_unique_id})&&Object.assign(h,{[v.data.baseData.prop]:""}),h),{}))||{};if(Nt.isEmpty(i))return{};const a=new RegExp(Mk),l=new Set(Object.keys(i));return Object.keys(n).forEach(h=>{a.test(h)?n[h].some(v=>l.has(v))&&n[h].map(v=>{Object.assign(i,{[v]:n[v]})}):Reflect.has(i,h)&&(i[h]=n[h])}),i}function S5(e){const t=new RegExp(z1),n=Nt.get(Oc.value,e,{});return Object.keys(n).reduce((i,a)=>(t.test(a)&&Object.assign(i,{[a]:Nt.get(n,a,{})}),i),{})}class Io{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){const n=Io.hexChars,i=Io.hexOut;let a,l,u,f;for(f=0;f<4;f+=1)for(l=f*8,a=t[f],u=0;u<8;u+=2)i[l+1+u]=n.charAt(a&15),a>>>=4,i[l+0+u]=n.charAt(a&15),a>>>=4;return i.join("")}static _md5cycle(t,n){let i=t[0],a=t[1],l=t[2],u=t[3];i+=(a&l|~a&u)+n[0]-680876936|0,i=(i<<7|i>>>25)+a|0,u+=(i&a|~i&l)+n[1]-389564586|0,u=(u<<12|u>>>20)+i|0,l+=(u&i|~u&a)+n[2]+606105819|0,l=(l<<17|l>>>15)+u|0,a+=(l&u|~l&i)+n[3]-1044525330|0,a=(a<<22|a>>>10)+l|0,i+=(a&l|~a&u)+n[4]-176418897|0,i=(i<<7|i>>>25)+a|0,u+=(i&a|~i&l)+n[5]+1200080426|0,u=(u<<12|u>>>20)+i|0,l+=(u&i|~u&a)+n[6]-1473231341|0,l=(l<<17|l>>>15)+u|0,a+=(l&u|~l&i)+n[7]-45705983|0,a=(a<<22|a>>>10)+l|0,i+=(a&l|~a&u)+n[8]+1770035416|0,i=(i<<7|i>>>25)+a|0,u+=(i&a|~i&l)+n[9]-1958414417|0,u=(u<<12|u>>>20)+i|0,l+=(u&i|~u&a)+n[10]-42063|0,l=(l<<17|l>>>15)+u|0,a+=(l&u|~l&i)+n[11]-1990404162|0,a=(a<<22|a>>>10)+l|0,i+=(a&l|~a&u)+n[12]+1804603682|0,i=(i<<7|i>>>25)+a|0,u+=(i&a|~i&l)+n[13]-40341101|0,u=(u<<12|u>>>20)+i|0,l+=(u&i|~u&a)+n[14]-1502002290|0,l=(l<<17|l>>>15)+u|0,a+=(l&u|~l&i)+n[15]+1236535329|0,a=(a<<22|a>>>10)+l|0,i+=(a&u|l&~u)+n[1]-165796510|0,i=(i<<5|i>>>27)+a|0,u+=(i&l|a&~l)+n[6]-1069501632|0,u=(u<<9|u>>>23)+i|0,l+=(u&a|i&~a)+n[11]+643717713|0,l=(l<<14|l>>>18)+u|0,a+=(l&i|u&~i)+n[0]-373897302|0,a=(a<<20|a>>>12)+l|0,i+=(a&u|l&~u)+n[5]-701558691|0,i=(i<<5|i>>>27)+a|0,u+=(i&l|a&~l)+n[10]+38016083|0,u=(u<<9|u>>>23)+i|0,l+=(u&a|i&~a)+n[15]-660478335|0,l=(l<<14|l>>>18)+u|0,a+=(l&i|u&~i)+n[4]-405537848|0,a=(a<<20|a>>>12)+l|0,i+=(a&u|l&~u)+n[9]+568446438|0,i=(i<<5|i>>>27)+a|0,u+=(i&l|a&~l)+n[14]-1019803690|0,u=(u<<9|u>>>23)+i|0,l+=(u&a|i&~a)+n[3]-187363961|0,l=(l<<14|l>>>18)+u|0,a+=(l&i|u&~i)+n[8]+1163531501|0,a=(a<<20|a>>>12)+l|0,i+=(a&u|l&~u)+n[13]-1444681467|0,i=(i<<5|i>>>27)+a|0,u+=(i&l|a&~l)+n[2]-51403784|0,u=(u<<9|u>>>23)+i|0,l+=(u&a|i&~a)+n[7]+1735328473|0,l=(l<<14|l>>>18)+u|0,a+=(l&i|u&~i)+n[12]-1926607734|0,a=(a<<20|a>>>12)+l|0,i+=(a^l^u)+n[5]-378558|0,i=(i<<4|i>>>28)+a|0,u+=(i^a^l)+n[8]-2022574463|0,u=(u<<11|u>>>21)+i|0,l+=(u^i^a)+n[11]+1839030562|0,l=(l<<16|l>>>16)+u|0,a+=(l^u^i)+n[14]-35309556|0,a=(a<<23|a>>>9)+l|0,i+=(a^l^u)+n[1]-1530992060|0,i=(i<<4|i>>>28)+a|0,u+=(i^a^l)+n[4]+1272893353|0,u=(u<<11|u>>>21)+i|0,l+=(u^i^a)+n[7]-155497632|0,l=(l<<16|l>>>16)+u|0,a+=(l^u^i)+n[10]-1094730640|0,a=(a<<23|a>>>9)+l|0,i+=(a^l^u)+n[13]+681279174|0,i=(i<<4|i>>>28)+a|0,u+=(i^a^l)+n[0]-358537222|0,u=(u<<11|u>>>21)+i|0,l+=(u^i^a)+n[3]-722521979|0,l=(l<<16|l>>>16)+u|0,a+=(l^u^i)+n[6]+76029189|0,a=(a<<23|a>>>9)+l|0,i+=(a^l^u)+n[9]-640364487|0,i=(i<<4|i>>>28)+a|0,u+=(i^a^l)+n[12]-421815835|0,u=(u<<11|u>>>21)+i|0,l+=(u^i^a)+n[15]+530742520|0,l=(l<<16|l>>>16)+u|0,a+=(l^u^i)+n[2]-995338651|0,a=(a<<23|a>>>9)+l|0,i+=(l^(a|~u))+n[0]-198630844|0,i=(i<<6|i>>>26)+a|0,u+=(a^(i|~l))+n[7]+1126891415|0,u=(u<<10|u>>>22)+i|0,l+=(i^(u|~a))+n[14]-1416354905|0,l=(l<<15|l>>>17)+u|0,a+=(u^(l|~i))+n[5]-57434055|0,a=(a<<21|a>>>11)+l|0,i+=(l^(a|~u))+n[12]+1700485571|0,i=(i<<6|i>>>26)+a|0,u+=(a^(i|~l))+n[3]-1894986606|0,u=(u<<10|u>>>22)+i|0,l+=(i^(u|~a))+n[10]-1051523|0,l=(l<<15|l>>>17)+u|0,a+=(u^(l|~i))+n[1]-2054922799|0,a=(a<<21|a>>>11)+l|0,i+=(l^(a|~u))+n[8]+1873313359|0,i=(i<<6|i>>>26)+a|0,u+=(a^(i|~l))+n[15]-30611744|0,u=(u<<10|u>>>22)+i|0,l+=(i^(u|~a))+n[6]-1560198380|0,l=(l<<15|l>>>17)+u|0,a+=(u^(l|~i))+n[13]+1309151649|0,a=(a<<21|a>>>11)+l|0,i+=(l^(a|~u))+n[4]-145523070|0,i=(i<<6|i>>>26)+a|0,u+=(a^(i|~l))+n[11]-1120210379|0,u=(u<<10|u>>>22)+i|0,l+=(i^(u|~a))+n[2]+718787259|0,l=(l<<15|l>>>17)+u|0,a+=(u^(l|~i))+n[9]-343485551|0,a=(a<<21|a>>>11)+l|0,t[0]=i+t[0]|0,t[1]=a+t[1]|0,t[2]=l+t[2]|0,t[3]=u+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(Io.stateIdentity),this}appendStr(t){const n=this._buffer8,i=this._buffer32;let a=this._bufferLength,l,u;for(u=0;u<t.length;u+=1){if(l=t.charCodeAt(u),l<128)n[a++]=l;else if(l<2048)n[a++]=(l>>>6)+192,n[a++]=l&63|128;else if(l<55296||l>56319)n[a++]=(l>>>12)+224,n[a++]=l>>>6&63|128,n[a++]=l&63|128;else{if(l=(l-55296)*1024+(t.charCodeAt(++u)-56320)+65536,l>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[a++]=(l>>>18)+240,n[a++]=l>>>12&63|128,n[a++]=l>>>6&63|128,n[a++]=l&63|128}a>=64&&(this._dataLength+=64,Io._md5cycle(this._state,i),a-=64,i[0]=i[16])}return this._bufferLength=a,this}appendAsciiStr(t){const n=this._buffer8,i=this._buffer32;let a=this._bufferLength,l,u=0;for(;;){for(l=Math.min(t.length-u,64-a);l--;)n[a++]=t.charCodeAt(u++);if(a<64)break;this._dataLength+=64,Io._md5cycle(this._state,i),a=0}return this._bufferLength=a,this}appendByteArray(t){const n=this._buffer8,i=this._buffer32;let a=this._bufferLength,l,u=0;for(;;){for(l=Math.min(t.length-u,64-a);l--;)n[a++]=t[u++];if(a<64)break;this._dataLength+=64,Io._md5cycle(this._state,i),a=0}return this._bufferLength=a,this}getState(){const t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){const n=t.buffer,i=t.state,a=this._state;let l;for(this._dataLength=t.length,this._bufferLength=t.buflen,a[0]=i[0],a[1]=i[1],a[2]=i[2],a[3]=i[3],l=0;l<n.length;l+=1)this._buffer8[l]=n.charCodeAt(l)}end(t=!1){const n=this._bufferLength,i=this._buffer8,a=this._buffer32,l=(n>>2)+1;this._dataLength+=n;const u=this._dataLength*8;if(i[n]=128,i[n+1]=i[n+2]=i[n+3]=0,a.set(Io.buffer32Identity.subarray(l),l),n>55&&(Io._md5cycle(this._state,a),a.set(Io.buffer32Identity)),u<=4294967295)a[14]=u;else{const f=u.toString(16).match(/(.*?)(.{0,8})$/);if(f===null)return;const p=parseInt(f[2],16),h=parseInt(f[1],16)||0;a[14]=p,a[15]=h}return Io._md5cycle(this._state,a),t?this._state:Io._hex(this._state)}}Io.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]);Io.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);Io.hexChars="0123456789abcdef";Io.hexOut=[];Io.onePassHasher=new Io;if(Io.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");const C8e=s.reactive({rowIndex:{},columnIndex:{}});function T8e(e,t){const n=s.inject("bcTableApi"),i=s.watch(e,l);s.onBeforeUnmount(()=>{i()});async function a(v){var T,I;const y=t.data.tables.find(k=>k.id===e.value);y.baseData.table_page_data.currentPage=v.currentPage,y.baseData.table_page_data.pageSize=v.pageSize;const b=await wr.get(sA)||{},E=t.data.uuid?`${t.data.uuid}${y.id}`:y.id;b._user_pageSize={...b._user_pageSize,[E]:v.pageSize},await wr.set(sA,b);const w=Nt.cloneDeep(((I=(T=t.data)==null?void 0:T.form)==null?void 0:I.formData)||{}),C=Nt.cloneDeep(Oc.value[t.data.config_unique_id]);return Nt.isEmpty(C)||Nt.merge(w,C),n==null?void 0:n.setQueryData(Object.assign(w,{currentPage:v.currentPage,pageSize:v.pageSize})).then(()=>n.search(n.getActiveTab(),n.getQueryData(!1)))}function l(){return s.nextTick().then(()=>{var y;const v=(y=t.data)==null?void 0:y.btns.find(b=>["exportSelect","exportSelectedData"].includes(b.data.key));if(v){const{data:b}=n.getCheckboxRow();v.data.disabled=Nt.isEmpty(b)}})}function u(v){const y=n==null?void 0:n.getApi(),b=y==null?void 0:y.getCheckboxRecords();if(!Nt.isEmpty(b))n==null||n.setCheckboxRow(b,v.checked);else{const E=t.data.tables.find(w=>w.id===e.value).tableData;n==null||n.setCheckboxRow(E,v.checked)}l()}function f(v){n==null||n.setCheckboxRow([v.row],v.checked),l()}function p(v,y){return Nk({mid:t.data.mid,id:t.data.config_unique_id,uid:t.data.uid},t.data.batch_id?`batch_${t.data.batch_id}`:"").then(async b=>{const E=t.data.batch_id?`table.${t.data.config_unique_id}`:"table",{tableConfig:w}=Nt.get(b,E).tables.find(I=>I.id===y),C=w.find(I=>I.data.field===v.column.field);C&&(C.data.width=v.column.resizeWidth.toString()),await Ok({mid:t.data.mid,id:t.data.config_unique_id,uid:t.data.uid},b,t.data.batch_id?`batch_${t.data.batch_id}`:"");const T=w.reduce((I,k)=>(I[k.data.field]=k.data.width,I),{});await h5({table_id:y,uid:t.data.uid},T)})}function h(){setTimeout(()=>{n==null||n.search(n.getActiveTab(),n==null?void 0:n.getQueryData(!1))},16)}return{onPageChange:a,onTabClick:h,onCheckboxAll:u,onCheckboxChange:f,onResizableChange:p,onCheckboxSelect:l}}/*!
116
116
  * better-scroll / core
117
117
  * (c) 2016-2023 ustbhuangyi
118
118
  * Released under the MIT License.
@@ -1,4 +1,4 @@
1
- import { b4 as ge, bP as i, bQ as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-COr4IvZN.mjs";
1
+ import { b4 as ge, bP as i, bQ as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DeJm85cs.js";
2
2
  import { watch as Dt, reactive as wl, nextTick as fe, h as g, defineComponent as Ko, ref as je, inject as Lo, createCommentVNode as lt, onMounted as Jl, onUnmounted as en, provide as Ql, TransitionGroup as Bn, computed as Pe, Teleport as Xi, onActivated as ic, onDeactivated as ac, onBeforeUnmount as cc, resolveComponent as dc } from "vue";
3
3
  function vt(e) {
4
4
  return e && e.enabled !== !1;