Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nevware21/ts-utils

Package Overview
Dependencies
Maintainers
0
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nevware21/ts-utils - npm Package Compare versions

Comparing version 0.11.3 to 0.11.4

4

bundle/es5/iife/ts-utils.min.js

@@ -1,3 +0,3 @@

/*! https://github.com/nevware21/ts-utils v0.11.3 */
function n(n,r){return n||r}function r(n,r){return n[r]}function f(n,r){try{return{v:n.apply(this,r)}}catch(n){return{e:n}}}function L(n,r){n=f(n);return n.e?r:n.v}function R(r){return function(n){return typeof n===r}}function _(n){var r="[object "+n+"]";return function(n){return!(!n||W(n)!==r)}}function W(n){return xr[I].call(n)}function o(n){return typeof n===m||n===m}function c(n){return n===h||o(n)}function B(n){return n===h||!K(n)}function K(n){return!!n||n!==d}function $(n){return mr=mr||["string","number","boolean",m,"symbol","bigint"],n!==Sr&&!!~mr.indexOf(n)}function G(n){return!(!n&&c(n)||!n||typeof n!==Sr)}function H(n){return!!(n&&n.then&&E(n.then))}function U(n){return!(!n||L(function(){return!(n&&0+n)},!n))}function M(n,r){return!!n&&xr.hasOwnProperty[S](n,r)}function V(n,r){return M(n,r)||!!_r(n,r)}function i(n,r,t){if(n&&G(n))for(var e in n)if(Wr(n,e)&&-1===r[S](t||n,e,n[e]))break}function J(r){var n,t={};return t[Br.c]=!0,t[Br.e]=!0,r.l&&(t.get=function(){return r.l.v},n=_r(r.l,"v"))&&n.set&&(t.set=function(n){r.l.v=n}),i(r,function(n,r){t[Br[n]]=o(r)?t[Br[n]]:r}),t}function q(n,r,t){return C(n,r,J(t))}function Z(n,t,e,r,u){var o={};return i(n,function(n,r){Q(o,n,t?r:n,u),Q(o,r,e?r:n,u)}),r?r(o):o}function Q(n,r,t,e){C(n,r,{value:t,enumerable:!0,writable:!!e})}function a(n,r){var t=g,e=xr[I][S](n);e===$r&&(n={stack:F(n.stack),message:F(n.message),name:F(n.name)});try{t=(t=JSON.stringify(n,h,r?"number"==typeof r?r:4:d))&&t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: ")||F(n)}catch(n){t=" - "+a(n,r)}return e+": "+t}function s(n){throw new TypeError(n)}function X(n){throw new RangeError(n)}function Y(n){var t=[];return i(n,function(n,r){t.push([n,r])}),t}function nn(n){return n}function rn(n){return n[Ir]||h}function tn(n){return Z(n,0,0,Mr)}function en(n){var t={};return i(n,function(n,r){Q(t,n,r[1]),Q(t,r[0],r[1])}),Mr(t)}function un(){var n;return(n=(n=(n=typeof globalThis!==m?globalThis:n)||typeof self===m?n:self)||typeof window===m?n:window)||typeof global===m?n:global}function on(){var n;return Zr||(n=f(un).v||{},Zr=n[Xr]=n[Xr]||{}),Zr}function t(e,n,u){var o=n&&n[e];return function(n){var r,t=n&&n[e]||o;if(t||u)return r=arguments,(t||u).apply(n,t?T[S](r,1):r);s('"'+F(e)+'" not defined for '+a(n))}}function cn(r){return function(n){return n[r]}}function an(n,r,t){return c(n)&&s("Invalid "+a(n)),t<0?g:((r=r||0)<0&&(r=nt(r+n[w],0)),o(t)?rt(n,r):rt(n,r,r+t))}function fn(){var n;return ut||(n=on(),ut=n.gblSym=n.gblSym||{k:{},s:{}}),ut}function sn(n){var r={description:F(n),toString:function(){return Tr+"("+n+")"}};return r[jr]=!0,r}function ln(n){var r,t,e=fn();return Wr(e.k,n)||(r=sn(n),t=Ur(e.s).length,r[it]=function(){return t+"_"+r[I]()},e.k[n]=r,e.s[r[it]()]=F(n)),e.k[n]}function pn(n){n&&n[I]&&tt(n[I](),0,6)==Tr||s(n+" is not a symbol");n=n[jr]&&n[it]&&n[it]();return n?fn().s[n]:void 0}function vn(n){ot=ot||{};n=Qr[n];return n?ot[n]=ot[n]||sn(Tr+"."+n):void 0}function u(){P=on()}function yn(r){var t={};return P||u(),t.b=P.lzy,C(t,"v",{configurable:!0,get:function(){var n=r();return P.lzy||C(t,"v",{value:n}),t.b=P.lzy,n}}),t}function l(n){return C({toJSON:function(){return n}},"v",{value:n})}function e(n,r){var t;return function(){return P||u(),(t=t&&!P.lzy?t:l(f(n,r).v)).v}}function dn(n){return P||u(),(ct=ct&&!1!==n&&!P.lzy?ct:l(f(un).v||h)).v}function p(n,r){r=ct&&!1!==r?ct.v:dn(r);return r&&r[n]?r[n]:n===at?st():h}function hn(){return pt=l(f(p,[Tr]).v)}function gn(n){var r=(P.lzy?0:pt)||hn();return r.v?r.v[n]:d}function bn(){return!!mn()}function mn(){return P||u(),((P.lzy?0:pt)||hn()).v}function wn(n,r){var t=Qr[n],e=(P||u(),(P.lzy?0:pt)||hn());return e.v?e.v[t||n]:r?d:vn(n)}function Sn(n){return!!n&&E(n.next)}function In(n){return!B(n)&&E(n[wn(3)])}function On(r,n,t){if(r&&(Sn(r)||(r=r[(bt=bt||l(wn(3))).v]?r[bt.v]():null),Sn(r))){var e=d,u=d;try{for(var o=0;!(u=r.next()).done&&-1!==n[S](t||r,u.value,o,r);)o++}catch(n){e={e:n},r.throw&&(u=h,r.throw(e))}finally{try{u&&!u.done&&r.return&&r.return(u)}finally{if(e)throw e.e}}}}function v(n,r,t){return n.apply(r,t)}function Tn(n,r){return n.bind.apply(n,T[S](arguments,1))}function jn(n,r,t){if(n)for(var e=n[w]>>>0,u=0;u<e&&!(u in n&&-1===r[S](t||n,n[u],u,n));u++);}function En(n,r,t){return(n&&n.slice||T).apply(n,T[S](arguments,1))}function xn(n,r,t){return-1!==It(n,r,t)}function Cn(n,r,t){r=Fn(n,r,t);return-1!==r?n[r]:void 0}function Fn(t,e,u){var o=-1;return jn(t,function(n,r){if(e[S](u|t,n,r,t))return o=r,-1}),o}function Pn(n,r,t){r=Dn(n,r,t);return-1!==r?n[r]:void 0}function Dn(n,r,t){for(var e=-1,u=(n[w]>>>0)-1;0<=u;u--)if(u in n&&r[S](t|n,n[u],u,n)){e=u;break}return e}function kn(n,t,e){var r,u;return x(n)?(r=En(n),t?Tt(r,t,e):r):(u=[],On(n,function(n,r){return u.push(t?t[S](e,n,r):n)}),u)}function An(t,e){return function(){var n=T[S](arguments),r=t();return v(r[e],r,n)}}function zn(n){var r;return n?((r=typeof n)!==Sr&&r!==wr&&s("Prototype must be an Object or function: "+a(n)),t[b]=n,new t):{};function t(){}}function Nn(n,r){return(O.setPrototypeOf||function(t,n){var r;(zt=zt||l(((r={})[Ir]=[],r instanceof Array))).v?t[Ir]=n:i(n,function(n,r){return t[n]=r})})(n,r)}function Ln(n,r){r&&(n[Er]=r)}function Rn(u,o,n){var r,t,i=n||Error,c=i[b][Er],a=Error.captureStackTrace,n=i;return f(q,[t=function(){var n=this,r=arguments;try{f(Ln,[i,u]);var t,e=v(i,n,T[S](r))||n;return e!==n&&(t=Jr(n))!==Jr(e)&&Nn(e,t),a&&a(e,n[Or]),o&&o(e,r),e}finally{f(Ln,[i,c])}},Er,{v:r=u,c:!0,e:!1}]),(t=Nn(t,n))[b]=n===h?Lt(n):(e[b]=n[b],new e),t;function e(){this[Or]=t,f(q,[this,Er,{v:r,c:!0,e:!1}])}}function _n(){return(Date.now||Wn)()}function Wn(){return(new Date).getTime()}function Bn(r){return function(n){return c(n)&&s("strTrim called ["+a(n)+"]"),n&&n.replace?n.replace(r,g):n}}function Kn(n,i,c){return Bt(F(n)).replace(/((_|\W)+(\w){0,1}|([a-z])([A-Z]))/g,function(n,r,t,e,u,o){e=e||o||g;return c&&(e=k(e)),(u||g)+i+e})}function $n(n,r){return Kn(n,"",!0).replace(/^\w/,r?k:Ut)}function Gn(n){n=+n;return(0<n?Mt:Vt)(n)}function Hn(n,r){var t=+n;return t==1/0&&r&&X("invalid value ["+a(n)+"]"),t!=t||0==t?0:Jt(t)}function Un(n,r){c(n)&&s("can't convert ["+a(n)+"]"),(r=Hn(r,!0))<0&&X("invalid count must be >= 0 && < Infinity");for(var t=j(n)?n:F(n),e=g;0<r;(r>>>=1)&&(t+=t))1&r&&(e+=t);return e}function Mn(n,r,t){var e=g,n=(r=Hn(r,!0),n[w]);return n<(r>>=0)&&(e=(r-=n)>(e=c(t)?" ":F(t))[w]?qt(e,Vt(r/e[w])):e)[w]>r?tt(e,0,r):e}function Vn(n,r,t){return Mn(n,r,t)+n}function Jn(n,r,t){return n+Mn(n,r,t)}function qn(n){if(!n||typeof n!==Sr)return!1;var r=!1;if(n!==(ne=ne||st()||!0)){Yt||(Xt=Function[b][I],Yt=Xt[S](O));try{var t=Jr(n),r=(r=!t)||(t=M(t,Or)?t[Or]:t)&&typeof t===wr&&Xt[S](t)===Yt}catch(n){}}return r}function Zn(n){return n.value&&ur(n),!0}function Qn(t,n,e,r){var u,o,i=e.handler,r=e.path?r?e.path.concat(r):e.path:[],c={handler:e.handler,src:e.src,path:r},a=typeof n,f=!1,s=!1,l=(n&&a===Sr?f=qn(n):s=n===h||$(a),{type:a,isPrim:s,isPlain:f,value:n,result:n,path:r,origin:e.src,copy:function(n,r){return Qn(t,n,r?c:e,r)},copyTo:function(n,r){return Xn(t,n,r,c)}});return l.isPrim?i&&i[S](e,l)?l.result:n:(u=n,a=function(r){q(l,"result",{g:function(){return r.v},s:function(n){r.v=n}});for(var n=0,t=i;!(t||(n<te.length?te[n++]:Zn))[S](e,l);)t=h},jn(s=t,function(n){if(n.k===u)return o=n,-1}),o||(o={k:u,v:u},s.push(o),a(o)),o.v)}function Xn(n,r,t,e){if(!c(t))for(var u in t)r[u]=Qn(n,t[u],e,u);return r}function Yn(n,r,t){return Xn([],n,r,{handler:t,src:r,path:[]})}function nr(n,r){return Qn([],n,{handler:r,src:n})}function rr(n){var r,t=n.value;return!!x(t)&&((r=n.result=[]).length=t.length,n.copyTo(r,t),!0)}function tr(n){var r=n.value;return!!Cr(r)&&(n.result=new Date(r.getTime()),!0)}function er(n){return n.type===wr}function ur(n){var r,t=n.value;return!(!t||!n.isPlain||(r=n.result={},n.copyTo(r,t),0))}function or(r,n){return jn(n,function(n){Yn(r,n)}),r}function ir(){return P||u(),(ee=ee&&!P.lzy?ee:l(f(p,["performance"]).v)).v}function cr(){var n=ir();return n&&n.now?n.now():_n()}function ar(n){return cr()-n}function fr(n,r,t,e,u){return RegExp((u?"^":g)+t(n.replace(r,"\\$1"))+(u?"$":g),e?"i":"")}function sr(n,r){return n[wn(3)]=function(){return lr(r)},n}function lr(r){var t=!1;function e(){return r.v}var n={next:function(){var n={done:t=t||!r.n||r.n(arguments)};return t||q(n,"value",{g:e}),n}};return r.r&&(n.return=function(n){return{done:t=!0,value:r.r&&r.r(n)}}),r.t&&(n.throw=function(n){return{done:t=!0,value:r.t&&r.t(n)}}),n}function pr(n,r,t){r=r&&r[wn(9)];return r?r(n,t):[n]}function vr(n,r,t){j(n)||s("'"+a(n)+"' is not a string");r=j(r)?r:F(r),t=!o(t)&&t<n[w]?t:n[w];return tt(n,t-r[w],t)===r}function yr(n,r,t){return Dr(r)&&s("'searchString' must not be a regular expression"+a(r)),-1!==fe(n,F(r),t)}function dr(n,r,t){j(n)||s("'"+a(n)+"' is not a string");r=j(r)?r:F(r),t=0<t?t:0;return tt(n,t,t+r[w])===r}function hr(n,r,t){var e,u=!0,o=n?r(h):h;function i(){return u=!1,o&&o[ve]&&o[ve](),e}function c(){o&&t(o),o=h}function a(){return o=r(o),u||i(),e}return(e={cancel:c,refresh:a})[ye]=function(){return o&&o[ye]?o[ye]():u},e[pe]=function(){return u=!0,o&&o[pe]&&o[pe](),e},e[ve]=i,{h:e=C(e,de,{get:function(){return!!o},set:function(n){!n&&o&&c(),n&&!o&&a()}}),dn:function(){o=h}}}function gr(n,r,t){var e=x(r),u=e?r.length:0,o=(0<u?r[0]:e?d:r)||setTimeout,i=(1<u?r[1]:d)||clearTimeout,c=t[0],a=(t[0]=function(){a.dn(),v(c,d,T[S](arguments))},hr(n,function(n){if(n){if(n.refresh)return n.refresh(),n;v(i,d,[n])}return v(o,d,t)},function(n){v(i,d,[n])}));return a.h}function br(n,r){return gr(!0,d,T[S](arguments))}var y,mr,d,h,g,wr,Sr,b,Ir,m,Or,Tr,jr,w,Er,S,I,O,xr,T,j,E,x,Cr,Fr,Pr,Dr,kr,Ar,zr,Nr,Lr,Rr,_r,Wr,Br,C,Kr,F,$r,Gr,Hr,Ur,Mr,Vr,Jr,qr,Zr,Qr,Xr,Yr,nt,rt,tt,et,ut,ot,P,it,ct,at,ft,st,lt,pt,vt,yt,dt,ht,gt,bt,mt,wt,St,It,Ot,Tt,jt,Et,xt,Ct,Ft,Pt,Dt,kt,At,D,zt,Nt,Lt,Rt,_t,Wt,Bt,Kt,$t,Gt,Ht,k,Ut,Mt,Vt,Jt,qt,Zt,A,Qt,Xt,Yt,ne,re,te,ee,ue,oe,ie,ce,ae,fe,z,se,le,N,pe,ve,ye,de,he,ge,be,me;this.nevware21=this.nevware21||{},this.nevware21["ts-utils"]=(y={},d=void 0,h=null,g="",wr="function",Sr="object",Ir="__proto__",m="undefined",Or="constructor",Tr="Symbol",jr="_polyfill",w="length",Er="name",S="call",I="toString",xr=r(O=n(Object),b="prototype"),N=r(Hr=n(String),b),A=n(Math),T=r(D=r(Pt=n(Array),b),"slice"),j=R("string"),E=R(wr),x=r(Pt,"isArray"),Cr=_("Date"),Fr=R("number"),Pr=R("boolean"),Dr=_("RegExp"),kr=_("File"),Ar=_("FormData"),zr=_("Blob"),Nr=_("ArrayBuffer"),Lr=_("Error"),Rr=H,_r=r(O,"getOwnPropertyDescriptor"),Wr=n(r(O,"hasOwn"),V),Br={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},C=r(O,"defineProperty"),Kr=r(O,"defineProperties"),F=n(Hr),$r="[object Error]",Gr=r(O,"freeze"),Hr=r(O,"assign"),Ur=r(O,"keys"),Mr=n(Gr,nn),Vr=n(r(O,"seal"),nn),Jr=n(r(O,"getPrototypeOf"),rn),qr=n(r(O,"entries"),Y),Qr=tn({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Xr="__tsUtils$gblCfg",Yr=r(A,"min"),nt=r(A,"max"),rt=(z=t)("slice",N),tt=z("substring",N),et=t("substr",N,an),it="_urid",ft=e(p,["document"]),st=e(p,[at="window"]),lt=e(p,["navigator"]),dt=e(p,["history"]),ht=e(function(){return!!f(function(){return process&&(process.versions||{}).node}).v}),gt=e(function(){return!!f(function(){return self&&self instanceof WorkerGlobalScope}).v}),mt=R("symbol"),wt=z("every",D),St=z("filter",D),It=z("indexOf",D),Ot=z("lastIndexOf",D),Tt=z("map",D),Et=t("find",D,Cn),xt=t("findIndex",D,Fn),Ct=t("findLast",D,Pn),Ft=t("findLastIndex",D,Dn),Pt=n(r(Pt,"from"),kn),kt=Dt=t("includes",D,xn),At=z("reduce",D),D=z("some",D),Lt=n(r(O,"create"),zn),Bt=t("trim",N,Rt=Bn(/^\s+|(?=\s)\s+$/g)),$t=n(Kt=t("trimStart",N,_t=Bn(/^\s+/g))),Ht=n(Gt=t("trimEnd",N,Wt=Bn(/(?=\s)\s+$/g))),k=z("toUpperCase",N),Ut=z("toLowerCase",N),Mt=r(A,"floor"),Vt=r(A,"ceil"),Jt=n(r(A,"trunc"),Gn),qt=t("repeat",N,Un),Zt=t("padStart",N,Vn),A=t("padEnd",N,Jn),re=/([^\w\d_$])/g,te=[rr,ur,er,tr],ue=cn(w),oe="(.*)",ie=z("split",N),ce=t("split",N,mn()?null:pr),ae=t("endsWith",N,vr),fe=z("indexOf",N),z=z("lastIndexOf",N),le=n(se=t("includes",N,yr)),N=t("startsWith",N,dr),pe="ref",ve="unref",ye="hasRef",de="enabled",he=100,ge=50,be=e(p,["requestIdleCallback"]),me=e(p,["cancelIdleCallback"]),y.arrAppend=function(r,n){return!o(n)&&r&&(x(n)?v(r.push,r,n):Sn(n)||In(n)?On(n,function(n){r.push(n)}):r.push(n)),r},y.arrContains=kt,y.arrEvery=wt,y.arrFilter=St,y.arrFind=Et,y.arrFindIndex=xt,y.arrFindLast=Ct,y.arrFindLastIndex=Ft,y.arrForEach=jn,y.arrFrom=Pt,y.arrIncludes=Dt,y.arrIndexOf=It,y.arrLastIndexOf=Ot,y.arrMap=Tt,y.arrReduce=At,y.arrSlice=En,y.arrSome=D,y.arrayDeepCopyHandler=rr,y.asString=F,y.createArrayIterator=function(n){var r=-1,t=n?n.slice():[],e=t[w],n={n:function(){return e<=++r}};return q(n,"v",{g:function(){if(0<=r&&r<e)return t[r]}}),lr(n)},y.createCachedValue=l,y.createCustomError=Rn,y.createDeferredCachedValue=function(r){var t={toJSON:function(){return t.v}};return C(t,"v",{get:function(){var n=r();return r=h,C(t,"v",{value:n}),n},configurable:!0})},y.createEnum=function(n){return Z(n,1,0,Mr)},y.createEnumKeyMap=tn,y.createEnumValueMap=function(n){return Z(n,1,1,Mr)},y.createFilenameRegex=function(n,r,t){return fr(F(n),/([-+|^$#.{}()\\\/\[\]\"\'])/g,function(n){return n.replace(/(\\\\|\\\/|\*|\?)/g,function(n,r){return"\\/"==r||"\\\\"==r?"[\\\\\\/]{1}":"*"==r?oe:"(.)"})},!!r,t)},y.createFnDeferredProxy=An,y.createIterable=function(n){return sr({},n)},y.createIterator=lr,y.createProxyFuncs=function(t,e,n){var u;return t&&e&&x(n)&&(u=E(e),jn(n,function(n){var r=n.as||n.n;!1===n.rp&&t[r]||(t[r]=u?An(e,n.n):Tn(e[n.n],e))})),t},y.createRangeIterator=function(n,r,t){var e=n,u=d,o=(c(r)&&(r=n),t||(n<=r?1:-1)),t={n:function(){var n;return(n=0<o?r<e:e<r)||(u=e,e+=o),n}};return q(t,"v",{g:function(){return u}}),lr(t)},y.createSimpleMap=en,y.createTimeout=function(n,r){return gr(!1,d,T[S](arguments))},y.createTimeoutWith=function(n,r,t){return gr(!1,n,T[S](arguments,1))},y.createTypeMap=en,y.createWildcardRegex=function(n,r,t){return fr(F(n),/([-+|^$#.\?{}()\[\]\\/\"\'])/g,function(n){return n.replace(/\*/g,oe)},!!r,t)},y.dateDeepCopyHandler=tr,y.deepExtend=function(n,r,t,e,u,o,i){return or(nr(n)||{},T[S](arguments))},y.dumpObj=a,y.elapsedTime=ar,y.encodeAsHtml=function(n){return Qt=Qt||{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#39"},F(n).replace(/[&<>"']/g,function(n){return"&"+Qt[n]+";"})},y.encodeAsJson=function(n,r){var t;if(j(n))t='"'+n.replace(/[^\w .,\-!@#$%\^&*\(\)_+={}\[\]:;|<>?]/g,function(n){return'"'===n||"\\"===n?"\\"+n:(n=n.charCodeAt(0)[I](16),"\\u"+Zt(k(n),4,"0"))})+'"';else try{t=JSON.stringify(n,h,r?Fr(r)?r:4:d)}catch(n){t='"'+a(n)+'"'}return t},y.fnApply=v,y.fnBind=Tn,y.fnCall=function(n,r){return n.apply(r,T[S](arguments,2))},y.functionDeepCopyHandler=er,y.getCancelIdleCallback=me,y.getDocument=ft,y.getGlobal=dn,y.getHistory=dt,y.getIdleCallback=be,y.getInst=p,y.getIntValue=function(n,r){return c(n)?r:Fr(n)?n:isNaN(n=parseInt(n,10))?r:n},y.getKnownSymbol=wn,y.getLazy=yn,y.getLength=ue,y.getNavigator=lt,y.getPerformance=ir,y.getSymbol=mn,y.getValueByIter=function(r,n,t){return n&&r&&(On(n,function(n){if(c(r))return-1;r=r[n]}),!c(r))?r:t},y.getValueByKey=function(n,r,t){if(!r||!n)return t;for(var e=ie(r,"."),u=e.length,o=0;o<u&&!c(n);o++)n=n[e[o]];return c(n)?t:n},y.getWindow=st,y.hasDocument=function(){return!!ft()},y.hasHistory=function(){return!!dt()},y.hasIdleCallback=function(){return!!be()},y.hasNavigator=function(){return!!lt()},y.hasPerformance=function(){return!!ir()},y.hasSymbol=bn,y.hasValue=function(n){return function n(r,t){var e,u,o=!1===r||0===r;if(!o&&!c(r))if(x(r))o=0<r[w];else if(Cr(r))o=!isNaN(r.getTime());else{if(Pr(r))return!0;if(G(r)){try{e=r,jn([w,"byteLength","size","count"],function(n){if(n in e)return n=e[n],u=0<(E(n)?n():n),-1});var i=u;if(Pr(i))return i;if(E(r.valueOf)&&t<5)return n(r.valueOf(),++t)}catch(n){}return!!Ur(r)[w]}o=U(r)}return o}(n,0)},y.hasWindow=function(){return!!st()},y.isArray=x,y.isArrayBuffer=Nr,y.isBlob=zr,y.isBoolean=Pr,y.isDate=Cr,y.isDefined=K,y.isError=Lr,y.isFile=kr,y.isFormData=Ar,y.isFunction=E,y.isIterable=In,y.isIterator=Sn,y.isNode=ht,y.isNotTruthy=function(n){return!n||!U(n)},y.isNullOrUndefined=c,y.isNumber=Fr,y.isObject=G,y.isPlainObject=qn,y.isPrimitive=function(n){return n===h||$(typeof n)},y.isPrimitiveType=$,y.isPromise=function(n){return!!(n&&n.then&&n.catch&&E(n.then)&&E(n.catch))},y.isPromiseLike=H,y.isRegExp=Dr,y.isStrictNullOrUndefined=B,y.isStrictUndefined=function(n){return!K(n)},y.isString=j,y.isSymbol=mt,y.isThenable=Rr,y.isTruthy=U,y.isTypeof=function(n,r){return typeof n===r},y.isUndefined=o,y.isWebWorker=gt,y.iterForOf=On,y.lazySafeGetInst=function(n){return yn(function(){return f(p,[n]).v||d})},y.makeGlobRegex=function(n,r,t){return fr(F(n),/([-+|^$#.{}()\\\/\[\]\"\'])/g,function(n){return n.replace(/(\*\*\\[\\\/]|\\\\|\\\/|\*\*|\*|\?)/g,function(n,r){return"**\\/"==r||"**\\\\"==r?"(.*[\\\\\\/])*":"\\/"===r||"\\\\"==r?"[\\\\\\/]{1}":"**"===r?oe:"*"===r?"([^\\\\\\/]*)":"([^\\\\\\/]{1})"})},!!r,t)},y.makeIterable=sr,y.mathCeil=Vt,y.mathFloor=Mt,y.mathMax=nt,y.mathMin=Yr,y.mathToInt=Hn,y.mathTrunc=Jt,y.newSymbol=function(n,r){P||u();var t=(P.lzy?0:pt)||hn();return t.v?t.v(n):r?h:sn(n)},y.normalizeJsName=function(n,r){n=F(n).replace(re,"_");return o(r)?n:$n(n,!r)},y.objAssign=Hr,y.objCopyProps=Yn,y.objCreate=Lt,y.objDeepCopy=nr,y.objDeepFreeze=function t(n){return Gr&&i(n,function(n,r){(x(r)||G(r))&&t(r)}),Mr(n)},y.objDefine=q,y.objDefineAccessors=function(n,r,t,e,u,o){o={e:o,c:u};return t&&(o.g=t),e&&(o.s=e),C(n,r,J(o))},y.objDefineGet=function(n,r,t,e,u){return C(n,r,J(((n={e:u,c:e})[E(t)?"g":"v"]=t,n)))},y.objDefineProp=C,y.objDefineProperties=Kr,y.objDefineProps=function(n,r){var t={};return i(r,function(n,r){t[n]=J(r)}),Kr(n,t)},y.objEntries=qr,y.objExtend=function(n,r,t,e,u,o,i){return or(n||{},T[S](arguments))},y.objForEachKey=i,y.objFreeze=Mr,y.objGetOwnPropertyDescriptor=_r,y.objGetPrototypeOf=Jr,y.objHasOwn=Wr,y.objHasOwnProperty=M,y.objKeys=Ur,y.objSeal=Vr,y.objSetPrototypeOf=Nn,y.objToString=W,y.perfNow=cr,y.plainObjDeepCopyHandler=ur,y.polyArrFind=Cn,y.polyArrFindIndex=Fn,y.polyArrFindLast=Pn,y.polyArrFindLastIndex=Dn,y.polyArrFrom=kn,y.polyArrIncludes=xn,y.polyGetKnownSymbol=vn,y.polyIsArray=function(n){return!c(n)&&"[object Array]"===W(n)},y.polyNewSymbol=sn,y.polyObjEntries=Y,y.polyObjHasOwn=V,y.polyObjKeys=function(n){G(n)&&n!==h||s("non-object "+a(n));var r,t=[];for(r in n)Wr(n,r)&&t.push(r);return t},y.polyStrIncludes=yr,y.polyStrSubstr=an,y.polyStrSymSplit=pr,y.polyStrTrim=Rt,y.polyStrTrimEnd=Wt,y.polyStrTrimStart=_t,y.polySymbolFor=ln,y.polySymbolKeyFor=pn,y.polyUtcNow=Wn,y.readArgs=function(n,r,t){if(!Wr(n,w)){var e=(jt=jt||l(bn()&&wn(3))).v&&n[jt.v];if(e){var u=[],o=r===d||r<0?0:r,i=t<0||r<0?d:t;if(On(e[S](n),function(n,r){if(i!==d&&i<=r)return-1;o<=r&&u.push(n)}),(r===d||0<=r)&&(t===d||0<=t))return u;n=u}}return En(n,r,t)},y.safe=f,y.safeGet=L,y.safeGetLazy=function(r,t){return yn(function(){var n=f(r);return n.e?t:n.v})},y.scheduleIdleCallback=function(r,t){function e(n){var r=cr();return{didTimeout:n,timeRemaining:function(){return ge-ar(r)}}}var u,n;return be()?(u=hr(!0,function(n){return n&&me()(n),be()(function(n){u.dn(),r(n||e(!1))},t)},function(n){me()(n)})).h:br(function(){r(e(!0))},o(n=(t||{}).timeout)?he:n)},y.scheduleInterval=function(n,r){var t=T[S](arguments);return hr(!0,function(n){return n&&clearInterval(n),v(setInterval,d,t)},function(n){v(clearInterval,d,[n])}).h},y.scheduleTimeout=br,y.scheduleTimeoutWith=function(n,r,t){return gr(!0,n,T[S](arguments,1))},y.setBypassLazyCache=function(n){P||u(),P.lzy=n},y.setDefaultIdleTimeout=function(n){he=n},y.setDefaultMaxExecutionTime=function(n){ge=n},y.setValueByIter=function(r,n,t){var e;r&&n&&(On(n,function(n){e&&(c(r[e])&&(r[e]={}),r=r[e]),e=n}),r[e]=t)},y.setValueByKey=function(r,n,t){var e;r&&n&&(e=(n=ie(n,".")).pop(),jn(n,function(n){c(r[n])&&(r[n]={}),r=r[n]}),r[e]=t)},y.strCamelCase=$n,y.strContains=le,y.strEndsWith=ae,y.strIncludes=se,y.strIndexOf=fe,y.strIsNullOrEmpty=function(n){return j(n)?n===g:c(n)},y.strIsNullOrWhiteSpace=function(n){return j(n)?n.replace(/[\s\t\r\n\f]+/g,g)===g:c(n)},y.strKebabCase=function(n,r){n=Kn(n,"-");return(r?k:Ut)(n)},y.strLastIndexOf=z,y.strLeft=function(n,r){return tt(n,0,r)},y.strLetterCase=function(n){return F(n).replace(/(_|\b)\w/g,k)},y.strLower=Ut,y.strPadEnd=A,y.strPadStart=Zt,y.strRepeat=qt,y.strRight=function(n,r){return r<=0?g:n[w]>r?rt(n,-r):n},y.strSlice=rt,y.strSnakeCase=function(n,r){n=Kn(n,"_");return(r?k:Ut)(n)},y.strSplit=ie,y.strStartsWith=N,y.strSubstr=et,y.strSubstring=tt,y.strSymSplit=ce,y.strTrim=Bt,y.strTrimEnd=Gt,y.strTrimLeft=$t,y.strTrimRight=Ht,y.strTrimStart=Kt,y.strUpper=k,y.symbolFor=function(n){return P||u(),((vt=(P.lzy?0:vt)||l(f(gn,["for"]).v)).v||ln)(n)},y.symbolKeyFor=function(n){return P||u(),((yt=(P.lzy?0:yt)||l(f(gn,["keyFor"]).v)).v||pn)(n)},y.throwError=function(n){throw Error(n)},y.throwRangeError=X,y.throwTypeError=s,y.throwUnsupported=function(n){throw new(Nt=Nt||Rn("UnsupportedError"))(n)},y.utcNow=_n,y);
/*! https://github.com/nevware21/ts-utils v0.11.4 */
function n(n,r){return n||r}function r(n,r){return n[r]}function f(n,r){try{return{v:n.apply(this,r)}}catch(n){return{e:n}}}function L(n,r){n=f(n);return n.e?r:n.v}function R(r){return function(n){return typeof n===r}}function t(n){var r="[object "+n+"]";return function(n){return!(!n||_(n)!==r)}}function _(n){return Cr[I].call(n)}function W(n){return typeof n===m||n===m}function B(n){return!$(n)}function c(n){return n===h||W(n)}function K(n){return n===h||!$(n)}function $(n){return!!n||n!==d}function G(n){return wr=wr||["string","number","boolean",m,"symbol","bigint"],!(n===Ir||!~wr.indexOf(n))}function H(n){return!(!n&&c(n)||!n||typeof n!==Ir)}function U(n){return!!(n&&n.then&&E(n.then))}function M(n){return!(!n||L(function(){return!(n&&0+n)},!n))}function V(n,r){return!!n&&Cr.hasOwnProperty[S](n,r)}function J(n,r){return V(n,r)||!!Wr(n,r)}function i(n,r,t){if(n&&H(n))for(var e in n)if(Br(n,e)&&-1===r[S](t||n,e,n[e]))break}function q(r){var n,t={};return t[Kr.c]=!0,t[Kr.e]=!0,r.l&&(t.get=function(){return r.l.v},n=Wr(r.l,"v"))&&n.set&&(t.set=function(n){r.l.v=n}),i(r,function(n,r){t[Kr[n]]=B(r)?t[Kr[n]]:r}),t}function Z(n,r,t){return C(n,r,q(t))}function Q(n,t,e,r,u){var o={};return i(n,function(n,r){X(o,n,t?r:n,u),X(o,r,e?r:n,u)}),r?r(o):o}function X(n,r,t,e){C(n,r,{value:t,enumerable:!0,writable:!!e})}function a(n,r){var t=g,e=Cr[I][S](n);e===Gr&&(n={stack:F(n.stack),message:F(n.message),name:F(n.name)});try{t=((t=JSON.stringify(n,h,r?"number"==typeof r?r:4:d))?t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):h)||F(n)}catch(n){t=" - "+a(n,r)}return e+": "+t}function s(n){throw new TypeError(n)}function Y(n){throw new RangeError(n)}function nn(n){var t=[];return i(n,function(n,r){t.push([n,r])}),t}function rn(n){return n}function tn(n){return n[Or]||h}function en(n){return Q(n,0,0,Vr)}function un(n){var t={};return i(n,function(n,r){X(t,n,r[1]),X(t,r[0],r[1])}),Vr(t)}function on(){var n;return(n=(n=(n=typeof globalThis!==m?globalThis:n)||typeof self===m?n:self)||typeof window===m?n:window)||typeof global===m?n:global}function cn(){var n;return Qr||(n=f(on).v||{},Qr=n[Yr]=n[Yr]||{}),Qr}function e(e,n,u){var o=n?n[e]:h;return function(n){var r,t=(n?n[e]:h)||o;if(t||u)return r=arguments,(t||u).apply(n,t?T[S](r,1):r);s('"'+F(e)+'" not defined for '+a(n))}}function an(r){return function(n){return n[r]}}function fn(n,r,t){return c(n)&&s("Invalid "+a(n)),t<0?g:((r=r||0)<0&&(r=rt(r+n[w],0)),W(t)?tt(n,r):tt(n,r,r+t))}function sn(){var n;return ot||(n=cn(),ot=n.gblSym=n.gblSym||{k:{},s:{}}),ot}function ln(n){var r={description:F(n),toString:function(){return jr+"("+n+")"}};return r[Er]=!0,r}function pn(n){var r,t,e=sn();return Br(e.k,n)||(r=ln(n),t=Mr(e.s).length,r[ct]=function(){return t+"_"+r[I]()},e.k[n]=r,e.s[r[ct]()]=F(n)),e.k[n]}function vn(n){n&&n[I]&&et(n[I](),0,6)==jr||s(n+" is not a symbol");n=n[Er]&&n[ct]&&n[ct]();return n?sn().s[n]:void 0}function yn(n){it=it||{};n=Xr[n];return n?it[n]=it[n]||ln(jr+"."+n):void 0}function u(){P=cn()}function dn(r){var t={};return P||u(),t.b=P.lzy,C(t,"v",{configurable:!0,get:function(){var n=r();return P.lzy||C(t,"v",{value:n}),t.b=P.lzy,n}}),t}function l(n){return C({toJSON:function(){return n}},"v",{value:n})}function o(n,r){var t;return function(){return P||u(),(t=t&&!P.lzy?t:l(f(n,r).v)).v}}function hn(n){return P||u(),(at=at&&!1!==n&&!P.lzy?at:l(f(on).v||h)).v}function p(n,r){r=at&&!1!==r?at.v:hn(r);if(r&&r[n])return r[n];if(n===ft)try{return window}catch(n){}return h}function gn(){return vt=l(f(p,[jr]).v)}function bn(n){var r=(P.lzy?0:vt)||gn();return r.v?r.v[n]:d}function mn(){return!!wn()}function wn(){return P||u(),((P.lzy?0:vt)||gn()).v}function Sn(n,r){var t=Xr[n],e=(P||u(),(P.lzy?0:vt)||gn());return e.v?e.v[t||n]:r?d:yn(n)}function In(n){return!!n&&E(n.next)}function On(n){return!K(n)&&E(n[Sn(3)])}function Tn(r,n,t){if(r&&(In(r)||(r=r[(mt=mt||l(Sn(3))).v]?r[mt.v]():h),In(r))){var e=d,u=d;try{for(var o=0;!(u=r.next()).done&&-1!==n[S](t||r,u.value,o,r);)o++}catch(n){e={e:n},r.throw&&(u=h,r.throw(e))}finally{try{u&&!u.done&&r.return&&r.return(u)}finally{if(e)throw e.e}}}}function v(n,r,t){return n.apply(r,t)}function jn(n,r){return n.bind.apply(n,T[S](arguments,1))}function En(n,r,t){if(n)for(var e=n[w]>>>0,u=0;u<e&&!(u in n&&-1===r[S](t||n,n[u],u,n));u++);}function xn(n,r,t){return((n?n.slice:h)||T).apply(n,T[S](arguments,1))}function Cn(n,r,t){return-1!==Ot(n,r,t)}function Fn(n,r,t){r=Pn(n,r,t);return-1!==r?n[r]:void 0}function Pn(t,e,u){var o=-1;return En(t,function(n,r){if(e[S](u|t,n,r,t))return o=r,-1}),o}function Dn(n,r,t){r=kn(n,r,t);return-1!==r?n[r]:void 0}function kn(n,r,t){for(var e=-1,u=(n[w]>>>0)-1;0<=u;u--)if(u in n&&r[S](t|n,n[u],u,n)){e=u;break}return e}function An(n,t,e){var r,u;return x(n)?(r=xn(n),t?jt(r,t,e):r):(u=[],Tn(n,function(n,r){return u.push(t?t[S](e,n,r):n)}),u)}function zn(t,e){return function(){var n=T[S](arguments),r=t();return v(r[e],r,n)}}function Nn(n){var r;return n?((r=typeof n)!==Ir&&r!==Sr&&s("Prototype must be an Object or function: "+a(n)),t[b]=n,new t):{};function t(){}}function Ln(n,r){return(O.setPrototypeOf||function(t,n){var r;(Nt=Nt||l(((r={})[Or]=[],r instanceof Array))).v?t[Or]=n:i(n,function(n,r){return t[n]=r})})(n,r)}function Rn(n,r){r&&(n[xr]=r)}function _n(u,o,n){var r,t,i=n||Error,c=i[b][xr],a=Error.captureStackTrace,n=i;return f(Z,[t=function(){var n=this,r=arguments;try{f(Rn,[i,u]);var t,e=v(i,n,T[S](r))||n;return e!==n&&(t=qr(n))!==qr(e)&&Ln(e,t),a&&a(e,n[Tr]),o&&o(e,r),e}finally{f(Rn,[i,c])}},xr,{v:r=u,c:!0,e:!1}]),(t=Ln(t,n))[b]=n===h?Rt(n):(e[b]=n[b],new e),t;function e(){this[Tr]=t,f(Z,[this,xr,{v:r,c:!0,e:!1}])}}function Wn(){return(Date.now||Bn)()}function Bn(){return(new Date).getTime()}function Kn(r){return function(n){return c(n)&&s("strTrim called ["+a(n)+"]"),n&&n.replace?n.replace(r,g):n}}function $n(n,i,c){return Kt(F(n)).replace(/((_|\W)+(\w){0,1}|([a-z])([A-Z]))/g,function(n,r,t,e,u,o){e=e||o||g;return c&&(e=k(e)),(u||g)+i+e})}function Gn(n,r){return $n(n,"",!0).replace(/^\w/,r?k:Mt)}function Hn(n){n=+n;return(0<n?Vt:Jt)(n)}function Un(n,r){var t=+n;return t==1/0&&r&&Y("invalid value ["+a(n)+"]"),t!=t||0==t?0:qt(t)}function Mn(n,r){c(n)&&s("can't convert ["+a(n)+"]"),(r=Un(r,!0))<0&&Y("invalid count must be >= 0 && < Infinity");for(var t=j(n)?n:F(n),e=g;0<r;(r>>>=1)&&(t+=t))1&r&&(e+=t);return e}function Vn(n,r,t){var e=g,n=(r=Un(r,!0),n[w]);return n<(r>>=0)&&(e=(r-=n)>(e=c(t)?" ":F(t))[w]?Zt(e,Jt(r/e[w])):e)[w]>r?et(e,0,r):e}function Jn(n,r,t){return Vn(n,r,t)+n}function qn(n,r,t){return n+Vn(n,r,t)}function Zn(n){if(!n||typeof n!==Ir)return!1;var r=!1;if(n!==(re=re||lt()||!0)){ne||(Yt=Function[b][I],ne=Yt[S](O));try{var t=qr(n),r=(r=!t)||!(!(t=V(t,Tr)?t[Tr]:t)||typeof t!==Sr||Yt[S](t)!==ne)}catch(n){}}return r}function Qn(n){return n.value&&or(n),!0}function Xn(t,n,e,r){var u,o,i=e.handler,r=e.path?r?e.path.concat(r):e.path:[],c={handler:e.handler,src:e.src,path:r},a=typeof n,f=!1,s=n===h,l=(s||(n&&a===Ir?f=Zn(n):s=G(a)),{type:a,isPrim:s,isPlain:f,value:n,result:n,path:r,origin:e.src,copy:function(n,r){return Xn(t,n,r?c:e,r)},copyTo:function(n,r){return Yn(t,n,r,c)}});return l.isPrim?i&&i[S](e,l)?l.result:n:(u=n,a=function(r){Z(l,"result",{g:function(){return r.v},s:function(n){r.v=n}});for(var n=0,t=i;!(t||(n<ee.length?ee[n++]:Qn))[S](e,l);)t=h},En(s=t,function(n){if(n.k===u)return o=n,-1}),o||(o={k:u,v:u},s.push(o),a(o)),o.v)}function Yn(n,r,t,e){if(!c(t))for(var u in t)r[u]=Xn(n,t[u],e,u);return r}function nr(n,r,t){return Yn([],n,r,{handler:t,src:r,path:[]})}function rr(n,r){return Xn([],n,{handler:r,src:n})}function tr(n){var r,t=n.value;return!!x(t)&&((r=n.result=[]).length=t.length,n.copyTo(r,t),!0)}function er(n){var r=n.value;return!!Fr(r)&&(n.result=new Date(r.getTime()),!0)}function ur(n){return n.type===Sr}function or(n){var r,t=n.value;return!(!t||!n.isPlain||(r=n.result={},n.copyTo(r,t),0))}function ir(r,n){return En(n,function(n){nr(r,n)}),r}function cr(){return P||u(),(ue=ue&&!P.lzy?ue:l(f(p,["performance"]).v)).v}function ar(){var n=cr();return n&&n.now?n.now():Wn()}function fr(n){return ar()-n}function sr(n,r,t,e,u){return RegExp((u?"^":g)+t(n.replace(r,"\\$1"))+(u?"$":g),e?"i":"")}function lr(n,r){return n[Sn(3)]=function(){return pr(r)},n}function pr(r){var t=!1;function e(){return r.v}var n={next:function(){var n={done:t=t||!r.n||r.n(arguments)};return t||Z(n,"value",{g:e}),n}};return r.r&&(n.return=function(n){return{done:t=!0,value:r.r&&r.r(n)}}),r.t&&(n.throw=function(n){return{done:t=!0,value:r.t&&r.t(n)}}),n}function vr(n,r,t){r=r?r[Sn(9)]:d;return r?r(n,t):[n]}function yr(n,r,t){j(n)||s("'"+a(n)+"' is not a string");r=j(r)?r:F(r),t=!W(t)&&t<n[w]?t:n[w];return et(n,t-r[w],t)===r}function dr(n,r,t){return kr(r)&&s("'searchString' must not be a regular expression"+a(r)),-1!==se(n,F(r),t)}function hr(n,r,t){j(n)||s("'"+a(n)+"' is not a string");r=j(r)?r:F(r),t=0<t?t:0;return et(n,t,t+r[w])===r}function gr(n,r,t){var e,u=!0,o=n?r(h):h;function i(){return u=!1,o&&o[ye]&&o[ye](),e}function c(){o&&t(o),o=h}function a(){return o=r(o),u||i(),e}return(e={cancel:c,refresh:a})[de]=function(){return o&&o[de]?o[de]():u},e[ve]=function(){return u=!0,o&&o[ve]&&o[ve](),e},e[ye]=i,{h:e=C(e,he,{get:function(){return!!o},set:function(n){!n&&o&&c(),n&&!o&&a()}}),dn:function(){o=h}}}function br(n,r,t){var e=x(r),u=e?r.length:0,o=(0<u?r[0]:e?d:r)||setTimeout,i=(1<u?r[1]:d)||clearTimeout,c=t[0],a=(t[0]=function(){a.dn(),v(c,d,T[S](arguments))},gr(n,function(n){if(n){if(n.refresh)return n.refresh(),n;v(i,d,[n])}return v(o,d,t)},function(n){v(i,d,[n])}));return a.h}function mr(n,r){return br(!0,d,T[S](arguments))}var y,wr,d,h,g,Sr,Ir,b,Or,m,Tr,jr,Er,w,xr,S,I,O,Cr,T,j,E,x,Fr,Pr,Dr,kr,Ar,zr,Nr,Lr,Rr,_r,Wr,Br,Kr,C,$r,F,Gr,Hr,Ur,Mr,Vr,Jr,qr,Zr,Qr,Xr,Yr,nt,rt,tt,et,ut,ot,it,P,ct,at,ft,st,lt,pt,vt,yt,dt,ht,gt,bt,mt,wt,St,It,Ot,Tt,jt,Et,xt,Ct,Ft,Pt,Dt,kt,At,zt,D,Nt,Lt,Rt,_t,Wt,Bt,Kt,$t,Gt,Ht,Ut,k,Mt,Vt,Jt,qt,Zt,Qt,A,Xt,Yt,ne,re,te,ee,ue,oe,ie,ce,ae,fe,se,z,le,pe,N,ve,ye,de,he,ge,be,me,we;this.nevware21=this.nevware21||{},this.nevware21["ts-utils"]=(y={},d=void 0,h=null,g="",Sr="function",Ir="object",Or="__proto__",m="undefined",Tr="constructor",jr="Symbol",Er="_polyfill",w="length",xr="name",S="call",I="toString",Cr=r(O=n(Object),b="prototype"),N=r(Ur=n(String),b),A=n(Math),T=r(D=r(Dt=n(Array),b),"slice"),j=R("string"),E=R(Sr),x=r(Dt,"isArray"),Fr=t("Date"),Pr=R("number"),Dr=R("boolean"),kr=t("RegExp"),Ar=t("File"),zr=t("FormData"),Nr=t("Blob"),Lr=t("ArrayBuffer"),Rr=t("Error"),_r=U,Wr=r(O,"getOwnPropertyDescriptor"),Br=n(r(O,"hasOwn"),J),Kr={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"},C=r(O,"defineProperty"),$r=r(O,"defineProperties"),F=n(Ur),Gr="[object Error]",Hr=r(O,"freeze"),Ur=r(O,"assign"),Mr=r(O,"keys"),Vr=n(Hr,rn),Jr=n(r(O,"seal"),rn),qr=n(r(O,"getPrototypeOf"),tn),Zr=n(r(O,"entries"),nn),Xr=en({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Yr="__tsUtils$gblCfg",nt=r(A,"min"),rt=r(A,"max"),tt=(z=e)("slice",N),et=z("substring",N),ut=e("substr",N,fn),ct="_urid",st=o(p,["document"]),lt=o(p,[ft="window"]),pt=o(p,["navigator"]),ht=o(p,["history"]),gt=o(function(){return!!f(function(){return process&&(process.versions||{}).node}).v}),bt=o(function(){return!!f(function(){return self&&self instanceof WorkerGlobalScope}).v}),wt=R("symbol"),St=z("every",D),It=z("filter",D),Ot=z("indexOf",D),Tt=z("lastIndexOf",D),jt=z("map",D),xt=e("find",D,Fn),Ct=e("findIndex",D,Pn),Ft=e("findLast",D,Dn),Pt=e("findLastIndex",D,kn),Dt=n(r(Dt,"from"),An),At=kt=e("includes",D,Cn),zt=z("reduce",D),D=z("some",D),Rt=n(r(O,"create"),Nn),Kt=e("trim",N,_t=Kn(/^\s+|(?=\s)\s+$/g)),Gt=n($t=e("trimStart",N,Wt=Kn(/^\s+/g))),Ut=n(Ht=e("trimEnd",N,Bt=Kn(/(?=\s)\s+$/g))),k=z("toUpperCase",N),Mt=z("toLowerCase",N),Vt=r(A,"floor"),Jt=r(A,"ceil"),qt=n(r(A,"trunc"),Hn),Zt=e("repeat",N,Mn),Qt=e("padStart",N,Jn),A=e("padEnd",N,qn),te=/([^\w\d_$])/g,ee=[tr,or,ur,er],oe=an(w),ie="(.*)",ce=z("split",N),ae=e("split",N,wn()?h:vr),fe=e("endsWith",N,yr),se=z("indexOf",N),z=z("lastIndexOf",N),pe=n(le=e("includes",N,dr)),N=e("startsWith",N,hr),ve="ref",ye="unref",de="hasRef",he="enabled",ge=100,be=50,me=o(p,["requestIdleCallback"]),we=o(p,["cancelIdleCallback"]),y.arrAppend=function(r,n){return!W(n)&&r&&(x(n)?v(r.push,r,n):In(n)||On(n)?Tn(n,function(n){r.push(n)}):r.push(n)),r},y.arrContains=At,y.arrEvery=St,y.arrFilter=It,y.arrFind=xt,y.arrFindIndex=Ct,y.arrFindLast=Ft,y.arrFindLastIndex=Pt,y.arrForEach=En,y.arrFrom=Dt,y.arrIncludes=kt,y.arrIndexOf=Ot,y.arrLastIndexOf=Tt,y.arrMap=jt,y.arrReduce=zt,y.arrSlice=xn,y.arrSome=D,y.arrayDeepCopyHandler=tr,y.asString=F,y.createArrayIterator=function(n){var r=-1,t=n?n.slice():[],e=t[w],n={n:function(){return e<=++r}};return Z(n,"v",{g:function(){if(0<=r&&r<e)return t[r]}}),pr(n)},y.createCachedValue=l,y.createCustomError=_n,y.createDeferredCachedValue=function(r){var t={toJSON:function(){return t.v}};return C(t,"v",{get:function(){var n=r();return r=h,C(t,"v",{value:n}),n},configurable:!0})},y.createEnum=function(n){return Q(n,1,0,Vr)},y.createEnumKeyMap=en,y.createEnumValueMap=function(n){return Q(n,1,1,Vr)},y.createFilenameRegex=function(n,r,t){return sr(F(n),/([-+|^$#.{}()\\\/\[\]\"\'])/g,function(n){return n.replace(/(\\\\|\\\/|\*|\?)/g,function(n,r){return"\\/"==r||"\\\\"==r?"[\\\\\\/]{1}":"*"==r?ie:"(.)"})},!!r,t)},y.createFnDeferredProxy=zn,y.createIterable=function(n){return lr({},n)},y.createIterator=pr,y.createProxyFuncs=function(t,e,n){var u;return t&&e&&x(n)&&(u=E(e),En(n,function(n){var r=n.as||n.n;!1===n.rp&&t[r]||(t[r]=u?zn(e,n.n):jn(e[n.n],e))})),t},y.createRangeIterator=function(n,r,t){var e=n,u=d,o=(c(r)&&(r=n),t||(n<=r?1:-1));return pr(Z({n:function(){var n=0<o?r<e:e<r;return n||(u=e,e+=o),n}},"v",{g:function(){return u}}))},y.createSimpleMap=un,y.createTimeout=function(n,r){return br(!1,d,T[S](arguments))},y.createTimeoutWith=function(n,r,t){return br(!1,n,T[S](arguments,1))},y.createTypeMap=un,y.createWildcardRegex=function(n,r,t){return sr(F(n),/([-+|^$#.\?{}()\[\]\\/\"\'])/g,function(n){return n.replace(/\*/g,ie)},!!r,t)},y.dateDeepCopyHandler=er,y.deepExtend=function(n,r,t,e,u,o,i){return ir(rr(n)||{},T[S](arguments))},y.dumpObj=a,y.elapsedTime=fr,y.encodeAsHtml=function(n){return Xt=Xt||{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#39"},F(n).replace(/[&<>"']/g,function(n){return"&"+Xt[n]+";"})},y.encodeAsJson=function(n,r){var t;if(j(n))t='"'+n.replace(/[^\w .,\-!@#$%\^&*\(\)_+={}\[\]:;|<>?]/g,function(n){return'"'===n||"\\"===n?"\\"+n:(n=n.charCodeAt(0)[I](16),"\\u"+Qt(k(n),4,"0"))})+'"';else try{t=JSON.stringify(n,h,r?Pr(r)?r:4:d)}catch(n){t='"'+a(n)+'"'}return t},y.fnApply=v,y.fnBind=jn,y.fnCall=function(n,r){return n.apply(r,T[S](arguments,2))},y.functionDeepCopyHandler=ur,y.getCancelIdleCallback=we,y.getDocument=st,y.getGlobal=hn,y.getHistory=ht,y.getIdleCallback=me,y.getInst=p,y.getIntValue=function(n,r){return c(n)?r:Pr(n)?n:isNaN(n=parseInt(n,10))?r:n},y.getKnownSymbol=Sn,y.getLazy=dn,y.getLength=oe,y.getNavigator=pt,y.getPerformance=cr,y.getSymbol=wn,y.getValueByIter=function(r,n,t){return n&&r&&(Tn(n,function(n){if(c(r))return-1;r=r[n]}),!c(r))?r:t},y.getValueByKey=function(n,r,t){if(!r||!n)return t;for(var e=ce(r,"."),u=e.length,o=0;o<u&&!c(n);o++)n=n[e[o]];return c(n)?t:n},y.getWindow=lt,y.hasDocument=function(){return!!st()},y.hasHistory=function(){return!!ht()},y.hasIdleCallback=function(){return!!me()},y.hasNavigator=function(){return!!pt()},y.hasPerformance=function(){return!!cr()},y.hasSymbol=mn,y.hasValue=function(n){return function n(r,t){var e,u,o=!1===r||0===r;if(!o&&!c(r))if(x(r))o=0<r[w];else if(Fr(r))o=!isNaN(r.getTime());else{if(Dr(r))return!0;if(H(r)){try{e=r,En([w,"byteLength","size","count"],function(n){if(n in e)return n=e[n],u=0<(E(n)?n():n),-1});var i=u;if(Dr(i))return i;if(E(r.valueOf)&&t<5)return n(r.valueOf(),++t)}catch(n){}return!!Mr(r)[w]}o=M(r)}return o}(n,0)},y.hasWindow=function(){return!!lt()},y.isArray=x,y.isArrayBuffer=Lr,y.isBlob=Nr,y.isBoolean=Dr,y.isDate=Fr,y.isDefined=$,y.isError=Rr,y.isFile=Ar,y.isFormData=zr,y.isFunction=E,y.isIterable=On,y.isIterator=In,y.isNode=gt,y.isNotTruthy=function(n){return!n||!M(n)},y.isNullOrUndefined=c,y.isNumber=Pr,y.isObject=H,y.isPlainObject=Zn,y.isPrimitive=function(n){return n===h||G(typeof n)},y.isPrimitiveType=G,y.isPromise=function(n){return!!(n&&n.then&&n.catch&&E(n.then)&&E(n.catch))},y.isPromiseLike=U,y.isRegExp=kr,y.isStrictNullOrUndefined=K,y.isStrictUndefined=B,y.isString=j,y.isSymbol=wt,y.isThenable=_r,y.isTruthy=M,y.isTypeof=function(n,r){return typeof n===r},y.isUndefined=W,y.isWebWorker=bt,y.iterForOf=Tn,y.lazySafeGetInst=function(n){return dn(function(){return f(p,[n]).v||d})},y.makeGlobRegex=function(n,r,t){return sr(F(n),/([-+|^$#.{}()\\\/\[\]\"\'])/g,function(n){return n.replace(/(\*\*\\[\\\/]|\\\\|\\\/|\*\*|\*|\?)/g,function(n,r){return"**\\/"==r||"**\\\\"==r?"(.*[\\\\\\/])*":"\\/"===r||"\\\\"==r?"[\\\\\\/]{1}":"**"===r?ie:"*"===r?"([^\\\\\\/]*)":"([^\\\\\\/]{1})"})},!!r,t)},y.makeIterable=lr,y.mathCeil=Jt,y.mathFloor=Vt,y.mathMax=rt,y.mathMin=nt,y.mathToInt=Un,y.mathTrunc=qt,y.newSymbol=function(n,r){P||u();var t=(P.lzy?0:vt)||gn();return t.v?t.v(n):r?h:ln(n)},y.normalizeJsName=function(n,r){n=F(n).replace(te,"_");return W(r)?n:Gn(n,!r)},y.objAssign=Ur,y.objCopyProps=nr,y.objCreate=Rt,y.objDeepCopy=rr,y.objDeepFreeze=function t(n){return Hr&&i(n,function(n,r){(x(r)||H(r))&&t(r)}),Vr(n)},y.objDefine=Z,y.objDefineAccessors=function(n,r,t,e,u,o){o={e:o,c:u};return t&&(o.g=t),e&&(o.s=e),C(n,r,q(o))},y.objDefineGet=function(n,r,t,e,u){return C(n,r,q(((n={e:u,c:e})[E(t)?"g":"v"]=t,n)))},y.objDefineProp=C,y.objDefineProperties=$r,y.objDefineProps=function(n,r){var t={};return i(r,function(n,r){t[n]=q(r)}),$r(n,t)},y.objEntries=Zr,y.objExtend=function(n,r,t,e,u,o,i){return ir(n||{},T[S](arguments))},y.objForEachKey=i,y.objFreeze=Vr,y.objGetOwnPropertyDescriptor=Wr,y.objGetPrototypeOf=qr,y.objHasOwn=Br,y.objHasOwnProperty=V,y.objKeys=Mr,y.objSeal=Jr,y.objSetPrototypeOf=Ln,y.objToString=_,y.perfNow=ar,y.plainObjDeepCopyHandler=or,y.polyArrFind=Fn,y.polyArrFindIndex=Pn,y.polyArrFindLast=Dn,y.polyArrFindLastIndex=kn,y.polyArrFrom=An,y.polyArrIncludes=Cn,y.polyGetKnownSymbol=yn,y.polyIsArray=function(n){return!c(n)&&"[object Array]"===_(n)},y.polyNewSymbol=ln,y.polyObjEntries=nn,y.polyObjHasOwn=J,y.polyObjKeys=function(n){H(n)&&n!==h||s("non-object "+a(n));var r,t=[];for(r in n)Br(n,r)&&t.push(r);return t},y.polyStrIncludes=dr,y.polyStrSubstr=fn,y.polyStrSymSplit=vr,y.polyStrTrim=_t,y.polyStrTrimEnd=Bt,y.polyStrTrimStart=Wt,y.polySymbolFor=pn,y.polySymbolKeyFor=vn,y.polyUtcNow=Bn,y.readArgs=function(n,r,t){if(!Br(n,w)){var e=void 0;if(e=(Et=Et||l(mn()&&Sn(3))).v?n[Et.v]:void 0){var u=[],o=r===d||r<0?0:r,i=t<0||r<0?d:t;if(Tn(e[S](n),function(n,r){if(i!==d&&i<=r)return-1;o<=r&&u.push(n)}),(r===d||0<=r)&&(t===d||0<=t))return u;n=u}}return xn(n,r,t)},y.safe=f,y.safeGet=L,y.safeGetLazy=function(r,t){return dn(function(){var n=f(r);return n.e?t:n.v})},y.scheduleIdleCallback=function(r,t){function e(n){var r=ar();return{didTimeout:n,timeRemaining:function(){return be-fr(r)}}}var u,n;return me()?(u=gr(!0,function(n){return n&&we()(n),me()(function(n){u.dn(),r(n||e(!1))},t)},function(n){we()(n)})).h:mr(function(){r(e(!0))},W(n=(t||{}).timeout)?ge:n)},y.scheduleInterval=function(n,r){var t=T[S](arguments);return gr(!0,function(n){return n&&clearInterval(n),v(setInterval,d,t)},function(n){v(clearInterval,d,[n])}).h},y.scheduleTimeout=mr,y.scheduleTimeoutWith=function(n,r,t){return br(!0,n,T[S](arguments,1))},y.setBypassLazyCache=function(n){P||u(),P.lzy=n},y.setDefaultIdleTimeout=function(n){ge=n},y.setDefaultMaxExecutionTime=function(n){be=n},y.setValueByIter=function(r,n,t){var e;r&&n&&(Tn(n,function(n){e&&(c(r[e])&&(r[e]={}),r=r[e]),e=n}),r[e]=t)},y.setValueByKey=function(r,n,t){var e;r&&n&&(e=(n=ce(n,".")).pop(),En(n,function(n){c(r[n])&&(r[n]={}),r=r[n]}),r[e]=t)},y.strCamelCase=Gn,y.strContains=pe,y.strEndsWith=fe,y.strIncludes=le,y.strIndexOf=se,y.strIsNullOrEmpty=function(n){return j(n)?n===g:c(n)},y.strIsNullOrWhiteSpace=function(n){return j(n)?n.replace(/[\s\t\r\n\f]+/g,g)===g:c(n)},y.strKebabCase=function(n,r){n=$n(n,"-");return(r?k:Mt)(n)},y.strLastIndexOf=z,y.strLeft=function(n,r){return et(n,0,r)},y.strLetterCase=function(n){return F(n).replace(/(_|\b)\w/g,k)},y.strLower=Mt,y.strPadEnd=A,y.strPadStart=Qt,y.strRepeat=Zt,y.strRight=function(n,r){return r<=0?g:n[w]>r?tt(n,-r):n},y.strSlice=tt,y.strSnakeCase=function(n,r){n=$n(n,"_");return(r?k:Mt)(n)},y.strSplit=ce,y.strStartsWith=N,y.strSubstr=ut,y.strSubstring=et,y.strSymSplit=ae,y.strTrim=Kt,y.strTrimEnd=Ht,y.strTrimLeft=Gt,y.strTrimRight=Ut,y.strTrimStart=$t,y.strUpper=k,y.symbolFor=function(n){return P||u(),((yt=(P.lzy?0:yt)||l(f(bn,["for"]).v)).v||pn)(n)},y.symbolKeyFor=function(n){return P||u(),((dt=(P.lzy?0:dt)||l(f(bn,["keyFor"]).v)).v||vn)(n)},y.throwError=function(n){throw Error(n)},y.throwRangeError=Y,y.throwTypeError=s,y.throwUnsupported=function(n){throw new(Lt=Lt||_n("UnsupportedError"))(n)},y.utcNow=Wn,y);
//# sourceMappingURL=ts-utils.min.js.map
/*
* NevWare21 Solutions LLC - ts-utils Polyfills, v0.11.3
* NevWare21 Solutions LLC - ts-utils Polyfills, v0.11.4
* https://github.com/nevware21/ts-utils

@@ -65,3 +65,3 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
propertyValueDump = (propertyValueDump && propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ")) || asString(object);
propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
}

@@ -84,5 +84,5 @@ catch (e) {

function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
var clsFn = clsProto && clsProto[funcName];
var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
return function (thisArg) {
var theFunc = (thisArg && thisArg[funcName]) || clsFn;
var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
if (theFunc || polyFunc) {

@@ -101,3 +101,3 @@ var theArgs = arguments;

function arrSlice(theArray, start, end) {
return ((theArray && theArray["slice"]) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
}

@@ -323,18 +323,31 @@

var WINDOW = "window";
function _getGlobalInstFn(getFn, theArgs) {
var cachedValue;
return function () {
!_globalLazyTestHooks && _initTestHooks();
(!cachedValue || _globalLazyTestHooks.lzy) && (cachedValue = createCachedValue(safe(getFn, theArgs).v));
return cachedValue.v;
};
var _cachedGlobal;
function getGlobal(useCached) {
!_globalLazyTestHooks && _initTestHooks();
if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
}
return _cachedGlobal.v;
}
/*#__NO_SIDE_EFFECTS__*/
function getInst(name, useCached) {
var gbl;
if (!_cachedGlobal || useCached === false) {
gbl = getGlobal(useCached);
}
else {
gbl = _cachedGlobal.v;
}
if (gbl && gbl[name]) {
return gbl[name];
}
if (name === WINDOW) {
return getWindow();
try {
return window;
}
catch (e) {
}
}
return NULL_VALUE;
}
var getWindow = ( /*#__PURE__*/_getGlobalInstFn(getInst, [WINDOW]));

@@ -365,3 +378,3 @@ var _symbol;

!_iterSymbol && (_iterSymbol = createCachedValue(getKnownSymbol(3 )));
iter = iter[_iterSymbol.v] ? iter[_iterSymbol.v]() : null;
iter = iter[_iterSymbol.v] ? iter[_iterSymbol.v]() : NULL_VALUE;
}

@@ -473,3 +486,3 @@ if (isIterator(iter)) {

var searchValue = isString(searchString) ? searchString : asString(searchString);
var end = !isUndefined(length) && length < value[LENGTH] ? length : value[LENGTH];
var end = (!isUndefined(length) && length < value[LENGTH]) ? length : value[LENGTH];
return strSubstring(value, end - searchValue[LENGTH], end) === searchValue;

@@ -476,0 +489,0 @@ }

@@ -1,2 +0,2 @@

function n(n,r){return n||r}function r(n,r){return n[r]}function o(n,r){if(n)for(var t=n[I]>>>0,e=0;e<t&&!(e in n&&-1===r[k](n,n[e],e,n));e++);}function f(n,r){var t=O,e=A[fn][k](n);e===cn&&(n={stack:z(n.stack),message:z(n.message),name:z(n.name)});try{t=(t=JSON.stringify(n,x,r?"number"==typeof r?r:4:S))&&t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: ")||z(n)}catch(n){t=" - "+f(n,r)}return e+": "+t}function c(n){throw new TypeError(n)}function i(n){throw new RangeError(n)}function C(e,n,i){var u=n&&n[e];return function(n){var r,t=n&&n[e]||u;if(t||i)return r=arguments,(t||i).apply(n,t?$[k](r,1):r);c('"'+z(e)+'" not defined for '+f(n))}}function l(n,r){try{return{v:n.apply(this,r)}}catch(n){return{e:n}}}function J(r){return function(n){return typeof n===r}}function N(n){var r="[object "+n+"]";return function(n){return!(!n||W(n)!==r)}}function W(n){return A[fn].call(n)}function e(n){return typeof n===j||n===j}function u(n){return n===x||e(n)}function D(n){return(n||!u(n))&&n&&typeof n===on}function M(n,r){return!!n&&A.hasOwnProperty[k](n,r)||!!dn(n,r)}function v(n){return gn({toJSON:function(){return n}},"v",{value:n})}function U(n,r,t,e){gn(n,r,{value:t,enumerable:!0,writable:!!e})}function t(n){D(n)&&n!==x||c("non-object "+f(n));var r,t=[];for(r in n)yn(n,r)&&t.push(r);return t}function q(n){return n}function B(n){var r=hn,t=void 0;function e(n,r){U(i,n,n,t),U(i,r,n,t)}var i={},u=n;if(u&&D(u))for(var o in u)if(yn(u,o)&&-1===e[k](u,o,u[o]))break;return r?r(i):i}function F(){var n;return(n=(n=(n=typeof globalThis!==j?globalThis:n)||typeof self===j?n:self)||typeof window===j?n:window)||typeof global===j?n:global}function G(){var n;h||(n=l(F).v||{},h=n[mn]=n[mn]||{}),m=h}function H(n,r){var t;return function(){return m||G(),(t=t&&!m.lzy?t:v(l(n,r).v)).v}}function K(n,r){return n===tn?xn():x}function Q(n){return n&&ln(n.next)}function V(t,e,i){var u=-1;return o(t,function(n,r){if(e[k](i|t,n,r,t))return u=r,-1}),u}function X(n,r,t){for(var e=-1,i=(n[I]>>>0)-1;0<=i;i--)if(i in n&&r[k](t|n,n[i],i,n)){e=i;break}return e}function a(r){return function(n){return u(n)&&c("strTrim called ["+f(n)+"]"),n&&n.replace?n.replace(r,O):n}}function Y(n){n=+n;return(0<n?jn:En)(n)}function Z(n,r){var t=+n;return t==1/0&&r&&i("invalid value ["+f(n)+"]"),t!=t||0==t?0:In(t)}function nn(n,r){u(n)&&c("can't convert ["+f(n)+"]"),(r=Z(r,!0))<0&&i("invalid count must be >= 0 && < Infinity");for(var t=L(n)?n:z(n),e=O;0<r;(r>>>=1)&&(t+=t))1&r&&(e+=t);return e}function rn(n,r,t){var e=O,n=(r=Z(r,!0),n[I]);return n<(r>>=0)&&(e=(r-=n)>(e=u(t)?" ":z(t))[I]?kn(e,En(r/e[I])):e)[I]>r?R(e,0,r):e}function s(t){return function(){for(var n=[this],r=0;r<arguments[I];r++)n[r+1]=arguments[r];return t.apply(this,n)}}var p,d,y,g,h,b,m,tn,en,w,un,S=void 0,x=null,O="",on="object",j="undefined",E="Symbol",I="length",k="call",fn="toString",A=r(p=n(Object),g="prototype"),T=r(_=n(String),g),P=n(Math),$=r(y=r(d=n(Array),g),"slice"),z=n(_),cn="[object Error]",an=(g=C)("indexOf",y),sn=g("map",y),L=J("string"),ln=J("function"),vn=r(d,"isArray"),pn=N("RegExp"),dn=r(p,"getOwnPropertyDescriptor"),yn=n(r(p,"hasOwn"),M),gn=r(p,"defineProperty"),hn=n(r(p,"freeze"),q),bn=B({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),mn="__tsUtils$gblCfg",wn=r(P,"max"),Sn=g("slice",T),R=g("substring",T),xn=H(K,[tn="window"]),_=a(/^\s+/g),On=a(/(?=\s)\s+$/g),jn=r(P,"floor"),En=r(P,"ceil"),In=n(r(P,"trunc"),Y),kn=C("repeat",T,nn),An=g("indexOf",T),Tn={startsWith:function(n,r,t){L(n)||c("'"+f(n)+"' is not a string");r=L(r)?r:z(r),t=0<t?t:0;return R(n,t,t+r[I])===r},endsWith:function(n,r,t){L(n)||c("'"+f(n)+"' is not a string");r=L(r)?r:z(r),t=!e(t)&&t<n[I]?t:n[I];return R(n,t-r[I],t)===r},padStart:function(n,r,t){return rn(n,r,t)+n},padEnd:function(n,r,t){return n+rn(n,r,t)},trim:a(/^\s+|(?=\s)\s+$/g),trimStart:_,trimLeft:_,trimEnd:On,trimRight:On,substr:function(n,r,t){return u(n)&&c("Invalid "+f(n)),t<0?O:((r=r||0)<0&&(r=wn(r+n[I],0)),e(t)?Sn(n,r):Sn(n,r,r+t))},includes:function(n,r,t){return pn(r)&&c("'searchString' must not be a regular expression"+f(r)),-1!==An(n,z(r),t)}},Pn={isArray:function(n){return!u(n)&&"[object Array]"===W(n)},from:function(n,t,e){if(vn(n))return i=function(n){return(n&&n.slice||$).apply(n,$[k](arguments,1))}(n),t?sn(i,t,e):i;function r(n,r){return o.push(t?t[k](e,n,r):n)}var i,u,o=[],f=n;if(f&&(Q(f)||(f=f[(w=w||v((n=bn[i=3],m||G(),(c=(m.lzy?0:en)||(en=v(l(K,[E]).v))).v?c.v[n||i]:(b=b||{},(c=bn[i])?b[c]=b[c]||((n={description:z(u=E+"."+c),toString:function(){return E+"("+u+")"}})._polyfill=!0,n):void 0)))).v]?f[w.v]():null),Q(f))){var c=S,a=S;try{for(var s=0;!(a=f.next()).done&&-1!==r[k](f,a.value,s,f);)s++}catch(n){c={e:n},f.throw&&(a=x,f.throw(c))}finally{try{a&&!a.done&&f.return&&f.return(a)}finally{if(c)throw c.e}}}return o}},$n={includes:function(n,r,t){return-1!==an(n,r,t)},find:function(n,r,t){r=V(n,r,t);return-1!==r?n[r]:void 0},findIndex:V,findLast:function(n,r,t){r=X(n,r,t);return-1!==r?n[r]:void 0},findLastIndex:X};o(t(un={keys:t,hasOwn:M}),function(n){p[n]||(p[n]=s(un[n]))}),o(t(Pn),function(n){d[n]||(d[n]=s(Pn[n]))}),o(t($n),function(n){y[n]||(y[n]=s($n[n]))}),o(t(Tn),function(n){T[n]||(T[n]=s(Tn[n]))});
function n(n,r){return n||r}function r(n,r){return n[r]}function o(n,r){if(n)for(var t=n[I]>>>0,e=0;e<t&&!(e in n&&-1===r[k](n,n[e],e,n));e++);}function f(n,r){var t=O,e=A[on][k](n);e===fn&&(n={stack:z(n.stack),message:z(n.message),name:z(n.name)});try{t=((t=JSON.stringify(n,x,r?"number"==typeof r?r:4:S))?t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):x)||z(n)}catch(n){t=" - "+f(n,r)}return e+": "+t}function c(n){throw new TypeError(n)}function C(n){throw new RangeError(n)}function J(e,n,i){var u=n?n[e]:x;return function(n){var r,t=(n?n[e]:x)||u;if(t||i)return r=arguments,(t||i).apply(n,t?$[k](r,1):r);c('"'+z(e)+'" not defined for '+f(n))}}function l(n,r){try{return{v:n.apply(this,r)}}catch(n){return{e:n}}}function N(r){return function(n){return typeof n===r}}function W(n){var r="[object "+n+"]";return function(n){return!(!n||D(n)!==r)}}function D(n){return A[on].call(n)}function e(n){return typeof n===j||n===j}function i(n){return n===x||e(n)}function M(n){return(n||!i(n))&&n&&typeof n===un}function U(n,r){return!!n&&A.hasOwnProperty[k](n,r)||!!pn(n,r)}function v(n){return yn({toJSON:function(){return n}},"v",{value:n})}function q(n,r,t,e){yn(n,r,{value:t,enumerable:!0,writable:!!e})}function t(n){M(n)&&n!==x||c("non-object "+f(n));var r,t=[];for(r in n)dn(n,r)&&t.push(r);return t}function B(n){return n}function F(n){var r=gn,t=void 0;function e(n,r){q(i,n,n,t),q(i,r,n,t)}var i={},u=n;if(u&&M(u))for(var o in u)if(dn(u,o)&&-1===e[k](u,o,u[o]))break;return r?r(i):i}function G(){var n;return(n=(n=(n=typeof globalThis!==j?globalThis:n)||typeof self===j?n:self)||typeof window===j?n:window)||typeof global===j?n:global}function H(){var n;g||(n=l(G).v||{},g=n[bn]=n[bn]||{}),b=g}function K(n,r){r=(m&&!1!==r?m:(r=r,b||H(),m=m&&!1!==r&&!b.lzy?m:v(l(G).v||x))).v;if(r&&r[n])return r[n];if(n===Sn)try{return window}catch(n){}return x}function Q(n){return n&&sn(n.next)}function V(t,e,i){var u=-1;return o(t,function(n,r){if(e[k](i|t,n,r,t))return u=r,-1}),u}function X(n,r,t){for(var e=-1,i=(n[I]>>>0)-1;0<=i;i--)if(i in n&&r[k](t|n,n[i],i,n)){e=i;break}return e}function u(r){return function(n){return i(n)&&c("strTrim called ["+f(n)+"]"),n&&n.replace?n.replace(r,O):n}}function Y(n){n=+n;return(0<n?On:jn)(n)}function Z(n,r){var t=+n;return t==1/0&&r&&C("invalid value ["+f(n)+"]"),t!=t||0==t?0:En(t)}function nn(n,r){i(n)&&c("can't convert ["+f(n)+"]"),(r=Z(r,!0))<0&&C("invalid count must be >= 0 && < Infinity");for(var t=L(n)?n:z(n),e=O;0<r;(r>>>=1)&&(t+=t))1&r&&(e+=t);return e}function rn(n,r,t){var e=O,n=(r=Z(r,!0),n[I]);return n<(r>>=0)&&(e=(r-=n)>(e=i(t)?" ":z(t))[I]?In(e,jn(r/e[I])):e)[I]>r?R(e,0,r):e}function a(t){return function(){for(var n=[this],r=0;r<arguments[I];r++)n[r+1]=arguments[r];return t.apply(this,n)}}var s,p,d,y,g,h,b,m,tn,w,en,S=void 0,x=null,O="",un="object",j="undefined",E="Symbol",I="length",k="call",on="toString",A=r(s=n(Object),y="prototype"),T=r(_=n(String),y),P=n(Math),$=r(d=r(p=n(Array),y),"slice"),z=n(_),fn="[object Error]",cn=(y=J)("indexOf",d),an=y("map",d),L=N("string"),sn=N("function"),ln=r(p,"isArray"),vn=W("RegExp"),pn=r(s,"getOwnPropertyDescriptor"),dn=n(r(s,"hasOwn"),U),yn=r(s,"defineProperty"),gn=n(r(s,"freeze"),B),hn=F({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),bn="__tsUtils$gblCfg",mn=r(P,"max"),wn=y("slice",T),R=y("substring",T),Sn="window",_=u(/^\s+/g),xn=u(/(?=\s)\s+$/g),On=r(P,"floor"),jn=r(P,"ceil"),En=n(r(P,"trunc"),Y),In=J("repeat",T,nn),kn=y("indexOf",T),An={startsWith:function(n,r,t){L(n)||c("'"+f(n)+"' is not a string");r=L(r)?r:z(r),t=0<t?t:0;return R(n,t,t+r[I])===r},endsWith:function(n,r,t){L(n)||c("'"+f(n)+"' is not a string");r=L(r)?r:z(r),t=!e(t)&&t<n[I]?t:n[I];return R(n,t-r[I],t)===r},padStart:function(n,r,t){return rn(n,r,t)+n},padEnd:function(n,r,t){return n+rn(n,r,t)},trim:u(/^\s+|(?=\s)\s+$/g),trimStart:_,trimLeft:_,trimEnd:xn,trimRight:xn,substr:function(n,r,t){return i(n)&&c("Invalid "+f(n)),t<0?O:((r=r||0)<0&&(r=mn(r+n[I],0)),e(t)?wn(n,r):wn(n,r,r+t))},includes:function(n,r,t){return vn(r)&&c("'searchString' must not be a regular expression"+f(r)),-1!==kn(n,z(r),t)}},Tn={isArray:function(n){return!i(n)&&"[object Array]"===D(n)},from:function(n,t,e){if(ln(n))return i=function(n){return((n?n.slice:x)||$).apply(n,$[k](arguments,1))}(n),t?an(i,t,e):i;function r(n,r){return o.push(t?t[k](e,n,r):n)}var i,u,o=[],f=n;if(f&&(Q(f)||(f=f[(w=w||v((n=hn[i=3],b||H(),(c=(b.lzy?0:tn)||(tn=v(l(K,[E]).v))).v?c.v[n||i]:(h=h||{},(c=hn[i])?h[c]=h[c]||((n={description:z(u=E+"."+c),toString:function(){return E+"("+u+")"}})._polyfill=!0,n):void 0)))).v]?f[w.v]():x),Q(f))){var c=S,a=S;try{for(var s=0;!(a=f.next()).done&&-1!==r[k](f,a.value,s,f);)s++}catch(n){c={e:n},f.throw&&(a=x,f.throw(c))}finally{try{a&&!a.done&&f.return&&f.return(a)}finally{if(c)throw c.e}}}return o}},Pn={includes:function(n,r,t){return-1!==cn(n,r,t)},find:function(n,r,t){r=V(n,r,t);return-1!==r?n[r]:void 0},findIndex:V,findLast:function(n,r,t){r=X(n,r,t);return-1!==r?n[r]:void 0},findLastIndex:X};o(t(en={keys:t,hasOwn:U}),function(n){s[n]||(s[n]=a(en[n]))}),o(t(Tn),function(n){p[n]||(p[n]=a(Tn[n]))}),o(t(Pn),function(n){d[n]||(d[n]=a(Pn[n]))}),o(t(An),function(n){T[n]||(T[n]=a(An[n]))});
//# sourceMappingURL=ts-polyfills-utils.min.js.map

@@ -1,3 +0,3 @@

/*! https://github.com/nevware21/ts-utils v0.11.3 */
function n(n){function r(n,r){return n||r}function t(n,r){return n[r]}var L,f=void 0,v=null,c="",_="function",R="object",s="prototype",W="__proto__",e="undefined",B="constructor",K="Symbol",a="length",$="name",p="call",u="toString",o=r(Object),G=t(o,s),i=t(xn=r(String),s),H=r(Math),l=t(N=t($r=r(Array),s),"slice");function y(n,r){try{return{v:n.apply(this,r)}}catch(n){return{e:n}}}function U(n,r){n=y(n);return n.e?r:n.v}function M(r){return function(n){return typeof n===r}}function d(n){var r="[object "+n+"]";return function(n){return!(!n||V(n)!==r)}}function V(n){return G[u].call(n)}function h(n){return typeof n===e||n===e}function b(n){return n===v||h(n)}function J(n){return n===v||!q(n)}function q(n){return!!n||n!==f}function Z(n){return L=L||["string","number","boolean",e,"symbol","bigint"],n!==R&&!!~L.indexOf(n)}var g=M("string"),m=M(_);function Q(n){return!(!n&&b(n)||!n||typeof n!==R)}var w=t($r,"isArray"),X=d("Date"),Y=M("number"),nn=M("boolean"),rn=d("RegExp"),tn=d("File"),en=d("FormData"),un=d("Blob"),on=d("ArrayBuffer"),an=d("Error");function cn(n){return!!(n&&n.then&&m(n.then))}var fn=cn;function sn(n){return!(!n||U(function(){return!(n&&0+n)},!n))}var ln=t(o,"getOwnPropertyDescriptor");function vn(n,r){return!!n&&G.hasOwnProperty[p](n,r)}var pn=r(t(o,"hasOwn"),yn);function yn(n,r){return vn(n,r)||!!ln(n,r)}function S(n,r,t){if(n&&Q(n))for(var e in n)if(pn(n,e)&&-1===r[p](t||n,e,n[e]))break}var dn={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function hn(r){var n,t={};return t[dn.c]=!0,t[dn.e]=!0,r.l&&(t.get=function(){return r.l.v},n=ln(r.l,"v"))&&n.set&&(t.set=function(n){r.l.v=n}),S(r,function(n,r){t[dn[n]]=h(r)?t[dn[n]]:r}),t}var I=t(o,"defineProperty"),bn=t(o,"defineProperties");function T(n,r,t){return I(n,r,hn(t))}function gn(n,t,e,r,u){var o={};return S(n,function(n,r){mn(o,n,t?r:n,u),mn(o,r,e?r:n,u)}),r?r(o):o}function mn(n,r,t,e){I(n,r,{value:t,enumerable:!0,writable:!!e})}var O=r(xn),wn="[object Error]";function j(n,r){var t=c,e=G[u][p](n);e===wn&&(n={stack:O(n.stack),message:O(n.message),name:O(n.name)});try{t=(t=JSON.stringify(n,v,r?"number"==typeof r?r:4:f))&&t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: ")||O(n)}catch(n){t=" - "+j(n,r)}return e+": "+t}function x(n){throw new TypeError(n)}function Sn(n){throw new RangeError(n)}function In(n){var t=[];return S(n,function(n,r){t.push([n,r])}),t}var Tn=t(o,"freeze");function On(n){return n}function jn(n){return n[W]||v}var xn=t(o,"assign"),En=t(o,"keys"),Cn=r(Tn,On),Fn=r(t(o,"seal"),On),Pn=r(t(o,"getPrototypeOf"),jn),Dn=r(t(o,"entries"),In);function kn(n){return gn(n,0,0,Cn)}function An(n){var t={};return S(n,function(n,r){mn(t,n,r[1]),mn(t,r[0],r[1])}),Cn(t)}var zn,Nn=kn({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Ln="__tsUtils$gblCfg";function _n(){var n;return(n=(n=(n=typeof globalThis!==e?globalThis:n)||typeof self===e?n:self)||typeof window===e?n:window)||typeof global===e?n:global}function Rn(){var n;return zn||(n=y(_n).v||{},zn=n[Ln]=n[Ln]||{}),zn}var E=C;function C(e,n,u){var o=n&&n[e];return function(n){var r,t=n&&n[e]||o;if(t||u)return r=arguments,(t||u).apply(n,t?l[p](r,1):r);x('"'+O(e)+'" not defined for '+j(n))}}function Wn(r){return function(n){return n[r]}}var Bn=t(H,"min"),Kn=t(H,"max"),$n=E("slice",i),Gn=E("substring",i),Hn=C("substr",i,Un);function Un(n,r,t){return b(n)&&x("Invalid "+j(n)),t<0?c:((r=r||0)<0&&(r=Kn(r+n[a],0)),h(t)?$n(n,r):$n(n,r,r+t))}var Mn,Vn,F,Jn="_urid";function qn(){var n;return Mn||(n=Rn(),Mn=n.gblSym=n.gblSym||{k:{},s:{}}),Mn}function Zn(n){return{description:O(n),toString:function(){return K+"("+n+")"},_polyfill:!0}}function Qn(n){var r,t,e=qn();return pn(e.k,n)||(r=Zn(n),t=En(e.s).length,r[Jn]=function(){return t+"_"+r[u]()},e.k[n]=r,e.s[r[Jn]()]=O(n)),e.k[n]}function Xn(n){n&&n[u]&&Gn(n[u](),0,6)==K||x(n+" is not a symbol");n=n._polyfill&&n[Jn]&&n[Jn]();return n?qn().s[n]:void 0}function Yn(n){Vn=Vn||{};n=Nn[n];return n?Vn[n]=Vn[n]||Zn(K+"."+n):void 0}function P(){F=Rn()}function nr(r){var t={};return F||P(),t.b=F.lzy,I(t,"v",{configurable:!0,get:function(){var n=r();return F.lzy||I(t,"v",{value:n}),t.b=F.lzy,n}}),t}function D(n){return I({toJSON:function(){return n}},"v",{value:n})}var rr,tr="window";function k(n,r){var t;return function(){return F||P(),(t=t&&!F.lzy?t:D(y(n,r).v)).v}}function er(n){return F||P(),(rr=rr&&!1!==n&&!F.lzy?rr:D(y(_n).v||v)).v}function A(n,r){r=rr&&!1!==r?rr.v:er(r);return r&&r[n]?r[n]:n===tr?cr():v}var ur,or,ir,ar=k(A,["document"]),cr=k(A,[tr]),fr=k(A,["navigator"]),sr=k(A,["history"]),lr=k(function(){return!!y(function(){return process&&(process.versions||{}).node}).v}),vr=k(function(){return!!y(function(){return self&&self instanceof WorkerGlobalScope}).v});function pr(){return ur=D(y(A,[K]).v)}function yr(n){var r=(F.lzy?0:ur)||pr();return r.v?r.v[n]:f}var dr,hr=M("symbol");function br(){return!!gr()}function gr(){return F||P(),((F.lzy?0:ur)||pr()).v}function mr(n,r){var t=Nn[n],e=(F||P(),(F.lzy?0:ur)||pr());return e.v?e.v[t||n]:r?f:Yn(n)}function wr(n){return!!n&&m(n.next)}function Sr(n){return!J(n)&&m(n[mr(3)])}function Ir(r,n,t){if(r&&(wr(r)||(r=r[(dr=dr||D(mr(3))).v]?r[dr.v]():null),wr(r))){var e=f,u=f;try{for(var o=0;!(u=r.next()).done&&-1!==n[p](t||r,u.value,o,r);)o++}catch(n){e={e:n},r.throw&&(u=v,r.throw(e))}finally{try{u&&!u.done&&r.return&&r.return(u)}finally{if(e)throw e.e}}}}function z(n,r,t){return n.apply(r,t)}function Tr(n,r){return n.bind.apply(n,l[p](arguments,1))}var Or=E("every",N),jr=E("filter",N);function xr(n,r,t){if(n)for(var e=n[a]>>>0,u=0;u<e&&!(u in n&&-1===r[p](t||n,n[u],u,n));u++);}var Er=E("indexOf",N),Cr=E("lastIndexOf",N),Fr=E("map",N);function Pr(n,r,t){return(n&&n.slice||l).apply(n,l[p](arguments,1))}function Dr(n,r,t){return-1!==Er(n,r,t)}function kr(n,r,t){r=Ar(n,r,t);return-1!==r?n[r]:void 0}function Ar(t,e,u){var o=-1;return xr(t,function(n,r){if(e[p](u|t,n,r,t))return o=r,-1}),o}function zr(n,r,t){r=Nr(n,r,t);return-1!==r?n[r]:void 0}function Nr(n,r,t){for(var e=-1,u=(n[a]>>>0)-1;0<=u;u--)if(u in n&&r[p](t|n,n[u],u,n)){e=u;break}return e}function Lr(n,t,e){var r,u;return w(n)?(r=Pr(n),t?Fr(r,t,e):r):(u=[],Ir(n,function(n,r){return u.push(t?t[p](e,n,r):n)}),u)}var _r,Rr=C("find",N,kr),Wr=C("findIndex",N,Ar),Br=C("findLast",N,zr),Kr=C("findLastIndex",N,Nr),$r=r(t($r,"from"),Lr),Gr=C("includes",N,Dr),Hr=Gr,Ur=E("reduce",N),N=E("some",N);function Mr(t,e){return function(){var n=l[p](arguments),r=t();return z(r[e],r,n)}}var Vr,Jr,qr=r(t(o,"create"),Zr);function Zr(n){var r;return n?((r=typeof n)!==R&&r!==_&&x("Prototype must be an Object or function: "+j(n)),t[s]=n,new t):{};function t(){}}function Qr(n,r){return(o.setPrototypeOf||function(t,n){var r;(Vr=Vr||D(((r={})[W]=[],r instanceof Array))).v?t[W]=n:S(n,function(n,r){return t[n]=r})})(n,r)}function Xr(n,r){r&&(n[$]=r)}function Yr(u,o,n){var r,t,i=n||Error,a=i[s][$],c=Error.captureStackTrace,n=i;return y(T,[t=function(){var n=this,r=arguments;try{y(Xr,[i,u]);var t,e=z(i,n,l[p](r))||n;return e!==n&&(t=Pn(n))!==Pn(e)&&Qr(e,t),c&&c(e,n[B]),o&&o(e,r),e}finally{y(Xr,[i,a])}},$,{v:r=u,c:!0,e:!1}]),(t=Qr(t,n))[s]=n===v?qr(n):(e[s]=n[s],new e),t;function e(){this[B]=t,y(T,[this,$,{v:r,c:!0,e:!1}])}}function nt(){return(Date.now||rt)()}function rt(){return(new Date).getTime()}function tt(r){return function(n){return b(n)&&x("strTrim called ["+j(n)+"]"),n&&n.replace?n.replace(r,c):n}}var et=tt(/^\s+|(?=\s)\s+$/g),ut=tt(/^\s+/g),ot=tt(/(?=\s)\s+$/g),it=C("trim",i,et),at=C("trimStart",i,ut),ct=r(at),ft=C("trimEnd",i,ot),st=r(ft),lt=E("toUpperCase",i),vt=E("toLowerCase",i);function pt(n,i,a){return it(O(n)).replace(/((_|\W)+(\w){0,1}|([a-z])([A-Z]))/g,function(n,r,t,e,u,o){e=e||o||c;return a&&(e=lt(e)),(u||c)+i+e})}function yt(n,r){return pt(n,"",!0).replace(/^\w/,r?lt:vt)}var dt=t(H,"floor"),ht=t(H,"ceil"),bt=r(t(H,"trunc"),gt);function gt(n){n=+n;return(0<n?dt:ht)(n)}function mt(n,r){var t=+n;return t==1/0&&r&&Sn("invalid value ["+j(n)+"]"),t!=t||0==t?0:bt(t)}var wt=C("repeat",i,St);function St(n,r){b(n)&&x("can't convert ["+j(n)+"]"),(r=mt(r,!0))<0&&Sn("invalid count must be >= 0 && < Infinity");for(var t=g(n)?n:O(n),e=c;0<r;(r>>>=1)&&(t+=t))1&r&&(e+=t);return e}function It(n,r,t){var e=c,n=(r=mt(r,!0),n[a]);return n<(r>>=0)&&(e=(r-=n)>(e=b(t)?" ":O(t))[a]?wt(e,ht(r/e[a])):e)[a]>r?Gn(e,0,r):e}var Tt=C("padStart",i,Ot),H=C("padEnd",i,jt);function Ot(n,r,t){return It(n,r,t)+n}function jt(n,r,t){return n+It(n,r,t)}var xt,Et,Ct,Ft,Pt=/([^\w\d_$])/g;function Dt(n){if(!n||typeof n!==R)return!1;var r=!1;if(n!==(Ft=Ft||cr()||!0)){Ct||(Et=Function[s][u],Ct=Et[p](o));try{var t=Pn(n),r=(r=!t)||(t=vn(t,B)?t[B]:t)&&typeof t===_&&Et[p](t)===Ct}catch(n){}}return r}function kt(n){return n.value&&Kt(n),!0}var At=[Rt,Kt,Bt,Wt];function zt(t,n,e,r){var u,o,i=e.handler,r=e.path?r?e.path.concat(r):e.path:[],a={handler:e.handler,src:e.src,path:r},c=typeof n,f=!1,s=!1,l=(n&&c===R?f=Dt(n):s=n===v||Z(c),{type:c,isPrim:s,isPlain:f,value:n,result:n,path:r,origin:e.src,copy:function(n,r){return zt(t,n,r?a:e,r)},copyTo:function(n,r){return Nt(t,n,r,a)}});return l.isPrim?i&&i[p](e,l)?l.result:n:(u=n,c=function(r){T(l,"result",{g:function(){return r.v},s:function(n){r.v=n}});for(var n=0,t=i;!(t||(n<At.length?At[n++]:kt))[p](e,l);)t=v},xr(s=t,function(n){if(n.k===u)return o=n,-1}),o||(o={k:u,v:u},s.push(o),c(o)),o.v)}function Nt(n,r,t,e){if(!b(t))for(var u in t)r[u]=zt(n,t[u],e,u);return r}function Lt(n,r,t){return Nt([],n,r,{handler:t,src:r,path:[]})}function _t(n,r){return zt([],n,{handler:r,src:n})}function Rt(n){var r,t=n.value;return!!w(t)&&((r=n.result=[]).length=t.length,n.copyTo(r,t),!0)}function Wt(n){var r=n.value;return!!X(r)&&(n.result=new Date(r.getTime()),!0)}function Bt(n){return n.type===_}function Kt(n){var r,t=n.value;return!(!t||!n.isPlain||(r=n.result={},n.copyTo(r,t),0))}function $t(r,n){return xr(n,function(n){Lt(r,n)}),r}var Gt,Ht=Wn(a);function Ut(){return F||P(),(Gt=Gt&&!F.lzy?Gt:D(y(A,["performance"]).v)).v}function Mt(){var n=Ut();return n&&n.now?n.now():nt()}function Vt(n){return Mt()-n}var Jt="(.*)";function qt(n,r,t,e,u){return RegExp((u?"^":c)+t(n.replace(r,"\\$1"))+(u?"$":c),e?"i":"")}function Zt(n,r){return n[mr(3)]=function(){return Qt(r)},n}function Qt(r){var t=!1;function e(){return r.v}var n={next:function(){var n={done:t=t||!r.n||r.n(arguments)};return t||T(n,"value",{g:e}),n}};return r.r&&(n.return=function(n){return{done:t=!0,value:r.r&&r.r(n)}}),r.t&&(n.throw=function(n){return{done:t=!0,value:r.t&&r.t(n)}}),n}function Xt(n,r,t){r=r&&r[mr(9)];return r?r(n,t):[n]}var Yt=E("split",i),ne=C("split",i,gr()?null:Xt),re=C("endsWith",i,te);function te(n,r,t){g(n)||x("'"+j(n)+"' is not a string");r=g(r)?r:O(r),t=!h(t)&&t<n[a]?t:n[a];return Gn(n,t-r[a],t)===r}var ee=E("indexOf",i),E=E("lastIndexOf",i),ue=C("includes",i,ie),oe=r(ue);function ie(n,r,t){return rn(r)&&x("'searchString' must not be a regular expression"+j(r)),-1!==ee(n,O(r),t)}function ae(n,r,t){g(n)||x("'"+j(n)+"' is not a string");r=g(r)?r:O(r),t=0<t?t:0;return Gn(n,t,t+r[a])===r}i=C("startsWith",i,ae);var ce="ref",fe="unref",se="hasRef",le="enabled";function ve(n,r,t){var e,u=!0,o=n?r(v):v;function i(){return u=!1,o&&o[fe]&&o[fe](),e}function a(){o&&t(o),o=v}function c(){return o=r(o),u||i(),e}return(e={cancel:a,refresh:c})[se]=function(){return o&&o[se]?o[se]():u},e[ce]=function(){return u=!0,o&&o[ce]&&o[ce](),e},e[fe]=i,{h:e=I(e,le,{get:function(){return!!o},set:function(n){!n&&o&&a(),n&&!o&&c()}}),dn:function(){o=v}}}function pe(n,r,t){var e=w(r),u=e?r.length:0,o=(0<u?r[0]:e?f:r)||setTimeout,i=(1<u?r[1]:f)||clearTimeout,a=t[0],c=(t[0]=function(){c.dn(),z(a,f,l[p](arguments))},ve(n,function(n){if(n){if(n.refresh)return n.refresh(),n;z(i,f,[n])}return z(o,f,t)},function(n){z(i,f,[n])}));return c.h}function ye(n,r){return pe(!0,f,l[p](arguments))}var de=100,he=50,be=k(A,["requestIdleCallback"]),ge=k(A,["cancelIdleCallback"]);n.arrAppend=function(r,n){return!h(n)&&r&&(w(n)?z(r.push,r,n):wr(n)||Sr(n)?Ir(n,function(n){r.push(n)}):r.push(n)),r},n.arrContains=Hr,n.arrEvery=Or,n.arrFilter=jr,n.arrFind=Rr,n.arrFindIndex=Wr,n.arrFindLast=Br,n.arrFindLastIndex=Kr,n.arrForEach=xr,n.arrFrom=$r,n.arrIncludes=Gr,n.arrIndexOf=Er,n.arrLastIndexOf=Cr,n.arrMap=Fr,n.arrReduce=Ur,n.arrSlice=Pr,n.arrSome=N,n.arrayDeepCopyHandler=Rt,n.asString=O,n.createArrayIterator=function(n){var r=-1,t=n?n.slice():[],e=t[a],n={n:function(){return e<=++r}};return T(n,"v",{g:function(){if(0<=r&&r<e)return t[r]}}),Qt(n)},n.createCachedValue=D,n.createCustomError=Yr,n.createDeferredCachedValue=function(r){var t={toJSON:function(){return t.v}};return I(t,"v",{get:function(){var n=r();return r=v,I(t,"v",{value:n}),n},configurable:!0})},n.createEnum=function(n){return gn(n,1,0,Cn)},n.createEnumKeyMap=kn,n.createEnumValueMap=function(n){return gn(n,1,1,Cn)},n.createFilenameRegex=function(n,r,t){return qt(O(n),/([-+|^$#.{}()\\\/\[\]\"\'])/g,function(n){return n.replace(/(\\\\|\\\/|\*|\?)/g,function(n,r){return"\\/"==r||"\\\\"==r?"[\\\\\\/]{1}":"*"==r?Jt:"(.)"})},!!r,t)},n.createFnDeferredProxy=Mr,n.createIterable=function(n){return Zt({},n)},n.createIterator=Qt,n.createProxyFuncs=function(t,e,n){var u;return t&&e&&w(n)&&(u=m(e),xr(n,function(n){var r=n.as||n.n;!1===n.rp&&t[r]||(t[r]=u?Mr(e,n.n):Tr(e[n.n],e))})),t},n.createRangeIterator=function(n,r,t){var e=n,u=f,o=(b(r)&&(r=n),t||(n<=r?1:-1)),t={n:function(){var n;return(n=0<o?r<e:e<r)||(u=e,e+=o),n}};return T(t,"v",{g:function(){return u}}),Qt(t)},n.createSimpleMap=An,n.createTimeout=function(n,r){return pe(!1,f,l[p](arguments))},n.createTimeoutWith=function(n,r,t){return pe(!1,n,l[p](arguments,1))},n.createTypeMap=An,n.createWildcardRegex=function(n,r,t){return qt(O(n),/([-+|^$#.\?{}()\[\]\\/\"\'])/g,function(n){return n.replace(/\*/g,Jt)},!!r,t)},n.dateDeepCopyHandler=Wt,n.deepExtend=function(n,r,t,e,u,o,i){return $t(_t(n)||{},l[p](arguments))},n.dumpObj=j,n.elapsedTime=Vt,n.encodeAsHtml=function(n){return xt=xt||{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#39"},O(n).replace(/[&<>"']/g,function(n){return"&"+xt[n]+";"})},n.encodeAsJson=function(n,r){var t;if(g(n))t='"'+n.replace(/[^\w .,\-!@#$%\^&*\(\)_+={}\[\]:;|<>?]/g,function(n){return'"'===n||"\\"===n?"\\"+n:(n=n.charCodeAt(0)[u](16),"\\u"+Tt(lt(n),4,"0"))})+'"';else try{t=JSON.stringify(n,v,r?Y(r)?r:4:f)}catch(n){t='"'+j(n)+'"'}return t},n.fnApply=z,n.fnBind=Tr,n.fnCall=function(n,r){return n.apply(r,l[p](arguments,2))},n.functionDeepCopyHandler=Bt,n.getCancelIdleCallback=ge,n.getDocument=ar,n.getGlobal=er,n.getHistory=sr,n.getIdleCallback=be,n.getInst=A,n.getIntValue=function(n,r){return b(n)?r:Y(n)?n:isNaN(n=parseInt(n,10))?r:n},n.getKnownSymbol=mr,n.getLazy=nr,n.getLength=Ht,n.getNavigator=fr,n.getPerformance=Ut,n.getSymbol=gr,n.getValueByIter=function(r,n,t){return n&&r&&(Ir(n,function(n){if(b(r))return-1;r=r[n]}),!b(r))?r:t},n.getValueByKey=function(n,r,t){if(!r||!n)return t;for(var e=Yt(r,"."),u=e.length,o=0;o<u&&!b(n);o++)n=n[e[o]];return b(n)?t:n},n.getWindow=cr,n.hasDocument=function(){return!!ar()},n.hasHistory=function(){return!!sr()},n.hasIdleCallback=function(){return!!be()},n.hasNavigator=function(){return!!fr()},n.hasPerformance=function(){return!!Ut()},n.hasSymbol=br,n.hasValue=function(n){return function n(r,t){var e,u,o=!1===r||0===r;if(!o&&!b(r))if(w(r))o=0<r[a];else if(X(r))o=!isNaN(r.getTime());else{if(nn(r))return!0;if(Q(r)){try{e=r,xr([a,"byteLength","size","count"],function(n){if(n in e)return n=e[n],u=0<(m(n)?n():n),-1});var i=u;if(nn(i))return i;if(m(r.valueOf)&&t<5)return n(r.valueOf(),++t)}catch(n){}return!!En(r)[a]}o=sn(r)}return o}(n,0)},n.hasWindow=function(){return!!cr()},n.isArray=w,n.isArrayBuffer=on,n.isBlob=un,n.isBoolean=nn,n.isDate=X,n.isDefined=q,n.isError=an,n.isFile=tn,n.isFormData=en,n.isFunction=m,n.isIterable=Sr,n.isIterator=wr,n.isNode=lr,n.isNotTruthy=function(n){return!n||!sn(n)},n.isNullOrUndefined=b,n.isNumber=Y,n.isObject=Q,n.isPlainObject=Dt,n.isPrimitive=function(n){return n===v||Z(typeof n)},n.isPrimitiveType=Z,n.isPromise=function(n){return!!(n&&n.then&&n.catch&&m(n.then)&&m(n.catch))},n.isPromiseLike=cn,n.isRegExp=rn,n.isStrictNullOrUndefined=J,n.isStrictUndefined=function(n){return!q(n)},n.isString=g,n.isSymbol=hr,n.isThenable=fn,n.isTruthy=sn,n.isTypeof=function(n,r){return typeof n===r},n.isUndefined=h,n.isWebWorker=vr,n.iterForOf=Ir,n.lazySafeGetInst=function(n){return nr(function(){return y(A,[n]).v||f})},n.makeGlobRegex=function(n,r,t){return qt(O(n),/([-+|^$#.{}()\\\/\[\]\"\'])/g,function(n){return n.replace(/(\*\*\\[\\\/]|\\\\|\\\/|\*\*|\*|\?)/g,function(n,r){return"**\\/"==r||"**\\\\"==r?"(.*[\\\\\\/])*":"\\/"===r||"\\\\"==r?"[\\\\\\/]{1}":"**"===r?Jt:"*"===r?"([^\\\\\\/]*)":"([^\\\\\\/]{1})"})},!!r,t)},n.makeIterable=Zt,n.mathCeil=ht,n.mathFloor=dt,n.mathMax=Kn,n.mathMin=Bn,n.mathToInt=mt,n.mathTrunc=bt,n.newSymbol=function(n,r){F||P();var t=(F.lzy?0:ur)||pr();return t.v?t.v(n):r?v:Zn(n)},n.normalizeJsName=function(n,r){n=O(n).replace(Pt,"_");return h(r)?n:yt(n,!r)},n.objAssign=xn,n.objCopyProps=Lt,n.objCreate=qr,n.objDeepCopy=_t,n.objDeepFreeze=function t(n){return Tn&&S(n,function(n,r){(w(r)||Q(r))&&t(r)}),Cn(n)},n.objDefine=T,n.objDefineAccessors=function(n,r,t,e,u,o){o={e:o,c:u};return t&&(o.g=t),e&&(o.s=e),I(n,r,hn(o))},n.objDefineGet=function(n,r,t,e,u){return I(n,r,hn(((n={e:u,c:e})[m(t)?"g":"v"]=t,n)))},n.objDefineProp=I,n.objDefineProperties=bn,n.objDefineProps=function(n,r){var t={};return S(r,function(n,r){t[n]=hn(r)}),bn(n,t)},n.objEntries=Dn,n.objExtend=function(n,r,t,e,u,o,i){return $t(n||{},l[p](arguments))},n.objForEachKey=S,n.objFreeze=Cn,n.objGetOwnPropertyDescriptor=ln,n.objGetPrototypeOf=Pn,n.objHasOwn=pn,n.objHasOwnProperty=vn,n.objKeys=En,n.objSeal=Fn,n.objSetPrototypeOf=Qr,n.objToString=V,n.perfNow=Mt,n.plainObjDeepCopyHandler=Kt,n.polyArrFind=kr,n.polyArrFindIndex=Ar,n.polyArrFindLast=zr,n.polyArrFindLastIndex=Nr,n.polyArrFrom=Lr,n.polyArrIncludes=Dr,n.polyGetKnownSymbol=Yn,n.polyIsArray=function(n){return!b(n)&&"[object Array]"===V(n)},n.polyNewSymbol=Zn,n.polyObjEntries=In,n.polyObjHasOwn=yn,n.polyObjKeys=function(n){Q(n)&&n!==v||x("non-object "+j(n));var r,t=[];for(r in n)pn(n,r)&&t.push(r);return t},n.polyStrIncludes=ie,n.polyStrSubstr=Un,n.polyStrSymSplit=Xt,n.polyStrTrim=et,n.polyStrTrimEnd=ot,n.polyStrTrimStart=ut,n.polySymbolFor=Qn,n.polySymbolKeyFor=Xn,n.polyUtcNow=rt,n.readArgs=function(n,r,t){if(!pn(n,a)){var e=(_r=_r||D(br()&&mr(3))).v&&n[_r.v];if(e){var u=[],o=r===f||r<0?0:r,i=t<0||r<0?f:t;if(Ir(e[p](n),function(n,r){if(i!==f&&i<=r)return-1;o<=r&&u.push(n)}),(r===f||0<=r)&&(t===f||0<=t))return u;n=u}}return Pr(n,r,t)},n.safe=y,n.safeGet=U,n.safeGetLazy=function(r,t){return nr(function(){var n=y(r);return n.e?t:n.v})},n.scheduleIdleCallback=function(r,t){function e(n){var r=Mt();return{didTimeout:n,timeRemaining:function(){return he-Vt(r)}}}var u,n;return be()?(u=ve(!0,function(n){return n&&ge()(n),be()(function(n){u.dn(),r(n||e(!1))},t)},function(n){ge()(n)})).h:ye(function(){r(e(!0))},h(n=(t||{}).timeout)?de:n)},n.scheduleInterval=function(n,r){var t=l[p](arguments);return ve(!0,function(n){return n&&clearInterval(n),z(setInterval,f,t)},function(n){z(clearInterval,f,[n])}).h},n.scheduleTimeout=ye,n.scheduleTimeoutWith=function(n,r,t){return pe(!0,n,l[p](arguments,1))},n.setBypassLazyCache=function(n){F||P(),F.lzy=n},n.setDefaultIdleTimeout=function(n){de=n},n.setDefaultMaxExecutionTime=function(n){he=n},n.setValueByIter=function(r,n,t){var e;r&&n&&(Ir(n,function(n){e&&(b(r[e])&&(r[e]={}),r=r[e]),e=n}),r[e]=t)},n.setValueByKey=function(r,n,t){var e;r&&n&&(e=(n=Yt(n,".")).pop(),xr(n,function(n){b(r[n])&&(r[n]={}),r=r[n]}),r[e]=t)},n.strCamelCase=yt,n.strContains=oe,n.strEndsWith=re,n.strIncludes=ue,n.strIndexOf=ee,n.strIsNullOrEmpty=function(n){return g(n)?n===c:b(n)},n.strIsNullOrWhiteSpace=function(n){return g(n)?n.replace(/[\s\t\r\n\f]+/g,c)===c:b(n)},n.strKebabCase=function(n,r){n=pt(n,"-");return(r?lt:vt)(n)},n.strLastIndexOf=E,n.strLeft=function(n,r){return Gn(n,0,r)},n.strLetterCase=function(n){return O(n).replace(/(_|\b)\w/g,lt)},n.strLower=vt,n.strPadEnd=H,n.strPadStart=Tt,n.strRepeat=wt,n.strRight=function(n,r){return r<=0?c:n[a]>r?$n(n,-r):n},n.strSlice=$n,n.strSnakeCase=function(n,r){n=pt(n,"_");return(r?lt:vt)(n)},n.strSplit=Yt,n.strStartsWith=i,n.strSubstr=Hn,n.strSubstring=Gn,n.strSymSplit=ne,n.strTrim=it,n.strTrimEnd=ft,n.strTrimLeft=ct,n.strTrimRight=st,n.strTrimStart=at,n.strUpper=lt,n.symbolFor=function(n){return F||P(),((or=(F.lzy?0:or)||D(y(yr,["for"]).v)).v||Qn)(n)},n.symbolKeyFor=function(n){return F||P(),((ir=(F.lzy?0:ir)||D(y(yr,["keyFor"]).v)).v||Xn)(n)},n.throwError=function(n){throw Error(n)},n.throwRangeError=Sn,n.throwTypeError=x,n.throwUnsupported=function(n){throw new(Jr=Jr||Yr("UnsupportedError"))(n)},n.utcNow=nt}var r=this;"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((r="undefined"!=typeof globalThis?globalThis:r||self).nevware21=r.nevware21||{},r.nevware21["ts-utils"]={}));
/*! https://github.com/nevware21/ts-utils v0.11.4 */
function n(n){function r(n,r){return n||r}function t(n,r){return n[r]}var L,f=void 0,v=null,c="",_="function",R="object",s="prototype",W="__proto__",e="undefined",B="constructor",K="Symbol",a="length",$="name",p="call",u="toString",o=r(Object),G=t(o,s),i=t(En=r(String),s),H=r(Math),l=t(N=t(Gr=r(Array),s),"slice");function y(n,r){try{return{v:n.apply(this,r)}}catch(n){return{e:n}}}function U(n,r){n=y(n);return n.e?r:n.v}function M(r){return function(n){return typeof n===r}}function d(n){var r="[object "+n+"]";return function(n){return!(!n||V(n)!==r)}}function V(n){return G[u].call(n)}function h(n){return typeof n===e||n===e}function J(n){return!Z(n)}function b(n){return n===v||h(n)}function q(n){return n===v||!Z(n)}function Z(n){return!!n||n!==f}function Q(n){return L=L||["string","number","boolean",e,"symbol","bigint"],!(n===R||!~L.indexOf(n))}var g=M("string"),m=M(_);function X(n){return!(!n&&b(n)||!n||typeof n!==R)}var w=t(Gr,"isArray"),Y=d("Date"),nn=M("number"),rn=M("boolean"),tn=d("RegExp"),en=d("File"),un=d("FormData"),on=d("Blob"),an=d("ArrayBuffer"),cn=d("Error");function fn(n){return!!(n&&n.then&&m(n.then))}var sn=fn;function ln(n){return!(!n||U(function(){return!(n&&0+n)},!n))}var vn=t(o,"getOwnPropertyDescriptor");function pn(n,r){return!!n&&G.hasOwnProperty[p](n,r)}var yn=r(t(o,"hasOwn"),dn);function dn(n,r){return pn(n,r)||!!vn(n,r)}function S(n,r,t){if(n&&X(n))for(var e in n)if(yn(n,e)&&-1===r[p](t||n,e,n[e]))break}var hn={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function bn(r){var n,t={};return t[hn.c]=!0,t[hn.e]=!0,r.l&&(t.get=function(){return r.l.v},n=vn(r.l,"v"))&&n.set&&(t.set=function(n){r.l.v=n}),S(r,function(n,r){t[hn[n]]=J(r)?t[hn[n]]:r}),t}var I=t(o,"defineProperty"),gn=t(o,"defineProperties");function T(n,r,t){return I(n,r,bn(t))}function mn(n,t,e,r,u){var o={};return S(n,function(n,r){wn(o,n,t?r:n,u),wn(o,r,e?r:n,u)}),r?r(o):o}function wn(n,r,t,e){I(n,r,{value:t,enumerable:!0,writable:!!e})}var O=r(En),Sn="[object Error]";function j(n,r){var t=c,e=G[u][p](n);e===Sn&&(n={stack:O(n.stack),message:O(n.message),name:O(n.name)});try{t=((t=JSON.stringify(n,v,r?"number"==typeof r?r:4:f))?t.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):v)||O(n)}catch(n){t=" - "+j(n,r)}return e+": "+t}function x(n){throw new TypeError(n)}function In(n){throw new RangeError(n)}function Tn(n){var t=[];return S(n,function(n,r){t.push([n,r])}),t}var On=t(o,"freeze");function jn(n){return n}function xn(n){return n[W]||v}var En=t(o,"assign"),Cn=t(o,"keys"),Fn=r(On,jn),Pn=r(t(o,"seal"),jn),Dn=r(t(o,"getPrototypeOf"),xn),kn=r(t(o,"entries"),Tn);function An(n){return mn(n,0,0,Fn)}function zn(n){var t={};return S(n,function(n,r){wn(t,n,r[1]),wn(t,r[0],r[1])}),Fn(t)}var Nn,Ln=An({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),_n="__tsUtils$gblCfg";function Rn(){var n;return(n=(n=(n=typeof globalThis!==e?globalThis:n)||typeof self===e?n:self)||typeof window===e?n:window)||typeof global===e?n:global}function Wn(){var n;return Nn||(n=y(Rn).v||{},Nn=n[_n]=n[_n]||{}),Nn}var E=C;function C(e,n,u){var o=n?n[e]:v;return function(n){var r,t=(n?n[e]:v)||o;if(t||u)return r=arguments,(t||u).apply(n,t?l[p](r,1):r);x('"'+O(e)+'" not defined for '+j(n))}}function Bn(r){return function(n){return n[r]}}var Kn=t(H,"min"),$n=t(H,"max"),Gn=E("slice",i),Hn=E("substring",i),Un=C("substr",i,Mn);function Mn(n,r,t){return b(n)&&x("Invalid "+j(n)),t<0?c:((r=r||0)<0&&(r=$n(r+n[a],0)),h(t)?Gn(n,r):Gn(n,r,r+t))}var Vn,Jn,F,qn="_urid";function Zn(){var n;return Vn||(n=Wn(),Vn=n.gblSym=n.gblSym||{k:{},s:{}}),Vn}function Qn(n){return{description:O(n),toString:function(){return K+"("+n+")"},_polyfill:!0}}function Xn(n){var r,t,e=Zn();return yn(e.k,n)||(r=Qn(n),t=Cn(e.s).length,r[qn]=function(){return t+"_"+r[u]()},e.k[n]=r,e.s[r[qn]()]=O(n)),e.k[n]}function Yn(n){n&&n[u]&&Hn(n[u](),0,6)==K||x(n+" is not a symbol");n=n._polyfill&&n[qn]&&n[qn]();return n?Zn().s[n]:void 0}function nr(n){Jn=Jn||{};n=Ln[n];return n?Jn[n]=Jn[n]||Qn(K+"."+n):void 0}function P(){F=Wn()}function rr(r){var t={};return F||P(),t.b=F.lzy,I(t,"v",{configurable:!0,get:function(){var n=r();return F.lzy||I(t,"v",{value:n}),t.b=F.lzy,n}}),t}function D(n){return I({toJSON:function(){return n}},"v",{value:n})}var tr,er="window";function k(n,r){var t;return function(){return F||P(),(t=t&&!F.lzy?t:D(y(n,r).v)).v}}function ur(n){return F||P(),(tr=tr&&!1!==n&&!F.lzy?tr:D(y(Rn).v||v)).v}function A(n,r){r=tr&&!1!==r?tr.v:ur(r);if(r&&r[n])return r[n];if(n===er)try{return window}catch(n){}return v}var or,ir,ar,cr=k(A,["document"]),fr=k(A,[er]),sr=k(A,["navigator"]),lr=k(A,["history"]),vr=k(function(){return!!y(function(){return process&&(process.versions||{}).node}).v}),pr=k(function(){return!!y(function(){return self&&self instanceof WorkerGlobalScope}).v});function yr(){return or=D(y(A,[K]).v)}function dr(n){var r=(F.lzy?0:or)||yr();return r.v?r.v[n]:f}var hr,br=M("symbol");function gr(){return!!mr()}function mr(){return F||P(),((F.lzy?0:or)||yr()).v}function wr(n,r){var t=Ln[n],e=(F||P(),(F.lzy?0:or)||yr());return e.v?e.v[t||n]:r?f:nr(n)}function Sr(n){return!!n&&m(n.next)}function Ir(n){return!q(n)&&m(n[wr(3)])}function Tr(r,n,t){if(r&&(Sr(r)||(r=r[(hr=hr||D(wr(3))).v]?r[hr.v]():v),Sr(r))){var e=f,u=f;try{for(var o=0;!(u=r.next()).done&&-1!==n[p](t||r,u.value,o,r);)o++}catch(n){e={e:n},r.throw&&(u=v,r.throw(e))}finally{try{u&&!u.done&&r.return&&r.return(u)}finally{if(e)throw e.e}}}}function z(n,r,t){return n.apply(r,t)}function Or(n,r){return n.bind.apply(n,l[p](arguments,1))}var jr=E("every",N),xr=E("filter",N);function Er(n,r,t){if(n)for(var e=n[a]>>>0,u=0;u<e&&!(u in n&&-1===r[p](t||n,n[u],u,n));u++);}var Cr=E("indexOf",N),Fr=E("lastIndexOf",N),Pr=E("map",N);function Dr(n,r,t){return((n?n.slice:v)||l).apply(n,l[p](arguments,1))}function kr(n,r,t){return-1!==Cr(n,r,t)}function Ar(n,r,t){r=zr(n,r,t);return-1!==r?n[r]:void 0}function zr(t,e,u){var o=-1;return Er(t,function(n,r){if(e[p](u|t,n,r,t))return o=r,-1}),o}function Nr(n,r,t){r=Lr(n,r,t);return-1!==r?n[r]:void 0}function Lr(n,r,t){for(var e=-1,u=(n[a]>>>0)-1;0<=u;u--)if(u in n&&r[p](t|n,n[u],u,n)){e=u;break}return e}function _r(n,t,e){var r,u;return w(n)?(r=Dr(n),t?Pr(r,t,e):r):(u=[],Tr(n,function(n,r){return u.push(t?t[p](e,n,r):n)}),u)}var Rr,Wr=C("find",N,Ar),Br=C("findIndex",N,zr),Kr=C("findLast",N,Nr),$r=C("findLastIndex",N,Lr),Gr=r(t(Gr,"from"),_r),Hr=C("includes",N,kr),Ur=Hr,Mr=E("reduce",N),N=E("some",N);function Vr(t,e){return function(){var n=l[p](arguments),r=t();return z(r[e],r,n)}}var Jr,qr,Zr=r(t(o,"create"),Qr);function Qr(n){var r;return n?((r=typeof n)!==R&&r!==_&&x("Prototype must be an Object or function: "+j(n)),t[s]=n,new t):{};function t(){}}function Xr(n,r){return(o.setPrototypeOf||function(t,n){var r;(Jr=Jr||D(((r={})[W]=[],r instanceof Array))).v?t[W]=n:S(n,function(n,r){return t[n]=r})})(n,r)}function Yr(n,r){r&&(n[$]=r)}function nt(u,o,n){var r,t,i=n||Error,a=i[s][$],c=Error.captureStackTrace,n=i;return y(T,[t=function(){var n=this,r=arguments;try{y(Yr,[i,u]);var t,e=z(i,n,l[p](r))||n;return e!==n&&(t=Dn(n))!==Dn(e)&&Xr(e,t),c&&c(e,n[B]),o&&o(e,r),e}finally{y(Yr,[i,a])}},$,{v:r=u,c:!0,e:!1}]),(t=Xr(t,n))[s]=n===v?Zr(n):(e[s]=n[s],new e),t;function e(){this[B]=t,y(T,[this,$,{v:r,c:!0,e:!1}])}}function rt(){return(Date.now||tt)()}function tt(){return(new Date).getTime()}function et(r){return function(n){return b(n)&&x("strTrim called ["+j(n)+"]"),n&&n.replace?n.replace(r,c):n}}var ut=et(/^\s+|(?=\s)\s+$/g),ot=et(/^\s+/g),it=et(/(?=\s)\s+$/g),at=C("trim",i,ut),ct=C("trimStart",i,ot),ft=r(ct),st=C("trimEnd",i,it),lt=r(st),vt=E("toUpperCase",i),pt=E("toLowerCase",i);function yt(n,i,a){return at(O(n)).replace(/((_|\W)+(\w){0,1}|([a-z])([A-Z]))/g,function(n,r,t,e,u,o){e=e||o||c;return a&&(e=vt(e)),(u||c)+i+e})}function dt(n,r){return yt(n,"",!0).replace(/^\w/,r?vt:pt)}var ht=t(H,"floor"),bt=t(H,"ceil"),gt=r(t(H,"trunc"),mt);function mt(n){n=+n;return(0<n?ht:bt)(n)}function wt(n,r){var t=+n;return t==1/0&&r&&In("invalid value ["+j(n)+"]"),t!=t||0==t?0:gt(t)}var St=C("repeat",i,It);function It(n,r){b(n)&&x("can't convert ["+j(n)+"]"),(r=wt(r,!0))<0&&In("invalid count must be >= 0 && < Infinity");for(var t=g(n)?n:O(n),e=c;0<r;(r>>>=1)&&(t+=t))1&r&&(e+=t);return e}function Tt(n,r,t){var e=c,n=(r=wt(r,!0),n[a]);return n<(r>>=0)&&(e=(r-=n)>(e=b(t)?" ":O(t))[a]?St(e,bt(r/e[a])):e)[a]>r?Hn(e,0,r):e}var Ot=C("padStart",i,jt),H=C("padEnd",i,xt);function jt(n,r,t){return Tt(n,r,t)+n}function xt(n,r,t){return n+Tt(n,r,t)}var Et,Ct,Ft,Pt,Dt=/([^\w\d_$])/g;function kt(n){if(!n||typeof n!==R)return!1;var r=!1;if(n!==(Pt=Pt||fr()||!0)){Ft||(Ct=Function[s][u],Ft=Ct[p](o));try{var t=Dn(n),r=(r=!t)||!(!(t=pn(t,B)?t[B]:t)||typeof t!==_||Ct[p](t)!==Ft)}catch(n){}}return r}function At(n){return n.value&&$t(n),!0}var zt=[Wt,$t,Kt,Bt];function Nt(t,n,e,r){var u,o,i=e.handler,r=e.path?r?e.path.concat(r):e.path:[],a={handler:e.handler,src:e.src,path:r},c=typeof n,f=!1,s=n===v,l=(s||(n&&c===R?f=kt(n):s=Q(c)),{type:c,isPrim:s,isPlain:f,value:n,result:n,path:r,origin:e.src,copy:function(n,r){return Nt(t,n,r?a:e,r)},copyTo:function(n,r){return Lt(t,n,r,a)}});return l.isPrim?i&&i[p](e,l)?l.result:n:(u=n,c=function(r){T(l,"result",{g:function(){return r.v},s:function(n){r.v=n}});for(var n=0,t=i;!(t||(n<zt.length?zt[n++]:At))[p](e,l);)t=v},Er(s=t,function(n){if(n.k===u)return o=n,-1}),o||(o={k:u,v:u},s.push(o),c(o)),o.v)}function Lt(n,r,t,e){if(!b(t))for(var u in t)r[u]=Nt(n,t[u],e,u);return r}function _t(n,r,t){return Lt([],n,r,{handler:t,src:r,path:[]})}function Rt(n,r){return Nt([],n,{handler:r,src:n})}function Wt(n){var r,t=n.value;return!!w(t)&&((r=n.result=[]).length=t.length,n.copyTo(r,t),!0)}function Bt(n){var r=n.value;return!!Y(r)&&(n.result=new Date(r.getTime()),!0)}function Kt(n){return n.type===_}function $t(n){var r,t=n.value;return!(!t||!n.isPlain||(r=n.result={},n.copyTo(r,t),0))}function Gt(r,n){return Er(n,function(n){_t(r,n)}),r}var Ht,Ut=Bn(a);function Mt(){return F||P(),(Ht=Ht&&!F.lzy?Ht:D(y(A,["performance"]).v)).v}function Vt(){var n=Mt();return n&&n.now?n.now():rt()}function Jt(n){return Vt()-n}var qt="(.*)";function Zt(n,r,t,e,u){return RegExp((u?"^":c)+t(n.replace(r,"\\$1"))+(u?"$":c),e?"i":"")}function Qt(n,r){return n[wr(3)]=function(){return Xt(r)},n}function Xt(r){var t=!1;function e(){return r.v}var n={next:function(){var n={done:t=t||!r.n||r.n(arguments)};return t||T(n,"value",{g:e}),n}};return r.r&&(n.return=function(n){return{done:t=!0,value:r.r&&r.r(n)}}),r.t&&(n.throw=function(n){return{done:t=!0,value:r.t&&r.t(n)}}),n}function Yt(n,r,t){r=r?r[wr(9)]:f;return r?r(n,t):[n]}var ne=E("split",i),re=C("split",i,mr()?v:Yt),te=C("endsWith",i,ee);function ee(n,r,t){g(n)||x("'"+j(n)+"' is not a string");r=g(r)?r:O(r),t=!h(t)&&t<n[a]?t:n[a];return Hn(n,t-r[a],t)===r}var ue=E("indexOf",i),E=E("lastIndexOf",i),oe=C("includes",i,ae),ie=r(oe);function ae(n,r,t){return tn(r)&&x("'searchString' must not be a regular expression"+j(r)),-1!==ue(n,O(r),t)}function ce(n,r,t){g(n)||x("'"+j(n)+"' is not a string");r=g(r)?r:O(r),t=0<t?t:0;return Hn(n,t,t+r[a])===r}i=C("startsWith",i,ce);var fe="ref",se="unref",le="hasRef",ve="enabled";function pe(n,r,t){var e,u=!0,o=n?r(v):v;function i(){return u=!1,o&&o[se]&&o[se](),e}function a(){o&&t(o),o=v}function c(){return o=r(o),u||i(),e}return(e={cancel:a,refresh:c})[le]=function(){return o&&o[le]?o[le]():u},e[fe]=function(){return u=!0,o&&o[fe]&&o[fe](),e},e[se]=i,{h:e=I(e,ve,{get:function(){return!!o},set:function(n){!n&&o&&a(),n&&!o&&c()}}),dn:function(){o=v}}}function ye(n,r,t){var e=w(r),u=e?r.length:0,o=(0<u?r[0]:e?f:r)||setTimeout,i=(1<u?r[1]:f)||clearTimeout,a=t[0],c=(t[0]=function(){c.dn(),z(a,f,l[p](arguments))},pe(n,function(n){if(n){if(n.refresh)return n.refresh(),n;z(i,f,[n])}return z(o,f,t)},function(n){z(i,f,[n])}));return c.h}function de(n,r){return ye(!0,f,l[p](arguments))}var he=100,be=50,ge=k(A,["requestIdleCallback"]),me=k(A,["cancelIdleCallback"]);n.arrAppend=function(r,n){return!h(n)&&r&&(w(n)?z(r.push,r,n):Sr(n)||Ir(n)?Tr(n,function(n){r.push(n)}):r.push(n)),r},n.arrContains=Ur,n.arrEvery=jr,n.arrFilter=xr,n.arrFind=Wr,n.arrFindIndex=Br,n.arrFindLast=Kr,n.arrFindLastIndex=$r,n.arrForEach=Er,n.arrFrom=Gr,n.arrIncludes=Hr,n.arrIndexOf=Cr,n.arrLastIndexOf=Fr,n.arrMap=Pr,n.arrReduce=Mr,n.arrSlice=Dr,n.arrSome=N,n.arrayDeepCopyHandler=Wt,n.asString=O,n.createArrayIterator=function(n){var r=-1,t=n?n.slice():[],e=t[a],n={n:function(){return e<=++r}};return T(n,"v",{g:function(){if(0<=r&&r<e)return t[r]}}),Xt(n)},n.createCachedValue=D,n.createCustomError=nt,n.createDeferredCachedValue=function(r){var t={toJSON:function(){return t.v}};return I(t,"v",{get:function(){var n=r();return r=v,I(t,"v",{value:n}),n},configurable:!0})},n.createEnum=function(n){return mn(n,1,0,Fn)},n.createEnumKeyMap=An,n.createEnumValueMap=function(n){return mn(n,1,1,Fn)},n.createFilenameRegex=function(n,r,t){return Zt(O(n),/([-+|^$#.{}()\\\/\[\]\"\'])/g,function(n){return n.replace(/(\\\\|\\\/|\*|\?)/g,function(n,r){return"\\/"==r||"\\\\"==r?"[\\\\\\/]{1}":"*"==r?qt:"(.)"})},!!r,t)},n.createFnDeferredProxy=Vr,n.createIterable=function(n){return Qt({},n)},n.createIterator=Xt,n.createProxyFuncs=function(t,e,n){var u;return t&&e&&w(n)&&(u=m(e),Er(n,function(n){var r=n.as||n.n;!1===n.rp&&t[r]||(t[r]=u?Vr(e,n.n):Or(e[n.n],e))})),t},n.createRangeIterator=function(n,r,t){var e=n,u=f,o=(b(r)&&(r=n),t||(n<=r?1:-1));return Xt(T({n:function(){var n=0<o?r<e:e<r;return n||(u=e,e+=o),n}},"v",{g:function(){return u}}))},n.createSimpleMap=zn,n.createTimeout=function(n,r){return ye(!1,f,l[p](arguments))},n.createTimeoutWith=function(n,r,t){return ye(!1,n,l[p](arguments,1))},n.createTypeMap=zn,n.createWildcardRegex=function(n,r,t){return Zt(O(n),/([-+|^$#.\?{}()\[\]\\/\"\'])/g,function(n){return n.replace(/\*/g,qt)},!!r,t)},n.dateDeepCopyHandler=Bt,n.deepExtend=function(n,r,t,e,u,o,i){return Gt(Rt(n)||{},l[p](arguments))},n.dumpObj=j,n.elapsedTime=Jt,n.encodeAsHtml=function(n){return Et=Et||{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#39"},O(n).replace(/[&<>"']/g,function(n){return"&"+Et[n]+";"})},n.encodeAsJson=function(n,r){var t;if(g(n))t='"'+n.replace(/[^\w .,\-!@#$%\^&*\(\)_+={}\[\]:;|<>?]/g,function(n){return'"'===n||"\\"===n?"\\"+n:(n=n.charCodeAt(0)[u](16),"\\u"+Ot(vt(n),4,"0"))})+'"';else try{t=JSON.stringify(n,v,r?nn(r)?r:4:f)}catch(n){t='"'+j(n)+'"'}return t},n.fnApply=z,n.fnBind=Or,n.fnCall=function(n,r){return n.apply(r,l[p](arguments,2))},n.functionDeepCopyHandler=Kt,n.getCancelIdleCallback=me,n.getDocument=cr,n.getGlobal=ur,n.getHistory=lr,n.getIdleCallback=ge,n.getInst=A,n.getIntValue=function(n,r){return b(n)?r:nn(n)?n:isNaN(n=parseInt(n,10))?r:n},n.getKnownSymbol=wr,n.getLazy=rr,n.getLength=Ut,n.getNavigator=sr,n.getPerformance=Mt,n.getSymbol=mr,n.getValueByIter=function(r,n,t){return n&&r&&(Tr(n,function(n){if(b(r))return-1;r=r[n]}),!b(r))?r:t},n.getValueByKey=function(n,r,t){if(!r||!n)return t;for(var e=ne(r,"."),u=e.length,o=0;o<u&&!b(n);o++)n=n[e[o]];return b(n)?t:n},n.getWindow=fr,n.hasDocument=function(){return!!cr()},n.hasHistory=function(){return!!lr()},n.hasIdleCallback=function(){return!!ge()},n.hasNavigator=function(){return!!sr()},n.hasPerformance=function(){return!!Mt()},n.hasSymbol=gr,n.hasValue=function(n){return function n(r,t){var e,u,o=!1===r||0===r;if(!o&&!b(r))if(w(r))o=0<r[a];else if(Y(r))o=!isNaN(r.getTime());else{if(rn(r))return!0;if(X(r)){try{e=r,Er([a,"byteLength","size","count"],function(n){if(n in e)return n=e[n],u=0<(m(n)?n():n),-1});var i=u;if(rn(i))return i;if(m(r.valueOf)&&t<5)return n(r.valueOf(),++t)}catch(n){}return!!Cn(r)[a]}o=ln(r)}return o}(n,0)},n.hasWindow=function(){return!!fr()},n.isArray=w,n.isArrayBuffer=an,n.isBlob=on,n.isBoolean=rn,n.isDate=Y,n.isDefined=Z,n.isError=cn,n.isFile=en,n.isFormData=un,n.isFunction=m,n.isIterable=Ir,n.isIterator=Sr,n.isNode=vr,n.isNotTruthy=function(n){return!n||!ln(n)},n.isNullOrUndefined=b,n.isNumber=nn,n.isObject=X,n.isPlainObject=kt,n.isPrimitive=function(n){return n===v||Q(typeof n)},n.isPrimitiveType=Q,n.isPromise=function(n){return!!(n&&n.then&&n.catch&&m(n.then)&&m(n.catch))},n.isPromiseLike=fn,n.isRegExp=tn,n.isStrictNullOrUndefined=q,n.isStrictUndefined=J,n.isString=g,n.isSymbol=br,n.isThenable=sn,n.isTruthy=ln,n.isTypeof=function(n,r){return typeof n===r},n.isUndefined=h,n.isWebWorker=pr,n.iterForOf=Tr,n.lazySafeGetInst=function(n){return rr(function(){return y(A,[n]).v||f})},n.makeGlobRegex=function(n,r,t){return Zt(O(n),/([-+|^$#.{}()\\\/\[\]\"\'])/g,function(n){return n.replace(/(\*\*\\[\\\/]|\\\\|\\\/|\*\*|\*|\?)/g,function(n,r){return"**\\/"==r||"**\\\\"==r?"(.*[\\\\\\/])*":"\\/"===r||"\\\\"==r?"[\\\\\\/]{1}":"**"===r?qt:"*"===r?"([^\\\\\\/]*)":"([^\\\\\\/]{1})"})},!!r,t)},n.makeIterable=Qt,n.mathCeil=bt,n.mathFloor=ht,n.mathMax=$n,n.mathMin=Kn,n.mathToInt=wt,n.mathTrunc=gt,n.newSymbol=function(n,r){F||P();var t=(F.lzy?0:or)||yr();return t.v?t.v(n):r?v:Qn(n)},n.normalizeJsName=function(n,r){n=O(n).replace(Dt,"_");return h(r)?n:dt(n,!r)},n.objAssign=En,n.objCopyProps=_t,n.objCreate=Zr,n.objDeepCopy=Rt,n.objDeepFreeze=function t(n){return On&&S(n,function(n,r){(w(r)||X(r))&&t(r)}),Fn(n)},n.objDefine=T,n.objDefineAccessors=function(n,r,t,e,u,o){o={e:o,c:u};return t&&(o.g=t),e&&(o.s=e),I(n,r,bn(o))},n.objDefineGet=function(n,r,t,e,u){return I(n,r,bn(((n={e:u,c:e})[m(t)?"g":"v"]=t,n)))},n.objDefineProp=I,n.objDefineProperties=gn,n.objDefineProps=function(n,r){var t={};return S(r,function(n,r){t[n]=bn(r)}),gn(n,t)},n.objEntries=kn,n.objExtend=function(n,r,t,e,u,o,i){return Gt(n||{},l[p](arguments))},n.objForEachKey=S,n.objFreeze=Fn,n.objGetOwnPropertyDescriptor=vn,n.objGetPrototypeOf=Dn,n.objHasOwn=yn,n.objHasOwnProperty=pn,n.objKeys=Cn,n.objSeal=Pn,n.objSetPrototypeOf=Xr,n.objToString=V,n.perfNow=Vt,n.plainObjDeepCopyHandler=$t,n.polyArrFind=Ar,n.polyArrFindIndex=zr,n.polyArrFindLast=Nr,n.polyArrFindLastIndex=Lr,n.polyArrFrom=_r,n.polyArrIncludes=kr,n.polyGetKnownSymbol=nr,n.polyIsArray=function(n){return!b(n)&&"[object Array]"===V(n)},n.polyNewSymbol=Qn,n.polyObjEntries=Tn,n.polyObjHasOwn=dn,n.polyObjKeys=function(n){X(n)&&n!==v||x("non-object "+j(n));var r,t=[];for(r in n)yn(n,r)&&t.push(r);return t},n.polyStrIncludes=ae,n.polyStrSubstr=Mn,n.polyStrSymSplit=Yt,n.polyStrTrim=ut,n.polyStrTrimEnd=it,n.polyStrTrimStart=ot,n.polySymbolFor=Xn,n.polySymbolKeyFor=Yn,n.polyUtcNow=tt,n.readArgs=function(n,r,t){if(!yn(n,a)){var e=void 0;if(e=(Rr=Rr||D(gr()&&wr(3))).v?n[Rr.v]:void 0){var u=[],o=r===f||r<0?0:r,i=t<0||r<0?f:t;if(Tr(e[p](n),function(n,r){if(i!==f&&i<=r)return-1;o<=r&&u.push(n)}),(r===f||0<=r)&&(t===f||0<=t))return u;n=u}}return Dr(n,r,t)},n.safe=y,n.safeGet=U,n.safeGetLazy=function(r,t){return rr(function(){var n=y(r);return n.e?t:n.v})},n.scheduleIdleCallback=function(r,t){function e(n){var r=Vt();return{didTimeout:n,timeRemaining:function(){return be-Jt(r)}}}var u,n;return ge()?(u=pe(!0,function(n){return n&&me()(n),ge()(function(n){u.dn(),r(n||e(!1))},t)},function(n){me()(n)})).h:de(function(){r(e(!0))},h(n=(t||{}).timeout)?he:n)},n.scheduleInterval=function(n,r){var t=l[p](arguments);return pe(!0,function(n){return n&&clearInterval(n),z(setInterval,f,t)},function(n){z(clearInterval,f,[n])}).h},n.scheduleTimeout=de,n.scheduleTimeoutWith=function(n,r,t){return ye(!0,n,l[p](arguments,1))},n.setBypassLazyCache=function(n){F||P(),F.lzy=n},n.setDefaultIdleTimeout=function(n){he=n},n.setDefaultMaxExecutionTime=function(n){be=n},n.setValueByIter=function(r,n,t){var e;r&&n&&(Tr(n,function(n){e&&(b(r[e])&&(r[e]={}),r=r[e]),e=n}),r[e]=t)},n.setValueByKey=function(r,n,t){var e;r&&n&&(e=(n=ne(n,".")).pop(),Er(n,function(n){b(r[n])&&(r[n]={}),r=r[n]}),r[e]=t)},n.strCamelCase=dt,n.strContains=ie,n.strEndsWith=te,n.strIncludes=oe,n.strIndexOf=ue,n.strIsNullOrEmpty=function(n){return g(n)?n===c:b(n)},n.strIsNullOrWhiteSpace=function(n){return g(n)?n.replace(/[\s\t\r\n\f]+/g,c)===c:b(n)},n.strKebabCase=function(n,r){n=yt(n,"-");return(r?vt:pt)(n)},n.strLastIndexOf=E,n.strLeft=function(n,r){return Hn(n,0,r)},n.strLetterCase=function(n){return O(n).replace(/(_|\b)\w/g,vt)},n.strLower=pt,n.strPadEnd=H,n.strPadStart=Ot,n.strRepeat=St,n.strRight=function(n,r){return r<=0?c:n[a]>r?Gn(n,-r):n},n.strSlice=Gn,n.strSnakeCase=function(n,r){n=yt(n,"_");return(r?vt:pt)(n)},n.strSplit=ne,n.strStartsWith=i,n.strSubstr=Un,n.strSubstring=Hn,n.strSymSplit=re,n.strTrim=at,n.strTrimEnd=st,n.strTrimLeft=ft,n.strTrimRight=lt,n.strTrimStart=ct,n.strUpper=vt,n.symbolFor=function(n){return F||P(),((ir=(F.lzy?0:ir)||D(y(dr,["for"]).v)).v||Xn)(n)},n.symbolKeyFor=function(n){return F||P(),((ar=(F.lzy?0:ar)||D(y(dr,["keyFor"]).v)).v||Yn)(n)},n.throwError=function(n){throw Error(n)},n.throwRangeError=In,n.throwTypeError=x,n.throwUnsupported=function(n){throw new(qr=qr||nt("UnsupportedError"))(n)},n.utcNow=rt}var r=this;"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n(((r="undefined"!=typeof globalThis?globalThis:r||self).nevware21=r.nevware21||{},r.nevware21["ts-utils"]={}));
//# sourceMappingURL=ts-utils.min.js.map

@@ -1,3 +0,3 @@

/*! https://github.com/nevware21/ts-utils v0.11.3 */
this.nevware21=this.nevware21||{},this.nevware21["ts-utils"]=function(t){function r(t,r){return t||r}function n(t,r){return t[r]}let l=void 0,y=null,f="",L="function",_="object",s="prototype",R="__proto__",e="undefined",W="constructor",B="Symbol",a="length",K="name",v="call",u="toString",o=r(Object),$=n(o,s),G=r(String),i=n(G,s),H=r(Math),U=r(Array),c=n(U,s),p=n(c,"slice");function d(t,r){try{return{v:t.apply(this,r)}}catch(t){return{e:t}}}function M(t,r){t=d(t);return t.e?r:t.v}let V;function J(r){return function(t){return typeof t===r}}function h(t){let r="[object "+t+"]";return function(t){return!(!t||q(t)!==r)}}function q(t){return $[u].call(t)}function g(t){return typeof t===e||t===e}function b(t){return t===y||g(t)}function Z(t){return t===y||!Q(t)}function Q(t){return!!t||t!==l}function X(t){return V=V||["string","number","boolean",e,"symbol","bigint"],t!==_&&!!~V.indexOf(t)}let m=J("string"),w=J(L);function Y(t){return!(!t&&b(t)||!t||typeof t!==_)}let S=n(U,"isArray"),tt=h("Date"),rt=J("number"),nt=J("boolean"),et=h("RegExp"),ut=h("File"),ot=h("FormData"),it=h("Blob"),at=h("ArrayBuffer"),ct=h("Error");function lt(t){return!!(t&&t.then&&w(t.then))}var ft=lt;function st(t){return!(!t||M(()=>!(t&&0+t),!t))}let pt=n(o,"getOwnPropertyDescriptor");function yt(t,r){return!!t&&$.hasOwnProperty[v](t,r)}let vt=r(n(o,"hasOwn"),dt);function dt(t,r){return yt(t,r)||!!pt(t,r)}function I(t,r,n){if(t&&Y(t))for(var e in t)if(vt(t,e)&&-1===r[v](n||t,e,t[e]))break}let ht={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function gt(r){let n={};var t;return n[ht.c]=!0,n[ht.e]=!0,r.l&&(n.get=()=>r.l.v,t=pt(r.l,"v"))&&t.set&&(n.set=t=>{r.l.v=t}),I(r,(t,r)=>{n[ht[t]]=g(r)?n[ht[t]]:r}),n}let O=n(o,"defineProperty"),bt=n(o,"defineProperties");function T(t,r,n){return O(t,r,gt(n))}function mt(t,n,e,r,u){let o={};return I(t,(t,r)=>{wt(o,t,n?r:t,u),wt(o,r,e?r:t,u)}),r?r(o):o}function wt(t,r,n,e){O(t,r,{value:n,enumerable:!0,writable:!!e})}let j=r(G),St="[object Error]";function E(t,r){let n=f,e=$[u][v](t);e===St&&(t={stack:j(t.stack),message:j(t.message),name:j(t.name)});try{n=(n=JSON.stringify(t,y,r?"number"==typeof r?r:4:l))&&n.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: ")||j(t)}catch(t){n=" - "+E(t,r)}return e+": "+n}function x(t){throw new TypeError(t)}function It(t){throw new RangeError(t)}function Ot(t){let n=[];return I(t,(t,r)=>{n.push([t,r])}),n}let Tt=n(o,"freeze");function jt(t){return t}function Et(t){return t[R]||y}let xt=n(o,"assign"),Ct=n(o,"keys"),Ft=r(Tt,jt),Pt=r(n(o,"seal"),jt),Dt=r(n(o,"getPrototypeOf"),Et),kt=r(n(o,"entries"),Ot);function At(t){return mt(t,0,0,Ft)}function zt(t){let n={};return I(t,(t,r)=>{wt(n,t,r[1]),wt(n,r[0],r[1])}),Ft(n)}let Nt=At({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Lt="__tsUtils$gblCfg",_t;function Rt(){var t;return(t=(t=(t=typeof globalThis!==e?globalThis:t)||typeof self===e?t:self)||typeof window===e?t:window)||typeof global===e?t:global}function Wt(){var t;return _t||(t=d(Rt).v||{},_t=t[Lt]=t[Lt]||{}),_t}var C=F;function F(e,t,u){let o=t&&t[e];return function(t){var r,n=t&&t[e]||o;if(n||u)return r=arguments,(n||u).apply(t,n?p[v](r,1):r);x('"'+j(e)+'" not defined for '+E(t))}}function Bt(r){return function(t){return t[r]}}let Kt=n(H,"min"),$t=n(H,"max"),Gt=C("slice",i),Ht=C("substring",i),Ut=F("substr",i,Mt);function Mt(t,r,n){return b(t)&&x("Invalid "+E(t)),n<0?f:((r=r||0)<0&&(r=$t(r+t[a],0)),g(n)?Gt(t,r):Gt(t,r,r+n))}let Vt="_urid",Jt;function qt(){var t;return Jt||(t=Wt(),Jt=t.gblSym=t.gblSym||{k:{},s:{}}),Jt}let Zt;function Qt(t){return{description:j(t),toString:()=>B+"("+t+")",_polyfill:!0}}function Xt(n){var e=qt();if(!vt(e.k,n)){let t=Qt(n),r=Ct(e.s).length;t[Vt]=()=>r+"_"+t[u](),e.k[n]=t,e.s[t[Vt]()]=j(n)}return e.k[n]}function Yt(t){t&&t[u]&&Ht(t[u](),0,6)==B||x(t+" is not a symbol");t=t._polyfill&&t[Vt]&&t[Vt]();return t?qt().s[t]:void 0}function tr(t){Zt=Zt||{};t=Nt[t];return t?Zt[t]=Zt[t]||Qt(B+"."+t):void 0}let P;function D(){P=Wt()}function rr(r){let n={};return P||D(),n.b=P.lzy,O(n,"v",{configurable:!0,get:function(){var t=r();return P.lzy||O(n,"v",{value:t}),n.b=P.lzy,t}}),n}function k(t){return O({toJSON:()=>t},"v",{value:t})}let nr="window",er;function A(t,r){let n;return function(){return P||D(),(n=n&&!P.lzy?n:k(d(t,r).v)).v}}function ur(t){return P||D(),(er=er&&!1!==t&&!P.lzy?er:k(d(Rt).v||y)).v}function z(t,r){r=er&&!1!==r?er.v:ur(r);return r&&r[t]?r[t]:t===nr?ir():y}let or=A(z,["document"]),ir=A(z,[nr]),ar=A(z,["navigator"]),cr=A(z,["history"]),lr=A(()=>!!d(()=>process&&(process.versions||{}).node).v),fr=A(()=>!!d(()=>self&&self instanceof WorkerGlobalScope).v),sr,pr,yr;function vr(){return sr=k(d(z,[B]).v)}function dr(t){var r=(P.lzy?0:sr)||vr();return r.v?r.v[t]:l}var hr=J("symbol");function gr(){return!!br()}function br(){return P||D(),((P.lzy?0:sr)||vr()).v}function mr(t,r){var n=Nt[t],e=(P||D(),(P.lzy?0:sr)||vr());return e.v?e.v[n||t]:r?l:tr(t)}function wr(t){return!!t&&w(t.next)}function Sr(t){return!Z(t)&&w(t[mr(3)])}let Ir;function Or(e,u,o){if(e&&(wr(e)||(e=e[(Ir=Ir||k(mr(3))).v]?e[Ir.v]():null),wr(e))){let r=l,n=l;try{let t=0;for(;!(n=e.next()).done&&-1!==u[v](o||e,n.value,t,e);)t++}catch(t){r={e:t},e.throw&&(n=y,e.throw(r))}finally{try{n&&!n.done&&e.return&&e.return(n)}finally{if(r)throw r.e}}}}function N(t,r,n){return t.apply(r,n)}function Tr(t,r){return t.bind.apply(t,p[v](arguments,1))}var jr=C("every",c),Er=C("filter",c);function xr(r,n,e){if(r){var u=r[a]>>>0;for(let t=0;t<u&&!(t in r&&-1===n[v](e||r,r[t],t,r));t++);}}let Cr=C("indexOf",c),Fr=C("lastIndexOf",c),Pr=C("map",c);function Dr(t,r,n){return(t&&t.slice||p).apply(t,p[v](arguments,1))}function kr(t,r,n){return-1!==Cr(t,r,n)}function Ar(t,r,n){r=zr(t,r,n);return-1!==r?t[r]:void 0}function zr(n,e,u){let o=-1;return xr(n,(t,r)=>{if(e[v](u|n,t,r,n))return o=r,-1}),o}function Nr(t,r,n){r=Lr(t,r,n);return-1!==r?t[r]:void 0}function Lr(r,n,e){let u=-1;for(let t=(r[a]>>>0)-1;0<=t;t--)if(t in r&&n[v](e|r,r[t],t,r)){u=t;break}return u}function _r(t,n,e){var r;if(S(t))return r=Dr(t),n?Pr(r,n,e):r;let u=[];return Or(t,(t,r)=>u.push(n?n[v](e,t,r):t)),u}var Rr=F("find",c,Ar),Wr=F("findIndex",c,zr),Br=F("findLast",c,Nr),Kr=F("findLastIndex",c,Lr),$r=r(n(U,"from"),_r),Gr=F("includes",c,kr),Hr=Gr,Ur=C("reduce",c),Mr=C("some",c);function Vr(n,e){return function(){var t=p[v](arguments),r=n();return N(r[e],r,t)}}let Jr,qr=r(n(o,"create"),Zr);function Zr(t){var r;return t?((r=typeof t)!==_&&r!==L&&x("Prototype must be an Object or function: "+E(t)),n[s]=t,new n):{};function n(){}}let Qr;function Xr(t,r){return(o.setPrototypeOf||function(n,t){(Qr=Qr||k({[R]:[]}instanceof Array)).v?n[R]=t:I(t,(t,r)=>n[t]=r)})(t,r)}function Yr(t,r){r&&(t[K]=r)}function tn(u,o,t){let i=t||Error,a=i[s][K],c=Error.captureStackTrace;return n=u,t=i,d(T,[e=function(){var t=this,r=arguments;try{d(Yr,[i,u]);var n,e=N(i,t,p[v](r))||t;return e!==t&&(n=Dt(t))!==Dt(e)&&Xr(e,n),c&&c(e,t[W]),o&&o(e,r),e}finally{d(Yr,[i,a])}},K,{v:n,c:!0,e:!1}]),(e=Xr(e,t))[s]=t===y?qr(t):(r[s]=t[s],new r),e;function r(){this[W]=e,d(T,[this,K,{v:n,c:!0,e:!1}])}var n,e}let rn;function nn(){return(Date.now||en)()}function en(){return(new Date).getTime()}function un(r){return function(t){return b(t)&&x("strTrim called ["+E(t)+"]"),t&&t.replace?t.replace(r,f):t}}let on=un(/^\s+|(?=\s)\s+$/g),an=un(/^\s+/g),cn=un(/(?=\s)\s+$/g),ln=F("trim",i,on),fn=F("trimStart",i,an),sn=r(fn),pn=F("trimEnd",i,cn),yn=r(pn),vn=C("toUpperCase",i),dn=C("toLowerCase",i);function hn(t,a,c){return ln(j(t)).replace(/((_|\W)+(\w){0,1}|([a-z])([A-Z]))/g,(t,r,n,e,u,o)=>{let i=e||o||f;return c&&(i=vn(i)),(u||f)+a+i})}function gn(t,r){return hn(t,"",!0).replace(/^\w/,r?vn:dn)}let bn=n(H,"floor"),mn=n(H,"ceil"),wn=r(n(H,"trunc"),Sn);function Sn(t){t=+t;return(0<t?bn:mn)(t)}function In(t,r){var n=+t;return n==1/0&&r&&It("invalid value ["+E(t)+"]"),n!=n||0==n?0:wn(n)}let On=F("repeat",i,Tn);function Tn(t,r){b(t)&&x("can't convert ["+E(t)+"]"),(r=In(r,!0))<0&&It("invalid count must be >= 0 && < Infinity");let n=m(t)?t:j(t),e=f;for(;0<r;(r>>>=1)&&(n+=n))1&r&&(e+=n);return e}function jn(t,r,n){let e=f;r=In(r,!0),r>>=0;t=t[a];return e=t<r&&(r-=t,(e=r>(e=b(n)?" ":j(n))[a]?On(e,mn(r/e[a])):e)[a]>r)?Ht(e,0,r):e}let En=F("padStart",i,Cn),xn=F("padEnd",i,Fn);function Cn(t,r,n){return jn(t,r,n)+t}function Fn(t,r,n){return t+jn(t,r,n)}let Pn=/([^\w\d_$])/g,Dn,kn,An,zn;function Nn(r){if(!r||typeof r!==_)return!1;let n=!1;if(r!==(zn=zn||ir()||!0)){An||(kn=Function[s][u],An=kn[v](o));try{let t=Dt(r);(n=!t)||(yt(t,W)&&(t=t[W]),n=t&&typeof t===L&&kn[v](t)===An)}catch(t){}}return n}function Ln(t){return t.value&&Un(t),!0}let _n=[$n,Un,Hn,Gn];function Rn(e,t,u,r){let o=u.handler,n=u.path?r?u.path.concat(r):u.path:[],i={handler:u.handler,src:u.src,path:n},a=typeof t,c=!1,l=!1,f=(t&&a===_?c=Nn(t):l=t===y||X(a),{type:a,isPrim:l,isPlain:c,value:t,result:t,path:n,origin:u.src,copy:(t,r)=>Rn(e,t,r?i:u,r),copyTo:(t,r)=>Wn(e,t,r,i)});if(f.isPrim)return o&&o[v](u,f)?f.result:t;{var r=e,s=t;let n;if(xr(r,t=>{if(t.k===s)return n=t,-1}),!n){n={k:s,v:s},r.push(n);{var p=n;T(f,"result",{g:function(){return p.v},s:function(t){p.v=t}});let t=0,r=o;for(;!(r||(t<_n.length?_n[t++]:Ln))[v](u,f);)r=y}}return n.v}}function Wn(t,r,n,e){if(!b(n))for(var u in n)r[u]=Rn(t,n[u],e,u);return r}function Bn(t,r,n){return Wn([],t,r,{handler:n,src:r,path:[]})}function Kn(t,r){return Rn([],t,{handler:r,src:t})}function $n(t){var r,n=t.value;return!!S(n)&&((r=t.result=[]).length=n.length,t.copyTo(r,n),!0)}function Gn(t){var r=t.value;return!!tt(r)&&(t.result=new Date(r.getTime()),!0)}function Hn(t){return t.type===L}function Un(t){var r,n=t.value;return!(!n||!t.isPlain||(r=t.result={},t.copyTo(r,n),0))}function Mn(r,t){return xr(t,t=>{Bn(r,t)}),r}let Vn=Bt(a),Jn;function qn(){return P||D(),(Jn=Jn&&!P.lzy?Jn:k(d(z,["performance"]).v)).v}function Zn(){var t=qn();return t&&t.now?t.now():nn()}function Qn(t){return Zn()-t}let Xn="(.*)";function Yn(t,r,n,e,u){return RegExp((u?"^":f)+n(t.replace(r,"\\$1"))+(u?"$":f),e?"i":"")}function te(t,r){return t[mr(3)]=function(){return re(r)},t}function re(r){let n=!1;function e(){return r.v}var t={next:function(){var t={done:n=n||!r.n||r.n(arguments)};return n||T(t,"value",{g:e}),t}};return r.r&&(t.return=function(t){return{done:n=!0,value:r.r&&r.r(t)}}),r.t&&(t.throw=function(t){return{done:n=!0,value:r.t&&r.t(t)}}),t}function ne(t,r,n){r=r&&r[mr(9)];return r?r(t,n):[t]}let ee=C("split",i),ue=F("split",i,br()?null:ne),oe=F("endsWith",i,ie);function ie(t,r,n){m(t)||x("'"+E(t)+"' is not a string");r=m(r)?r:j(r),n=!g(n)&&n<t[a]?n:t[a];return Ht(t,n-r[a],n)===r}let ae=C("indexOf",i),ce=C("lastIndexOf",i),le=F("includes",i,se),fe=r(le);function se(t,r,n){return et(r)&&x("'searchString' must not be a regular expression"+E(r)),-1!==ae(t,j(r),n)}C=F("startsWith",i,pe);function pe(t,r,n){m(t)||x("'"+E(t)+"' is not a string");r=m(r)?r:j(r),n=0<n?n:0;return Ht(t,n,n+r[a])===r}let ye="ref",ve="unref",de="hasRef",he="enabled";function ge(t,r,n){let e=!0,u=t?r(y):y,o;function i(){return e=!1,u&&u[ve]&&u[ve](),o}function a(){u&&n(u),u=y}function c(){return u=r(u),e||i(),o}return(o={cancel:a,refresh:c})[de]=()=>u&&u[de]?u[de]():e,o[ye]=()=>(e=!0,u&&u[ye]&&u[ye](),o),o[ve]=i,{h:o=O(o,he,{get:()=>!!u,set:function(t){!t&&u&&a(),t&&!u&&c()}}),dn:()=>{u=y}}}function be(t,r,n){let e=S(r),u=e?r.length:0,o=(0<u?r[0]:e?l:r)||setTimeout,i=(1<u?r[1]:l)||clearTimeout,a=n[0],c=(n[0]=function(){c.dn(),N(a,l,p[v](arguments))},ge(t,t=>{if(t){if(t.refresh)return t.refresh(),t;N(i,l,[t])}return N(o,l,n)},function(t){N(i,l,[t])}));return c.h}function me(t,r){return be(!0,l,p[v](arguments))}let we=100,Se=50,Ie=A(z,["requestIdleCallback"]),Oe=A(z,["cancelIdleCallback"]);return t.arrAppend=function(r,t){return!g(t)&&r&&(S(t)?N(r.push,r,t):wr(t)||Sr(t)?Or(t,t=>{r.push(t)}):r.push(t)),r},t.arrContains=Hr,t.arrEvery=jr,t.arrFilter=Er,t.arrFind=Rr,t.arrFindIndex=Wr,t.arrFindLast=Br,t.arrFindLastIndex=Kr,t.arrForEach=xr,t.arrFrom=$r,t.arrIncludes=Gr,t.arrIndexOf=Cr,t.arrLastIndexOf=Fr,t.arrMap=Pr,t.arrReduce=Ur,t.arrSlice=Dr,t.arrSome=Mr,t.arrayDeepCopyHandler=$n,t.asString=j,t.createArrayIterator=function(t){let r=-1,n=t?t.slice():[],e=n[a],u={n:function(){return++r>=e}};return T(u,"v",{g:function(){if(0<=r&&r<e)return n[r]}}),re(u)},t.createCachedValue=k,t.createCustomError=tn,t.createDeferredCachedValue=function(r){let n={toJSON:()=>n.v};return O(n,"v",{get:()=>{var t=r();return r=y,O(n,"v",{value:t}),t},configurable:!0})},t.createEnum=function(t){return mt(t,1,0,Ft)},t.createEnumKeyMap=At,t.createEnumValueMap=function(t){return mt(t,1,1,Ft)},t.createFilenameRegex=function(t,r,n){return Yn(j(t),/([-+|^$#.{}()\\\/\[\]\"\'])/g,t=>t.replace(/(\\\\|\\\/|\*|\?)/g,function(t,r){return"\\/"==r||"\\\\"==r?"[\\\\\\/]{1}":"*"==r?Xn:"(.)"}),!!r,n)},t.createFnDeferredProxy=Vr,t.createIterable=function(t){return te({},t)},t.createIterator=re,t.createProxyFuncs=function(e,u,t){if(e&&u&&S(t)){let n=w(u);xr(t,t=>{var r=t.as||t.n;!1===t.rp&&e[r]||(e[r]=n?Vr(u,t.n):Tr(u[t.n],u))})}return e},t.createRangeIterator=function(t,r,n){let e=t,u=l,o=(b(r)&&(r=t),n||(t<=r?1:-1)),i={n:function(){var t;return(t=0<o?e>r:e<r)||(u=e,e+=o),t}};return T(i,"v",{g:function(){return u}}),re(i)},t.createSimpleMap=zt,t.createTimeout=function(t,r){return be(!1,l,p[v](arguments))},t.createTimeoutWith=function(t,r,n){return be(!1,t,p[v](arguments,1))},t.createTypeMap=zt,t.createWildcardRegex=function(t,r,n){return Yn(j(t),/([-+|^$#.\?{}()\[\]\\/\"\'])/g,t=>t.replace(/\*/g,Xn),!!r,n)},t.dateDeepCopyHandler=Gn,t.deepExtend=function(t,r,n,e,u,o,i){return Mn(Kn(t)||{},p[v](arguments))},t.dumpObj=E,t.elapsedTime=Qn,t.encodeAsHtml=function(t){return Dn=Dn||{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#39"},j(t).replace(/[&<>"']/g,t=>"&"+Dn[t]+";")},t.encodeAsJson=function(t,r){let n;if(m(t))n='"'+t.replace(/[^\w .,\-!@#$%\^&*\(\)_+={}\[\]:;|<>?]/g,t=>{return'"'===t||"\\"===t?"\\"+t:(t=t.charCodeAt(0)[u](16),"\\u"+En(vn(t),4,"0"))})+'"';else try{n=JSON.stringify(t,y,r?rt(r)?r:4:l)}catch(t){n='"'+E(t)+'"'}return n},t.fnApply=N,t.fnBind=Tr,t.fnCall=function(t,r){return t.apply(r,p[v](arguments,2))},t.functionDeepCopyHandler=Hn,t.getCancelIdleCallback=Oe,t.getDocument=or,t.getGlobal=ur,t.getHistory=cr,t.getIdleCallback=Ie,t.getInst=z,t.getIntValue=function(t,r){return b(t)?r:rt(t)?t:isNaN(t=parseInt(t,10))?r:t},t.getKnownSymbol=mr,t.getLazy=rr,t.getLength=Vn,t.getNavigator=ar,t.getPerformance=qn,t.getSymbol=br,t.getValueByIter=function(r,t,n){return t&&r&&(Or(t,t=>{if(b(r))return-1;r=r[t]}),!b(r))?r:n},t.getValueByKey=function(r,t,n){if(!t||!r)return n;var e=ee(t,"."),u=e.length;for(let t=0;t<u&&!b(r);t++)r=r[e[t]];return b(r)?n:r},t.getWindow=ir,t.hasDocument=function(){return!!or()},t.hasHistory=function(){return!!cr()},t.hasIdleCallback=function(){return!!Ie()},t.hasNavigator=function(){return!!ar()},t.hasPerformance=function(){return!!qn()},t.hasSymbol=gr,t.hasValue=function(t){return function t(r,n){let e=!1===r||0===r;if(!e&&!b(r))if(S(r))e=0<r[a];else if(tt(r))e=!isNaN(r.getTime());else{if(nt(r))return!0;if(Y(r)){try{var u=function(r,t){let n;return xr(t,t=>{if(t in r)return t=r[t],n=0<(w(t)?t():t),-1}),n}(r,[a,"byteLength","size","count"]);if(nt(u))return u;if(w(r.valueOf)&&n<5)return t(r.valueOf(),++n)}catch(t){}return!!Ct(r)[a]}e=st(r)}return e}(t,0)},t.hasWindow=function(){return!!ir()},t.isArray=S,t.isArrayBuffer=at,t.isBlob=it,t.isBoolean=nt,t.isDate=tt,t.isDefined=Q,t.isError=ct,t.isFile=ut,t.isFormData=ot,t.isFunction=w,t.isIterable=Sr,t.isIterator=wr,t.isNode=lr,t.isNotTruthy=function(t){return!t||!st(t)},t.isNullOrUndefined=b,t.isNumber=rt,t.isObject=Y,t.isPlainObject=Nn,t.isPrimitive=function(t){return t===y||X(typeof t)},t.isPrimitiveType=X,t.isPromise=function(t){return!!(t&&t.then&&t.catch&&w(t.then)&&w(t.catch))},t.isPromiseLike=lt,t.isRegExp=et,t.isStrictNullOrUndefined=Z,t.isStrictUndefined=function(t){return!Q(t)},t.isString=m,t.isSymbol=hr,t.isThenable=ft,t.isTruthy=st,t.isTypeof=function(t,r){return typeof t===r},t.isUndefined=g,t.isWebWorker=fr,t.iterForOf=Or,t.lazySafeGetInst=function(t){return rr(()=>d(z,[t]).v||l)},t.makeGlobRegex=function(t,r,n){return Yn(j(t),/([-+|^$#.{}()\\\/\[\]\"\'])/g,t=>t.replace(/(\*\*\\[\\\/]|\\\\|\\\/|\*\*|\*|\?)/g,function(t,r){return"**\\/"==r||"**\\\\"==r?"(.*[\\\\\\/])*":"\\/"===r||"\\\\"==r?"[\\\\\\/]{1}":"**"===r?Xn:"*"===r?"([^\\\\\\/]*)":"([^\\\\\\/]{1})"}),!!r,n)},t.makeIterable=te,t.mathCeil=mn,t.mathFloor=bn,t.mathMax=$t,t.mathMin=Kt,t.mathToInt=In,t.mathTrunc=wn,t.newSymbol=function(t,r){P||D();var n=(P.lzy?0:sr)||vr();return n.v?n.v(t):r?y:Qt(t)},t.normalizeJsName=function(t,r){t=j(t).replace(Pn,"_");return g(r)?t:gn(t,!r)},t.objAssign=xt,t.objCopyProps=Bn,t.objCreate=qr,t.objDeepCopy=Kn,t.objDeepFreeze=function n(t){return Tt&&I(t,(t,r)=>{(S(r)||Y(r))&&n(r)}),Ft(t)},t.objDefine=T,t.objDefineAccessors=function(t,r,n,e,u,o){o={e:o,c:u};return n&&(o.g=n),e&&(o.s=e),O(t,r,gt(o))},t.objDefineGet=function(t,r,n,e,u){return O(t,r,gt({e:u,c:e,[w(n)?"g":"v"]:n}))},t.objDefineProp=O,t.objDefineProperties=bt,t.objDefineProps=function(t,r){let n={};return I(r,(t,r)=>{n[t]=gt(r)}),bt(t,n)},t.objEntries=kt,t.objExtend=function(t,r,n,e,u,o,i){return Mn(t||{},p[v](arguments))},t.objForEachKey=I,t.objFreeze=Ft,t.objGetOwnPropertyDescriptor=pt,t.objGetPrototypeOf=Dt,t.objHasOwn=vt,t.objHasOwnProperty=yt,t.objKeys=Ct,t.objSeal=Pt,t.objSetPrototypeOf=Xr,t.objToString=q,t.perfNow=Zn,t.plainObjDeepCopyHandler=Un,t.polyArrFind=Ar,t.polyArrFindIndex=zr,t.polyArrFindLast=Nr,t.polyArrFindLastIndex=Lr,t.polyArrFrom=_r,t.polyArrIncludes=kr,t.polyGetKnownSymbol=tr,t.polyIsArray=function(t){return!b(t)&&"[object Array]"===q(t)},t.polyNewSymbol=Qt,t.polyObjEntries=Ot,t.polyObjHasOwn=dt,t.polyObjKeys=function(t){Y(t)&&t!==y||x("non-object "+E(t));var r,n=[];for(r in t)vt(t,r)&&n.push(r);return n},t.polyStrIncludes=se,t.polyStrSubstr=Mt,t.polyStrSymSplit=ne,t.polyStrTrim=on,t.polyStrTrimEnd=cn,t.polyStrTrimStart=an,t.polySymbolFor=Xt,t.polySymbolKeyFor=Yt,t.polyUtcNow=en,t.readArgs=function(t,r,o){if(!vt(t,a)){var i=(Jr=Jr||k(gr()&&mr(3))).v&&t[Jr.v];if(i){let n=[],e=r===l||r<0?0:r,u=o<0||r<0?l:o;if(Or(i[v](t),(t,r)=>{if(u!==l&&r>=u)return-1;r>=e&&n.push(t)}),(r===l||0<=r)&&(o===l||0<=o))return n;t=n}}return Dr(t,r,o)},t.safe=d,t.safeGet=M,t.safeGetLazy=function(r,n){return rr(()=>{var t=d(r);return t.e?n:t.v})},t.scheduleIdleCallback=function(n,e){function u(t){let r=Zn();return{didTimeout:t,timeRemaining:()=>Se-Qn(r)}}if(Ie()){let r=ge(!0,t=>(t&&Oe()(t),Ie()(t=>{r.dn(),n(t||u(!1))},e)),t=>{Oe()(t)});return r.h}var t=(e||{}).timeout;return me(()=>{n(u(!0))},g(t)?we:t)},t.scheduleInterval=function(t,r){let n=p[v](arguments);return ge(!0,t=>(t&&clearInterval(t),N(setInterval,l,n)),t=>{N(clearInterval,l,[t])}).h},t.scheduleTimeout=me,t.scheduleTimeoutWith=function(t,r,n){return be(!0,t,p[v](arguments,1))},t.setBypassLazyCache=function(t){P||D(),P.lzy=t},t.setDefaultIdleTimeout=function(t){we=t},t.setDefaultMaxExecutionTime=function(t){Se=t},t.setValueByIter=function(n,t,e){if(n&&t){let r;Or(t,t=>{r&&(b(n[r])&&(n[r]={}),n=n[r]),r=t}),n[r]=e}},t.setValueByKey=function(r,t,n){var e;r&&t&&(e=(t=ee(t,".")).pop(),xr(t,t=>{b(r[t])&&(r[t]={}),r=r[t]}),r[e]=n)},t.strCamelCase=gn,t.strContains=fe,t.strEndsWith=oe,t.strIncludes=le,t.strIndexOf=ae,t.strIsNullOrEmpty=function(t){return m(t)?t===f:b(t)},t.strIsNullOrWhiteSpace=function(t){return m(t)?t.replace(/[\s\t\r\n\f]+/g,f)===f:b(t)},t.strKebabCase=function(t,r){t=hn(t,"-");return(r?vn:dn)(t)},t.strLastIndexOf=ce,t.strLeft=function(t,r){return Ht(t,0,r)},t.strLetterCase=function(t){return j(t).replace(/(_|\b)\w/g,vn)},t.strLower=dn,t.strPadEnd=xn,t.strPadStart=En,t.strRepeat=On,t.strRight=function(t,r){return r<=0?f:t[a]>r?Gt(t,-r):t},t.strSlice=Gt,t.strSnakeCase=function(t,r){t=hn(t,"_");return(r?vn:dn)(t)},t.strSplit=ee,t.strStartsWith=C,t.strSubstr=Ut,t.strSubstring=Ht,t.strSymSplit=ue,t.strTrim=ln,t.strTrimEnd=pn,t.strTrimLeft=sn,t.strTrimRight=yn,t.strTrimStart=fn,t.strUpper=vn,t.symbolFor=function(t){return P||D(),((pr=(P.lzy?0:pr)||k(d(dr,["for"]).v)).v||Xt)(t)},t.symbolKeyFor=function(t){return P||D(),((yr=(P.lzy?0:yr)||k(d(dr,["keyFor"]).v)).v||Yt)(t)},t.throwError=function(t){throw Error(t)},t.throwRangeError=It,t.throwTypeError=x,t.throwUnsupported=function(t){throw new(rn=rn||tn("UnsupportedError"))(t)},t.utcNow=nn,t}({});
/*! https://github.com/nevware21/ts-utils v0.11.4 */
this.nevware21=this.nevware21||{},this.nevware21["ts-utils"]=(t=>{function r(t,r){return t||r}function n(t,r){return t[r]}let l=void 0,y=null,f="",L="function",_="object",s="prototype",R="__proto__",e="undefined",W="constructor",B="Symbol",a="length",K="name",v="call",u="toString",o=r(Object),$=n(o,s),G=r(String),i=n(G,s),H=r(Math),U=r(Array),c=n(U,s),p=n(c,"slice");function d(t,r){try{return{v:t.apply(this,r)}}catch(t){return{e:t}}}function M(t,r){t=d(t);return t.e?r:t.v}let V;function J(r){return function(t){return typeof t===r}}function h(t){let r="[object "+t+"]";return function(t){return!(!t||q(t)!==r)}}function q(t){return $[u].call(t)}function g(t){return typeof t===e||t===e}function Z(t){return!X(t)}function b(t){return t===y||g(t)}function Q(t){return t===y||!X(t)}function X(t){return!!t||t!==l}function Y(t){return V=V||["string","number","boolean",e,"symbol","bigint"],!(t===_||!~V.indexOf(t))}let m=J("string"),w=J(L);function tt(t){return!(!t&&b(t)||!t||typeof t!==_)}let S=n(U,"isArray"),rt=h("Date"),nt=J("number"),et=J("boolean"),ut=h("RegExp"),ot=h("File"),it=h("FormData"),at=h("Blob"),ct=h("ArrayBuffer"),lt=h("Error");function ft(t){return!!(t&&t.then&&w(t.then))}var st=ft;function pt(t){return!(!t||M(()=>!(t&&0+t),!t))}let yt=n(o,"getOwnPropertyDescriptor");function vt(t,r){return!!t&&$.hasOwnProperty[v](t,r)}let dt=r(n(o,"hasOwn"),ht);function ht(t,r){return vt(t,r)||!!yt(t,r)}function I(t,r,n){if(t&&tt(t))for(var e in t)if(dt(t,e)&&-1===r[v](n||t,e,t[e]))break}let gt={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function bt(r){let n={};var t;return n[gt.c]=!0,n[gt.e]=!0,r.l&&(n.get=()=>r.l.v,t=yt(r.l,"v"))&&t.set&&(n.set=t=>{r.l.v=t}),I(r,(t,r)=>{n[gt[t]]=Z(r)?n[gt[t]]:r}),n}let O=n(o,"defineProperty"),mt=n(o,"defineProperties");function T(t,r,n){return O(t,r,bt(n))}function wt(t,n,e,r,u){let o={};return I(t,(t,r)=>{St(o,t,n?r:t,u),St(o,r,e?r:t,u)}),r?r(o):o}function St(t,r,n,e){O(t,r,{value:n,enumerable:!0,writable:!!e})}let j=r(G),It="[object Error]";function E(t,r){let n=f,e=$[u][v](t);e===It&&(t={stack:j(t.stack),message:j(t.message),name:j(t.name)});try{n=((n=JSON.stringify(t,y,r?"number"==typeof r?r:4:l))?n.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):y)||j(t)}catch(t){n=" - "+E(t,r)}return e+": "+n}function x(t){throw new TypeError(t)}function Ot(t){throw new RangeError(t)}function Tt(t){let n=[];return I(t,(t,r)=>{n.push([t,r])}),n}let jt=n(o,"freeze");function Et(t){return t}function xt(t){return t[R]||y}let Ct=n(o,"assign"),Ft=n(o,"keys"),Pt=r(jt,Et),Dt=r(n(o,"seal"),Et),kt=r(n(o,"getPrototypeOf"),xt),At=r(n(o,"entries"),Tt);function zt(t){return wt(t,0,0,Pt)}function Nt(t){let n={};return I(t,(t,r)=>{St(n,t,r[1]),St(n,r[0],r[1])}),Pt(n)}let Lt=zt({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),_t="__tsUtils$gblCfg",Rt;function Wt(){var t;return(t=(t=(t=typeof globalThis!==e?globalThis:t)||typeof self===e?t:self)||typeof window===e?t:window)||typeof global===e?t:global}function Bt(){var t;return Rt||(t=d(Wt).v||{},Rt=t[_t]=t[_t]||{}),Rt}var C=F;function F(e,t,u){let o=t?t[e]:y;return function(t){var r,n=(t?t[e]:y)||o;if(n||u)return r=arguments,(n||u).apply(t,n?p[v](r,1):r);x('"'+j(e)+'" not defined for '+E(t))}}function Kt(r){return function(t){return t[r]}}let $t=n(H,"min"),Gt=n(H,"max"),Ht=C("slice",i),Ut=C("substring",i),Mt=F("substr",i,Vt);function Vt(t,r,n){return b(t)&&x("Invalid "+E(t)),n<0?f:((r=r||0)<0&&(r=Gt(r+t[a],0)),g(n)?Ht(t,r):Ht(t,r,r+n))}let Jt="_urid",qt;function Zt(){var t;return qt||(t=Bt(),qt=t.gblSym=t.gblSym||{k:{},s:{}}),qt}let Qt;function Xt(t){return{description:j(t),toString:()=>B+"("+t+")",_polyfill:!0}}function Yt(n){var e=Zt();if(!dt(e.k,n)){let t=Xt(n),r=Ft(e.s).length;t[Jt]=()=>r+"_"+t[u](),e.k[n]=t,e.s[t[Jt]()]=j(n)}return e.k[n]}function tr(t){t&&t[u]&&Ut(t[u](),0,6)==B||x(t+" is not a symbol");t=t._polyfill&&t[Jt]&&t[Jt]();return t?Zt().s[t]:void 0}function rr(t){Qt=Qt||{};t=Lt[t];return t?Qt[t]=Qt[t]||Xt(B+"."+t):void 0}let P;function D(){P=Bt()}function nr(r){let n={};return P||D(),n.b=P.lzy,O(n,"v",{configurable:!0,get:function(){var t=r();return P.lzy||O(n,"v",{value:t}),n.b=P.lzy,t}}),n}function k(t){return O({toJSON:()=>t},"v",{value:t})}let er="window",ur;function A(t,r){let n;return function(){return P||D(),(n=n&&!P.lzy?n:k(d(t,r).v)).v}}function or(t){return P||D(),(ur=ur&&!1!==t&&!P.lzy?ur:k(d(Wt).v||y)).v}function z(t,r){if((r=ur&&!1!==r?ur.v:or(r))&&r[t])return r[t];if(t===er)try{return window}catch(t){}return y}let ir=A(z,["document"]),ar=A(z,[er]),cr=A(z,["navigator"]),lr=A(z,["history"]),fr=A(()=>!!d(()=>process&&(process.versions||{}).node).v),sr=A(()=>!!d(()=>self&&self instanceof WorkerGlobalScope).v),pr,yr,vr;function dr(){return pr=k(d(z,[B]).v)}function hr(t){var r=(P.lzy?0:pr)||dr();return r.v?r.v[t]:l}var gr=J("symbol");function br(){return!!mr()}function mr(){return P||D(),((P.lzy?0:pr)||dr()).v}function wr(t,r){var n=Lt[t],e=(P||D(),(P.lzy?0:pr)||dr());return e.v?e.v[n||t]:r?l:rr(t)}function Sr(t){return!!t&&w(t.next)}function Ir(t){return!Q(t)&&w(t[wr(3)])}let Or;function Tr(e,u,o){if(e&&(Sr(e)||(e=e[(Or=Or||k(wr(3))).v]?e[Or.v]():y),Sr(e))){let r=l,n=l;try{let t=0;for(;!(n=e.next()).done&&-1!==u[v](o||e,n.value,t,e);)t++}catch(t){r={e:t},e.throw&&(n=y,e.throw(r))}finally{try{n&&!n.done&&e.return&&e.return(n)}finally{if(r)throw r.e}}}}function N(t,r,n){return t.apply(r,n)}function jr(t,r){return t.bind.apply(t,p[v](arguments,1))}var Er=C("every",c),xr=C("filter",c);function Cr(r,n,e){if(r){var u=r[a]>>>0;for(let t=0;t<u&&!(t in r&&-1===n[v](e||r,r[t],t,r));t++);}}let Fr=C("indexOf",c),Pr=C("lastIndexOf",c),Dr=C("map",c);function kr(t,r,n){return((t?t.slice:y)||p).apply(t,p[v](arguments,1))}function Ar(t,r,n){return-1!==Fr(t,r,n)}function zr(t,r,n){r=Nr(t,r,n);return-1!==r?t[r]:void 0}function Nr(n,e,u){let o=-1;return Cr(n,(t,r)=>{if(e[v](u|n,t,r,n))return o=r,-1}),o}function Lr(t,r,n){r=_r(t,r,n);return-1!==r?t[r]:void 0}function _r(r,n,e){let u=-1;for(let t=(r[a]>>>0)-1;0<=t;t--)if(t in r&&n[v](e|r,r[t],t,r)){u=t;break}return u}function Rr(t,n,e){var r;if(S(t))return r=kr(t),n?Dr(r,n,e):r;let u=[];return Tr(t,(t,r)=>u.push(n?n[v](e,t,r):t)),u}var Wr=F("find",c,zr),Br=F("findIndex",c,Nr),Kr=F("findLast",c,Lr),$r=F("findLastIndex",c,_r),Gr=r(n(U,"from"),Rr),Hr=F("includes",c,Ar),Ur=Hr,Mr=C("reduce",c),Vr=C("some",c);function Jr(n,e){return function(){var t=p[v](arguments),r=n();return N(r[e],r,t)}}let qr,Zr=r(n(o,"create"),Qr);function Qr(t){var r;return t?((r=typeof t)!==_&&r!==L&&x("Prototype must be an Object or function: "+E(t)),n[s]=t,new n):{};function n(){}}let Xr;function Yr(t,r){return(o.setPrototypeOf||function(n,t){(Xr=Xr||k({[R]:[]}instanceof Array)).v?n[R]=t:I(t,(t,r)=>n[t]=r)})(t,r)}function tn(t,r){r&&(t[K]=r)}function rn(u,o,t){let i=t||Error,a=i[s][K],c=Error.captureStackTrace;return n=u,t=i,d(T,[e=function(){var t=this,r=arguments;try{d(tn,[i,u]);var n,e=N(i,t,p[v](r))||t;return e!==t&&(n=kt(t))!==kt(e)&&Yr(e,n),c&&c(e,t[W]),o&&o(e,r),e}finally{d(tn,[i,a])}},K,{v:n,c:!0,e:!1}]),(e=Yr(e,t))[s]=t===y?Zr(t):(r[s]=t[s],new r),e;function r(){this[W]=e,d(T,[this,K,{v:n,c:!0,e:!1}])}var n,e}let nn;function en(){return(Date.now||un)()}function un(){return(new Date).getTime()}function on(r){return function(t){return b(t)&&x("strTrim called ["+E(t)+"]"),t&&t.replace?t.replace(r,f):t}}let an=on(/^\s+|(?=\s)\s+$/g),cn=on(/^\s+/g),ln=on(/(?=\s)\s+$/g),fn=F("trim",i,an),sn=F("trimStart",i,cn),pn=r(sn),yn=F("trimEnd",i,ln),vn=r(yn),dn=C("toUpperCase",i),hn=C("toLowerCase",i);function gn(t,a,c){return fn(j(t)).replace(/((_|\W)+(\w){0,1}|([a-z])([A-Z]))/g,(t,r,n,e,u,o)=>{let i=e||o||f;return c&&(i=dn(i)),(u||f)+a+i})}function bn(t,r){return gn(t,"",!0).replace(/^\w/,r?dn:hn)}let mn=n(H,"floor"),wn=n(H,"ceil"),Sn=r(n(H,"trunc"),In);function In(t){t=+t;return(0<t?mn:wn)(t)}function On(t,r){var n=+t;return n==1/0&&r&&Ot("invalid value ["+E(t)+"]"),n!=n||0==n?0:Sn(n)}let Tn=F("repeat",i,jn);function jn(t,r){b(t)&&x("can't convert ["+E(t)+"]"),(r=On(r,!0))<0&&Ot("invalid count must be >= 0 && < Infinity");let n=m(t)?t:j(t),e=f;for(;0<r;(r>>>=1)&&(n+=n))1&r&&(e+=n);return e}function En(t,r,n){let e=f;r=On(r,!0),r>>=0;t=t[a];return e=t<r&&(r-=t,(e=r>(e=b(n)?" ":j(n))[a]?Tn(e,wn(r/e[a])):e)[a]>r)?Ut(e,0,r):e}let xn=F("padStart",i,Fn),Cn=F("padEnd",i,Pn);function Fn(t,r,n){return En(t,r,n)+t}function Pn(t,r,n){return t+En(t,r,n)}let Dn=/([^\w\d_$])/g,kn,An,zn,Nn;function Ln(r){if(!r||typeof r!==_)return!1;let n=!1;if(r!==(Nn=Nn||ar()||!0)){zn||(An=Function[s][u],zn=An[v](o));try{let t=kt(r);(n=!t)||(vt(t,W)&&(t=t[W]),n=!(!t||typeof t!==L||An[v](t)!==zn))}catch(t){}}return n}function _n(t){return t.value&&Mn(t),!0}let Rn=[Gn,Mn,Un,Hn];function Wn(e,t,u,r){let o=u.handler,n=u.path?r?u.path.concat(r):u.path:[],i={handler:u.handler,src:u.src,path:n},a=typeof t,c=!1,l=t===y,f=(l||(t&&a===_?c=Ln(t):l=Y(a)),{type:a,isPrim:l,isPlain:c,value:t,result:t,path:n,origin:u.src,copy:(t,r)=>Wn(e,t,r?i:u,r),copyTo:(t,r)=>Bn(e,t,r,i)});if(f.isPrim)return o&&o[v](u,f)?f.result:t;{var r=e,s=t;let n;if(Cr(r,t=>{if(t.k===s)return n=t,-1}),!n){n={k:s,v:s},r.push(n);{var p=n;T(f,"result",{g:function(){return p.v},s:function(t){p.v=t}});let t=0,r=o;for(;!(r||(t<Rn.length?Rn[t++]:_n))[v](u,f);)r=y}}return n.v}}function Bn(t,r,n,e){if(!b(n))for(var u in n)r[u]=Wn(t,n[u],e,u);return r}function Kn(t,r,n){return Bn([],t,r,{handler:n,src:r,path:[]})}function $n(t,r){return Wn([],t,{handler:r,src:t})}function Gn(t){var r,n=t.value;return!!S(n)&&((r=t.result=[]).length=n.length,t.copyTo(r,n),!0)}function Hn(t){var r=t.value;return!!rt(r)&&(t.result=new Date(r.getTime()),!0)}function Un(t){return t.type===L}function Mn(t){var r,n=t.value;return!(!n||!t.isPlain||(r=t.result={},t.copyTo(r,n),0))}function Vn(r,t){return Cr(t,t=>{Kn(r,t)}),r}let Jn=Kt(a),qn;function Zn(){return P||D(),(qn=qn&&!P.lzy?qn:k(d(z,["performance"]).v)).v}function Qn(){var t=Zn();return t&&t.now?t.now():en()}function Xn(t){return Qn()-t}let Yn="(.*)";function te(t,r,n,e,u){return RegExp((u?"^":f)+n(t.replace(r,"\\$1"))+(u?"$":f),e?"i":"")}function re(t,r){return t[wr(3)]=function(){return ne(r)},t}function ne(r){let n=!1;function e(){return r.v}var t={next:function(){var t={done:n=n||!r.n||r.n(arguments)};return n||T(t,"value",{g:e}),t}};return r.r&&(t.return=function(t){return{done:n=!0,value:r.r&&r.r(t)}}),r.t&&(t.throw=function(t){return{done:n=!0,value:r.t&&r.t(t)}}),t}function ee(t,r,n){r=r?r[wr(9)]:l;return r?r(t,n):[t]}let ue=C("split",i),oe=F("split",i,mr()?y:ee),ie=F("endsWith",i,ae);function ae(t,r,n){m(t)||x("'"+E(t)+"' is not a string");r=m(r)?r:j(r),n=!g(n)&&n<t[a]?n:t[a];return Ut(t,n-r[a],n)===r}let ce=C("indexOf",i),le=C("lastIndexOf",i),fe=F("includes",i,pe),se=r(fe);function pe(t,r,n){return ut(r)&&x("'searchString' must not be a regular expression"+E(r)),-1!==ce(t,j(r),n)}C=F("startsWith",i,ye);function ye(t,r,n){m(t)||x("'"+E(t)+"' is not a string");r=m(r)?r:j(r),n=0<n?n:0;return Ut(t,n,n+r[a])===r}let ve="ref",de="unref",he="hasRef",ge="enabled";function be(t,r,n){let e=!0,u=t?r(y):y,o;function i(){return e=!1,u&&u[de]&&u[de](),o}function a(){u&&n(u),u=y}function c(){return u=r(u),e||i(),o}return(o={cancel:a,refresh:c})[he]=()=>u&&u[he]?u[he]():e,o[ve]=()=>(e=!0,u&&u[ve]&&u[ve](),o),o[de]=i,{h:o=O(o,ge,{get:()=>!!u,set:function(t){!t&&u&&a(),t&&!u&&c()}}),dn:()=>{u=y}}}function me(t,r,n){let e=S(r),u=e?r.length:0,o=(0<u?r[0]:e?l:r)||setTimeout,i=(1<u?r[1]:l)||clearTimeout,a=n[0],c=(n[0]=function(){c.dn(),N(a,l,p[v](arguments))},be(t,t=>{if(t){if(t.refresh)return t.refresh(),t;N(i,l,[t])}return N(o,l,n)},function(t){N(i,l,[t])}));return c.h}function we(t,r){return me(!0,l,p[v](arguments))}let Se=100,Ie=50,Oe=A(z,["requestIdleCallback"]),Te=A(z,["cancelIdleCallback"]);return t.arrAppend=function(r,t){return!g(t)&&r&&(S(t)?N(r.push,r,t):Sr(t)||Ir(t)?Tr(t,t=>{r.push(t)}):r.push(t)),r},t.arrContains=Ur,t.arrEvery=Er,t.arrFilter=xr,t.arrFind=Wr,t.arrFindIndex=Br,t.arrFindLast=Kr,t.arrFindLastIndex=$r,t.arrForEach=Cr,t.arrFrom=Gr,t.arrIncludes=Hr,t.arrIndexOf=Fr,t.arrLastIndexOf=Pr,t.arrMap=Dr,t.arrReduce=Mr,t.arrSlice=kr,t.arrSome=Vr,t.arrayDeepCopyHandler=Gn,t.asString=j,t.createArrayIterator=function(t){let r=-1,n=t?t.slice():[],e=n[a],u={n:function(){return++r>=e}};return T(u,"v",{g:function(){if(0<=r&&r<e)return n[r]}}),ne(u)},t.createCachedValue=k,t.createCustomError=rn,t.createDeferredCachedValue=function(r){let n={toJSON:()=>n.v};return O(n,"v",{get:()=>{var t=r();return r=y,O(n,"v",{value:t}),t},configurable:!0})},t.createEnum=function(t){return wt(t,1,0,Pt)},t.createEnumKeyMap=zt,t.createEnumValueMap=function(t){return wt(t,1,1,Pt)},t.createFilenameRegex=function(t,r,n){return te(j(t),/([-+|^$#.{}()\\\/\[\]\"\'])/g,t=>t.replace(/(\\\\|\\\/|\*|\?)/g,function(t,r){return"\\/"==r||"\\\\"==r?"[\\\\\\/]{1}":"*"==r?Yn:"(.)"}),!!r,n)},t.createFnDeferredProxy=Jr,t.createIterable=function(t){return re({},t)},t.createIterator=ne,t.createProxyFuncs=function(e,u,t){if(e&&u&&S(t)){let n=w(u);Cr(t,t=>{var r=t.as||t.n;!1===t.rp&&e[r]||(e[r]=n?Jr(u,t.n):jr(u[t.n],u))})}return e},t.createRangeIterator=function(t,r,n){let e=t,u=l,o=(b(r)&&(r=t),n);return o=o||(t<=r?1:-1),ne(T({n:function(){var t=0<o?e>r:e<r;return t||(u=e,e+=o),t}},"v",{g:function(){return u}}))},t.createSimpleMap=Nt,t.createTimeout=function(t,r){return me(!1,l,p[v](arguments))},t.createTimeoutWith=function(t,r,n){return me(!1,t,p[v](arguments,1))},t.createTypeMap=Nt,t.createWildcardRegex=function(t,r,n){return te(j(t),/([-+|^$#.\?{}()\[\]\\/\"\'])/g,t=>t.replace(/\*/g,Yn),!!r,n)},t.dateDeepCopyHandler=Hn,t.deepExtend=function(t,r,n,e,u,o,i){return Vn($n(t)||{},p[v](arguments))},t.dumpObj=E,t.elapsedTime=Xn,t.encodeAsHtml=function(t){return kn=kn||{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#39"},j(t).replace(/[&<>"']/g,t=>"&"+kn[t]+";")},t.encodeAsJson=function(t,r){let n;if(m(t))n='"'+t.replace(/[^\w .,\-!@#$%\^&*\(\)_+={}\[\]:;|<>?]/g,t=>'"'===t||"\\"===t?"\\"+t:(t=t.charCodeAt(0)[u](16),"\\u"+xn(dn(t),4,"0")))+'"';else try{n=JSON.stringify(t,y,r?nt(r)?r:4:l)}catch(t){n='"'+E(t)+'"'}return n},t.fnApply=N,t.fnBind=jr,t.fnCall=function(t,r){return t.apply(r,p[v](arguments,2))},t.functionDeepCopyHandler=Un,t.getCancelIdleCallback=Te,t.getDocument=ir,t.getGlobal=or,t.getHistory=lr,t.getIdleCallback=Oe,t.getInst=z,t.getIntValue=function(t,r){return b(t)?r:nt(t)?t:isNaN(t=parseInt(t,10))?r:t},t.getKnownSymbol=wr,t.getLazy=nr,t.getLength=Jn,t.getNavigator=cr,t.getPerformance=Zn,t.getSymbol=mr,t.getValueByIter=function(r,t,n){return t&&r&&(Tr(t,t=>{if(b(r))return-1;r=r[t]}),!b(r))?r:n},t.getValueByKey=function(r,t,n){if(!t||!r)return n;var e=ue(t,"."),u=e.length;for(let t=0;t<u&&!b(r);t++)r=r[e[t]];return b(r)?n:r},t.getWindow=ar,t.hasDocument=function(){return!!ir()},t.hasHistory=function(){return!!lr()},t.hasIdleCallback=function(){return!!Oe()},t.hasNavigator=function(){return!!cr()},t.hasPerformance=function(){return!!Zn()},t.hasSymbol=br,t.hasValue=function(t){return function t(r,n){let e=!1===r||0===r;if(!e&&!b(r))if(S(r))e=0<r[a];else if(rt(r))e=!isNaN(r.getTime());else{if(et(r))return!0;if(tt(r)){try{var u=((r,t)=>{let n;return Cr(t,t=>{if(t in r)return t=r[t],n=0<(w(t)?t():t),-1}),n})(r,[a,"byteLength","size","count"]);if(et(u))return u;if(w(r.valueOf)&&n<5)return t(r.valueOf(),++n)}catch(t){}return!!Ft(r)[a]}e=pt(r)}return e}(t,0)},t.hasWindow=function(){return!!ar()},t.isArray=S,t.isArrayBuffer=ct,t.isBlob=at,t.isBoolean=et,t.isDate=rt,t.isDefined=X,t.isError=lt,t.isFile=ot,t.isFormData=it,t.isFunction=w,t.isIterable=Ir,t.isIterator=Sr,t.isNode=fr,t.isNotTruthy=function(t){return!t||!pt(t)},t.isNullOrUndefined=b,t.isNumber=nt,t.isObject=tt,t.isPlainObject=Ln,t.isPrimitive=function(t){return t===y||Y(typeof t)},t.isPrimitiveType=Y,t.isPromise=function(t){return!!(t&&t.then&&t.catch&&w(t.then)&&w(t.catch))},t.isPromiseLike=ft,t.isRegExp=ut,t.isStrictNullOrUndefined=Q,t.isStrictUndefined=Z,t.isString=m,t.isSymbol=gr,t.isThenable=st,t.isTruthy=pt,t.isTypeof=function(t,r){return typeof t===r},t.isUndefined=g,t.isWebWorker=sr,t.iterForOf=Tr,t.lazySafeGetInst=function(t){return nr(()=>d(z,[t]).v||l)},t.makeGlobRegex=function(t,r,n){return te(j(t),/([-+|^$#.{}()\\\/\[\]\"\'])/g,t=>t.replace(/(\*\*\\[\\\/]|\\\\|\\\/|\*\*|\*|\?)/g,function(t,r){return"**\\/"==r||"**\\\\"==r?"(.*[\\\\\\/])*":"\\/"===r||"\\\\"==r?"[\\\\\\/]{1}":"**"===r?Yn:"*"===r?"([^\\\\\\/]*)":"([^\\\\\\/]{1})"}),!!r,n)},t.makeIterable=re,t.mathCeil=wn,t.mathFloor=mn,t.mathMax=Gt,t.mathMin=$t,t.mathToInt=On,t.mathTrunc=Sn,t.newSymbol=function(t,r){P||D();var n=(P.lzy?0:pr)||dr();return n.v?n.v(t):r?y:Xt(t)},t.normalizeJsName=function(t,r){t=j(t).replace(Dn,"_");return g(r)?t:bn(t,!r)},t.objAssign=Ct,t.objCopyProps=Kn,t.objCreate=Zr,t.objDeepCopy=$n,t.objDeepFreeze=function n(t){return jt&&I(t,(t,r)=>{(S(r)||tt(r))&&n(r)}),Pt(t)},t.objDefine=T,t.objDefineAccessors=function(t,r,n,e,u,o){o={e:o,c:u};return n&&(o.g=n),e&&(o.s=e),O(t,r,bt(o))},t.objDefineGet=function(t,r,n,e,u){return O(t,r,bt({e:u,c:e,[w(n)?"g":"v"]:n}))},t.objDefineProp=O,t.objDefineProperties=mt,t.objDefineProps=function(t,r){let n={};return I(r,(t,r)=>{n[t]=bt(r)}),mt(t,n)},t.objEntries=At,t.objExtend=function(t,r,n,e,u,o,i){return Vn(t||{},p[v](arguments))},t.objForEachKey=I,t.objFreeze=Pt,t.objGetOwnPropertyDescriptor=yt,t.objGetPrototypeOf=kt,t.objHasOwn=dt,t.objHasOwnProperty=vt,t.objKeys=Ft,t.objSeal=Dt,t.objSetPrototypeOf=Yr,t.objToString=q,t.perfNow=Qn,t.plainObjDeepCopyHandler=Mn,t.polyArrFind=zr,t.polyArrFindIndex=Nr,t.polyArrFindLast=Lr,t.polyArrFindLastIndex=_r,t.polyArrFrom=Rr,t.polyArrIncludes=Ar,t.polyGetKnownSymbol=rr,t.polyIsArray=function(t){return!b(t)&&"[object Array]"===q(t)},t.polyNewSymbol=Xt,t.polyObjEntries=Tt,t.polyObjHasOwn=ht,t.polyObjKeys=function(t){tt(t)&&t!==y||x("non-object "+E(t));var r,n=[];for(r in t)dt(t,r)&&n.push(r);return n},t.polyStrIncludes=pe,t.polyStrSubstr=Vt,t.polyStrSymSplit=ee,t.polyStrTrim=an,t.polyStrTrimEnd=ln,t.polyStrTrimStart=cn,t.polySymbolFor=Yt,t.polySymbolKeyFor=tr,t.polyUtcNow=un,t.readArgs=function(t,r,o){var i;if(!dt(t,a)&&(i=(qr=qr||k(br()&&wr(3))).v?t[qr.v]:void 0)){let n=[],e=r===l||r<0?0:r,u=o<0||r<0?l:o;if(Tr(i[v](t),(t,r)=>{if(u!==l&&r>=u)return-1;r>=e&&n.push(t)}),(r===l||0<=r)&&(o===l||0<=o))return n;t=n}return kr(t,r,o)},t.safe=d,t.safeGet=M,t.safeGetLazy=function(r,n){return nr(()=>{var t=d(r);return t.e?n:t.v})},t.scheduleIdleCallback=function(n,e){function u(t){let r=Qn();return{didTimeout:t,timeRemaining:()=>Ie-Xn(r)}}if(Oe()){let r=be(!0,t=>(t&&Te()(t),Oe()(t=>{r.dn(),n(t||u(!1))},e)),t=>{Te()(t)});return r.h}var t=(e||{}).timeout;return we(()=>{n(u(!0))},g(t)?Se:t)},t.scheduleInterval=function(t,r){let n=p[v](arguments);return be(!0,t=>(t&&clearInterval(t),N(setInterval,l,n)),t=>{N(clearInterval,l,[t])}).h},t.scheduleTimeout=we,t.scheduleTimeoutWith=function(t,r,n){return me(!0,t,p[v](arguments,1))},t.setBypassLazyCache=function(t){P||D(),P.lzy=t},t.setDefaultIdleTimeout=function(t){Se=t},t.setDefaultMaxExecutionTime=function(t){Ie=t},t.setValueByIter=function(n,t,e){if(n&&t){let r;Tr(t,t=>{r&&(b(n[r])&&(n[r]={}),n=n[r]),r=t}),n[r]=e}},t.setValueByKey=function(r,t,n){var e;r&&t&&(e=(t=ue(t,".")).pop(),Cr(t,t=>{b(r[t])&&(r[t]={}),r=r[t]}),r[e]=n)},t.strCamelCase=bn,t.strContains=se,t.strEndsWith=ie,t.strIncludes=fe,t.strIndexOf=ce,t.strIsNullOrEmpty=function(t){return m(t)?t===f:b(t)},t.strIsNullOrWhiteSpace=function(t){return m(t)?t.replace(/[\s\t\r\n\f]+/g,f)===f:b(t)},t.strKebabCase=function(t,r){t=gn(t,"-");return(r?dn:hn)(t)},t.strLastIndexOf=le,t.strLeft=function(t,r){return Ut(t,0,r)},t.strLetterCase=function(t){return j(t).replace(/(_|\b)\w/g,dn)},t.strLower=hn,t.strPadEnd=Cn,t.strPadStart=xn,t.strRepeat=Tn,t.strRight=function(t,r){return r<=0?f:t[a]>r?Ht(t,-r):t},t.strSlice=Ht,t.strSnakeCase=function(t,r){t=gn(t,"_");return(r?dn:hn)(t)},t.strSplit=ue,t.strStartsWith=C,t.strSubstr=Mt,t.strSubstring=Ut,t.strSymSplit=oe,t.strTrim=fn,t.strTrimEnd=yn,t.strTrimLeft=pn,t.strTrimRight=vn,t.strTrimStart=sn,t.strUpper=dn,t.symbolFor=function(t){return P||D(),((yr=(P.lzy?0:yr)||k(d(hr,["for"]).v)).v||Yt)(t)},t.symbolKeyFor=function(t){return P||D(),((vr=(P.lzy?0:vr)||k(d(hr,["keyFor"]).v)).v||tr)(t)},t.throwError=function(t){throw Error(t)},t.throwRangeError=Ot,t.throwTypeError=x,t.throwUnsupported=function(t){throw new(nn=nn||rn("UnsupportedError"))(t)},t.utcNow=en,t})({});
//# sourceMappingURL=ts-utils.min.js.map

@@ -1,3 +0,3 @@

/*! https://github.com/nevware21/ts-utils v0.11.3 */
function t(t){function r(t,r){return t||r}function e(t,r){return t[r]}let l=void 0,y=null,f="",L="function",_="object",s="prototype",R="__proto__",n="undefined",W="constructor",B="Symbol",a="length",K="name",d="call",u="toString",o=r(Object),$=e(o,s),G=r(String),i=e(G,s),H=r(Math),U=r(Array),c=e(U,s),p=e(c,"slice");function v(t,r){try{return{v:t.apply(this,r)}}catch(t){return{e:t}}}function M(t,r){t=v(t);return t.e?r:t.v}let V;function J(r){return function(t){return typeof t===r}}function h(t){let r="[object "+t+"]";return function(t){return!(!t||q(t)!==r)}}function q(t){return $[u].call(t)}function b(t){return typeof t===n||t===n}function g(t){return t===y||b(t)}function Z(t){return t===y||!Q(t)}function Q(t){return!!t||t!==l}function X(t){return V=V||["string","number","boolean",n,"symbol","bigint"],t!==_&&!!~V.indexOf(t)}let m=J("string"),w=J(L);function Y(t){return!(!t&&g(t)||!t||typeof t!==_)}let S=e(U,"isArray"),tt=h("Date"),rt=J("number"),et=J("boolean"),nt=h("RegExp"),ut=h("File"),ot=h("FormData"),it=h("Blob"),at=h("ArrayBuffer"),ct=h("Error");function lt(t){return!!(t&&t.then&&w(t.then))}var ft=lt;function st(t){return!(!t||M(()=>!(t&&0+t),!t))}let pt=e(o,"getOwnPropertyDescriptor");function yt(t,r){return!!t&&$.hasOwnProperty[d](t,r)}let dt=r(e(o,"hasOwn"),vt);function vt(t,r){return yt(t,r)||!!pt(t,r)}function I(t,r,e){if(t&&Y(t))for(var n in t)if(dt(t,n)&&-1===r[d](e||t,n,t[n]))break}let ht={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function bt(r){let e={};var t;return e[ht.c]=!0,e[ht.e]=!0,r.l&&(e.get=()=>r.l.v,t=pt(r.l,"v"))&&t.set&&(e.set=t=>{r.l.v=t}),I(r,(t,r)=>{e[ht[t]]=b(r)?e[ht[t]]:r}),e}let T=e(o,"defineProperty"),gt=e(o,"defineProperties");function O(t,r,e){return T(t,r,bt(e))}function mt(t,e,n,r,u){let o={};return I(t,(t,r)=>{wt(o,t,e?r:t,u),wt(o,r,n?r:t,u)}),r?r(o):o}function wt(t,r,e,n){T(t,r,{value:e,enumerable:!0,writable:!!n})}let j=r(G),St="[object Error]";function x(t,r){let e=f,n=$[u][d](t);n===St&&(t={stack:j(t.stack),message:j(t.message),name:j(t.name)});try{e=(e=JSON.stringify(t,y,r?"number"==typeof r?r:4:l))&&e.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: ")||j(t)}catch(t){e=" - "+x(t,r)}return n+": "+e}function E(t){throw new TypeError(t)}function It(t){throw new RangeError(t)}function Tt(t){let e=[];return I(t,(t,r)=>{e.push([t,r])}),e}let Ot=e(o,"freeze");function jt(t){return t}function xt(t){return t[R]||y}let Et=e(o,"assign"),Ct=e(o,"keys"),Ft=r(Ot,jt),Pt=r(e(o,"seal"),jt),Dt=r(e(o,"getPrototypeOf"),xt),kt=r(e(o,"entries"),Tt);function At(t){return mt(t,0,0,Ft)}function zt(t){let e={};return I(t,(t,r)=>{wt(e,t,r[1]),wt(e,r[0],r[1])}),Ft(e)}let Nt=At({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),Lt="__tsUtils$gblCfg",_t;function Rt(){var t;return(t=(t=(t=typeof globalThis!==n?globalThis:t)||typeof self===n?t:self)||typeof window===n?t:window)||typeof global===n?t:global}function Wt(){var t;return _t||(t=v(Rt).v||{},_t=t[Lt]=t[Lt]||{}),_t}var C=F;function F(n,t,u){let o=t&&t[n];return function(t){var r,e=t&&t[n]||o;if(e||u)return r=arguments,(e||u).apply(t,e?p[d](r,1):r);E('"'+j(n)+'" not defined for '+x(t))}}function Bt(r){return function(t){return t[r]}}let Kt=e(H,"min"),$t=e(H,"max"),Gt=C("slice",i),Ht=C("substring",i),Ut=F("substr",i,Mt);function Mt(t,r,e){return g(t)&&E("Invalid "+x(t)),e<0?f:((r=r||0)<0&&(r=$t(r+t[a],0)),b(e)?Gt(t,r):Gt(t,r,r+e))}let Vt="_urid",Jt;function qt(){var t;return Jt||(t=Wt(),Jt=t.gblSym=t.gblSym||{k:{},s:{}}),Jt}let Zt;function Qt(t){return{description:j(t),toString:()=>B+"("+t+")",_polyfill:!0}}function Xt(e){var n=qt();if(!dt(n.k,e)){let t=Qt(e),r=Ct(n.s).length;t[Vt]=()=>r+"_"+t[u](),n.k[e]=t,n.s[t[Vt]()]=j(e)}return n.k[e]}function Yt(t){t&&t[u]&&Ht(t[u](),0,6)==B||E(t+" is not a symbol");t=t._polyfill&&t[Vt]&&t[Vt]();return t?qt().s[t]:void 0}function tr(t){Zt=Zt||{};t=Nt[t];return t?Zt[t]=Zt[t]||Qt(B+"."+t):void 0}let P;function D(){P=Wt()}function rr(r){let e={};return P||D(),e.b=P.lzy,T(e,"v",{configurable:!0,get:function(){var t=r();return P.lzy||T(e,"v",{value:t}),e.b=P.lzy,t}}),e}function k(t){return T({toJSON:()=>t},"v",{value:t})}let er="window",nr;function A(t,r){let e;return function(){return P||D(),(e=e&&!P.lzy?e:k(v(t,r).v)).v}}function ur(t){return P||D(),(nr=nr&&!1!==t&&!P.lzy?nr:k(v(Rt).v||y)).v}function z(t,r){r=nr&&!1!==r?nr.v:ur(r);return r&&r[t]?r[t]:t===er?ir():y}let or=A(z,["document"]),ir=A(z,[er]),ar=A(z,["navigator"]),cr=A(z,["history"]),lr=A(()=>!!v(()=>process&&(process.versions||{}).node).v),fr=A(()=>!!v(()=>self&&self instanceof WorkerGlobalScope).v),sr,pr,yr;function dr(){return sr=k(v(z,[B]).v)}function vr(t){var r=(P.lzy?0:sr)||dr();return r.v?r.v[t]:l}var hr=J("symbol");function br(){return!!gr()}function gr(){return P||D(),((P.lzy?0:sr)||dr()).v}function mr(t,r){var e=Nt[t],n=(P||D(),(P.lzy?0:sr)||dr());return n.v?n.v[e||t]:r?l:tr(t)}function wr(t){return!!t&&w(t.next)}function Sr(t){return!Z(t)&&w(t[mr(3)])}let Ir;function Tr(n,u,o){if(n&&(wr(n)||(n=n[(Ir=Ir||k(mr(3))).v]?n[Ir.v]():null),wr(n))){let r=l,e=l;try{let t=0;for(;!(e=n.next()).done&&-1!==u[d](o||n,e.value,t,n);)t++}catch(t){r={e:t},n.throw&&(e=y,n.throw(r))}finally{try{e&&!e.done&&n.return&&n.return(e)}finally{if(r)throw r.e}}}}function N(t,r,e){return t.apply(r,e)}function Or(t,r){return t.bind.apply(t,p[d](arguments,1))}var jr=C("every",c),xr=C("filter",c);function Er(r,e,n){if(r){var u=r[a]>>>0;for(let t=0;t<u&&!(t in r&&-1===e[d](n||r,r[t],t,r));t++);}}let Cr=C("indexOf",c),Fr=C("lastIndexOf",c),Pr=C("map",c);function Dr(t,r,e){return(t&&t.slice||p).apply(t,p[d](arguments,1))}function kr(t,r,e){return-1!==Cr(t,r,e)}function Ar(t,r,e){r=zr(t,r,e);return-1!==r?t[r]:void 0}function zr(e,n,u){let o=-1;return Er(e,(t,r)=>{if(n[d](u|e,t,r,e))return o=r,-1}),o}function Nr(t,r,e){r=Lr(t,r,e);return-1!==r?t[r]:void 0}function Lr(r,e,n){let u=-1;for(let t=(r[a]>>>0)-1;0<=t;t--)if(t in r&&e[d](n|r,r[t],t,r)){u=t;break}return u}function _r(t,e,n){var r;if(S(t))return r=Dr(t),e?Pr(r,e,n):r;let u=[];return Tr(t,(t,r)=>u.push(e?e[d](n,t,r):t)),u}var Rr=F("find",c,Ar),Wr=F("findIndex",c,zr),Br=F("findLast",c,Nr),Kr=F("findLastIndex",c,Lr),$r=r(e(U,"from"),_r),Gr=F("includes",c,kr),Hr=Gr,Ur=C("reduce",c),Mr=C("some",c);function Vr(e,n){return function(){var t=p[d](arguments),r=e();return N(r[n],r,t)}}let Jr,qr=r(e(o,"create"),Zr);function Zr(t){var r;return t?((r=typeof t)!==_&&r!==L&&E("Prototype must be an Object or function: "+x(t)),e[s]=t,new e):{};function e(){}}let Qr;function Xr(t,r){return(o.setPrototypeOf||function(e,t){(Qr=Qr||k({[R]:[]}instanceof Array)).v?e[R]=t:I(t,(t,r)=>e[t]=r)})(t,r)}function Yr(t,r){r&&(t[K]=r)}function te(u,o,t){let i=t||Error,a=i[s][K],c=Error.captureStackTrace;return e=u,t=i,v(O,[n=function(){var t=this,r=arguments;try{v(Yr,[i,u]);var e,n=N(i,t,p[d](r))||t;return n!==t&&(e=Dt(t))!==Dt(n)&&Xr(n,e),c&&c(n,t[W]),o&&o(n,r),n}finally{v(Yr,[i,a])}},K,{v:e,c:!0,e:!1}]),(n=Xr(n,t))[s]=t===y?qr(t):(r[s]=t[s],new r),n;function r(){this[W]=n,v(O,[this,K,{v:e,c:!0,e:!1}])}var e,n}let re;function ee(){return(Date.now||ne)()}function ne(){return(new Date).getTime()}function ue(r){return function(t){return g(t)&&E("strTrim called ["+x(t)+"]"),t&&t.replace?t.replace(r,f):t}}let oe=ue(/^\s+|(?=\s)\s+$/g),ie=ue(/^\s+/g),ae=ue(/(?=\s)\s+$/g),ce=F("trim",i,oe),le=F("trimStart",i,ie),fe=r(le),se=F("trimEnd",i,ae),pe=r(se),ye=C("toUpperCase",i),de=C("toLowerCase",i);function ve(t,a,c){return ce(j(t)).replace(/((_|\W)+(\w){0,1}|([a-z])([A-Z]))/g,(t,r,e,n,u,o)=>{let i=n||o||f;return c&&(i=ye(i)),(u||f)+a+i})}function he(t,r){return ve(t,"",!0).replace(/^\w/,r?ye:de)}let be=e(H,"floor"),ge=e(H,"ceil"),me=r(e(H,"trunc"),we);function we(t){t=+t;return(0<t?be:ge)(t)}function Se(t,r){var e=+t;return e==1/0&&r&&It("invalid value ["+x(t)+"]"),e!=e||0==e?0:me(e)}let Ie=F("repeat",i,Te);function Te(t,r){g(t)&&E("can't convert ["+x(t)+"]"),(r=Se(r,!0))<0&&It("invalid count must be >= 0 && < Infinity");let e=m(t)?t:j(t),n=f;for(;0<r;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}function Oe(t,r,e){let n=f;r=Se(r,!0),r>>=0;t=t[a];return n=t<r&&(r-=t,(n=r>(n=g(e)?" ":j(e))[a]?Ie(n,ge(r/n[a])):n)[a]>r)?Ht(n,0,r):n}let je=F("padStart",i,Ee),xe=F("padEnd",i,Ce);function Ee(t,r,e){return Oe(t,r,e)+t}function Ce(t,r,e){return t+Oe(t,r,e)}let Fe=/([^\w\d_$])/g,Pe,De,ke,Ae;function ze(r){if(!r||typeof r!==_)return!1;let e=!1;if(r!==(Ae=Ae||ir()||!0)){ke||(De=Function[s][u],ke=De[d](o));try{let t=Dt(r);(e=!t)||(yt(t,W)&&(t=t[W]),e=t&&typeof t===L&&De[d](t)===ke)}catch(t){}}return e}function Ne(t){return t.value&&He(t),!0}let Le=[Ke,He,Ge,$e];function _e(n,t,u,r){let o=u.handler,e=u.path?r?u.path.concat(r):u.path:[],i={handler:u.handler,src:u.src,path:e},a=typeof t,c=!1,l=!1,f=(t&&a===_?c=ze(t):l=t===y||X(a),{type:a,isPrim:l,isPlain:c,value:t,result:t,path:e,origin:u.src,copy:(t,r)=>_e(n,t,r?i:u,r),copyTo:(t,r)=>Re(n,t,r,i)});if(f.isPrim)return o&&o[d](u,f)?f.result:t;{var r=n,s=t;let e;if(Er(r,t=>{if(t.k===s)return e=t,-1}),!e){e={k:s,v:s},r.push(e);{var p=e;O(f,"result",{g:function(){return p.v},s:function(t){p.v=t}});let t=0,r=o;for(;!(r||(t<Le.length?Le[t++]:Ne))[d](u,f);)r=y}}return e.v}}function Re(t,r,e,n){if(!g(e))for(var u in e)r[u]=_e(t,e[u],n,u);return r}function We(t,r,e){return Re([],t,r,{handler:e,src:r,path:[]})}function Be(t,r){return _e([],t,{handler:r,src:t})}function Ke(t){var r,e=t.value;return!!S(e)&&((r=t.result=[]).length=e.length,t.copyTo(r,e),!0)}function $e(t){var r=t.value;return!!tt(r)&&(t.result=new Date(r.getTime()),!0)}function Ge(t){return t.type===L}function He(t){var r,e=t.value;return!(!e||!t.isPlain||(r=t.result={},t.copyTo(r,e),0))}function Ue(r,t){return Er(t,t=>{We(r,t)}),r}let Me=Bt(a),Ve;function Je(){return P||D(),(Ve=Ve&&!P.lzy?Ve:k(v(z,["performance"]).v)).v}function qe(){var t=Je();return t&&t.now?t.now():ee()}function Ze(t){return qe()-t}let Qe="(.*)";function Xe(t,r,e,n,u){return RegExp((u?"^":f)+e(t.replace(r,"\\$1"))+(u?"$":f),n?"i":"")}function Ye(t,r){return t[mr(3)]=function(){return tn(r)},t}function tn(r){let e=!1;function n(){return r.v}var t={next:function(){var t={done:e=e||!r.n||r.n(arguments)};return e||O(t,"value",{g:n}),t}};return r.r&&(t.return=function(t){return{done:e=!0,value:r.r&&r.r(t)}}),r.t&&(t.throw=function(t){return{done:e=!0,value:r.t&&r.t(t)}}),t}function rn(t,r,e){r=r&&r[mr(9)];return r?r(t,e):[t]}let en=C("split",i),nn=F("split",i,gr()?null:rn),un=F("endsWith",i,on);function on(t,r,e){m(t)||E("'"+x(t)+"' is not a string");r=m(r)?r:j(r),e=!b(e)&&e<t[a]?e:t[a];return Ht(t,e-r[a],e)===r}let an=C("indexOf",i),cn=C("lastIndexOf",i),ln=F("includes",i,sn),fn=r(ln);function sn(t,r,e){return nt(r)&&E("'searchString' must not be a regular expression"+x(r)),-1!==an(t,j(r),e)}function pn(t,r,e){m(t)||E("'"+x(t)+"' is not a string");r=m(r)?r:j(r),e=0<e?e:0;return Ht(t,e,e+r[a])===r}C=F("startsWith",i,pn);let yn="ref",dn="unref",vn="hasRef",hn="enabled";function bn(t,r,e){let n=!0,u=t?r(y):y,o;function i(){return n=!1,u&&u[dn]&&u[dn](),o}function a(){u&&e(u),u=y}function c(){return u=r(u),n||i(),o}return(o={cancel:a,refresh:c})[vn]=()=>u&&u[vn]?u[vn]():n,o[yn]=()=>(n=!0,u&&u[yn]&&u[yn](),o),o[dn]=i,{h:o=T(o,hn,{get:()=>!!u,set:function(t){!t&&u&&a(),t&&!u&&c()}}),dn:()=>{u=y}}}function gn(t,r,e){let n=S(r),u=n?r.length:0,o=(0<u?r[0]:n?l:r)||setTimeout,i=(1<u?r[1]:l)||clearTimeout,a=e[0],c=(e[0]=function(){c.dn(),N(a,l,p[d](arguments))},bn(t,t=>{if(t){if(t.refresh)return t.refresh(),t;N(i,l,[t])}return N(o,l,e)},function(t){N(i,l,[t])}));return c.h}function mn(t,r){return gn(!0,l,p[d](arguments))}let wn=100,Sn=50,In=A(z,["requestIdleCallback"]),Tn=A(z,["cancelIdleCallback"]);t.arrAppend=function(r,t){return!b(t)&&r&&(S(t)?N(r.push,r,t):wr(t)||Sr(t)?Tr(t,t=>{r.push(t)}):r.push(t)),r},t.arrContains=Hr,t.arrEvery=jr,t.arrFilter=xr,t.arrFind=Rr,t.arrFindIndex=Wr,t.arrFindLast=Br,t.arrFindLastIndex=Kr,t.arrForEach=Er,t.arrFrom=$r,t.arrIncludes=Gr,t.arrIndexOf=Cr,t.arrLastIndexOf=Fr,t.arrMap=Pr,t.arrReduce=Ur,t.arrSlice=Dr,t.arrSome=Mr,t.arrayDeepCopyHandler=Ke,t.asString=j,t.createArrayIterator=function(t){let r=-1,e=t?t.slice():[],n=e[a],u={n:function(){return++r>=n}};return O(u,"v",{g:function(){if(0<=r&&r<n)return e[r]}}),tn(u)},t.createCachedValue=k,t.createCustomError=te,t.createDeferredCachedValue=function(r){let e={toJSON:()=>e.v};return T(e,"v",{get:()=>{var t=r();return r=y,T(e,"v",{value:t}),t},configurable:!0})},t.createEnum=function(t){return mt(t,1,0,Ft)},t.createEnumKeyMap=At,t.createEnumValueMap=function(t){return mt(t,1,1,Ft)},t.createFilenameRegex=function(t,r,e){return Xe(j(t),/([-+|^$#.{}()\\\/\[\]\"\'])/g,t=>t.replace(/(\\\\|\\\/|\*|\?)/g,function(t,r){return"\\/"==r||"\\\\"==r?"[\\\\\\/]{1}":"*"==r?Qe:"(.)"}),!!r,e)},t.createFnDeferredProxy=Vr,t.createIterable=function(t){return Ye({},t)},t.createIterator=tn,t.createProxyFuncs=function(n,u,t){if(n&&u&&S(t)){let e=w(u);Er(t,t=>{var r=t.as||t.n;!1===t.rp&&n[r]||(n[r]=e?Vr(u,t.n):Or(u[t.n],u))})}return n},t.createRangeIterator=function(t,r,e){let n=t,u=l,o=(g(r)&&(r=t),e||(t<=r?1:-1)),i={n:function(){var t;return(t=0<o?n>r:n<r)||(u=n,n+=o),t}};return O(i,"v",{g:function(){return u}}),tn(i)},t.createSimpleMap=zt,t.createTimeout=function(t,r){return gn(!1,l,p[d](arguments))},t.createTimeoutWith=function(t,r,e){return gn(!1,t,p[d](arguments,1))},t.createTypeMap=zt,t.createWildcardRegex=function(t,r,e){return Xe(j(t),/([-+|^$#.\?{}()\[\]\\/\"\'])/g,t=>t.replace(/\*/g,Qe),!!r,e)},t.dateDeepCopyHandler=$e,t.deepExtend=function(t,r,e,n,u,o,i){return Ue(Be(t)||{},p[d](arguments))},t.dumpObj=x,t.elapsedTime=Ze,t.encodeAsHtml=function(t){return Pe=Pe||{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#39"},j(t).replace(/[&<>"']/g,t=>"&"+Pe[t]+";")},t.encodeAsJson=function(t,r){let e;if(m(t))e='"'+t.replace(/[^\w .,\-!@#$%\^&*\(\)_+={}\[\]:;|<>?]/g,t=>{return'"'===t||"\\"===t?"\\"+t:(t=t.charCodeAt(0)[u](16),"\\u"+je(ye(t),4,"0"))})+'"';else try{e=JSON.stringify(t,y,r?rt(r)?r:4:l)}catch(t){e='"'+x(t)+'"'}return e},t.fnApply=N,t.fnBind=Or,t.fnCall=function(t,r){return t.apply(r,p[d](arguments,2))},t.functionDeepCopyHandler=Ge,t.getCancelIdleCallback=Tn,t.getDocument=or,t.getGlobal=ur,t.getHistory=cr,t.getIdleCallback=In,t.getInst=z,t.getIntValue=function(t,r){return g(t)?r:rt(t)?t:isNaN(t=parseInt(t,10))?r:t},t.getKnownSymbol=mr,t.getLazy=rr,t.getLength=Me,t.getNavigator=ar,t.getPerformance=Je,t.getSymbol=gr,t.getValueByIter=function(r,t,e){return t&&r&&(Tr(t,t=>{if(g(r))return-1;r=r[t]}),!g(r))?r:e},t.getValueByKey=function(r,t,e){if(!t||!r)return e;var n=en(t,"."),u=n.length;for(let t=0;t<u&&!g(r);t++)r=r[n[t]];return g(r)?e:r},t.getWindow=ir,t.hasDocument=function(){return!!or()},t.hasHistory=function(){return!!cr()},t.hasIdleCallback=function(){return!!In()},t.hasNavigator=function(){return!!ar()},t.hasPerformance=function(){return!!Je()},t.hasSymbol=br,t.hasValue=function(t){return function t(r,e){let n=!1===r||0===r;if(!n&&!g(r))if(S(r))n=0<r[a];else if(tt(r))n=!isNaN(r.getTime());else{if(et(r))return!0;if(Y(r)){try{var u=function(r,t){let e;return Er(t,t=>{if(t in r)return t=r[t],e=0<(w(t)?t():t),-1}),e}(r,[a,"byteLength","size","count"]);if(et(u))return u;if(w(r.valueOf)&&e<5)return t(r.valueOf(),++e)}catch(t){}return!!Ct(r)[a]}n=st(r)}return n}(t,0)},t.hasWindow=function(){return!!ir()},t.isArray=S,t.isArrayBuffer=at,t.isBlob=it,t.isBoolean=et,t.isDate=tt,t.isDefined=Q,t.isError=ct,t.isFile=ut,t.isFormData=ot,t.isFunction=w,t.isIterable=Sr,t.isIterator=wr,t.isNode=lr,t.isNotTruthy=function(t){return!t||!st(t)},t.isNullOrUndefined=g,t.isNumber=rt,t.isObject=Y,t.isPlainObject=ze,t.isPrimitive=function(t){return t===y||X(typeof t)},t.isPrimitiveType=X,t.isPromise=function(t){return!!(t&&t.then&&t.catch&&w(t.then)&&w(t.catch))},t.isPromiseLike=lt,t.isRegExp=nt,t.isStrictNullOrUndefined=Z,t.isStrictUndefined=function(t){return!Q(t)},t.isString=m,t.isSymbol=hr,t.isThenable=ft,t.isTruthy=st,t.isTypeof=function(t,r){return typeof t===r},t.isUndefined=b,t.isWebWorker=fr,t.iterForOf=Tr,t.lazySafeGetInst=function(t){return rr(()=>v(z,[t]).v||l)},t.makeGlobRegex=function(t,r,e){return Xe(j(t),/([-+|^$#.{}()\\\/\[\]\"\'])/g,t=>t.replace(/(\*\*\\[\\\/]|\\\\|\\\/|\*\*|\*|\?)/g,function(t,r){return"**\\/"==r||"**\\\\"==r?"(.*[\\\\\\/])*":"\\/"===r||"\\\\"==r?"[\\\\\\/]{1}":"**"===r?Qe:"*"===r?"([^\\\\\\/]*)":"([^\\\\\\/]{1})"}),!!r,e)},t.makeIterable=Ye,t.mathCeil=ge,t.mathFloor=be,t.mathMax=$t,t.mathMin=Kt,t.mathToInt=Se,t.mathTrunc=me,t.newSymbol=function(t,r){P||D();var e=(P.lzy?0:sr)||dr();return e.v?e.v(t):r?y:Qt(t)},t.normalizeJsName=function(t,r){t=j(t).replace(Fe,"_");return b(r)?t:he(t,!r)},t.objAssign=Et,t.objCopyProps=We,t.objCreate=qr,t.objDeepCopy=Be,t.objDeepFreeze=function e(t){return Ot&&I(t,(t,r)=>{(S(r)||Y(r))&&e(r)}),Ft(t)},t.objDefine=O,t.objDefineAccessors=function(t,r,e,n,u,o){o={e:o,c:u};return e&&(o.g=e),n&&(o.s=n),T(t,r,bt(o))},t.objDefineGet=function(t,r,e,n,u){return T(t,r,bt({e:u,c:n,[w(e)?"g":"v"]:e}))},t.objDefineProp=T,t.objDefineProperties=gt,t.objDefineProps=function(t,r){let e={};return I(r,(t,r)=>{e[t]=bt(r)}),gt(t,e)},t.objEntries=kt,t.objExtend=function(t,r,e,n,u,o,i){return Ue(t||{},p[d](arguments))},t.objForEachKey=I,t.objFreeze=Ft,t.objGetOwnPropertyDescriptor=pt,t.objGetPrototypeOf=Dt,t.objHasOwn=dt,t.objHasOwnProperty=yt,t.objKeys=Ct,t.objSeal=Pt,t.objSetPrototypeOf=Xr,t.objToString=q,t.perfNow=qe,t.plainObjDeepCopyHandler=He,t.polyArrFind=Ar,t.polyArrFindIndex=zr,t.polyArrFindLast=Nr,t.polyArrFindLastIndex=Lr,t.polyArrFrom=_r,t.polyArrIncludes=kr,t.polyGetKnownSymbol=tr,t.polyIsArray=function(t){return!g(t)&&"[object Array]"===q(t)},t.polyNewSymbol=Qt,t.polyObjEntries=Tt,t.polyObjHasOwn=vt,t.polyObjKeys=function(t){Y(t)&&t!==y||E("non-object "+x(t));var r,e=[];for(r in t)dt(t,r)&&e.push(r);return e},t.polyStrIncludes=sn,t.polyStrSubstr=Mt,t.polyStrSymSplit=rn,t.polyStrTrim=oe,t.polyStrTrimEnd=ae,t.polyStrTrimStart=ie,t.polySymbolFor=Xt,t.polySymbolKeyFor=Yt,t.polyUtcNow=ne,t.readArgs=function(t,r,o){if(!dt(t,a)){var i=(Jr=Jr||k(br()&&mr(3))).v&&t[Jr.v];if(i){let e=[],n=r===l||r<0?0:r,u=o<0||r<0?l:o;if(Tr(i[d](t),(t,r)=>{if(u!==l&&r>=u)return-1;r>=n&&e.push(t)}),(r===l||0<=r)&&(o===l||0<=o))return e;t=e}}return Dr(t,r,o)},t.safe=v,t.safeGet=M,t.safeGetLazy=function(r,e){return rr(()=>{var t=v(r);return t.e?e:t.v})},t.scheduleIdleCallback=function(e,n){function u(t){let r=qe();return{didTimeout:t,timeRemaining:()=>Sn-Ze(r)}}if(In()){let r=bn(!0,t=>(t&&Tn()(t),In()(t=>{r.dn(),e(t||u(!1))},n)),t=>{Tn()(t)});return r.h}var t=(n||{}).timeout;return mn(()=>{e(u(!0))},b(t)?wn:t)},t.scheduleInterval=function(t,r){let e=p[d](arguments);return bn(!0,t=>(t&&clearInterval(t),N(setInterval,l,e)),t=>{N(clearInterval,l,[t])}).h},t.scheduleTimeout=mn,t.scheduleTimeoutWith=function(t,r,e){return gn(!0,t,p[d](arguments,1))},t.setBypassLazyCache=function(t){P||D(),P.lzy=t},t.setDefaultIdleTimeout=function(t){wn=t},t.setDefaultMaxExecutionTime=function(t){Sn=t},t.setValueByIter=function(e,t,n){if(e&&t){let r;Tr(t,t=>{r&&(g(e[r])&&(e[r]={}),e=e[r]),r=t}),e[r]=n}},t.setValueByKey=function(r,t,e){var n;r&&t&&(n=(t=en(t,".")).pop(),Er(t,t=>{g(r[t])&&(r[t]={}),r=r[t]}),r[n]=e)},t.strCamelCase=he,t.strContains=fn,t.strEndsWith=un,t.strIncludes=ln,t.strIndexOf=an,t.strIsNullOrEmpty=function(t){return m(t)?t===f:g(t)},t.strIsNullOrWhiteSpace=function(t){return m(t)?t.replace(/[\s\t\r\n\f]+/g,f)===f:g(t)},t.strKebabCase=function(t,r){t=ve(t,"-");return(r?ye:de)(t)},t.strLastIndexOf=cn,t.strLeft=function(t,r){return Ht(t,0,r)},t.strLetterCase=function(t){return j(t).replace(/(_|\b)\w/g,ye)},t.strLower=de,t.strPadEnd=xe,t.strPadStart=je,t.strRepeat=Ie,t.strRight=function(t,r){return r<=0?f:t[a]>r?Gt(t,-r):t},t.strSlice=Gt,t.strSnakeCase=function(t,r){t=ve(t,"_");return(r?ye:de)(t)},t.strSplit=en,t.strStartsWith=C,t.strSubstr=Ut,t.strSubstring=Ht,t.strSymSplit=nn,t.strTrim=ce,t.strTrimEnd=se,t.strTrimLeft=fe,t.strTrimRight=pe,t.strTrimStart=le,t.strUpper=ye,t.symbolFor=function(t){return P||D(),((pr=(P.lzy?0:pr)||k(v(vr,["for"]).v)).v||Xt)(t)},t.symbolKeyFor=function(t){return P||D(),((yr=(P.lzy?0:yr)||k(v(vr,["keyFor"]).v)).v||Yt)(t)},t.throwError=function(t){throw Error(t)},t.throwRangeError=It,t.throwTypeError=E,t.throwUnsupported=function(t){throw new(re=re||te("UnsupportedError"))(t)},t.utcNow=ee}var r=this;"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((r="undefined"!=typeof globalThis?globalThis:r||self).nevware21=r.nevware21||{},r.nevware21["ts-utils"]={}));
/*! https://github.com/nevware21/ts-utils v0.11.4 */
function t(t){function r(t,r){return t||r}function e(t,r){return t[r]}let l=void 0,y=null,f="",L="function",_="object",s="prototype",R="__proto__",n="undefined",W="constructor",B="Symbol",a="length",K="name",d="call",u="toString",o=r(Object),$=e(o,s),G=r(String),i=e(G,s),H=r(Math),U=r(Array),c=e(U,s),p=e(c,"slice");function v(t,r){try{return{v:t.apply(this,r)}}catch(t){return{e:t}}}function M(t,r){t=v(t);return t.e?r:t.v}let V;function J(r){return function(t){return typeof t===r}}function h(t){let r="[object "+t+"]";return function(t){return!(!t||q(t)!==r)}}function q(t){return $[u].call(t)}function b(t){return typeof t===n||t===n}function Z(t){return!X(t)}function g(t){return t===y||b(t)}function Q(t){return t===y||!X(t)}function X(t){return!!t||t!==l}function Y(t){return V=V||["string","number","boolean",n,"symbol","bigint"],!(t===_||!~V.indexOf(t))}let m=J("string"),w=J(L);function tt(t){return!(!t&&g(t)||!t||typeof t!==_)}let S=e(U,"isArray"),rt=h("Date"),et=J("number"),nt=J("boolean"),ut=h("RegExp"),ot=h("File"),it=h("FormData"),at=h("Blob"),ct=h("ArrayBuffer"),lt=h("Error");function ft(t){return!!(t&&t.then&&w(t.then))}var st=ft;function pt(t){return!(!t||M(()=>!(t&&0+t),!t))}let yt=e(o,"getOwnPropertyDescriptor");function dt(t,r){return!!t&&$.hasOwnProperty[d](t,r)}let vt=r(e(o,"hasOwn"),ht);function ht(t,r){return dt(t,r)||!!yt(t,r)}function I(t,r,e){if(t&&tt(t))for(var n in t)if(vt(t,n)&&-1===r[d](e||t,n,t[n]))break}let bt={e:"enumerable",c:"configurable",v:"value",w:"writable",g:"get",s:"set"};function gt(r){let e={};var t;return e[bt.c]=!0,e[bt.e]=!0,r.l&&(e.get=()=>r.l.v,t=yt(r.l,"v"))&&t.set&&(e.set=t=>{r.l.v=t}),I(r,(t,r)=>{e[bt[t]]=Z(r)?e[bt[t]]:r}),e}let T=e(o,"defineProperty"),mt=e(o,"defineProperties");function O(t,r,e){return T(t,r,gt(e))}function wt(t,e,n,r,u){let o={};return I(t,(t,r)=>{St(o,t,e?r:t,u),St(o,r,n?r:t,u)}),r?r(o):o}function St(t,r,e,n){T(t,r,{value:e,enumerable:!0,writable:!!n})}let j=r(G),It="[object Error]";function x(t,r){let e=f,n=$[u][d](t);n===It&&(t={stack:j(t.stack),message:j(t.message),name:j(t.name)});try{e=((e=JSON.stringify(t,y,r?"number"==typeof r?r:4:l))?e.replace(/"(\w+)"\s*:\s{0,1}/g,"$1: "):y)||j(t)}catch(t){e=" - "+x(t,r)}return n+": "+e}function E(t){throw new TypeError(t)}function Tt(t){throw new RangeError(t)}function Ot(t){let e=[];return I(t,(t,r)=>{e.push([t,r])}),e}let jt=e(o,"freeze");function xt(t){return t}function Et(t){return t[R]||y}let Ct=e(o,"assign"),Ft=e(o,"keys"),Pt=r(jt,xt),Dt=r(e(o,"seal"),xt),kt=r(e(o,"getPrototypeOf"),Et),At=r(e(o,"entries"),Ot);function zt(t){return wt(t,0,0,Pt)}function Nt(t){let e={};return I(t,(t,r)=>{St(e,t,r[1]),St(e,r[0],r[1])}),Pt(e)}let Lt=zt({asyncIterator:0,hasInstance:1,isConcatSpreadable:2,iterator:3,match:4,matchAll:5,replace:6,search:7,species:8,split:9,toPrimitive:10,toStringTag:11,unscopables:12}),_t="__tsUtils$gblCfg",Rt;function Wt(){var t;return(t=(t=(t=typeof globalThis!==n?globalThis:t)||typeof self===n?t:self)||typeof window===n?t:window)||typeof global===n?t:global}function Bt(){var t;return Rt||(t=v(Wt).v||{},Rt=t[_t]=t[_t]||{}),Rt}var C=F;function F(n,t,u){let o=t?t[n]:y;return function(t){var r,e=(t?t[n]:y)||o;if(e||u)return r=arguments,(e||u).apply(t,e?p[d](r,1):r);E('"'+j(n)+'" not defined for '+x(t))}}function Kt(r){return function(t){return t[r]}}let $t=e(H,"min"),Gt=e(H,"max"),Ht=C("slice",i),Ut=C("substring",i),Mt=F("substr",i,Vt);function Vt(t,r,e){return g(t)&&E("Invalid "+x(t)),e<0?f:((r=r||0)<0&&(r=Gt(r+t[a],0)),b(e)?Ht(t,r):Ht(t,r,r+e))}let Jt="_urid",qt;function Zt(){var t;return qt||(t=Bt(),qt=t.gblSym=t.gblSym||{k:{},s:{}}),qt}let Qt;function Xt(t){return{description:j(t),toString:()=>B+"("+t+")",_polyfill:!0}}function Yt(e){var n=Zt();if(!vt(n.k,e)){let t=Xt(e),r=Ft(n.s).length;t[Jt]=()=>r+"_"+t[u](),n.k[e]=t,n.s[t[Jt]()]=j(e)}return n.k[e]}function tr(t){t&&t[u]&&Ut(t[u](),0,6)==B||E(t+" is not a symbol");t=t._polyfill&&t[Jt]&&t[Jt]();return t?Zt().s[t]:void 0}function rr(t){Qt=Qt||{};t=Lt[t];return t?Qt[t]=Qt[t]||Xt(B+"."+t):void 0}let P;function D(){P=Bt()}function er(r){let e={};return P||D(),e.b=P.lzy,T(e,"v",{configurable:!0,get:function(){var t=r();return P.lzy||T(e,"v",{value:t}),e.b=P.lzy,t}}),e}function k(t){return T({toJSON:()=>t},"v",{value:t})}let nr="window",ur;function A(t,r){let e;return function(){return P||D(),(e=e&&!P.lzy?e:k(v(t,r).v)).v}}function or(t){return P||D(),(ur=ur&&!1!==t&&!P.lzy?ur:k(v(Wt).v||y)).v}function z(t,r){if((r=ur&&!1!==r?ur.v:or(r))&&r[t])return r[t];if(t===nr)try{return window}catch(t){}return y}let ir=A(z,["document"]),ar=A(z,[nr]),cr=A(z,["navigator"]),lr=A(z,["history"]),fr=A(()=>!!v(()=>process&&(process.versions||{}).node).v),sr=A(()=>!!v(()=>self&&self instanceof WorkerGlobalScope).v),pr,yr,dr;function vr(){return pr=k(v(z,[B]).v)}function hr(t){var r=(P.lzy?0:pr)||vr();return r.v?r.v[t]:l}var br=J("symbol");function gr(){return!!mr()}function mr(){return P||D(),((P.lzy?0:pr)||vr()).v}function wr(t,r){var e=Lt[t],n=(P||D(),(P.lzy?0:pr)||vr());return n.v?n.v[e||t]:r?l:rr(t)}function Sr(t){return!!t&&w(t.next)}function Ir(t){return!Q(t)&&w(t[wr(3)])}let Tr;function Or(n,u,o){if(n&&(Sr(n)||(n=n[(Tr=Tr||k(wr(3))).v]?n[Tr.v]():y),Sr(n))){let r=l,e=l;try{let t=0;for(;!(e=n.next()).done&&-1!==u[d](o||n,e.value,t,n);)t++}catch(t){r={e:t},n.throw&&(e=y,n.throw(r))}finally{try{e&&!e.done&&n.return&&n.return(e)}finally{if(r)throw r.e}}}}function N(t,r,e){return t.apply(r,e)}function jr(t,r){return t.bind.apply(t,p[d](arguments,1))}var xr=C("every",c),Er=C("filter",c);function Cr(r,e,n){if(r){var u=r[a]>>>0;for(let t=0;t<u&&!(t in r&&-1===e[d](n||r,r[t],t,r));t++);}}let Fr=C("indexOf",c),Pr=C("lastIndexOf",c),Dr=C("map",c);function kr(t,r,e){return((t?t.slice:y)||p).apply(t,p[d](arguments,1))}function Ar(t,r,e){return-1!==Fr(t,r,e)}function zr(t,r,e){r=Nr(t,r,e);return-1!==r?t[r]:void 0}function Nr(e,n,u){let o=-1;return Cr(e,(t,r)=>{if(n[d](u|e,t,r,e))return o=r,-1}),o}function Lr(t,r,e){r=_r(t,r,e);return-1!==r?t[r]:void 0}function _r(r,e,n){let u=-1;for(let t=(r[a]>>>0)-1;0<=t;t--)if(t in r&&e[d](n|r,r[t],t,r)){u=t;break}return u}function Rr(t,e,n){var r;if(S(t))return r=kr(t),e?Dr(r,e,n):r;let u=[];return Or(t,(t,r)=>u.push(e?e[d](n,t,r):t)),u}var Wr=F("find",c,zr),Br=F("findIndex",c,Nr),Kr=F("findLast",c,Lr),$r=F("findLastIndex",c,_r),Gr=r(e(U,"from"),Rr),Hr=F("includes",c,Ar),Ur=Hr,Mr=C("reduce",c),Vr=C("some",c);function Jr(e,n){return function(){var t=p[d](arguments),r=e();return N(r[n],r,t)}}let qr,Zr=r(e(o,"create"),Qr);function Qr(t){var r;return t?((r=typeof t)!==_&&r!==L&&E("Prototype must be an Object or function: "+x(t)),e[s]=t,new e):{};function e(){}}let Xr;function Yr(t,r){return(o.setPrototypeOf||function(e,t){(Xr=Xr||k({[R]:[]}instanceof Array)).v?e[R]=t:I(t,(t,r)=>e[t]=r)})(t,r)}function te(t,r){r&&(t[K]=r)}function re(u,o,t){let i=t||Error,a=i[s][K],c=Error.captureStackTrace;return e=u,t=i,v(O,[n=function(){var t=this,r=arguments;try{v(te,[i,u]);var e,n=N(i,t,p[d](r))||t;return n!==t&&(e=kt(t))!==kt(n)&&Yr(n,e),c&&c(n,t[W]),o&&o(n,r),n}finally{v(te,[i,a])}},K,{v:e,c:!0,e:!1}]),(n=Yr(n,t))[s]=t===y?Zr(t):(r[s]=t[s],new r),n;function r(){this[W]=n,v(O,[this,K,{v:e,c:!0,e:!1}])}var e,n}let ee;function ne(){return(Date.now||ue)()}function ue(){return(new Date).getTime()}function oe(r){return function(t){return g(t)&&E("strTrim called ["+x(t)+"]"),t&&t.replace?t.replace(r,f):t}}let ie=oe(/^\s+|(?=\s)\s+$/g),ae=oe(/^\s+/g),ce=oe(/(?=\s)\s+$/g),le=F("trim",i,ie),fe=F("trimStart",i,ae),se=r(fe),pe=F("trimEnd",i,ce),ye=r(pe),de=C("toUpperCase",i),ve=C("toLowerCase",i);function he(t,a,c){return le(j(t)).replace(/((_|\W)+(\w){0,1}|([a-z])([A-Z]))/g,(t,r,e,n,u,o)=>{let i=n||o||f;return c&&(i=de(i)),(u||f)+a+i})}function be(t,r){return he(t,"",!0).replace(/^\w/,r?de:ve)}let ge=e(H,"floor"),me=e(H,"ceil"),we=r(e(H,"trunc"),Se);function Se(t){t=+t;return(0<t?ge:me)(t)}function Ie(t,r){var e=+t;return e==1/0&&r&&Tt("invalid value ["+x(t)+"]"),e!=e||0==e?0:we(e)}let Te=F("repeat",i,Oe);function Oe(t,r){g(t)&&E("can't convert ["+x(t)+"]"),(r=Ie(r,!0))<0&&Tt("invalid count must be >= 0 && < Infinity");let e=m(t)?t:j(t),n=f;for(;0<r;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}function je(t,r,e){let n=f;r=Ie(r,!0),r>>=0;t=t[a];return n=t<r&&(r-=t,(n=r>(n=g(e)?" ":j(e))[a]?Te(n,me(r/n[a])):n)[a]>r)?Ut(n,0,r):n}let xe=F("padStart",i,Ce),Ee=F("padEnd",i,Fe);function Ce(t,r,e){return je(t,r,e)+t}function Fe(t,r,e){return t+je(t,r,e)}let Pe=/([^\w\d_$])/g,De,ke,Ae,ze;function Ne(r){if(!r||typeof r!==_)return!1;let e=!1;if(r!==(ze=ze||ar()||!0)){Ae||(ke=Function[s][u],Ae=ke[d](o));try{let t=kt(r);(e=!t)||(dt(t,W)&&(t=t[W]),e=!(!t||typeof t!==L||ke[d](t)!==Ae))}catch(t){}}return e}function Le(t){return t.value&&Ue(t),!0}let _e=[$e,Ue,He,Ge];function Re(n,t,u,r){let o=u.handler,e=u.path?r?u.path.concat(r):u.path:[],i={handler:u.handler,src:u.src,path:e},a=typeof t,c=!1,l=t===y,f=(l||(t&&a===_?c=Ne(t):l=Y(a)),{type:a,isPrim:l,isPlain:c,value:t,result:t,path:e,origin:u.src,copy:(t,r)=>Re(n,t,r?i:u,r),copyTo:(t,r)=>We(n,t,r,i)});if(f.isPrim)return o&&o[d](u,f)?f.result:t;{var r=n,s=t;let e;if(Cr(r,t=>{if(t.k===s)return e=t,-1}),!e){e={k:s,v:s},r.push(e);{var p=e;O(f,"result",{g:function(){return p.v},s:function(t){p.v=t}});let t=0,r=o;for(;!(r||(t<_e.length?_e[t++]:Le))[d](u,f);)r=y}}return e.v}}function We(t,r,e,n){if(!g(e))for(var u in e)r[u]=Re(t,e[u],n,u);return r}function Be(t,r,e){return We([],t,r,{handler:e,src:r,path:[]})}function Ke(t,r){return Re([],t,{handler:r,src:t})}function $e(t){var r,e=t.value;return!!S(e)&&((r=t.result=[]).length=e.length,t.copyTo(r,e),!0)}function Ge(t){var r=t.value;return!!rt(r)&&(t.result=new Date(r.getTime()),!0)}function He(t){return t.type===L}function Ue(t){var r,e=t.value;return!(!e||!t.isPlain||(r=t.result={},t.copyTo(r,e),0))}function Me(r,t){return Cr(t,t=>{Be(r,t)}),r}let Ve=Kt(a),Je;function qe(){return P||D(),(Je=Je&&!P.lzy?Je:k(v(z,["performance"]).v)).v}function Ze(){var t=qe();return t&&t.now?t.now():ne()}function Qe(t){return Ze()-t}let Xe="(.*)";function Ye(t,r,e,n,u){return RegExp((u?"^":f)+e(t.replace(r,"\\$1"))+(u?"$":f),n?"i":"")}function tn(t,r){return t[wr(3)]=function(){return rn(r)},t}function rn(r){let e=!1;function n(){return r.v}var t={next:function(){var t={done:e=e||!r.n||r.n(arguments)};return e||O(t,"value",{g:n}),t}};return r.r&&(t.return=function(t){return{done:e=!0,value:r.r&&r.r(t)}}),r.t&&(t.throw=function(t){return{done:e=!0,value:r.t&&r.t(t)}}),t}function en(t,r,e){r=r?r[wr(9)]:l;return r?r(t,e):[t]}let nn=C("split",i),un=F("split",i,mr()?y:en),on=F("endsWith",i,an);function an(t,r,e){m(t)||E("'"+x(t)+"' is not a string");r=m(r)?r:j(r),e=!b(e)&&e<t[a]?e:t[a];return Ut(t,e-r[a],e)===r}let cn=C("indexOf",i),ln=C("lastIndexOf",i),fn=F("includes",i,pn),sn=r(fn);function pn(t,r,e){return ut(r)&&E("'searchString' must not be a regular expression"+x(r)),-1!==cn(t,j(r),e)}function yn(t,r,e){m(t)||E("'"+x(t)+"' is not a string");r=m(r)?r:j(r),e=0<e?e:0;return Ut(t,e,e+r[a])===r}C=F("startsWith",i,yn);let dn="ref",vn="unref",hn="hasRef",bn="enabled";function gn(t,r,e){let n=!0,u=t?r(y):y,o;function i(){return n=!1,u&&u[vn]&&u[vn](),o}function a(){u&&e(u),u=y}function c(){return u=r(u),n||i(),o}return(o={cancel:a,refresh:c})[hn]=()=>u&&u[hn]?u[hn]():n,o[dn]=()=>(n=!0,u&&u[dn]&&u[dn](),o),o[vn]=i,{h:o=T(o,bn,{get:()=>!!u,set:function(t){!t&&u&&a(),t&&!u&&c()}}),dn:()=>{u=y}}}function mn(t,r,e){let n=S(r),u=n?r.length:0,o=(0<u?r[0]:n?l:r)||setTimeout,i=(1<u?r[1]:l)||clearTimeout,a=e[0],c=(e[0]=function(){c.dn(),N(a,l,p[d](arguments))},gn(t,t=>{if(t){if(t.refresh)return t.refresh(),t;N(i,l,[t])}return N(o,l,e)},function(t){N(i,l,[t])}));return c.h}function wn(t,r){return mn(!0,l,p[d](arguments))}let Sn=100,In=50,Tn=A(z,["requestIdleCallback"]),On=A(z,["cancelIdleCallback"]);t.arrAppend=function(r,t){return!b(t)&&r&&(S(t)?N(r.push,r,t):Sr(t)||Ir(t)?Or(t,t=>{r.push(t)}):r.push(t)),r},t.arrContains=Ur,t.arrEvery=xr,t.arrFilter=Er,t.arrFind=Wr,t.arrFindIndex=Br,t.arrFindLast=Kr,t.arrFindLastIndex=$r,t.arrForEach=Cr,t.arrFrom=Gr,t.arrIncludes=Hr,t.arrIndexOf=Fr,t.arrLastIndexOf=Pr,t.arrMap=Dr,t.arrReduce=Mr,t.arrSlice=kr,t.arrSome=Vr,t.arrayDeepCopyHandler=$e,t.asString=j,t.createArrayIterator=function(t){let r=-1,e=t?t.slice():[],n=e[a],u={n:function(){return++r>=n}};return O(u,"v",{g:function(){if(0<=r&&r<n)return e[r]}}),rn(u)},t.createCachedValue=k,t.createCustomError=re,t.createDeferredCachedValue=function(r){let e={toJSON:()=>e.v};return T(e,"v",{get:()=>{var t=r();return r=y,T(e,"v",{value:t}),t},configurable:!0})},t.createEnum=function(t){return wt(t,1,0,Pt)},t.createEnumKeyMap=zt,t.createEnumValueMap=function(t){return wt(t,1,1,Pt)},t.createFilenameRegex=function(t,r,e){return Ye(j(t),/([-+|^$#.{}()\\\/\[\]\"\'])/g,t=>t.replace(/(\\\\|\\\/|\*|\?)/g,function(t,r){return"\\/"==r||"\\\\"==r?"[\\\\\\/]{1}":"*"==r?Xe:"(.)"}),!!r,e)},t.createFnDeferredProxy=Jr,t.createIterable=function(t){return tn({},t)},t.createIterator=rn,t.createProxyFuncs=function(n,u,t){if(n&&u&&S(t)){let e=w(u);Cr(t,t=>{var r=t.as||t.n;!1===t.rp&&n[r]||(n[r]=e?Jr(u,t.n):jr(u[t.n],u))})}return n},t.createRangeIterator=function(t,r,e){let n=t,u=l,o=(g(r)&&(r=t),e);return o=o||(t<=r?1:-1),rn(O({n:function(){var t=0<o?n>r:n<r;return t||(u=n,n+=o),t}},"v",{g:function(){return u}}))},t.createSimpleMap=Nt,t.createTimeout=function(t,r){return mn(!1,l,p[d](arguments))},t.createTimeoutWith=function(t,r,e){return mn(!1,t,p[d](arguments,1))},t.createTypeMap=Nt,t.createWildcardRegex=function(t,r,e){return Ye(j(t),/([-+|^$#.\?{}()\[\]\\/\"\'])/g,t=>t.replace(/\*/g,Xe),!!r,e)},t.dateDeepCopyHandler=Ge,t.deepExtend=function(t,r,e,n,u,o,i){return Me(Ke(t)||{},p[d](arguments))},t.dumpObj=x,t.elapsedTime=Qe,t.encodeAsHtml=function(t){return De=De||{"&":"amp","<":"lt",">":"gt",'"':"quot","'":"#39"},j(t).replace(/[&<>"']/g,t=>"&"+De[t]+";")},t.encodeAsJson=function(t,r){let e;if(m(t))e='"'+t.replace(/[^\w .,\-!@#$%\^&*\(\)_+={}\[\]:;|<>?]/g,t=>'"'===t||"\\"===t?"\\"+t:(t=t.charCodeAt(0)[u](16),"\\u"+xe(de(t),4,"0")))+'"';else try{e=JSON.stringify(t,y,r?et(r)?r:4:l)}catch(t){e='"'+x(t)+'"'}return e},t.fnApply=N,t.fnBind=jr,t.fnCall=function(t,r){return t.apply(r,p[d](arguments,2))},t.functionDeepCopyHandler=He,t.getCancelIdleCallback=On,t.getDocument=ir,t.getGlobal=or,t.getHistory=lr,t.getIdleCallback=Tn,t.getInst=z,t.getIntValue=function(t,r){return g(t)?r:et(t)?t:isNaN(t=parseInt(t,10))?r:t},t.getKnownSymbol=wr,t.getLazy=er,t.getLength=Ve,t.getNavigator=cr,t.getPerformance=qe,t.getSymbol=mr,t.getValueByIter=function(r,t,e){return t&&r&&(Or(t,t=>{if(g(r))return-1;r=r[t]}),!g(r))?r:e},t.getValueByKey=function(r,t,e){if(!t||!r)return e;var n=nn(t,"."),u=n.length;for(let t=0;t<u&&!g(r);t++)r=r[n[t]];return g(r)?e:r},t.getWindow=ar,t.hasDocument=function(){return!!ir()},t.hasHistory=function(){return!!lr()},t.hasIdleCallback=function(){return!!Tn()},t.hasNavigator=function(){return!!cr()},t.hasPerformance=function(){return!!qe()},t.hasSymbol=gr,t.hasValue=function(t){return function t(r,e){let n=!1===r||0===r;if(!n&&!g(r))if(S(r))n=0<r[a];else if(rt(r))n=!isNaN(r.getTime());else{if(nt(r))return!0;if(tt(r)){try{var u=((r,t)=>{let e;return Cr(t,t=>{if(t in r)return t=r[t],e=0<(w(t)?t():t),-1}),e})(r,[a,"byteLength","size","count"]);if(nt(u))return u;if(w(r.valueOf)&&e<5)return t(r.valueOf(),++e)}catch(t){}return!!Ft(r)[a]}n=pt(r)}return n}(t,0)},t.hasWindow=function(){return!!ar()},t.isArray=S,t.isArrayBuffer=ct,t.isBlob=at,t.isBoolean=nt,t.isDate=rt,t.isDefined=X,t.isError=lt,t.isFile=ot,t.isFormData=it,t.isFunction=w,t.isIterable=Ir,t.isIterator=Sr,t.isNode=fr,t.isNotTruthy=function(t){return!t||!pt(t)},t.isNullOrUndefined=g,t.isNumber=et,t.isObject=tt,t.isPlainObject=Ne,t.isPrimitive=function(t){return t===y||Y(typeof t)},t.isPrimitiveType=Y,t.isPromise=function(t){return!!(t&&t.then&&t.catch&&w(t.then)&&w(t.catch))},t.isPromiseLike=ft,t.isRegExp=ut,t.isStrictNullOrUndefined=Q,t.isStrictUndefined=Z,t.isString=m,t.isSymbol=br,t.isThenable=st,t.isTruthy=pt,t.isTypeof=function(t,r){return typeof t===r},t.isUndefined=b,t.isWebWorker=sr,t.iterForOf=Or,t.lazySafeGetInst=function(t){return er(()=>v(z,[t]).v||l)},t.makeGlobRegex=function(t,r,e){return Ye(j(t),/([-+|^$#.{}()\\\/\[\]\"\'])/g,t=>t.replace(/(\*\*\\[\\\/]|\\\\|\\\/|\*\*|\*|\?)/g,function(t,r){return"**\\/"==r||"**\\\\"==r?"(.*[\\\\\\/])*":"\\/"===r||"\\\\"==r?"[\\\\\\/]{1}":"**"===r?Xe:"*"===r?"([^\\\\\\/]*)":"([^\\\\\\/]{1})"}),!!r,e)},t.makeIterable=tn,t.mathCeil=me,t.mathFloor=ge,t.mathMax=Gt,t.mathMin=$t,t.mathToInt=Ie,t.mathTrunc=we,t.newSymbol=function(t,r){P||D();var e=(P.lzy?0:pr)||vr();return e.v?e.v(t):r?y:Xt(t)},t.normalizeJsName=function(t,r){t=j(t).replace(Pe,"_");return b(r)?t:be(t,!r)},t.objAssign=Ct,t.objCopyProps=Be,t.objCreate=Zr,t.objDeepCopy=Ke,t.objDeepFreeze=function e(t){return jt&&I(t,(t,r)=>{(S(r)||tt(r))&&e(r)}),Pt(t)},t.objDefine=O,t.objDefineAccessors=function(t,r,e,n,u,o){o={e:o,c:u};return e&&(o.g=e),n&&(o.s=n),T(t,r,gt(o))},t.objDefineGet=function(t,r,e,n,u){return T(t,r,gt({e:u,c:n,[w(e)?"g":"v"]:e}))},t.objDefineProp=T,t.objDefineProperties=mt,t.objDefineProps=function(t,r){let e={};return I(r,(t,r)=>{e[t]=gt(r)}),mt(t,e)},t.objEntries=At,t.objExtend=function(t,r,e,n,u,o,i){return Me(t||{},p[d](arguments))},t.objForEachKey=I,t.objFreeze=Pt,t.objGetOwnPropertyDescriptor=yt,t.objGetPrototypeOf=kt,t.objHasOwn=vt,t.objHasOwnProperty=dt,t.objKeys=Ft,t.objSeal=Dt,t.objSetPrototypeOf=Yr,t.objToString=q,t.perfNow=Ze,t.plainObjDeepCopyHandler=Ue,t.polyArrFind=zr,t.polyArrFindIndex=Nr,t.polyArrFindLast=Lr,t.polyArrFindLastIndex=_r,t.polyArrFrom=Rr,t.polyArrIncludes=Ar,t.polyGetKnownSymbol=rr,t.polyIsArray=function(t){return!g(t)&&"[object Array]"===q(t)},t.polyNewSymbol=Xt,t.polyObjEntries=Ot,t.polyObjHasOwn=ht,t.polyObjKeys=function(t){tt(t)&&t!==y||E("non-object "+x(t));var r,e=[];for(r in t)vt(t,r)&&e.push(r);return e},t.polyStrIncludes=pn,t.polyStrSubstr=Vt,t.polyStrSymSplit=en,t.polyStrTrim=ie,t.polyStrTrimEnd=ce,t.polyStrTrimStart=ae,t.polySymbolFor=Yt,t.polySymbolKeyFor=tr,t.polyUtcNow=ue,t.readArgs=function(t,r,o){var i;if(!vt(t,a)&&(i=(qr=qr||k(gr()&&wr(3))).v?t[qr.v]:void 0)){let e=[],n=r===l||r<0?0:r,u=o<0||r<0?l:o;if(Or(i[d](t),(t,r)=>{if(u!==l&&r>=u)return-1;r>=n&&e.push(t)}),(r===l||0<=r)&&(o===l||0<=o))return e;t=e}return kr(t,r,o)},t.safe=v,t.safeGet=M,t.safeGetLazy=function(r,e){return er(()=>{var t=v(r);return t.e?e:t.v})},t.scheduleIdleCallback=function(e,n){function u(t){let r=Ze();return{didTimeout:t,timeRemaining:()=>In-Qe(r)}}if(Tn()){let r=gn(!0,t=>(t&&On()(t),Tn()(t=>{r.dn(),e(t||u(!1))},n)),t=>{On()(t)});return r.h}var t=(n||{}).timeout;return wn(()=>{e(u(!0))},b(t)?Sn:t)},t.scheduleInterval=function(t,r){let e=p[d](arguments);return gn(!0,t=>(t&&clearInterval(t),N(setInterval,l,e)),t=>{N(clearInterval,l,[t])}).h},t.scheduleTimeout=wn,t.scheduleTimeoutWith=function(t,r,e){return mn(!0,t,p[d](arguments,1))},t.setBypassLazyCache=function(t){P||D(),P.lzy=t},t.setDefaultIdleTimeout=function(t){Sn=t},t.setDefaultMaxExecutionTime=function(t){In=t},t.setValueByIter=function(e,t,n){if(e&&t){let r;Or(t,t=>{r&&(g(e[r])&&(e[r]={}),e=e[r]),r=t}),e[r]=n}},t.setValueByKey=function(r,t,e){var n;r&&t&&(n=(t=nn(t,".")).pop(),Cr(t,t=>{g(r[t])&&(r[t]={}),r=r[t]}),r[n]=e)},t.strCamelCase=be,t.strContains=sn,t.strEndsWith=on,t.strIncludes=fn,t.strIndexOf=cn,t.strIsNullOrEmpty=function(t){return m(t)?t===f:g(t)},t.strIsNullOrWhiteSpace=function(t){return m(t)?t.replace(/[\s\t\r\n\f]+/g,f)===f:g(t)},t.strKebabCase=function(t,r){t=he(t,"-");return(r?de:ve)(t)},t.strLastIndexOf=ln,t.strLeft=function(t,r){return Ut(t,0,r)},t.strLetterCase=function(t){return j(t).replace(/(_|\b)\w/g,de)},t.strLower=ve,t.strPadEnd=Ee,t.strPadStart=xe,t.strRepeat=Te,t.strRight=function(t,r){return r<=0?f:t[a]>r?Ht(t,-r):t},t.strSlice=Ht,t.strSnakeCase=function(t,r){t=he(t,"_");return(r?de:ve)(t)},t.strSplit=nn,t.strStartsWith=C,t.strSubstr=Mt,t.strSubstring=Ut,t.strSymSplit=un,t.strTrim=le,t.strTrimEnd=pe,t.strTrimLeft=se,t.strTrimRight=ye,t.strTrimStart=fe,t.strUpper=de,t.symbolFor=function(t){return P||D(),((yr=(P.lzy?0:yr)||k(v(hr,["for"]).v)).v||Yt)(t)},t.symbolKeyFor=function(t){return P||D(),((dr=(P.lzy?0:dr)||k(v(hr,["keyFor"]).v)).v||tr)(t)},t.throwError=function(t){throw Error(t)},t.throwRangeError=Tt,t.throwTypeError=E,t.throwUnsupported=function(t){throw new(ee=ee||re("UnsupportedError"))(t)},t.utcNow=ne}var r=this;"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(((r="undefined"!=typeof globalThis?globalThis:r||self).nevware21=r.nevware21||{},r.nevware21["ts-utils"]={}));
//# sourceMappingURL=ts-utils.min.js.map

@@ -1,2 +0,2 @@

/*! https://github.com/nevware21/ts-utils v0.11.3 */
/*! https://github.com/nevware21/ts-utils v0.11.4 */
/*

@@ -105,3 +105,3 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

!_primitiveTypes && (_primitiveTypes = ["string", "number", "boolean", UNDEFINED, "symbol", "bigint"]);
return theType !== OBJECT && _primitiveTypes.indexOf(theType) !== -1;
return !!(theType !== OBJECT && _primitiveTypes.indexOf(theType) !== -1);
}

@@ -193,3 +193,3 @@ var isString = ( /*#__PURE__*/_createIs("string"));

objForEachKey(value, function (key, value) {
prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
prop[propMap[key]] = isStrictUndefined(value) ? prop[propMap[key]] : value;
});

@@ -262,3 +262,3 @@ return prop;

propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
propertyValueDump = (propertyValueDump && propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ")) || asString(object);
propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
}

@@ -401,5 +401,5 @@ catch (e) {

function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
var clsFn = clsProto && clsProto[funcName];
var clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
return function (thisArg) {
var theFunc = (thisArg && thisArg[funcName]) || clsFn;
var theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
if (theFunc || polyFunc) {

@@ -560,3 +560,5 @@ var theArgs = arguments;

!_globalLazyTestHooks && _initTestHooks();
(!cachedValue || _globalLazyTestHooks.lzy) && (cachedValue = createCachedValue(safe(getFn, theArgs).v));
if (!cachedValue || _globalLazyTestHooks.lzy) {
cachedValue = createCachedValue(safe(getFn, theArgs).v);
}
return cachedValue.v;

@@ -569,6 +571,7 @@ };

}
/*#__NO_SIDE_EFFECTS__*/
function getGlobal(useCached) {
!_globalLazyTestHooks && _initTestHooks();
(!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) && (_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE));
if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
}
return _cachedGlobal.v;

@@ -578,3 +581,9 @@ }

function getInst(name, useCached) {
var gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
var gbl;
if (!_cachedGlobal || useCached === false) {
gbl = getGlobal(useCached);
}
else {
gbl = _cachedGlobal.v;
}
if (gbl && gbl[name]) {

@@ -584,3 +593,7 @@ return gbl[name];

if (name === WINDOW) {
return getWindow();
try {
return window;
}
catch (e) {
}
}

@@ -678,3 +691,3 @@ return NULL_VALUE;

!_iterSymbol$1 && (_iterSymbol$1 = createCachedValue(getKnownSymbol(3 )));
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : null;
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : NULL_VALUE;
}

@@ -766,3 +779,3 @@ if (isIterator(iter)) {

function arrSlice(theArray, start, end) {
return ((theArray && theArray["slice"]) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
}

@@ -867,3 +880,6 @@

!_iterSymbol && (_iterSymbol = createCachedValue(hasSymbol() && getKnownSymbol(3 )));
var iterFn = _iterSymbol.v && theArgs[_iterSymbol.v];
var iterFn = void 0;
if (_iterSymbol.v) {
iterFn = theArgs[_iterSymbol.v];
}
if (iterFn) {

@@ -1162,3 +1178,3 @@ var values_1 = [];

}
result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
result = !!(proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString);
}

@@ -1209,9 +1225,11 @@ }

var isPlain = false;
var isPrim = false;
if (value && theType === OBJECT) {
isPlain = isPlainObject(value);
var isPrim = value === NULL_VALUE;
if (!isPrim) {
if (value && theType === OBJECT) {
isPlain = isPlainObject(value);
}
else {
isPrim = isPrimitiveType(theType);
}
}
else {
isPrim = value === NULL_VALUE || isPrimitiveType(theType);
}
var details = {

@@ -1347,3 +1365,5 @@ type: theType,

!_globalLazyTestHooks && _initTestHooks();
(!_perf || _globalLazyTestHooks.lzy) && (_perf = createCachedValue(safe((getInst), ["performance"]).v));
if (!_perf || _globalLazyTestHooks.lzy) {
_perf = createCachedValue(safe((getInst), ["performance"]).v);
}
return _perf.v;

@@ -1482,3 +1502,5 @@ }

function _next() {
isDone = isDone || (ctx.n ? ctx.n(arguments) : true);
if (!isDone) {
isDone = (ctx.n ? ctx.n(arguments) : true);
}
var result = {

@@ -1546,3 +1568,6 @@ done: isDone

}
var theStep = step || ((start <= end) ? 1 : -1);
var theStep = step;
if (!theStep) {
theStep = (start <= end) ? 1 : -1;
}
function _value() {

@@ -1552,9 +1577,3 @@ return theValue;

function _getNext() {
var isDone = false;
if (theStep > 0) {
isDone = nextValue > end;
}
else {
isDone = nextValue < end;
}
var isDone = (theStep > 0) ? (nextValue > end) : (nextValue < end);
if (!isDone) {

@@ -1566,7 +1585,5 @@ theValue = nextValue;

}
var ctx = {
return createIterator(objDefine({
n: _getNext
};
objDefine(ctx, "v", { g: _value });
return createIterator(ctx);
}, "v", { g: _value }));
}

@@ -1576,3 +1593,3 @@

function polyStrSymSplit(value, splitter, limit) {
var splitFn = splitter && splitter[getKnownSymbol(9 )];
var splitFn = splitter ? splitter[getKnownSymbol(9 )] : UNDEF_VALUE;
return splitFn ? splitFn(value, limit) : [value];

@@ -1582,3 +1599,3 @@ }

var strSplit = ( /*#__PURE__*/_unwrapFunction("split", StrProto));
var strSymSplit = ( /*#__PURE__*/_unwrapFunctionWithPoly("split", StrProto, !hasSymbol() ? polyStrSymSplit : null));
var strSymSplit = ( /*#__PURE__*/_unwrapFunctionWithPoly("split", StrProto, !hasSymbol() ? polyStrSymSplit : NULL_VALUE));

@@ -1646,3 +1663,3 @@ /*#__NO_SIDE_EFFECTS__*/

var searchValue = isString(searchString) ? searchString : asString(searchString);
var end = !isUndefined(length) && length < value[LENGTH] ? length : value[LENGTH];
var end = (!isUndefined(length) && length < value[LENGTH]) ? length : value[LENGTH];
return strSubstring(value, end - searchValue[LENGTH], end) === searchValue;

@@ -1649,0 +1666,0 @@ }

@@ -1,2 +0,2 @@

/*! https://github.com/nevware21/ts-utils v0.11.3 */
/*! https://github.com/nevware21/ts-utils v0.11.4 */
/*

@@ -105,3 +105,3 @@ * Copyright (c) NevWare21 Solutions LLC and contributors. All rights reserved.

!_primitiveTypes && (_primitiveTypes = ["string", "number", "boolean", UNDEFINED, "symbol", "bigint"]);
return theType !== OBJECT && _primitiveTypes.indexOf(theType) !== -1;
return !!(theType !== OBJECT && _primitiveTypes.indexOf(theType) !== -1);
}

@@ -193,3 +193,3 @@ const isString = ( /*#__PURE__*/_createIs("string"));

objForEachKey(value, (key, value) => {
prop[propMap[key]] = isUndefined(value) ? prop[propMap[key]] : value;
prop[propMap[key]] = isStrictUndefined(value) ? prop[propMap[key]] : value;
});

@@ -260,3 +260,3 @@ return prop;

propertyValueDump = JSON.stringify(object, NULL_VALUE, format ? ((typeof format === "number") ? format : 4) : UNDEF_VALUE);
propertyValueDump = (propertyValueDump && propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ")) || asString(object);
propertyValueDump = (propertyValueDump ? propertyValueDump.replace(/"(\w+)"\s*:\s{0,1}/g, "$1: ") : NULL_VALUE) || asString(object);
}

@@ -399,5 +399,5 @@ catch (e) {

function _unwrapFunctionWithPoly(funcName, clsProto, polyFunc) {
let clsFn = clsProto && clsProto[funcName];
let clsFn = clsProto ? clsProto[funcName] : NULL_VALUE;
return function (thisArg) {
let theFunc = (thisArg && thisArg[funcName]) || clsFn;
let theFunc = (thisArg ? thisArg[funcName] : NULL_VALUE) || clsFn;
if (theFunc || polyFunc) {

@@ -558,3 +558,5 @@ let theArgs = arguments;

!_globalLazyTestHooks && _initTestHooks();
(!cachedValue || _globalLazyTestHooks.lzy) && (cachedValue = createCachedValue(safe(getFn, theArgs).v));
if (!cachedValue || _globalLazyTestHooks.lzy) {
cachedValue = createCachedValue(safe(getFn, theArgs).v);
}
return cachedValue.v;

@@ -567,6 +569,7 @@ };

}
/*#__NO_SIDE_EFFECTS__*/
function getGlobal(useCached) {
!_globalLazyTestHooks && _initTestHooks();
(!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) && (_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE));
if (!_cachedGlobal || useCached === false || _globalLazyTestHooks.lzy) {
_cachedGlobal = createCachedValue(safe(_getGlobalValue).v || NULL_VALUE);
}
return _cachedGlobal.v;

@@ -576,3 +579,9 @@ }

function getInst(name, useCached) {
const gbl = (!_cachedGlobal || useCached === false) ? getGlobal(useCached) : _cachedGlobal.v;
let gbl;
if (!_cachedGlobal || useCached === false) {
gbl = getGlobal(useCached);
}
else {
gbl = _cachedGlobal.v;
}
if (gbl && gbl[name]) {

@@ -582,3 +591,7 @@ return gbl[name];

if (name === WINDOW) {
return getWindow();
try {
return window;
}
catch (e) {
}
}

@@ -676,3 +689,3 @@ return NULL_VALUE;

!_iterSymbol$1 && (_iterSymbol$1 = createCachedValue(getKnownSymbol(3 )));
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : null;
iter = iter[_iterSymbol$1.v] ? iter[_iterSymbol$1.v]() : NULL_VALUE;
}

@@ -764,3 +777,3 @@ if (isIterator(iter)) {

function arrSlice(theArray, start, end) {
return ((theArray && theArray["slice"]) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
return ((theArray ? theArray["slice"] : NULL_VALUE) || ArrSlice).apply(theArray, ArrSlice[CALL](arguments, 1));
}

@@ -865,3 +878,6 @@

!_iterSymbol && (_iterSymbol = createCachedValue(hasSymbol() && getKnownSymbol(3 )));
let iterFn = _iterSymbol.v && theArgs[_iterSymbol.v];
let iterFn;
if (_iterSymbol.v) {
iterFn = theArgs[_iterSymbol.v];
}
if (iterFn) {

@@ -1159,3 +1175,3 @@ let values = [];

}
result = proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString;
result = !!(proto && typeof proto === FUNCTION && _fnToString[CALL](proto) === _objCtrFnString);
}

@@ -1206,9 +1222,11 @@ }

let isPlain = false;
let isPrim = false;
if (value && theType === OBJECT) {
isPlain = isPlainObject(value);
let isPrim = value === NULL_VALUE;
if (!isPrim) {
if (value && theType === OBJECT) {
isPlain = isPlainObject(value);
}
else {
isPrim = isPrimitiveType(theType);
}
}
else {
isPrim = value === NULL_VALUE || isPrimitiveType(theType);
}
let details = {

@@ -1344,3 +1362,5 @@ type: theType,

!_globalLazyTestHooks && _initTestHooks();
(!_perf || _globalLazyTestHooks.lzy) && (_perf = createCachedValue(safe((getInst), ["performance"]).v));
if (!_perf || _globalLazyTestHooks.lzy) {
_perf = createCachedValue(safe((getInst), ["performance"]).v);
}
return _perf.v;

@@ -1479,3 +1499,5 @@ }

function _next() {
isDone = isDone || (ctx.n ? ctx.n(arguments) : true);
if (!isDone) {
isDone = (ctx.n ? ctx.n(arguments) : true);
}
let result = {

@@ -1543,3 +1565,6 @@ done: isDone

}
let theStep = step || ((start <= end) ? 1 : -1);
let theStep = step;
if (!theStep) {
theStep = (start <= end) ? 1 : -1;
}
function _value() {

@@ -1549,9 +1574,3 @@ return theValue;

function _getNext() {
let isDone = false;
if (theStep > 0) {
isDone = nextValue > end;
}
else {
isDone = nextValue < end;
}
let isDone = (theStep > 0) ? (nextValue > end) : (nextValue < end);
if (!isDone) {

@@ -1563,7 +1582,5 @@ theValue = nextValue;

}
let ctx = {
return createIterator(objDefine({
n: _getNext
};
objDefine(ctx, "v", { g: _value });
return createIterator(ctx);
}, "v", { g: _value }));
}

@@ -1573,3 +1590,3 @@

function polyStrSymSplit(value, splitter, limit) {
let splitFn = splitter && splitter[getKnownSymbol(9 )];
let splitFn = splitter ? splitter[getKnownSymbol(9 )] : UNDEF_VALUE;
return splitFn ? splitFn(value, limit) : [value];

@@ -1579,3 +1596,3 @@ }

const strSplit = ( /*#__PURE__*/_unwrapFunction("split", StrProto));
const strSymSplit = ( /*#__PURE__*/_unwrapFunctionWithPoly("split", StrProto, !hasSymbol() ? polyStrSymSplit : null));
const strSymSplit = ( /*#__PURE__*/_unwrapFunctionWithPoly("split", StrProto, !hasSymbol() ? polyStrSymSplit : NULL_VALUE));

@@ -1643,3 +1660,3 @@ /*#__NO_SIDE_EFFECTS__*/

let searchValue = isString(searchString) ? searchString : asString(searchString);
let end = !isUndefined(length) && length < value[LENGTH] ? length : value[LENGTH];
let end = (!isUndefined(length) && length < value[LENGTH]) ? length : value[LENGTH];
return strSubstring(value, end - searchValue[LENGTH], end) === searchValue;

@@ -1646,0 +1663,0 @@ }

{
"name": "@nevware21/ts-utils",
"description": "Common JavaScript/TypeScript helper functions for better minification",
"version": "0.11.3",
"version": "0.11.4",
"homepage": "https://github.com/nevware21/ts-utils",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -83,3 +83,3 @@ <h1 align="center">@nevware21/ts-utils</h1>

> ```json
> "@nevware21/ts-utils": ">= 0.11.3 < 2.x"
> "@nevware21/ts-utils": ">= 0.11.4 < 2.x"
> ```

@@ -86,0 +86,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc