@vtj/utils
Version:
VTJ 是一款基于 Vue3 + Typescript 的低代码页面可视化设计器。内置低代码引擎、渲染器和代码生成器,面向前端开发者,开箱即用。 无缝嵌入本地开发工程,不改变前端开发流程和编码习惯。
24 lines • 206 kB
JavaScript
(function(E,Y){typeof exports=="object"&&typeof module<"u"?Y(exports):typeof define=="function"&&define.amd?define(["exports"],Y):(E=typeof globalThis<"u"?globalThis:E||self,Y(E.VtjUtils={}))})(this,(function(E){"use strict";var Jy=Object.defineProperty;var ve=(E,Y)=>(Y=Symbol[E])?Y:Symbol.for("Symbol."+E),Zy=E=>{throw TypeError(E)};var Gy=(E,Y,nt)=>Y in E?Jy(E,Y,{enumerable:!0,configurable:!0,writable:!0,value:nt}):E[Y]=nt;var St=(E,Y,nt)=>Gy(E,typeof Y!="symbol"?Y+"":Y,nt);var Qt=function(E,Y){this[0]=E,this[1]=Y},Zr=(E,Y,nt)=>{var dt=(ot,G,bt,rt)=>{try{var be=nt[ot](G),He=(G=be.value)instanceof Qt,Mn=be.done;Promise.resolve(He?G[0]:G).then(pt=>He?dt(ot==="return"?ot:"next",G[1]?{done:pt.done,value:pt.value}:pt,bt,rt):bt({value:pt,done:Mn})).catch(pt=>dt("throw",pt,bt,rt))}catch(pt){rt(pt)}},it=ot=>et[ot]=G=>new Promise((bt,rt)=>dt(ot,G,bt,rt)),et={};return nt=nt.apply(E,Y),et[ve("asyncIterator")]=()=>et,it("next"),it("throw"),it("return"),et},Gr=E=>{var Y=E[ve("asyncIterator")],nt=!1,dt,it={};return Y==null?(Y=E[ve("iterator")](),dt=et=>it[et]=ot=>Y[et](ot)):(Y=Y.call(E),dt=et=>it[et]=ot=>{if(nt){if(nt=!1,et==="throw")throw ot;return ot}return nt=!0,{done:!1,value:new Qt(new Promise(G=>{var bt=Y[et](ot);bt instanceof Object||Zy("Object expected"),G(bt)}),1)}}),it[ve("iterator")]=()=>it,dt("next"),"throw"in Y?dt("throw"):it.throw=et=>{throw et},"return"in Y&&dt("return"),it},Wa=(E,Y,nt)=>(Y=E[ve("asyncIterator")])?Y.call(E):(E=E[ve("iterator")](),Y={},nt=(dt,it)=>(it=E[dt])&&(Y[dt]=et=>new Promise((ot,G,bt)=>(et=it.call(E,et),bt=et.done,Promise.resolve(et.value).then(rt=>ot({value:rt,done:bt}),G)))),nt("next"),nt("return"),Y);(function(){if(typeof window>"u"||typeof EventTarget>"u")return;const e=EventTarget.prototype.addEventListener;EventTarget.prototype.addEventListener=function(t,n,r){typeof r!="boolean"&&(r=r||{},r.passive=!1),e.call(this,t,n,r)}})();/**!
* Copyright (c) 2025, VTJ.PRO All rights reserved.
* @name @vtj/utils
* @author CHC chenhuachun1549@dingtalk.com
* @version 0.13.13
* @license <a href="https://vtj.pro/license.html">MIT License</a>
*/const Y="0.13.13";var nt={ENV_TYPE:"local",NODE_ENV:"production"},dt=typeof global=="object"&&global&&global.Object===Object&&global;const it=dt;var et=typeof self=="object"&&self&&self.Object===Object&&self,ot=it||et||Function("return this")();const G=ot;var bt=G.Symbol;const rt=bt;var be=Object.prototype,He=be.hasOwnProperty,Mn=be.toString,pt=rt?rt.toStringTag:void 0;function Za(e){var t=He.call(e,pt),n=e[pt];try{e[pt]=void 0;var r=!0}catch(o){}var i=Mn.call(e);return r&&(t?e[pt]=n:delete e[pt]),i}var Ga=Object.prototype,Qa=Ga.toString;function Xa(e){return Qa.call(e)}var tu="[object Null]",eu="[object Undefined]",Qr=rt?rt.toStringTag:void 0;function wt(e){return e==null?e===void 0?eu:tu:Qr&&Qr in Object(e)?Za(e):Xa(e)}function st(e){return e!=null&&typeof e=="object"}var nu="[object Symbol]";function we(e){return typeof e=="symbol"||st(e)&&wt(e)==nu}function Xr(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}var ru=Array.isArray;const ct=ru;var ti=rt?rt.prototype:void 0,ei=ti?ti.toString:void 0;function ni(e){if(typeof e=="string")return e;if(ct(e))return Xr(e,ni)+"";if(we(e))return ei?ei.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var iu=/\s/;function ou(e){for(var t=e.length;t--&&iu.test(e.charAt(t)););return t}var su=/^\s+/;function au(e){return e&&e.slice(0,ou(e)+1).replace(su,"")}function at(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ri=NaN,uu=/^[-+]0x[0-9a-f]+$/i,cu=/^0b[01]+$/i,fu=/^0o[0-7]+$/i,lu=parseInt;function ii(e){if(typeof e=="number")return e;if(we(e))return ri;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=au(e);var n=cu.test(e);return n||fu.test(e)?lu(e.slice(2),n?2:8):uu.test(e)?ri:+e}function Cn(e){return e}var hu="[object AsyncFunction]",du="[object Function]",pu="[object GeneratorFunction]",gu="[object Proxy]";function Ve(e){if(!at(e))return!1;var t=wt(e);return t==du||t==pu||t==hu||t==gu}var mu=G["__core-js_shared__"];const Pn=mu;var oi=(function(){var e=/[^.]+$/.exec(Pn&&Pn.keys&&Pn.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function yu(e){return!!oi&&oi in e}var vu=Function.prototype,bu=vu.toString;function Ut(e){if(e!=null){try{return bu.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var wu=/[\\^$.*+?()[\]{}|]/g,Su=/^\[object .+?Constructor\]$/,_u=Function.prototype,Eu=Object.prototype,Tu=_u.toString,Au=Eu.hasOwnProperty,Ou=RegExp("^"+Tu.call(Au).replace(wu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Ru(e){if(!at(e)||yu(e))return!1;var t=Ve(e)?Ou:Su;return t.test(Ut(e))}function xu(e,t){return e==null?void 0:e[t]}function Ht(e,t){var n=xu(e,t);return Ru(n)?n:void 0}var Du=Ht(G,"WeakMap");const Nn=Du;var si=Object.create,ju=(function(){function e(){}return function(t){if(!at(t))return{};if(si)return si(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}})();const Bu=ju;function ai(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function Mu(){}function Cu(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}var Pu=800,Nu=16,Fu=Date.now;function Iu(e){var t=0,n=0;return function(){var r=Fu(),i=Nu-(r-n);if(n=r,i>0){if(++t>=Pu)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Lu(e){return function(){return e}}var ku=(function(){try{var e=Ht(Object,"defineProperty");return e({},"",{}),e}catch(t){}})();const $e=ku;var Uu=$e?function(e,t){return $e(e,"toString",{configurable:!0,enumerable:!1,value:Lu(t),writable:!0})}:Cn,Hu=Iu(Uu);const Vu=Hu;function $u(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var zu=9007199254740991,qu=/^(?:0|[1-9]\d*)$/;function ze(e,t){var n=typeof e;return t=t!=null?t:zu,!!t&&(n=="number"||n!="symbol"&&qu.test(e))&&e>-1&&e%1==0&&e<t}function qe(e,t,n){t=="__proto__"&&$e?$e(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Xt(e,t){return e===t||e!==e&&t!==t}var Ku=Object.prototype,Yu=Ku.hasOwnProperty;function Fn(e,t,n){var r=e[t];(!(Yu.call(e,t)&&Xt(r,n))||n===void 0&&!(t in e))&&qe(e,t,n)}function ui(e,t,n,r){var i=!n;n||(n={});for(var o=-1,s=t.length;++o<s;){var u=t[o],f=r?r(n[u],e[u],u,n,e):void 0;f===void 0&&(f=e[u]),i?qe(n,u,f):Fn(n,u,f)}return n}var ci=Math.max;function Wu(e,t,n){return t=ci(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,o=ci(r.length-t,0),s=Array(o);++i<o;)s[i]=r[t+i];i=-1;for(var u=Array(t+1);++i<t;)u[i]=r[i];return u[t]=n(s),ai(e,this,u)}}function fi(e,t){return Vu(Wu(e,t,Cn),e+"")}var Ju=9007199254740991;function In(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ju}function Se(e){return e!=null&&In(e.length)&&!Ve(e)}function li(e,t,n){if(!at(n))return!1;var r=typeof t;return(r=="number"?Se(n)&&ze(t,n.length):r=="string"&&t in n)?Xt(n[t],e):!1}function hi(e){return fi(function(t,n){var r=-1,i=n.length,o=i>1?n[i-1]:void 0,s=i>2?n[2]:void 0;for(o=e.length>3&&typeof o=="function"?(i--,o):void 0,s&&li(n[0],n[1],s)&&(o=i<3?void 0:o,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,o)}return t})}var Zu=Object.prototype;function Ln(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||Zu;return e===n}function Gu(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}var Qu="[object Arguments]";function di(e){return st(e)&&wt(e)==Qu}var pi=Object.prototype,Xu=pi.hasOwnProperty,tc=pi.propertyIsEnumerable,ec=di((function(){return arguments})())?di:function(e){return st(e)&&Xu.call(e,"callee")&&!tc.call(e,"callee")};const Ke=ec;function nc(){return!1}var gi=typeof E=="object"&&E&&!E.nodeType&&E,mi=gi&&typeof module=="object"&&module&&!module.nodeType&&module,rc=mi&&mi.exports===gi,yi=rc?G.Buffer:void 0,ic=yi?yi.isBuffer:void 0,oc=ic||nc;const te=oc;var sc="[object Arguments]",ac="[object Array]",uc="[object Boolean]",cc="[object Date]",fc="[object Error]",lc="[object Function]",hc="[object Map]",dc="[object Number]",pc="[object Object]",gc="[object RegExp]",mc="[object Set]",yc="[object String]",vc="[object WeakMap]",bc="[object ArrayBuffer]",wc="[object DataView]",Sc="[object Float32Array]",_c="[object Float64Array]",Ec="[object Int8Array]",Tc="[object Int16Array]",Ac="[object Int32Array]",Oc="[object Uint8Array]",Rc="[object Uint8ClampedArray]",xc="[object Uint16Array]",Dc="[object Uint32Array]",Z={};Z[Sc]=Z[_c]=Z[Ec]=Z[Tc]=Z[Ac]=Z[Oc]=Z[Rc]=Z[xc]=Z[Dc]=!0,Z[sc]=Z[ac]=Z[bc]=Z[uc]=Z[wc]=Z[cc]=Z[fc]=Z[lc]=Z[hc]=Z[dc]=Z[pc]=Z[gc]=Z[mc]=Z[yc]=Z[vc]=!1;function jc(e){return st(e)&&In(e.length)&&!!Z[wt(e)]}function _e(e){return function(t){return e(t)}}var vi=typeof E=="object"&&E&&!E.nodeType&&E,Ee=vi&&typeof module=="object"&&module&&!module.nodeType&&module,Bc=Ee&&Ee.exports===vi,kn=Bc&&it.process,Mc=(function(){try{var e=Ee&&Ee.require&&Ee.require("util").types;return e||kn&&kn.binding&&kn.binding("util")}catch(t){}})();const Rt=Mc;var bi=Rt&&Rt.isTypedArray,Cc=bi?_e(bi):jc;const Un=Cc;var Pc=Object.prototype,Nc=Pc.hasOwnProperty;function wi(e,t){var n=ct(e),r=!n&&Ke(e),i=!n&&!r&&te(e),o=!n&&!r&&!i&&Un(e),s=n||r||i||o,u=s?Gu(e.length,String):[],f=u.length;for(var a in e)(t||Nc.call(e,a))&&!(s&&(a=="length"||i&&(a=="offset"||a=="parent")||o&&(a=="buffer"||a=="byteLength"||a=="byteOffset")||ze(a,f)))&&u.push(a);return u}function Si(e,t){return function(n){return e(t(n))}}var Fc=Si(Object.keys,Object);const Ic=Fc;var Lc=Object.prototype,kc=Lc.hasOwnProperty;function Uc(e){if(!Ln(e))return Ic(e);var t=[];for(var n in Object(e))kc.call(e,n)&&n!="constructor"&&t.push(n);return t}function Ye(e){return Se(e)?wi(e):Uc(e)}function Hc(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var Vc=Object.prototype,$c=Vc.hasOwnProperty;function zc(e){if(!at(e))return Hc(e);var t=Ln(e),n=[];for(var r in e)r=="constructor"&&(t||!$c.call(e,r))||n.push(r);return n}function Hn(e){return Se(e)?wi(e,!0):zc(e)}var qc=hi(function(e,t,n,r){ui(t,Hn(t),e,r)});const _i=qc;var Kc=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yc=/^\w*$/;function Vn(e,t){if(ct(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||we(e)?!0:Yc.test(e)||!Kc.test(e)||t!=null&&e in Object(t)}var Wc=Ht(Object,"create");const Te=Wc;function Jc(){this.__data__=Te?Te(null):{},this.size=0}function Zc(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var Gc="__lodash_hash_undefined__",Qc=Object.prototype,Xc=Qc.hasOwnProperty;function tf(e){var t=this.__data__;if(Te){var n=t[e];return n===Gc?void 0:n}return Xc.call(t,e)?t[e]:void 0}var ef=Object.prototype,nf=ef.hasOwnProperty;function rf(e){var t=this.__data__;return Te?t[e]!==void 0:nf.call(t,e)}var of="__lodash_hash_undefined__";function sf(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Te&&t===void 0?of:t,this}function Vt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Vt.prototype.clear=Jc,Vt.prototype.delete=Zc,Vt.prototype.get=tf,Vt.prototype.has=rf,Vt.prototype.set=sf;function af(){this.__data__=[],this.size=0}function We(e,t){for(var n=e.length;n--;)if(Xt(e[n][0],t))return n;return-1}var uf=Array.prototype,cf=uf.splice;function ff(e){var t=this.__data__,n=We(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():cf.call(t,n,1),--this.size,!0}function lf(e){var t=this.__data__,n=We(t,e);return n<0?void 0:t[n][1]}function hf(e){return We(this.__data__,e)>-1}function df(e,t){var n=this.__data__,r=We(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Dt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Dt.prototype.clear=af,Dt.prototype.delete=ff,Dt.prototype.get=lf,Dt.prototype.has=hf,Dt.prototype.set=df;var pf=Ht(G,"Map");const Ae=pf;function gf(){this.size=0,this.__data__={hash:new Vt,map:new(Ae||Dt),string:new Vt}}function mf(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Je(e,t){var n=e.__data__;return mf(t)?n[typeof t=="string"?"string":"hash"]:n.map}function yf(e){var t=Je(this,e).delete(e);return this.size-=t?1:0,t}function vf(e){return Je(this,e).get(e)}function bf(e){return Je(this,e).has(e)}function wf(e,t){var n=Je(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function jt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}jt.prototype.clear=gf,jt.prototype.delete=yf,jt.prototype.get=vf,jt.prototype.has=bf,jt.prototype.set=wf;var Sf="Expected a function";function $n(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(Sf);var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=e.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new($n.Cache||jt),n}$n.Cache=jt;var _f=500;function Ef(e){var t=$n(e,function(r){return n.size===_f&&n.clear(),r}),n=t.cache;return t}var Tf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Af=/\\(\\)?/g,Of=Ef(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Tf,function(n,r,i,o){t.push(i?o.replace(Af,"$1"):r||n)}),t});const Rf=Of;function $t(e){return e==null?"":ni(e)}function zn(e,t){return ct(e)?e:Vn(e,t)?[e]:Rf($t(e))}function Oe(e){if(typeof e=="string"||we(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Ei(e,t){t=zn(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Oe(t[n++])];return n&&n==r?e:void 0}function Ti(e,t,n){var r=e==null?void 0:Ei(e,t);return r===void 0?n:r}function xf(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}var Df=Si(Object.getPrototypeOf,Object);const Ai=Df;var jf="[object Object]",Bf=Function.prototype,Mf=Object.prototype,Oi=Bf.toString,Cf=Mf.hasOwnProperty,Pf=Oi.call(Object);function qn(e){if(!st(e)||wt(e)!=jf)return!1;var t=Ai(e);if(t===null)return!0;var n=Cf.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&Oi.call(n)==Pf}var Nf="[object DOMException]",Ff="[object Error]";function Ri(e){if(!st(e))return!1;var t=wt(e);return t==Ff||t==Nf||typeof e.message=="string"&&typeof e.name=="string"&&!qn(e)}var If=fi(function(e,t){try{return ai(e,void 0,t)}catch(n){return Ri(n)?n:new Error(n)}});const Lf=If;function kf(e,t,n){var r=-1,i=e.length;t<0&&(t=-t>i?0:i+t),n=n>i?i:n,n<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(i);++r<i;)o[r]=e[r+t];return o}function Uf(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:kf(e,t,n)}var Hf="\\ud800-\\udfff",Vf="\\u0300-\\u036f",$f="\\ufe20-\\ufe2f",zf="\\u20d0-\\u20ff",qf=Vf+$f+zf,Kf="\\ufe0e\\ufe0f",Yf="\\u200d",Wf=RegExp("["+Yf+Hf+qf+Kf+"]");function xi(e){return Wf.test(e)}function Jf(e){return e.split("")}var Di="\\ud800-\\udfff",Zf="\\u0300-\\u036f",Gf="\\ufe20-\\ufe2f",Qf="\\u20d0-\\u20ff",Xf=Zf+Gf+Qf,tl="\\ufe0e\\ufe0f",el="["+Di+"]",Kn="["+Xf+"]",Yn="\\ud83c[\\udffb-\\udfff]",nl="(?:"+Kn+"|"+Yn+")",ji="[^"+Di+"]",Bi="(?:\\ud83c[\\udde6-\\uddff]){2}",Mi="[\\ud800-\\udbff][\\udc00-\\udfff]",rl="\\u200d",Ci=nl+"?",Pi="["+tl+"]?",il="(?:"+rl+"(?:"+[ji,Bi,Mi].join("|")+")"+Pi+Ci+")*",ol=Pi+Ci+il,sl="(?:"+[ji+Kn+"?",Kn,Bi,Mi,el].join("|")+")",al=RegExp(Yn+"(?="+Yn+")|"+sl+ol,"g");function ul(e){return e.match(al)||[]}function cl(e){return xi(e)?ul(e):Jf(e)}function Ni(e){return function(t){t=$t(t);var n=xi(t)?cl(t):void 0,r=n?n[0]:t.charAt(0),i=n?Uf(n,1).join(""):t.slice(1);return r[e]()+i}}var fl=Ni("toUpperCase");const Wn=fl;function ll(e){return Wn($t(e).toLowerCase())}function hl(e,t,n,r){var i=-1,o=e==null?0:e.length;for(r;++i<o;)n=t(n,e[i],i,e);return n}function Fi(e){return function(t){return e==null?void 0:e[t]}}var dl={À:"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"},pl=Fi(dl);const gl=pl;var ml=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,yl="\\u0300-\\u036f",vl="\\ufe20-\\ufe2f",bl="\\u20d0-\\u20ff",wl=yl+vl+bl,Sl="["+wl+"]",_l=RegExp(Sl,"g");function El(e){return e=$t(e),e&&e.replace(ml,gl).replace(_l,"")}var Tl=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function Al(e){return e.match(Tl)||[]}var Ol=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function Rl(e){return Ol.test(e)}var Ii="\\ud800-\\udfff",xl="\\u0300-\\u036f",Dl="\\ufe20-\\ufe2f",jl="\\u20d0-\\u20ff",Bl=xl+Dl+jl,Li="\\u2700-\\u27bf",ki="a-z\\xdf-\\xf6\\xf8-\\xff",Ml="\\xac\\xb1\\xd7\\xf7",Cl="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Pl="\\u2000-\\u206f",Nl=" \\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",Ui="A-Z\\xc0-\\xd6\\xd8-\\xde",Fl="\\ufe0e\\ufe0f",Hi=Ml+Cl+Pl+Nl,Vi="['’]",$i="["+Hi+"]",Il="["+Bl+"]",zi="\\d+",Ll="["+Li+"]",qi="["+ki+"]",Ki="[^"+Ii+Hi+zi+Li+ki+Ui+"]",kl="\\ud83c[\\udffb-\\udfff]",Ul="(?:"+Il+"|"+kl+")",Hl="[^"+Ii+"]",Yi="(?:\\ud83c[\\udde6-\\uddff]){2}",Wi="[\\ud800-\\udbff][\\udc00-\\udfff]",ee="["+Ui+"]",Vl="\\u200d",Ji="(?:"+qi+"|"+Ki+")",$l="(?:"+ee+"|"+Ki+")",Zi="(?:"+Vi+"(?:d|ll|m|re|s|t|ve))?",Gi="(?:"+Vi+"(?:D|LL|M|RE|S|T|VE))?",Qi=Ul+"?",Xi="["+Fl+"]?",zl="(?:"+Vl+"(?:"+[Hl,Yi,Wi].join("|")+")"+Xi+Qi+")*",ql="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Kl="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Yl=Xi+Qi+zl,Wl="(?:"+[Ll,Yi,Wi].join("|")+")"+Yl,Jl=RegExp([ee+"?"+qi+"+"+Zi+"(?="+[$i,ee,"$"].join("|")+")",$l+"+"+Gi+"(?="+[$i,ee+Ji,"$"].join("|")+")",ee+"?"+Ji+"+"+Zi,ee+"+"+Gi,Kl,ql,zi,Wl].join("|"),"g");function Zl(e){return e.match(Jl)||[]}function Gl(e,t,n){return e=$t(e),t=t,t===void 0?Rl(e)?Zl(e):Al(e):e.match(t)||[]}var Ql="['’]",Xl=RegExp(Ql,"g");function Jn(e){return function(t){return hl(Gl(El(t).replace(Xl,"")),e,"")}}var th=Jn(function(e,t,n){return t=t.toLowerCase(),e+(n?ll(t):t)});const to=th;function eh(){this.__data__=new Dt,this.size=0}function nh(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function rh(e){return this.__data__.get(e)}function ih(e){return this.__data__.has(e)}var oh=200;function sh(e,t){var n=this.__data__;if(n instanceof Dt){var r=n.__data__;if(!Ae||r.length<oh-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new jt(r)}return n.set(e,t),this.size=n.size,this}function Tt(e){var t=this.__data__=new Dt(e);this.size=t.size}Tt.prototype.clear=eh,Tt.prototype.delete=nh,Tt.prototype.get=rh,Tt.prototype.has=ih,Tt.prototype.set=sh;var eo=typeof E=="object"&&E&&!E.nodeType&&E,no=eo&&typeof module=="object"&&module&&!module.nodeType&&module,ah=no&&no.exports===eo,ro=ah?G.Buffer:void 0,io=ro?ro.allocUnsafe:void 0;function oo(e,t){if(t)return e.slice();var n=e.length,r=io?io(n):new e.constructor(n);return e.copy(r),r}function uh(e,t){for(var n=-1,r=e==null?0:e.length,i=0,o=[];++n<r;){var s=e[n];t(s,n,e)&&(o[i++]=s)}return o}function ch(){return[]}var fh=Object.prototype,lh=fh.propertyIsEnumerable,so=Object.getOwnPropertySymbols,hh=so?function(e){return e==null?[]:(e=Object(e),uh(so(e),function(t){return lh.call(e,t)}))}:ch;const dh=hh;function ph(e,t,n){var r=t(e);return ct(e)?r:xf(r,n(e))}function Zn(e){return ph(e,Ye,dh)}var gh=Ht(G,"DataView");const Gn=gh;var mh=Ht(G,"Promise");const Qn=mh;var yh=Ht(G,"Set");const Xn=yh;var ao="[object Map]",vh="[object Object]",uo="[object Promise]",co="[object Set]",fo="[object WeakMap]",lo="[object DataView]",bh=Ut(Gn),wh=Ut(Ae),Sh=Ut(Qn),_h=Ut(Xn),Eh=Ut(Nn),zt=wt;(Gn&&zt(new Gn(new ArrayBuffer(1)))!=lo||Ae&&zt(new Ae)!=ao||Qn&&zt(Qn.resolve())!=uo||Xn&&zt(new Xn)!=co||Nn&&zt(new Nn)!=fo)&&(zt=function(e){var t=wt(e),n=t==vh?e.constructor:void 0,r=n?Ut(n):"";if(r)switch(r){case bh:return lo;case wh:return ao;case Sh:return uo;case _h:return co;case Eh:return fo}return t});const Re=zt;var Th=Object.prototype,Ah=Th.hasOwnProperty;function Oh(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&Ah.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var Rh=G.Uint8Array;const Ze=Rh;function tr(e){var t=new e.constructor(e.byteLength);return new Ze(t).set(new Ze(e)),t}function xh(e,t){var n=tr(e.buffer);return new e.constructor(n,e.byteOffset,e.byteLength)}var Dh=/\w*$/;function jh(e){var t=new e.constructor(e.source,Dh.exec(e));return t.lastIndex=e.lastIndex,t}var ho=rt?rt.prototype:void 0,po=ho?ho.valueOf:void 0;function Bh(e){return po?Object(po.call(e)):{}}function go(e,t){var n=t?tr(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Mh="[object Boolean]",Ch="[object Date]",Ph="[object Map]",Nh="[object Number]",Fh="[object RegExp]",Ih="[object Set]",Lh="[object String]",kh="[object Symbol]",Uh="[object ArrayBuffer]",Hh="[object DataView]",Vh="[object Float32Array]",$h="[object Float64Array]",zh="[object Int8Array]",qh="[object Int16Array]",Kh="[object Int32Array]",Yh="[object Uint8Array]",Wh="[object Uint8ClampedArray]",Jh="[object Uint16Array]",Zh="[object Uint32Array]";function Gh(e,t,n){var r=e.constructor;switch(t){case Uh:return tr(e);case Mh:case Ch:return new r(+e);case Hh:return xh(e);case Vh:case $h:case zh:case qh:case Kh:case Yh:case Wh:case Jh:case Zh:return go(e,n);case Ph:return new r;case Nh:case Lh:return new r(e);case Fh:return jh(e);case Ih:return new r;case kh:return Bh(e)}}function mo(e){return typeof e.constructor=="function"&&!Ln(e)?Bu(Ai(e)):{}}var Qh="[object Map]";function Xh(e){return st(e)&&Re(e)==Qh}var yo=Rt&&Rt.isMap,td=yo?_e(yo):Xh;const ed=td;var nd="[object Set]";function rd(e){return st(e)&&Re(e)==nd}var vo=Rt&&Rt.isSet,id=vo?_e(vo):rd;const od=id;var sd=1,bo="[object Arguments]",ad="[object Array]",ud="[object Boolean]",cd="[object Date]",fd="[object Error]",wo="[object Function]",ld="[object GeneratorFunction]",hd="[object Map]",dd="[object Number]",So="[object Object]",pd="[object RegExp]",gd="[object Set]",md="[object String]",yd="[object Symbol]",vd="[object WeakMap]",bd="[object ArrayBuffer]",wd="[object DataView]",Sd="[object Float32Array]",_d="[object Float64Array]",Ed="[object Int8Array]",Td="[object Int16Array]",Ad="[object Int32Array]",Od="[object Uint8Array]",Rd="[object Uint8ClampedArray]",xd="[object Uint16Array]",Dd="[object Uint32Array]",J={};J[bo]=J[ad]=J[bd]=J[wd]=J[ud]=J[cd]=J[Sd]=J[_d]=J[Ed]=J[Td]=J[Ad]=J[hd]=J[dd]=J[So]=J[pd]=J[gd]=J[md]=J[yd]=J[Od]=J[Rd]=J[xd]=J[Dd]=!0,J[fd]=J[wo]=J[vd]=!1;function Ge(e,t,n,r,i,o){var s,u=t&sd;if(s!==void 0)return s;if(!at(e))return e;var f=ct(e);if(f)s=Oh(e);else{var a=Re(e),c=a==wo||a==ld;if(te(e))return oo(e,u);if(a==So||a==bo||c&&!i)s=c?{}:mo(e);else{if(!J[a])return i?e:{};s=Gh(e,a,u)}}o||(o=new Tt);var l=o.get(e);if(l)return l;o.set(e,s),od(e)?e.forEach(function(p){s.add(Ge(p,t,n,p,e,o))}):ed(e)&&e.forEach(function(p,g){s.set(g,Ge(p,t,n,g,e,o))});var h=Zn,d=f?void 0:h(e);return $u(d||e,function(p,g){d&&(g=p,p=e[g]),Fn(s,g,Ge(p,t,n,g,e,o))}),s}var jd=1,Bd=4;function Md(e){return Ge(e,jd|Bd)}var Cd="__lodash_hash_undefined__";function Pd(e){return this.__data__.set(e,Cd),this}function Nd(e){return this.__data__.has(e)}function Qe(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new jt;++t<n;)this.add(e[t])}Qe.prototype.add=Qe.prototype.push=Pd,Qe.prototype.has=Nd;function Fd(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function Id(e,t){return e.has(t)}var Ld=1,kd=2;function _o(e,t,n,r,i,o){var s=n&Ld,u=e.length,f=t.length;if(u!=f&&!(s&&f>u))return!1;var a=o.get(e),c=o.get(t);if(a&&c)return a==t&&c==e;var l=-1,h=!0,d=n&kd?new Qe:void 0;for(o.set(e,t),o.set(t,e);++l<u;){var p=e[l],g=t[l];if(r)var y=s?r(g,p,l,t,e,o):r(p,g,l,e,t,o);if(y!==void 0){if(y)continue;h=!1;break}if(d){if(!Fd(t,function(T,v){if(!Id(d,v)&&(p===T||i(p,T,n,r,o)))return d.push(v)})){h=!1;break}}else if(!(p===g||i(p,g,n,r,o))){h=!1;break}}return o.delete(e),o.delete(t),h}function Ud(e){var t=-1,n=Array(e.size);return e.forEach(function(r,i){n[++t]=[i,r]}),n}function Hd(e){var t=-1,n=Array(e.size);return e.forEach(function(r){n[++t]=r}),n}var Vd=1,$d=2,zd="[object Boolean]",qd="[object Date]",Kd="[object Error]",Yd="[object Map]",Wd="[object Number]",Jd="[object RegExp]",Zd="[object Set]",Gd="[object String]",Qd="[object Symbol]",Xd="[object ArrayBuffer]",tp="[object DataView]",Eo=rt?rt.prototype:void 0,er=Eo?Eo.valueOf:void 0;function ep(e,t,n,r,i,o,s){switch(n){case tp:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Xd:return!(e.byteLength!=t.byteLength||!o(new Ze(e),new Ze(t)));case zd:case qd:case Wd:return Xt(+e,+t);case Kd:return e.name==t.name&&e.message==t.message;case Jd:case Gd:return e==t+"";case Yd:var u=Ud;case Zd:var f=r&Vd;if(u||(u=Hd),e.size!=t.size&&!f)return!1;var a=s.get(e);if(a)return a==t;r|=$d,s.set(e,t);var c=_o(u(e),u(t),r,i,o,s);return s.delete(e),c;case Qd:if(er)return er.call(e)==er.call(t)}return!1}var np=1,rp=Object.prototype,ip=rp.hasOwnProperty;function op(e,t,n,r,i,o){var s=n&np,u=Zn(e),f=u.length,a=Zn(t),c=a.length;if(f!=c&&!s)return!1;for(var l=f;l--;){var h=u[l];if(!(s?h in t:ip.call(t,h)))return!1}var d=o.get(e),p=o.get(t);if(d&&p)return d==t&&p==e;var g=!0;o.set(e,t),o.set(t,e);for(var y=s;++l<f;){h=u[l];var T=e[h],v=t[h];if(r)var b=s?r(v,T,h,t,e,o):r(T,v,h,e,t,o);if(!(b===void 0?T===v||i(T,v,n,r,o):b)){g=!1;break}y||(y=h=="constructor")}if(g&&!y){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 o.delete(e),o.delete(t),g}var sp=1,To="[object Arguments]",Ao="[object Array]",Xe="[object Object]",ap=Object.prototype,Oo=ap.hasOwnProperty;function up(e,t,n,r,i,o){var s=ct(e),u=ct(t),f=s?Ao:Re(e),a=u?Ao:Re(t);f=f==To?Xe:f,a=a==To?Xe:a;var c=f==Xe,l=a==Xe,h=f==a;if(h&&te(e)){if(!te(t))return!1;s=!0,c=!1}if(h&&!c)return o||(o=new Tt),s||Un(e)?_o(e,t,n,r,i,o):ep(e,t,f,n,r,i,o);if(!(n&sp)){var d=c&&Oo.call(e,"__wrapped__"),p=l&&Oo.call(t,"__wrapped__");if(d||p){var g=d?e.value():e,y=p?t.value():t;return o||(o=new Tt),i(g,y,n,r,o)}}return h?(o||(o=new Tt),op(e,t,n,r,i,o)):!1}function tn(e,t,n,r,i){return e===t?!0:e==null||t==null||!st(e)&&!st(t)?e!==e&&t!==t:up(e,t,n,r,tn,i)}var cp=1,fp=2;function lp(e,t,n,r){var i=n.length,o=i;if(e==null)return!o;for(e=Object(e);i--;){var s=n[i];if(s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<o;){s=n[i];var u=s[0],f=e[u],a=s[1];if(s[2]){if(f===void 0&&!(u in e))return!1}else{var c=new Tt,l;if(!(l===void 0?tn(a,f,cp|fp,r,c):l))return!1}}return!0}function Ro(e){return e===e&&!at(e)}function hp(e){for(var t=Ye(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Ro(i)]}return t}function xo(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function dp(e){var t=hp(e);return t.length==1&&t[0][2]?xo(t[0][0],t[0][1]):function(n){return n===e||lp(n,e,t)}}function pp(e,t){return e!=null&&t in Object(e)}function gp(e,t,n){t=zn(t,e);for(var r=-1,i=t.length,o=!1;++r<i;){var s=Oe(t[r]);if(!(o=e!=null&&n(e,s)))break;e=e[s]}return o||++r!=i?o:(i=e==null?0:e.length,!!i&&In(i)&&ze(s,i)&&(ct(e)||Ke(e)))}function mp(e,t){return e!=null&&gp(e,t,pp)}var yp=1,vp=2;function bp(e,t){return Vn(e)&&Ro(t)?xo(Oe(e),t):function(n){var r=Ti(n,e);return r===void 0&&r===t?mp(n,e):tn(t,r,yp|vp)}}function wp(e){return function(t){return t==null?void 0:t[e]}}function Sp(e){return function(t){return Ei(t,e)}}function _p(e){return Vn(e)?wp(Oe(e)):Sp(e)}function Ep(e){return typeof e=="function"?e:e==null?Cn:typeof e=="object"?ct(e)?bp(e[0],e[1]):dp(e):_p(e)}function Tp(e,t,n,r){for(var i=-1,o=e==null?0:e.length;++i<o;){var s=e[i];t(r,s,n(s),e)}return r}function Ap(e){return function(t,n,r){for(var i=-1,o=Object(t),s=r(t),u=s.length;u--;){var f=s[++i];if(n(o[f],f,o)===!1)break}return t}}var Op=Ap();const Do=Op;function Rp(e,t){return e&&Do(e,t,Ye)}function xp(e,t){return function(n,r){if(n==null)return n;if(!Se(n))return e(n,r);for(var i=n.length,o=-1,s=Object(n);++o<i&&r(s[o],o,s)!==!1;);return n}}var Dp=xp(Rp);const jp=Dp;function Bp(e,t,n,r){return jp(e,function(i,o,s){t(r,i,n(i),s)}),r}function Mp(e,t){return function(n,r){var i=ct(n)?Tp:Bp,o={};return i(n,e,Ep(r),o)}}var Cp=function(){return G.Date.now()};const nr=Cp;var Pp="Expected a function",Np=Math.max,Fp=Math.min;function rr(e,t,n){var r,i,o,s,u,f,a=0,c=!1,l=!1,h=!0;if(typeof e!="function")throw new TypeError(Pp);t=ii(t)||0,at(n)&&(c=!!n.leading,l="maxWait"in n,o=l?Np(ii(n.maxWait)||0,t):o,h="trailing"in n?!!n.trailing:h);function d(m){var A=r,x=i;return r=i=void 0,a=m,s=e.apply(x,A),s}function p(m){return a=m,u=setTimeout(T,t),c?d(m):s}function g(m){var A=m-f,x=m-a,U=t-A;return l?Fp(U,o-x):U}function y(m){var A=m-f,x=m-a;return f===void 0||A>=t||A<0||l&&x>=o}function T(){var m=nr();if(y(m))return v(m);u=setTimeout(T,g(m))}function v(m){return u=void 0,h&&r?d(m):(r=i=void 0,s)}function b(){u!==void 0&&clearTimeout(u),a=0,r=f=i=u=void 0}function w(){return u===void 0?s:v(nr())}function _(){var m=nr(),A=y(m);if(r=arguments,i=this,f=m,A){if(u===void 0)return p(f);if(l)return clearTimeout(u),u=setTimeout(T,t),d(f)}return u===void 0&&(u=setTimeout(T,t)),s}return _.cancel=b,_.flush=w,_}function ir(e,t,n){(n!==void 0&&!Xt(e[t],n)||n===void 0&&!(t in e))&&qe(e,t,n)}function Ip(e){return st(e)&&Se(e)}function or(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function Lp(e){return ui(e,Hn(e))}function kp(e,t,n,r,i,o,s){var u=or(e,n),f=or(t,n),a=s.get(f);if(a){ir(e,n,a);return}var c=o?o(u,f,n+"",e,t,s):void 0,l=c===void 0;if(l){var h=ct(f),d=!h&&te(f),p=!h&&!d&&Un(f);c=f,h||d||p?ct(u)?c=u:Ip(u)?c=Cu(u):d?(l=!1,c=oo(f,!0)):p?(l=!1,c=go(f,!0)):c=[]:qn(f)||Ke(f)?(c=u,Ke(u)?c=Lp(u):(!at(u)||Ve(u))&&(c=mo(f))):l=!1}l&&(s.set(f,c),i(c,f,r,o,s),s.delete(f)),ir(e,n,c)}function jo(e,t,n,r,i){e!==t&&Do(t,function(o,s){if(i||(i=new Tt),at(o))kp(e,t,s,n,jo,r,i);else{var u=r?r(or(e,s),o,s+"",e,t,i):void 0;u===void 0&&(u=o),ir(e,s,u)}},Hn)}var Up={"&":"&","<":"<",">":">",'"':""","'":"'"},Hp=Fi(Up);const Vp=Hp;var Bo=/[&<>"']/g,$p=RegExp(Bo.source);function zp(e){return e=$t(e),e&&$p.test(e)?e.replace(Bo,Vp):e}var qp=Object.prototype,Kp=qp.hasOwnProperty,Yp=Mp(function(e,t,n){Kp.call(e,n)?e[n].push(t):qe(e,n,[t])});const Mo=Yp;var Wp="[object String]";function Jp(e){return typeof e=="string"||!ct(e)&&st(e)&&wt(e)==Wp}function Zp(e,t){return Xr(t,function(n){return e[n]})}var Gp="[object ArrayBuffer]";function Qp(e){return st(e)&&wt(e)==Gp}var Co=Rt&&Rt.isArrayBuffer,Xp=Co?_e(Co):Qp;const t0=Xp;var e0="[object Boolean]";function n0(e){return e===!0||e===!1||st(e)&&wt(e)==e0}var r0="[object Date]";function i0(e){return st(e)&&wt(e)==r0}var Po=Rt&&Rt.isDate,o0=Po?_e(Po):i0;const s0=o0;function a0(e,t){return tn(e,t)}var u0="[object Number]";function No(e){return typeof e=="number"||st(e)&&wt(e)==u0}function c0(e){return No(e)&&e!=+e}function f0(e){return e===null}function l0(e){return e===void 0}var h0=Jn(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});const d0=h0;var p0=Ni("toLowerCase");const g0=p0;var m0=hi(function(e,t,n){jo(e,t,n)});const ne=m0;function y0(e,t,n,r){if(!at(e))return e;t=zn(t,e);for(var i=-1,o=t.length,s=o-1,u=e;u!=null&&++i<o;){var f=Oe(t[i]),a=n;if(f==="__proto__"||f==="constructor"||f==="prototype")return e;if(i!=s){var c=u[f];a=void 0,a===void 0&&(a=at(c)?c:ze(t[i+1])?[]:{})}Fn(u,f,a),u=u[f]}return e}function v0(e,t,n){return e==null?e:y0(e,t,n)}var b0=Jn(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()});const w0=b0;var Fo=Object.prototype,S0=Fo.hasOwnProperty;function Io(e,t,n,r){return e===void 0||Xt(e,Fo[n])&&!S0.call(r,n)?t:e}var _0={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};function E0(e){return"\\"+_0[e]}var T0=/<%=([\s\S]+?)%>/g;const Lo=T0;var A0=/<%-([\s\S]+?)%>/g;const O0=A0;var R0=/<%([\s\S]+?)%>/g,x0={escape:O0,evaluate:R0,interpolate:Lo,variable:"",imports:{_:{escape:zp}}};const ko=x0;var D0="Invalid `variable` option passed into `_.template`",j0=/\b__p \+= '';/g,B0=/\b(__p \+=) '' \+/g,M0=/(__e\(.*?\)|\b__t\)) \+\n'';/g,C0=/[()=,{}\[\]\/\s]/,P0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,en=/($^)/,N0=/['\n\r\u2028\u2029\\]/g,F0=Object.prototype,Uo=F0.hasOwnProperty;function Ho(e,t,n){var r=ko.imports._.templateSettings||ko;n&&li(e,t,n)&&(t=void 0),e=$t(e),t=_i({},t,r,Io);var i=_i({},t.imports,r.imports,Io),o=Ye(i),s=Zp(i,o),u,f,a=0,c=t.interpolate||en,l="__p += '",h=RegExp((t.escape||en).source+"|"+c.source+"|"+(c===Lo?P0:en).source+"|"+(t.evaluate||en).source+"|$","g"),d=Uo.call(t,"sourceURL")?"//# sourceURL="+(t.sourceURL+"").replace(/\s/g," ")+`
`:"";e.replace(h,function(y,T,v,b,w,_){return v||(v=b),l+=e.slice(a,_).replace(N0,E0),T&&(u=!0,l+=`' +
__e(`+T+`) +
'`),w&&(f=!0,l+=`';
`+w+`;
__p += '`),v&&(l+=`' +
((__t = (`+v+`)) == null ? '' : __t) +
'`),a=_+y.length,y}),l+=`';
`;var p=Uo.call(t,"variable")&&t.variable;if(!p)l=`with (obj) {
`+l+`
}
`;else if(C0.test(p))throw new Error(D0);l=(f?l.replace(j0,""):l).replace(B0,"$1").replace(M0,"$1;"),l="function("+(p||"obj")+`) {
`+(p?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(u?", __e = _.escape":"")+(f?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+l+`return __p
}`;var g=Lf(function(){return Function(o,d+"return "+l).apply(void 0,s)});if(g.source=l,Ri(g))throw g;return g}var I0="Expected a function";function Vo(e,t,n){var r=!0,i=!0;if(typeof e!="function")throw new TypeError(I0);return at(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),rr(e,t,{leading:r,maxWait:t,trailing:i})}function L0(e){return Wn(to(e))}var ft=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function re(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $o={exports:{}};function k0(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 zo={exports:{}},qo;function Ct(){return qo||(qo=1,(function(e,t){(function(n,r){e.exports=r()})(ft,function(){var n=n||(function(r,i){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof ft<"u"&&ft.crypto&&(o=ft.crypto),!o&&typeof k0=="function")try{o=require("crypto")}catch(v){}var s=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch(v){}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch(v){}}throw new Error("Native crypto module could not be used to get secure random number.")},u=Object.create||(function(){function v(){}return function(b){var w;return v.prototype=b,w=new v,v.prototype=null,w}})(),f={},a=f.lib={},c=a.Base=(function(){return{extend:function(v){var b=u(this);return v&&b.mixIn(v),(!b.hasOwnProperty("init")||this.init===b.init)&&(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var v=this.extend();return v.init.apply(v,arguments),v},init:function(){},mixIn:function(v){for(var b in v)v.hasOwnProperty(b)&&(this[b]=v[b]);v.hasOwnProperty("toString")&&(this.toString=v.toString)},clone:function(){return this.init.prototype.extend(this)}}})(),l=a.WordArray=c.extend({init:function(v,b){v=this.words=v||[],b!=i?this.sigBytes=b:this.sigBytes=v.length*4},toString:function(v){return(v||d).stringify(this)},concat:function(v){var b=this.words,w=v.words,_=this.sigBytes,m=v.sigBytes;if(this.clamp(),_%4)for(var A=0;A<m;A++){var x=w[A>>>2]>>>24-A%4*8&255;b[_+A>>>2]|=x<<24-(_+A)%4*8}else for(var U=0;U<m;U+=4)b[_+U>>>2]=w[U>>>2];return this.sigBytes+=m,this},clamp:function(){var v=this.words,b=this.sigBytes;v[b>>>2]&=4294967295<<32-b%4*8,v.length=r.ceil(b/4)},clone:function(){var v=c.clone.call(this);return v.words=this.words.slice(0),v},random:function(v){for(var b=[],w=0;w<v;w+=4)b.push(s());return new l.init(b,v)}}),h=f.enc={},d=h.Hex={stringify:function(v){for(var b=v.words,w=v.sigBytes,_=[],m=0;m<w;m++){var A=b[m>>>2]>>>24-m%4*8&255;_.push((A>>>4).toString(16)),_.push((A&15).toString(16))}return _.join("")},parse:function(v){for(var b=v.length,w=[],_=0;_<b;_+=2)w[_>>>3]|=parseInt(v.substr(_,2),16)<<24-_%8*4;return new l.init(w,b/2)}},p=h.Latin1={stringify:function(v){for(var b=v.words,w=v.sigBytes,_=[],m=0;m<w;m++){var A=b[m>>>2]>>>24-m%4*8&255;_.push(String.fromCharCode(A))}return _.join("")},parse:function(v){for(var b=v.length,w=[],_=0;_<b;_++)w[_>>>2]|=(v.charCodeAt(_)&255)<<24-_%4*8;return new l.init(w,b)}},g=h.Utf8={stringify:function(v){try{return decodeURIComponent(escape(p.stringify(v)))}catch(b){throw new Error("Malformed UTF-8 data")}},parse:function(v){return p.parse(unescape(encodeURIComponent(v)))}},y=a.BufferedBlockAlgorithm=c.extend({reset:function(){this._data=new l.init,this._nDataBytes=0},_append:function(v){typeof v=="string"&&(v=g.parse(v)),this._data.concat(v),this._nDataBytes+=v.sigBytes},_process:function(v){var b,w=this._data,_=w.words,m=w.sigBytes,A=this.blockSize,x=A*4,U=m/x;v?U=r.ceil(U):U=r.max((U|0)-this._minBufferSize,0);var S=U*A,R=r.min(S*4,m);if(S){for(var L=0;L<S;L+=A)this._doProcessBlock(_,L);b=_.splice(0,S),w.sigBytes-=R}return new l.init(b,R)},clone:function(){var v=c.clone.call(this);return v._data=this._data.clone(),v},_minBufferSize:0});a.Hasher=y.extend({cfg:c.extend(),init:function(v){this.cfg=this.cfg.extend(v),this.reset()},reset:function(){y.reset.call(this),this._doReset()},update:function(v){return this._append(v),this._process(),this},finalize:function(v){v&&this._append(v);var b=this._doFinalize();return b},blockSize:16,_createHelper:function(v){return function(b,w){return new v.init(w).finalize(b)}},_createHmacHelper:function(v){return function(b,w){return new T.HMAC.init(v,w).finalize(b)}}});var T=f.algo={};return f})(Math);return n})})(zo)),zo.exports}(function(e,t){(function(n,r){e.exports=r(Ct())})(ft,function(n){return(function(r){var i=n,o=i.lib,s=o.WordArray,u=o.Hasher,f=i.algo,a=[];(function(){for(var g=0;g<64;g++)a[g]=r.abs(r.sin(g+1))*4294967296|0})();var c=f.MD5=u.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,y){for(var T=0;T<16;T++){var v=y+T,b=g[v];g[v]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var w=this._hash.words,_=g[y+0],m=g[y+1],A=g[y+2],x=g[y+3],U=g[y+4],S=g[y+5],R=g[y+6],L=g[y+7],C=g[y+8],I=g[y+9],B=g[y+10],N=g[y+11],H=g[y+12],k=g[y+13],V=g[y+14],$=g[y+15],D=w[0],M=w[1],P=w[2],F=w[3];D=l(D,M,P,F,_,7,a[0]),F=l(F,D,M,P,m,12,a[1]),P=l(P,F,D,M,A,17,a[2]),M=l(M,P,F,D,x,22,a[3]),D=l(D,M,P,F,U,7,a[4]),F=l(F,D,M,P,S,12,a[5]),P=l(P,F,D,M,R,17,a[6]),M=l(M,P,F,D,L,22,a[7]),D=l(D,M,P,F,C,7,a[8]),F=l(F,D,M,P,I,12,a[9]),P=l(P,F,D,M,B,17,a[10]),M=l(M,P,F,D,N,22,a[11]),D=l(D,M,P,F,H,7,a[12]),F=l(F,D,M,P,k,12,a[13]),P=l(P,F,D,M,V,17,a[14]),M=l(M,P,F,D,$,22,a[15]),D=h(D,M,P,F,m,5,a[16]),F=h(F,D,M,P,R,9,a[17]),P=h(P,F,D,M,N,14,a[18]),M=h(M,P,F,D,_,20,a[19]),D=h(D,M,P,F,S,5,a[20]),F=h(F,D,M,P,B,9,a[21]),P=h(P,F,D,M,$,14,a[22]),M=h(M,P,F,D,U,20,a[23]),D=h(D,M,P,F,I,5,a[24]),F=h(F,D,M,P,V,9,a[25]),P=h(P,F,D,M,x,14,a[26]),M=h(M,P,F,D,C,20,a[27]),D=h(D,M,P,F,k,5,a[28]),F=h(F,D,M,P,A,9,a[29]),P=h(P,F,D,M,L,14,a[30]),M=h(M,P,F,D,H,20,a[31]),D=d(D,M,P,F,S,4,a[32]),F=d(F,D,M,P,C,11,a[33]),P=d(P,F,D,M,N,16,a[34]),M=d(M,P,F,D,V,23,a[35]),D=d(D,M,P,F,m,4,a[36]),F=d(F,D,M,P,U,11,a[37]),P=d(P,F,D,M,L,16,a[38]),M=d(M,P,F,D,B,23,a[39]),D=d(D,M,P,F,k,4,a[40]),F=d(F,D,M,P,_,11,a[41]),P=d(P,F,D,M,x,16,a[42]),M=d(M,P,F,D,R,23,a[43]),D=d(D,M,P,F,I,4,a[44]),F=d(F,D,M,P,H,11,a[45]),P=d(P,F,D,M,$,16,a[46]),M=d(M,P,F,D,A,23,a[47]),D=p(D,M,P,F,_,6,a[48]),F=p(F,D,M,P,L,10,a[49]),P=p(P,F,D,M,V,15,a[50]),M=p(M,P,F,D,S,21,a[51]),D=p(D,M,P,F,H,6,a[52]),F=p(F,D,M,P,x,10,a[53]),P=p(P,F,D,M,B,15,a[54]),M=p(M,P,F,D,m,21,a[55]),D=p(D,M,P,F,C,6,a[56]),F=p(F,D,M,P,$,10,a[57]),P=p(P,F,D,M,R,15,a[58]),M=p(M,P,F,D,k,21,a[59]),D=p(D,M,P,F,U,6,a[60]),F=p(F,D,M,P,N,10,a[61]),P=p(P,F,D,M,A,15,a[62]),M=p(M,P,F,D,I,21,a[63]),w[0]=w[0]+D|0,w[1]=w[1]+M|0,w[2]=w[2]+P|0,w[3]=w[3]+F|0},_doFinalize:function(){var g=this._data,y=g.words,T=this._nDataBytes*8,v=g.sigBytes*8;y[v>>>5]|=128<<24-v%32;var b=r.floor(T/4294967296),w=T;y[(v+64>>>9<<4)+15]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,y[(v+64>>>9<<4)+14]=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360,g.sigBytes=(y.length+1)*4,this._process();for(var _=this._hash,m=_.words,A=0;A<4;A++){var x=m[A];m[A]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360}return _},clone:function(){var g=u.clone.call(this);return g._hash=this._hash.clone(),g}});function l(g,y,T,v,b,w,_){var m=g+(y&T|~y&v)+b+_;return(m<<w|m>>>32-w)+y}function h(g,y,T,v,b,w,_){var m=g+(y&v|T&~v)+b+_;return(m<<w|m>>>32-w)+y}function d(g,y,T,v,b,w,_){var m=g+(y^T^v)+b+_;return(m<<w|m>>>32-w)+y}function p(g,y,T,v,b,w,_){var m=g+(T^(y|~v))+b+_;return(m<<w|m>>>32-w)+y}i.MD5=u._createHelper(c),i.HmacMD5=u._createHmacHelper(c)})(Math),n.MD5})})($o);var Ko=$o.exports;const U0=re(Ko);var Yo={exports:{}};(function(e,t){(function(n,r){e.exports=r(Ct())})(ft,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,s=r.enc;s.Base64={stringify:function(f){var a=f.words,c=f.sigBytes,l=this._map;f.clamp();for(var h=[],d=0;d<c;d+=3)for(var p=a[d>>>2]>>>24-d%4*8&255,g=a[d+1>>>2]>>>24-(d+1)%4*8&255,y=a[d+2>>>2]>>>24-(d+2)%4*8&255,T=p<<16|g<<8|y,v=0;v<4&&d+v*.75<c;v++)h.push(l.charAt(T>>>6*(3-v)&63));var b=l.charAt(64);if(b)for(;h.length%4;)h.push(b);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 d=c.charAt(64);if(d){var p=f.indexOf(d);p!==-1&&(a=p)}return u(f,a,l)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function u(f,a,c){for(var l=[],h=0,d=0;d<a;d++)if(d%4){var p=c[f.charCodeAt(d-1)]<<d%4*2,g=c[f.charCodeAt(d)]>>>6-d%4*2,y=p|g;l[h>>>2]|=y<<24-h%4*8,h++}return o.create(l,h)}})(),n.enc.Base64})})(Yo);var Wo=Yo.exports;const Jo=re(Wo);var Zo={exports:{}};(function(e,t){(function(n,r){e.exports=r(Ct())})(ft,function(n){return n.enc.Utf8})})(Zo);var H0=Zo.exports;const sr=re(H0);var Go={exports:{}},Qo={exports:{}},Xo={exports:{}},ts;function V0(){return ts||(ts=1,(function(e,t){(function(n,r){e.exports=r(Ct())})(ft,function(n){return(function(){var r=n,i=r.lib,o=i.WordArray,s=i.Hasher,u=r.algo,f=[],a=u.SHA1=s.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(c,l){for(var h=this._hash.words,d=h[0],p=h[1],g=h[2],y=h[3],T=h[4],v=0;v<80;v++){if(v<16)f[v]=c[l+v]|0;else{var b=f[v-3]^f[v-8]^f[v-14]^f[v-16];f[v]=b<<1|b>>>31}var w=(d<<5|d>>>27)+T+f[v];v<20?w+=(p&g|~p&y)+1518500249:v<40?w+=(p^g^y)+1859775393:v<60?w+=(p&g|p&y|g&y)-1894007588:w+=(p^g^y)-899497514,T=y,y=g,g=p<<30|p>>>2,p=d,d=w}h[0]=h[0]+d|0,h[1]=h[1]+p|0,h[2]=h[2]+g|0,h[3]=h[3]+y|0,h[4]=h[4]+T|0},_doFinalize:function(){var c=this._data,l=c.words,h=this._nDataBytes*8,d=c.sigBytes*8;return l[d>>>5]|=128<<24-d%32,l[(d+64>>>9<<4)+14]=Math.floor(h/4294967296),l[(d+64>>>9<<4)+15]=h,c.sigBytes=l.length*4,this._process(),this._hash},clone:function(){var c=s.clone.call(this);return c._hash=this._hash.clone(),c}});r.SHA1=s._createHelper(a),r.HmacSHA1=s._createHmacHelper(a)})(),n.SHA1})})(Xo)),Xo.exports}var es={exports:{}},ns;function $0(){return ns||(ns=1,(function(e,t){(function(n,r){e.exports=r(Ct())})(ft,function(n){(function(){var r=n,i=r.lib,o=i.Base,s=r.enc,u=s.Utf8,f=r.algo;f.HMAC=o.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 d=this._oKey=c.clone(),p=this._iKey=c.clone(),g=d.words,y=p.words,T=0;T<l;T++)g[T]^=1549556828,y[T]^=909522486;d.sigBytes=p.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}})})()})})(es)),es.exports}var rs;function is(){return rs||(rs=1,(function(e,t){(function(n,r,i){e.exports=r(Ct(),V0(),$0())})(ft,function(n){return(function(){var r=n,i=r.lib,o=i.Base,s=i.WordArray,u=r.algo,f=u.MD5,a=u.EvpKDF=o.extend({cfg:o.extend({keySize:128/32,hasher:f,iterations:1}),init:function(c){this.cfg=this.cfg.extend(c)},compute:function(c,l){for(var h,d=this.cfg,p=d.hasher.create(),g=s.create(),y=g.words,T=d.keySize,v=d.iterations;y.length<T;){h&&p.update(h),h=p.update(c).finalize(l),p.reset();for(var b=1;b<v;b++)h=p.finalize(h),p.reset();g.concat(h)}return g.sigBytes=T*4,g}});r.EvpKDF=function(c,l,h){return a.create(h).compute(c,l)}})(),n.EvpKDF})})(Qo)),Qo.exports}var os={exports:{}},ss;function z0(){return ss||(ss=1,(function(e,t){(function(n,r,i){e.exports=r(Ct(),is())})(ft,function(n){n.lib.Cipher||(function(r){var i=n,o=i.lib,s=o.Base,u=o.WordArray,f=o.BufferedBlockAlgorithm,a=i.enc;a.Utf8;var c=a.Base64,l=i.algo,h=l.EvpKDF,d=o.Cipher=f.extend({cfg:s.extend(),createEncryptor:function(S,R){return this.create(this._ENC_XFORM_MODE,S,R)},createDecryptor:function(S,R){return this.create(this._DEC_XFORM_MODE,S,R)},init:function(S,R,L){this.cfg=this.cfg.extend(L),this._xformMode=S,this._key=R,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 R=this._doFinalize();return R},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:(function(){function S(R){return typeof R=="string"?U:m}return function(R){return{encrypt:function(L,C,I){return S(C).encrypt(R,L,C,I)},decrypt:function(L,C,I){return S(C).decrypt(R,L,C,I)}}}})()});o.StreamCipher=d.extend({_doFinalize:function(){var S=this._process(!0);return S},blockSize:1});var p=i.mode={},g=o.BlockCipherMode=s.extend({createEncryptor:function(S,R){return this.Encryptor.create(S,R)},createDecryptor:function(S,R){return this.Decryptor.create(S,R)},init:function(S,R){this._cipher=S,this._iv=R}}),y=p.CBC=(function(){var S=g.extend();S.Encryptor=S.extend({processBlock:function(L,C){var I=this._cipher,B=I.blockSize;R.call(this,L,C,B),I.encryptBlock(L,C),this._prevBlock=L.slice(C,C+B)}}),S.Decryptor=S.extend({processBlock:function(L,C){var I=this._cipher,B=I.blockSize,N=L.slice(C,C+B);I.decryptBlock(L,C),R.call(this,L,C,B),this._prevBlock=N}});function R(L,C,I){var B,N=this._iv;N?(B=N,this._iv=r):B=this._prevBlock;for(var H=0;H<I;H++)L[C+H]^=B[H]}return S})(),T=i.pad={},v=T.Pkcs7={pad:function(S,R){for(var L=R*4,C=L-S.sigBytes%L,I=C<<24|C<<16|C<<8|C,B=[],N=0;N<C;N+=4)B.push(I);var H=u.create(B,C);S.concat(H)},unpad:function(S){var R=S.words[S.sigBytes-1>>>2]&255;S.sigBytes-=R}};o.BlockCipher=d.extend({cfg:d.cfg.extend({mode:y,padding:v}),reset:function(){var S;d.reset.call(this);var R=this.cfg,L=R.iv,C=R.mode;this._xformMode==this._ENC_XFORM_MODE?S=C.createEncryptor:(S=C.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==S?this._mode.init(this,L&&L.words):(this._mode=S.call(C,this,L&&L.words),this._mode.__creator=S)},_doProcessBlock:function(S,R){this._mode.processBlock(S,R)},_doFinalize:function(){var S,R=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(R.pad(this._data,this.blockSize),S=this._process(!0)):(S=this._process(!0),R.unpad(S)),S},blockSize:128/32});var b=o.CipherParams=s.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 R,L=S.ciphertext,C=S.salt;return C?R=u.create([1398893684,1701076831]).concat(C).concat(L):R=L,R.toString(c)},parse:function(S){var R,L=c.parse(S),C=L.words;return C[0]==1398893684&&C[1]==1701076831&&(R=u.create(C.slice(2,4)),C.splice(0,4),L.sigBytes-=16),b.create({ciphertext:L,salt:R})}},m=o.SerializableCipher=s.extend({cfg:s.extend({format:_}),encrypt:function(S,R,L,C){C=this.cfg.extend(C);var I=S.createEncryptor(L,C),B=I.finalize(R),N=I.cfg;return b.create({ciphertext:B,key:L,iv:N.iv,algorithm:S,mode:N.mode,padding:N.padding,blockSize:S.blockSize,formatter:C.format})},decrypt:function(S,R,L,C){C=this.cfg.extend(C),R=this._parse(R,C.format);var I=S.createDecryptor(L,C).finalize(R.ciphertext);return I},_parse:function(S,R){return typeof S=="string"?R.parse(S,this):S}}),A=i.kdf={},x=A.OpenSSL={execute:function(S,R,L,C,I){if(C||(C=u.random(64/8)),I)var B=h.create({keySize:R+L,hasher:I}).compute(S,C);else var B=h.create({keySize:R+L}).compute(S,C);var N=u.create(B.words.slice(R),L*4);return B.sigBytes=R*4,b.create({key:B,iv:N,salt:C})}},U=o.PasswordBasedCipher=m.extend({cfg:m.cfg.extend({kdf:x}),encrypt:function(S,R,L,C){C=this.cfg.extend(C);var I=C.kdf.execute(