easy-soft-utility 2.8.89 → 2.8.91

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 (2) hide show
  1. package/es/index.js +1 -1
  2. package/package.json +39 -39
package/es/index.js CHANGED
@@ -1 +1 @@
1
- import e from"node-cache";import t from"lodash/isBoolean";import n from"lodash/isDate";import r from"lodash/isEqual";import o from"lodash/isFunction";import i from"lodash/isNull";import a from"lodash/isNumber";import u from"lodash/isObject";import c from"lodash/isString";import l from"lodash/isUndefined";import s from"lodash/replace";import f from"lodash/assign";import d from"lodash/assignWith";import b from"lodash/difference";import p from"lodash/dropRight";import h from"lodash/endsWith";import m from"lodash/filter";import g from"lodash/find";import v from"lodash/findIndex";import y from"lodash/first";import w from"lodash/floor";import S from"lodash/forEach";import C from"lodash/get";import x from"lodash/gte";import A from"lodash/map";import D from"lodash/memoize";import $ from"lodash/remove";import M from"lodash/reverse";import j from"lodash/round";import E from"lodash/set";import _ from"lodash/size";import k from"lodash/sortBy";import O from"lodash/sortedUniq";import I from"lodash/split";import N from"lodash/startsWith";import T from"lodash/trim";import F from"lodash/uniqBy";import P from"lodash/toNumber";import z from"lodash/toString";import L from"object-hash";import{isArray as R}from"lodash";import H from"dayjs";import{stringify as Y,parse as U}from"qs";var W,q,B,G,V,K,Z,Q,J,X,ee,te,ne,re,oe,ie,ae,ue,ce,le,se,fe,de,be,pe,he,me,ge,ve="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ye(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function we(){if(q)return W;return q=1,W=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function Se(){if(G)return B;G=1;var e="object"==typeof ve&&ve&&ve.Object===Object&&ve;return B=e}function Ce(){if(K)return V;K=1;var e=Se(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return V=n}function xe(){if(te)return ee;te=1;var e=function(){if(X)return J;X=1;var e=/\s/;return J=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}}(),t=/^\s+/;return ee=function(n){return n?n.slice(0,e(n)+1).replace(t,""):n}}function Ae(){if(re)return ne;re=1;var e=Ce().Symbol;return ne=e}function De(){if(le)return ce;le=1;var e=Ae(),t=function(){if(ie)return oe;ie=1;var e=Ae(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,o=e?e.toStringTag:void 0;return oe=function(e){var t=n.call(e,o),i=e[o];try{e[o]=void 0;var a=!0}catch(e){}var u=r.call(e);return a&&(t?e[o]=i:delete e[o]),u}}(),n=function(){if(ue)return ae;ue=1;var e=Object.prototype.toString;return ae=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return ce=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function $e(){if(fe)return se;return fe=1,se=function(e){return null!=e&&"object"==typeof e}}function Me(){if(be)return de;be=1;var e=De(),t=$e();return de=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function je(){if(ge)return me;ge=1;var e=we(),t=function(){if(Q)return Z;Q=1;var e=Ce();return Z=function(){return e.Date.now()}}(),n=function(){if(he)return pe;he=1;var e=xe(),t=we(),n=Me(),r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,i=/^0o[0-7]+$/i,a=parseInt;return pe=function(u){if("number"==typeof u)return u;if(n(u))return NaN;if(t(u)){var c="function"==typeof u.valueOf?u.valueOf():u;u=t(c)?c+"":c}if("string"!=typeof u)return 0===u?u:+u;u=e(u);var l=o.test(u);return l||i.test(u)?a(u.slice(2),l?2:8):r.test(u)?NaN:+u}}(),r=Math.max,o=Math.min;return me=function(i,a,u){var c,l,s,f,d,b,p=0,h=!1,m=!1,g=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function v(e){var t=c,n=l;return c=l=void 0,p=e,f=i.apply(n,t)}function y(e){var t=e-b;return void 0===b||t>=a||t<0||m&&e-p>=s}function w(){var e=t();if(y(e))return S(e);d=setTimeout(w,function(e){var t=a-(e-b);return m?o(t,s-(e-p)):t}(e))}function S(e){return d=void 0,g&&c?v(e):(c=l=void 0,f)}function C(){var e=t(),n=y(e);if(c=arguments,l=this,b=e,n){if(void 0===d)return function(e){return p=e,d=setTimeout(w,a),h?v(e):f}(b);if(m)return clearTimeout(d),d=setTimeout(w,a),v(b)}return void 0===d&&(d=setTimeout(w,a)),f}return a=n(a)||0,e(u)&&(h=!!u.leading,s=(m="maxWait"in u)?r(n(u.maxWait)||0,a):s,g="trailing"in u?!!u.trailing:g),C.cancel=function(){void 0!==d&&clearTimeout(d),p=0,c=b=l=d=void 0},C.flush=function(){return void 0===d?f:S(t())},C},me}var Ee,_e,ke,Oe,Ie,Ne,Te,Fe,Pe,ze,Le,Re,He,Ye,Ue,We,qe,Be,Ge,Ve,Ke,Ze,Qe,Je,Xe,et,tt,nt,rt,ot,it,at,ut=ye(je());function ct(){if(_e)return Ee;_e=1;var e=De(),t=we();return Ee=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function lt(){if(Ne)return Ie;Ne=1;var e,t=function(){if(Oe)return ke;Oe=1;var e=Ce()["__core-js_shared__"];return ke=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return Ie=function(e){return!!n&&n in e}}function st(){if(Fe)return Te;Fe=1;var e=Function.prototype.toString;return Te=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function ft(){if(Ye)return He;Ye=1;var e=function(){if(ze)return Pe;ze=1;var e=ct(),t=lt(),n=we(),r=st(),o=/^\[object .+?Constructor\]$/,i=Function.prototype,a=Object.prototype,u=i.toString,c=a.hasOwnProperty,l=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Pe=function(i){return!(!n(i)||t(i))&&(e(i)?l:o).test(r(i))}}(),t=Re?Le:(Re=1,Le=function(e,t){return null==e?void 0:e[t]});return He=function(n,r){var o=t(n,r);return e(o)?o:void 0}}function dt(){if(Be)return qe;Be=1;var e=function(){if(We)return Ue;We=1;var e=ft(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return Ue=t}();return qe=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}}function bt(){if(Je)return Qe;Je=1;var e=(Ze?Ke:(Ze=1,Ke=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),u=a.length;u--;){var c=a[e?u:++o];if(!1===n(i[c],c,i))break}return t}}))();return Qe=e}function pt(){if(ot)return rt;ot=1;var e=function(){if(nt)return tt;nt=1;var e=De(),t=$e();return tt=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=$e(),n=Object.prototype,r=n.hasOwnProperty,o=n.propertyIsEnumerable,i=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!o.call(e,"callee")};return rt=i}function ht(){if(at)return it;at=1;var e=Array.isArray;return it=e}var mt,gt,vt,yt,wt,St,Ct,xt,At,Dt,$t,Mt={exports:{}};function jt(){return vt||(vt=1,function(e,t){var n=Ce(),r=gt?mt:(gt=1,mt=function(){return!1}),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,u=(a?a.isBuffer:void 0)||r;e.exports=u}(Mt,Mt.exports)),Mt.exports}function Et(){if(wt)return yt;wt=1;var e=/^(?:0|[1-9]\d*)$/;return yt=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function _t(){if(Ct)return St;Ct=1;return St=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}var kt,Ot,It,Nt,Tt,Ft,Pt,zt,Lt,Rt,Ht,Yt,Ut,Wt,qt,Bt,Gt,Vt,Kt,Zt,Qt,Jt,Xt,en,tn,nn,rn,on,an,un,cn,ln,sn,fn,dn,bn,pn,hn,mn,gn,vn,yn,wn,Sn,Cn,xn,An,Dn,$n,Mn,jn,En,_n,kn,On,In,Nn,Tn,Fn,Pn,zn,Ln,Rn,Hn,Yn,Un,Wn,qn,Bn,Gn,Vn,Kn,Zn,Qn,Jn,Xn,er,tr,nr,rr,or,ir,ar,ur,cr,lr,sr,fr,dr,br,pr,hr,mr,gr,vr,yr,wr,Sr,Cr,xr,Ar,Dr,$r,Mr,jr,Er,_r,kr,Or,Ir,Nr,Tr,Fr,Pr,zr,Lr,Rr,Hr,Yr,Ur,Wr,qr,Br,Gr,Vr,Kr,Zr,Qr,Jr,Xr,eo,to,no,ro,oo,io,ao,uo,co,lo,so,fo,bo,po,ho,mo,go,vo,yo,wo,So,Co,xo,Ao,Do,$o,Mo,jo,Eo,_o,ko,Oo,Io,No,To,Fo,Po,zo,Lo,Ro,Ho,Yo,Uo,Wo,qo,Bo,Go,Vo,Ko,Zo,Qo,Jo,Xo,ei,ti,ni,ri,oi={exports:{}};function ii(){if(It)return Ot;It=1;var e=function(){if(At)return xt;At=1;var e=De(),t=_t(),n=$e(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,xt=function(o){return n(o)&&t(o.length)&&!!r[e(o)]}}(),t=$t?Dt:($t=1,Dt=function(e){return function(t){return e(t)}}),n=function(){return kt||(kt=1,e=oi,t=oi.exports,n=Se(),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}(),e.exports=a),oi.exports;var e,t,n,r,o,i,a}(),r=n&&n.isTypedArray,o=r?t(r):e;return Ot=o}function ai(){if(Tt)return Nt;Tt=1;var e=et?Xe:(et=1,Xe=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),t=pt(),n=ht(),r=jt(),o=Et(),i=ii(),a=Object.prototype.hasOwnProperty;return Nt=function(u,c){var l=n(u),s=!l&&t(u),f=!l&&!s&&r(u),d=!l&&!s&&!f&&i(u),b=l||s||f||d,p=b?e(u.length,String):[],h=p.length;for(var m in u)!c&&!a.call(u,m)||b&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||o(m,h))||p.push(m);return p}}function ui(){if(Ht)return Rt;Ht=1;var e=(Lt?zt:(Lt=1,zt=function(e,t){return function(n){return e(t(n))}}))(Object.keys,Object);return Rt=e}function ci(){if(Ut)return Yt;Ut=1;var e=function(){if(Pt)return Ft;Pt=1;var e=Object.prototype;return Ft=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}(),t=ui(),n=Object.prototype.hasOwnProperty;return Yt=function(r){if(!e(r))return t(r);var o=[];for(var i in Object(r))n.call(r,i)&&"constructor"!=i&&o.push(i);return o}}function li(){if(qt)return Wt;qt=1;var e=ct(),t=_t();return Wt=function(n){return null!=n&&t(n.length)&&!e(n)}}function si(){if(Gt)return Bt;Gt=1;var e=ai(),t=ci(),n=li();return Bt=function(r){return n(r)?e(r):t(r)}}function fi(){if(Xt)return Jt;Xt=1;var e=function(){if(Kt)return Vt;Kt=1;var e=bt(),t=si();return Vt=function(n,r){return n&&e(n,r,t)}}(),t=function(){if(Qt)return Zt;Qt=1;var e=li();return Zt=function(t,n){return function(r,o){if(null==r)return r;if(!e(r))return t(r,o);for(var i=r.length,a=n?i:-1,u=Object(r);(n?a--:++a<i)&&!1!==o(u[a],a,u););return r}}}()(e);return Jt=t}function di(){if(an)return on;return an=1,on=function(e,t){return e===t||e!=e&&t!=t}}function bi(){if(cn)return un;cn=1;var e=di();return un=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}}function pi(){if(vn)return gn;vn=1;var e=rn?nn:(rn=1,nn=function(){this.__data__=[],this.size=0}),t=function(){if(sn)return ln;sn=1;var e=bi(),t=Array.prototype.splice;return ln=function(n){var r=this.__data__,o=e(r,n);return!(o<0||(o==r.length-1?r.pop():t.call(r,o,1),--this.size,0))}}(),n=function(){if(dn)return fn;dn=1;var e=bi();return fn=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}(),r=function(){if(pn)return bn;pn=1;var e=bi();return bn=function(t){return e(this.__data__,t)>-1}}(),o=function(){if(mn)return hn;mn=1;var e=bi();return hn=function(t,n){var r=this.__data__,o=e(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this}}();function i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=r,i.prototype.set=o,gn=i}function hi(){if(jn)return Mn;jn=1;var e=ft()(Ce(),"Map");return Mn=e}function mi(){if(_n)return En;_n=1;var e=ft()(Object,"create");return En=e}function gi(){if(Yn)return Hn;Yn=1;var e=function(){if(On)return kn;On=1;var e=mi();return kn=function(){this.__data__=e?e(null):{},this.size=0}}(),t=Nn?In:(Nn=1,In=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(Fn)return Tn;Fn=1;var e=mi(),t=Object.prototype.hasOwnProperty;return Tn=function(n){var r=this.__data__;if(e){var o=r[n];return"__lodash_hash_undefined__"===o?void 0:o}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(zn)return Pn;zn=1;var e=mi(),t=Object.prototype.hasOwnProperty;return Pn=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),o=function(){if(Rn)return Ln;Rn=1;var e=mi();return Ln=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=r,i.prototype.set=o,Hn=i}function vi(){if(Vn)return Gn;Vn=1;var e=Bn?qn:(Bn=1,qn=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return Gn=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},Gn}function yi(){if(or)return rr;or=1;var e=function(){if(Wn)return Un;Wn=1;var e=gi(),t=pi(),n=hi();return Un=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(Zn)return Kn;Zn=1;var e=vi();return Kn=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(Jn)return Qn;Jn=1;var e=vi();return Qn=function(t){return e(this,t).get(t)}}(),r=function(){if(er)return Xn;er=1;var e=vi();return Xn=function(t){return e(this,t).has(t)}}(),o=function(){if(nr)return tr;nr=1;var e=vi();return tr=function(t,n){var r=e(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this},tr}();function i(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return i.prototype.clear=e,i.prototype.delete=t,i.prototype.get=n,i.prototype.has=r,i.prototype.set=o,rr=i}function wi(){if(cr)return ur;cr=1;var e=pi(),t=function(){if(wn)return yn;wn=1;var e=pi();return yn=function(){this.__data__=new e,this.size=0}}(),n=Cn?Sn:(Cn=1,Sn=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=An?xn:(An=1,xn=function(e){return this.__data__.get(e)}),o=$n?Dn:($n=1,Dn=function(e){return this.__data__.has(e)}),i=function(){if(ar)return ir;ar=1;var e=pi(),t=hi(),n=yi();return ir=function(r,o){var i=this.__data__;if(i instanceof e){var a=i.__data__;if(!t||a.length<199)return a.push([r,o]),this.size=++i.size,this;i=this.__data__=new n(a)}return i.set(r,o),this.size=i.size,this}}();function a(t){var n=this.__data__=new e(t);this.size=n.size}return a.prototype.clear=t,a.prototype.delete=n,a.prototype.get=r,a.prototype.has=o,a.prototype.set=i,ur=a}function Si(){if(pr)return br;pr=1;var e=yi(),t=sr?lr:(sr=1,lr=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=dr?fr:(dr=1,fr=function(e){return this.__data__.has(e)});function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,br=r}function Ci(){if(wr)return yr;wr=1;var e=Si(),t=mr?hr:(mr=1,hr=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}),n=vr?gr:(vr=1,gr=function(e,t){return e.has(t)});return yr=function(r,o,i,a,u,c){var l=1&i,s=r.length,f=o.length;if(s!=f&&!(l&&f>s))return!1;var d=c.get(r),b=c.get(o);if(d&&b)return d==o&&b==r;var p=-1,h=!0,m=2&i?new e:void 0;for(c.set(r,o),c.set(o,r);++p<s;){var g=r[p],v=o[p];if(a)var y=l?a(v,g,p,o,r,c):a(g,v,p,r,o,c);if(void 0!==y){if(y)continue;h=!1;break}if(m){if(!t(o,(function(e,t){if(!n(m,t)&&(g===e||u(g,e,i,a,c)))return m.push(t)}))){h=!1;break}}else if(g!==v&&!u(g,v,i,a,c)){h=!1;break}}return c.delete(r),c.delete(o),h},yr}function xi(){if(jr)return Mr;jr=1;var e=Ae(),t=function(){if(Cr)return Sr;Cr=1;var e=Ce().Uint8Array;return Sr=e}(),n=di(),r=Ci(),o=(Ar||(Ar=1,xr=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),xr),i=($r||($r=1,Dr=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}),Dr),a=e?e.prototype:void 0,u=a?a.valueOf:void 0;return Mr=function(e,a,c,l,s,f,d){switch(c){case"[object DataView]":if(e.byteLength!=a.byteLength||e.byteOffset!=a.byteOffset)return!1;e=e.buffer,a=a.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=a.byteLength||!f(new t(e),new t(a)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+a);case"[object Error]":return e.name==a.name&&e.message==a.message;case"[object RegExp]":case"[object String]":return e==a+"";case"[object Map]":var b=o;case"[object Set]":var p=1&l;if(b||(b=i),e.size!=a.size&&!p)return!1;var h=d.get(e);if(h)return h==a;l|=2,d.set(e,a);var m=r(b(e),b(a),l,s,f,d);return d.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(a)}return!1},Mr}function Ai(){if(Or)return kr;Or=1;var e=_r?Er:(_r=1,Er=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}),t=ht();return kr=function(n,r,o){var i=r(n);return t(n)?i:e(i,o(n))}}function Di(){if(zr)return Pr;zr=1;var e=Nr?Ir:(Nr=1,Ir=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}),t=Fr?Tr:(Fr=1,Tr=function(){return[]}),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;return Pr=r?function(t){return null==t?[]:(t=Object(t),e(r(t),(function(e){return n.call(t,e)})))}:t}function $i(){if(Yr)return Hr;Yr=1;var e=function(){if(Rr)return Lr;Rr=1;var e=Ai(),t=Di(),n=si();return Lr=function(r){return e(r,n,t)}}(),t=Object.prototype.hasOwnProperty;return Hr=function(n,r,o,i,a,u){var c=1&o,l=e(n),s=l.length;if(s!=e(r).length&&!c)return!1;for(var f=s;f--;){var d=l[f];if(!(c?d in r:t.call(r,d)))return!1}var b=u.get(n),p=u.get(r);if(b&&p)return b==r&&p==n;var h=!0;u.set(n,r),u.set(r,n);for(var m=c;++f<s;){var g=n[d=l[f]],v=r[d];if(i)var y=c?i(v,g,d,r,n,u):i(g,v,d,n,r,u);if(!(void 0===y?g===v||a(g,v,o,i,u):y)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var w=n.constructor,S=r.constructor;w==S||!("constructor"in n)||!("constructor"in r)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(h=!1)}return u.delete(n),u.delete(r),h},Hr}function Mi(){if(Jr)return Qr;Jr=1;var e=function(){if(Wr)return Ur;Wr=1;var e=ft()(Ce(),"DataView");return Ur=e}(),t=hi(),n=function(){if(Br)return qr;Br=1;var e=ft()(Ce(),"Promise");return qr=e}(),r=function(){if(Vr)return Gr;Vr=1;var e=ft()(Ce(),"Set");return Gr=e}(),o=function(){if(Zr)return Kr;Zr=1;var e=ft()(Ce(),"WeakMap");return Kr=e}(),i=De(),a=st(),u="[object Map]",c="[object Promise]",l="[object Set]",s="[object WeakMap]",f="[object DataView]",d=a(e),b=a(t),p=a(n),h=a(r),m=a(o),g=i;return(e&&g(new e(new ArrayBuffer(1)))!=f||t&&g(new t)!=u||n&&g(n.resolve())!=c||r&&g(new r)!=l||o&&g(new o)!=s)&&(g=function(e){var t=i(e),n="[object Object]"==t?e.constructor:void 0,r=n?a(n):"";if(r)switch(r){case d:return f;case b:return u;case p:return c;case h:return l;case m:return s}return t}),Qr=g}function ji(){if(no)return to;no=1;var e=function(){if(eo)return Xr;eo=1;var e=wi(),t=Ci(),n=xi(),r=$i(),o=Mi(),i=ht(),a=jt(),u=ii(),c="[object Arguments]",l="[object Array]",s="[object Object]",f=Object.prototype.hasOwnProperty;return Xr=function(d,b,p,h,m,g){var v=i(d),y=i(b),w=v?l:o(d),S=y?l:o(b),C=(w=w==c?s:w)==s,x=(S=S==c?s:S)==s,A=w==S;if(A&&a(d)){if(!a(b))return!1;v=!0,C=!1}if(A&&!C)return g||(g=new e),v||u(d)?t(d,b,p,h,m,g):n(d,b,w,p,h,m,g);if(!(1&p)){var D=C&&f.call(d,"__wrapped__"),$=x&&f.call(b,"__wrapped__");if(D||$){var M=D?d.value():d,j=$?b.value():b;return g||(g=new e),m(M,j,p,h,g)}}return!!A&&(g||(g=new e),r(d,b,p,h,m,g))},Xr}(),t=$e();return to=function n(r,o,i,a,u){return r===o||(null==r||null==o||!t(r)&&!t(o)?r!=r&&o!=o:e(r,o,i,a,n,u))},to}function Ei(){if(ao)return io;ao=1;var e=we();return io=function(t){return t==t&&!e(t)}}function _i(){if(so)return lo;return so=1,lo=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}}function ki(){if(bo)return fo;bo=1;var e=function(){if(oo)return ro;oo=1;var e=wi(),t=ji();return ro=function(n,r,o,i){var a=o.length,u=a,c=!i;if(null==n)return!u;for(n=Object(n);a--;){var l=o[a];if(c&&l[2]?l[1]!==n[l[0]]:!(l[0]in n))return!1}for(;++a<u;){var s=(l=o[a])[0],f=n[s],d=l[1];if(c&&l[2]){if(void 0===f&&!(s in n))return!1}else{var b=new e;if(i)var p=i(f,d,s,n,r,b);if(!(void 0===p?t(d,f,3,i,b):p))return!1}}return!0},ro}(),t=function(){if(co)return uo;co=1;var e=Ei(),t=si();return uo=function(n){for(var r=t(n),o=r.length;o--;){var i=r[o],a=n[i];r[o]=[i,a,e(a)]}return r}}(),n=_i();return fo=function(r){var o=t(r);return 1==o.length&&o[0][2]?n(o[0][0],o[0][1]):function(t){return t===r||e(t,r,o)}}}function Oi(){if(ho)return po;ho=1;var e=ht(),t=Me(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return po=function(o,i){if(e(o))return!1;var a=typeof o;return!("number"!=a&&"symbol"!=a&&"boolean"!=a&&null!=o&&!t(o))||(r.test(o)||!n.test(o)||null!=i&&o in Object(i))}}function Ii(){if(yo)return vo;yo=1;var e=function(){if(go)return mo;go=1;var e=yi();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var o=function(){var e=arguments,t=r?r.apply(this,e):e[0],i=o.cache;if(i.has(t))return i.get(t);var a=n.apply(this,e);return o.cache=i.set(t,a)||i,a};return o.cache=new(t.Cache||e),o}return t.Cache=e,mo=t}();return vo=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}function Ni(){if(Do)return Ao;Do=1;var e=Ae(),t=xo?Co:(xo=1,Co=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}),n=ht(),r=Me(),o=e?e.prototype:void 0,i=o?o.toString:void 0;return Ao=function e(o){if("string"==typeof o)return o;if(n(o))return t(o,e)+"";if(r(o))return i?i.call(o):"";var a=o+"";return"0"==a&&1/o==-1/0?"-0":a},Ao}function Ti(){if(Mo)return $o;Mo=1;var e=Ni();return $o=function(t){return null==t?"":e(t)}}function Fi(){if(Eo)return jo;Eo=1;var e=ht(),t=Oi(),n=function(){if(So)return wo;So=1;var e=Ii(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e((function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,(function(e,t,o,i){r.push(o?i.replace(n,"$1"):t||e)})),r}));return wo=r}(),r=Ti();return jo=function(o,i){return e(o)?o:t(o,i)?[o]:n(r(o))}}function Pi(){if(ko)return _o;ko=1;var e=Me();return _o=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function zi(){if(Io)return Oo;Io=1;var e=Fi(),t=Pi();return Oo=function(n,r){for(var o=0,i=(r=e(r,n)).length;null!=n&&o<i;)n=n[t(r[o++])];return o&&o==i?n:void 0}}function Li(){if(Ho)return Ro;Ho=1;var e=Po?Fo:(Po=1,Fo=function(e,t){return null!=e&&t in Object(e)}),t=function(){if(Lo)return zo;Lo=1;var e=Fi(),t=pt(),n=ht(),r=Et(),o=_t(),i=Pi();return zo=function(a,u,c){for(var l=-1,s=(u=e(u,a)).length,f=!1;++l<s;){var d=i(u[l]);if(!(f=null!=a&&c(a,d)))break;a=a[d]}return f||++l!=s?f:!!(s=null==a?0:a.length)&&o(s)&&r(d,s)&&(n(a)||t(a))}}();return Ro=function(n,r){return null!=n&&t(n,r,e)}}function Ri(){if(Uo)return Yo;Uo=1;var e=ji(),t=function(){if(To)return No;To=1;var e=zi();return No=function(t,n,r){var o=null==t?void 0:e(t,n);return void 0===o?r:o}}(),n=Li(),r=Oi(),o=Ei(),i=_i(),a=Pi();return Yo=function(u,c){return r(u)&&o(c)?i(a(u),c):function(r){var o=t(r,u);return void 0===o&&o===c?n(r,u):e(c,o,3)}}}function Hi(){if(Qo)return Zo;Qo=1;var e=Go?Bo:(Go=1,Bo=function(e){return function(t){return null==t?void 0:t[e]}}),t=function(){if(Ko)return Vo;Ko=1;var e=zi();return Vo=function(t){return function(n){return e(n,t)}}}(),n=Oi(),r=Pi();return Zo=function(o){return n(o)?e(r(o)):t(o)}}function Yi(){if(Xo)return Jo;Xo=1;var e=ki(),t=Ri(),n=qo?Wo:(qo=1,Wo=function(e){return e}),r=ht(),o=Hi();return Jo=function(i){return"function"==typeof i?i:null==i?n:"object"==typeof i?r(i)?t(i[0],i[1]):e(i):o(i)}}function Ui(){if(ti)return ei;ti=1;var e=Ve?Ge:(Ve=1,Ge=function(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}),t=function(){if(tn)return en;tn=1;var e=fi();return en=function(t,n,r,o){return e(t,(function(e,t,i){n(o,e,r(e),i)})),o}}(),n=Yi(),r=ht();return ei=function(o,i){return function(a,u){var c=r(a)?e:t,l=i?i():{};return c(a,o,n(u,2),l)}}}var Wi,qi,Bi=function(){if(ri)return ni;ri=1;var e=dt(),t=Ui(),n=Object.prototype.hasOwnProperty,r=t((function(t,r,o){n.call(t,o)?t[o].push(r):e(t,o,[r])}));return ni=r}(),Gi=ye(Bi);var Vi=function(){if(qi)return Wi;qi=1;var e=je(),t=we();return Wi=function(n,r,o){var i=!0,a=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return t(o)&&(i="leading"in o?!!o.leading:i,a="trailing"in o?!!o.trailing:a),e(n,r,{leading:i,maxWait:r,trailing:a})}}(),Ki=ye(Vi);function Zi(e,t){return C(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:null)}function Qi(e){return Gi(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:null)}function Ji(e,t){return j(e,t)}function Xi(e,t,n){return h(e,t,n)}function ea(e){return O(e)}function ta(e,t){return I(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e3)}function na(e,t){return f(e,t)}function ra(e,t,n){return d(e,t,n)}function oa(e){return M(e)}function ia(e,t){return S(e,t)}function aa(e,t){return x(e,t)}function ua(e){return D(e)}function ca(e,t){return w(e,t)}function la(e){return y(e)}function sa(e,t){return N(e,t)}function fa(e){return p(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1)}function da(e,t){return F(e,t)}function ba(e){return T(e)}function pa(e,t,n){return s(e,t,n)}function ha(e,t){return $(e,t)}function ma(e,t){return A(e,t)}function ga(e,t,n){return E(e,t,n)}function va(e){return _(e)}function ya(e,t){return b(e,t)}function wa(e,t){return m(e,t)}function Sa(e,t){return k(e,t)}function Ca(e,t){return v(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)}function xa(e,t){return g(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)}function Aa(e){return ut(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}function Da(e){return Ki(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})}function $a(e){return new Function(`return ${e}`)()}function Ma(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}function ja(){return window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}function Ea(){const e=navigator.userAgent;return{trident:e.includes("Trident"),presto:e.includes("Presto"),webKit:e.includes("AppleWebKit"),gecko:e.includes("Gecko")&&!e.includes("KHTML"),mobile:!!/AppleWebKit.*Mobile.*/.test(e),ios:!!/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(e),android:e.includes("Android")||e.includes("Linux"),iPhone:e.includes("iPhone"),iPad:e.includes("iPad"),webApp:!e.includes("Safari")}}function _a(){return{versions:Ea(),language:((navigator.browserLanguage||navigator.language)??"").toLowerCase()}}function ka(e){let t=[];const n=JSON.stringify(e,(function(e,n){if("object"==typeof n&&null!==n){if(t.includes(n))return;t.push(n)}return n}));return t=null,n}function Oa(e){let{seed:t,min:n,max:r}=e;const o=n||0;return o+(9301*t+49297)%233280/233280*((r||1)-o)}function Ia(e){return null==e?null:JSON.parse(ka(e))}function Na(e,t,n){let r=[];return null!=e&&(r=[...e]),null!=n&&(r=[...r,...n]),null!=t&&(r=[t,...r]),r}function Ta(e,t,n,r,o){const i=r,a=void 0===n?null:n;return null!=t&&(i.initialValue="function"==typeof convertValue?o(e)||a:e||a),i}function Fa(e,t,n){const r=n||[];let o=null;if(null==t)return o;for(const n of r)n[e]===t&&(o=n);return o}function Pa(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replaceAll(/[018]/g,Pa)}function za(){return Pa()+""}function La(e){let{pageNo:t,pageSize:n,total:r}=e;return!((r||0)<=0)&&(t||0)*(n||0)<(r||0)}function Ra(){return"development"===process.env.NODE_ENV}function Ha(e){return Object.keys(e).map((t=>e[t])).join(",")}function Ya(e,t){return Array.from({length:t-e+1},((t,n)=>e+n))}function Ua(e){return Ja(e)}function Wa(e){const t=`${Ja(e)?null:e}`.match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/);if(null==t)return!1;const n=new Date(t[1],t[3]-1,t[4]);return n.getFullYear()===Number.parseInt(t[1],10)&&n.getMonth()+1===Number.parseInt(t[3],10)&&n.getDate()===Number.parseInt(t[4],10)}function qa(e){return!!Number.isInteger(e)||a(e)}function Ba(e){return!!qa(e)||!Number.isNaN(Number(e))}function Ga(e){const t=`${Ja(e)?null:e}`;if(""===t)return!1;return new RegExp(/^([1-9]\d{0,15}|0)(\.\d{1,2})?$/).test(t)}function Va(e,t){return r(e,t)}function Ka(e,t){return ka(e||{})===ka(t||{})}function Za(e){return o(e)}function Qa(e){return t(e)}function Ja(e){return l(e)}function Xa(e){return i(e)}function eu(e){return n(e)}function tu(e){return c(e)}function nu(e){return Array.isArray(e)}function ru(e){return!!nu(e)&&e.length<=0}function ou(e){return u(e)}function iu(e){return!!ou(e)&&Object.keys(e).length<=0}function au(e){return null!==e&&"object"==typeof e&&!nu(e)}function uu(e){return au(e)&&Za(e.then)&&Za(e.catch)}function cu(e){return new RegExp(/(http|https):\/\/([\w.]+\/?)\S*/).test(e)}function lu(e){return new RegExp(/(data):image\/([\w.]+\/?)\S*/).test(e)}function su(e){return""===ba(s(e||""," ",""))}function fu(e){return!!Ja(e)||(!!Xa(e)||!nu(e)&&(!!ou(e)&&iu(e)))}function du(e,t){let n=!1;return nu(e)?(e.some((e=>e===t&&(n=!0,!0))),n):n}function bu(e,t){if(su(t))return!1;return du(Object.keys(e),t)}function pu(e){return(new Date).toISOString().slice(0,10)===e.toISOString().slice(0,10)}function hu(e,t,n){return n.getTime()>=e.getTime()&&n.getTime()<=t.getTime()}function mu(e){return 6===e.getDay()||0===e.getDay()}function gu(e,t){return e.getUTCFullYear()===new Date(`${t}`).getUTCFullYear()}function vu(e){return"[object AsyncFunction]"===Object.prototype.toString.call(e)}const yu="easy-soft-utility",wu={whetherList:[{key:"b24a21cf-a45c-4b6a-9993-f6953d7eb1ee",flag:"0",name:"否",alias:"否",description:"",availability:1},{key:"ea1b8b1e-7b78-4b29-bbce-57ef0b25e23c",flag:"1",name:"是",alias:"是",description:"",availability:1}]},Su={super:{permission:"super"}},Cu={ALIPAY:"ALIPAY",JD:"JD",QQ:"QQ",RN:"RN",SWAN:"SWAN",TT:"TT",UNKNOWN:"UNKNOWN",WEAPP:"WEAPP",WEB:"WEB"},xu={center:"center",left:"left",right:"right"},Au={bottom:"bottom",middle:"middle",top:"top"},Du={dataLoading:!1,dispatchComplete:!0,externalData:null,firstLoadSuccess:!1,loadApiPath:"",loadSuccess:!1,metaData:null,metaExtra:null,metaListData:[],metaOriginalData:null,paging:!1,processing:!1,refreshing:!1,registering:!1,reloading:!1,searching:!1,urlParams:null},$u={dataLoading:!0},Mu={real:"real",simulation:"simulation"},ju={get:"GET",post:"POST",put:"PUT",delete:"DELETE",trace:"TRACE",connect:"CONNECT"},Eu="0",_u=0,ku="1970-01-01 00:00",Ou={number:"number",whetherNumber:"whetherNumber",whetherString:"whetherString",datetime:"datetime",string:"string",moment:"moment",money:"money",array:"array",boolean:"boolean"},Iu={money:"money",datetime:"datetime",chineseMoney:"chineseMoney",percentage:"percentage"},Nu={yearMonthDayHourMinuteSecond:"YYYY-MM-DD HH:mm:ss",yearMonthDayHourMinute:"YYYY-MM-DD HH:mm",yearMonthDay:"YYYY-MM-DD",yearMonth:"YYYY-MM",year:"YYYY",monthDayHourMinuteSecond:"YYYY-MM-DD HH:mm:ss",monthDayHourMinute:"MM-DD HH:mm",monthDay:"MM-DD",hourMinute:"HH:mm",hourMinuteSecond:"HH:mm:ss",month:"MM",day:"DD",hour:"HH",minute:"mm",second:"ss"},Tu={moveUp:"moveUp",moveDown:"moveDown"},Fu={no:"0",yes:"1"},Pu={no:0,yes:1},zu={trace:"trace",debug:"debug",warn:"warn",error:"error",exception:"exception",info:"info",config:"config",execute:"execute",stack:"stack",develop:"develop",callTrack:"callTrack",callTrace:"callTrace",callResult:"callResult",render:"render"},Lu={auto:"auto",text:"text",object:"object"},Ru={open:"open",loading:"loading",info:"info",warning:"warning",warn:"warn",success:"success",error:"error"},Hu={open:"open",loading:"loading",info:"info",warning:"warning",warn:"warn",success:"success",error:"error"},Yu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABLCAYAAACGGCK3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cExAQAAAMKg9U9tDQ8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA3NXV7AAHfw7zWAAAAAElFTkSuQmCC",Uu=Yu,Wu=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],qu=[31,28,31,30,31,30,31,31,30,31,30,31],Bu=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Gu=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Vu=["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],Ku=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],Zu=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],Qu=["日","一","二","三","四","五","六","七","八","九","十"],Ju=["初","十","廿","卅"],Xu=["正","二","三","四","五","六","七","八","九","十","冬","腊"];var ec,tc,nc,rc,oc,ic,ac,uc,cc,lc,sc,fc,dc,bc,pc,hc;function mc(){if(rc)return nc;rc=1;var e=tc?ec:(tc=1,ec=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i});return nc=function(t,n,r){var o=t.length;return r=void 0===r?o:r,!n&&r>=o?t:e(t,n,r)}}function gc(){if(ic)return oc;ic=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return oc=function(t){return e.test(t)}}function vc(){if(fc)return sc;fc=1;var e=uc?ac:(uc=1,ac=function(e){return e.split("")}),t=gc(),n=function(){if(lc)return cc;lc=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^"+e+"]",i="(?:\\ud83c[\\udde6-\\uddff]){2}",a="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+r+")?",c="[\\ufe0e\\ufe0f]?",l=c+u+"(?:\\u200d(?:"+[o,i,a].join("|")+")"+c+u+")*",s="(?:"+[o+n+"?",n,i,a,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+s+l,"g");return cc=function(e){return e.match(f)||[]}}();return sc=function(r){return t(r)?n(r):e(r)}}function yc(){if(bc)return dc;bc=1;var e=mc(),t=gc(),n=vc(),r=Ti();return dc=function(o){return function(i){i=r(i);var a=t(i)?n(i):void 0,u=a?a[0]:i.charAt(0),c=a?e(a,1).join(""):i.slice(1);return u[o]()+c}}}var wc,Sc,Cc=ye(function(){if(hc)return pc;hc=1;var e=yc()("toLowerCase");return pc=e}());var xc=ye(function(){if(Sc)return wc;Sc=1;var e=yc()("toUpperCase");return wc=e}());function Ac(e){return L(e,{algorithm:"sha1"})}function Dc(e){return L(e,{algorithm:"md5"})}function $c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=P(e),r=Number.isNaN(n)?0:n;return null==(t||null)?r:function(e,t){const n=Math.pow(10,t+1),r=Math.floor($c(e)*n);return 10*Math.round(r/10)/n}(r,t)}function Mc(e,t,n){if(!qa(e))throw new Error("value must be number value");let r=$c(e);return void 0!==t&&(r=Math.max(e,t)),void 0!==n&&(r=Math.min(r,n)),r}function jc(e){return Ga(e)?Number.parseFloat(e,10):0}function Ec(e){return`${jc(1e3*$c(e)/10)}%`}function _c(e){return Xa(e)?"":z(e)}function kc(e){return!!e}function Oc(e){return _c(e).toUpperCase()}function Ic(e){return xc(e)}function Nc(e){return _c(e).toLowerCase()}function Tc(e){return Cc(e)}function Fc(e){return uu(e)?e:Promise.resolve(e)}function Pc(e,t){return Ji(e,t)}function zc(e){return[...new Set(e)]}const Lc="must be an object",Rc="must be a string",Hc="must be a date",Yc="must be function",Uc="must be array",Wc="disallow empty";function qc(e){let{value:t=null,ancillaryInformation:n=""}=e;return`${null==(t||null)?"":", current is "+typeof t}${su(n)?"":`, ${n}`}`}const Bc={buildDisallowEmpty:e=>{let{name:t="parameter",ancillaryInformation:n=""}=e;return`${t} ${Wc}${qc({value:null,ancillaryInformation:n})}`},buildMustObject:e=>{let{name:t="parameter",value:n=null,ancillaryInformation:r=""}=e;return`${t} ${Lc}${qc({value:n,ancillaryInformation:r})}`},buildMustString:e=>{let{name:t="parameter",value:n=null,ancillaryInformation:r=""}=e;return`${t} ${Rc}${qc({value:n,ancillaryInformation:r})}`},buildMustDate:e=>{let{name:t="parameter",value:n=null,ancillaryInformation:r=""}=e;return`${t} ${Hc}${qc({value:n,ancillaryInformation:r})}`},buildMustFunction:e=>{let{name:t="parameter",value:n=null,ancillaryInformation:r=""}=e;return`${t} ${Yc}${qc({value:n,ancillaryInformation:r})}`},buildMustArray:e=>{let{name:t="parameter",value:n=null,ancillaryInformation:r=""}=e;return`${t} ${Uc}${qc({value:n,ancillaryInformation:r})}`}};function Gc(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return`${[e,...r].filter((e=>tu(e)&&!su(e))).join("::")}::${su(t)?"":t}`}function Vc(e){let{textCollection:t,separator:n=","}=e;if(!R(t)||ru(t))return"";const r=[];for(const e of t){const t=_c(e);su(t)||r.push(t)}return r.length<=0?"":r.join(n)}function Kc(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Vc({textCollection:t,separator:" -> "})}function Zc(e,t){return Kc(_c(e),t)}function Qc(e){return su(e)?"":`data:image/png;base64,${e}`}function Jc(e){return su(e)?"":`data:image/jpeg;base64,${e}`}const Xc="loggerAssist",el={loggerDisplaySwitchPromptSetInformationComplete:!1,loggerDisplaySwitchSetComplete:!1,display:!1},tl={config:"#F8C471",execute:"#C39BD3",info:"#89CA78",warn:"#F16F17",debug:"#00768F",trace:"#596032",error:"#E33F3E",exception:"#DC428E",stack:"#81977c",develop:"#9f6027",callTrack:"#889a14",callTrace:"#596032",render:"#7093f4"};function nl(e){let{text:t,color:n="",dataDescription:r="",ancillaryInformation:o=""}=e;const i=tu(t)?t:ka(t);let a="";a=nu(o)?Kc(i,...o):Kc(i,o),su(nl)||console.log("%c%s",`color:${n};`,`${su(r)?"":`[${Oc(r)}] `}${a}`)}function rl(e){let{data:t,color:n="",dataDescription:r="",ancillaryInformation:o=""}=e;return nu(t)?(nl({text:ru(t)?"":"check the following array data",color:n,dataDescription:r,ancillaryInformation:o}),void(ru(t)||console.log(t))):ou(t)?(nl({text:iu(t)?"":"check the following object data",color:n,dataDescription:r,ancillaryInformation:o}),void(iu(t)||console.log(t))):(nl({text:"check the following data",color:n,dataDescription:r,ancillaryInformation:o}),void console.log(t))}function ol(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lu.auto,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:zu.debug,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};const i=Sl(),{color:a="",prefix:u=""}={color:"",prefix:"",...o};if(n!=zu.develop&&!el.loggerDisplaySwitchSetComplete&&!el.loggerDisplaySwitchPromptSetInformationComplete){nl({text:Gc(yu,Kc("logData","logger display switch default is false, if want to display log, please set it before first log, use setLoggerDisplaySwitch to set it, this message only show once"),Xc),color:a||tl.develop,dataDescription:u||zu.develop,ancillaryInformation:""});try{throw new Error("please set use setLoggerDisplaySwitch")}catch(e){console.error(e)}el.loggerDisplaySwitchPromptSetInformationComplete=!0}if(!i&&!du([zu.exception,zu.develop],n))return;let c=null==(t||null)||su(t)?Lu.auto:t;if(!du([Lu.auto,Lu.text,Lu.object],c))throw new Error(`Invalid log display mode -> ${c}`);if(c===Lu.auto&&(c=tu(e)?Lu.text:Lu.object),n!==zu.exception)n===zu.develop&&Ra()&&(c===Lu.text&&nl({text:e,color:a||tl.develop,dataDescription:u||"develop",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.develop,dataDescription:u||"develop",ancillaryInformation:r})),i&&(n===zu.render&&(c===Lu.text&&nl({text:e,color:a||tl.render,dataDescription:u||"render",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.render,dataDescription:u||"render",ancillaryInformation:r})),n===zu.trace&&(c===Lu.text&&nl({text:e,color:a||tl.trace,dataDescription:u||"trace",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.trace,dataDescription:u||"trace",ancillaryInformation:r})),n===zu.callTrack&&(c===Lu.text&&nl({text:e,color:a||tl.callTrack,dataDescription:u||"callTrack",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.callTrack,dataDescription:u||"callTrack",ancillaryInformation:r})),n===zu.callTrace&&(c===Lu.text&&nl({text:e,color:a||tl.callTrace,dataDescription:u||"callTrace",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.callTrace,dataDescription:u||"callTrace",ancillaryInformation:r})),n===zu.debug&&(c===Lu.text&&nl({text:e,color:a||tl.debug,dataDescription:u||"debug",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.debug,dataDescription:u||"debug",ancillaryInformation:r})),n===zu.warn&&(c===Lu.text&&nl({text:e,color:a||tl.warn,dataDescription:u||"warn",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.warn,dataDescription:u||"warn",ancillaryInformation:r})),n===zu.info&&(c===Lu.text&&nl({text:e,color:a||tl.info,dataDescription:u||"info",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.info,dataDescription:u||"info",ancillaryInformation:r})),n===zu.execute&&(c===Lu.text&&nl({text:e,color:a||tl.execute,dataDescription:u||"execute",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.execute,dataDescription:u||"execute",ancillaryInformation:r})),n===zu.config&&(c===Lu.text&&nl({text:e,color:a||tl.config,dataDescription:u||"config",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.config,dataDescription:u||"config",ancillaryInformation:r})),n===zu.stack&&(c===Lu.text&&nl({text:e,color:a||tl.stack,dataDescription:u||"stack",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.stack,dataDescription:u||"stack",ancillaryInformation:r}),console.trace("stack call trace as bellow")),n===zu.error&&(c===Lu.text&&nl({text:e,color:a||tl.error,dataDescription:u||"error",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.error,dataDescription:u||"error",ancillaryInformation:r})));else{c===Lu.text&&nl({text:e,color:a||tl.exception,dataDescription:u||"exception",ancillaryInformation:r}),c===Lu.object&&rl({data:e,color:a||tl.exception,dataDescription:u||"exception",ancillaryInformation:r});try{throw new Error("an error occur, check the above error message, the stack information is as follows")}catch(e){console.error(e)}}}function il(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.warn,t,n):wl(e,zu.warn,t,n)}function al(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.info,t,n):wl(e,zu.info,t,n)}function ul(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.config,t,n):wl(e,zu.config,t,n)}function cl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.develop,t,n):wl(e,zu.develop,t,n)}function ll(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.stack,t,n):wl(e,zu.stack,t,n)}function sl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.trace,t,n):wl(e,zu.trace,t,n)}function fl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.callTrack,t,n):wl(e,zu.callTrack,t,n)}function dl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.callTrace,t,n):wl(e,zu.callTrace,t,n)}function bl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.callResult,t,n):wl(e,zu.callResult,t,n)}function pl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.render,t,n):wl(e,zu.render,t,n)}function hl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.debug,t,n):wl(e,zu.debug,t,n)}function ml(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.execute,t,n):wl(e,zu.execute,t,n)}function gl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.error,t,n):wl(e,zu.error,t,n)}function vl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};tu(e)?yl(e,zu.exception,t,n):wl(e,zu.exception,t,n)}function yl(e){ol(e,Lu.text,arguments.length>1&&void 0!==arguments[1]?arguments[1]:zu.trace,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})}function wl(e){ol(e,Lu.object,arguments.length>1&&void 0!==arguments[1]?arguments[1]:zu.trace,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",arguments.length>3&&void 0!==arguments[3]?arguments[3]:{})}function Sl(){return kc(el.display)}function Cl(e){cl(Gc(yu,"setLoggerDisplaySwitch",Xc),kc(e)),el.display=kc(e),el.loggerDisplaySwitchSetComplete=!0}function xl(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"CONSOLE LOG",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"=================================";const r=`${n}${su(t)?"":` ${t} `}${n}`;console.log(r),console.log(e)}const Al="runtimeAssist",Dl={runtimeDataStorage:null,runtimeDataStorageSetComplete:!1};function $l(e){return Gc(yu,e,Al)}function Ml(t){if(!ou(t))throw cl($l("setDataStorage"),"parameter must be object"),new Error(Gc(yu,"setDataStorage -> data storage mount target must be a object, current type is "+typeof target,Al));cl($l("setDataStorage"),typeof t),t.runtimeDataStorage={},Dl.runtimeDataStorage=t.runtimeDataStorage,Dl.runtimeDataStorageSetComplete=!0,function(t){if(null==(t||null))throw new Error("runtimeDataStorage has not set complete");t.localRuntimeCache=new e,t.applicationInitialConfig={},t.externalConfigList=[],t.applicationConfigMergeComplete=!1,t.applicationMergeConfig={},t.lastRequestExceptionMessage={code:-1,message:"",time:Date.now()}}(Dl.runtimeDataStorage)}function jl(){if(Xa(Dl.runtimeDataStorage)||!Dl.runtimeDataStorageSetComplete)throw new Error(Gc(yu,"runtimeDataStorage has not set,use setRuntimeDataStorage to set it",Al));return Dl.runtimeDataStorage}function El(){return Dl.runtimeDataStorage.lastRequestExceptionMessage||{code:-1,message:"",time:Date.now()}}function _l(e){let{code:t,message:n,time:r}=e;Dl.runtimeDataStorage.lastRequestExceptionMessage={code:t,message:n,time:r}}function kl(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),"cacheAssist")}function Ol(e){return su(e)?(il(kl("checkKey","cache key is null or empty")),!1):!(!tu(e)&&!qa(e))||(il(kl("checkKey","cache key must be string or number, current type id "+typeof e)),!1)}function Il(){let e=null;try{e=jl()}catch{return!1}return!Xa(e)&&!!e.localRuntimeCache}function Nl(){const t=jl();return t.localRuntimeCache||(t.localRuntimeCache=new e),t.localRuntimeCache}function Tl(e){let{key:t}=e;const n=Nl();if(null==n)throw new Error("cache pool not exist");return n.has(t)}function Fl(e){let{key:t,value:n,expiration:r=0}=e;if(!Ol(t))return;const o=Nl();if(null==o)throw new Error("cache pool not exist");return o.set(t,n,r)}function Pl(e){if(!nu(e))throw new Error("setMultiCache: list must be array");if(e.length<=0)return!0;const t=[];for(const n of e){const{key:e,value:r,expiration:o}={key:"",value:"",expiration:0,...n};if(!su(e)){if(!Ol(e))continue;t.push({key:e,value:r,ttl:o})}}if(t.length<=0)return!1;const n=Nl();if(null==n)throw new Error("cache pool not exist");return n.mset(t)}function zl(e){let{key:t}=e;const n=Nl();if(null==n)throw new Error("cache pool not exist");return n.getTtl(t)}function Ll(e){let{key:t,expiration:n}=e;const r=Nl();if(null==r)throw new Error("cache pool not exist");return r.ttl(t,n)}function Rl(e){let{key:t}=e;const n=Nl();if(null==n)throw new Error("cache pool not exist");return n.get(t)}function Hl(){const e=Nl();if(null==e)throw new Error("cache pool not exist");return e.keys()}function Yl(e){if(!nu(e))throw new Error("getMultiCache: list must be array");const t=Nl();if(null==t)throw new Error("cache pool not exist");return t.mget(e)}function Ul(e){let{key:t}=e;const n=Nl();if(null==n)throw new Error("cache pool not exist");return n.take(t)}function Wl(e){let{key:t}=e;if(!Ol(t))return;const n=Nl();if(null==n)throw new Error("cache pool not exist");return n.del(t)}function ql(e){if(!nu(e))throw new Error("deleteMultiCache: list must be array");const t=Nl();if(null==t)throw new Error("cache pool not exist");return t.del(e)}function Bl(){const e=Nl();if(null==e)throw new Error("cache pool not exist");return e.flushAll()}function Gl(){const e=Nl();if(null==e)throw new Error("cache pool not exist");return e.getStats()}const Vl="localStorageAssist";function Kl(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),Vl)}const Zl={getStorage:e=>{vl(Gc(yu,"localStorageGetter need config, use setLocalStorageGetter to set it",Vl))},setStorage:(e,t)=>{vl(Gc(yu,"localStorageSetter need config, use setLocalStorageSetter to set it",Vl))},removeStorage:e=>{vl(Gc(yu,"localStorageRemover need config, use setLocalStorageRemover to set it",Vl))},flushStorage:()=>{vl(Gc(yu,"localStorageFlusher need config, use setLocalStorageFlusher to set it",Vl))}};function Ql(e){cl(Kl("setLocalStorageGetter"),typeof e),Zl.getStorage=e}function Jl(e){cl(Kl("setLocalStorageSetter"),typeof e),Zl.setStorage=e}function Xl(e){cl(Kl("setLocalStorageRemover"),typeof e),Zl.removeStorage=e}function es(e){cl(Kl("setLocalStorageFlusher"),typeof e),Zl.flushStorage=e}function ts(e){try{return Zl.getStorage(e)}catch(t){throw vl({key:e,e:t}),t}}function ns(e){const t=ts(e);return su(t)?null:JSON.parse(t||"{}")}function rs(e,t){Zl.setStorage(e,t)}function os(e,t){Zl.setStorage(e,ka(t||{}))}function is(e){Zl.removeStorage(e)}function as(){Zl.flushStorage()}const us={accessWayCollection:"ea-accessWayCollection"};function cs(){let e={};const t=us.accessWayCollection;if(Tl({key:t})&&(e=Rl({key:t}),nu(e)))return e;const n=ns(t);return null==(n||null)?{...Su}:(e={...n||null,...Su},Fl({key:t,value:e}),e)}function ls(e){os(us.accessWayCollection,e||{})}const ss="loggerAssist";function fs(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),ss)}function ds(e){let{text:t}=e;return su(t||null)&&(cl(Gc(yu,Zc("checkMessagePromptData option text disallow empty","{ text }"),ss)),ll("checkMessagePromptData call stack")),!0}const bs={durationConversionRatio:1,showOpenMessage:e=>{let{text:t,duration:n=1500,onClose:r=()=>{}}=e;al(t)},showLoadingMessage:e=>{let{text:t,duration:n=1500,onClose:r=()=>{}}=e;al(t)},showInfoMessage:e=>{let{text:t,duration:n=1500,onClose:r=()=>{}}=e;al(t)},showSuccessMessage:e=>{let{text:t,duration:n=1500,onClose:r=()=>{}}=e;al(t)},showWarnMessage:e=>{let{text:t,duration:n=1500,onClose:r=()=>{}}=e;il(t)},showWarningMessage:e=>{let{text:t,duration:n=1500,onClose:r=()=>{}}=e;il(t)},showErrorMessage:e=>{let{text:t,duration:n=1500,onClose:r=()=>{}}=e;gl(t)},setErrorMessageDisplayMonitorComplete:!1};function ps(e){let t=1;if(!qa(e)||$c(e)<=0){cl(Gc(yu,Zc("setDurationConversionRatio","parameter ratio must be number and getter than 0"),ss)),t=1}else t=e;cl("setDurationConversionRatio",$c(t)),bs.durationConversionRatio=$c(t)}function hs(e){cl(fs("setOpenMessageDisplayMonitor"),typeof e),bs.showOpenMessage=e}function ms(e){cl(fs("setLoadingMessageDisplayMonitor"),typeof e),bs.showLoadingMessage=e}function gs(e){cl(fs("setInfoMessageDisplayMonitor"),typeof e),bs.showInfoMessage=e}function vs(e){cl(fs("setSuccessMessageDisplayMonitor"),typeof e),bs.showSuccessMessage=e}function ys(e){cl(fs("setWarnMessageDisplayMonitor"),typeof e),bs.showWarnMessage=e}function ws(e){cl(fs("setWarningMessageDisplayMonitor"),typeof e),bs.showWarningMessage=e}function Ss(e){cl(fs("setErrorMessageDisplayMonitor"),typeof e),bs.showErrorMessage=e,bs.setErrorMessageDisplayMonitorComplete=!0}function Cs(e){xs({text:e})}function xs(e){let{text:t,duration:n=1500,onClose:r=()=>{}}=e;Za(bs.showOpenMessage)&&(ds({text:t}),bs.showOpenMessage({text:t,duration:n/bs.durationConversionRatio,onClose:r}))}function As(e){Ds({text:e})}function Ds(e){let{text:t,duration:n=1500,onClose:r=()=>{}}=e;Za(bs.showLoadingMessage)&&(ds({text:t}),bs.showLoadingMessage({text:t,duration:n/bs.durationConversionRatio,onClose:r}))}function $s(e){Ms({text:e})}function Ms(e){let{text:t,duration:n=1500,onClose:r=()=>{}}=e;Za(bs.showInfoMessage)&&(ds({text:t}),bs.showInfoMessage({text:t,duration:n/bs.durationConversionRatio,onClose:r}))}function js(e){Es({text:e})}function Es(e){let{text:t,duration:n=1500,onClose:r=()=>{}}=e;Za(bs.showSuccessMessage)&&(ds({text:t}),bs.showSuccessMessage({text:t,duration:n/bs.durationConversionRatio,onClose:r}))}function _s(e){ks({text:e})}function ks(e){let{text:t,duration:n=1500,onClose:r=()=>{}}=e;Za(bs.showWarnMessage)&&(ds({text:t}),bs.showWarnMessage({text:t,duration:n/bs.durationConversionRatio,onClose:r}))}function Os(e){Is({text:e})}function Is(e){let{text:t,duration:n=1500,onClose:r=()=>{}}=e;Za(bs.showWarningMessage)&&(ds({text:t}),bs.showWarningMessage({text:t,duration:n/bs.durationConversionRatio,onClose:r}))}function Ns(e){Ts({text:e})}function Ts(e){let{text:t,duration:n=1500,onClose:r=()=>{}}=e;Za(bs.showErrorMessage)&&(ds({text:t}),bs.showErrorMessage({text:t,duration:n/bs.durationConversionRatio,onClose:r}))}function Fs(e){Ps({text:e})}function Ps(e){let{text:t}=e;su(t||"")||(bs.setErrorMessageDisplayMonitorComplete&&Ts({text:t}),vl({text:t}))}const zs="applicationAssist",Ls={externalConfigListSetComplete:!1,initialConfigSetComplete:!1};function Rs(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),zs)}function Hs(e,t){if(!nu(t))return e;let n={...e};for(const e of t)ou(e)&&(n={...n,...e});return n}function Ys(e){if(cl(Rs("setApplicationInitialConfig"),typeof e),!ou(e)){const e="setApplicationInitialConfig -> config must be object";Ra()&&nl({text:Gc(yu,e,zs),color:tl.warn,dataDescription:"warn",ancillaryInformation:""}),Ns(e)}jl().applicationInitialConfig=e,Ls.initialConfigSetComplete=!0}function Us(e){if(Ls.externalConfigListSetComplete)return cl(Rs("setApplicationExternalConfigList"),"reset is not allowed, it can be set only once"),void Ns(Zc("setApplicationExternalConfigList","reset is not allowed, it can be set only once"));cl(Rs("setApplicationExternalConfigList"),typeof e);jl().externalConfigList=nu(e)?e:ou(e)?[e]:[],Ls.externalConfigListSetComplete=!0}function Ws(){if(!Ls.initialConfigSetComplete)throw new Error(Gc(yu,"applicationInitialConfig has not set,use setApplicationInitialConfig to set it",zs));return jl().applicationInitialConfig||{}}function qs(e){if(!Ls.externalConfigListSetComplete)return cl(Rs("appendApplicationExternalConfig"),"appendApplicationExternalConfig is not allowed when applicationConfiguration.externalConfigListSetComplete is false"),void Ns(Zc("appendApplicationExternalConfig","appendApplicationExternalConfig is not allowed when applicationConfiguration.externalConfigListSetComplete is false"));cl(Rs("appendApplicationExternalConfig"),typeof e),ou(e)&&!iu(e)||_s(Zc("appendApplicationExternalConfig","appendApplicationExternalConfig ignore when config is null or empty or not object"));const t=jl();t.externalConfigList=[...t.externalConfigList,e],t.applicationMergeConfig=Hs(Ws(),t.externalConfigList)}function Bs(){if(!Ls.externalConfigListSetComplete)throw new Error(Gc(yu,"applicationExternalConfigList has not set,use setApplicationExternalConfigList to set it",zs));const e=jl();return nu(e.externalConfigList)?e.externalConfigList:[]}function Gs(){const e=jl();return e.applicationConfigMergeComplete||(cl(Rs("merge application configuration")),e.applicationMergeConfig=Hs(Ws(),e.externalConfigList),e.applicationConfigMergeComplete=!0),e.applicationMergeConfig||{}}const Vs="ea-authorityCollection";function Ks(e){ml({authority:e},function(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),"authorityLocalAssist")}("setLocalAuthorityCollection"));os(Vs,"string"==typeof e?[e]:e),Bl()}function Zs(){const e=ts(Vs);let t;try{e&&(t=JSON.parse(e))}catch{t=e}return"string"==typeof t?[t]:nu(t)?[...t]:[]}function Qs(){ml("removeLocalAuthorityCollection");is(Vs)}function Js(e){let t=e;if(null==(t||null)&&(t=ku,cl({parameter:e},"easy-soft-utility::toDatetime",`parameter is not time, use default value ${ku}`)),eu(t))return new Date(t);if(tu(t)){if(t.indexOf("T")<0){const e=t.replaceAll("-","/");return new Date(e)}}return qa(t)?new Date($c(t)):new Date(t)}function Xs(e){let{target:t,convert:n}=e;if(Za(n))return n(t);if(tu(n))switch(n){case Ou.number:return $c(t);case Ou.whetherNumber:return $c(t)===Pu.yes?Pu.yes:Pu.no;case Ou.whetherString:return $c(t)===Pu.yes?Fu.yes:Fu.no;case Ou.datetime:return Js(t);case Ou.string:return _c(t);case Ou.money:return jc(t);case Ou.array:return null==(t||null)?[]:nu(t)?t:[t];default:return t}return t}var ef,tf={exports:{}};var nf,rf,of,af=ye(ef?tf.exports:(ef=1,tf.exports=(nf={year:0,month:1,day:2,hour:3,minute:4,second:5},rf={},function(e,t,n){var r,o=function(e,t,n){void 0===n&&(n={});var r=new Date(e),o=function(e,t){void 0===t&&(t={});var n=t.timeZoneName||"short",r=e+"|"+n,o=rf[r];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),rf[r]=o),o}(t,n);return o.formatToParts(r)},i=function(e,t){for(var r=o(e,t),i=[],a=0;a<r.length;a+=1){var u=r[a],c=u.type,l=u.value,s=nf[c];s>=0&&(i[s]=parseInt(l,10))}var f=i[3],d=24===f?0:f,b=i[0]+"-"+i[1]+"-"+i[2]+" "+d+":"+i[4]+":"+i[5]+":000",p=+e;return(n.utc(b).valueOf()-(p-=p%1e3))/6e4},a=t.prototype;a.tz=function(e,t){void 0===e&&(e=r);var o,i=this.utcOffset(),a=this.toDate(),u=a.toLocaleString("en-US",{timeZone:e}),c=Math.round((a-new Date(u))/1e3/60),l=15*-Math.round(a.getTimezoneOffset()/15)-c;if(Number(l)){if(o=n(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(l,!0),t){var s=o.utcOffset();o=o.add(i-s,"minute")}}else o=this.utcOffset(0,t);return o.$x.$timezone=e,o},a.offsetName=function(e){var t=this.$x.$timezone||n.tz.guess(),r=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return r&&r.value};var u=a.startOf;a.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var r=n(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(r,e,t).tz(this.$x.$timezone,!0)},n.tz=function(e,t,o){var a=o&&t,u=o||t||r,c=i(+n(),u);if("string"!=typeof e)return n(e).tz(u);var l=function(e,t,n){var r=e-60*t*1e3,o=i(r,n);if(t===o)return[r,t];var a=i(r-=60*(o-t)*1e3,n);return o===a?[r,o]:[e-60*Math.min(o,a)*1e3,Math.max(o,a)]}(n.utc(e,a).valueOf(),c,u),s=l[0],f=l[1],d=n(s).utcOffset(f);return d.$x.$timezone=u,d},n.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},n.tz.setDefault=function(e){r=e}}))),uf={exports:{}};var cf=(of||(of=1,uf.exports=function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,i){var a=o.prototype;i.utc=function(e){return new o({date:e,utc:!0,args:arguments})},a.utc=function(t){var n=i(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},a.local=function(){return i(this.toDate(),{locale:this.$L,utc:!1})};var u=a.parse;a.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),u.call(this,e)};var c=a.init;a.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=a.utcOffset;a.utcOffset=function(r,o){var i=this.$utils().u;if(i(r))return this.$u?0:i(this.$offset)?l.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],i=o[0],a=60*+o[1]+ +o[2];return 0===a?0:"+"===i?a:-a}(r),null===r))return this;var a=Math.abs(r)<=16?60*r:r,u=this;if(o)return u.$offset=a,u.$u=0===r,u;if(0!==r){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(u=this.local().add(a+c,e)).$offset=a,u.$x.$localOffset=c}else u=this.utc();return u};var s=a.format;a.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return s.call(this,t)},a.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},a.isUTC=function(){return!!this.$u},a.toISOString=function(){return this.toDate().toISOString()},a.toString=function(){return this.toDate().toUTCString()};var f=a.toDate;a.toDate=function(e){return"s"===e&&this.$offset?i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=a.diff;a.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=i(e).local();return d.call(r,o,t,n)}}}()),uf.exports),lf=ye(cf);function sf(e){let{datetime:t,format:n="YYYY-MM-DD",locale:r=H.tz.guess(),convertEmptyDatetimeToNull:o=!0}=e;return o&&Js(t).getTime()==Js(ku).getTime()?null:H(t,n,r)}function ff(e,t){const n=Js(e);return n.setHours(n.getHours()+t),n}function df(e,t){const n=Js(e);return n.setMinutes(n.getMinutes()+t),n}function bf(e,t){const n=Js(e);return n.setSeconds(n.getSeconds()+t),n}function pf(){return new Date}function hf(e,t){return Js(e)<Js(t)}function mf(e,t){return Js(e)>Js(t)}function gf(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(Xa(e)||!eu(e)){const e=Zc("getTimeStamp",Bc.buildMustDate({}));throw new Error(e)}return Js(e).getTime()}function vf(e,t){const n=e.getTime(),r=(t.getTime()-n)/1e3,o=Number.parseInt(r/86400),i=r-24*o*60*60,a=Number.parseInt(i/3600),u=r-24*o*60*60-60*a*60,c=Number.parseInt(u/60);return{day:o,hour:a,minute:c,second:r-24*o*60*60-60*a*60-60*c}}H.extend(lf),H.extend(af);const yf=(e,t,n)=>{const r=Js(e),o=t?Js(t):new Date,i=o.getTime()-r.getTime();return"second"===n&&i/1e3||"minute"===n&&i/1e3/60||"hour"===n&&i/1e3/60/60||"day"===n&&i/1e3/60/60/24||"week"===n&&i/1e3/60/60/24/7||"month"===n&&wf(r,o)||"quarter"===n&&wf(r,o)/3||"year"===n&&wf(r,o)/12||i},wf=(e,t)=>{const n=Js(e),r=Js(t);return 12*(n.getFullYear()-r.getFullYear())+n.getMonth()-r.getMonth()};function Sf(e){let{data:t}=e;return H(t).day()}function Cf(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const t=H().day();if(!e)return t;let n="";switch($c(t)){case 0:n="日";break;case 1:n="一";break;case 2:n="二";break;case 3:n="三";break;case 4:n="四";break;case 5:n="五";break;case 6:n="六";break;default:n=""}return su(n)?"":`星期${n}`}function xf(e){if(!tu(e)&&!qa(e))return vl({year:e},"param year must be string or number"),!1;tu(e)&&!Ba(e)&&vl({year:e},"param year must can convert to number");const t=qa(e)?e:$c(e);return t%4==0&&t%100!=0||t%400==0}function Af(e){let{year:t,month:n}=e;return new Date(`${t}/${n}/01 00:00:00`).getDay()}function Df(e){let{year:t,month:n}=e;return new Date(t,n,0).getDate()}function $f(e){return 15&Wu[e-1900]}function Mf(e){return $f(e)?65536&Wu[e-1900]?30:29:0}function jf(e){let t,n=348;for(t=32768;t>8;t>>=1)n+=Wu[e-1900]&t?1:0;return n+Mf(e)}function Ef(e,t){return t>12||t<1?-1:Wu[e-1900]&65536>>t?30:29}function _f(e,t){if(t>12||t<1)return-1;let n=t-1;return 1==n?e%4==0&&e%100!=0||e%400==0?29:28:qu[n]}function kf(e){let t=(e-3)%10,n=(e-3)%12;return 0==t&&(t=10),0==n&&(n=12),Bu[t-1]+Gu[n-1]}function Of(e,t){let n=[20,19,21,21,21,22,23,23,23,23,22,22];return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".slice(2*e-(t<n[e-1]?2:0),2*e-(t<n[e-1]?2:0)+2)+"座"}function If(e){return Bu[e%10]+Gu[e%12]}function Nf(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;let n=Zu[e-1900],r=[Number.parseInt("0x"+n.slice(0,5)).toString(),Number.parseInt("0x"+n.slice(5,10)).toString(),Number.parseInt("0x"+n.slice(10,15)).toString(),Number.parseInt("0x"+n.slice(15,20)).toString(),Number.parseInt("0x"+n.slice(20,25)).toString(),Number.parseInt("0x"+n.slice(25,30)).toString()],o=[r[0].slice(0,1),r[0].slice(1,3),r[0].slice(3,4),r[0].slice(4,6),r[1].slice(0,1),r[1].slice(1,3),r[1].slice(3,4),r[1].slice(4,6),r[2].slice(0,1),r[2].slice(1,3),r[2].slice(3,4),r[2].slice(4,6),r[3].slice(0,1),r[3].slice(1,3),r[3].slice(3,4),r[3].slice(4,6),r[4].slice(0,1),r[4].slice(1,3),r[4].slice(3,4),r[4].slice(4,6),r[5].slice(0,1),r[5].slice(1,3),r[5].slice(3,4),r[5].slice(4,6)];return Number.parseInt(o[t-1])}function Tf(e){if(e>12||e<1)return-1;let t=Xu[e-1];return t+="月",t}function Ff(e){let t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=Ju[Math.floor(e/10)],t+=Qu[e%10]}return t}function Pf(e){return Vu[(e-4)%12]}function zf(e){let{year:t,month:n,day:r}=e;if(t<1900||t>2100)return vl({year:t},"年份需要介于 1900 ~ 2100 之间"),null;if(1900==t&&1==n&&r<31)return vl({year:t},"可转换的日期下限为 1900.1.31"),null;const o=t?new Date(t,Number.parseInt(n)-1,r):new Date;let i=0,a=0,u=0;const c=o.getFullYear(),l=o.getMonth()+1,s=o.getDate();let f=(Date.UTC(o.getFullYear(),o.getMonth(),o.getDate())-Date.UTC(1900,0,31))/864e5;for(i=1900;i<2101&&f>0;i++)u=jf(i),f-=u;f<0&&(f+=u,i--);const d=new Date;let b=!1;d.getFullYear()==c&&d.getMonth()+1==l&&d.getDate()==s&&(b=!0);let p=o.getDay(),h=Qu[p];0==p&&(p=7);const m=i;a=$f(i);let g=!1;for(i=1;i<13&&f>0;i++)a>0&&i==a+1&&0==g?(--i,g=!0,u=Mf(m)):u=Ef(m,i),1==g&&i==a+1&&(g=!1),f-=u;0==f&&a>0&&i==a+1&&(g?g=!1:(g=!0,--i)),f<0&&(f+=u,--i);const v=i;let y=f+1,w=l-1;const S=kf(m);let C=Nf(m,2*l-1),x=Nf(m,2*l),A=If(12*(c-1900)+l+11);s>=C&&(A=If(12*(c-1900)+l+12));let D=!1,$="";C==s&&(D=!0,$=Ku[2*l-2]),x==s&&(D=!0,$=Ku[2*l-1]);const M=If(Date.UTC(c,w,1,0,0,0,0)/864e5+25567+10+s-1),j=Of(l,s);return{lunarYear:m,lunarMonth:v,lunarMonthName:(g?"闰":"")+Tf(v),lunarDay:y,lunarDayName:Ff(y),chineseZodiac:Pf(m),solarYear:c,solarMonth:l,solarDay:s,sexagenaryCycleYear:S,sexagenaryCycleMonth:A,sexagenaryCycleDay:M,whetherToday:b,whetherLeap:g,weekChineseHabit:p,weekName:"星期"+h,whetherTerm:D,term:$,constellation:j}}function Lf(e){let{year:t,month:n,day:r,whetherLeapMonth:o=!1}=e;const i=!!o;let a=a(t);if(i&&a!=n)return-1;if(2100==t&&12==n&&r>1||1900==t&&1==n&&r<31)return-1;let u=Ef(t,n),c=u;if(i&&(c=Mf(t)),t<1900||t>2100||r>c)return-1;let l=0;for(let e=1900;e<t;e++)l+=jf(e);let s=0,f=!1;for(let e=1;e<n;e++)s=a(t),!f&&s<=e&&s>0&&(l+=Mf(t),f=!0),l+=Ef(t,e);i&&(l+=u);let d=Date.UTC(1900,1,30,0,0,0),b=new Date(864e5*(l+r-31)+d);return zf({year:b.getUTCFullYear(),month:b.getUTCMonth()+1,day:b.getUTCDate()})}function Rf(e){let{data:t,places:n=2,thousand:r=",",decimal:o="."}=e;return Hf({data:t,places:n,symbol:"",thousand:r,decimal:o})}function Hf(e){let{data:t,places:n=2,symbol:r="¥",thousand:o=",",decimal:i="."}=e,a=t||0,u=Number.isNaN(n=Math.abs(n))?2:n,c=void 0===r?"¥":r,l=o||",",s=i||".",f=a<0?"-":"",d=Number.parseInt(a=Math.abs(+a||0).toFixed(u),10)+"",b=d.length;return b=b>3?b%3:0,c+f+(b?d.slice(0,Math.max(0,b))+l:"")+d.slice(b).replaceAll(/(\d{3})(?=\d)/g,r+"1"+l)+(u?s+Math.abs(a-$c(d)).toFixed(u).slice(2):"")}function Yf(e){let t,n,r,{target:o}=e,i=new Array("零","壹","贰","叁","肆","伍","陆","柒","捌","玖"),a=new Array("","拾","佰","仟"),u=new Array("","万","亿","兆"),c=new Array("角","分","毫","厘"),l="",s=o;if(tu(s)&&su(s))return"";if(s=Number.parseFloat(s),s>=9999999999999.99)return"";if(0==s)return l=i[0]+"元整",l;if(s=s.toString(),s.includes(".")?(r=s.split("."),t=r[0],n=r[1].slice(0,4)):(t=s,n=""),Number.parseInt(t,10)>0){let e=0,n=t.length;for(let r=0;r<n;r++){let o=t.slice(r,r+1),c=n-r-1,s=c/4,f=c%4;"0"==o?e++:(e>0&&(l+=i[0]),e=0,l+=i[Number.parseInt(o)]+a[f]),0==f&&e<4&&(l+=u[s])}l+="元"}if(""!=n){let e=n.length;for(let t=0;t<e;t++){let e=n.slice(t,t+1);"0"!=e&&(l+=i[Number(e)]+c[t])}}return""==l?l+=i[0]+"元整":""==n&&(l+="整"),l}function Uf(e){let{data:t,format:n=Nu.yearMonthDayHourMinuteSecond}=e;return null==(t||null)?"":H(t).format(n)}function Wf(e){let{target:t,format:n,option:r={}}=e;if(Za(n))return n(t);if(tu(n))switch(n){case Iu.money:return Hf({...r,data:t});case Iu.datetime:return Uf({data:t});case Iu.chineseMoney:return Yf({target:t});case Iu.percentage:return`${Pc(100*t,1)}%`;default:return t}return t}function qf(e,t){return e.replace(/%d/i,t)}function Bf(e,t){const n={second:["刚刚","片刻后"],seconds:["%d 秒前","%d 秒后"],minute:["大约 1 分钟前","大约 1 分钟后"],minutes:["%d 分钟前","%d 分钟后"],hour:["大约 1 小时前","大约 1 小时后"],hours:["%d 小时前","%d 小时后"],day:["1 天前","1 天后"],days:["%d 天前","%d 天后"],month:["大约 1 个月前","大约 1 个月后"],months:["%d 月前","%d 月后"],year:["大约 1 年前","大约 1 年后"],years:["%d 年前","%d 年后"],...arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}},r=yf(e,t),o=r<0?1:0,i=Math.abs(r)/1e3,a=i/60,u=a/60,c=u/24,l=c/365;return i<10&&qf(n.second[o],Number.parseInt(i))||i<45&&qf(n.seconds[o],Number.parseInt(i))||i<90&&qf(n.minute[o],1)||a<45&&qf(n.minutes[o],Number.parseInt(a))||a<90&&qf(n.hour[o],1)||u<24&&qf(n.hours[o],Number.parseInt(u))||u<42&&qf(n.day[o],1)||c<30&&qf(n.days[o],Number.parseInt(c))||c<45&&qf(n.month[o],1)||c<365&&qf(n.months[o],Number.parseInt(c/30))||l<1.5&&qf(n.year[o],1)||qf(n.years[o],Number.parseInt(l))}function Gf(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Bf(e,pf(),t)}function Vf(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),"common")}function Kf(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...";return e&&e.length>t?`${_c(e).slice(0,Math.max(0,t))}${n}`:_c(e)}function Zf(e,t,n,r){let o=_c(e);const i=(e||"").length;if(i>0&&(n>=0||r>=0))if(n>=i||r>=i||(n||0)+(r||0)>=i)o=e;else{o=e.slice(0,Math.max(0,n)+1)+t+e.slice(i-r)}return o||""}function Qf(e,t){Za(t)&&t()}function Jf(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(Ja(e))return n;if(null==e)return n;if(!tu(t))return Vf("getPathValue","path must be string"),Ps({}),null;const r=Zi(e,t,n);return Ja(n)||Xa(n)?r:r||n}function Xf(e,t){if(!tu(e))throw new Error(Vf("removeEndMatch",Bc.buildMustString({name:"target",value:e})));if(!tu(t))throw new Error(Vf("removeEndMatch",Bc.buildMustString({name:"match",value:t})));if(su(e))return e;if(su(t))return e;const n=e.lastIndexOf(t);return n>=0&&e.length===n+t.length?e.slice(n,t.length):e}function ed(e,t){if(!tu(e))throw new Error(Vf("removeLastMatch",Bc.buildMustString({name:"target",value:e})));if(!tu(t))throw new Error(Vf("removeLastMatch",Bc.buildMustString({name:"match",value:t})));if(su(e))return e;if(su(t))return e;const n=e.lastIndexOf(t);return n>=0?e.slice(n,t.length):e}function td(e){let{data:t,key:n,defaultValue:r=null,convert:o=null,convertBuilder:i=null,format:a=null,formatBuilder:u=null}=e;const c=Jf(t,n,r);let l=c;return null==(i||null)&&null==(o||null)||(l=Za(i)?Xs({target:c,convert:i}):Xs({target:c,convert:o})),null==(u||null)&&null==(a||null)||(l=Za(u)?Wf({target:l,format:u}):Wf({target:l,format:a})),l}function nd(e){let{operate:t,item:n,list:r,key:o,sortInitialValue:i=0}=e;if(Ja(o)||!tu(o))return _s(Vf("sortCollectionByKey","option parameter key need set, it must be string")),r;if(Ja(i)||!qa(i))return _s(Vf("sortCollectionByKey","option parameter sortInitialValue need set")),r;const a=[],u=[];let c=[];if((r||[]).length<=1){return ks({text:"无需排序!"}),r}const l=td({data:n,key:o,convert:Ou.number});for(const e of r||[]){const t=td({data:e,key:o,convert:Ou.number});t<l&&a.push(e),t>l&&u.push(e)}switch(t){case Tu.moveUp:if(l===i){return ks({text:"已经排在首位!"}),r}for(const[e,t]of(a||[]).entries())if(e<a.length-1)c.push(t);else{const e=n;e[o]-=1,c.push(e);const r=t;r[o]+=1,c.push(r)}c=[...c,...u];break;case Tu.moveDown:if(l===(r||[]).length+i-1){return ks({text:"已经排在末位!"}),r}c=[...c,...a];for(const[e,t]of(u||[]).entries())if(0===e){const e=t;e[o]-=1,c.push(e);const r=n;r[o]+=1,c.push(r)}else c.push(t);break;default:ks({text:`不符合的操作, 允许的操作为['${Tu.moveUp}','${Tu.moveDown}']!`});break}return c}function rd(e){let{list:t=[],convert:n=null,recursiveKey:r="children"}=e;return(nu(t)?t:[t]).map((e=>od({data:e,convert:n})))}function od(e){let{data:t,convert:n=null,recursiveKey:r="children"}=e;if(!Za(n))return t;const o=n(t),i=t[r];let a=[];return nu(i)&&(a=i.map((e=>od({data:e,convert:n})))),o[r]=a,o}function id(e,t){return!Ja(xa(e,t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:0))}function ad(e){let{target:t,value:n,compareValueHandler:r,handler:o}=e;if(!ou(t))throw new Error(Vf("handleItem",Bc.buildMustObject({name:"target",value:t})));if(!ou(t.state))throw new Error(Vf("handleItem",Bc.buildMustObject({name:"target.state",value:t.state})));const{metaListData:i}=t.state;if(!nu(i))throw new Error(Vf("handleItem",Bc.buildMustObject({name:"target.state.metaListData",value:i})));const a=ud({list:i,value:n,compareValueHandler:r,handler:o});sl(a,[Vf("handleItem"),"set target.state.metaListData","will trigger target forceUpdate"]),t.setState({metaListData:[...a]}),t.forceUpdate()}function ud(e){let{list:t,value:n,compareValueHandler:r,handler:o}=e;if(!nu(t))throw new Error(Vf("handleListItem",Bc.buildMustArray({name:"list",value:t})));if(ru(t))return t;let i=-1;if(Za(r)){if(Za(o)){for(const[e,o]of t.entries()){if(r(o)===n){i=e;break}}return i>=0&&(t[i]=o(t[i])),t}Ps({})}else Fs(Vf("handleItem",Bc.buildMustFunction({name:"compareValueHandler",value:r})))}const cd="authorityCollectionCache",ld="hasSuperPermission";function sd(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),"authorityAssist")}const fd={handleAuthorizationFail:e=>{},handleAuthorizationFailSetComplete:!1};function dd(e){fd.handleAuthorizationFailSetComplete?cl("setAuthorizationFailHandler","reset is not allowed, it can be set only once"):(Za(e)?cl("setAuthorizationFailHandler",typeof e):cl("setAuthorizationFailHandler","parameter must be function"),fd.handleAuthorizationFail=e,fd.handleAuthorizationFailSetComplete=!0)}function bd(){let e=[];if(Tl({key:cd})&&(e=Rl({key:cd}),nu(e)))return e;return e=[...Zs()],Fl({key:cd,value:e}),e}function pd(){if(Tl({key:ld})){const e=Rl({key:ld});if(void 0!==e)return!!e}const e=function(){let e="";const t=cs();if(!ou(t))return e;const n=td({data:t,key:"super"});if(ou(n)){const t=td({data:n,key:"permission"});tu(t)&&(e=t)}return e}();if(!su(e)){if(((bd()||[]).find((t=>t===e))||"")===e)return Fl({key:ld,value:!0}),!0}return Fl({key:ld,value:!1}),!1}function hd(e){if(pd())return!0;let t="0";if(Tl({key:e})&&(t=Rl({key:e}),void 0!==t))return"0"!==t;const n=bd(),r=cs();t=void 0===(n||[]).find((t=>t===e))?"0":"1",Fl({key:e,value:t});const o="0"!==t;return o||sl({checkAuthority:e,listAuthority:n,accessWayCollection:r},"check authority fail"),o}function md(e){if(!fd.handleAuthorizationFailSetComplete)throw new Error(sd("doWhenAuthorizationFail","handleAuthorizationFail has not set, please use setAuthorizationFailHandler to set it"));Za(fd.handleAuthorizationFail)&&fd.handleAuthorizationFail(e)}function gd(e){if(nu(e))return ru(e)?(il(sd("checkHasAuthority","authority is empty array")),!1):function(e){let t=!1;return nu(e)?(t=e.some((e=>hd(e))),t):tu(e)?(t=hd(e),t):t}(e);if(tu(e))return hd(e);throw wl({auth:e}),new Error("auth need string or string array, please check in console.")}const vd="function"==typeof Buffer,yd="function"==typeof TextDecoder?new TextDecoder:void 0,wd="function"==typeof TextEncoder?new TextEncoder:void 0,Sd=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Cd=(()=>{let e={};return Sd.forEach(((t,n)=>e[t]=n)),e})(),xd=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ad=String.fromCharCode.bind(String),Dd="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),$d=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Md="function"==typeof btoa?e=>btoa(e):vd?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,n,r,o,i="";const a=e.length%3;for(let a=0;a<e.length;){if((n=e.charCodeAt(a++))>255||(r=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,i+=Sd[t>>18&63]+Sd[t>>12&63]+Sd[t>>6&63]+Sd[63&t]}return a?i.slice(0,a-3)+"===".substring(a):i},jd=vd?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Ad.apply(null,e.subarray(n,n+4096)));return Md(t.join(""))},Ed=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Ad(192|t>>>6)+Ad(128|63&t):Ad(224|t>>>12&15)+Ad(128|t>>>6&63)+Ad(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Ad(240|t>>>18&7)+Ad(128|t>>>12&63)+Ad(128|t>>>6&63)+Ad(128|63&t)},_d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,kd=vd?e=>Buffer.from(e,"utf8").toString("base64"):wd?e=>jd(wd.encode(e)):e=>Md(e.replace(_d,Ed)),Od=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Id=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Ad(55296+(t>>>10))+Ad(56320+(1023&t));case 3:return Ad((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Ad((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Nd="function"==typeof atob?e=>atob($d(e)):vd?e=>Buffer.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!xd.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let i=0;i<e.length;)t=Cd[e.charAt(i++)]<<18|Cd[e.charAt(i++)]<<12|(n=Cd[e.charAt(i++)])<<6|(r=Cd[e.charAt(i++)]),o+=64===n?Ad(t>>16&255):64===r?Ad(t>>16&255,t>>8&255):Ad(t>>16&255,t>>8&255,255&t);return o},Td=vd?e=>Dd(Buffer.from(e,"base64")):e=>Dd(Nd(e).split("").map((e=>e.charCodeAt(0)))),Fd=vd?e=>Buffer.from(e,"base64").toString("utf8"):yd?e=>yd.decode(Td(e)):e=>Nd(e).replace(Od,Id),Pd=e=>Fd($d(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))));function zd(e){return Pd(e)}function Ld(e){return function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")))(kd(e)):kd(e)}(e)}function Rd(e){return 1*e<10?`0${e}`:e}function Hd(e){return e.reduce(((e,t)=>e+t))/e.length}function Yd(e){let{seed:t}=e;return`#${("00000"+Math.trunc(16777216*Oa({seed:t})).toString(16)).slice(-6)}`}function Ud(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"RGB",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];let r=(e??"").toLowerCase();if(/^#([\dA-f]{3}|[\dA-f]{6})$/.test(r)){4===r.length&&(r=`#${r.charAt(1)}${r.charAt(1)}${r.charAt(2)}${r.charAt(2)}${r.charAt(3)}${r.charAt(3)}`);const e=[];for(let t=1;t<7;t+=2)e.push(Number.parseInt("0x"+r.slice(t,t+2)));return t?`${t}(${e.join(",")})`:n?e:e.join(",")}return vl(`Invalid hex color -> ${e}`),r}function Wd(e){let{progress:t,startColor:n,endColor:r}=e;const o=Ud(n,null,!0),i=Ud(r,null,!0),[a,u,c]=o,[l,s,f]=i;return`#${[(a+Math.round((l-a)*t)).toString(16),(u+Math.round((s-u)*t)).toString(16),(c+Math.round((f-c)*t)).toString(16)].join("").toUpperCase()}`}function qd(e){let{direct:t,list:n=[]}=e;return`linear-gradient(${qa(t)?`${t}deg`:t}, ${n.join(",")})`}function Bd(e,t){return Ja(t)?e:t}function Gd(){let e=na({},arguments.length<=0?void 0:arguments[0]);for(let t=1;t<arguments.length;t++)e=ra(e,t<0||arguments.length<=t?void 0:arguments[t],Bd);return e}function Vd(e){if(e&&"object"==typeof e){let t="";for(const n of Object.keys(e)){t+=`${(n.replace(/([A-Z])/g,"-$1")??"").toLowerCase()}:${e[n]};`}return t}return e&&"string"==typeof e?e:""}function Kd(e,t){return e&&"object"==typeof e&&t&&"object"==typeof t?Object.assign({},e,t):Vd(e)+Vd(t)}function Zd(e,t){const n=e;for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}const Qd="ea-token",Jd="token";function Xd(){return Jd}function eb(){return ts(Qd)}function tb(e){return rs(Qd,e)}function nb(){return is(Qd)}function rb(){const e={};return e[`${Xd()}`]=eb()||"",e}const ob="ea-currentOperator";function ib(){return ob}function ab(){ml("getCurrentOperatorCache");const e=ns(ob);return null==(e||null)||""===e.flag||e.flag!==eb()?null:e.data||null}function ub(e){ml("setCurrentOperatorCache");return os(ob,{data:e||null,flag:eb()||""})}function cb(){ml("removeCurrentOperatorCache");is(ob)}const lb={prepareCallback:()=>{},setPrepareComplete:!1,prepareExecuteComplete:!1};function sb(){lb.prepareExecuteComplete||(cl(Gc(yu,"tryDoDvaPrepareWork","dvaAssist"),"try to do dva prepare work"),Za(lb.prepareCallback)&&lb.prepareCallback(),lb.prepareExecuteComplete=!0)}function fb(e){Ra()&&nl({text:"setPrepareCallback",color:tl.execute,dataDescription:"execute",ancillaryInformation:""}),lb.prepareCallback=e,lb.setPrepareComplete=!0}const db={reducerNormalData:"reducerNormalData",reducerRemoteData:"reducerRemoteData",reducerRemoveKey:"reducerRemoveKey"};function bb(e,t){sb();const{payload:n,alias:r,cacheData:o}={alias:null,cacheData:!1,...t};let i=null;if(Ja(r)||!tu(r)?i={...e,data:n}:(i={...e},i[r]=n),o){const e=function(e){const{type:t}={type:"",...e},n=`${t}`.split("/");return 2===n.length?n[0]:""}(t);cl(`modal ${e} cache data, key is ${e}_${r||"data"}`,Fl({key:`${e}_${r||"data"}`,value:n})?"cache success":"cache fail")}return i}function pb(e,t){sb();const{payload:n}={payload:{},...t};return{...e,...ou(n)?n:{}}}function hb(e,t){const{payload:n}={payload:{},...t},r={...e};if(tu(n)&&delete r[n],nu(n)&&!ru(n))for(const e of n)tu(e)&&delete r[n];return r}const mb={reducerRemoteData:(e,t)=>bb(e,t),reducerNormalData:(e,t)=>pb(e,t),reducerRemoveKey:(e,t)=>hb(e,t)};function gb(){return sb(),{data:{code:0,message:"success",dataSuccess:!0,data:{},list:[],extra:{}}}}const vb={cacheData:!1},yb={callback:null,pretreatment:null};function wb(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:5,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!qa(e))return e;if(!qa(t)||t<=0)throw new Error(Gc(yu,`pxToRem -> root value must be number and greater than 0, current root value [${t}] is invalid`,"htmlAssist"));const o=Number.parseFloat(e);if(o<r)return e;const i=$c(o/t,n);return 0===i?"0":i+"rem"}function Sb(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=/\/\//gi,r=su(t)?e:`${t}${e}`;if(r.indexOf("://")<0)return r.replaceAll(n,"/");let o=r.replaceAll(/:\/\//gi,"!:-/-/!");o=o.replaceAll(n,"/");return o.replaceAll(/!:-\/-\/!/gi,"://")}const Cb="ea-localMetaData";function xb(){return Cb}function Ab(){const e=ns(Cb);if(null==(e||null))return null;const{dataVersion:t}=e;if(null==(t||null))return null;const{data:n}={data:null,...e};return n||null}function Db(e){ml("setLocalMetaData");return os(Cb,{data:e,dataVersion:Number.parseInt(Date.now()/1e3/60/30,10)})}function $b(){is(Cb)}const Mb="modelAssist",jb="ea-modelNameList",Eb={embedBuilders:[],extraBuilders:[],buildComplete:!1,models:[]};function _b(){return Eb.embedBuilders.length+Eb.extraBuilders.length}function kb(e){if(!Za(e))throw new Error(Gc(yu,"appendEmbedBuilder -> builder must be none parameter function and return an object, current is "+typeof e,Mb));Eb.embedBuilders.push(e)}function Ob(e){if(!Za(e))throw new Error(Gc(yu,"appendExtraBuilder -> builder must be none parameter function and return an object, current is "+typeof e,Mb));Eb.extraBuilders.push(e)}function Ib(){const e=[],t=[],n=[];for(const n of Eb.embedBuilders)if(Za(n)){const r=n();if(ou(r)){const{namespace:n}=r;e.push(r),t.push(n)}}cl("append embed builder",ru(t)?"no embed model builder has set, ignore":t.join(","));for(const t of Eb.extraBuilders)if(Za(t)){const r=t();if(ou(r)){const{namespace:t}=r;e.push(r),n.push(t)}}cl("append extra builder",ru(n)?"no extra model builder has set yet, ignore":n.join(",")),Eb.buildComplete=!0,Eb.models=e,cl(function(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),Mb)}("buildModelCollection"),"models build complete")}function Nb(){if(!Eb.buildComplete){Ib();const e=Eb.models.map((e=>{const{namespace:t}=e;return t})).join(",");cl(`all model collection -> ${e}`),Fb(e)}return Eb.models}function Tb(){return ts(jb)}function Fb(e){return rs(jb,e||"")}function Pb(){is(jb)}const zb="navigationAssist";function Lb(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),zb)}const Rb={navigateTo:e=>{vl(Gc(yu,"setNavigator need config, use setNavigator to set it",zb))},redirectTo:e=>{vl(Gc(yu,"setRedirector need config, use setRedirector to set it",zb))}};function Hb(e){cl(Lb("setNavigator"),typeof e),Rb.navigateTo=e}function Yb(e){cl(Lb("setRedirector"),typeof e),Rb.redirectTo=e}function Ub(e){if(tu(e)||ou(e))Rb.redirectTo(e);else{Ns("invalid parameter, params need string or object")}}function Wb(e){if(tu(e)||ou(e))Rb.navigateTo(e);else{Ns("invalid parameter, params need string or object")}}const qb={showOpenNotification:e=>{let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;al(Zc(t,n))},showLoadingNotification:e=>{let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;al(Zc(t,n))},showInfoNotification:e=>{let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;al(Zc(t,n))},showSuccessNotification:e=>{let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;al(Zc(t,n))},showWarnNotification:e=>{let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;il(Zc(t,n))},showWarningNotification:e=>{let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;il(Zc(t,n))},showErrorNotification:e=>{let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;gl(Zc(t,n))}};function Bb(e){qb.showOpenNotification=e}function Gb(e){qb.showLoadingNotification=e}function Vb(e){qb.showInfoNotification=e}function Kb(e){qb.showSuccessNotification=e}function Zb(e){qb.showWarnNotification=e}function Qb(e){qb.showWarningNotification=e}function Jb(e){qb.showErrorNotification=e}function Xb(e){ep({description:e})}function ep(e){let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;Za(qb.showOpenNotification)&&qb.showOpenNotification({title:t,description:n,placement:r,duration:o,onClose:i})}function tp(e){np({description:e})}function np(e){let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;Za(qb.showLoadingNotification)&&qb.showLoadingNotification({title:t,description:n,placement:r,duration:o,onClose:i})}function rp(e){op({description:e})}function op(e){let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;Za(qb.showInfoNotification)&&qb.showInfoNotification({title:t,description:n,placement:r,duration:o,onClose:i})}function ip(e){ap({description:e})}function ap(e){let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;Za(qb.showWarnNotification)&&qb.showWarnNotification({title:t,description:n,placement:r,duration:o,onClose:i})}function up(e){cp({description:e})}function cp(e){let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;Za(qb.showWarningNotification)&&qb.showWarningNotification({title:t,description:n,placement:r,duration:o,onClose:i})}function lp(e){sp({description:e})}function sp(e){let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;Za(qb.showSuccessNotification)&&qb.showSuccessNotification({title:t,description:n,placement:r,duration:o,onClose:i})}function fp(e){dp({description:e})}function dp(e){let{title:t,description:n="",placement:r="",duration:o=3e3,onClose:i=()=>{}}=e;Za(qb.showErrorNotification)&&qb.showErrorNotification({title:t,description:n,placement:r,duration:o,onClose:i})}const bp="ea-nearestLocalhostNotify";function pp(){const e=ns(bp);return null==(e||null)||null==(e.nearestTime||null)?null:e||null}function hp(){return os(bp,{nearestTime:Number.parseInt(Date.now()/1e3,10)})}function mp(){is(bp)}function gp(e){let{text:t}=e,n=!1,r=0;const o=pp()||null;null==o?n=!0:r=o.nearestTime||0;const i=Number.parseInt(Date.now()/1e3,10);try{r+30<i&&(n=!0),n&&(ep({title:"Current Request Host",description:t}),cl("current request host",`"${t}"`),hp())}catch(e){ol(e)}}function vp(e){is(e)}function yp(e){const t=ns(e);if(null==(t||null))return vp(e),null;if(""===(t.dataVersion||""))return vp(e),null;const n=Number.parseInt(Date.now()/1e3/60/30,10);return t.dataVersion<n?(vp(e),null):t.useParamsData||null}function wp(e,t){return os(e,{useParamsData:t||null,dataVersion:Number.parseInt(Date.now()/1e3/60/30,10)})}function Sp(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),"progressAssist")}const Cp={handleProgressStart:()=>{},handleProgressStartSetComplete:!1,handleProgressStop:()=>{},handleProgressStopSetComplete:!1};function xp(e){Cp.handleProgressStartSetComplete?cl("setProgressStartHandler","reset is not allowed, it can be set only once"):(Za(e)?cl("setProgressStartHandler",typeof e):cl("setProgressStartHandler","parameter must be function"),Cp.handleProgressStart=e,Cp.handleProgressStartSetComplete=!0)}function Ap(e){Cp.handleProgressStopSetComplete?cl("setProgressStopHandler","reset is not allowed, it can be set only once"):(Za(e)?cl("setProgressStopHandler",typeof e):cl("setProgressStopHandler","parameter must be function"),Cp.handleProgressStop=e,Cp.handleProgressStopSetComplete=!0)}function Dp(){if(!Cp.handleProgressStartSetComplete)throw new Error(Sp("startProgress -> handleProgressStart has not set, please use setProgressStartHandler to set it"));Cp.handleProgressStart()}function $p(){if(!Cp.handleProgressStopSetComplete)throw new Error(Sp("stopProgress -> handleProgressStop has not set, please use setProgressStopHandler to set it"));Cp.handleProgressStop()}function Mp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=Y(e);if(su(t))return n;if(su(n))return t;const r=t.lastIndexOf("?")>=0?"&":"?";return`${t}${r}${n}`}function jp(e){return U(e)}function Ep(e){return Gc(yu,Zc(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""),"requestAssist")}const _p={successCodeSetComplete:!1,authenticationFailCodeSetComplete:!1,successCode:200,authenticationFailCode:2001,promptSimulation:!1,promptSimulationSetComplete:!1,urlGlobalPrefix:"",handleSupplementGlobalHeader:()=>({}),handleSupplementGlobalHeaderSetComplete:!1,handleRequest:async e=>{let{url:t,method:n=ju.post,data:r={},header:o=[],option:i={}}=e},handleRequestSetComplete:!1,handleAuthenticationFail:()=>{},handleAuthenticationFailSetComplete:!1,handleSimulationAuthorizeExtra:()=>!0,handleSimulationAuthorizeExtraSetComplete:!1};function kp(e){_p.successCodeSetComplete?cl("setSuccessCode","reset is not allowed, it can be set only once"):(qa(e)?cl("setSuccessCode",$c(e)):cl("setSuccessCode","parameter must be number"),_p.successCode=$c(e),_p.successCodeSetComplete=!0)}function Op(e){_p.authenticationFailCodeSetComplete?cl("setAuthenticationFailCode","reset is not allowed, it can be set only once"):(qa(e)?cl("setAuthenticationFailCode",$c(e)):cl("setAuthenticationFailCode","parameter must be number"),_p.authenticationFailCode=$c(e),_p.authenticationFailCodeSetComplete=!0)}function Ip(e){_p.promptSimulationSetComplete?cl("setPromptSimulation","reset is not allowed, it can be set only once"):(Qa(e)?cl("setPromptSimulation",kc(e)):cl("setPromptSimulation","parameter must be bool"),_p.promptSimulation=kc(e),_p.promptSimulationSetComplete=!0)}function Np(){return _p.urlGlobalPrefix||""}function Tp(e){if(!tu(e))throw new Error(Ep("setUrlGlobalPrefix param globalPrefix need string","current is "+typeof e));_p.urlGlobalPrefix=e}function Fp(e){_p.handleRequestSetComplete?cl("setRequestHandler","reset is not allowed, it can be set only once"):(Za(e)?cl(Ep("setRequestHandler"),typeof e):cl(Ep("setRequestHandler"),"parameter must be function"),_p.handleRequest=e,_p.handleRequestSetComplete=!0)}function Pp(e){_p.handleAuthenticationFailSetComplete?cl("setAuthenticationFailHandler","reset is not allowed, it can be set only once"):(Za(e)?cl("setAuthenticationFailHandler",typeof e):cl("setAuthenticationFailHandler","parameter must be function"),_p.handleAuthenticationFail=e,_p.handleAuthenticationFailSetComplete=!0)}function zp(e){_p.handleSimulationAuthorizeExtraSetComplete?cl("setSimulationAuthorizeExtraHandler","reset is not allowed, it can be set only once"):(Za(e)?cl("setSimulationAuthorizeExtraHandler",typeof e):cl("setSimulationAuthorizeExtraHandler","parameter must be function"),_p.handleSimulationAuthorizeExtra=e,_p.handleSimulationAuthorizeExtraSetComplete=!0)}function Lp(e){_p.handleSupplementGlobalHeaderSetComplete?cl("setGlobalHeaderSupplementHandler","reset is not allowed, it can be set only once"):(Za(e)?cl("setGlobalHeaderSupplementHandler",typeof e):cl("setGlobalHeaderSupplementHandler","parameter must be function"),_p.handleSupplementGlobalHeader=e,_p.handleSupplementGlobalHeaderSetComplete=!0)}function Rp(e){const{code:t,message:n}=e,r={code:-1,message:"",data:null,list:[],extra:null},o=El(),i=$c(t);if(i!==r.code){const e=Date.now();i===_p.authenticationFailCode?hl("api call failed, authentication fail"):(il(`api call failed, code: ${i}, message: ${n}`),i===$c(o.code)?e-o.time>800&&(Ns(n),_l({code:i,message:n,time:e})):(Ns(n),_l({code:i,message:n,time:e}))),i===_p.authenticationFailCode&&Gp()}}function Hp(e){let{source:t,pretreatment:n=null,successCallback:r=null,failCallback:o=null}=e;const{code:i,message:a}={code:-1,message:"",data:null,list:[],extra:null,...t};let u={};const c=$c(i);if(c===$c(_p.successCode)){const{data:e,extra:o}=t;Za(n)&&(u=n(t)),u={code:c,message:a,data:e||{},extra:o||{},dataSuccess:!0},Za(r)&&r(u)}else u={code:c,message:a||"网络异常",data:null,extra:null,dataSuccess:!1},Za(o)&&o(u),Rp(u);return u}function Yp(e){let{source:t,pretreatment:n=null,itemPretreatment:r=null,successCallback:o=null,failCallback:i=null}=e;const{code:a,message:u}=t||{code:-1,message:"",data:null,list:[],extra:null};let c={};const l=$c(a);if(l===$c(_p.successCode)){let e=t;Za(n)&&(e=n(t));const{list:i,extra:a}=e,s=(i||[]).map(((e,t)=>{let n=e;return null==(n.key||null)&&(n.key=`list-${t}`),Za(r)&&(n=r(n)),n}));c={code:l,message:u,count:(s||[]).length,list:s,extra:a,dataSuccess:!0},Za(o)&&o(c)}else c={code:l,message:u||"网络异常",count:0,list:[],extra:null,dataSuccess:!1},Za(i)&&i(c),Rp(c);return c}function Up(e){let{source:t,pretreatment:n=null,itemPretreatment:r=null,successCallback:o=null,failCallback:i=null}=e;const{code:a,message:u}=t||{code:-1,message:"",data:null,list:[],extra:null};let c={};const l=$c(a);if(l===$c(_p.successCode)){let e=t;Za(n)&&(e=n(t));const{list:i,extra:a}=e,{pageNo:s,total:f,pageSize:d}={pageNo:0,pageSize:0,total:0,...a},b=(i||[]).map(((e,t)=>{let n=e;return null==(n.key||null)&&(n.key=`${s}-${t}`),Za(r)&&(n=r(n)),n}));c={code:l,message:u,count:(b||[]).length,list:b,pagination:{total:f,pageSize:d,current:Number.parseInt(s||1,10)||1},extra:a,dataSuccess:!0},Za(o)&&o(c)}else c={code:l,message:u||"网络异常",count:0,list:[],extra:null,pagination:{total:0,pageSize:10,current:1},dataSuccess:!1},Za(i)&&i(c),Rp(c);return c}function Wp(e,t){let n={...e};return"function"==typeof t&&(n=t(n)),Object.fromEntries(Object.keys(n).filter((e=>null!=n[e])).map((e=>[e,n[e]])))}function qp(e,t,n){const{payload:r,callback:o,pretreatment:i,alias:a,cacheData:u}=t;let c=Yp(r);Za(o)&&(c=o(c));let l=null;if(Ja(a)||!tu(a))return{...e,data:c};if(l={...e},l[a]=c,u){hl(`modal ${n} cache data, key is ${n}_${a||"data"}, ${Fl({key:`${n}_${a||"data"}`,value:c})?"cache success":"cache fail"}.`)}return l}function Bp(e,t,n){const{payload:r,callback:o,pretreatment:i,alias:a,cacheData:u}=t;let c=Up(r);Za(o)&&(c=o(c));let l=null;if(Ja(a)||!tu(a))return{...e,data:c};if(l={...e},l[a]=c,u){cl(`modal ${n} cache data, key is ${n}_${a||"data"}, ${Fl({key:`${n}_${a||"data"}`,value:c})?"cache success":"cache fail"}.`)}return l}function Gp(){if(!_p.handleAuthenticationFailSetComplete)throw new Error(Ep("handleAuthenticationFail","handleAuthenticationFail has not set, please use setAuthenticationFailHandler to set it"));_p.handleAuthenticationFail()}function Vp(){return Za(_p.handleSimulationAuthorizeExtra)?_p.handleSimulationAuthorizeExtra():(cl(Ep("handleSimulationAuthorizeExtra","handleSimulationAuthorizeExtra is not function, ignore execute, if you need it, please use setSimulationAuthorizeExtraHandler to set it")),!0)}async function Kp(e){let{api:t,urlParams:n=null,params:r={},header:o={},method:i=ju.post,mode:a=Mu.real,promptSimulation:u=_p.promptSimulation,promptSimulationDelay:c=500,simulateRequestMaxDelay:l=0,simulativeSuccessResponse:s={},simulativeFailResponse:f={code:1001,message:"虚拟未知错误"},simulateRequestResult:d=!0,simulativeAuthorize:b=!1}=e,p=_p.urlGlobalPrefix;if(!tu(p))throw il(p,"error globalPrefix"),new Error("url global prefix is not string");if(!tu(t))throw il(t,"error api"),new Error("api is not string");let h=t;if(Nc(h).startsWith("http://")||Nc(h).startsWith("https://")?h=t:(su(p)||(p=`/${p}/`),h=`${p}${t}`.replace("//","/")),h=Sb(h),null!=(n||null)&&(tu(n)&&(h=`${h}?${n}`),ou(n)&&(h=`${h}?${Mp(n)}`)),a===Mu.simulation){sl(`api request is simulation mode, simulate start,${l>0?`max delay ${l}ms,`:""} api is "${t}".`),u&&setTimeout((()=>{$s("由虚拟访问返回")}),c>0?c:0);let e={},m=!1;if(b){if(su(eb())||(m=!0),!Za(_p.handleSimulationAuthorizeExtra))throw new Error("handleSimulationAuthorizeExtra must be function and return boolean");m=_p.handleSimulationAuthorizeExtra()||!1}return b&&!m?Gp():(sl({api:t,method:i,header:o,urlParams:n,params:r,apiVersion:p,mode:a,simulateRequestMaxDelay:l,simulativeAuthorize:b},Ep("request",`simulation request address: "${h}"`)),e=await th({api:t,simulateRequestMaxDelay:l,dataBuild:e=>{e(d?Jp({response:s,needAuthorize:b}):Qp({response:f,needAuthorize:b}))}}),sl({response:e},Ep("request","simulation request complete"))),e}sl({api:t,method:i,header:o,urlParams:n,params:r,apiVersion:p,mode:a},Ep("request",`request address: "${h}"`));const m=ba(Oc(i));if(du([ju.get,ju.post],m)){const e=await async function(e){let{url:t,method:n=ju.post,data:r={},header:o=[],option:i={}}=e;ml({url:t,method:n,data:r,header:o,option:i},Ep('realRequest"'));let a=o;if(_p.handleSupplementGlobalHeaderSetComplete&&Za(_p.handleSupplementGlobalHeader)){const e=_p.handleSupplementGlobalHeader();ou(e)&&(a={...o,...e})}if(!_p.handleRequestSetComplete)throw new Error(Ep("realRequest","handleRequest has not set, please use setRequestHandler to set it"));return await _p.handleRequest({url:t,method:n,data:r,header:a,option:i})}({url:h,data:r,header:{...o},option:{},method:ju.post});return sl({requestResult:e},Ep("request","real request complete")),e}throw new Error(`unsupported method:${i}`)}function Zp(){return su(eb())}function Qp(e){let{response:t,code:n,message:r,needAuthorize:o=!0}=e;return o?Zp()?(Fs(r),{code:n,message:r,success:!1,...t}):{code:_p.authenticationFailCode,message:"登录失效, 请重新登录",success:!1}:(Fs(r),{code:n,message:r,success:!1,...t})}function Jp(e){let{response:t,needAuthorize:n=!0}=e;return n?Zp()?{code:_p.successCode,message:"success",success:!0,...t}:{code:_p.authenticationFailCode,message:"登录失效, 请重新登录",success:!1}:{code:_p.successCode,message:"success",success:!0,...t}}async function Xp(e){let{remoteResponse:t,needAuthorize:n=!0}=e,r={};await new Promise((e=>{setTimeout((()=>{e(Jp({needAuthorize:n}))}),300)})).then((e=>(r=e,e))).catch((e=>{gl(e)}));const{code:o}=r;return o===_p.authenticationFailCode&&Gp(),r}async function eh(e){let{remoteResponse:t,needAuthorize:n=!0}=e,r={};await new Promise((e=>{setTimeout((()=>{e(Qp(t))}),300)})).then((e=>(r=e,e))).catch((e=>{gl(e)}));const{code:o,message:i}=r;return o===_p.authenticationFailCode?Gp():o!==_p.successCode&&_s(i),r}async function th(e){let{api:t="",simulateRequestMaxDelay:n=200,dataBuild:r}=e,o={};await new Promise((e=>{if(Za(r)){const t=n>0?$c(Math.random()*n):0;sl(`api request simulate realy delay ${t}ms`),setTimeout((()=>{r(e)}),t)}})).then((e=>(sl("api request simulate completed",`"${t}"`),o=e,e))).catch((e=>{gl(e)}));const{code:i,message:a}=o;return i!==_p.successCode&&Os(a),o}const nh="sessionStorageAssist",rh={getStorage:e=>{vl(Gc(yu,Zc("sessionStorageGetter need config, use setSessionStorageGetter to set it",`key ${e}`),nh))},setStorage:(e,t)=>{vl(Gc(yu,Zc("sessionStorageSetter need config, use setSessionStorageSetter to set it",`key ${e}, value type ${typeof t}`),nh))},removeStorage:e=>{vl(Gc(yu,Zc("sessionStorageRemover need config, use setSessionStorageRemover to set it",`key ${e}`),nh))},flushStorage:()=>{vl(Gc(yu,"sessionStorageFlusher need config, use setSessionStorageFlusher to set it",nh))}};function oh(e){rh.getStorage=e}function ih(e){rh.setStorage=e}function ah(e){rh.removeStorage=e}function uh(e){rh.flushStorage=e}function ch(e){try{return rh.getStorage(e)}catch(t){throw vl({key:e,e:t}),t}}function lh(e){const t=ch(e);return su(t)?null:JSON.parse(t||"{}")}function sh(e,t){rh.setStorage(e,t)}function fh(e,t){rh.setStorage(e,ka(t||{}))}function dh(e){rh.removeStorage(e)}function bh(){rh.flushStorage()}function ph(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return`请${t||"输入"}${e}${su(n)?"":`,${n}`}`}function hh(e){let{label:t,name:n,helper:r}=e,o="",i="",a="";if(tu(t))o=t;else{const e=Bc.buildMustString({name:"label",value:t});gl({label:t,name:n,helper:r},e),Ns(e)}if(tu(n))i=n;else{const e=Bc.buildMustString({name:"name",value:n});gl({label:t,name:n,helper:r},e),Ns(e)}if(tu(r||""))a=r;else{const e=Bc.buildMustString({name:"helper",value:r});gl({label:t,name:n,helper:r},e),Ns(e)}return{label:o,name:i,helper:a}}function mh(e){return`${arguments.length>1&&void 0!==arguments[1]?arguments[1]:"注: "}${e}. `}export{Su as accessWaySpecialCollection,ff as addHour,df as addMinute,bf as addSecond,Sb as adjustUrl,xu as alignHorizontal,Au as alignVertical,qs as appendApplicationExternalConfig,kb as appendEmbedBuilder,Ob as appendExtraBuilder,Ls as applicationConfiguration,na as assign,ra as assignWith,Zd as attachPropertiesToComponent,fd as authorityAssist,Hd as averageArray,Jc as buildBase64Jpeg,Qc as buildBase64Png,ph as buildFieldDescription,mh as buildFieldHelper,Wd as buildHexColor,qd as buildLinearGradient,Ib as buildModelCollection,Gc as buildPromptModuleInfo,Mp as buildQueryStringify,Ud as buildRGBColorFromHexColor,Yd as buildRandomHexColor,Qp as buildSimulateRequestFailResponse,Jp as buildSimulateRequestSuccessResponse,Vd as buildStringStyle,rb as buildTokenData,yf as calculateDateInterval,wf as calculateMonthInterval,vf as calculateTimeInterval,Ba as canToNumber,ja as checkDarkMode,id as checkExist,hh as checkFromConfig,gd as checkHasAuthority,La as checkHasMore,du as checkInCollection,pd as checkIsSuper,ds as checkMessagePromptData,fu as checkObjectIsNullOrEmpty,su as checkStringIsNullOrWhiteSpace,Ra as checkWhetherDevelopmentEnvironment,Qu as chineseNumeralCollection,Vu as chineseZodiacCollection,Ia as cloneWithoutMethod,mf as compareTimeGreaterThan,hf as compareTimeLessThan,Ou as convertCollection,Lf as convertLunarToSolar,kf as convertLunarYearToSexagenaryCycleYear,wb as convertPixelToRem,zf as convertSolarToLunar,If as convertToSexagenaryCycle,sf as createDayJsDatetime,Nu as datetimeFormat,Aa as debounce,zd as decodeBase64,Wl as deleteCache,ql as deleteMultiCache,ya as difference,rl as displayObjectMessage,nl as displayTextMessage,fa as dropRight,Gu as earthlyBranchCollection,Kf as ellipsis,ku as emptyDatetime,Ld as encodeBase64,Xi as endsWith,Cu as environmentCollection,Uu as errorImage,$a as evil,Il as existCachePool,wa as filter,xa as find,Ca as findIndex,la as first,Rd as fixedZero,ca as floor,Bl as flushAllCache,as as flushLocalStorage,bh as flushSessionStorage,ia as forEach,Iu as formatCollection,Bf as formatDateInterval,Gf as formatDateIntervalWithNow,Uf as formatDatetime,Rf as formatDecimal,Hf as formatMoney,Yf as formatMoneyToChinese,Wf as formatTarget,Ya as generateNumberCollection,Zi as get,cs as getAccessWayCollectionCache,Bs as getApplicationExternalConfigList,Ws as getApplicationInitialConfig,Gs as getApplicationMergeConfig,_a as getBrowserInfo,Ea as getBrowserVersion,_b as getBuilderCount,Rl as getCache,Nl as getCachePool,Pf as getChineseZodiac,Of as getConstellation,ab as getCurrentOperatorCache,ib as getCurrentOperatorCacheKey,Sf as getDayOfWeek,zl as getExpiration,za as getGuid,ns as getJsonFromLocalStorage,lh as getJsonFromSessionStorage,El as getLastRequestExceptionMessage,Mf as getLeapDays,$f as getLeapMonth,Zs as getLocalAuthorityCollection,Ab as getLocalMetaData,xb as getLocalMetaDataCacheKey,Sl as getLoggerDisplaySwitch,jf as getLunarYearDays,Nb as getModelCollection,Tb as getModelNameList,Df as getMonthDay,Ef as getMonthDays,Yl as getMultiCache,pp as getNearestLocalhostNotifyCache,pf as getNow,yp as getParametersDataCache,Jf as getPathValue,jl as getRuntimeDataStorage,_f as getSolarDays,ts as getStringFromLocalStorage,ch as getStringFromSessionStorage,gb as getTacitlyState,Nf as getTerm,gf as getTimeStamp,Cf as getTodayOfWeek,eb as getToken,Xd as getTokenKeyName,Np as getUrlGlobalPrefix,Ha as getValue,td as getValueByKey,Af as getWeekday,Qi as groupBy,aa as gte,Gp as handleAuthenticationFail,md as handleAuthorizationFail,yb as handleDefaultParameters,ad as handleItem,qp as handleListDataAssist,ud as handleListItem,Bp as handlePageListDataAssist,Vp as handleSimulationAuthorizeExtra,Tl as hasCache,bu as hasKey,Bu as heavenlyStemCollection,gu as inYear,nu as isArray,vu as isAsyncFunction,hu as isBetweenDatetime,Qa as isBoolean,Ma as isBrowser,eu as isDate,Wa as isDatetime,ru as isEmptyArray,iu as isEmptyObject,Va as isEqual,Ka as isEqualBySerialize,Za as isFunction,lu as isImageBase4,Ua as isInvalid,Ga as isMoney,Xa as isNull,qa as isNumber,ou as isObject,au as isPlainObject,uu as isPromise,tu as isString,pu as isToday,Ja as isUndefined,cu as isUrl,mu as isWeekend,xf as judgeLeapYear,Hl as keys,Zl as localStorageAssist,bl as logCallResult,dl as logCallTrace,fl as logCallTrack,tl as logColorCollection,ul as logConfig,xl as logConsole,ol as logData,hl as logDebug,cl as logDevelop,Lu as logDisplay,gl as logError,vl as logException,ml as logExecute,al as logInfo,zu as logLevel,wl as logObject,pl as logRender,ll as logStack,yl as logText,sl as logTrace,il as logWarn,el as loggerSwitch,Wu as lunarInfoCollection,Ju as lunarPrefixCollection,Xu as lunarSuffixCollection,ma as map,ua as memoize,Kc as mergeArrowText,Gd as mergeProperties,Kd as mergeStyle,Vc as mergeTextCollection,Zc as mergeTextMessage,bs as messagePromptAssist,Hu as messageTypeCollection,Eb as modelContainer,wu as modelGlobalCollection,Wb as navigateTo,Rb as navigationAssist,qb as notificationPromptAssist,Ru as notificationTypeCollection,jp as parseQueryString,lb as preparationWork,Yp as pretreatmentRemoteListData,Up as pretreatmentRemotePageListData,Hp as pretreatmentRemoteSingleData,Wp as pretreatmentRequestParameters,Cp as progressAssist,Bc as promptTextBuilder,Ub as redirectTo,mb as reducerCollection,vb as reducerDefaultParameters,db as reducerNameCollection,pb as reducerNormalDataAssist,bb as reducerRemoteDataAssist,hb as reducerRemoveKeyAssist,Na as refitCommonData,Ta as refitFieldDecoratorOption,cb as removeCurrentOperatorCache,Xf as removeEndMatch,ha as removeFromArray,ed as removeLastMatch,Qs as removeLocalAuthorityCollection,$b as removeLocalMetaData,is as removeLocalStorage,Pb as removeModelNameList,mp as removeNearestLocalhostNotifyCache,vp as removeParametersDataCache,dh as removeSessionStorage,nb as removeToken,pa as replace,Zf as replaceWithKeep,Kp as request,_p as requestConfiguration,ju as requestMethod,Mu as requestMode,oa as reverse,Ji as round,Dl as runtimeConfiguration,os as saveJsonToLocalStorage,fh as saveJsonToSessionStorage,rs as saveStringToLocalStorage,sh as saveStringToSessionStorage,Fa as searchFromList,Oa as seededRandom,rh as sessionStorageAssist,ga as set,ls as setAccessWayCollectionCache,Us as setApplicationExternalConfigList,Ys as setApplicationInitialConfig,Op as setAuthenticationFailCode,Pp as setAuthenticationFailHandler,dd as setAuthorizationFailHandler,Fl as setCache,ub as setCurrentOperatorCache,ps as setDurationConversionRatio,Ss as setErrorMessageDisplayMonitor,Jb as setErrorNotificationDisplayMonitor,Ll as setExpiration,Lp as setGlobalHeaderSupplementHandler,gs as setInfoMessageDisplayMonitor,Vb as setInfoNotificationDisplayMonitor,_l as setLastRequestExceptionMessage,ms as setLoadingMessageDisplayMonitor,Gb as setLoadingNotificationDisplayMonitor,Ks as setLocalAuthorityCollection,Db as setLocalMetaData,es as setLocalStorageFlusher,Ql as setLocalStorageGetter,Xl as setLocalStorageRemover,Jl as setLocalStorageSetter,Cl as setLoggerDisplaySwitch,Fb as setModelNameList,Pl as setMultiCache,Hb as setNavigator,hp as setNearestLocalhostNotifyCache,hs as setOpenMessageDisplayMonitor,Bb as setOpenNotificationDisplayMonitor,wp as setParametersDataCache,fb as setPrepareCallback,xp as setProgressStartHandler,Ap as setProgressStopHandler,Ip as setPromptSimulation,Yb as setRedirector,Fp as setRequestHandler,Ml as setRuntimeDataStorage,uh as setSessionStorageFlusher,oh as setSessionStorageGetter,ah as setSessionStorageRemover,ih as setSessionStorageSetter,zp as setSimulationAuthorizeExtraHandler,kp as setSuccessCode,vs as setSuccessMessageDisplayMonitor,Kb as setSuccessNotificationDisplayMonitor,tb as setToken,Tp as setUrlGlobalPrefix,ys as setWarnMessageDisplayMonitor,Zb as setWarnNotificationDisplayMonitor,ws as setWarningMessageDisplayMonitor,Qb as setWarningNotificationDisplayMonitor,Ts as showErrorMessage,dp as showErrorNotification,Ms as showInfoMessage,op as showInfoNotification,Ds as showLoadingMessage,np as showLoadingNotification,xs as showOpenMessage,ep as showOpenNotification,Ps as showRuntimeError,Ns as showSimpleErrorMessage,fp as showSimpleErrorNotification,$s as showSimpleInfoMessage,rp as showSimpleInfoNotification,As as showSimpleLoadingMessage,tp as showSimpleLoadingNotification,Cs as showSimpleOpenMessage,Xb as showSimpleOpenNotification,Fs as showSimpleRuntimeError,js as showSimpleSuccessMessage,lp as showSimpleSuccessNotification,_s as showSimpleWarnMessage,ip as showSimpleWarnNotification,Os as showSimpleWarningMessage,up as showSimpleWarningNotification,Es as showSuccessMessage,sp as showSuccessNotification,ks as showWarnMessage,ap as showWarnNotification,Is as showWarningMessage,cp as showWarningNotification,eh as simulateFailRequest,th as simulateRequest,Xp as simulateSuccessRequest,va as size,Qf as sleep,qu as solarMonthCollection,Ku as solarTermCollection,Sa as sortBy,nd as sortCollectionByKey,Tu as sortOperate,ea as sortedUnique,ta as split,Dp as startProgress,sa as startsWith,Gl as statisticsCache,$p as stopProgress,us as storageKeyCollection,ka as stringifyJson,Ul as takeCache,Zu as termInfoCollection,Da as throttle,Xs as to,kc as toBoolean,Mc as toBoundary,Ff as toChinaDay,Tf as toChinaMonth,Js as toDatetime,Nc as toLower,Tc as toLowerFirst,Dc as toMd5,jc as toMoney,$c as toNumber,Ec as toPercentage,Fc as toPromise,Pc as toRound,Ac as toSha1,_c as toString,zc as toUniqueArray,Oc as toUpper,Ic as toUpperFirst,od as transformData,rd as transformListData,Yu as transparentImage,ba as trim,sb as tryDoDvaPrepareWork,gp as trySendNearestLocalhostNotify,$u as underlyingExtensionState,Du as underlyingState,da as uniqBy,Pu as whetherNumber,Fu as whetherString,_u as zeroInt,Eu as zeroString};
1
+ import e from"node-cache";import t from"lodash/isBoolean";import n from"lodash/isDate";import r from"lodash/isEqual";import o from"lodash/isFunction";import a from"lodash/isNull";import i from"lodash/isNumber";import u from"lodash/isObject";import c from"lodash/isString";import s from"lodash/isUndefined";import l from"lodash/replace";import f from"lodash/assign";import d from"lodash/assignWith";import b from"lodash/difference";import p from"lodash/dropRight";import h from"lodash/endsWith";import m from"lodash/filter";import g from"lodash/find";import y from"lodash/findIndex";import v from"lodash/first";import w from"lodash/floor";import S from"lodash/forEach";import C from"lodash/get";import x from"lodash/gte";import A from"lodash/map";import D from"lodash/memoize";import $ from"lodash/remove";import M from"lodash/reverse";import j from"lodash/round";import E from"lodash/set";import _ from"lodash/size";import k from"lodash/sortBy";import O from"lodash/sortedUniq";import I from"lodash/split";import N from"lodash/startsWith";import T from"lodash/trim";import F from"lodash/uniqBy";import P from"lodash/toNumber";import z from"lodash/toString";import L from"object-hash";import{isArray as R}from"lodash";import H from"dayjs";import{stringify as Y,parse as U}from"qs";var W,q,B,G,V,K,Z,Q,J,X,ee,te,ne,re,oe,ae,ie,ue,ce,se,le,fe,de,be,pe,he,me,ge,ye="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function ve(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function we(){if(q)return W;return q=1,W=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}}function Se(){if(G)return B;G=1;var e="object"==typeof ye&&ye&&ye.Object===Object&&ye;return B=e}function Ce(){if(K)return V;K=1;var e=Se(),t="object"==typeof self&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return V=n}function xe(){if(te)return ee;te=1;var e=function(){if(X)return J;X=1;var e=/\s/;return J=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}}(),t=/^\s+/;return ee=function(n){return n?n.slice(0,e(n)+1).replace(t,""):n}}function Ae(){if(re)return ne;re=1;var e=Ce().Symbol;return ne=e}function De(){if(se)return ce;se=1;var e=Ae(),t=function(){if(ae)return oe;ae=1;var e=Ae(),t=Object.prototype,n=t.hasOwnProperty,r=t.toString,o=e?e.toStringTag:void 0;return oe=function(e){var t=n.call(e,o),a=e[o];try{e[o]=void 0;var i=!0}catch(e){}var u=r.call(e);return i&&(t?e[o]=a:delete e[o]),u}}(),n=function(){if(ue)return ie;ue=1;var e=Object.prototype.toString;return ie=function(t){return e.call(t)}}(),r=e?e.toStringTag:void 0;return ce=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":r&&r in Object(e)?t(e):n(e)}}function $e(){if(fe)return le;return fe=1,le=function(e){return null!=e&&"object"==typeof e}}function Me(){if(be)return de;be=1;var e=De(),t=$e();return de=function(n){return"symbol"==typeof n||t(n)&&"[object Symbol]"==e(n)}}function je(){if(ge)return me;ge=1;var e=we(),t=function(){if(Q)return Z;Q=1;var e=Ce();return Z=function(){return e.Date.now()}}(),n=function(){if(he)return pe;he=1;var e=xe(),t=we(),n=Me(),r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,i=parseInt;return pe=function(u){if("number"==typeof u)return u;if(n(u))return NaN;if(t(u)){var c="function"==typeof u.valueOf?u.valueOf():u;u=t(c)?c+"":c}if("string"!=typeof u)return 0===u?u:+u;u=e(u);var s=o.test(u);return s||a.test(u)?i(u.slice(2),s?2:8):r.test(u)?NaN:+u}}(),r=Math.max,o=Math.min;return me=function(a,i,u){var c,s,l,f,d,b,p=0,h=!1,m=!1,g=!0;if("function"!=typeof a)throw new TypeError("Expected a function");function y(e){var t=c,n=s;return c=s=void 0,p=e,f=a.apply(n,t)}function v(e){var t=e-b;return void 0===b||t>=i||t<0||m&&e-p>=l}function w(){var e=t();if(v(e))return S(e);d=setTimeout(w,function(e){var t=i-(e-b);return m?o(t,l-(e-p)):t}(e))}function S(e){return d=void 0,g&&c?y(e):(c=s=void 0,f)}function C(){var e=t(),n=v(e);if(c=arguments,s=this,b=e,n){if(void 0===d)return function(e){return p=e,d=setTimeout(w,i),h?y(e):f}(b);if(m)return clearTimeout(d),d=setTimeout(w,i),y(b)}return void 0===d&&(d=setTimeout(w,i)),f}return i=n(i)||0,e(u)&&(h=!!u.leading,l=(m="maxWait"in u)?r(n(u.maxWait)||0,i):l,g="trailing"in u?!!u.trailing:g),C.cancel=function(){void 0!==d&&clearTimeout(d),p=0,c=b=s=d=void 0},C.flush=function(){return void 0===d?f:S(t())},C},me}var Ee,_e,ke,Oe,Ie,Ne,Te,Fe,Pe,ze,Le,Re,He,Ye,Ue,We,qe,Be,Ge,Ve,Ke,Ze,Qe,Je,Xe,et,tt,nt,rt,ot,at,it,ut=ve(je());function ct(){if(_e)return Ee;_e=1;var e=De(),t=we();return Ee=function(n){if(!t(n))return!1;var r=e(n);return"[object Function]"==r||"[object GeneratorFunction]"==r||"[object AsyncFunction]"==r||"[object Proxy]"==r}}function st(){if(Ne)return Ie;Ne=1;var e,t=function(){if(Oe)return ke;Oe=1;var e=Ce()["__core-js_shared__"];return ke=e}(),n=(e=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||""))?"Symbol(src)_1."+e:"";return Ie=function(e){return!!n&&n in e}}function lt(){if(Fe)return Te;Fe=1;var e=Function.prototype.toString;return Te=function(t){if(null!=t){try{return e.call(t)}catch(e){}try{return t+""}catch(e){}}return""}}function ft(){if(Ye)return He;Ye=1;var e=function(){if(ze)return Pe;ze=1;var e=ct(),t=st(),n=we(),r=lt(),o=/^\[object .+?Constructor\]$/,a=Function.prototype,i=Object.prototype,u=a.toString,c=i.hasOwnProperty,s=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");return Pe=function(a){return!(!n(a)||t(a))&&(e(a)?s:o).test(r(a))}}(),t=Re?Le:(Re=1,Le=function(e,t){return null==e?void 0:e[t]});return He=function(n,r){var o=t(n,r);return e(o)?o:void 0}}function dt(){if(Be)return qe;Be=1;var e=function(){if(We)return Ue;We=1;var e=ft(),t=function(){try{var t=e(Object,"defineProperty");return t({},"",{}),t}catch(e){}}();return Ue=t}();return qe=function(t,n,r){"__proto__"==n&&e?e(t,n,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[n]=r}}function bt(){if(Je)return Qe;Je=1;var e=(Ze?Ke:(Ze=1,Ke=function(e){return function(t,n,r){for(var o=-1,a=Object(t),i=r(t),u=i.length;u--;){var c=i[e?u:++o];if(!1===n(a[c],c,a))break}return t}}))();return Qe=e}function pt(){if(ot)return rt;ot=1;var e=function(){if(nt)return tt;nt=1;var e=De(),t=$e();return tt=function(n){return t(n)&&"[object Arguments]"==e(n)}}(),t=$e(),n=Object.prototype,r=n.hasOwnProperty,o=n.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(e){return t(e)&&r.call(e,"callee")&&!o.call(e,"callee")};return rt=a}function ht(){if(it)return at;it=1;var e=Array.isArray;return at=e}var mt,gt,yt,vt,wt,St,Ct,xt,At,Dt,$t,Mt={exports:{}};function jt(){return yt||(yt=1,function(e,t){var n=Ce(),r=gt?mt:(gt=1,mt=function(){return!1}),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,i=a&&a.exports===o?n.Buffer:void 0,u=(i?i.isBuffer:void 0)||r;e.exports=u}(Mt,Mt.exports)),Mt.exports}function Et(){if(wt)return vt;wt=1;var e=/^(?:0|[1-9]\d*)$/;return vt=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}}function _t(){if(Ct)return St;Ct=1;return St=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}}var kt,Ot,It,Nt,Tt,Ft,Pt,zt,Lt,Rt,Ht,Yt,Ut,Wt,qt,Bt,Gt,Vt,Kt,Zt,Qt,Jt,Xt,en,tn,nn,rn,on,an,un,cn,sn,ln,fn,dn,bn,pn,hn,mn,gn,yn,vn,wn,Sn,Cn,xn,An,Dn,$n,Mn,jn,En,_n,kn,On,In,Nn,Tn,Fn,Pn,zn,Ln,Rn,Hn,Yn,Un,Wn,qn,Bn,Gn,Vn,Kn,Zn,Qn,Jn,Xn,er,tr,nr,rr,or,ar,ir,ur,cr,sr,lr,fr,dr,br,pr,hr,mr,gr,yr,vr,wr,Sr,Cr,xr,Ar,Dr,$r,Mr,jr,Er,_r,kr,Or,Ir,Nr,Tr,Fr,Pr,zr,Lr,Rr,Hr,Yr,Ur,Wr,qr,Br,Gr,Vr,Kr,Zr,Qr,Jr,Xr,eo,to,no,ro,oo,ao,io,uo,co,so,lo,fo,bo,po,ho,mo,go,yo,vo,wo,So,Co,xo,Ao,Do,$o,Mo,jo,Eo,_o,ko,Oo,Io,No,To,Fo,Po,zo,Lo,Ro,Ho,Yo,Uo,Wo,qo,Bo,Go,Vo,Ko,Zo,Qo,Jo,Xo,ea,ta,na,ra,oa={exports:{}};function aa(){if(It)return Ot;It=1;var e=function(){if(At)return xt;At=1;var e=De(),t=_t(),n=$e(),r={};return r["[object Float32Array]"]=r["[object Float64Array]"]=r["[object Int8Array]"]=r["[object Int16Array]"]=r["[object Int32Array]"]=r["[object Uint8Array]"]=r["[object Uint8ClampedArray]"]=r["[object Uint16Array]"]=r["[object Uint32Array]"]=!0,r["[object Arguments]"]=r["[object Array]"]=r["[object ArrayBuffer]"]=r["[object Boolean]"]=r["[object DataView]"]=r["[object Date]"]=r["[object Error]"]=r["[object Function]"]=r["[object Map]"]=r["[object Number]"]=r["[object Object]"]=r["[object RegExp]"]=r["[object Set]"]=r["[object String]"]=r["[object WeakMap]"]=!1,xt=function(o){return n(o)&&t(o.length)&&!!r[e(o)]}}(),t=$t?Dt:($t=1,Dt=function(e){return function(t){return e(t)}}),n=function(){return kt||(kt=1,e=oa,t=oa.exports,n=Se(),r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,a=o&&o.exports===r&&n.process,i=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}(),e.exports=i),oa.exports;var e,t,n,r,o,a,i}(),r=n&&n.isTypedArray,o=r?t(r):e;return Ot=o}function ia(){if(Tt)return Nt;Tt=1;var e=et?Xe:(et=1,Xe=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}),t=pt(),n=ht(),r=jt(),o=Et(),a=aa(),i=Object.prototype.hasOwnProperty;return Nt=function(u,c){var s=n(u),l=!s&&t(u),f=!s&&!l&&r(u),d=!s&&!l&&!f&&a(u),b=s||l||f||d,p=b?e(u.length,String):[],h=p.length;for(var m in u)!c&&!i.call(u,m)||b&&("length"==m||f&&("offset"==m||"parent"==m)||d&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||o(m,h))||p.push(m);return p}}function ua(){if(Ht)return Rt;Ht=1;var e=(Lt?zt:(Lt=1,zt=function(e,t){return function(n){return e(t(n))}}))(Object.keys,Object);return Rt=e}function ca(){if(Ut)return Yt;Ut=1;var e=function(){if(Pt)return Ft;Pt=1;var e=Object.prototype;return Ft=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}}(),t=ua(),n=Object.prototype.hasOwnProperty;return Yt=function(r){if(!e(r))return t(r);var o=[];for(var a in Object(r))n.call(r,a)&&"constructor"!=a&&o.push(a);return o}}function sa(){if(qt)return Wt;qt=1;var e=ct(),t=_t();return Wt=function(n){return null!=n&&t(n.length)&&!e(n)}}function la(){if(Gt)return Bt;Gt=1;var e=ia(),t=ca(),n=sa();return Bt=function(r){return n(r)?e(r):t(r)}}function fa(){if(Xt)return Jt;Xt=1;var e=function(){if(Kt)return Vt;Kt=1;var e=bt(),t=la();return Vt=function(n,r){return n&&e(n,r,t)}}(),t=function(){if(Qt)return Zt;Qt=1;var e=sa();return Zt=function(t,n){return function(r,o){if(null==r)return r;if(!e(r))return t(r,o);for(var a=r.length,i=n?a:-1,u=Object(r);(n?i--:++i<a)&&!1!==o(u[i],i,u););return r}}}()(e);return Jt=t}function da(){if(an)return on;return an=1,on=function(e,t){return e===t||e!=e&&t!=t}}function ba(){if(cn)return un;cn=1;var e=da();return un=function(t,n){for(var r=t.length;r--;)if(e(t[r][0],n))return r;return-1}}function pa(){if(yn)return gn;yn=1;var e=rn?nn:(rn=1,nn=function(){this.__data__=[],this.size=0}),t=function(){if(ln)return sn;ln=1;var e=ba(),t=Array.prototype.splice;return sn=function(n){var r=this.__data__,o=e(r,n);return!(o<0||(o==r.length-1?r.pop():t.call(r,o,1),--this.size,0))}}(),n=function(){if(dn)return fn;dn=1;var e=ba();return fn=function(t){var n=this.__data__,r=e(n,t);return r<0?void 0:n[r][1]}}(),r=function(){if(pn)return bn;pn=1;var e=ba();return bn=function(t){return e(this.__data__,t)>-1}}(),o=function(){if(mn)return hn;mn=1;var e=ba();return hn=function(t,n){var r=this.__data__,o=e(r,t);return o<0?(++this.size,r.push([t,n])):r[o][1]=n,this}}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=o,gn=a}function ha(){if(jn)return Mn;jn=1;var e=ft()(Ce(),"Map");return Mn=e}function ma(){if(_n)return En;_n=1;var e=ft()(Object,"create");return En=e}function ga(){if(Yn)return Hn;Yn=1;var e=function(){if(On)return kn;On=1;var e=ma();return kn=function(){this.__data__=e?e(null):{},this.size=0}}(),t=Nn?In:(Nn=1,In=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}),n=function(){if(Fn)return Tn;Fn=1;var e=ma(),t=Object.prototype.hasOwnProperty;return Tn=function(n){var r=this.__data__;if(e){var o=r[n];return"__lodash_hash_undefined__"===o?void 0:o}return t.call(r,n)?r[n]:void 0}}(),r=function(){if(zn)return Pn;zn=1;var e=ma(),t=Object.prototype.hasOwnProperty;return Pn=function(n){var r=this.__data__;return e?void 0!==r[n]:t.call(r,n)}}(),o=function(){if(Rn)return Ln;Rn=1;var e=ma();return Ln=function(t,n){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=e&&void 0===n?"__lodash_hash_undefined__":n,this}}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=o,Hn=a}function ya(){if(Vn)return Gn;Vn=1;var e=Bn?qn:(Bn=1,qn=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e});return Gn=function(t,n){var r=t.__data__;return e(n)?r["string"==typeof n?"string":"hash"]:r.map},Gn}function va(){if(or)return rr;or=1;var e=function(){if(Wn)return Un;Wn=1;var e=ga(),t=pa(),n=ha();return Un=function(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}}(),t=function(){if(Zn)return Kn;Zn=1;var e=ya();return Kn=function(t){var n=e(this,t).delete(t);return this.size-=n?1:0,n}}(),n=function(){if(Jn)return Qn;Jn=1;var e=ya();return Qn=function(t){return e(this,t).get(t)}}(),r=function(){if(er)return Xn;er=1;var e=ya();return Xn=function(t){return e(this,t).has(t)}}(),o=function(){if(nr)return tr;nr=1;var e=ya();return tr=function(t,n){var r=e(this,t),o=r.size;return r.set(t,n),this.size+=r.size==o?0:1,this},tr}();function a(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=n,a.prototype.has=r,a.prototype.set=o,rr=a}function wa(){if(cr)return ur;cr=1;var e=pa(),t=function(){if(wn)return vn;wn=1;var e=pa();return vn=function(){this.__data__=new e,this.size=0}}(),n=Cn?Sn:(Cn=1,Sn=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}),r=An?xn:(An=1,xn=function(e){return this.__data__.get(e)}),o=$n?Dn:($n=1,Dn=function(e){return this.__data__.has(e)}),a=function(){if(ir)return ar;ir=1;var e=pa(),t=ha(),n=va();return ar=function(r,o){var a=this.__data__;if(a instanceof e){var i=a.__data__;if(!t||i.length<199)return i.push([r,o]),this.size=++a.size,this;a=this.__data__=new n(i)}return a.set(r,o),this.size=a.size,this}}();function i(t){var n=this.__data__=new e(t);this.size=n.size}return i.prototype.clear=t,i.prototype.delete=n,i.prototype.get=r,i.prototype.has=o,i.prototype.set=a,ur=i}function Sa(){if(pr)return br;pr=1;var e=va(),t=lr?sr:(lr=1,sr=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}),n=dr?fr:(dr=1,fr=function(e){return this.__data__.has(e)});function r(t){var n=-1,r=null==t?0:t.length;for(this.__data__=new e;++n<r;)this.add(t[n])}return r.prototype.add=r.prototype.push=t,r.prototype.has=n,br=r}function Ca(){if(wr)return vr;wr=1;var e=Sa(),t=mr?hr:(mr=1,hr=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}),n=yr?gr:(yr=1,gr=function(e,t){return e.has(t)});return vr=function(r,o,a,i,u,c){var s=1&a,l=r.length,f=o.length;if(l!=f&&!(s&&f>l))return!1;var d=c.get(r),b=c.get(o);if(d&&b)return d==o&&b==r;var p=-1,h=!0,m=2&a?new e:void 0;for(c.set(r,o),c.set(o,r);++p<l;){var g=r[p],y=o[p];if(i)var v=s?i(y,g,p,o,r,c):i(g,y,p,r,o,c);if(void 0!==v){if(v)continue;h=!1;break}if(m){if(!t(o,(function(e,t){if(!n(m,t)&&(g===e||u(g,e,a,i,c)))return m.push(t)}))){h=!1;break}}else if(g!==y&&!u(g,y,a,i,c)){h=!1;break}}return c.delete(r),c.delete(o),h},vr}function xa(){if(jr)return Mr;jr=1;var e=Ae(),t=function(){if(Cr)return Sr;Cr=1;var e=Ce().Uint8Array;return Sr=e}(),n=da(),r=Ca(),o=(Ar||(Ar=1,xr=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}),xr),a=($r||($r=1,Dr=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}),Dr),i=e?e.prototype:void 0,u=i?i.valueOf:void 0;return Mr=function(e,i,c,s,l,f,d){switch(c){case"[object DataView]":if(e.byteLength!=i.byteLength||e.byteOffset!=i.byteOffset)return!1;e=e.buffer,i=i.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=i.byteLength||!f(new t(e),new t(i)));case"[object Boolean]":case"[object Date]":case"[object Number]":return n(+e,+i);case"[object Error]":return e.name==i.name&&e.message==i.message;case"[object RegExp]":case"[object String]":return e==i+"";case"[object Map]":var b=o;case"[object Set]":var p=1&s;if(b||(b=a),e.size!=i.size&&!p)return!1;var h=d.get(e);if(h)return h==i;s|=2,d.set(e,i);var m=r(b(e),b(i),s,l,f,d);return d.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(i)}return!1},Mr}function Aa(){if(Or)return kr;Or=1;var e=_r?Er:(_r=1,Er=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}),t=ht();return kr=function(n,r,o){var a=r(n);return t(n)?a:e(a,o(n))}}function Da(){if(zr)return Pr;zr=1;var e=Nr?Ir:(Nr=1,Ir=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}),t=Fr?Tr:(Fr=1,Tr=function(){return[]}),n=Object.prototype.propertyIsEnumerable,r=Object.getOwnPropertySymbols;return Pr=r?function(t){return null==t?[]:(t=Object(t),e(r(t),(function(e){return n.call(t,e)})))}:t}function $a(){if(Yr)return Hr;Yr=1;var e=function(){if(Rr)return Lr;Rr=1;var e=Aa(),t=Da(),n=la();return Lr=function(r){return e(r,n,t)}}(),t=Object.prototype.hasOwnProperty;return Hr=function(n,r,o,a,i,u){var c=1&o,s=e(n),l=s.length;if(l!=e(r).length&&!c)return!1;for(var f=l;f--;){var d=s[f];if(!(c?d in r:t.call(r,d)))return!1}var b=u.get(n),p=u.get(r);if(b&&p)return b==r&&p==n;var h=!0;u.set(n,r),u.set(r,n);for(var m=c;++f<l;){var g=n[d=s[f]],y=r[d];if(a)var v=c?a(y,g,d,r,n,u):a(g,y,d,n,r,u);if(!(void 0===v?g===y||i(g,y,o,a,u):v)){h=!1;break}m||(m="constructor"==d)}if(h&&!m){var w=n.constructor,S=r.constructor;w==S||!("constructor"in n)||!("constructor"in r)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(h=!1)}return u.delete(n),u.delete(r),h},Hr}function Ma(){if(Jr)return Qr;Jr=1;var e=function(){if(Wr)return Ur;Wr=1;var e=ft()(Ce(),"DataView");return Ur=e}(),t=ha(),n=function(){if(Br)return qr;Br=1;var e=ft()(Ce(),"Promise");return qr=e}(),r=function(){if(Vr)return Gr;Vr=1;var e=ft()(Ce(),"Set");return Gr=e}(),o=function(){if(Zr)return Kr;Zr=1;var e=ft()(Ce(),"WeakMap");return Kr=e}(),a=De(),i=lt(),u="[object Map]",c="[object Promise]",s="[object Set]",l="[object WeakMap]",f="[object DataView]",d=i(e),b=i(t),p=i(n),h=i(r),m=i(o),g=a;return(e&&g(new e(new ArrayBuffer(1)))!=f||t&&g(new t)!=u||n&&g(n.resolve())!=c||r&&g(new r)!=s||o&&g(new o)!=l)&&(g=function(e){var t=a(e),n="[object Object]"==t?e.constructor:void 0,r=n?i(n):"";if(r)switch(r){case d:return f;case b:return u;case p:return c;case h:return s;case m:return l}return t}),Qr=g}function ja(){if(no)return to;no=1;var e=function(){if(eo)return Xr;eo=1;var e=wa(),t=Ca(),n=xa(),r=$a(),o=Ma(),a=ht(),i=jt(),u=aa(),c="[object Arguments]",s="[object Array]",l="[object Object]",f=Object.prototype.hasOwnProperty;return Xr=function(d,b,p,h,m,g){var y=a(d),v=a(b),w=y?s:o(d),S=v?s:o(b),C=(w=w==c?l:w)==l,x=(S=S==c?l:S)==l,A=w==S;if(A&&i(d)){if(!i(b))return!1;y=!0,C=!1}if(A&&!C)return g||(g=new e),y||u(d)?t(d,b,p,h,m,g):n(d,b,w,p,h,m,g);if(!(1&p)){var D=C&&f.call(d,"__wrapped__"),$=x&&f.call(b,"__wrapped__");if(D||$){var M=D?d.value():d,j=$?b.value():b;return g||(g=new e),m(M,j,p,h,g)}}return!!A&&(g||(g=new e),r(d,b,p,h,m,g))},Xr}(),t=$e();return to=function n(r,o,a,i,u){return r===o||(null==r||null==o||!t(r)&&!t(o)?r!=r&&o!=o:e(r,o,a,i,n,u))},to}function Ea(){if(io)return ao;io=1;var e=we();return ao=function(t){return t==t&&!e(t)}}function _a(){if(lo)return so;return lo=1,so=function(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}}function ka(){if(bo)return fo;bo=1;var e=function(){if(oo)return ro;oo=1;var e=wa(),t=ja();return ro=function(n,r,o,a){var i=o.length,u=i,c=!a;if(null==n)return!u;for(n=Object(n);i--;){var s=o[i];if(c&&s[2]?s[1]!==n[s[0]]:!(s[0]in n))return!1}for(;++i<u;){var l=(s=o[i])[0],f=n[l],d=s[1];if(c&&s[2]){if(void 0===f&&!(l in n))return!1}else{var b=new e;if(a)var p=a(f,d,l,n,r,b);if(!(void 0===p?t(d,f,3,a,b):p))return!1}}return!0},ro}(),t=function(){if(co)return uo;co=1;var e=Ea(),t=la();return uo=function(n){for(var r=t(n),o=r.length;o--;){var a=r[o],i=n[a];r[o]=[a,i,e(i)]}return r}}(),n=_a();return fo=function(r){var o=t(r);return 1==o.length&&o[0][2]?n(o[0][0],o[0][1]):function(t){return t===r||e(t,r,o)}}}function Oa(){if(ho)return po;ho=1;var e=ht(),t=Me(),n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,r=/^\w*$/;return po=function(o,a){if(e(o))return!1;var i=typeof o;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=o&&!t(o))||(r.test(o)||!n.test(o)||null!=a&&o in Object(a))}}function Ia(){if(vo)return yo;vo=1;var e=function(){if(go)return mo;go=1;var e=va();function t(n,r){if("function"!=typeof n||null!=r&&"function"!=typeof r)throw new TypeError("Expected a function");var o=function(){var e=arguments,t=r?r.apply(this,e):e[0],a=o.cache;if(a.has(t))return a.get(t);var i=n.apply(this,e);return o.cache=a.set(t,i)||a,i};return o.cache=new(t.Cache||e),o}return t.Cache=e,mo=t}();return yo=function(t){var n=e(t,(function(e){return 500===r.size&&r.clear(),e})),r=n.cache;return n}}function Na(){if(Do)return Ao;Do=1;var e=Ae(),t=xo?Co:(xo=1,Co=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}),n=ht(),r=Me(),o=e?e.prototype:void 0,a=o?o.toString:void 0;return Ao=function e(o){if("string"==typeof o)return o;if(n(o))return t(o,e)+"";if(r(o))return a?a.call(o):"";var i=o+"";return"0"==i&&1/o==-1/0?"-0":i},Ao}function Ta(){if(Mo)return $o;Mo=1;var e=Na();return $o=function(t){return null==t?"":e(t)}}function Fa(){if(Eo)return jo;Eo=1;var e=ht(),t=Oa(),n=function(){if(So)return wo;So=1;var e=Ia(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,n=/\\(\\)?/g,r=e((function(e){var r=[];return 46===e.charCodeAt(0)&&r.push(""),e.replace(t,(function(e,t,o,a){r.push(o?a.replace(n,"$1"):t||e)})),r}));return wo=r}(),r=Ta();return jo=function(o,a){return e(o)?o:t(o,a)?[o]:n(r(o))}}function Pa(){if(ko)return _o;ko=1;var e=Me();return _o=function(t){if("string"==typeof t||e(t))return t;var n=t+"";return"0"==n&&1/t==-1/0?"-0":n}}function za(){if(Io)return Oo;Io=1;var e=Fa(),t=Pa();return Oo=function(n,r){for(var o=0,a=(r=e(r,n)).length;null!=n&&o<a;)n=n[t(r[o++])];return o&&o==a?n:void 0}}function La(){if(Ho)return Ro;Ho=1;var e=Po?Fo:(Po=1,Fo=function(e,t){return null!=e&&t in Object(e)}),t=function(){if(Lo)return zo;Lo=1;var e=Fa(),t=pt(),n=ht(),r=Et(),o=_t(),a=Pa();return zo=function(i,u,c){for(var s=-1,l=(u=e(u,i)).length,f=!1;++s<l;){var d=a(u[s]);if(!(f=null!=i&&c(i,d)))break;i=i[d]}return f||++s!=l?f:!!(l=null==i?0:i.length)&&o(l)&&r(d,l)&&(n(i)||t(i))}}();return Ro=function(n,r){return null!=n&&t(n,r,e)}}function Ra(){if(Uo)return Yo;Uo=1;var e=ja(),t=function(){if(To)return No;To=1;var e=za();return No=function(t,n,r){var o=null==t?void 0:e(t,n);return void 0===o?r:o}}(),n=La(),r=Oa(),o=Ea(),a=_a(),i=Pa();return Yo=function(u,c){return r(u)&&o(c)?a(i(u),c):function(r){var o=t(r,u);return void 0===o&&o===c?n(r,u):e(c,o,3)}}}function Ha(){if(Qo)return Zo;Qo=1;var e=Go?Bo:(Go=1,Bo=function(e){return function(t){return null==t?void 0:t[e]}}),t=function(){if(Ko)return Vo;Ko=1;var e=za();return Vo=function(t){return function(n){return e(n,t)}}}(),n=Oa(),r=Pa();return Zo=function(o){return n(o)?e(r(o)):t(o)}}function Ya(){if(Xo)return Jo;Xo=1;var e=ka(),t=Ra(),n=qo?Wo:(qo=1,Wo=function(e){return e}),r=ht(),o=Ha();return Jo=function(a){return"function"==typeof a?a:null==a?n:"object"==typeof a?r(a)?t(a[0],a[1]):e(a):o(a)}}function Ua(){if(ta)return ea;ta=1;var e=Ve?Ge:(Ve=1,Ge=function(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}),t=function(){if(tn)return en;tn=1;var e=fa();return en=function(t,n,r,o){return e(t,(function(e,t,a){n(o,e,r(e),a)})),o}}(),n=Ya(),r=ht();return ea=function(o,a){return function(i,u){var c=r(i)?e:t,s=a?a():{};return c(i,o,n(u,2),s)}}}var Wa,qa,Ba=function(){if(ra)return na;ra=1;var e=dt(),t=Ua(),n=Object.prototype.hasOwnProperty,r=t((function(t,r,o){n.call(t,o)?t[o].push(r):e(t,o,[r])}));return na=r}(),Ga=ve(Ba);var Va=function(){if(qa)return Wa;qa=1;var e=je(),t=we();return Wa=function(n,r,o){var a=!0,i=!0;if("function"!=typeof n)throw new TypeError("Expected a function");return t(o)&&(a="leading"in o?!!o.leading:a,i="trailing"in o?!!o.trailing:i),e(n,r,{leading:a,maxWait:r,trailing:i})}}(),Ka=ve(Va);function Za(e,t,n=null){return C(e,t,n)}function Qa(e,t=null){return Ga(e,t)}function Ja(e,t){return j(e,t)}function Xa(e,t,n){return h(e,t,n)}function ei(e){return O(e)}function ti(e,t,n=1e3){return I(e,t,n)}function ni(e,t){return f(e,t)}function ri(e,t,n){return d(e,t,n)}function oi(e){return M(e)}function ai(e,t){return S(e,t)}function ii(e,t){return x(e,t)}function ui(e){return D(e)}function ci(e,t){return w(e,t)}function si(e){return v(e)}function li(e,t){return N(e,t)}function fi(e,t=1){return p(e,t)}function di(e,t){return F(e,t)}function bi(e){return T(e)}function pi(e,t,n){return l(e,t,n)}function hi(e,t){return $(e,t)}function mi(e,t){return A(e,t)}function gi(e,t,n){return E(e,t,n)}function yi(e){return _(e)}function vi(e,t){return b(e,t)}function wi(e,t){return m(e,t)}function Si(e,t){return k(e,t)}function Ci(e,t,n=0){return y(e,t,n)}function xi(e,t,n=0){return g(e,t,n)}function Ai(e,t=0,n={}){return ut(e,t,n)}function Di(e,t=0,n={}){return Ka(e,t,n)}function $i(e){return new Function(`return ${e}`)()}function Mi(){return"undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement}function ji(){return window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches}function Ei(){const e=navigator.userAgent;return{trident:e.includes("Trident"),presto:e.includes("Presto"),webKit:e.includes("AppleWebKit"),gecko:e.includes("Gecko")&&!e.includes("KHTML"),mobile:!!/AppleWebKit.*Mobile.*/.test(e),ios:!!/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(e),android:e.includes("Android")||e.includes("Linux"),iPhone:e.includes("iPhone"),iPad:e.includes("iPad"),webApp:!e.includes("Safari")}}function _i(){return{versions:Ei(),language:((navigator.browserLanguage||navigator.language)??"").toLowerCase()}}function ki(e){let t=[];const n=JSON.stringify(e,(function(e,n){if("object"==typeof n&&null!==n){if(t.includes(n))return;t.push(n)}return n}));return t=null,n}function Oi({seed:e,min:t,max:n}){const r=t||0;return r+(9301*e+49297)%233280/233280*((n||1)-r)}function Ii(e){return null==e?null:JSON.parse(ki(e))}function Ni(e,t,n){let r=[];return null!=e&&(r=[...e]),null!=n&&(r=[...r,...n]),null!=t&&(r=[t,...r]),r}function Ti(e,t,n,r,o){const a=r,i=void 0===n?null:n;return null!=t&&(a.initialValue="function"==typeof convertValue?o(e)||i:e||i),a}function Fi(e,t,n){const r=n||[];let o=null;if(null==t)return o;for(const n of r)n[e]===t&&(o=n);return o}function Pi(e){return e?(e^16*Math.random()>>e/4).toString(16):([1e7]+-1e3+-4e3+-8e3+-1e11).replaceAll(/[018]/g,Pi)}function zi(){return Pi()+""}function Li({pageNo:e,pageSize:t,total:n}){return!((n||0)<=0)&&(e||0)*(t||0)<(n||0)}function Ri(){return"development"===process.env.NODE_ENV}function Hi(e){return Object.keys(e).map((t=>e[t])).join(",")}function Yi(e,t){return Array.from({length:t-e+1},((t,n)=>e+n))}function Ui(e){return Ji(e)}function Wi(e){const t=`${Ji(e)?null:e}`.match(/^(\d{1,4})(-|\/)(\d{1,2})\2(\d{1,2})$/);if(null==t)return!1;const n=new Date(t[1],t[3]-1,t[4]);return n.getFullYear()===Number.parseInt(t[1],10)&&n.getMonth()+1===Number.parseInt(t[3],10)&&n.getDate()===Number.parseInt(t[4],10)}function qi(e){return!!Number.isInteger(e)||i(e)}function Bi(e){return!!qi(e)||!Number.isNaN(Number(e))}function Gi(e){const t=`${Ji(e)?null:e}`;if(""===t)return!1;return new RegExp(/^([1-9]\d{0,15}|0)(\.\d{1,2})?$/).test(t)}function Vi(e,t){return r(e,t)}function Ki(e,t){return ki(e||{})===ki(t||{})}function Zi(e){return o(e)}function Qi(e){return t(e)}function Ji(e){return s(e)}function Xi(e){return a(e)}function eu(e){return n(e)}function tu(e){return c(e)}function nu(e){return Array.isArray(e)}function ru(e){return!!nu(e)&&e.length<=0}function ou(e){return u(e)}function au(e){return!!ou(e)&&Object.keys(e).length<=0}function iu(e){return null!==e&&"object"==typeof e&&!nu(e)}function uu(e){return iu(e)&&Zi(e.then)&&Zi(e.catch)}function cu(e){return new RegExp(/(http|https):\/\/([\w.]+\/?)\S*/).test(e)}function su(e){return new RegExp(/(data):image\/([\w.]+\/?)\S*/).test(e)}function lu(e){return""===bi(l(e||""," ",""))}function fu(e){return!!Ji(e)||(!!Xi(e)||!nu(e)&&(!!ou(e)&&au(e)))}function du(e,t){let n=!1;return nu(e)?(e.some((e=>e===t&&(n=!0,!0))),n):n}function bu(e,t){if(lu(t))return!1;return du(Object.keys(e),t)}function pu(e){return(new Date).toISOString().slice(0,10)===e.toISOString().slice(0,10)}function hu(e,t,n){return n.getTime()>=e.getTime()&&n.getTime()<=t.getTime()}function mu(e){return 6===e.getDay()||0===e.getDay()}function gu(e,t){return e.getUTCFullYear()===new Date(`${t}`).getUTCFullYear()}function yu(e){return"[object AsyncFunction]"===Object.prototype.toString.call(e)}const vu="easy-soft-utility",wu={whetherList:[{key:"b24a21cf-a45c-4b6a-9993-f6953d7eb1ee",flag:"0",name:"否",alias:"否",description:"",availability:1},{key:"ea1b8b1e-7b78-4b29-bbce-57ef0b25e23c",flag:"1",name:"是",alias:"是",description:"",availability:1}]},Su={super:{permission:"super"}},Cu={ALIPAY:"ALIPAY",JD:"JD",QQ:"QQ",RN:"RN",SWAN:"SWAN",TT:"TT",UNKNOWN:"UNKNOWN",WEAPP:"WEAPP",WEB:"WEB"},xu={center:"center",left:"left",right:"right"},Au={bottom:"bottom",middle:"middle",top:"top"},Du={dataLoading:!1,dispatchComplete:!0,externalData:null,firstLoadSuccess:!1,loadApiPath:"",loadSuccess:!1,metaData:null,metaExtra:null,metaListData:[],metaOriginalData:null,paging:!1,processing:!1,refreshing:!1,registering:!1,reloading:!1,searching:!1,urlParams:null},$u={dataLoading:!0},Mu={real:"real",simulation:"simulation"},ju={get:"GET",post:"POST",put:"PUT",delete:"DELETE",trace:"TRACE",connect:"CONNECT"},Eu="0",_u=0,ku="1970-01-01 00:00",Ou={number:"number",whetherNumber:"whetherNumber",whetherString:"whetherString",datetime:"datetime",string:"string",moment:"moment",money:"money",array:"array",boolean:"boolean"},Iu={money:"money",datetime:"datetime",chineseMoney:"chineseMoney",percentage:"percentage"},Nu={yearMonthDayHourMinuteSecond:"YYYY-MM-DD HH:mm:ss",yearMonthDayHourMinute:"YYYY-MM-DD HH:mm",yearMonthDay:"YYYY-MM-DD",yearMonth:"YYYY-MM",year:"YYYY",monthDayHourMinuteSecond:"YYYY-MM-DD HH:mm:ss",monthDayHourMinute:"MM-DD HH:mm",monthDay:"MM-DD",hourMinute:"HH:mm",hourMinuteSecond:"HH:mm:ss",month:"MM",day:"DD",hour:"HH",minute:"mm",second:"ss"},Tu={moveUp:"moveUp",moveDown:"moveDown"},Fu={no:"0",yes:"1"},Pu={no:0,yes:1},zu={trace:"trace",debug:"debug",warn:"warn",error:"error",exception:"exception",info:"info",config:"config",execute:"execute",stack:"stack",develop:"develop",callTrack:"callTrack",callTrace:"callTrace",callResult:"callResult",render:"render"},Lu={auto:"auto",text:"text",object:"object"},Ru={open:"open",loading:"loading",info:"info",warning:"warning",warn:"warn",success:"success",error:"error"},Hu={open:"open",loading:"loading",info:"info",warning:"warning",warn:"warn",success:"success",error:"error"},Yu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABLCAYAAACGGCK3AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVHhe7cExAQAAAMKg9U9tDQ8gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIA3NXV7AAHfw7zWAAAAAElFTkSuQmCC",Uu=Yu,Wu=[19416,19168,42352,21717,53856,55632,91476,22176,39632,21970,19168,42422,42192,53840,119381,46400,54944,44450,38320,84343,18800,42160,46261,27216,27968,109396,11104,38256,21234,18800,25958,54432,59984,28309,23248,11104,100067,37600,116951,51536,54432,120998,46416,22176,107956,9680,37584,53938,43344,46423,27808,46416,86869,19872,42416,83315,21168,43432,59728,27296,44710,43856,19296,43748,42352,21088,62051,55632,23383,22176,38608,19925,19152,42192,54484,53840,54616,46400,46752,103846,38320,18864,43380,42160,45690,27216,27968,44870,43872,38256,19189,18800,25776,29859,59984,27480,21952,43872,38613,37600,51552,55636,54432,55888,30034,22176,43959,9680,37584,51893,43344,46240,47780,44368,21977,19360,42416,86390,21168,43312,31060,27296,44368,23378,19296,42726,42208,53856,60005,54576,23200,30371,38608,19195,19152,42192,118966,53840,54560,56645,46496,22224,21938,18864,42359,42160,43600,111189,27936,44448,84835,37744,18936,18800,25776,92326,59984,27424,108228,43744,41696,53987,51552,54615,54432,55888,23893,22176,42704,21972,21200,43448,43344,46240,46758,44368,21920,43940,42416,21168,45683,26928,29495,27296,44368,84821,19296,42352,21732,53600,59752,54560,55968,92838,22224,19168,43476,41680,53584,62034,54560],qu=[31,28,31,30,31,30,31,31,30,31,30,31],Bu=["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"],Gu=["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"],Vu=["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"],Ku=["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"],Zu=["9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd0b06bdb0722c965ce1cfcc920f","b027097bd097c36b0b6fc9274c91aa","9778397bd19801ec9210c965cc920e","97b6b97bd19801ec95f8c965cc920f","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd197c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bd09801d98082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec95f8c965cc920e","97bcf97c3598082c95f8e1cfcc920f","97bd097bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c3598082c95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf97c359801ec95f8c965cc920f","97bd097bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd19801ec9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b97bd19801ec95f8c965cc920f","97bd07f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c91aa","97b6b97bd19801ec9210c965cc920e","97bd07f1487f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c965cc920e","97bcf7f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b97bd19801ec9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b97bd197c36c9210c9274c920e","97bcf7f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","9778397bd097c36c9210c9274c920e","97b6b7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c36b0b6fc9210c8dc2","9778397bd097c36b0b70c9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9274c91aa","97b6b7f0e47f531b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c91aa","97b6b7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","9778397bd097c36b0b6fc9210c8dc2","977837f0e37f149b0723b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f5307f595b0b0bc920fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f595b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc9210c8dc2","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd097c35b0b6fc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0b0bb0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14998082b0723b06bd","7f07e7f0e37f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e397bd07f595b0b0bc920fb0722","977837f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f595b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e37f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f1487f531b0b0bb0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e47f149b0723b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14998082b0723b06bd","7f07e7f0e37f14998083b0787b0721","7f0e27f0e47f531b0723b0b6fb0722","7f0e37f0e366aa89801eb072297c35","7ec967f0e37f14898082b0723b02d5","7f07e7f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66aa89801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b0721","7f07e7f0e47f531b0723b0b6fb0722","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b0723b02d5","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e36665b66a449801e9808297c35","665f67f0e37f14898082b072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e26665b66a449801e9808297c35","665f67f0e37f1489801eb072297c35","7ec967f0e37f14998082b0787b06bd","7f07e7f0e47f531b0723b0b6fb0721","7f0e27f1487f531b0b0bb0b6fb0722"],Qu=["日","一","二","三","四","五","六","七","八","九","十"],Ju=["初","十","廿","卅"],Xu=["正","二","三","四","五","六","七","八","九","十","冬","腊"];var ec,tc,nc,rc,oc,ac,ic,uc,cc,sc,lc,fc,dc,bc,pc,hc;function mc(){if(rc)return nc;rc=1;var e=tc?ec:(tc=1,ec=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a});return nc=function(t,n,r){var o=t.length;return r=void 0===r?o:r,!n&&r>=o?t:e(t,n,r)}}function gc(){if(ac)return oc;ac=1;var e=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");return oc=function(t){return e.test(t)}}function yc(){if(fc)return lc;fc=1;var e=uc?ic:(uc=1,ic=function(e){return e.split("")}),t=gc(),n=function(){if(sc)return cc;sc=1;var e="\\ud800-\\udfff",t="["+e+"]",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\\ud83c[\\udffb-\\udfff]",o="[^"+e+"]",a="(?:\\ud83c[\\udde6-\\uddff]){2}",i="[\\ud800-\\udbff][\\udc00-\\udfff]",u="(?:"+n+"|"+r+")?",c="[\\ufe0e\\ufe0f]?",s=c+u+"(?:\\u200d(?:"+[o,a,i].join("|")+")"+c+u+")*",l="(?:"+[o+n+"?",n,a,i,t].join("|")+")",f=RegExp(r+"(?="+r+")|"+l+s,"g");return cc=function(e){return e.match(f)||[]}}();return lc=function(r){return t(r)?n(r):e(r)}}function vc(){if(bc)return dc;bc=1;var e=mc(),t=gc(),n=yc(),r=Ta();return dc=function(o){return function(a){a=r(a);var i=t(a)?n(a):void 0,u=i?i[0]:a.charAt(0),c=i?e(i,1).join(""):a.slice(1);return u[o]()+c}}}var wc,Sc,Cc=ve(function(){if(hc)return pc;hc=1;var e=vc()("toLowerCase");return pc=e}());var xc=ve(function(){if(Sc)return wc;Sc=1;var e=vc()("toUpperCase");return wc=e}());function Ac(e){return L(e,{algorithm:"sha1"})}function Dc(e){return L(e,{algorithm:"md5"})}function $c(e,t=null){const n=P(e),r=Number.isNaN(n)?0:n;return null==(t||null)?r:function(e,t){const n=Math.pow(10,t+1),r=Math.floor($c(e)*n);return 10*Math.round(r/10)/n}(r,t)}function Mc(e,t,n){if(!qi(e))throw new Error("value must be number value");let r=$c(e);return void 0!==t&&(r=Math.max(e,t)),void 0!==n&&(r=Math.min(r,n)),r}function jc(e){return Gi(e)?Number.parseFloat(e,10):0}function Ec(e){return`${jc(1e3*$c(e)/10)}%`}function _c(e){return Xi(e)?"":z(e)}function kc(e){return!!e}function Oc(e){return _c(e).toUpperCase()}function Ic(e){return xc(e)}function Nc(e){return _c(e).toLowerCase()}function Tc(e){return Cc(e)}function Fc(e){return uu(e)?e:Promise.resolve(e)}function Pc(e,t){return Ja(e,t)}function zc(e){return[...new Set(e)]}const Lc="must be an object",Rc="must be a string",Hc="must be a date",Yc="must be function",Uc="must be array",Wc="disallow empty";function qc({value:e=null,ancillaryInformation:t=""}){return`${null==(e||null)?"":", current is "+typeof e}${lu(t)?"":`, ${t}`}`}const Bc={buildDisallowEmpty:({name:e="parameter",ancillaryInformation:t=""})=>`${e} ${Wc}${qc({value:null,ancillaryInformation:t})}`,buildMustObject:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Lc}${qc({value:t,ancillaryInformation:n})}`,buildMustString:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Rc}${qc({value:t,ancillaryInformation:n})}`,buildMustDate:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Hc}${qc({value:t,ancillaryInformation:n})}`,buildMustFunction:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Yc}${qc({value:t,ancillaryInformation:n})}`,buildMustArray:({name:e="parameter",value:t=null,ancillaryInformation:n=""})=>`${e} ${Uc}${qc({value:t,ancillaryInformation:n})}`};function Gc(e,t,...n){return`${[e,...n].filter((e=>tu(e)&&!lu(e))).join("::")}::${lu(t)?"":t}`}function Vc({textCollection:e,separator:t=","}){if(!R(e)||ru(e))return"";const n=[];for(const t of e){const e=_c(t);lu(e)||n.push(e)}return n.length<=0?"":n.join(t)}function Kc(...e){return Vc({textCollection:e,separator:" -> "})}function Zc(e,t){return Kc(_c(e),t)}function Qc(e){return lu(e)?"":`data:image/png;base64,${e}`}function Jc(e){return lu(e)?"":`data:image/jpeg;base64,${e}`}const Xc="loggerAssist",es={loggerDisplaySwitchPromptSetInformationComplete:!1,loggerDisplaySwitchSetComplete:!1,display:!1},ts={config:"#F8C471",execute:"#C39BD3",info:"#89CA78",warn:"#F16F17",debug:"#00768F",trace:"#596032",error:"#E33F3E",exception:"#DC428E",stack:"#81977c",develop:"#9f6027",callTrack:"#889a14",callTrace:"#596032",render:"#7093f4"};function ns({text:e,color:t="",dataDescription:n="",ancillaryInformation:r=""}){const o=tu(e)?e:ki(e);let a="";a=nu(r)?Kc(o,...r):Kc(o,r),lu(ns)||console.log("%c%s",`color:${t};`,`${lu(n)?"":`[${Oc(n)}] `}${a}`)}function rs({data:e,color:t="",dataDescription:n="",ancillaryInformation:r=""}){return nu(e)?(ns({text:ru(e)?"":"check the following array data",color:t,dataDescription:n,ancillaryInformation:r}),void(ru(e)||console.log(e))):ou(e)?(ns({text:au(e)?"":"check the following object data",color:t,dataDescription:n,ancillaryInformation:r}),void(au(e)||console.log(e))):(ns({text:"check the following data",color:t,dataDescription:n,ancillaryInformation:r}),void console.log(e))}function os(e,t=Lu.auto,n=zu.debug,r="",o={}){const a=Ss(),{color:i="",prefix:u=""}={color:"",prefix:"",...o};if(n!=zu.develop&&!es.loggerDisplaySwitchSetComplete&&!es.loggerDisplaySwitchPromptSetInformationComplete){ns({text:Gc(vu,Kc("logData","logger display switch default is false, if want to display log, please set it before first log, use setLoggerDisplaySwitch to set it, this message only show once"),Xc),color:i||ts.develop,dataDescription:u||zu.develop,ancillaryInformation:""});try{throw new Error("please set use setLoggerDisplaySwitch")}catch(e){console.error(e)}es.loggerDisplaySwitchPromptSetInformationComplete=!0}if(!a&&!du([zu.exception,zu.develop],n))return;let c=null==(t||null)||lu(t)?Lu.auto:t;if(!du([Lu.auto,Lu.text,Lu.object],c))throw new Error(`Invalid log display mode -> ${c}`);if(c===Lu.auto&&(c=tu(e)?Lu.text:Lu.object),n!==zu.exception)n===zu.develop&&Ri()&&(c===Lu.text&&ns({text:e,color:i||ts.develop,dataDescription:u||"develop",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.develop,dataDescription:u||"develop",ancillaryInformation:r})),a&&(n===zu.render&&(c===Lu.text&&ns({text:e,color:i||ts.render,dataDescription:u||"render",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.render,dataDescription:u||"render",ancillaryInformation:r})),n===zu.trace&&(c===Lu.text&&ns({text:e,color:i||ts.trace,dataDescription:u||"trace",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.trace,dataDescription:u||"trace",ancillaryInformation:r})),n===zu.callTrack&&(c===Lu.text&&ns({text:e,color:i||ts.callTrack,dataDescription:u||"callTrack",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.callTrack,dataDescription:u||"callTrack",ancillaryInformation:r})),n===zu.callTrace&&(c===Lu.text&&ns({text:e,color:i||ts.callTrace,dataDescription:u||"callTrace",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.callTrace,dataDescription:u||"callTrace",ancillaryInformation:r})),n===zu.debug&&(c===Lu.text&&ns({text:e,color:i||ts.debug,dataDescription:u||"debug",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.debug,dataDescription:u||"debug",ancillaryInformation:r})),n===zu.warn&&(c===Lu.text&&ns({text:e,color:i||ts.warn,dataDescription:u||"warn",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.warn,dataDescription:u||"warn",ancillaryInformation:r})),n===zu.info&&(c===Lu.text&&ns({text:e,color:i||ts.info,dataDescription:u||"info",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.info,dataDescription:u||"info",ancillaryInformation:r})),n===zu.execute&&(c===Lu.text&&ns({text:e,color:i||ts.execute,dataDescription:u||"execute",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.execute,dataDescription:u||"execute",ancillaryInformation:r})),n===zu.config&&(c===Lu.text&&ns({text:e,color:i||ts.config,dataDescription:u||"config",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.config,dataDescription:u||"config",ancillaryInformation:r})),n===zu.stack&&(c===Lu.text&&ns({text:e,color:i||ts.stack,dataDescription:u||"stack",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.stack,dataDescription:u||"stack",ancillaryInformation:r}),console.trace("stack call trace as bellow")),n===zu.error&&(c===Lu.text&&ns({text:e,color:i||ts.error,dataDescription:u||"error",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.error,dataDescription:u||"error",ancillaryInformation:r})));else{c===Lu.text&&ns({text:e,color:i||ts.exception,dataDescription:u||"exception",ancillaryInformation:r}),c===Lu.object&&rs({data:e,color:i||ts.exception,dataDescription:u||"exception",ancillaryInformation:r});try{throw new Error("an error occur, check the above error message, the stack information is as follows")}catch(e){console.error(e)}}}function as(e,t="",n={}){tu(e)?vs(e,zu.warn,t,n):ws(e,zu.warn,t,n)}function is(e,t="",n={}){tu(e)?vs(e,zu.info,t,n):ws(e,zu.info,t,n)}function us(e,t="",n={}){tu(e)?vs(e,zu.config,t,n):ws(e,zu.config,t,n)}function cs(e,t="",n={}){tu(e)?vs(e,zu.develop,t,n):ws(e,zu.develop,t,n)}function ss(e,t="",n={}){tu(e)?vs(e,zu.stack,t,n):ws(e,zu.stack,t,n)}function ls(e,t="",n={}){tu(e)?vs(e,zu.trace,t,n):ws(e,zu.trace,t,n)}function fs(e,t="",n={}){tu(e)?vs(e,zu.callTrack,t,n):ws(e,zu.callTrack,t,n)}function ds(e,t="",n={}){tu(e)?vs(e,zu.callTrace,t,n):ws(e,zu.callTrace,t,n)}function bs(e,t="",n={}){tu(e)?vs(e,zu.callResult,t,n):ws(e,zu.callResult,t,n)}function ps(e,t="",n={}){tu(e)?vs(e,zu.render,t,n):ws(e,zu.render,t,n)}function hs(e,t="",n={}){tu(e)?vs(e,zu.debug,t,n):ws(e,zu.debug,t,n)}function ms(e,t="",n={}){tu(e)?vs(e,zu.execute,t,n):ws(e,zu.execute,t,n)}function gs(e,t="",n={}){tu(e)?vs(e,zu.error,t,n):ws(e,zu.error,t,n)}function ys(e,t="",n={}){tu(e)?vs(e,zu.exception,t,n):ws(e,zu.exception,t,n)}function vs(e,t=zu.trace,n="",r={}){os(e,Lu.text,t,n,r)}function ws(e,t=zu.trace,n="",r={}){os(e,Lu.object,t,n,r)}function Ss(){return kc(es.display)}function Cs(e){cs(Gc(vu,"setLoggerDisplaySwitch",Xc),kc(e)),es.display=kc(e),es.loggerDisplaySwitchSetComplete=!0}function xs(e,t="CONSOLE LOG",n="================================="){const r=`${n}${lu(t)?"":` ${t} `}${n}`;console.log(r),console.log(e)}const As="runtimeAssist",Ds={runtimeDataStorage:null,runtimeDataStorageSetComplete:!1};function $s(e){return Gc(vu,e,As)}function Ms(t){if(!ou(t))throw cs($s("setDataStorage"),"parameter must be object"),new Error(Gc(vu,"setDataStorage -> data storage mount target must be a object, current type is "+typeof target,As));cs($s("setDataStorage"),typeof t),t.runtimeDataStorage={},Ds.runtimeDataStorage=t.runtimeDataStorage,Ds.runtimeDataStorageSetComplete=!0,function(t){if(null==(t||null))throw new Error("runtimeDataStorage has not set complete");t.localRuntimeCache=new e,t.applicationInitialConfig={},t.externalConfigList=[],t.applicationConfigMergeComplete=!1,t.applicationMergeConfig={},t.lastRequestExceptionMessage={code:-1,message:"",time:Date.now()}}(Ds.runtimeDataStorage)}function js(){if(Xi(Ds.runtimeDataStorage)||!Ds.runtimeDataStorageSetComplete)throw new Error(Gc(vu,"runtimeDataStorage has not set,use setRuntimeDataStorage to set it",As));return Ds.runtimeDataStorage}function Es(){return Ds.runtimeDataStorage.lastRequestExceptionMessage||{code:-1,message:"",time:Date.now()}}function _s({code:e,message:t,time:n}){Ds.runtimeDataStorage.lastRequestExceptionMessage={code:e,message:t,time:n}}function ks(e,t=""){return Gc(vu,Zc(e,t),"cacheAssist")}function Os(e){return lu(e)?(as(ks("checkKey","cache key is null or empty")),!1):!(!tu(e)&&!qi(e))||(as(ks("checkKey","cache key must be string or number, current type id "+typeof e)),!1)}function Is(){let e=null;try{e=js()}catch{return!1}return!Xi(e)&&!!e.localRuntimeCache}function Ns(){const t=js();return t.localRuntimeCache||(t.localRuntimeCache=new e),t.localRuntimeCache}function Ts({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.has(e)}function Fs({key:e,value:t,expiration:n=0}){if(!Os(e))return;const r=Ns();if(null==r)throw new Error("cache pool not exist");return r.set(e,t,n)}function Ps(e){if(!nu(e))throw new Error("setMultiCache: list must be array");if(e.length<=0)return!0;const t=[];for(const n of e){const{key:e,value:r,expiration:o}={key:"",value:"",expiration:0,...n};if(!lu(e)){if(!Os(e))continue;t.push({key:e,value:r,ttl:o})}}if(t.length<=0)return!1;const n=Ns();if(null==n)throw new Error("cache pool not exist");return n.mset(t)}function zs({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.getTtl(e)}function Ls({key:e,expiration:t}){const n=Ns();if(null==n)throw new Error("cache pool not exist");return n.ttl(e,t)}function Rs({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.get(e)}function Hs(){const e=Ns();if(null==e)throw new Error("cache pool not exist");return e.keys()}function Ys(e){if(!nu(e))throw new Error("getMultiCache: list must be array");const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.mget(e)}function Us({key:e}){const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.take(e)}function Ws({key:e}){if(!Os(e))return;const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.del(e)}function qs(e){if(!nu(e))throw new Error("deleteMultiCache: list must be array");const t=Ns();if(null==t)throw new Error("cache pool not exist");return t.del(e)}function Bs(){const e=Ns();if(null==e)throw new Error("cache pool not exist");return e.flushAll()}function Gs(){const e=Ns();if(null==e)throw new Error("cache pool not exist");return e.getStats()}const Vs="localStorageAssist";function Ks(e,t=""){return Gc(vu,Zc(e,t),Vs)}const Zs={getStorage:e=>{ys(Gc(vu,"localStorageGetter need config, use setLocalStorageGetter to set it",Vs))},setStorage:(e,t)=>{ys(Gc(vu,"localStorageSetter need config, use setLocalStorageSetter to set it",Vs))},removeStorage:e=>{ys(Gc(vu,"localStorageRemover need config, use setLocalStorageRemover to set it",Vs))},flushStorage:()=>{ys(Gc(vu,"localStorageFlusher need config, use setLocalStorageFlusher to set it",Vs))}};function Qs(e){cs(Ks("setLocalStorageGetter"),typeof e),Zs.getStorage=e}function Js(e){cs(Ks("setLocalStorageSetter"),typeof e),Zs.setStorage=e}function Xs(e){cs(Ks("setLocalStorageRemover"),typeof e),Zs.removeStorage=e}function el(e){cs(Ks("setLocalStorageFlusher"),typeof e),Zs.flushStorage=e}function tl(e){try{return Zs.getStorage(e)}catch(t){throw ys({key:e,e:t}),t}}function nl(e){const t=tl(e);return lu(t)?null:JSON.parse(t||"{}")}function rl(e,t){Zs.setStorage(e,t)}function ol(e,t){Zs.setStorage(e,ki(t||{}))}function al(e){Zs.removeStorage(e)}function il(){Zs.flushStorage()}const ul={accessWayCollection:"ea-accessWayCollection"};function cl(){let e={};const t=ul.accessWayCollection;if(Ts({key:t})&&(e=Rs({key:t}),nu(e)))return e;const n=nl(t);return null==(n||null)?{...Su}:(e={...n||null,...Su},Fs({key:t,value:e}),e)}function sl(e){ol(ul.accessWayCollection,e||{})}const ll="loggerAssist";function fl(e,t=""){return Gc(vu,Zc(e,t),ll)}function dl({text:e}){return lu(e||null)&&(cs(Gc(vu,Zc("checkMessagePromptData option text disallow empty","{ text }"),ll)),ss("checkMessagePromptData call stack")),!0}const bl={durationConversionRatio:1,showOpenMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showLoadingMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showInfoMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showSuccessMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{is(e)},showWarnMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{as(e)},showWarningMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{as(e)},showErrorMessage:({text:e,duration:t=1500,onClose:n=()=>{}})=>{gs(e)},setErrorMessageDisplayMonitorComplete:!1};function pl(e){let t=1;if(!qi(e)||$c(e)<=0){cs(Gc(vu,Zc("setDurationConversionRatio","parameter ratio must be number and getter than 0"),ll)),t=1}else t=e;cs("setDurationConversionRatio",$c(t)),bl.durationConversionRatio=$c(t)}function hl(e){cs(fl("setOpenMessageDisplayMonitor"),typeof e),bl.showOpenMessage=e}function ml(e){cs(fl("setLoadingMessageDisplayMonitor"),typeof e),bl.showLoadingMessage=e}function gl(e){cs(fl("setInfoMessageDisplayMonitor"),typeof e),bl.showInfoMessage=e}function yl(e){cs(fl("setSuccessMessageDisplayMonitor"),typeof e),bl.showSuccessMessage=e}function vl(e){cs(fl("setWarnMessageDisplayMonitor"),typeof e),bl.showWarnMessage=e}function wl(e){cs(fl("setWarningMessageDisplayMonitor"),typeof e),bl.showWarningMessage=e}function Sl(e){cs(fl("setErrorMessageDisplayMonitor"),typeof e),bl.showErrorMessage=e,bl.setErrorMessageDisplayMonitorComplete=!0}function Cl(e){xl({text:e})}function xl({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showOpenMessage)&&(dl({text:e}),bl.showOpenMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Al(e){Dl({text:e})}function Dl({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showLoadingMessage)&&(dl({text:e}),bl.showLoadingMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function $l(e){Ml({text:e})}function Ml({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showInfoMessage)&&(dl({text:e}),bl.showInfoMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function jl(e){El({text:e})}function El({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showSuccessMessage)&&(dl({text:e}),bl.showSuccessMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function _l(e){kl({text:e})}function kl({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showWarnMessage)&&(dl({text:e}),bl.showWarnMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Ol(e){Il({text:e})}function Il({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showWarningMessage)&&(dl({text:e}),bl.showWarningMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Nl(e){Tl({text:e})}function Tl({text:e,duration:t=1500,onClose:n=()=>{}}){Zi(bl.showErrorMessage)&&(dl({text:e}),bl.showErrorMessage({text:e,duration:t/bl.durationConversionRatio,onClose:n}))}function Fl(e){Pl({text:e})}function Pl({text:e}){lu(e||"")||(bl.setErrorMessageDisplayMonitorComplete&&Tl({text:e}),ys({text:e}))}const zl="applicationAssist",Ll={externalConfigListSetComplete:!1,initialConfigSetComplete:!1};function Rl(e,t=""){return Gc(vu,Zc(e,t),zl)}function Hl(e,t){if(!nu(t))return e;let n={...e};for(const e of t)ou(e)&&(n={...n,...e});return n}function Yl(e){if(cs(Rl("setApplicationInitialConfig"),typeof e),!ou(e)){const e="setApplicationInitialConfig -> config must be object";Ri()&&ns({text:Gc(vu,e,zl),color:ts.warn,dataDescription:"warn",ancillaryInformation:""}),Nl(e)}js().applicationInitialConfig=e,Ll.initialConfigSetComplete=!0}function Ul(e){if(Ll.externalConfigListSetComplete)return cs(Rl("setApplicationExternalConfigList"),"reset is not allowed, it can be set only once"),void Nl(Zc("setApplicationExternalConfigList","reset is not allowed, it can be set only once"));cs(Rl("setApplicationExternalConfigList"),typeof e);js().externalConfigList=nu(e)?e:ou(e)?[e]:[],Ll.externalConfigListSetComplete=!0}function Wl(){if(!Ll.initialConfigSetComplete)throw new Error(Gc(vu,"applicationInitialConfig has not set,use setApplicationInitialConfig to set it",zl));return js().applicationInitialConfig||{}}function ql(e){if(!Ll.externalConfigListSetComplete)return cs(Rl("appendApplicationExternalConfig"),"appendApplicationExternalConfig is not allowed when applicationConfiguration.externalConfigListSetComplete is false"),void Nl(Zc("appendApplicationExternalConfig","appendApplicationExternalConfig is not allowed when applicationConfiguration.externalConfigListSetComplete is false"));cs(Rl("appendApplicationExternalConfig"),typeof e),ou(e)&&!au(e)||_l(Zc("appendApplicationExternalConfig","appendApplicationExternalConfig ignore when config is null or empty or not object"));const t=js();t.externalConfigList=[...t.externalConfigList,e],t.applicationMergeConfig=Hl(Wl(),t.externalConfigList)}function Bl(){if(!Ll.externalConfigListSetComplete)throw new Error(Gc(vu,"applicationExternalConfigList has not set,use setApplicationExternalConfigList to set it",zl));const e=js();return nu(e.externalConfigList)?e.externalConfigList:[]}function Gl(){const e=js();return e.applicationConfigMergeComplete||(cs(Rl("merge application configuration")),e.applicationMergeConfig=Hl(Wl(),e.externalConfigList),e.applicationConfigMergeComplete=!0),e.applicationMergeConfig||{}}const Vl="ea-authorityCollection";function Kl(e){ms({authority:e},function(e,t=""){return Gc(vu,Zc(e,t),"authorityLocalAssist")}("setLocalAuthorityCollection"));ol(Vl,"string"==typeof e?[e]:e),Bs()}function Zl(){const e=tl(Vl);let t;try{e&&(t=JSON.parse(e))}catch{t=e}return"string"==typeof t?[t]:nu(t)?[...t]:[]}function Ql(){ms("removeLocalAuthorityCollection");al(Vl)}function Jl(e){let t=e;if(null==(t||null)&&(t=ku,cs({parameter:e},"easy-soft-utility::toDatetime",`parameter is not time, use default value ${ku}`)),eu(t))return new Date(t);if(tu(t)){if(t.indexOf("T")<0){const e=t.replaceAll("-","/");return new Date(e)}}return qi(t)?new Date($c(t)):new Date(t)}function Xl({target:e,convert:t}){if(Zi(t))return t(e);if(tu(t))switch(t){case Ou.number:return $c(e);case Ou.whetherNumber:return $c(e)===Pu.yes?Pu.yes:Pu.no;case Ou.whetherString:return $c(e)===Pu.yes?Fu.yes:Fu.no;case Ou.datetime:return Jl(e);case Ou.string:return _c(e);case Ou.money:return jc(e);case Ou.array:return null==(e||null)?[]:nu(e)?e:[e];default:return e}return e}var ef,tf={exports:{}};var nf,rf,of,af=ve(ef?tf.exports:(ef=1,tf.exports=(nf={year:0,month:1,day:2,hour:3,minute:4,second:5},rf={},function(e,t,n){var r,o=function(e,t,n){void 0===n&&(n={});var r=new Date(e),o=function(e,t){void 0===t&&(t={});var n=t.timeZoneName||"short",r=e+"|"+n,o=rf[r];return o||(o=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:n}),rf[r]=o),o}(t,n);return o.formatToParts(r)},a=function(e,t){for(var r=o(e,t),a=[],i=0;i<r.length;i+=1){var u=r[i],c=u.type,s=u.value,l=nf[c];l>=0&&(a[l]=parseInt(s,10))}var f=a[3],d=24===f?0:f,b=a[0]+"-"+a[1]+"-"+a[2]+" "+d+":"+a[4]+":"+a[5]+":000",p=+e;return(n.utc(b).valueOf()-(p-=p%1e3))/6e4},i=t.prototype;i.tz=function(e,t){void 0===e&&(e=r);var o,a=this.utcOffset(),i=this.toDate(),u=i.toLocaleString("en-US",{timeZone:e}),c=Math.round((i-new Date(u))/1e3/60),s=15*-Math.round(i.getTimezoneOffset()/15)-c;if(Number(s)){if(o=n(u,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(s,!0),t){var l=o.utcOffset();o=o.add(a-l,"minute")}}else o=this.utcOffset(0,t);return o.$x.$timezone=e,o},i.offsetName=function(e){var t=this.$x.$timezone||n.tz.guess(),r=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return"timezonename"===e.type.toLowerCase()}));return r&&r.value};var u=i.startOf;i.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return u.call(this,e,t);var r=n(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return u.call(r,e,t).tz(this.$x.$timezone,!0)},n.tz=function(e,t,o){var i=o&&t,u=o||t||r,c=a(+n(),u);if("string"!=typeof e)return n(e).tz(u);var s=function(e,t,n){var r=e-60*t*1e3,o=a(r,n);if(t===o)return[r,t];var i=a(r-=60*(o-t)*1e3,n);return o===i?[r,o]:[e-60*Math.min(o,i)*1e3,Math.max(o,i)]}(n.utc(e,i).valueOf(),c,u),l=s[0],f=s[1],d=n(l).utcOffset(f);return d.$x.$timezone=u,d},n.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},n.tz.setDefault=function(e){r=e}}))),uf={exports:{}};var cf=(of||(of=1,uf.exports=function(){var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,o,a){var i=o.prototype;a.utc=function(e){return new o({date:e,utc:!0,args:arguments})},i.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},i.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var u=i.parse;i.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),u.call(this,e)};var c=i.init;i.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var s=i.utcOffset;i.utcOffset=function(r,o){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?s.call(this):this.$offset;if("string"==typeof r&&(r=function(e){void 0===e&&(e="");var r=e.match(t);if(!r)return null;var o=(""+r[0]).match(n)||["-",0,0],a=o[0],i=60*+o[1]+ +o[2];return 0===i?0:"+"===a?i:-i}(r),null===r))return this;var i=Math.abs(r)<=16?60*r:r,u=this;if(o)return u.$offset=i,u.$u=0===r,u;if(0!==r){var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(u=this.local().add(i+c,e)).$offset=i,u.$x.$localOffset=c}else u=this.utc();return u};var l=i.format;i.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return l.call(this,t)},i.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},i.isUTC=function(){return!!this.$u},i.toISOString=function(){return this.toDate().toISOString()},i.toString=function(){return this.toDate().toUTCString()};var f=i.toDate;i.toDate=function(e){return"s"===e&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var d=i.diff;i.diff=function(e,t,n){if(e&&this.$u===e.$u)return d.call(this,e,t,n);var r=this.local(),o=a(e).local();return d.call(r,o,t,n)}}}()),uf.exports),sf=ve(cf);function lf({datetime:e,format:t="YYYY-MM-DD",locale:n=H.tz.guess(),convertEmptyDatetimeToNull:r=!0}){return r&&Jl(e).getTime()==Jl(ku).getTime()?null:H(e,t,n)}function ff(e,t){const n=Jl(e);return n.setHours(n.getHours()+t),n}function df(e,t){const n=Jl(e);return n.setMinutes(n.getMinutes()+t),n}function bf(e,t){const n=Jl(e);return n.setSeconds(n.getSeconds()+t),n}function pf(){return new Date}function hf(e,t){return Jl(e)<Jl(t)}function mf(e,t){return Jl(e)>Jl(t)}function gf(e=null){if(Xi(e)||!eu(e)){const e=Zc("getTimeStamp",Bc.buildMustDate({}));throw new Error(e)}return Jl(e).getTime()}function yf(e,t){const n=e.getTime(),r=(t.getTime()-n)/1e3,o=Number.parseInt(r/86400),a=r-24*o*60*60,i=Number.parseInt(a/3600),u=r-24*o*60*60-60*i*60,c=Number.parseInt(u/60);return{day:o,hour:i,minute:c,second:r-24*o*60*60-60*i*60-60*c}}H.extend(sf),H.extend(af);const vf=(e,t,n)=>{const r=Jl(e),o=t?Jl(t):new Date,a=o.getTime()-r.getTime();return"second"===n&&a/1e3||"minute"===n&&a/1e3/60||"hour"===n&&a/1e3/60/60||"day"===n&&a/1e3/60/60/24||"week"===n&&a/1e3/60/60/24/7||"month"===n&&wf(r,o)||"quarter"===n&&wf(r,o)/3||"year"===n&&wf(r,o)/12||a},wf=(e,t)=>{const n=Jl(e),r=Jl(t);return 12*(n.getFullYear()-r.getFullYear())+n.getMonth()-r.getMonth()};function Sf({data:e}){return H(e).day()}function Cf(e=!0){const t=H().day();if(!e)return t;let n="";switch($c(t)){case 0:n="日";break;case 1:n="一";break;case 2:n="二";break;case 3:n="三";break;case 4:n="四";break;case 5:n="五";break;case 6:n="六";break;default:n=""}return lu(n)?"":`星期${n}`}function xf(e){if(!tu(e)&&!qi(e))return ys({year:e},"param year must be string or number"),!1;tu(e)&&!Bi(e)&&ys({year:e},"param year must can convert to number");const t=qi(e)?e:$c(e);return t%4==0&&t%100!=0||t%400==0}function Af({year:e,month:t}){return new Date(`${e}/${t}/01 00:00:00`).getDay()}function Df({year:e,month:t}){return new Date(e,t,0).getDate()}function $f(e){return 15&Wu[e-1900]}function Mf(e){return $f(e)?65536&Wu[e-1900]?30:29:0}function jf(e){let t,n=348;for(t=32768;t>8;t>>=1)n+=Wu[e-1900]&t?1:0;return n+Mf(e)}function Ef(e,t){return t>12||t<1?-1:Wu[e-1900]&65536>>t?30:29}function _f(e,t){if(t>12||t<1)return-1;let n=t-1;return 1==n?e%4==0&&e%100!=0||e%400==0?29:28:qu[n]}function kf(e){let t=(e-3)%10,n=(e-3)%12;return 0==t&&(t=10),0==n&&(n=12),Bu[t-1]+Gu[n-1]}function Of(e,t){let n=[20,19,21,21,21,22,23,23,23,23,22,22];return"魔羯水瓶双鱼白羊金牛双子巨蟹狮子处女天秤天蝎射手魔羯".slice(2*e-(t<n[e-1]?2:0),2*e-(t<n[e-1]?2:0)+2)+"座"}function If(e){return Bu[e%10]+Gu[e%12]}function Nf(e,t){if(e<1900||e>2100)return-1;if(t<1||t>24)return-1;let n=Zu[e-1900],r=[Number.parseInt("0x"+n.slice(0,5)).toString(),Number.parseInt("0x"+n.slice(5,10)).toString(),Number.parseInt("0x"+n.slice(10,15)).toString(),Number.parseInt("0x"+n.slice(15,20)).toString(),Number.parseInt("0x"+n.slice(20,25)).toString(),Number.parseInt("0x"+n.slice(25,30)).toString()],o=[r[0].slice(0,1),r[0].slice(1,3),r[0].slice(3,4),r[0].slice(4,6),r[1].slice(0,1),r[1].slice(1,3),r[1].slice(3,4),r[1].slice(4,6),r[2].slice(0,1),r[2].slice(1,3),r[2].slice(3,4),r[2].slice(4,6),r[3].slice(0,1),r[3].slice(1,3),r[3].slice(3,4),r[3].slice(4,6),r[4].slice(0,1),r[4].slice(1,3),r[4].slice(3,4),r[4].slice(4,6),r[5].slice(0,1),r[5].slice(1,3),r[5].slice(3,4),r[5].slice(4,6)];return Number.parseInt(o[t-1])}function Tf(e){if(e>12||e<1)return-1;let t=Xu[e-1];return t+="月",t}function Ff(e){let t;switch(e){case 10:t="初十";break;case 20:t="二十";break;case 30:t="三十";break;default:t=Ju[Math.floor(e/10)],t+=Qu[e%10]}return t}function Pf(e){return Vu[(e-4)%12]}function zf({year:e,month:t,day:n}){if(e<1900||e>2100)return ys({year:e},"年份需要介于 1900 ~ 2100 之间"),null;if(1900==e&&1==t&&n<31)return ys({year:e},"可转换的日期下限为 1900.1.31"),null;const r=e?new Date(e,Number.parseInt(t)-1,n):new Date;let o=0,a=0,i=0;const u=r.getFullYear(),c=r.getMonth()+1,s=r.getDate();let l=(Date.UTC(r.getFullYear(),r.getMonth(),r.getDate())-Date.UTC(1900,0,31))/864e5;for(o=1900;o<2101&&l>0;o++)i=jf(o),l-=i;l<0&&(l+=i,o--);const f=new Date;let d=!1;f.getFullYear()==u&&f.getMonth()+1==c&&f.getDate()==s&&(d=!0);let b=r.getDay(),p=Qu[b];0==b&&(b=7);const h=o;a=$f(o);let m=!1;for(o=1;o<13&&l>0;o++)a>0&&o==a+1&&0==m?(--o,m=!0,i=Mf(h)):i=Ef(h,o),1==m&&o==a+1&&(m=!1),l-=i;0==l&&a>0&&o==a+1&&(m?m=!1:(m=!0,--o)),l<0&&(l+=i,--o);const g=o;let y=l+1,v=c-1;const w=kf(h);let S=Nf(h,2*c-1),C=Nf(h,2*c),x=If(12*(u-1900)+c+11);s>=S&&(x=If(12*(u-1900)+c+12));let A=!1,D="";S==s&&(A=!0,D=Ku[2*c-2]),C==s&&(A=!0,D=Ku[2*c-1]);const $=If(Date.UTC(u,v,1,0,0,0,0)/864e5+25567+10+s-1),M=Of(c,s);return{lunarYear:h,lunarMonth:g,lunarMonthName:(m?"闰":"")+Tf(g),lunarDay:y,lunarDayName:Ff(y),chineseZodiac:Pf(h),solarYear:u,solarMonth:c,solarDay:s,sexagenaryCycleYear:w,sexagenaryCycleMonth:x,sexagenaryCycleDay:$,whetherToday:d,whetherLeap:m,weekChineseHabit:b,weekName:"星期"+p,whetherTerm:A,term:D,constellation:M}}function Lf({year:e,month:t,day:n,whetherLeapMonth:r=!1}){const o=!!r;let a=a(e);if(o&&a!=t)return-1;if(2100==e&&12==t&&n>1||1900==e&&1==t&&n<31)return-1;let i=Ef(e,t),u=i;if(o&&(u=Mf(e)),e<1900||e>2100||n>u)return-1;let c=0;for(let t=1900;t<e;t++)c+=jf(t);let s=0,l=!1;for(let n=1;n<t;n++)s=a(e),!l&&s<=n&&s>0&&(c+=Mf(e),l=!0),c+=Ef(e,n);o&&(c+=i);let f=Date.UTC(1900,1,30,0,0,0),d=new Date(864e5*(c+n-31)+f);return zf({year:d.getUTCFullYear(),month:d.getUTCMonth()+1,day:d.getUTCDate()})}function Rf({data:e,places:t=2,thousand:n=",",decimal:r="."}){return Hf({data:e,places:t,symbol:"",thousand:n,decimal:r})}function Hf({data:e,places:t=2,symbol:n="¥",thousand:r=",",decimal:o="."}){let a=e||0,i=Number.isNaN(t=Math.abs(t))?2:t,u=void 0===n?"¥":n,c=r||",",s=o||".",l=a<0?"-":"",f=Number.parseInt(a=Math.abs(+a||0).toFixed(i),10)+"",d=f.length;return d=d>3?d%3:0,u+l+(d?f.slice(0,Math.max(0,d))+c:"")+f.slice(d).replaceAll(/(\d{3})(?=\d)/g,n+"1"+c)+(i?s+Math.abs(a-$c(f)).toFixed(i).slice(2):"")}function Yf({target:e}){let t,n,r,o=new Array("零","壹","贰","叁","肆","伍","陆","柒","捌","玖"),a=new Array("","拾","佰","仟"),i=new Array("","万","亿","兆"),u=new Array("角","分","毫","厘"),c="",s=e;if(tu(s)&&lu(s))return"";if(s=Number.parseFloat(s),s>=9999999999999.99)return"";if(0==s)return c=o[0]+"元整",c;if(s=s.toString(),s.includes(".")?(r=s.split("."),t=r[0],n=r[1].slice(0,4)):(t=s,n=""),Number.parseInt(t,10)>0){let e=0,n=t.length;for(let r=0;r<n;r++){let u=t.slice(r,r+1),s=n-r-1,l=s/4,f=s%4;"0"==u?e++:(e>0&&(c+=o[0]),e=0,c+=o[Number.parseInt(u)]+a[f]),0==f&&e<4&&(c+=i[l])}c+="元"}if(""!=n){let e=n.length;for(let t=0;t<e;t++){let e=n.slice(t,t+1);"0"!=e&&(c+=o[Number(e)]+u[t])}}return""==c?c+=o[0]+"元整":""==n&&(c+="整"),c}function Uf({data:e,format:t=Nu.yearMonthDayHourMinuteSecond}){return null==(e||null)?"":H(e).format(t)}function Wf({target:e,format:t,option:n={}}){if(Zi(t))return t(e);if(tu(t))switch(t){case Iu.money:return Hf({...n,data:e});case Iu.datetime:return Uf({data:e});case Iu.chineseMoney:return Yf({target:e});case Iu.percentage:return`${Pc(100*e,1)}%`;default:return e}return e}function qf(e,t){return e.replace(/%d/i,t)}function Bf(e,t,n={}){const r={second:["刚刚","片刻后"],seconds:["%d 秒前","%d 秒后"],minute:["大约 1 分钟前","大约 1 分钟后"],minutes:["%d 分钟前","%d 分钟后"],hour:["大约 1 小时前","大约 1 小时后"],hours:["%d 小时前","%d 小时后"],day:["1 天前","1 天后"],days:["%d 天前","%d 天后"],month:["大约 1 个月前","大约 1 个月后"],months:["%d 月前","%d 月后"],year:["大约 1 年前","大约 1 年后"],years:["%d 年前","%d 年后"],...n},o=vf(e,t),a=o<0?1:0,i=Math.abs(o)/1e3,u=i/60,c=u/60,s=c/24,l=s/365;return i<10&&qf(r.second[a],Number.parseInt(i))||i<45&&qf(r.seconds[a],Number.parseInt(i))||i<90&&qf(r.minute[a],1)||u<45&&qf(r.minutes[a],Number.parseInt(u))||u<90&&qf(r.hour[a],1)||c<24&&qf(r.hours[a],Number.parseInt(c))||c<42&&qf(r.day[a],1)||s<30&&qf(r.days[a],Number.parseInt(s))||s<45&&qf(r.month[a],1)||s<365&&qf(r.months[a],Number.parseInt(s/30))||l<1.5&&qf(r.year[a],1)||qf(r.years[a],Number.parseInt(l))}function Gf(e,t={}){return Bf(e,pf(),t)}function Vf(e,t=""){return Gc(vu,Zc(e,t),"common")}function Kf(e,t,n="..."){return e&&e.length>t?`${_c(e).slice(0,Math.max(0,t))}${n}`:_c(e)}function Zf(e,t,n,r){let o=_c(e);const a=(e||"").length;if(a>0&&(n>=0||r>=0))if(n>=a||r>=a||(n||0)+(r||0)>=a)o=e;else{o=e.slice(0,Math.max(0,n)+1)+t+e.slice(a-r)}return o||""}function Qf(e,t){Zi(t)&&t()}function Jf(e,t,n=null){if(Ji(e))return n;if(null==e)return n;if(!tu(t))return Vf("getPathValue","path must be string"),Pl({}),null;const r=Za(e,t,n);return Ji(n)||Xi(n)?r:r||n}function Xf(e,t){if(!tu(e))throw new Error(Vf("removeEndMatch",Bc.buildMustString({name:"target",value:e})));if(!tu(t))throw new Error(Vf("removeEndMatch",Bc.buildMustString({name:"match",value:t})));if(lu(e))return e;if(lu(t))return e;const n=e.lastIndexOf(t);return n>=0&&e.length===n+t.length?e.slice(n,t.length):e}function ed(e,t){if(!tu(e))throw new Error(Vf("removeLastMatch",Bc.buildMustString({name:"target",value:e})));if(!tu(t))throw new Error(Vf("removeLastMatch",Bc.buildMustString({name:"match",value:t})));if(lu(e))return e;if(lu(t))return e;const n=e.lastIndexOf(t);return n>=0?e.slice(n,t.length):e}function td({data:e,key:t,defaultValue:n=null,convert:r=null,convertBuilder:o=null,format:a=null,formatBuilder:i=null}){const u=Jf(e,t,n);let c=u;return null==(o||null)&&null==(r||null)||(c=Zi(o)?Xl({target:u,convert:o}):Xl({target:u,convert:r})),null==(i||null)&&null==(a||null)||(c=Zi(i)?Wf({target:c,format:i}):Wf({target:c,format:a})),c}function nd({operate:e,item:t,list:n,key:r,sortInitialValue:o=0}){if(Ji(r)||!tu(r))return _l(Vf("sortCollectionByKey","option parameter key need set, it must be string")),n;if(Ji(o)||!qi(o))return _l(Vf("sortCollectionByKey","option parameter sortInitialValue need set")),n;const a=[],i=[];let u=[];if((n||[]).length<=1){return kl({text:"无需排序!"}),n}const c=td({data:t,key:r,convert:Ou.number});for(const e of n||[]){const t=td({data:e,key:r,convert:Ou.number});t<c&&a.push(e),t>c&&i.push(e)}switch(e){case Tu.moveUp:if(c===o){return kl({text:"已经排在首位!"}),n}for(const[e,n]of(a||[]).entries())if(e<a.length-1)u.push(n);else{const e=t;e[r]-=1,u.push(e);const o=n;o[r]+=1,u.push(o)}u=[...u,...i];break;case Tu.moveDown:if(c===(n||[]).length+o-1){return kl({text:"已经排在末位!"}),n}u=[...u,...a];for(const[e,n]of(i||[]).entries())if(0===e){const e=n;e[r]-=1,u.push(e);const o=t;o[r]+=1,u.push(o)}else u.push(n);break;default:kl({text:`不符合的操作, 允许的操作为['${Tu.moveUp}','${Tu.moveDown}']!`});break}return u}function rd({list:e=[],convert:t=null,recursiveKey:n="children"}){return(nu(e)?e:[e]).map((e=>od({data:e,convert:t})))}function od({data:e,convert:t=null,recursiveKey:n="children"}){if(!Zi(t))return e;const r=t(e),o=e[n];let a=[];return nu(o)&&(a=o.map((e=>od({data:e,convert:t})))),r[n]=a,r}function ad(e,t,n=0){return!Ji(xi(e,t,n))}function id({target:e,value:t,compareValueHandler:n,handler:r}){if(!ou(e))throw new Error(Vf("handleItem",Bc.buildMustObject({name:"target",value:e})));if(!ou(e.state))throw new Error(Vf("handleItem",Bc.buildMustObject({name:"target.state",value:e.state})));const{metaListData:o}=e.state;if(!nu(o))throw new Error(Vf("handleItem",Bc.buildMustObject({name:"target.state.metaListData",value:o})));const a=ud({list:o,value:t,compareValueHandler:n,handler:r});ls(a,[Vf("handleItem"),"set target.state.metaListData","will trigger target forceUpdate"]),e.setState({metaListData:[...a]}),e.forceUpdate()}function ud({list:e,value:t,compareValueHandler:n,handler:r}){if(!nu(e))throw new Error(Vf("handleListItem",Bc.buildMustArray({name:"list",value:e})));if(ru(e))return e;let o=-1;if(Zi(n)){if(Zi(r)){for(const[r,a]of e.entries()){if(n(a)===t){o=r;break}}return o>=0&&(e[o]=r(e[o])),e}Pl({})}else Fl(Vf("handleItem",Bc.buildMustFunction({name:"compareValueHandler",value:n})))}const cd="authorityCollectionCache",sd="hasSuperPermission";function ld(e,t=""){return Gc(vu,Zc(e,t),"authorityAssist")}const fd={handleAuthorizationFail:e=>{},handleAuthorizationFailSetComplete:!1};function dd(e){fd.handleAuthorizationFailSetComplete?cs("setAuthorizationFailHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setAuthorizationFailHandler",typeof e):cs("setAuthorizationFailHandler","parameter must be function"),fd.handleAuthorizationFail=e,fd.handleAuthorizationFailSetComplete=!0)}function bd(){let e=[];if(Ts({key:cd})&&(e=Rs({key:cd}),nu(e)))return e;return e=[...Zl()],Fs({key:cd,value:e}),e}function pd(){if(Ts({key:sd})){const e=Rs({key:sd});if(void 0!==e)return!!e}const e=function(){let e="";const t=cl();if(!ou(t))return e;const n=td({data:t,key:"super"});if(ou(n)){const t=td({data:n,key:"permission"});tu(t)&&(e=t)}return e}();if(!lu(e)){if(((bd()||[]).find((t=>t===e))||"")===e)return Fs({key:sd,value:!0}),!0}return Fs({key:sd,value:!1}),!1}function hd(e){if(pd())return!0;let t="0";if(Ts({key:e})&&(t=Rs({key:e}),void 0!==t))return"0"!==t;const n=bd(),r=cl();t=void 0===(n||[]).find((t=>t===e))?"0":"1",Fs({key:e,value:t});const o="0"!==t;return o||ls({checkAuthority:e,listAuthority:n,accessWayCollection:r},"check authority fail"),o}function md(e){if(!fd.handleAuthorizationFailSetComplete)throw new Error(ld("doWhenAuthorizationFail","handleAuthorizationFail has not set, please use setAuthorizationFailHandler to set it"));Zi(fd.handleAuthorizationFail)&&fd.handleAuthorizationFail(e)}function gd(e){if(nu(e))return ru(e)?(as(ld("checkHasAuthority","authority is empty array")),!1):function(e){let t=!1;return nu(e)?(t=e.some((e=>hd(e))),t):tu(e)?(t=hd(e),t):t}(e);if(tu(e))return hd(e);throw ws({auth:e}),new Error("auth need string or string array, please check in console.")}const yd="function"==typeof Buffer,vd="function"==typeof TextDecoder?new TextDecoder:void 0,wd="function"==typeof TextEncoder?new TextEncoder:void 0,Sd=Array.prototype.slice.call("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="),Cd=(()=>{let e={};return Sd.forEach(((t,n)=>e[t]=n)),e})(),xd=/^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,Ad=String.fromCharCode.bind(String),Dd="function"==typeof Uint8Array.from?Uint8Array.from.bind(Uint8Array):e=>new Uint8Array(Array.prototype.slice.call(e,0)),$d=e=>e.replace(/[^A-Za-z0-9\+\/]/g,""),Md="function"==typeof btoa?e=>btoa(e):yd?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,n,r,o,a="";const i=e.length%3;for(let i=0;i<e.length;){if((n=e.charCodeAt(i++))>255||(r=e.charCodeAt(i++))>255||(o=e.charCodeAt(i++))>255)throw new TypeError("invalid character found");t=n<<16|r<<8|o,a+=Sd[t>>18&63]+Sd[t>>12&63]+Sd[t>>6&63]+Sd[63&t]}return i?a.slice(0,i-3)+"===".substring(i):a},jd=yd?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let n=0,r=e.length;n<r;n+=4096)t.push(Ad.apply(null,e.subarray(n,n+4096)));return Md(t.join(""))},Ed=e=>{if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?Ad(192|t>>>6)+Ad(128|63&t):Ad(224|t>>>12&15)+Ad(128|t>>>6&63)+Ad(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return Ad(240|t>>>18&7)+Ad(128|t>>>12&63)+Ad(128|t>>>6&63)+Ad(128|63&t)},_d=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,kd=yd?e=>Buffer.from(e,"utf8").toString("base64"):wd?e=>jd(wd.encode(e)):e=>Md(e.replace(_d,Ed)),Od=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,Id=e=>{switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return Ad((t>>>10)+55296)+Ad(56320+(1023&t));case 3:return Ad((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return Ad((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},Nd="function"==typeof atob?e=>atob($d(e)):yd?e=>Buffer.from(e,"base64").toString("binary"):e=>{if(e=e.replace(/\s+/g,""),!xd.test(e))throw new TypeError("malformed base64.");e+="==".slice(2-(3&e.length));let t,n,r,o="";for(let a=0;a<e.length;)t=Cd[e.charAt(a++)]<<18|Cd[e.charAt(a++)]<<12|(n=Cd[e.charAt(a++)])<<6|(r=Cd[e.charAt(a++)]),o+=64===n?Ad(t>>16&255):64===r?Ad(t>>16&255,t>>8&255):Ad(t>>16&255,t>>8&255,255&t);return o},Td=yd?e=>Dd(Buffer.from(e,"base64")):e=>Dd(Nd(e).split("").map((e=>e.charCodeAt(0)))),Fd=yd?e=>Buffer.from(e,"base64").toString("utf8"):vd?e=>vd.decode(Td(e)):e=>Nd(e).replace(Od,Id),Pd=e=>Fd($d(e.replace(/[-_]/g,(e=>"-"==e?"+":"/"))));function zd(e){return Pd(e)}function Ld(e){return((e,t=!1)=>t?(e=>e.replace(/=/g,"").replace(/[+\/]/g,(e=>"+"==e?"-":"_")))(kd(e)):kd(e))(e)}function Rd(e){return 1*e<10?`0${e}`:e}function Hd(e){return e.reduce(((e,t)=>e+t))/e.length}function Yd({seed:e}){return`#${("00000"+Math.trunc(16777216*Oi({seed:e})).toString(16)).slice(-6)}`}function Ud(e,t="RGB",n=!1){let r=(e??"").toLowerCase();if(/^#([\dA-f]{3}|[\dA-f]{6})$/.test(r)){4===r.length&&(r=`#${r.charAt(1)}${r.charAt(1)}${r.charAt(2)}${r.charAt(2)}${r.charAt(3)}${r.charAt(3)}`);const e=[];for(let t=1;t<7;t+=2)e.push(Number.parseInt("0x"+r.slice(t,t+2)));return t?`${t}(${e.join(",")})`:n?e:e.join(",")}return ys(`Invalid hex color -> ${e}`),r}function Wd({progress:e,startColor:t,endColor:n}){const r=Ud(t,null,!0),o=Ud(n,null,!0),[a,i,u]=r,[c,s,l]=o;return`#${[(a+Math.round((c-a)*e)).toString(16),(i+Math.round((s-i)*e)).toString(16),(u+Math.round((l-u)*e)).toString(16)].join("").toUpperCase()}`}function qd({direct:e,list:t=[]}){return`linear-gradient(${qi(e)?`${e}deg`:e}, ${t.join(",")})`}function Bd(e,t){return Ji(t)?e:t}function Gd(...e){let t=ni({},e[0]);for(let n=1;n<e.length;n++)t=ri(t,e[n],Bd);return t}function Vd(e){if(e&&"object"==typeof e){let t="";for(const n of Object.keys(e)){t+=`${(n.replace(/([A-Z])/g,"-$1")??"").toLowerCase()}:${e[n]};`}return t}return e&&"string"==typeof e?e:""}function Kd(e,t){return e&&"object"==typeof e&&t&&"object"==typeof t?Object.assign({},e,t):Vd(e)+Vd(t)}function Zd(e,t){const n=e;for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e]);return n}const Qd="ea-token",Jd="token";function Xd(){return Jd}function eb(){return tl(Qd)}function tb(e){return rl(Qd,e)}function nb(){return al(Qd)}function rb(){const e={};return e[`${Xd()}`]=eb()||"",e}const ob="ea-currentOperator";function ab(){return ob}function ib(){ms("getCurrentOperatorCache");const e=nl(ob);return null==(e||null)||""===e.flag||e.flag!==eb()?null:e.data||null}function ub(e){ms("setCurrentOperatorCache");return ol(ob,{data:e||null,flag:eb()||""})}function cb(){ms("removeCurrentOperatorCache");al(ob)}const sb={prepareCallback:()=>{},setPrepareComplete:!1,prepareExecuteComplete:!1};function lb(){sb.prepareExecuteComplete||(cs(Gc(vu,"tryDoDvaPrepareWork","dvaAssist"),"try to do dva prepare work"),Zi(sb.prepareCallback)&&sb.prepareCallback(),sb.prepareExecuteComplete=!0)}function fb(e){Ri()&&ns({text:"setPrepareCallback",color:ts.execute,dataDescription:"execute",ancillaryInformation:""}),sb.prepareCallback=e,sb.setPrepareComplete=!0}const db={reducerNormalData:"reducerNormalData",reducerRemoteData:"reducerRemoteData",reducerRemoveKey:"reducerRemoveKey"};function bb(e,t){lb();const{payload:n,alias:r,cacheData:o}={alias:null,cacheData:!1,...t};let a=null;if(Ji(r)||!tu(r)?a={...e,data:n}:(a={...e},a[r]=n),o){const e=function(e){const{type:t}={type:"",...e},n=`${t}`.split("/");return 2===n.length?n[0]:""}(t);cs(`modal ${e} cache data, key is ${e}_${r||"data"}`,Fs({key:`${e}_${r||"data"}`,value:n})?"cache success":"cache fail")}return a}function pb(e,t){lb();const{payload:n}={payload:{},...t};return{...e,...ou(n)?n:{}}}function hb(e,t){const{payload:n}={payload:{},...t},r={...e};if(tu(n)&&delete r[n],nu(n)&&!ru(n))for(const e of n)tu(e)&&delete r[n];return r}const mb={reducerRemoteData:(e,t)=>bb(e,t),reducerNormalData:(e,t)=>pb(e,t),reducerRemoveKey:(e,t)=>hb(e,t)};function gb(){return lb(),{data:{code:0,message:"success",dataSuccess:!0,data:{},list:[],extra:{}}}}const yb={cacheData:!1},vb={callback:null,pretreatment:null};function wb(e,t,n=5,r=0){if(!qi(e))return e;if(!qi(t)||t<=0)throw new Error(Gc(vu,`pxToRem -> root value must be number and greater than 0, current root value [${t}] is invalid`,"htmlAssist"));const o=Number.parseFloat(e);if(o<r)return e;const a=$c(o/t,n);return 0===a?"0":a+"rem"}function Sb(e,t=""){const n=/\/\//gi,r=lu(t)?e:`${t}${e}`;if(r.indexOf("://")<0)return r.replaceAll(n,"/");let o=r.replaceAll(/:\/\//gi,"!:-/-/!");o=o.replaceAll(n,"/");return o.replaceAll(/!:-\/-\/!/gi,"://")}const Cb="ea-localMetaData";function xb(){return Cb}function Ab(){const e=nl(Cb);if(null==(e||null))return null;const{dataVersion:t}=e;if(null==(t||null))return null;const{data:n}={data:null,...e};return n||null}function Db(e){ms("setLocalMetaData");return ol(Cb,{data:e,dataVersion:Number.parseInt(Date.now()/1e3/60/30,10)})}function $b(){al(Cb)}const Mb="modelAssist",jb="ea-modelNameList",Eb={embedBuilders:[],extraBuilders:[],buildComplete:!1,models:[]};function _b(){return Eb.embedBuilders.length+Eb.extraBuilders.length}function kb(e){if(!Zi(e))throw new Error(Gc(vu,"appendEmbedBuilder -> builder must be none parameter function and return an object, current is "+typeof e,Mb));Eb.embedBuilders.push(e)}function Ob(e){if(!Zi(e))throw new Error(Gc(vu,"appendExtraBuilder -> builder must be none parameter function and return an object, current is "+typeof e,Mb));Eb.extraBuilders.push(e)}function Ib(){const e=[],t=[],n=[];for(const n of Eb.embedBuilders)if(Zi(n)){const r=n();if(ou(r)){const{namespace:n}=r;e.push(r),t.push(n)}}cs("append embed builder",ru(t)?"no embed model builder has set, ignore":t.join(","));for(const t of Eb.extraBuilders)if(Zi(t)){const r=t();if(ou(r)){const{namespace:t}=r;e.push(r),n.push(t)}}cs("append extra builder",ru(n)?"no extra model builder has set yet, ignore":n.join(",")),Eb.buildComplete=!0,Eb.models=e,cs(function(e,t=""){return Gc(vu,Zc(e,t),Mb)}("buildModelCollection"),"models build complete")}function Nb(){if(!Eb.buildComplete){Ib();const e=Eb.models.map((e=>{const{namespace:t}=e;return t})).join(",");cs(`all model collection -> ${e}`),Fb(e)}return Eb.models}function Tb(){return tl(jb)}function Fb(e){return rl(jb,e||"")}function Pb(){al(jb)}const zb="navigationAssist";function Lb(e,t=""){return Gc(vu,Zc(e,t),zb)}const Rb={navigateTo:e=>{ys(Gc(vu,"setNavigator need config, use setNavigator to set it",zb))},redirectTo:e=>{ys(Gc(vu,"setRedirector need config, use setRedirector to set it",zb))}};function Hb(e){cs(Lb("setNavigator"),typeof e),Rb.navigateTo=e}function Yb(e){cs(Lb("setRedirector"),typeof e),Rb.redirectTo=e}function Ub(e){if(tu(e)||ou(e))Rb.redirectTo(e);else{Nl("invalid parameter, params need string or object")}}function Wb(e){if(tu(e)||ou(e))Rb.navigateTo(e);else{Nl("invalid parameter, params need string or object")}}const qb={showOpenNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Zc(e,t))},showLoadingNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Zc(e,t))},showInfoNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Zc(e,t))},showSuccessNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{is(Zc(e,t))},showWarnNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{as(Zc(e,t))},showWarningNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{as(Zc(e,t))},showErrorNotification:({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}})=>{gs(Zc(e,t))}};function Bb(e){qb.showOpenNotification=e}function Gb(e){qb.showLoadingNotification=e}function Vb(e){qb.showInfoNotification=e}function Kb(e){qb.showSuccessNotification=e}function Zb(e){qb.showWarnNotification=e}function Qb(e){qb.showWarningNotification=e}function Jb(e){qb.showErrorNotification=e}function Xb(e){ep({description:e})}function ep({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showOpenNotification)&&qb.showOpenNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function tp(e){np({description:e})}function np({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showLoadingNotification)&&qb.showLoadingNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function rp(e){op({description:e})}function op({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showInfoNotification)&&qb.showInfoNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function ap(e){ip({description:e})}function ip({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showWarnNotification)&&qb.showWarnNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function up(e){cp({description:e})}function cp({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showWarningNotification)&&qb.showWarningNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function sp(e){lp({description:e})}function lp({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showSuccessNotification)&&qb.showSuccessNotification({title:e,description:t,placement:n,duration:r,onClose:o})}function fp(e){dp({description:e})}function dp({title:e,description:t="",placement:n="",duration:r=3e3,onClose:o=()=>{}}){Zi(qb.showErrorNotification)&&qb.showErrorNotification({title:e,description:t,placement:n,duration:r,onClose:o})}const bp="ea-nearestLocalhostNotify";function pp(){const e=nl(bp);return null==(e||null)||null==(e.nearestTime||null)?null:e||null}function hp(){return ol(bp,{nearestTime:Number.parseInt(Date.now()/1e3,10)})}function mp(){al(bp)}function gp({text:e}){let t=!1,n=0;const r=pp()||null;null==r?t=!0:n=r.nearestTime||0;const o=Number.parseInt(Date.now()/1e3,10);try{n+30<o&&(t=!0),t&&(ep({title:"Current Request Host",description:e}),cs("current request host",`"${e}"`),hp())}catch(e){os(e)}}function yp(e){al(e)}function vp(e){const t=nl(e);if(null==(t||null))return yp(e),null;if(""===(t.dataVersion||""))return yp(e),null;const n=Number.parseInt(Date.now()/1e3/60/30,10);return t.dataVersion<n?(yp(e),null):t.useParamsData||null}function wp(e,t){return ol(e,{useParamsData:t||null,dataVersion:Number.parseInt(Date.now()/1e3/60/30,10)})}function Sp(e,t=""){return Gc(vu,Zc(e,t),"progressAssist")}const Cp={handleProgressStart:()=>{},handleProgressStartSetComplete:!1,handleProgressStop:()=>{},handleProgressStopSetComplete:!1};function xp(e){Cp.handleProgressStartSetComplete?cs("setProgressStartHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setProgressStartHandler",typeof e):cs("setProgressStartHandler","parameter must be function"),Cp.handleProgressStart=e,Cp.handleProgressStartSetComplete=!0)}function Ap(e){Cp.handleProgressStopSetComplete?cs("setProgressStopHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setProgressStopHandler",typeof e):cs("setProgressStopHandler","parameter must be function"),Cp.handleProgressStop=e,Cp.handleProgressStopSetComplete=!0)}function Dp(){if(!Cp.handleProgressStartSetComplete)throw new Error(Sp("startProgress -> handleProgressStart has not set, please use setProgressStartHandler to set it"));Cp.handleProgressStart()}function $p(){if(!Cp.handleProgressStopSetComplete)throw new Error(Sp("stopProgress -> handleProgressStop has not set, please use setProgressStopHandler to set it"));Cp.handleProgressStop()}function Mp(e,t=""){let n=Y(e);if(lu(t))return n;if(lu(n))return t;const r=t.lastIndexOf("?")>=0?"&":"?";return`${t}${r}${n}`}function jp(e){return U(e)}function Ep(e,t=""){return Gc(vu,Zc(e,t),"requestAssist")}const _p={successCodeSetComplete:!1,authenticationFailCodeSetComplete:!1,successCode:200,authenticationFailCode:2001,promptSimulation:!1,promptSimulationSetComplete:!1,urlGlobalPrefix:"",handleSupplementGlobalHeader:()=>({}),handleSupplementGlobalHeaderSetComplete:!1,handleRequest:async({url:e,method:t=ju.post,data:n={},header:r=[],option:o={}})=>{},handleRequestSetComplete:!1,handleAuthenticationFail:()=>{},handleAuthenticationFailSetComplete:!1,handleSimulationAuthorizeExtra:()=>!0,handleSimulationAuthorizeExtraSetComplete:!1};function kp(e){_p.successCodeSetComplete?cs("setSuccessCode","reset is not allowed, it can be set only once"):(qi(e)?cs("setSuccessCode",$c(e)):cs("setSuccessCode","parameter must be number"),_p.successCode=$c(e),_p.successCodeSetComplete=!0)}function Op(e){_p.authenticationFailCodeSetComplete?cs("setAuthenticationFailCode","reset is not allowed, it can be set only once"):(qi(e)?cs("setAuthenticationFailCode",$c(e)):cs("setAuthenticationFailCode","parameter must be number"),_p.authenticationFailCode=$c(e),_p.authenticationFailCodeSetComplete=!0)}function Ip(e){_p.promptSimulationSetComplete?cs("setPromptSimulation","reset is not allowed, it can be set only once"):(Qi(e)?cs("setPromptSimulation",kc(e)):cs("setPromptSimulation","parameter must be bool"),_p.promptSimulation=kc(e),_p.promptSimulationSetComplete=!0)}function Np(){return _p.urlGlobalPrefix||""}function Tp(e){if(!tu(e))throw new Error(Ep("setUrlGlobalPrefix param globalPrefix need string","current is "+typeof e));_p.urlGlobalPrefix=e}function Fp(e){_p.handleRequestSetComplete?cs("setRequestHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs(Ep("setRequestHandler"),typeof e):cs(Ep("setRequestHandler"),"parameter must be function"),_p.handleRequest=e,_p.handleRequestSetComplete=!0)}function Pp(e){_p.handleAuthenticationFailSetComplete?cs("setAuthenticationFailHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setAuthenticationFailHandler",typeof e):cs("setAuthenticationFailHandler","parameter must be function"),_p.handleAuthenticationFail=e,_p.handleAuthenticationFailSetComplete=!0)}function zp(e){_p.handleSimulationAuthorizeExtraSetComplete?cs("setSimulationAuthorizeExtraHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setSimulationAuthorizeExtraHandler",typeof e):cs("setSimulationAuthorizeExtraHandler","parameter must be function"),_p.handleSimulationAuthorizeExtra=e,_p.handleSimulationAuthorizeExtraSetComplete=!0)}function Lp(e){_p.handleSupplementGlobalHeaderSetComplete?cs("setGlobalHeaderSupplementHandler","reset is not allowed, it can be set only once"):(Zi(e)?cs("setGlobalHeaderSupplementHandler",typeof e):cs("setGlobalHeaderSupplementHandler","parameter must be function"),_p.handleSupplementGlobalHeader=e,_p.handleSupplementGlobalHeaderSetComplete=!0)}function Rp(e){const{code:t,message:n}=e,r={code:-1,message:"",data:null,list:[],extra:null},o=Es(),a=$c(t);if(a!==r.code){const e=Date.now();a===_p.authenticationFailCode?hs("api call failed, authentication fail"):(as(`api call failed, code: ${a}, message: ${n}`),a===$c(o.code)?e-o.time>800&&(Nl(n),_s({code:a,message:n,time:e})):(Nl(n),_s({code:a,message:n,time:e}))),a===_p.authenticationFailCode&&Gp()}}function Hp({source:e,pretreatment:t=null,successCallback:n=null,failCallback:r=null}){const{code:o,message:a}={code:-1,message:"",data:null,list:[],extra:null,...e};let i={};const u=$c(o);if(u===$c(_p.successCode)){const{data:r,extra:o}=e;Zi(t)&&(i=t(e)),i={code:u,message:a,data:r||{},extra:o||{},dataSuccess:!0},Zi(n)&&n(i)}else i={code:u,message:a||"网络异常",data:null,extra:null,dataSuccess:!1},Zi(r)&&r(i),Rp(i);return i}function Yp({source:e,pretreatment:t=null,itemPretreatment:n=null,successCallback:r=null,failCallback:o=null}){const{code:a,message:i}=e||{code:-1,message:"",data:null,list:[],extra:null};let u={};const c=$c(a);if(c===$c(_p.successCode)){let o=e;Zi(t)&&(o=t(e));const{list:a,extra:s}=o,l=(a||[]).map(((e,t)=>{let r=e;return null==(r.key||null)&&(r.key=`list-${t}`),Zi(n)&&(r=n(r)),r}));u={code:c,message:i,count:(l||[]).length,list:l,extra:s,dataSuccess:!0},Zi(r)&&r(u)}else u={code:c,message:i||"网络异常",count:0,list:[],extra:null,dataSuccess:!1},Zi(o)&&o(u),Rp(u);return u}function Up({source:e,pretreatment:t=null,itemPretreatment:n=null,successCallback:r=null,failCallback:o=null}){const{code:a,message:i}=e||{code:-1,message:"",data:null,list:[],extra:null};let u={};const c=$c(a);if(c===$c(_p.successCode)){let o=e;Zi(t)&&(o=t(e));const{list:a,extra:s}=o,{pageNo:l,total:f,pageSize:d}={pageNo:0,pageSize:0,total:0,...s},b=(a||[]).map(((e,t)=>{let r=e;return null==(r.key||null)&&(r.key=`${l}-${t}`),Zi(n)&&(r=n(r)),r}));u={code:c,message:i,count:(b||[]).length,list:b,pagination:{total:f,pageSize:d,current:Number.parseInt(l||1,10)||1},extra:s,dataSuccess:!0},Zi(r)&&r(u)}else u={code:c,message:i||"网络异常",count:0,list:[],extra:null,pagination:{total:0,pageSize:10,current:1},dataSuccess:!1},Zi(o)&&o(u),Rp(u);return u}function Wp(e,t){let n={...e};return"function"==typeof t&&(n=t(n)),Object.fromEntries(Object.keys(n).filter((e=>null!=n[e])).map((e=>[e,n[e]])))}function qp(e,t,n){const{payload:r,callback:o,pretreatment:a,alias:i,cacheData:u}=t;let c=Yp(r);Zi(o)&&(c=o(c));let s=null;if(Ji(i)||!tu(i))return{...e,data:c};if(s={...e},s[i]=c,u){hs(`modal ${n} cache data, key is ${n}_${i||"data"}, ${Fs({key:`${n}_${i||"data"}`,value:c})?"cache success":"cache fail"}.`)}return s}function Bp(e,t,n){const{payload:r,callback:o,pretreatment:a,alias:i,cacheData:u}=t;let c=Up(r);Zi(o)&&(c=o(c));let s=null;if(Ji(i)||!tu(i))return{...e,data:c};if(s={...e},s[i]=c,u){cs(`modal ${n} cache data, key is ${n}_${i||"data"}, ${Fs({key:`${n}_${i||"data"}`,value:c})?"cache success":"cache fail"}.`)}return s}function Gp(){if(!_p.handleAuthenticationFailSetComplete)throw new Error(Ep("handleAuthenticationFail","handleAuthenticationFail has not set, please use setAuthenticationFailHandler to set it"));_p.handleAuthenticationFail()}function Vp(){return Zi(_p.handleSimulationAuthorizeExtra)?_p.handleSimulationAuthorizeExtra():(cs(Ep("handleSimulationAuthorizeExtra","handleSimulationAuthorizeExtra is not function, ignore execute, if you need it, please use setSimulationAuthorizeExtraHandler to set it")),!0)}async function Kp({api:e,urlParams:t=null,params:n={},header:r={},method:o=ju.post,mode:a=Mu.real,promptSimulation:i=_p.promptSimulation,promptSimulationDelay:u=500,simulateRequestMaxDelay:c=0,simulativeSuccessResponse:s={},simulativeFailResponse:l={code:1001,message:"虚拟未知错误"},simulateRequestResult:f=!0,simulativeAuthorize:d=!1}){let b=_p.urlGlobalPrefix;if(!tu(b))throw as(b,"error globalPrefix"),new Error("url global prefix is not string");if(!tu(e))throw as(e,"error api"),new Error("api is not string");let p=e;if(Nc(p).startsWith("http://")||Nc(p).startsWith("https://")?p=e:(lu(b)||(b=`/${b}/`),p=`${b}${e}`.replace("//","/")),p=Sb(p),null!=(t||null)&&(tu(t)&&(p=`${p}?${t}`),ou(t)&&(p=`${p}?${Mp(t)}`)),a===Mu.simulation){ls(`api request is simulation mode, simulate start,${c>0?`max delay ${c}ms,`:""} api is "${e}".`),i&&setTimeout((()=>{$l("由虚拟访问返回")}),u>0?u:0);let h={},m=!1;if(d){if(lu(eb())||(m=!0),!Zi(_p.handleSimulationAuthorizeExtra))throw new Error("handleSimulationAuthorizeExtra must be function and return boolean");m=_p.handleSimulationAuthorizeExtra()||!1}return d&&!m?Gp():(ls({api:e,method:o,header:r,urlParams:t,params:n,apiVersion:b,mode:a,simulateRequestMaxDelay:c,simulativeAuthorize:d},Ep("request",`simulation request address: "${p}"`)),h=await th({api:e,simulateRequestMaxDelay:c,dataBuild:e=>{e(f?Jp({response:s,needAuthorize:d}):Qp({response:l,needAuthorize:d}))}}),ls({response:h},Ep("request","simulation request complete"))),h}ls({api:e,method:o,header:r,urlParams:t,params:n,apiVersion:b,mode:a},Ep("request",`request address: "${p}"`));const h=bi(Oc(o));if(du([ju.get,ju.post],h)){const e=await async function({url:e,method:t=ju.post,data:n={},header:r=[],option:o={}}){ms({url:e,method:t,data:n,header:r,option:o},Ep('realRequest"'));let a=r;if(_p.handleSupplementGlobalHeaderSetComplete&&Zi(_p.handleSupplementGlobalHeader)){const e=_p.handleSupplementGlobalHeader();ou(e)&&(a={...r,...e})}if(!_p.handleRequestSetComplete)throw new Error(Ep("realRequest","handleRequest has not set, please use setRequestHandler to set it"));return await _p.handleRequest({url:e,method:t,data:n,header:a,option:o})}({url:p,data:n,header:{...r},option:{},method:ju.post});return ls({requestResult:e},Ep("request","real request complete")),e}throw new Error(`unsupported method:${o}`)}function Zp(){return lu(eb())}function Qp({response:e,code:t,message:n,needAuthorize:r=!0}){return r?Zp()?(Fl(n),{code:t,message:n,success:!1,...e}):{code:_p.authenticationFailCode,message:"登录失效, 请重新登录",success:!1}:(Fl(n),{code:t,message:n,success:!1,...e})}function Jp({response:e,needAuthorize:t=!0}){return t?Zp()?{code:_p.successCode,message:"success",success:!0,...e}:{code:_p.authenticationFailCode,message:"登录失效, 请重新登录",success:!1}:{code:_p.successCode,message:"success",success:!0,...e}}async function Xp({remoteResponse:e,needAuthorize:t=!0}){let n={};await new Promise((e=>{setTimeout((()=>{e(Jp({needAuthorize:t}))}),300)})).then((e=>(n=e,e))).catch((e=>{gs(e)}));const{code:r}=n;return r===_p.authenticationFailCode&&Gp(),n}async function eh({remoteResponse:e,needAuthorize:t=!0}){let n={};await new Promise((t=>{setTimeout((()=>{t(Qp(e))}),300)})).then((e=>(n=e,e))).catch((e=>{gs(e)}));const{code:r,message:o}=n;return r===_p.authenticationFailCode?Gp():r!==_p.successCode&&_l(o),n}async function th({api:e="",simulateRequestMaxDelay:t=200,dataBuild:n}){let r={};await new Promise((e=>{if(Zi(n)){const r=t>0?$c(Math.random()*t):0;ls(`api request simulate realy delay ${r}ms`),setTimeout((()=>{n(e)}),r)}})).then((t=>(ls("api request simulate completed",`"${e}"`),r=t,t))).catch((e=>{gs(e)}));const{code:o,message:a}=r;return o!==_p.successCode&&Ol(a),r}const nh="sessionStorageAssist",rh={getStorage:e=>{ys(Gc(vu,Zc("sessionStorageGetter need config, use setSessionStorageGetter to set it",`key ${e}`),nh))},setStorage:(e,t)=>{ys(Gc(vu,Zc("sessionStorageSetter need config, use setSessionStorageSetter to set it",`key ${e}, value type ${typeof t}`),nh))},removeStorage:e=>{ys(Gc(vu,Zc("sessionStorageRemover need config, use setSessionStorageRemover to set it",`key ${e}`),nh))},flushStorage:()=>{ys(Gc(vu,"sessionStorageFlusher need config, use setSessionStorageFlusher to set it",nh))}};function oh(e){rh.getStorage=e}function ah(e){rh.setStorage=e}function ih(e){rh.removeStorage=e}function uh(e){rh.flushStorage=e}function ch(e){try{return rh.getStorage(e)}catch(t){throw ys({key:e,e:t}),t}}function sh(e){const t=ch(e);return lu(t)?null:JSON.parse(t||"{}")}function lh(e,t){rh.setStorage(e,t)}function fh(e,t){rh.setStorage(e,ki(t||{}))}function dh(e){rh.removeStorage(e)}function bh(){rh.flushStorage()}function ph(e,t,n=""){return`请${t||"输入"}${e}${lu(n)?"":`,${n}`}`}function hh({label:e,name:t,helper:n}){let r="",o="",a="";if(tu(e))r=e;else{const r=Bc.buildMustString({name:"label",value:e});gs({label:e,name:t,helper:n},r),Nl(r)}if(tu(t))o=t;else{const r=Bc.buildMustString({name:"name",value:t});gs({label:e,name:t,helper:n},r),Nl(r)}if(tu(n||""))a=n;else{const r=Bc.buildMustString({name:"helper",value:n});gs({label:e,name:t,helper:n},r),Nl(r)}return{label:r,name:o,helper:a}}function mh(e,t="注: "){return`${t}${e}. `}export{Su as accessWaySpecialCollection,ff as addHour,df as addMinute,bf as addSecond,Sb as adjustUrl,xu as alignHorizontal,Au as alignVertical,ql as appendApplicationExternalConfig,kb as appendEmbedBuilder,Ob as appendExtraBuilder,Ll as applicationConfiguration,ni as assign,ri as assignWith,Zd as attachPropertiesToComponent,fd as authorityAssist,Hd as averageArray,Jc as buildBase64Jpeg,Qc as buildBase64Png,ph as buildFieldDescription,mh as buildFieldHelper,Wd as buildHexColor,qd as buildLinearGradient,Ib as buildModelCollection,Gc as buildPromptModuleInfo,Mp as buildQueryStringify,Ud as buildRGBColorFromHexColor,Yd as buildRandomHexColor,Qp as buildSimulateRequestFailResponse,Jp as buildSimulateRequestSuccessResponse,Vd as buildStringStyle,rb as buildTokenData,vf as calculateDateInterval,wf as calculateMonthInterval,yf as calculateTimeInterval,Bi as canToNumber,ji as checkDarkMode,ad as checkExist,hh as checkFromConfig,gd as checkHasAuthority,Li as checkHasMore,du as checkInCollection,pd as checkIsSuper,dl as checkMessagePromptData,fu as checkObjectIsNullOrEmpty,lu as checkStringIsNullOrWhiteSpace,Ri as checkWhetherDevelopmentEnvironment,Qu as chineseNumeralCollection,Vu as chineseZodiacCollection,Ii as cloneWithoutMethod,mf as compareTimeGreaterThan,hf as compareTimeLessThan,Ou as convertCollection,Lf as convertLunarToSolar,kf as convertLunarYearToSexagenaryCycleYear,wb as convertPixelToRem,zf as convertSolarToLunar,If as convertToSexagenaryCycle,lf as createDayJsDatetime,Nu as datetimeFormat,Ai as debounce,zd as decodeBase64,Ws as deleteCache,qs as deleteMultiCache,vi as difference,rs as displayObjectMessage,ns as displayTextMessage,fi as dropRight,Gu as earthlyBranchCollection,Kf as ellipsis,ku as emptyDatetime,Ld as encodeBase64,Xa as endsWith,Cu as environmentCollection,Uu as errorImage,$i as evil,Is as existCachePool,wi as filter,xi as find,Ci as findIndex,si as first,Rd as fixedZero,ci as floor,Bs as flushAllCache,il as flushLocalStorage,bh as flushSessionStorage,ai as forEach,Iu as formatCollection,Bf as formatDateInterval,Gf as formatDateIntervalWithNow,Uf as formatDatetime,Rf as formatDecimal,Hf as formatMoney,Yf as formatMoneyToChinese,Wf as formatTarget,Yi as generateNumberCollection,Za as get,cl as getAccessWayCollectionCache,Bl as getApplicationExternalConfigList,Wl as getApplicationInitialConfig,Gl as getApplicationMergeConfig,_i as getBrowserInfo,Ei as getBrowserVersion,_b as getBuilderCount,Rs as getCache,Ns as getCachePool,Pf as getChineseZodiac,Of as getConstellation,ib as getCurrentOperatorCache,ab as getCurrentOperatorCacheKey,Sf as getDayOfWeek,zs as getExpiration,zi as getGuid,nl as getJsonFromLocalStorage,sh as getJsonFromSessionStorage,Es as getLastRequestExceptionMessage,Mf as getLeapDays,$f as getLeapMonth,Zl as getLocalAuthorityCollection,Ab as getLocalMetaData,xb as getLocalMetaDataCacheKey,Ss as getLoggerDisplaySwitch,jf as getLunarYearDays,Nb as getModelCollection,Tb as getModelNameList,Df as getMonthDay,Ef as getMonthDays,Ys as getMultiCache,pp as getNearestLocalhostNotifyCache,pf as getNow,vp as getParametersDataCache,Jf as getPathValue,js as getRuntimeDataStorage,_f as getSolarDays,tl as getStringFromLocalStorage,ch as getStringFromSessionStorage,gb as getTacitlyState,Nf as getTerm,gf as getTimeStamp,Cf as getTodayOfWeek,eb as getToken,Xd as getTokenKeyName,Np as getUrlGlobalPrefix,Hi as getValue,td as getValueByKey,Af as getWeekday,Qa as groupBy,ii as gte,Gp as handleAuthenticationFail,md as handleAuthorizationFail,vb as handleDefaultParameters,id as handleItem,qp as handleListDataAssist,ud as handleListItem,Bp as handlePageListDataAssist,Vp as handleSimulationAuthorizeExtra,Ts as hasCache,bu as hasKey,Bu as heavenlyStemCollection,gu as inYear,nu as isArray,yu as isAsyncFunction,hu as isBetweenDatetime,Qi as isBoolean,Mi as isBrowser,eu as isDate,Wi as isDatetime,ru as isEmptyArray,au as isEmptyObject,Vi as isEqual,Ki as isEqualBySerialize,Zi as isFunction,su as isImageBase4,Ui as isInvalid,Gi as isMoney,Xi as isNull,qi as isNumber,ou as isObject,iu as isPlainObject,uu as isPromise,tu as isString,pu as isToday,Ji as isUndefined,cu as isUrl,mu as isWeekend,xf as judgeLeapYear,Hs as keys,Zs as localStorageAssist,bs as logCallResult,ds as logCallTrace,fs as logCallTrack,ts as logColorCollection,us as logConfig,xs as logConsole,os as logData,hs as logDebug,cs as logDevelop,Lu as logDisplay,gs as logError,ys as logException,ms as logExecute,is as logInfo,zu as logLevel,ws as logObject,ps as logRender,ss as logStack,vs as logText,ls as logTrace,as as logWarn,es as loggerSwitch,Wu as lunarInfoCollection,Ju as lunarPrefixCollection,Xu as lunarSuffixCollection,mi as map,ui as memoize,Kc as mergeArrowText,Gd as mergeProperties,Kd as mergeStyle,Vc as mergeTextCollection,Zc as mergeTextMessage,bl as messagePromptAssist,Hu as messageTypeCollection,Eb as modelContainer,wu as modelGlobalCollection,Wb as navigateTo,Rb as navigationAssist,qb as notificationPromptAssist,Ru as notificationTypeCollection,jp as parseQueryString,sb as preparationWork,Yp as pretreatmentRemoteListData,Up as pretreatmentRemotePageListData,Hp as pretreatmentRemoteSingleData,Wp as pretreatmentRequestParameters,Cp as progressAssist,Bc as promptTextBuilder,Ub as redirectTo,mb as reducerCollection,yb as reducerDefaultParameters,db as reducerNameCollection,pb as reducerNormalDataAssist,bb as reducerRemoteDataAssist,hb as reducerRemoveKeyAssist,Ni as refitCommonData,Ti as refitFieldDecoratorOption,cb as removeCurrentOperatorCache,Xf as removeEndMatch,hi as removeFromArray,ed as removeLastMatch,Ql as removeLocalAuthorityCollection,$b as removeLocalMetaData,al as removeLocalStorage,Pb as removeModelNameList,mp as removeNearestLocalhostNotifyCache,yp as removeParametersDataCache,dh as removeSessionStorage,nb as removeToken,pi as replace,Zf as replaceWithKeep,Kp as request,_p as requestConfiguration,ju as requestMethod,Mu as requestMode,oi as reverse,Ja as round,Ds as runtimeConfiguration,ol as saveJsonToLocalStorage,fh as saveJsonToSessionStorage,rl as saveStringToLocalStorage,lh as saveStringToSessionStorage,Fi as searchFromList,Oi as seededRandom,rh as sessionStorageAssist,gi as set,sl as setAccessWayCollectionCache,Ul as setApplicationExternalConfigList,Yl as setApplicationInitialConfig,Op as setAuthenticationFailCode,Pp as setAuthenticationFailHandler,dd as setAuthorizationFailHandler,Fs as setCache,ub as setCurrentOperatorCache,pl as setDurationConversionRatio,Sl as setErrorMessageDisplayMonitor,Jb as setErrorNotificationDisplayMonitor,Ls as setExpiration,Lp as setGlobalHeaderSupplementHandler,gl as setInfoMessageDisplayMonitor,Vb as setInfoNotificationDisplayMonitor,_s as setLastRequestExceptionMessage,ml as setLoadingMessageDisplayMonitor,Gb as setLoadingNotificationDisplayMonitor,Kl as setLocalAuthorityCollection,Db as setLocalMetaData,el as setLocalStorageFlusher,Qs as setLocalStorageGetter,Xs as setLocalStorageRemover,Js as setLocalStorageSetter,Cs as setLoggerDisplaySwitch,Fb as setModelNameList,Ps as setMultiCache,Hb as setNavigator,hp as setNearestLocalhostNotifyCache,hl as setOpenMessageDisplayMonitor,Bb as setOpenNotificationDisplayMonitor,wp as setParametersDataCache,fb as setPrepareCallback,xp as setProgressStartHandler,Ap as setProgressStopHandler,Ip as setPromptSimulation,Yb as setRedirector,Fp as setRequestHandler,Ms as setRuntimeDataStorage,uh as setSessionStorageFlusher,oh as setSessionStorageGetter,ih as setSessionStorageRemover,ah as setSessionStorageSetter,zp as setSimulationAuthorizeExtraHandler,kp as setSuccessCode,yl as setSuccessMessageDisplayMonitor,Kb as setSuccessNotificationDisplayMonitor,tb as setToken,Tp as setUrlGlobalPrefix,vl as setWarnMessageDisplayMonitor,Zb as setWarnNotificationDisplayMonitor,wl as setWarningMessageDisplayMonitor,Qb as setWarningNotificationDisplayMonitor,Tl as showErrorMessage,dp as showErrorNotification,Ml as showInfoMessage,op as showInfoNotification,Dl as showLoadingMessage,np as showLoadingNotification,xl as showOpenMessage,ep as showOpenNotification,Pl as showRuntimeError,Nl as showSimpleErrorMessage,fp as showSimpleErrorNotification,$l as showSimpleInfoMessage,rp as showSimpleInfoNotification,Al as showSimpleLoadingMessage,tp as showSimpleLoadingNotification,Cl as showSimpleOpenMessage,Xb as showSimpleOpenNotification,Fl as showSimpleRuntimeError,jl as showSimpleSuccessMessage,sp as showSimpleSuccessNotification,_l as showSimpleWarnMessage,ap as showSimpleWarnNotification,Ol as showSimpleWarningMessage,up as showSimpleWarningNotification,El as showSuccessMessage,lp as showSuccessNotification,kl as showWarnMessage,ip as showWarnNotification,Il as showWarningMessage,cp as showWarningNotification,eh as simulateFailRequest,th as simulateRequest,Xp as simulateSuccessRequest,yi as size,Qf as sleep,qu as solarMonthCollection,Ku as solarTermCollection,Si as sortBy,nd as sortCollectionByKey,Tu as sortOperate,ei as sortedUnique,ti as split,Dp as startProgress,li as startsWith,Gs as statisticsCache,$p as stopProgress,ul as storageKeyCollection,ki as stringifyJson,Us as takeCache,Zu as termInfoCollection,Di as throttle,Xl as to,kc as toBoolean,Mc as toBoundary,Ff as toChinaDay,Tf as toChinaMonth,Jl as toDatetime,Nc as toLower,Tc as toLowerFirst,Dc as toMd5,jc as toMoney,$c as toNumber,Ec as toPercentage,Fc as toPromise,Pc as toRound,Ac as toSha1,_c as toString,zc as toUniqueArray,Oc as toUpper,Ic as toUpperFirst,od as transformData,rd as transformListData,Yu as transparentImage,bi as trim,lb as tryDoDvaPrepareWork,gp as trySendNearestLocalhostNotify,$u as underlyingExtensionState,Du as underlyingState,di as uniqBy,Pu as whetherNumber,Fu as whetherString,_u as zeroInt,Eu as zeroString};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easy-soft-utility",
3
- "version": "2.8.89",
3
+ "version": "2.8.91",
4
4
  "private": false,
5
5
  "description": "easy-soft-utility",
6
6
  "keywords": [
@@ -69,20 +69,20 @@
69
69
  "react-dom": "^18.3.1"
70
70
  },
71
71
  "devDependencies": {
72
- "@babel/core": "^7.26.10",
73
- "@babel/eslint-parser": "^7.27.0",
74
- "@babel/plugin-external-helpers": "^7.25.9",
75
- "@babel/plugin-proposal-decorators": "^7.25.9",
76
- "@babel/plugin-transform-class-properties": "^7.25.9",
77
- "@babel/plugin-transform-runtime": "^7.26.10",
78
- "@babel/preset-env": "^7.26.9",
79
- "@babel/preset-react": "^7.26.3",
80
- "@babel/runtime": "^7.27.0",
81
- "@changesets/cli": "^2.28.1",
82
- "@commitlint/cli": "^19.8.0",
83
- "@commitlint/config-conventional": "^19.8.0",
84
- "@commitlint/config-pnpm-scopes": "^19.8.0",
85
- "@pmmmwh/react-refresh-webpack-plugin": "^0.5.16",
72
+ "@babel/core": "^7.27.4",
73
+ "@babel/eslint-parser": "^7.27.5",
74
+ "@babel/plugin-external-helpers": "^7.27.1",
75
+ "@babel/plugin-proposal-decorators": "^7.27.1",
76
+ "@babel/plugin-transform-class-properties": "^7.27.1",
77
+ "@babel/plugin-transform-runtime": "^7.27.4",
78
+ "@babel/preset-env": "^7.27.2",
79
+ "@babel/preset-react": "^7.27.1",
80
+ "@babel/runtime": "^7.27.6",
81
+ "@changesets/cli": "^2.29.4",
82
+ "@commitlint/cli": "^19.8.1",
83
+ "@commitlint/config-conventional": "^19.8.1",
84
+ "@commitlint/config-pnpm-scopes": "^19.8.1",
85
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.6.0",
86
86
  "@rollup/plugin-alias": "^5.1.1",
87
87
  "@rollup/plugin-babel": "6.0.4",
88
88
  "@rollup/plugin-buble": "^1.0.3",
@@ -95,71 +95,71 @@
95
95
  "@svgr/rollup": "^8.1.0",
96
96
  "@types/fs-extra": "^11.0.4",
97
97
  "@types/jest": "^29.5.14",
98
- "@types/lodash": "^4.17.16",
99
- "@types/node": "^22.14.1",
98
+ "@types/lodash": "^4.17.17",
99
+ "@types/node": "^24.0.0",
100
100
  "@types/object-hash": "^3.0.6",
101
- "@types/qs": "^6.9.18",
101
+ "@types/qs": "^6.14.0",
102
102
  "@types/react": "^18.3.1",
103
103
  "@types/react-dom": "^18.3.1",
104
- "@types/shelljs": "^0.8.15",
104
+ "@types/shelljs": "^0.8.16",
105
105
  "@types/webpack-env": "^1.18.8",
106
- "@typescript-eslint/eslint-plugin": "^8.29.1",
107
- "@typescript-eslint/parser": "^8.29.1",
106
+ "@typescript-eslint/eslint-plugin": "^8.34.0",
107
+ "@typescript-eslint/parser": "^8.34.0",
108
108
  "autoprefixer": "^10.4.21",
109
109
  "babel-cli": "^6.26.0",
110
- "babel-jest": "^29.7.0",
110
+ "babel-jest": "^30.0.0",
111
111
  "babel-plugin-import": "^1.13.8",
112
112
  "classnames": "^2.5.1",
113
113
  "commitizen": "^4.3.1",
114
- "conventional-changelog-conventionalcommits": "^8.0.0",
114
+ "conventional-changelog-conventionalcommits": "^9.0.0",
115
115
  "cross-env": "^7.0.3",
116
- "cssnano": "^7.0.6",
116
+ "cssnano": "^7.0.7",
117
117
  "cz-git": "^1.11.1",
118
118
  "docdash": "^2.0.2",
119
- "easy-soft-develop": "^2.1.281",
119
+ "easy-soft-develop": "^2.1.287",
120
120
  "eslint": "^8.57.0",
121
121
  "eslint-config-airbnb": "^19.0.4",
122
122
  "eslint-config-airbnb-typescript": "^18.0.0",
123
- "eslint-config-prettier": "^10.1.2",
123
+ "eslint-config-prettier": "^10.1.5",
124
124
  "eslint-formatter-pretty": "^6.0.1",
125
- "eslint-import-resolver-typescript": "^4.3.2",
125
+ "eslint-import-resolver-typescript": "^4.4.3",
126
126
  "eslint-plugin-eslint-comments": "^3.2.0",
127
127
  "eslint-plugin-import": "^2.31.0",
128
- "eslint-plugin-jest": "^28.11.0",
128
+ "eslint-plugin-jest": "^28.13.0",
129
129
  "eslint-plugin-jsx-a11y": "^6.10.2",
130
- "eslint-plugin-prettier": "^5.2.6",
130
+ "eslint-plugin-prettier": "^5.4.1",
131
131
  "eslint-plugin-promise": "^7.2.1",
132
132
  "eslint-plugin-react": "^7.37.5",
133
133
  "eslint-plugin-react-hooks": "^5.2.0",
134
134
  "eslint-plugin-simple-import-sort": "^12.1.1",
135
135
  "eslint-plugin-unicorn": "^52.0.0",
136
136
  "husky": "^9.1.7",
137
- "jest": "^29.7.0",
137
+ "jest": "^30.0.0",
138
138
  "jsdoc": "^4.0.4",
139
- "lint-staged": "^15.5.1",
139
+ "lint-staged": "^16.1.0",
140
140
  "mm": "^4.0.2",
141
- "npm-check-updates": "^17.1.18",
142
- "postcss": "^8.5.3",
141
+ "npm-check-updates": "^18.0.1",
142
+ "postcss": "^8.5.4",
143
143
  "postcss-less": "^6.0.0",
144
144
  "postcss-pxtorem": "^6.1.0",
145
145
  "prettier": "^3.5.3",
146
146
  "prettier-plugin-organize-imports": "^4.1.0",
147
- "prettier-plugin-packagejson": "^2.5.10",
147
+ "prettier-plugin-packagejson": "^2.5.15",
148
148
  "react-refresh": "^0.17.0",
149
149
  "rimraf": "^6.0.1",
150
- "rollup": "^4.40.0",
150
+ "rollup": "^4.42.0",
151
151
  "rollup-plugin-copy": "^3.5.0",
152
152
  "rollup-plugin-livereload": "^2.0.5",
153
153
  "rollup-plugin-postcss": "^4.0.2",
154
154
  "rollup-plugin-serve": "^3.0.0",
155
155
  "rollup-plugin-typescript2": "^0.36.0",
156
- "shelljs": "^0.9.2",
157
- "stylelint": "^16.18.0",
156
+ "shelljs": "^0.10.0",
157
+ "stylelint": "^16.20.0",
158
158
  "stylelint-config-css-modules": "^4.4.0",
159
159
  "stylelint-config-standard": "^38.0.0",
160
160
  "stylelint-declaration-block-no-ignored-properties": "^2.8.0",
161
- "stylelint-order": "^6.0.4",
161
+ "stylelint-order": "^7.0.0",
162
162
  "terminal-kit": "^3.1.2",
163
- "webpack": "^5.99.5"
163
+ "webpack": "^5.99.9"
164
164
  }
165
165
  }