UNPKG

@vtj/utils

Version:

VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。

7 lines 201 kB
(function(T,W){typeof exports=="object"&&typeof module<"u"?W(exports):typeof define=="function"&&define.amd?define(["exports"],W):(T=typeof globalThis<"u"?globalThis:T||self,W(T.VtjUtils={}))})(this,(function(T){"use strict";var Wv=Object.defineProperty;var fe=(T,W)=>(W=Symbol[T])?W:Symbol.for("Symbol."+T),Jv=T=>{throw TypeError(T)};var Yv=(T,W,et)=>W in T?Wv(T,W,{enumerable:!0,configurable:!0,writable:!0,value:et}):T[W]=et;var wt=(T,W,et)=>Yv(T,typeof W!="symbol"?W+"":W,et);var Wt=function(T,W){this[0]=T,this[1]=W},An=(T,W,et)=>{var dt=(st,G,yt,rt)=>{try{var le=et[st](G),$e=(G=le.value)instanceof Wt,pr=le.done;Promise.resolve($e?G[0]:G).then(pt=>$e?dt(st==="return"?st:"next",G[1]?{done:pt.done,value:pt.value}:pt,yt,rt):yt({value:pt,done:pr})).catch(pt=>dt("throw",pt,yt,rt))}catch(pt){rt(pt)}},it=st=>X[st]=G=>new Promise((yt,rt)=>dt(st,G,yt,rt)),X={};return et=et.apply(T,W),X[fe("asyncIterator")]=()=>X,it("next"),it("throw"),it("return"),X},Rn=T=>{var W=T[fe("asyncIterator")],et=!1,dt,it={};return W==null?(W=T[fe("iterator")](),dt=X=>it[X]=st=>W[X](st)):(W=W.call(T),dt=X=>it[X]=st=>{if(et){if(et=!1,X==="throw")throw st;return st}return et=!0,{done:!1,value:new Wt(new Promise(G=>{var yt=W[X](st);yt instanceof Object||Jv("Object expected"),G(yt)}),1)}}),it[fe("iterator")]=()=>it,dt("next"),"throw"in W?dt("throw"):it.throw=X=>{throw X},"return"in W&&dt("return"),it},ca=(T,W,et)=>(W=T[fe("asyncIterator")])?W.call(T):(T=T[fe("iterator")](),W={},et=(dt,it)=>(it=T[dt])&&(W[dt]=X=>new Promise((st,G,yt)=>(X=it.call(T,X),yt=X.done,Promise.resolve(X.value).then(rt=>st({value:rt,done:yt}),G)))),et("next"),et("return"),W);(function(){if(typeof window>"u"||typeof EventTarget>"u")return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,r,n){typeof n!="boolean"&&(n=n||{},n.passive=!1),e.call(this,t,r,n)}})();/**! * Copyright (c) 2026, VTJ.PRO All rights reserved. * @name @vtj/utils * @author CHC chenhuachun1549@dingtalk.com * @version 0.14.0 * @license <a href="https://vtj.pro/license.html">MIT License</a> */const W="0.14.0";var et={ENV_TYPE:"local",NODE_ENV:"production"},dt=typeof global=="object"&&global&&global.Object===Object&&global;const it=dt;var X=typeof self=="object"&&self&&self.Object===Object&&self,st=it||X||Function("return this")();const G=st;var yt=G.Symbol;const rt=yt;var le=Object.prototype,$e=le.hasOwnProperty,pr=le.toString,pt=rt?rt.toStringTag:void 0;function la(e){var t=$e.call(e,pt),r=e[pt];try{e[pt]=void 0;var n=!0}catch(s){}var i=pr.call(e);return n&&(t?e[pt]=r:delete e[pt]),i}var ha=Object.prototype,da=ha.toString;function pa(e){return da.call(e)}var ga="[object Null]",va="[object Undefined]",On=rt?rt.toStringTag:void 0;function bt(e){return e==null?e===void 0?va:ga:On&&On in Object(e)?la(e):pa(e)}function ot(e){return e!=null&&typeof e=="object"}var ma="[object Symbol]";function he(e){return typeof e=="symbol"||ot(e)&&bt(e)==ma}function Dn(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var ya=Array.isArray;const ct=ya;var Cn=rt?rt.prototype:void 0,xn=Cn?Cn.toString:void 0;function $n(e){if(typeof e=="string")return e;if(ct(e))return Dn(e,$n)+"";if(he(e))return xn?xn.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var ba=/\s/;function wa(e){for(var t=e.length;t--&&ba.test(e.charAt(t)););return t}var Sa=/^\s+/;function Ta(e){return e&&e.slice(0,wa(e)+1).replace(Sa,"")}function at(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Bn=NaN,_a=/^[-+]0x[0-9a-f]+$/i,Ea=/^0b[01]+$/i,Aa=/^0o[0-7]+$/i,Ra=parseInt;function Pn(e){if(typeof e=="number")return e;if(he(e))return Bn;if(at(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=at(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Ta(e);var r=Ea.test(e);return r||Aa.test(e)?Ra(e.slice(2),r?2:8):_a.test(e)?Bn:+e}function gr(e){return e}var Oa="[object AsyncFunction]",Da="[object Function]",Ca="[object GeneratorFunction]",xa="[object Proxy]";function Be(e){if(!at(e))return!1;var t=bt(e);return t==Da||t==Ca||t==Oa||t==xa}var $a=G["__core-js_shared__"];const vr=$a;var Mn=(function(){var e=/[^.]+$/.exec(vr&&vr.keys&&vr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Ba(e){return!!Mn&&Mn in e}var Pa=Function.prototype,Ma=Pa.toString;function It(e){if(e!=null){try{return Ma.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Na=/[\\^$.*+?()[\]{}|]/g,Ia=/^\[object .+?Constructor\]$/,Fa=Function.prototype,La=Object.prototype,ja=Fa.toString,Ua=La.hasOwnProperty,Ha=RegExp("^"+ja.call(Ua).replace(Na,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ka(e){if(!at(e)||Ba(e))return!1;var t=Be(e)?Ha:Ia;return t.test(It(e))}function Va(e,t){return e==null?void 0:e[t]}function Ft(e,t){var r=Va(e,t);return ka(r)?r:void 0}var qa=Ft(G,"WeakMap");const mr=qa;var Nn=Object.create,za=(function(){function e(){}return function(t){if(!at(t))return{};if(Nn)return Nn(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();const Ka=za;function In(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Wa(){}function Ja(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}var Ya=800,Ga=16,Za=Date.now;function Qa(e){var t=0,r=0;return function(){var n=Za(),i=Ga-(n-r);if(r=n,i>0){if(++t>=Ya)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Xa(e){return function(){return e}}var tu=(function(){try{var e=Ft(Object,"defineProperty");return e({},"",{}),e}catch(t){}})();const Pe=tu;var eu=Pe?function(e,t){return Pe(e,"toString",{configurable:!0,enumerable:!1,value:Xa(t),writable:!0})}:gr,ru=Qa(eu);const nu=ru;function iu(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var su=9007199254740991,ou=/^(?:0|[1-9]\d*)$/;function Me(e,t){var r=typeof e;return t=t==null?su:t,!!t&&(r=="number"||r!="symbol"&&ou.test(e))&&e>-1&&e%1==0&&e<t}function Ne(e,t,r){t=="__proto__"&&Pe?Pe(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function Jt(e,t){return e===t||e!==e&&t!==t}var au=Object.prototype,uu=au.hasOwnProperty;function yr(e,t,r){var n=e[t];(!(uu.call(e,t)&&Jt(n,r))||r===void 0&&!(t in e))&&Ne(e,t,r)}function Fn(e,t,r,n){var i=!r;r||(r={});for(var s=-1,o=t.length;++s<o;){var u=t[s],f=n?n(r[u],e[u],u,r,e):void 0;f===void 0&&(f=e[u]),i?Ne(r,u,f):yr(r,u,f)}return r}var Ln=Math.max;function cu(e,t,r){return t=Ln(t===void 0?e.length-1:t,0),function(){for(var n=arguments,i=-1,s=Ln(n.length-t,0),o=Array(s);++i<s;)o[i]=n[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=n[i];return u[t]=r(o),In(e,this,u)}}function jn(e,t){return nu(cu(e,t,gr),e+"")}var fu=9007199254740991;function br(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=fu}function de(e){return e!=null&&br(e.length)&&!Be(e)}function Un(e,t,r){if(!at(r))return!1;var n=typeof t;return(n=="number"?de(r)&&Me(t,r.length):n=="string"&&t in r)?Jt(r[t],e):!1}function Hn(e){return jn(function(t,r){var n=-1,i=r.length,s=i>1?r[i-1]:void 0,o=i>2?r[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,o&&Un(r[0],r[1],o)&&(s=i<3?void 0:s,i=1),t=Object(t);++n<i;){var u=r[n];u&&e(t,u,n,s)}return t})}var lu=Object.prototype;function wr(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||lu;return e===r}function hu(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var du="[object Arguments]";function kn(e){return ot(e)&&bt(e)==du}var Vn=Object.prototype,pu=Vn.hasOwnProperty,gu=Vn.propertyIsEnumerable,vu=kn((function(){return arguments})())?kn:function(e){return ot(e)&&pu.call(e,"callee")&&!gu.call(e,"callee")};const Ie=vu;function mu(){return!1}var qn=typeof T=="object"&&T&&!T.nodeType&&T,zn=qn&&typeof module=="object"&&module&&!module.nodeType&&module,yu=zn&&zn.exports===qn,Kn=yu?G.Buffer:void 0,bu=Kn?Kn.isBuffer:void 0,wu=bu||mu;const Yt=wu;var Su="[object Arguments]",Tu="[object Array]",_u="[object Boolean]",Eu="[object Date]",Au="[object Error]",Ru="[object Function]",Ou="[object Map]",Du="[object Number]",Cu="[object Object]",xu="[object RegExp]",$u="[object Set]",Bu="[object String]",Pu="[object WeakMap]",Mu="[object ArrayBuffer]",Nu="[object DataView]",Iu="[object Float32Array]",Fu="[object Float64Array]",Lu="[object Int8Array]",ju="[object Int16Array]",Uu="[object Int32Array]",Hu="[object Uint8Array]",ku="[object Uint8ClampedArray]",Vu="[object Uint16Array]",qu="[object Uint32Array]",Y={};Y[Iu]=Y[Fu]=Y[Lu]=Y[ju]=Y[Uu]=Y[Hu]=Y[ku]=Y[Vu]=Y[qu]=!0,Y[Su]=Y[Tu]=Y[Mu]=Y[_u]=Y[Nu]=Y[Eu]=Y[Au]=Y[Ru]=Y[Ou]=Y[Du]=Y[Cu]=Y[xu]=Y[$u]=Y[Bu]=Y[Pu]=!1;function zu(e){return ot(e)&&br(e.length)&&!!Y[bt(e)]}function pe(e){return function(t){return e(t)}}var Wn=typeof T=="object"&&T&&!T.nodeType&&T,ge=Wn&&typeof module=="object"&&module&&!module.nodeType&&module,Ku=ge&&ge.exports===Wn,Sr=Ku&&it.process,Wu=(function(){try{var e=ge&&ge.require&&ge.require("util").types;return e||Sr&&Sr.binding&&Sr.binding("util")}catch(t){}})();const At=Wu;var Jn=At&&At.isTypedArray,Ju=Jn?pe(Jn):zu;const Tr=Ju;var Yu=Object.prototype,Gu=Yu.hasOwnProperty;function Yn(e,t){var r=ct(e),n=!r&&Ie(e),i=!r&&!n&&Yt(e),s=!r&&!n&&!i&&Tr(e),o=r||n||i||s,u=o?hu(e.length,String):[],f=u.length;for(var a in e)(t||Gu.call(e,a))&&!(o&&(a=="length"||i&&(a=="offset"||a=="parent")||s&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||Me(a,f)))&&u.push(a);return u}function Gn(e,t){return function(r){return e(t(r))}}var Zu=Gn(Object.keys,Object);const Qu=Zu;var Xu=Object.prototype,tc=Xu.hasOwnProperty;function ec(e){if(!wr(e))return Qu(e);var t=[];for(var r in Object(e))tc.call(e,r)&&r!="constructor"&&t.push(r);return t}function Fe(e){return de(e)?Yn(e):ec(e)}function rc(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var nc=Object.prototype,ic=nc.hasOwnProperty;function sc(e){if(!at(e))return rc(e);var t=wr(e),r=[];for(var n in e)n=="constructor"&&(t||!ic.call(e,n))||r.push(n);return r}function _r(e){return de(e)?Yn(e,!0):sc(e)}var oc=Hn(function(e,t,r,n){Fn(t,_r(t),e,n)});const Zn=oc;var ac=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uc=/^\w*$/;function Er(e,t){if(ct(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||he(e)?!0:uc.test(e)||!ac.test(e)||t!=null&&e in Object(t)}var cc=Ft(Object,"create");const ve=cc;function fc(){this.__data__=ve?ve(null):{},this.size=0}function lc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var hc="__lodash_hash_undefined__",dc=Object.prototype,pc=dc.hasOwnProperty;function gc(e){var t=this.__data__;if(ve){var r=t[e];return r===hc?void 0:r}return pc.call(t,e)?t[e]:void 0}var vc=Object.prototype,mc=vc.hasOwnProperty;function yc(e){var t=this.__data__;return ve?t[e]!==void 0:mc.call(t,e)}var bc="__lodash_hash_undefined__";function wc(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ve&&t===void 0?bc:t,this}function Lt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Lt.prototype.clear=fc,Lt.prototype.delete=lc,Lt.prototype.get=gc,Lt.prototype.has=yc,Lt.prototype.set=wc;function Sc(){this.__data__=[],this.size=0}function Le(e,t){for(var r=e.length;r--;)if(Jt(e[r][0],t))return r;return-1}var Tc=Array.prototype,_c=Tc.splice;function Ec(e){var t=this.__data__,r=Le(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():_c.call(t,r,1),--this.size,!0}function Ac(e){var t=this.__data__,r=Le(t,e);return r<0?void 0:t[r][1]}function Rc(e){return Le(this.__data__,e)>-1}function Oc(e,t){var r=this.__data__,n=Le(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Dt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Dt.prototype.clear=Sc,Dt.prototype.delete=Ec,Dt.prototype.get=Ac,Dt.prototype.has=Rc,Dt.prototype.set=Oc;var Dc=Ft(G,"Map");const me=Dc;function Cc(){this.size=0,this.__data__={hash:new Lt,map:new(me||Dt),string:new Lt}}function xc(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function je(e,t){var r=e.__data__;return xc(t)?r[typeof t=="string"?"string":"hash"]:r.map}function $c(e){var t=je(this,e).delete(e);return this.size-=t?1:0,t}function Bc(e){return je(this,e).get(e)}function Pc(e){return je(this,e).has(e)}function Mc(e,t){var r=je(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function Ct(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Ct.prototype.clear=Cc,Ct.prototype.delete=$c,Ct.prototype.get=Bc,Ct.prototype.has=Pc,Ct.prototype.set=Mc;var Nc="Expected a function";function Ar(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Nc);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],s=r.cache;if(s.has(i))return s.get(i);var o=e.apply(this,n);return r.cache=s.set(i,o)||s,o};return r.cache=new(Ar.Cache||Ct),r}Ar.Cache=Ct;var Ic=500;function Fc(e){var t=Ar(e,function(n){return r.size===Ic&&r.clear(),n}),r=t.cache;return t}var Lc=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,jc=/\\(\\)?/g,Uc=Fc(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Lc,function(r,n,i,s){t.push(i?s.replace(jc,"$1"):n||r)}),t});const Hc=Uc;function jt(e){return e==null?"":$n(e)}function Rr(e,t){return ct(e)?e:Er(e,t)?[e]:Hc(jt(e))}function ye(e){if(typeof e=="string"||he(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Qn(e,t){t=Rr(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[ye(t[r++])];return r&&r==n?e:void 0}function Xn(e,t,r){var n=e==null?void 0:Qn(e,t);return n===void 0?r:n}function kc(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var Vc=Gn(Object.getPrototypeOf,Object);const ti=Vc;var qc="[object Object]",zc=Function.prototype,Kc=Object.prototype,ei=zc.toString,Wc=Kc.hasOwnProperty,Jc=ei.call(Object);function Or(e){if(!ot(e)||bt(e)!=qc)return!1;var t=ti(e);if(t===null)return!0;var r=Wc.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&ei.call(r)==Jc}var Yc="[object DOMException]",Gc="[object Error]";function ri(e){if(!ot(e))return!1;var t=bt(e);return t==Gc||t==Yc||typeof e.message=="string"&&typeof e.name=="string"&&!Or(e)}var Zc=jn(function(e,t){try{return In(e,void 0,t)}catch(r){return ri(r)?r:new Error(r)}});const Qc=Zc;function Xc(e,t,r){var n=-1,i=e.length;t<0&&(t=-t>i?0:i+t),r=r>i?i:r,r<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(i);++n<i;)s[n]=e[n+t];return s}function tf(e,t,r){var n=e.length;return r=r===void 0?n:r,!t&&r>=n?e:Xc(e,t,r)}var ef="\\ud800-\\udfff",rf="\\u0300-\\u036f",nf="\\ufe20-\\ufe2f",sf="\\u20d0-\\u20ff",of=rf+nf+sf,af="\\ufe0e\\ufe0f",uf="\\u200d",cf=RegExp("["+uf+ef+of+af+"]");function ni(e){return cf.test(e)}function ff(e){return e.split("")}var ii="\\ud800-\\udfff",lf="\\u0300-\\u036f",hf="\\ufe20-\\ufe2f",df="\\u20d0-\\u20ff",pf=lf+hf+df,gf="\\ufe0e\\ufe0f",vf="["+ii+"]",Dr="["+pf+"]",Cr="\\ud83c[\\udffb-\\udfff]",mf="(?:"+Dr+"|"+Cr+")",si="[^"+ii+"]",oi="(?:\\ud83c[\\udde6-\\uddff]){2}",ai="[\\ud800-\\udbff][\\udc00-\\udfff]",yf="\\u200d",ui=mf+"?",ci="["+gf+"]?",bf="(?:"+yf+"(?:"+[si,oi,ai].join("|")+")"+ci+ui+")*",wf=ci+ui+bf,Sf="(?:"+[si+Dr+"?",Dr,oi,ai,vf].join("|")+")",Tf=RegExp(Cr+"(?="+Cr+")|"+Sf+wf,"g");function _f(e){return e.match(Tf)||[]}function Ef(e){return ni(e)?_f(e):ff(e)}function fi(e){return function(t){t=jt(t);var r=ni(t)?Ef(t):void 0,n=r?r[0]:t.charAt(0),i=r?tf(r,1).join(""):t.slice(1);return n[e]()+i}}var Af=fi("toUpperCase");const xr=Af;function Rf(e){return xr(jt(e).toLowerCase())}function Of(e,t,r,n){for(var i=-1,s=e==null?0:e.length;++i<s;)r=t(r,e[i],i,e);return r}function li(e){return function(t){return e==null?void 0:e[t]}}var Df={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Cf=li(Df);const xf=Cf;var $f=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Bf="\\u0300-\\u036f",Pf="\\ufe20-\\ufe2f",Mf="\\u20d0-\\u20ff",Nf=Bf+Pf+Mf,If="["+Nf+"]",Ff=RegExp(If,"g");function Lf(e){return e=jt(e),e&&e.replace($f,xf).replace(Ff,"")}var jf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Uf(e){return e.match(jf)||[]}var Hf=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function kf(e){return Hf.test(e)}var hi="\\ud800-\\udfff",Vf="\\u0300-\\u036f",qf="\\ufe20-\\ufe2f",zf="\\u20d0-\\u20ff",Kf=Vf+qf+zf,di="\\u2700-\\u27bf",pi="a-z\\xdf-\\xf6\\xf8-\\xff",Wf="\\xac\\xb1\\xd7\\xf7",Jf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Yf="\\u2000-\\u206f",Gf=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",gi="A-Z\\xc0-\\xd6\\xd8-\\xde",Zf="\\ufe0e\\ufe0f",vi=Wf+Jf+Yf+Gf,mi="['’]",yi="["+vi+"]",Qf="["+Kf+"]",bi="\\d+",Xf="["+di+"]",wi="["+pi+"]",Si="[^"+hi+vi+bi+di+pi+gi+"]",tl="\\ud83c[\\udffb-\\udfff]",el="(?:"+Qf+"|"+tl+")",rl="[^"+hi+"]",Ti="(?:\\ud83c[\\udde6-\\uddff]){2}",_i="[\\ud800-\\udbff][\\udc00-\\udfff]",Gt="["+gi+"]",nl="\\u200d",Ei="(?:"+wi+"|"+Si+")",il="(?:"+Gt+"|"+Si+")",Ai="(?:"+mi+"(?:d|ll|m|re|s|t|ve))?",Ri="(?:"+mi+"(?:D|LL|M|RE|S|T|VE))?",Oi=el+"?",Di="["+Zf+"]?",sl="(?:"+nl+"(?:"+[rl,Ti,_i].join("|")+")"+Di+Oi+")*",ol="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",al="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ul=Di+Oi+sl,cl="(?:"+[Xf,Ti,_i].join("|")+")"+ul,fl=RegExp([Gt+"?"+wi+"+"+Ai+"(?="+[yi,Gt,"$"].join("|")+")",il+"+"+Ri+"(?="+[yi,Gt+Ei,"$"].join("|")+")",Gt+"?"+Ei+"+"+Ai,Gt+"+"+Ri,al,ol,bi,cl].join("|"),"g");function ll(e){return e.match(fl)||[]}function hl(e,t,r){return e=jt(e),t=t,t===void 0?kf(e)?ll(e):Uf(e):e.match(t)||[]}var dl="['’]",pl=RegExp(dl,"g");function $r(e){return function(t){return Of(hl(Lf(t).replace(pl,"")),e,"")}}var gl=$r(function(e,t,r){return t=t.toLowerCase(),e+(r?Rf(t):t)});const Ci=gl;function vl(){this.__data__=new Dt,this.size=0}function ml(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function yl(e){return this.__data__.get(e)}function bl(e){return this.__data__.has(e)}var wl=200;function Sl(e,t){var r=this.__data__;if(r instanceof Dt){var n=r.__data__;if(!me||n.length<wl-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Ct(n)}return r.set(e,t),this.size=r.size,this}function Tt(e){var t=this.__data__=new Dt(e);this.size=t.size}Tt.prototype.clear=vl,Tt.prototype.delete=ml,Tt.prototype.get=yl,Tt.prototype.has=bl,Tt.prototype.set=Sl;var xi=typeof T=="object"&&T&&!T.nodeType&&T,$i=xi&&typeof module=="object"&&module&&!module.nodeType&&module,Tl=$i&&$i.exports===xi,Bi=Tl?G.Buffer:void 0,Pi=Bi?Bi.allocUnsafe:void 0;function Mi(e,t){if(t)return e.slice();var r=e.length,n=Pi?Pi(r):new e.constructor(r);return e.copy(n),n}function _l(e,t){for(var r=-1,n=e==null?0:e.length,i=0,s=[];++r<n;){var o=e[r];t(o,r,e)&&(s[i++]=o)}return s}function El(){return[]}var Al=Object.prototype,Rl=Al.propertyIsEnumerable,Ni=Object.getOwnPropertySymbols,Ol=Ni?function(e){return e==null?[]:(e=Object(e),_l(Ni(e),function(t){return Rl.call(e,t)}))}:El;const Dl=Ol;function Cl(e,t,r){var n=t(e);return ct(e)?n:kc(n,r(e))}function Br(e){return Cl(e,Fe,Dl)}var xl=Ft(G,"DataView");const Pr=xl;var $l=Ft(G,"Promise");const Mr=$l;var Bl=Ft(G,"Set");const Nr=Bl;var Ii="[object Map]",Pl="[object Object]",Fi="[object Promise]",Li="[object Set]",ji="[object WeakMap]",Ui="[object DataView]",Ml=It(Pr),Nl=It(me),Il=It(Mr),Fl=It(Nr),Ll=It(mr),Ut=bt;(Pr&&Ut(new Pr(new ArrayBuffer(1)))!=Ui||me&&Ut(new me)!=Ii||Mr&&Ut(Mr.resolve())!=Fi||Nr&&Ut(new Nr)!=Li||mr&&Ut(new mr)!=ji)&&(Ut=function(e){var t=bt(e),r=t==Pl?e.constructor:void 0,n=r?It(r):"";if(n)switch(n){case Ml:return Ui;case Nl:return Ii;case Il:return Fi;case Fl:return Li;case Ll:return ji}return t});const be=Ut;var jl=Object.prototype,Ul=jl.hasOwnProperty;function Hl(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&Ul.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var kl=G.Uint8Array;const Ue=kl;function Ir(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function Vl(e,t){var r=Ir(e.buffer);return new e.constructor(r,e.byteOffset,e.byteLength)}var ql=/\w*$/;function zl(e){var t=new e.constructor(e.source,ql.exec(e));return t.lastIndex=e.lastIndex,t}var Hi=rt?rt.prototype:void 0,ki=Hi?Hi.valueOf:void 0;function Kl(e){return ki?Object(ki.call(e)):{}}function Vi(e,t){var r=t?Ir(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var Wl="[object Boolean]",Jl="[object Date]",Yl="[object Map]",Gl="[object Number]",Zl="[object RegExp]",Ql="[object Set]",Xl="[object String]",th="[object Symbol]",eh="[object ArrayBuffer]",rh="[object DataView]",nh="[object Float32Array]",ih="[object Float64Array]",sh="[object Int8Array]",oh="[object Int16Array]",ah="[object Int32Array]",uh="[object Uint8Array]",ch="[object Uint8ClampedArray]",fh="[object Uint16Array]",lh="[object Uint32Array]";function hh(e,t,r){var n=e.constructor;switch(t){case eh:return Ir(e);case Wl:case Jl:return new n(+e);case rh:return Vl(e);case nh:case ih:case sh:case oh:case ah:case uh:case ch:case fh:case lh:return Vi(e,r);case Yl:return new n;case Gl:case Xl:return new n(e);case Zl:return zl(e);case Ql:return new n;case th:return Kl(e)}}function qi(e){return typeof e.constructor=="function"&&!wr(e)?Ka(ti(e)):{}}var dh="[object Map]";function ph(e){return ot(e)&&be(e)==dh}var zi=At&&At.isMap,gh=zi?pe(zi):ph;const vh=gh;var mh="[object Set]";function yh(e){return ot(e)&&be(e)==mh}var Ki=At&&At.isSet,bh=Ki?pe(Ki):yh;const wh=bh;var Sh=1,Wi="[object Arguments]",Th="[object Array]",_h="[object Boolean]",Eh="[object Date]",Ah="[object Error]",Ji="[object Function]",Rh="[object GeneratorFunction]",Oh="[object Map]",Dh="[object Number]",Yi="[object Object]",Ch="[object RegExp]",xh="[object Set]",$h="[object String]",Bh="[object Symbol]",Ph="[object WeakMap]",Mh="[object ArrayBuffer]",Nh="[object DataView]",Ih="[object Float32Array]",Fh="[object Float64Array]",Lh="[object Int8Array]",jh="[object Int16Array]",Uh="[object Int32Array]",Hh="[object Uint8Array]",kh="[object Uint8ClampedArray]",Vh="[object Uint16Array]",qh="[object Uint32Array]",J={};J[Wi]=J[Th]=J[Mh]=J[Nh]=J[_h]=J[Eh]=J[Ih]=J[Fh]=J[Lh]=J[jh]=J[Uh]=J[Oh]=J[Dh]=J[Yi]=J[Ch]=J[xh]=J[$h]=J[Bh]=J[Hh]=J[kh]=J[Vh]=J[qh]=!0,J[Ah]=J[Ji]=J[Ph]=!1;function He(e,t,r,n,i,s){var o,u=t&Sh;if(o!==void 0)return o;if(!at(e))return e;var f=ct(e);if(f)o=Hl(e);else{var a=be(e),c=a==Ji||a==Rh;if(Yt(e))return Mi(e,u);if(a==Yi||a==Wi||c&&!i)o=c?{}:qi(e);else{if(!J[a])return i?e:{};o=hh(e,a,u)}}s||(s=new Tt);var l=s.get(e);if(l)return l;s.set(e,o),wh(e)?e.forEach(function(d){o.add(He(d,t,r,d,e,s))}):vh(e)&&e.forEach(function(d,g){o.set(g,He(d,t,r,g,e,s))});var h=Br,p=f?void 0:h(e);return iu(p||e,function(d,g){p&&(g=d,d=e[g]),yr(o,g,He(d,t,r,g,e,s))}),o}var zh=1,Kh=4;function Wh(e){return He(e,zh|Kh)}var Jh="__lodash_hash_undefined__";function Yh(e){return this.__data__.set(e,Jh),this}function Gh(e){return this.__data__.has(e)}function ke(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new Ct;++t<r;)this.add(e[t])}ke.prototype.add=ke.prototype.push=Yh,ke.prototype.has=Gh;function Zh(e,t){for(var r=-1,n=e==null?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}function Qh(e,t){return e.has(t)}var Xh=1,td=2;function Gi(e,t,r,n,i,s){var o=r&Xh,u=e.length,f=t.length;if(u!=f&&!(o&&f>u))return!1;var a=s.get(e),c=s.get(t);if(a&&c)return a==t&&c==e;var l=-1,h=!0,p=r&td?new ke:void 0;for(s.set(e,t),s.set(t,e);++l<u;){var d=e[l],g=t[l];if(n)var v=o?n(g,d,l,t,e,s):n(d,g,l,e,t,s);if(v!==void 0){if(v)continue;h=!1;break}if(p){if(!Zh(t,function(E,b){if(!Qh(p,b)&&(d===E||i(d,E,r,n,s)))return p.push(b)})){h=!1;break}}else if(!(d===g||i(d,g,r,n,s))){h=!1;break}}return s.delete(e),s.delete(t),h}function ed(e){var t=-1,r=Array(e.size);return e.forEach(function(n,i){r[++t]=[i,n]}),r}function rd(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var nd=1,id=2,sd="[object Boolean]",od="[object Date]",ad="[object Error]",ud="[object Map]",cd="[object Number]",fd="[object RegExp]",ld="[object Set]",hd="[object String]",dd="[object Symbol]",pd="[object ArrayBuffer]",gd="[object DataView]",Zi=rt?rt.prototype:void 0,Fr=Zi?Zi.valueOf:void 0;function vd(e,t,r,n,i,s,o){switch(r){case gd:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case pd:return!(e.byteLength!=t.byteLength||!s(new Ue(e),new Ue(t)));case sd:case od:case cd:return Jt(+e,+t);case ad:return e.name==t.name&&e.message==t.message;case fd:case hd:return e==t+"";case ud:var u=ed;case ld:var f=n&nd;if(u||(u=rd),e.size!=t.size&&!f)return!1;var a=o.get(e);if(a)return a==t;n|=id,o.set(e,t);var c=Gi(u(e),u(t),n,i,s,o);return o.delete(e),c;case dd:if(Fr)return Fr.call(e)==Fr.call(t)}return!1}var md=1,yd=Object.prototype,bd=yd.hasOwnProperty;function wd(e,t,r,n,i,s){var o=r&md,u=Br(e),f=u.length,a=Br(t),c=a.length;if(f!=c&&!o)return!1;for(var l=f;l--;){var h=u[l];if(!(o?h in t:bd.call(t,h)))return!1}var p=s.get(e),d=s.get(t);if(p&&d)return p==t&&d==e;var g=!0;s.set(e,t),s.set(t,e);for(var v=o;++l<f;){h=u[l];var E=e[h],b=t[h];if(n)var y=o?n(b,E,h,t,e,s):n(E,b,h,e,t,s);if(!(y===void 0?E===b||i(E,b,r,n,s):y)){g=!1;break}v||(v=h=="constructor")}if(g&&!v){var w=e.constructor,_=t.constructor;w!=_&&"constructor"in e&&"constructor"in t&&!(typeof w=="function"&&w instanceof w&&typeof _=="function"&&_ instanceof _)&&(g=!1)}return s.delete(e),s.delete(t),g}var Sd=1,Qi="[object Arguments]",Xi="[object Array]",Ve="[object Object]",Td=Object.prototype,ts=Td.hasOwnProperty;function _d(e,t,r,n,i,s){var o=ct(e),u=ct(t),f=o?Xi:be(e),a=u?Xi:be(t);f=f==Qi?Ve:f,a=a==Qi?Ve:a;var c=f==Ve,l=a==Ve,h=f==a;if(h&&Yt(e)){if(!Yt(t))return!1;o=!0,c=!1}if(h&&!c)return s||(s=new Tt),o||Tr(e)?Gi(e,t,r,n,i,s):vd(e,t,f,r,n,i,s);if(!(r&Sd)){var p=c&&ts.call(e,"__wrapped__"),d=l&&ts.call(t,"__wrapped__");if(p||d){var g=p?e.value():e,v=d?t.value():t;return s||(s=new Tt),i(g,v,r,n,s)}}return h?(s||(s=new Tt),wd(e,t,r,n,i,s)):!1}function qe(e,t,r,n,i){return e===t?!0:e==null||t==null||!ot(e)&&!ot(t)?e!==e&&t!==t:_d(e,t,r,n,qe,i)}var Ed=1,Ad=2;function Rd(e,t,r,n){var i=r.length,s=i;if(e==null)return!s;for(e=Object(e);i--;){var o=r[i];if(o[2]?o[1]!==e[o[0]]:!(o[0]in e))return!1}for(;++i<s;){o=r[i];var u=o[0],f=e[u],a=o[1];if(o[2]){if(f===void 0&&!(u in e))return!1}else{var c=new Tt,l;if(!(l===void 0?qe(a,f,Ed|Ad,n,c):l))return!1}}return!0}function es(e){return e===e&&!at(e)}function Od(e){for(var t=Fe(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,es(i)]}return t}function rs(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==void 0||e in Object(r))}}function Dd(e){var t=Od(e);return t.length==1&&t[0][2]?rs(t[0][0],t[0][1]):function(r){return r===e||Rd(r,e,t)}}function Cd(e,t){return e!=null&&t in Object(e)}function xd(e,t,r){t=Rr(t,e);for(var n=-1,i=t.length,s=!1;++n<i;){var o=ye(t[n]);if(!(s=e!=null&&r(e,o)))break;e=e[o]}return s||++n!=i?s:(i=e==null?0:e.length,!!i&&br(i)&&Me(o,i)&&(ct(e)||Ie(e)))}function $d(e,t){return e!=null&&xd(e,t,Cd)}var Bd=1,Pd=2;function Md(e,t){return Er(e)&&es(t)?rs(ye(e),t):function(r){var n=Xn(r,e);return n===void 0&&n===t?$d(r,e):qe(t,n,Bd|Pd)}}function Nd(e){return function(t){return t==null?void 0:t[e]}}function Id(e){return function(t){return Qn(t,e)}}function Fd(e){return Er(e)?Nd(ye(e)):Id(e)}function Ld(e){return typeof e=="function"?e:e==null?gr:typeof e=="object"?ct(e)?Md(e[0],e[1]):Dd(e):Fd(e)}function jd(e,t,r,n){for(var i=-1,s=e==null?0:e.length;++i<s;){var o=e[i];t(n,o,r(o),e)}return n}function Ud(e){return function(t,r,n){for(var i=-1,s=Object(t),o=n(t),u=o.length;u--;){var f=o[++i];if(r(s[f],f,s)===!1)break}return t}}var Hd=Ud();const ns=Hd;function kd(e,t){return e&&ns(e,t,Fe)}function Vd(e,t){return function(r,n){if(r==null)return r;if(!de(r))return e(r,n);for(var i=r.length,s=-1,o=Object(r);++s<i&&n(o[s],s,o)!==!1;);return r}}var qd=Vd(kd);const zd=qd;function Kd(e,t,r,n){return zd(e,function(i,s,o){t(n,i,r(i),o)}),n}function Wd(e,t){return function(r,n){var i=ct(r)?jd:Kd,s={};return i(r,e,Ld(n),s)}}var Jd=function(){return G.Date.now()};const Lr=Jd;var Yd="Expected a function",Gd=Math.max,Zd=Math.min;function jr(e,t,r){var n,i,s,o,u,f,a=0,c=!1,l=!1,h=!0;if(typeof e!="function")throw new TypeError(Yd);t=Pn(t)||0,at(r)&&(c=!!r.leading,l="maxWait"in r,s=l?Gd(Pn(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h);function p(m){var A=n,C=i;return n=i=void 0,a=m,o=e.apply(C,A),o}function d(m){return a=m,u=setTimeout(E,t),c?p(m):o}function g(m){var A=m-f,C=m-a,U=t-A;return l?Zd(U,s-C):U}function v(m){var A=m-f,C=m-a;return f===void 0||A>=t||A<0||l&&C>=s}function E(){var m=Lr();if(v(m))return b(m);u=setTimeout(E,g(m))}function b(m){return u=void 0,h&&n?p(m):(n=i=void 0,o)}function y(){u!==void 0&&clearTimeout(u),a=0,n=f=i=u=void 0}function w(){return u===void 0?o:b(Lr())}function _(){var m=Lr(),A=v(m);if(n=arguments,i=this,f=m,A){if(u===void 0)return d(f);if(l)return clearTimeout(u),u=setTimeout(E,t),p(f)}return u===void 0&&(u=setTimeout(E,t)),o}return _.cancel=y,_.flush=w,_}function Ur(e,t,r){(r!==void 0&&!Jt(e[t],r)||r===void 0&&!(t in e))&&Ne(e,t,r)}function Qd(e){return ot(e)&&de(e)}function Hr(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Xd(e){return Fn(e,_r(e))}function tp(e,t,r,n,i,s,o){var u=Hr(e,r),f=Hr(t,r),a=o.get(f);if(a){Ur(e,r,a);return}var c=s?s(u,f,r+"",e,t,o):void 0,l=c===void 0;if(l){var h=ct(f),p=!h&&Yt(f),d=!h&&!p&&Tr(f);c=f,h||p||d?ct(u)?c=u:Qd(u)?c=Ja(u):p?(l=!1,c=Mi(f,!0)):d?(l=!1,c=Vi(f,!0)):c=[]:Or(f)||Ie(f)?(c=u,Ie(u)?c=Xd(u):(!at(u)||Be(u))&&(c=qi(f))):l=!1}l&&(o.set(f,c),i(c,f,n,s,o),o.delete(f)),Ur(e,r,c)}function is(e,t,r,n,i){e!==t&&ns(t,function(s,o){if(i||(i=new Tt),at(s))tp(e,t,o,r,is,n,i);else{var u=n?n(Hr(e,o),s,o+"",e,t,i):void 0;u===void 0&&(u=s),Ur(e,o,u)}},_r)}var ep={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},rp=li(ep);const np=rp;var ss=/[&<>"']/g,ip=RegExp(ss.source);function sp(e){return e=jt(e),e&&ip.test(e)?e.replace(ss,np):e}var op=Object.prototype,ap=op.hasOwnProperty,up=Wd(function(e,t,r){ap.call(e,r)?e[r].push(t):Ne(e,r,[t])});const os=up;var cp="[object String]";function fp(e){return typeof e=="string"||!ct(e)&&ot(e)&&bt(e)==cp}function lp(e,t){return Dn(t,function(r){return e[r]})}var hp="[object ArrayBuffer]";function dp(e){return ot(e)&&bt(e)==hp}var as=At&&At.isArrayBuffer,pp=as?pe(as):dp;const gp=pp;var vp="[object Boolean]";function mp(e){return e===!0||e===!1||ot(e)&&bt(e)==vp}var yp="[object Date]";function bp(e){return ot(e)&&bt(e)==yp}var us=At&&At.isDate,wp=us?pe(us):bp;const Sp=wp;function Tp(e,t){return qe(e,t)}var _p="[object Number]";function cs(e){return typeof e=="number"||ot(e)&&bt(e)==_p}function Ep(e){return cs(e)&&e!=+e}function Ap(e){return e===null}function Rp(e){return e===void 0}var Op=$r(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()});const Dp=Op;var Cp=fi("toLowerCase");const xp=Cp;var $p=Hn(function(e,t,r){is(e,t,r)});const Zt=$p;function Bp(e,t,r,n){if(!at(e))return e;t=Rr(t,e);for(var i=-1,s=t.length,o=s-1,u=e;u!=null&&++i<s;){var f=ye(t[i]),a=r;if(f==="__proto__"||f==="constructor"||f==="prototype")return e;if(i!=o){var c=u[f];a=void 0,a===void 0&&(a=at(c)?c:Me(t[i+1])?[]:{})}yr(u,f,a),u=u[f]}return e}function Pp(e,t,r){return e==null?e:Bp(e,t,r)}var Mp=$r(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});const Np=Mp;var fs=Object.prototype,Ip=fs.hasOwnProperty;function ls(e,t,r,n){return e===void 0||Jt(e,fs[r])&&!Ip.call(n,r)?t:e}var Fp={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function Lp(e){return"\\"+Fp[e]}var jp=/<%=([\s\S]+?)%>/g;const hs=jp;var Up=/<%-([\s\S]+?)%>/g;const Hp=Up;var kp=/<%([\s\S]+?)%>/g,Vp={escape:Hp,evaluate:kp,interpolate:hs,variable:"",imports:{_:{escape:sp}}};const ds=Vp;var qp="Invalid `variable` option passed into `_.template`",zp=/\b__p \+= '';/g,Kp=/\b(__p \+=) '' \+/g,Wp=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Jp=/[()=,{}\[\]\/\s]/,Yp=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ze=/($^)/,Gp=/['\n\r\u2028\u2029\\]/g,Zp=Object.prototype,ps=Zp.hasOwnProperty;function gs(e,t,r){var n=ds.imports._.templateSettings||ds;r&&Un(e,t,r)&&(t=void 0),e=jt(e),t=Zn({},t,n,ls);var i=Zn({},t.imports,n.imports,ls),s=Fe(i),o=lp(i,s),u,f,a=0,c=t.interpolate||ze,l="__p += '",h=RegExp((t.escape||ze).source+"|"+c.source+"|"+(c===hs?Yp:ze).source+"|"+(t.evaluate||ze).source+"|$","g"),p=ps.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+"\n":"";e.replace(h,function(v,E,b,y,w,_){return b||(b=y),l+=e.slice(a,_).replace(Gp,Lp),E&&(u=!0,l+="' +\n__e("+E+") +\n'"),w&&(f=!0,l+="';\n"+w+";\n__p += '"),b&&(l+="' +\n((__t = ("+b+")) == null ? '' : __t) +\n'"),a=_+v.length,v}),l+="';\n";var d=ps.call(t,"variable")&&t.variable;if(!d)l="with (obj) {\n"+l+"\n}\n";else if(Jp.test(d))throw new Error(qp);l=(f?l.replace(zp,""):l).replace(Kp,"$1").replace(Wp,"$1;"),l="function("+(d||"obj")+") {\n"+(d?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(f?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+l+"return __p\n}";var g=Qc(function(){return Function(s,p+"return "+l).apply(void 0,o)});if(g.source=l,ri(g))throw g;return g}var Qp="Expected a function";function vs(e,t,r){var n=!0,i=!0;if(typeof e!="function")throw new TypeError(Qp);return at(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),jr(e,t,{leading:n,maxWait:t,trailing:i})}function Xp(e){return xr(Ci(e))}var ft=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Qt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ms={exports:{}};function tg(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var kr={exports:{}},ys;function $t(){return ys||(ys=1,(function(e,t){(function(r,n){e.exports=n()})(ft,function(){var r=r||(function(n,i){var s;if(typeof window<"u"&&window.crypto&&(s=window.crypto),typeof self<"u"&&self.crypto&&(s=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(s=globalThis.crypto),!s&&typeof window<"u"&&window.msCrypto&&(s=window.msCrypto),!s&&typeof ft<"u"&&ft.crypto&&(s=ft.crypto),!s&&typeof tg=="function")try{s=require("crypto")}catch(b){}var o=function(){if(s){if(typeof s.getRandomValues=="function")try{return s.getRandomValues(new Uint32Array(1))[0]}catch(b){}if(typeof s.randomBytes=="function")try{return s.randomBytes(4).readInt32LE()}catch(b){}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||(function(){function b(){}return function(y){var w;return b.prototype=y,w=new b,b.prototype=null,w}})(),f={},a=f.lib={},c=a.Base=(function(){return{extend:function(b){var y=u(this);return b&&y.mixIn(b),(!y.hasOwnProperty("init")||this.init===y.init)&&(y.init=function(){y.$super.init.apply(this,arguments)}),y.init.prototype=y,y.$super=this,y},create:function(){var b=this.extend();return b.init.apply(b,arguments),b},init:function(){},mixIn:function(b){for(var y in b)b.hasOwnProperty(y)&&(this[y]=b[y]);b.hasOwnProperty("toString")&&(this.toString=b.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),l=a.WordArray=c.extend({init:function(b,y){b=this.words=b||[],y!=i?this.sigBytes=y:this.sigBytes=b.length*4},toString:function(b){return(b||p).stringify(this)},concat:function(b){var y=this.words,w=b.words,_=this.sigBytes,m=b.sigBytes;if(this.clamp(),_%4)for(var A=0;A<m;A++){var C=w[A>>>2]>>>24-A%4*8&255;y[_+A>>>2]|=C<<24-(_+A)%4*8}else for(var U=0;U<m;U+=4)y[_+U>>>2]=w[U>>>2];return this.sigBytes+=m,this},clamp:function(){var b=this.words,y=this.sigBytes;b[y>>>2]&=4294967295<<32-y%4*8,b.length=n.ceil(y/4)},clone:function(){var b=c.clone.call(this);return b.words=this.words.slice(0),b},random:function(b){for(var y=[],w=0;w<b;w+=4)y.push(o());return new l.init(y,b)}}),h=f.enc={},p=h.Hex={stringify:function(b){for(var y=b.words,w=b.sigBytes,_=[],m=0;m<w;m++){var A=y[m>>>2]>>>24-m%4*8&255;_.push((A>>>4).toString(16)),_.push((A&15).toString(16))}return _.join("")},parse:function(b){for(var y=b.length,w=[],_=0;_<y;_+=2)w[_>>>3]|=parseInt(b.substr(_,2),16)<<24-_%8*4;return new l.init(w,y/2)}},d=h.Latin1={stringify:function(b){for(var y=b.words,w=b.sigBytes,_=[],m=0;m<w;m++){var A=y[m>>>2]>>>24-m%4*8&255;_.push(String.fromCharCode(A))}return _.join("")},parse:function(b){for(var y=b.length,w=[],_=0;_<y;_++)w[_>>>2]|=(b.charCodeAt(_)&255)<<24-_%4*8;return new l.init(w,y)}},g=h.Utf8={stringify:function(b){try{return decodeURIComponent(escape(d.stringify(b)))}catch(y){throw new Error("Malformed UTF-8 data")}},parse:function(b){return d.parse(unescape(encodeURIComponent(b)))}},v=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(b){typeof b=="string"&&(b=g.parse(b)),this._data.concat(b),this._nDataBytes+=b.sigBytes},_process:function(b){var y,w=this._data,_=w.words,m=w.sigBytes,A=this.blockSize,C=A*4,U=m/C;b?U=n.ceil(U):U=n.max((U|0)-this._minBufferSize,0);var S=U*A,O=n.min(S*4,m);if(S){for(var L=0;L<S;L+=A)this._doProcessBlock(_,L);y=_.splice(0,S),w.sigBytes-=O}return new l.init(y,O)},clone:function(){var b=c.clone.call(this);return b._data=this._data.clone(),b},_minBufferSize:0});a.Hasher=v.extend({cfg:c.extend(),init:function(b){this.cfg=this.cfg.extend(b),this.reset()},reset:function(){v.reset.call(this),this._doReset()},update:function(b){return this._append(b),this._process(),this},finalize:function(b){b&&this._append(b);var y=this._doFinalize();return y},blockSize:16,_createHelper:function(b){return function(y,w){return new b.init(w).finalize(y)}},_createHmacHelper:function(b){return function(y,w){return new E.HMAC.init(b,w).finalize(y)}}});var E=f.algo={};return f})(Math);return r})})(kr)),kr.exports}(function(e,t){(function(r,n){e.exports=n($t())})(ft,function(r){return(function(n){var i=r,s=i.lib,o=s.WordArray,u=s.Hasher,f=i.algo,a=[];(function(){for(var g=0;g<64;g++)a[g]=n.abs(n.sin(g+1))*4294967296|0})();var c=f.MD5=u.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,v){for(var E=0;E<16;E++){var b=v+E,y=g[b];g[b]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360}var w=this._hash.words,_=g[v+0],m=g[v+1],A=g[v+2],C=g[v+3],U=g[v+4],S=g[v+5],O=g[v+6],L=g[v+7],P=g[v+8],F=g[v+9],M=g[v+10],$=g[v+11],H=g[v+12],j=g[v+13],k=g[v+14],V=g[v+15],D=w[0],B=w[1],N=w[2],I=w[3];D=l(D,B,N,I,_,7,a[0]),I=l(I,D,B,N,m,12,a[1]),N=l(N,I,D,B,A,17,a[2]),B=l(B,N,I,D,C,22,a[3]),D=l(D,B,N,I,U,7,a[4]),I=l(I,D,B,N,S,12,a[5]),N=l(N,I,D,B,O,17,a[6]),B=l(B,N,I,D,L,22,a[7]),D=l(D,B,N,I,P,7,a[8]),I=l(I,D,B,N,F,12,a[9]),N=l(N,I,D,B,M,17,a[10]),B=l(B,N,I,D,$,22,a[11]),D=l(D,B,N,I,H,7,a[12]),I=l(I,D,B,N,j,12,a[13]),N=l(N,I,D,B,k,17,a[14]),B=l(B,N,I,D,V,22,a[15]),D=h(D,B,N,I,m,5,a[16]),I=h(I,D,B,N,O,9,a[17]),N=h(N,I,D,B,$,14,a[18]),B=h(B,N,I,D,_,20,a[19]),D=h(D,B,N,I,S,5,a[20]),I=h(I,D,B,N,M,9,a[21]),N=h(N,I,D,B,V,14,a[22]),B=h(B,N,I,D,U,20,a[23]),D=h(D,B,N,I,F,5,a[24]),I=h(I,D,B,N,k,9,a[25]),N=h(N,I,D,B,C,14,a[26]),B=h(B,N,I,D,P,20,a[27]),D=h(D,B,N,I,j,5,a[28]),I=h(I,D,B,N,A,9,a[29]),N=h(N,I,D,B,L,14,a[30]),B=h(B,N,I,D,H,20,a[31]),D=p(D,B,N,I,S,4,a[32]),I=p(I,D,B,N,P,11,a[33]),N=p(N,I,D,B,$,16,a[34]),B=p(B,N,I,D,k,23,a[35]),D=p(D,B,N,I,m,4,a[36]),I=p(I,D,B,N,U,11,a[37]),N=p(N,I,D,B,L,16,a[38]),B=p(B,N,I,D,M,23,a[39]),D=p(D,B,N,I,j,4,a[40]),I=p(I,D,B,N,_,11,a[41]),N=p(N,I,D,B,C,16,a[42]),B=p(B,N,I,D,O,23,a[43]),D=p(D,B,N,I,F,4,a[44]),I=p(I,D,B,N,H,11,a[45]),N=p(N,I,D,B,V,16,a[46]),B=p(B,N,I,D,A,23,a[47]),D=d(D,B,N,I,_,6,a[48]),I=d(I,D,B,N,L,10,a[49]),N=d(N,I,D,B,k,15,a[50]),B=d(B,N,I,D,S,21,a[51]),D=d(D,B,N,I,H,6,a[52]),I=d(I,D,B,N,C,10,a[53]),N=d(N,I,D,B,M,15,a[54]),B=d(B,N,I,D,m,21,a[55]),D=d(D,B,N,I,P,6,a[56]),I=d(I,D,B,N,V,10,a[57]),N=d(N,I,D,B,O,15,a[58]),B=d(B,N,I,D,j,21,a[59]),D=d(D,B,N,I,U,6,a[60]),I=d(I,D,B,N,$,10,a[61]),N=d(N,I,D,B,A,15,a[62]),B=d(B,N,I,D,F,21,a[63]),w[0]=w[0]+D|0,w[1]=w[1]+B|0,w[2]=w[2]+N|0,w[3]=w[3]+I|0},_doFinalize:function(){var g=this._data,v=g.words,E=this._nDataBytes*8,b=g.sigBytes*8;v[b>>>5]|=128<<24-b%32;var y=n.floor(E/4294967296),w=E;v[(b+64>>>9<<4)+15]=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360,v[(b+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,g.sigBytes=(v.length+1)*4,this._process();for(var _=this._hash,m=_.words,A=0;A<4;A++){var C=m[A];m[A]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360}return _},clone:function(){var g=u.clone.call(this);return g._hash=this._hash.clone(),g}});function l(g,v,E,b,y,w,_){var m=g+(v&E|~v&b)+y+_;return(m<<w|m>>>32-w)+v}function h(g,v,E,b,y,w,_){var m=g+(v&b|E&~b)+y+_;return(m<<w|m>>>32-w)+v}function p(g,v,E,b,y,w,_){var m=g+(v^E^b)+y+_;return(m<<w|m>>>32-w)+v}function d(g,v,E,b,y,w,_){var m=g+(E^(v|~b))+y+_;return(m<<w|m>>>32-w)+v}i.MD5=u._createHelper(c),i.HmacMD5=u._createHmacHelper(c)})(Math),r.MD5})})(ms);var bs=ms.exports;const eg=Qt(bs);var ws={exports:{}};(function(e,t){(function(r,n){e.exports=n($t())})(ft,function(r){return(function(){var n=r,i=n.lib,s=i.WordArray,o=n.enc;o.Base64={stringify:function(f){var a=f.words,c=f.sigBytes,l=this._map;f.clamp();for(var h=[],p=0;p<c;p+=3)for(var d=a[p>>>2]>>>24-p%4*8&255,g=a[p+1>>>2]>>>24-(p+1)%4*8&255,v=a[p+2>>>2]>>>24-(p+2)%4*8&255,E=d<<16|g<<8|v,b=0;b<4&&p+b*.75<c;b++)h.push(l.charAt(E>>>6*(3-b)&63));var y=l.charAt(64);if(y)for(;h.length%4;)h.push(y);return h.join("")},parse:function(f){var a=f.length,c=this._map,l=this._reverseMap;if(!l){l=this._reverseMap=[];for(var h=0;h<c.length;h++)l[c.charCodeAt(h)]=h}var p=c.charAt(64);if(p){var d=f.indexOf(p);d!==-1&&(a=d)}return u(f,a,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(f,a,c){for(var l=[],h=0,p=0;p<a;p++)if(p%4){var d=c[f.charCodeAt(p-1)]<<p%4*2,g=c[f.charCodeAt(p)]>>>6-p%4*2,v=d|g;l[h>>>2]|=v<<24-h%4*8,h++}return s.create(l,h)}})(),r.enc.Base64})})(ws);var Ss=ws.exports;const Ts=Qt(Ss);var _s={exports:{}};(function(e,t){(function(r,n){e.exports=n($t())})(ft,function(r){return r.enc.Utf8})})(_s);var rg=_s.exports;const Vr=Qt(rg);var Es={exports:{}},qr={exports:{}},zr={exports:{}},As;function ng(){return As||(As=1,(function(e,t){(function(r,n){e.exports=n($t())})(ft,function(r){return(function(){var n=r,i=n.lib,s=i.WordArray,o=i.Hasher,u=n.algo,f=[],a=u.SHA1=o.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,l){for(var h=this._hash.words,p=h[0],d=h[1],g=h[2],v=h[3],E=h[4],b=0;b<80;b++){if(b<16)f[b]=c[l+b]|0;else{var y=f[b-3]^f[b-8]^f[b-14]^f[b-16];f[b]=y<<1|y>>>31}var w=(p<<5|p>>>27)+E+f[b];b<20?w+=(d&g|~d&v)+1518500249:b<40?w+=(d^g^v)+1859775393:b<60?w+=(d&g|d&v|g&v)-1894007588:w+=(d^g^v)-899497514,E=v,v=g,g=d<<30|d>>>2,d=p,p=w}h[0]=h[0]+p|0,h[1]=h[1]+d|0,h[2]=h[2]+g|0,h[3]=h[3]+v|0,h[4]=h[4]+E|0},_doFinalize:function(){var c=this._data,l=c.words,h=this._nDataBytes*8,p=c.sigBytes*8;return l[p>>>5]|=128<<24-p%32,l[(p+64>>>9<<4)+14]=Math.floor(h/4294967296),l[(p+64>>>9<<4)+15]=h,c.sigBytes=l.length*4,this._process(),this._hash},clone:function(){var c=o.clone.call(this);return c._hash=this._hash.clone(),c}});n.SHA1=o._createHelper(a),n.HmacSHA1=o._createHmacHelper(a)})(),r.SHA1})})(zr)),zr.exports}var Kr={exports:{}},Rs;function ig(){return Rs||(Rs=1,(function(e,t){(function(r,n){e.exports=n($t())})(ft,function(r){(function(){var n=r,i=n.lib,s=i.Base,o=n.enc,u=o.Utf8,f=n.algo;f.HMAC=s.extend({init:function(a,c){a=this._hasher=new a.init,typeof c=="string"&&(c=u.parse(c));var l=a.blockSize,h=l*4;c.sigBytes>h&&(c=a.finalize(c)),c.clamp();for(var p=this._oKey=c.clone(),d=this._iKey=c.clone(),g=p.words,v=d.words,E=0;E<l;E++)g[E]^=1549556828,v[E]^=909522486;p.sigBytes=d.sigBytes=h,this.reset()},reset:function(){var a=this._hasher;a.reset(),a.update(this._iKey)},update:function(a){return this._hasher.update(a),this},finalize:function(a){var c=this._hasher,l=c.finalize(a);c.reset();var h=c.finalize(this._oKey.clone().concat(l));return h}})})()})})(Kr)),Kr.exports}var Os;function Ds(){return Os||(Os=1,(function(e,t){(function(r,n,i){e.exports=n($t(),ng(),ig())})(ft,function(r){return(function(){var n=r,i=n.lib,s=i.Base,o=i.WordArray,u=n.algo,f=u.MD5,a=u.EvpKDF=s.extend({cfg:s.extend({keySize:128/32,hasher:f,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,l){for(var h,p=this.cfg,d=p.hasher.create(),g=o.create(),v=g.words,E=p.keySize,b=p.iterations;v.length<E;){h&&d.update(h),h=d.update(c).finalize(l),d.reset();for(var y=1;y<b;y++)h=d.finalize(h),d.reset();g.concat(h)}return g.sigBytes=E*4,g}});n.EvpKDF=function(c,l,h){return a.create(h).compute(c,l)}})(),r.EvpKDF})})(qr)),qr.exports}var Wr={exports:{}},Cs;function sg(){return Cs||(Cs=1,(function(e,t){(function(r,n,i){e.exports=n($t(),Ds())})(ft,function(r){r.lib.Cipher||(function(n){var i=r,s=i.lib,o=s.Base,u=s.WordArray,f=s.BufferedBlockAlgorithm,a=i.enc;a.Utf8;var c=a.Base64,l=i.algo,h=l.EvpKDF,p=s.Cipher=f.extend({cfg:o.extend(),createEncryptor:function(S,O){return this.create(this._ENC_XFORM_MODE,S,O)},createDecryptor:function(S,O){return this.create(this._DEC_XFORM_MODE,S,O)},init:function(S,O,L){this.cfg=this.cfg.extend(L),this._xformMode=S,this._key=O,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(S){return this._append(S),this._process()},finalize:function(S){S&&this._append(S);var O=this._doFinalize();return O},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function S(O){return typeof O=="string"?U:m}return function(O){return{encrypt:function(L,P,F){return S(P).encrypt(O,L,P,F)},decrypt:function(L,P,F){return S(P).decrypt(O,L,P,F)}}}})()});s.StreamCipher=p.extend({_doFinalize:function(){var S=this._process(!0);return S},blockSize:1});var d=i.mode={},g=s.BlockCipherMode=o.extend({createEncryptor:function(S,O){return this.Encryptor.create(S,O)},createDecryptor:function(S,O){return this.Decryptor.create(S,O)},init:function(S,O){this._cipher=S,this._iv=O}}),v=d.CBC=(function(){var S=g.extend();S.Encryptor=S.extend({processBlock:function(L,P){var F=this._cipher,M=F.blockSize;O.call(this,L,P,M),F.encryptBlock(L,P),this._prevBlock=L.slice(P,P+M)}}),S.Decryptor=S.extend({processBlock:function(L,P){var F=this._cipher,M=F.blockSize,$=L.slice(P,P+M);F.decryptBlock(L,P),O.call(this,L,P,M),this._prevBlock=$}});function O(L,P,F){var M,$=this._iv;$?(M=$,this._iv=n):M=this._prevBlock;for(var H=0;H<F;H++)L[P+H]^=M[H]}return S})(),E=i.pad={},b=E.Pkcs7={pad:function(S,O){for(var L=O*4,P=L-S.sigBytes%L,F=P<<24|P<<16|P<<8|P,M=[],$=0;$<P;$+=4)M.push(F);var H=u.create(M,P);S.concat(H)},unpad:function(S){var O=S.words[S.sigBytes-1>>>2]&255;S.sigBytes-=O}};s.BlockCipher=p.extend({cfg:p.cfg.extend({mode:v,padding:b}),reset:function(){var S;p.reset.call(this);var O=this.cfg,L=O.iv,P=O.mode;this._xformMode==this._ENC_XFORM_MODE?S=P.createEncryptor:(S=P.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==S?this._mode.init(this,L&&L.words):(this._mode=S.call(P,this,L&&L.words),this._mode.__creator=S)},_doProcessBlock:function(S,O){this._mode.processBlock(S,O)},_doFinalize:function(){var S,O=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(O.pad(this._data,this.blockSize),S=this._process(!0)):(S=this._process(!0),O.unpad(S)),S},blockSize:128/32});var y=s.CipherParams=o.extend({init:function(S){this.mixIn(S)},toString:function(S){return(S||this.formatter).stringify(this)}}),w=i.format={},_=w.OpenSSL={stringify:function(S){var O,L=S.ciphertext,P=S.salt;return P?O=u.create([1398893684,1701076831]).concat(P).concat(L):O=L,O.toString(c)},parse:function(S){var O,L=c.parse(S),P=L.words;return P[0]==1398893684&&P[1]==1701076831&&(O=u.create(P.slice(2,4)),P.splice(0,4),L.sigBytes-=16),y.create({ciphertext:L,salt:O})}},m=s.SerializableCipher=o.extend({cfg:o.extend({format:_}),encrypt:function(S,O,L,P){P=this.cfg.extend(P);var F=S.createEncryptor(L,P),M=F.finalize(O),$=F.cfg;return y.create({ciphertext:M,key:L,iv:$.iv,algorithm:S,mode:$.mode,padding:$.padding,blockSize:S.blockSize,formatter:P.format})},decrypt:function(S,O,L,P){P=this.cfg.extend(P),O=this._parse(O,P.format);var F=S.createDecryptor(L,P).finalize(O.ciphertext);return F},_parse:function(S,O){return typeof S=="string"?O.parse(S,this):S}}),A=i.kdf={},C=A.OpenSSL={execute:function(S,O,L,P,F){if(P||(P=u.random(64/8)),F)var M=h.create({keySize:O+L,hasher:F}).compute(S,P);else var M=h.create({keySize:O+L}).compute(S,P);var $=u.create(M.words.slice(O),L*4);return M.sigBytes=O*4,y.create({key:M,iv:$,salt:P})}},U=s.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:C}),encrypt:function(S,O,L,P){P=this.cfg.extend(P);var F=P.kdf.execute(L,S.keyS