diff --git a/news/611.bugfix.rst b/news/611.bugfix.rst new file mode 100644 index 0000000000..83cdc9e81a --- /dev/null +++ b/news/611.bugfix.rst @@ -0,0 +1 @@ +Correctly localize the start and end time in the "Stats" modal when an HTML report was generated on a different machine than the one it is being displayed on. diff --git a/src/memray/_memray.pyx b/src/memray/_memray.pyx index 9db72791b6..4c78733370 100644 --- a/src/memray/_memray.pyx +++ b/src/memray/_memray.pyx @@ -735,7 +735,7 @@ def print_greenlet_warning(): cdef millis_to_dt(millis): return datetime.fromtimestamp(millis // 1000).replace( - microsecond=millis % 1000 * 1000) + microsecond=millis % 1000 * 1000).astimezone() cdef _create_metadata(header, peak_memory): diff --git a/src/memray/reporters/assets/flamegraph.js b/src/memray/reporters/assets/flamegraph.js index d251295041..004e6dbc4c 100644 --- a/src/memray/reporters/assets/flamegraph.js +++ b/src/memray/reporters/assets/flamegraph.js @@ -101,6 +101,10 @@ function main() { window.addEventListener("popstate", handleFragments); window.addEventListener("resize", debounced(onResize)); + let statsStartTime = document.getElementById("stats-start-time"); + let statsEndTime = document.getElementById("stats-end-time"); + statsStartTime.textContent = new Date(statsStartTime.innerText); + statsEndTime.textContent = new Date(statsEndTime.innerText); // Enable tooltips $('[data-toggle-second="tooltip"]').tooltip(); $('[data-toggle="tooltip"]').tooltip(); diff --git a/src/memray/reporters/templates/assets/flamegraph.js b/src/memray/reporters/templates/assets/flamegraph.js index 1e90513122..e4b0befa36 100644 --- a/src/memray/reporters/templates/assets/flamegraph.js +++ b/src/memray/reporters/templates/assets/flamegraph.js @@ -6,4 +6,4 @@ * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors - */n=r.nmd(n),function(){var u,i="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",f=16,c=32,l=64,s=128,h=256,p=1/0,v=9007199254740991,_=NaN,g=4294967295,d=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",f],["flip",512],["partial",c],["partialRight",l],["rearg",h]],y="[object Arguments]",m="[object Array]",w="[object Boolean]",b="[object Date]",x="[object Error]",j="[object Function]",I="[object GeneratorFunction]",A="[object Map]",E="[object Number]",k="[object Object]",O="[object Promise]",B="[object RegExp]",z="[object Set]",R="[object String]",S="[object Symbol]",C="[object WeakMap]",F="[object ArrayBuffer]",L="[object DataView]",U="[object Float32Array]",W="[object Float64Array]",T="[object Int8Array]",D="[object Int16Array]",$="[object Int32Array]",M="[object Uint8Array]",P="[object Uint8ClampedArray]",N="[object Uint16Array]",q="[object Uint32Array]",Z=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,Y=RegExp(V.source),H=RegExp(J.source),X=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,nn=/<%=([\s\S]+?)%>/g,tn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rn=/^\w*$/,en=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,un=/[\\^$.*+?()[\]{}|]/g,on=RegExp(un.source),an=/^\s+/,fn=/\s/,cn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ln=/\{\n\/\* \[wrapped with (.+)\] \*/,sn=/,? & /,hn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pn=/[()=,{}\[\]\/\s]/,vn=/\\(\\)?/g,_n=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gn=/\w*$/,dn=/^[-+]0x[0-9a-f]+$/i,yn=/^0b[01]+$/i,mn=/^\[object .+?Constructor\]$/,wn=/^0o[0-7]+$/i,bn=/^(?:0|[1-9]\d*)$/,xn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,jn=/($^)/,In=/['\n\r\u2028\u2029\\]/g,An="\\ud800-\\udfff",En="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",kn="\\u2700-\\u27bf",On="a-z\\xdf-\\xf6\\xf8-\\xff",Bn="A-Z\\xc0-\\xd6\\xd8-\\xde",zn="\\ufe0e\\ufe0f",Rn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Sn="['’]",Cn="["+An+"]",Fn="["+Rn+"]",Ln="["+En+"]",Un="\\d+",Wn="["+kn+"]",Tn="["+On+"]",Dn="[^"+An+Rn+Un+kn+On+Bn+"]",$n="\\ud83c[\\udffb-\\udfff]",Mn="[^"+An+"]",Pn="(?:\\ud83c[\\udde6-\\uddff]){2}",Nn="[\\ud800-\\udbff][\\udc00-\\udfff]",qn="["+Bn+"]",Zn="\\u200d",Gn="(?:"+Tn+"|"+Dn+")",Kn="(?:"+qn+"|"+Dn+")",Vn="(?:['’](?:d|ll|m|re|s|t|ve))?",Jn="(?:['’](?:D|LL|M|RE|S|T|VE))?",Yn="(?:"+Ln+"|"+$n+")"+"?",Hn="["+zn+"]?",Xn=Hn+Yn+("(?:"+Zn+"(?:"+[Mn,Pn,Nn].join("|")+")"+Hn+Yn+")*"),Qn="(?:"+[Wn,Pn,Nn].join("|")+")"+Xn,nt="(?:"+[Mn+Ln+"?",Ln,Pn,Nn,Cn].join("|")+")",tt=RegExp(Sn,"g"),rt=RegExp(Ln,"g"),et=RegExp($n+"(?="+$n+")|"+nt+Xn,"g"),ut=RegExp([qn+"?"+Tn+"+"+Vn+"(?="+[Fn,qn,"$"].join("|")+")",Kn+"+"+Jn+"(?="+[Fn,qn+Gn,"$"].join("|")+")",qn+"?"+Gn+"+"+Vn,qn+"+"+Jn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Un,Qn].join("|"),"g"),it=RegExp("["+Zn+An+En+zn+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ft=-1,ct={};ct[U]=ct[W]=ct[T]=ct[D]=ct[$]=ct[M]=ct[P]=ct[N]=ct[q]=!0,ct[y]=ct[m]=ct[F]=ct[w]=ct[L]=ct[b]=ct[x]=ct[j]=ct[A]=ct[E]=ct[k]=ct[B]=ct[z]=ct[R]=ct[C]=!1;var lt={};lt[y]=lt[m]=lt[F]=lt[L]=lt[w]=lt[b]=lt[U]=lt[W]=lt[T]=lt[D]=lt[$]=lt[A]=lt[E]=lt[k]=lt[B]=lt[z]=lt[R]=lt[S]=lt[M]=lt[P]=lt[N]=lt[q]=!0,lt[x]=lt[j]=lt[C]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ht=parseFloat,pt=parseInt,vt="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,_t="object"==typeof self&&self&&self.Object===Object&&self,gt=vt||_t||Function("return this")(),dt=t&&!t.nodeType&&t,yt=dt&&n&&!n.nodeType&&n,mt=yt&&yt.exports===dt,wt=mt&&vt.process,bt=function(){try{var n=yt&&yt.require&&yt.require("util").types;return n||wt&&wt.binding&&wt.binding("util")}catch(n){}}(),xt=bt&&bt.isArrayBuffer,jt=bt&&bt.isDate,It=bt&&bt.isMap,At=bt&&bt.isRegExp,Et=bt&&bt.isSet,kt=bt&&bt.isTypedArray;function Ot(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Bt(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function Lt(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function ur(n,t){for(var r=n.length;r--&&qt(t,n[r],0)>-1;);return r}var ir=Jt({À:"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"}),or=Jt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ar(n){return"\\"+st[n]}function fr(n){return it.test(n)}function cr(n){var t=-1,r=Array(n.size);return n.forEach((function(n,e){r[++t]=[e,n]})),r}function lr(n,t){return function(r){return n(t(r))}}function sr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r",""":'"',"'":"'"});var yr=function n(t){var r,e=(t=null==t?gt:yr.defaults(gt.Object(),t,yr.pick(gt,at))).Array,fn=t.Date,An=t.Error,En=t.Function,kn=t.Math,On=t.Object,Bn=t.RegExp,zn=t.String,Rn=t.TypeError,Sn=e.prototype,Cn=En.prototype,Fn=On.prototype,Ln=t["__core-js_shared__"],Un=Cn.toString,Wn=Fn.hasOwnProperty,Tn=0,Dn=(r=/[^.]+$/.exec(Ln&&Ln.keys&&Ln.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",$n=Fn.toString,Mn=Un.call(On),Pn=gt._,Nn=Bn("^"+Un.call(Wn).replace(un,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qn=mt?t.Buffer:u,Zn=t.Symbol,Gn=t.Uint8Array,Kn=qn?qn.allocUnsafe:u,Vn=lr(On.getPrototypeOf,On),Jn=On.create,Yn=Fn.propertyIsEnumerable,Hn=Sn.splice,Xn=Zn?Zn.isConcatSpreadable:u,Qn=Zn?Zn.iterator:u,nt=Zn?Zn.toStringTag:u,et=function(){try{var n=hi(On,"defineProperty");return n({},"",{}),n}catch(n){}}(),it=t.clearTimeout!==gt.clearTimeout&&t.clearTimeout,st=fn&&fn.now!==gt.Date.now&&fn.now,vt=t.setTimeout!==gt.setTimeout&&t.setTimeout,_t=kn.ceil,dt=kn.floor,yt=On.getOwnPropertySymbols,wt=qn?qn.isBuffer:u,bt=t.isFinite,Mt=Sn.join,Jt=lr(On.keys,On),mr=kn.max,wr=kn.min,br=fn.now,xr=t.parseInt,jr=kn.random,Ir=Sn.reverse,Ar=hi(t,"DataView"),Er=hi(t,"Map"),kr=hi(t,"Promise"),Or=hi(t,"Set"),Br=hi(t,"WeakMap"),zr=hi(On,"create"),Rr=Br&&new Br,Sr={},Cr=Ti(Ar),Fr=Ti(Er),Lr=Ti(kr),Ur=Ti(Or),Wr=Ti(Br),Tr=Zn?Zn.prototype:u,Dr=Tr?Tr.valueOf:u,$r=Tr?Tr.toString:u;function Mr(n){if(ra(n)&&!Zo(n)&&!(n instanceof Zr)){if(n instanceof qr)return n;if(Wn.call(n,"__wrapped__"))return Di(n)}return new qr(n)}var Pr=function(){function n(){}return function(t){if(!ta(t))return{};if(Jn)return Jn(t);n.prototype=t;var r=new n;return n.prototype=u,r}}();function Nr(){}function qr(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=u}function Zr(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Gr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function ce(n,t,r,e,i,o){var a,f=1&t,c=2&t,l=4&t;if(r&&(a=i?r(n,e,i,o):r(n)),a!==u)return a;if(!ta(n))return n;var s=Zo(n);if(s){if(a=function(n){var t=n.length,r=new n.constructor(t);t&&"string"==typeof n[0]&&Wn.call(n,"index")&&(r.index=n.index,r.input=n.input);return r}(n),!f)return zu(n,a)}else{var h=_i(n),p=h==j||h==I;if(Jo(n))return Iu(n,f);if(h==k||h==y||p&&!i){if(a=c||p?{}:di(n),!f)return c?function(n,t){return Ru(n,vi(n),t)}(n,function(n,t){return n&&Ru(t,Ca(t),n)}(a,n)):function(n,t){return Ru(n,pi(n),t)}(n,ie(a,n))}else{if(!lt[h])return i?n:{};a=function(n,t,r){var e=n.constructor;switch(t){case F:return Au(n);case w:case b:return new e(+n);case L:return function(n,t){var r=t?Au(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case U:case W:case T:case D:case $:case M:case P:case N:case q:return Eu(n,r);case A:return new e;case E:case R:return new e(n);case B:return function(n){var t=new n.constructor(n.source,gn.exec(n));return t.lastIndex=n.lastIndex,t}(n);case z:return new e;case S:return u=n,Dr?On(Dr.call(u)):{}}var u}(n,h,f)}}o||(o=new Yr);var v=o.get(n);if(v)return v;o.set(n,a),aa(n)?n.forEach((function(e){a.add(ce(e,t,r,e,n,o))})):ea(n)&&n.forEach((function(e,u){a.set(u,ce(e,t,r,u,n,o))}));var _=s?u:(l?c?ii:ui:c?Ca:Sa)(n);return zt(_||n,(function(e,u){_&&(e=n[u=e]),re(a,u,ce(e,t,r,u,n,o))})),a}function le(n,t,r){var e=r.length;if(null==n)return!e;for(n=On(n);e--;){var i=r[e],o=t[i],a=n[i];if(a===u&&!(i in n)||!o(a))return!1}return!0}function se(n,t,r){if("function"!=typeof n)throw new Rn(i);return Ri((function(){n.apply(u,r)}),t)}function he(n,t,r,e){var u=-1,i=Ft,o=!0,a=n.length,f=[],c=t.length;if(!a)return f;r&&(t=Ut(t,nr(r))),e?(i=Lt,o=!1):t.length>=200&&(i=rr,o=!1,t=new Jr(t));n:for(;++u-1},Kr.prototype.set=function(n,t){var r=this.__data__,e=ee(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},Vr.prototype.clear=function(){this.size=0,this.__data__={hash:new Gr,map:new(Er||Kr),string:new Gr}},Vr.prototype.delete=function(n){var t=li(this,n).delete(n);return this.size-=t?1:0,t},Vr.prototype.get=function(n){return li(this,n).get(n)},Vr.prototype.has=function(n){return li(this,n).has(n)},Vr.prototype.set=function(n,t){var r=li(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Jr.prototype.add=Jr.prototype.push=function(n){return this.__data__.set(n,o),this},Jr.prototype.has=function(n){return this.__data__.has(n)},Yr.prototype.clear=function(){this.__data__=new Kr,this.size=0},Yr.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Yr.prototype.get=function(n){return this.__data__.get(n)},Yr.prototype.has=function(n){return this.__data__.has(n)},Yr.prototype.set=function(n,t){var r=this.__data__;if(r instanceof Kr){var e=r.__data__;if(!Er||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Vr(e)}return r.set(n,t),this.size=r.size,this};var pe=Fu(be),ve=Fu(xe,!0);function _e(n,t){var r=!0;return pe(n,(function(n,e,u){return r=!!t(n,e,u)})),r}function ge(n,t,r){for(var e=-1,i=n.length;++e0&&r(a)?t>1?ye(a,t-1,r,e,u):Wt(u,a):e||(u[u.length]=a)}return u}var me=Lu(),we=Lu(!0);function be(n,t){return n&&me(n,t,Sa)}function xe(n,t){return n&&we(n,t,Sa)}function je(n,t){return Ct(t,(function(t){return Xo(n[t])}))}function Ie(n,t){for(var r=0,e=(t=wu(t,n)).length;null!=n&&rt}function Oe(n,t){return null!=n&&Wn.call(n,t)}function Be(n,t){return null!=n&&t in On(n)}function ze(n,t,r){for(var i=r?Lt:Ft,o=n[0].length,a=n.length,f=a,c=e(a),l=1/0,s=[];f--;){var h=n[f];f&&t&&(h=Ut(h,nr(t))),l=wr(h.length,l),c[f]=!r&&(t||o>=120&&h.length>=120)?new Jr(f&&h):u}h=n[0];var p=-1,v=c[0];n:for(;++p=a?f:f*("desc"==r[e]?-1:1)}return n.index-t.index}(n,t,r)}))}function Ge(n,t,r){for(var e=-1,u=t.length,i={};++e-1;)a!==n&&Hn.call(a,f,1),Hn.call(n,f,1);return n}function Ve(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;mi(u)?Hn.call(n,u,1):hu(n,u)}}return n}function Je(n,t){return n+dt(jr()*(t-n+1))}function Ye(n,t){var r="";if(!n||t<1||t>v)return r;do{t%2&&(r+=n),(t=dt(t/2))&&(n+=n)}while(t);return r}function He(n,t){return Si(ki(n,t,uf),n+"")}function Xe(n){return Xr(Ma(n))}function Qe(n,t){var r=Ma(n);return Li(r,fe(t,0,r.length))}function nu(n,t,r,e){if(!ta(n))return n;for(var i=-1,o=(t=wu(t,n)).length,a=o-1,f=n;null!=f&&++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=e(i);++u>>1,o=n[i];null!==o&&!ca(o)&&(r?o<=t:o=200){var c=t?null:Yu(n);if(c)return hr(c);o=!1,u=rr,f=new Jr}else f=t?[]:a;n:for(;++e=e?n:uu(n,t,r)}var ju=it||function(n){return gt.clearTimeout(n)};function Iu(n,t){if(t)return n.slice();var r=n.length,e=Kn?Kn(r):new n.constructor(r);return n.copy(e),e}function Au(n){var t=new n.constructor(n.byteLength);return new Gn(t).set(new Gn(n)),t}function Eu(n,t){var r=t?Au(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function ku(n,t){if(n!==t){var r=n!==u,e=null===n,i=n==n,o=ca(n),a=t!==u,f=null===t,c=t==t,l=ca(t);if(!f&&!l&&!o&&n>t||o&&a&&c&&!f&&!l||e&&a&&c||!r&&c||!i)return 1;if(!e&&!o&&!l&&n1?r[i-1]:u,a=i>2?r[2]:u;for(o=n.length>3&&"function"==typeof o?(i--,o):u,a&&wi(r[0],r[1],a)&&(o=i<3?u:o,i=1),t=On(t);++e-1?i[o?t[a]:a]:u}}function $u(n){return ei((function(t){var r=t.length,e=r,o=qr.prototype.thru;for(n&&t.reverse();e--;){var a=t[e];if("function"!=typeof a)throw new Rn(i);if(o&&!f&&"wrapper"==ai(a))var f=new qr([],!0)}for(e=f?e:r;++e1&&w.reverse(),p&&lf))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&r?new Jr:u;for(o.set(n,t),o.set(t,n);++h-1&&n%1==0&&n1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(cn,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return zt(d,(function(r){var e="_."+r[0];t&r[1]&&!Ft(n,e)&&n.push(e)})),n.sort()}(function(n){var t=n.match(ln);return t?t[1].split(sn):[]}(e),r)))}function Fi(n){var t=0,r=0;return function(){var e=br(),i=16-(e-r);if(r=e,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(u,arguments)}}function Li(n,t){var r=-1,e=n.length,i=e-1;for(t=t===u?e:t;++r1?n[t-1]:u;return r="function"==typeof r?(n.pop(),r):u,io(n,r)}));function ho(n){var t=Mr(n);return t.__chain__=!0,t}function po(n,t){return t(n)}var vo=ei((function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,i=function(t){return ae(t,n)};return!(t>1||this.__actions__.length)&&e instanceof Zr&&mi(r)?((e=e.slice(r,+r+(t?1:0))).__actions__.push({func:po,args:[i],thisArg:u}),new qr(e,this.__chain__).thru((function(n){return t&&!n.length&&n.push(u),n}))):this.thru(i)}));var _o=Su((function(n,t,r){Wn.call(n,r)?++n[r]:oe(n,r,1)}));var go=Du(Ni),yo=Du(qi);function mo(n,t){return(Zo(n)?zt:pe)(n,ci(t,3))}function wo(n,t){return(Zo(n)?Rt:ve)(n,ci(t,3))}var bo=Su((function(n,t,r){Wn.call(n,r)?n[r].push(t):oe(n,r,[t])}));var xo=He((function(n,t,r){var u=-1,i="function"==typeof t,o=Ko(n)?e(n.length):[];return pe(n,(function(n){o[++u]=i?Ot(t,n,r):Re(n,t,r)})),o})),jo=Su((function(n,t,r){oe(n,r,t)}));function Io(n,t){return(Zo(n)?Ut:$e)(n,ci(t,3))}var Ao=Su((function(n,t,r){n[r?0:1].push(t)}),(function(){return[[],[]]}));var Eo=He((function(n,t){if(null==n)return[];var r=t.length;return r>1&&wi(n,t[0],t[1])?t=[]:r>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Ze(n,ye(t,1),[])})),ko=st||function(){return gt.Date.now()};function Oo(n,t,r){return t=r?u:t,t=n&&null==t?n.length:t,Xu(n,s,u,u,u,u,t)}function Bo(n,t){var r;if("function"!=typeof t)throw new Rn(i);return n=_a(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=u),r}}var zo=He((function(n,t,r){var e=1;if(r.length){var u=sr(r,fi(zo));e|=c}return Xu(n,e,t,r,u)})),Ro=He((function(n,t,r){var e=3;if(r.length){var u=sr(r,fi(Ro));e|=c}return Xu(t,e,n,r,u)}));function So(n,t,r){var e,o,a,f,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new Rn(i);function _(t){var r=e,i=o;return e=o=u,s=t,f=n.apply(i,r)}function g(n){var r=n-l;return l===u||r>=t||r<0||p&&n-s>=a}function d(){var n=ko();if(g(n))return y(n);c=Ri(d,function(n){var r=t-(n-l);return p?wr(r,a-(n-s)):r}(n))}function y(n){return c=u,v&&e?_(n):(e=o=u,f)}function m(){var n=ko(),r=g(n);if(e=arguments,o=this,l=n,r){if(c===u)return function(n){return s=n,c=Ri(d,t),h?_(n):f}(l);if(p)return ju(c),c=Ri(d,t),_(l)}return c===u&&(c=Ri(d,t)),f}return t=da(t)||0,ta(r)&&(h=!!r.leading,a=(p="maxWait"in r)?mr(da(r.maxWait)||0,t):a,v="trailing"in r?!!r.trailing:v),m.cancel=function(){c!==u&&ju(c),s=0,e=l=o=c=u},m.flush=function(){return c===u?f:y(ko())},m}var Co=He((function(n,t){return se(n,1,t)})),Fo=He((function(n,t,r){return se(n,da(t)||0,r)}));function Lo(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new Rn(i);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Lo.Cache||Vr),r}function Uo(n){if("function"!=typeof n)throw new Rn(i);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Lo.Cache=Vr;var Wo=bu((function(n,t){var r=(t=1==t.length&&Zo(t[0])?Ut(t[0],nr(ci())):Ut(ye(t,1),nr(ci()))).length;return He((function(e){for(var u=-1,i=wr(e.length,r);++u=t})),qo=Se(function(){return arguments}())?Se:function(n){return ra(n)&&Wn.call(n,"callee")&&!Yn.call(n,"callee")},Zo=e.isArray,Go=xt?nr(xt):function(n){return ra(n)&&Ee(n)==F};function Ko(n){return null!=n&&na(n.length)&&!Xo(n)}function Vo(n){return ra(n)&&Ko(n)}var Jo=wt||yf,Yo=jt?nr(jt):function(n){return ra(n)&&Ee(n)==b};function Ho(n){if(!ra(n))return!1;var t=Ee(n);return t==x||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!ia(n)}function Xo(n){if(!ta(n))return!1;var t=Ee(n);return t==j||t==I||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Qo(n){return"number"==typeof n&&n==_a(n)}function na(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=v}function ta(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function ra(n){return null!=n&&"object"==typeof n}var ea=It?nr(It):function(n){return ra(n)&&_i(n)==A};function ua(n){return"number"==typeof n||ra(n)&&Ee(n)==E}function ia(n){if(!ra(n)||Ee(n)!=k)return!1;var t=Vn(n);if(null===t)return!0;var r=Wn.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Un.call(r)==Mn}var oa=At?nr(At):function(n){return ra(n)&&Ee(n)==B};var aa=Et?nr(Et):function(n){return ra(n)&&_i(n)==z};function fa(n){return"string"==typeof n||!Zo(n)&&ra(n)&&Ee(n)==R}function ca(n){return"symbol"==typeof n||ra(n)&&Ee(n)==S}var la=kt?nr(kt):function(n){return ra(n)&&na(n.length)&&!!ct[Ee(n)]};var sa=Ku(De),ha=Ku((function(n,t){return n<=t}));function pa(n){if(!n)return[];if(Ko(n))return fa(n)?_r(n):zu(n);if(Qn&&n[Qn])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[Qn]());var t=_i(n);return(t==A?cr:t==z?hr:Ma)(n)}function va(n){return n?(n=da(n))===p||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function _a(n){var t=va(n),r=t%1;return t==t?r?t-r:t:0}function ga(n){return n?fe(_a(n),0,g):0}function da(n){if("number"==typeof n)return n;if(ca(n))return _;if(ta(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=ta(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=Qt(n);var r=yn.test(n);return r||wn.test(n)?pt(n.slice(2),r?2:8):dn.test(n)?_:+n}function ya(n){return Ru(n,Ca(n))}function ma(n){return null==n?"":lu(n)}var wa=Cu((function(n,t){if(Ii(t)||Ko(t))Ru(t,Sa(t),n);else for(var r in t)Wn.call(t,r)&&re(n,r,t[r])})),ba=Cu((function(n,t){Ru(t,Ca(t),n)})),xa=Cu((function(n,t,r,e){Ru(t,Ca(t),n,e)})),ja=Cu((function(n,t,r,e){Ru(t,Sa(t),n,e)})),Ia=ei(ae);var Aa=He((function(n,t){n=On(n);var r=-1,e=t.length,i=e>2?t[2]:u;for(i&&wi(t[0],t[1],i)&&(e=1);++r1),t})),Ru(n,ii(n),r),e&&(r=ce(r,7,ti));for(var u=t.length;u--;)hu(r,t[u]);return r}));var Wa=ei((function(n,t){return null==n?{}:function(n,t){return Ge(n,t,(function(t,r){return Oa(n,r)}))}(n,t)}));function Ta(n,t){if(null==n)return{};var r=Ut(ii(n),(function(n){return[n]}));return t=ci(t),Ge(n,r,(function(n,r){return t(n,r[0])}))}var Da=Hu(Sa),$a=Hu(Ca);function Ma(n){return null==n?[]:tr(n,Sa(n))}var Pa=Wu((function(n,t,r){return t=t.toLowerCase(),n+(r?Na(t):t)}));function Na(n){return Ha(ma(n).toLowerCase())}function qa(n){return(n=ma(n))&&n.replace(xn,ir).replace(rt,"")}var Za=Wu((function(n,t,r){return n+(r?"-":"")+t.toLowerCase()})),Ga=Wu((function(n,t,r){return n+(r?" ":"")+t.toLowerCase()})),Ka=Uu("toLowerCase");var Va=Wu((function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}));var Ja=Wu((function(n,t,r){return n+(r?" ":"")+Ha(t)}));var Ya=Wu((function(n,t,r){return n+(r?" ":"")+t.toUpperCase()})),Ha=Uu("toUpperCase");function Xa(n,t,r){return n=ma(n),(t=r?u:t)===u?function(n){return ot.test(n)}(n)?function(n){return n.match(ut)||[]}(n):function(n){return n.match(hn)||[]}(n):n.match(t)||[]}var Qa=He((function(n,t){try{return Ot(n,u,t)}catch(n){return Ho(n)?n:new An(n)}})),nf=ei((function(n,t){return zt(t,(function(t){t=Wi(t),oe(n,t,zo(n[t],n))})),n}));function tf(n){return function(){return n}}var rf=$u(),ef=$u(!0);function uf(n){return n}function of(n){return Ue("function"==typeof n?n:ce(n,1))}var af=He((function(n,t){return function(r){return Re(r,n,t)}})),ff=He((function(n,t){return function(r){return Re(n,r,t)}}));function cf(n,t,r){var e=Sa(t),u=je(t,e);null!=r||ta(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=je(t,Sa(t)));var i=!(ta(r)&&"chain"in r&&!r.chain),o=Xo(n);return zt(u,(function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=zu(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Wt([this.value()],arguments))})})),n}function lf(){}var sf=qu(Ut),hf=qu(St),pf=qu($t);function vf(n){return bi(n)?Vt(Wi(n)):function(n){return function(t){return Ie(t,n)}}(n)}var _f=Gu(),gf=Gu(!0);function df(){return[]}function yf(){return!1}var mf=Nu((function(n,t){return n+t}),0),wf=Ju("ceil"),bf=Nu((function(n,t){return n/t}),1),xf=Ju("floor");var jf,If=Nu((function(n,t){return n*t}),1),Af=Ju("round"),Ef=Nu((function(n,t){return n-t}),0);return Mr.after=function(n,t){if("function"!=typeof t)throw new Rn(i);return n=_a(n),function(){if(--n<1)return t.apply(this,arguments)}},Mr.ary=Oo,Mr.assign=wa,Mr.assignIn=ba,Mr.assignInWith=xa,Mr.assignWith=ja,Mr.at=Ia,Mr.before=Bo,Mr.bind=zo,Mr.bindAll=nf,Mr.bindKey=Ro,Mr.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Zo(n)?n:[n]},Mr.chain=ho,Mr.chunk=function(n,t,r){t=(r?wi(n,t,r):t===u)?1:mr(_a(t),0);var i=null==n?0:n.length;if(!i||t<1)return[];for(var o=0,a=0,f=e(_t(i/t));oi?0:i+r),(e=e===u||e>i?i:_a(e))<0&&(e+=i),e=r>e?0:ga(e);r>>0)?(n=ma(n))&&("string"==typeof t||null!=t&&!oa(t))&&!(t=lu(t))&&fr(n)?xu(_r(n),0,r):n.split(t,r):[]},Mr.spread=function(n,t){if("function"!=typeof n)throw new Rn(i);return t=null==t?0:mr(_a(t),0),He((function(r){var e=r[t],u=xu(r,0,t);return e&&Wt(u,e),Ot(n,this,u)}))},Mr.tail=function(n){var t=null==n?0:n.length;return t?uu(n,1,t):[]},Mr.take=function(n,t,r){return n&&n.length?uu(n,0,(t=r||t===u?1:_a(t))<0?0:t):[]},Mr.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?uu(n,(t=e-(t=r||t===u?1:_a(t)))<0?0:t,e):[]},Mr.takeRightWhile=function(n,t){return n&&n.length?vu(n,ci(t,3),!1,!0):[]},Mr.takeWhile=function(n,t){return n&&n.length?vu(n,ci(t,3)):[]},Mr.tap=function(n,t){return t(n),n},Mr.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new Rn(i);return ta(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),So(n,t,{leading:e,maxWait:t,trailing:u})},Mr.thru=po,Mr.toArray=pa,Mr.toPairs=Da,Mr.toPairsIn=$a,Mr.toPath=function(n){return Zo(n)?Ut(n,Wi):ca(n)?[n]:zu(Ui(ma(n)))},Mr.toPlainObject=ya,Mr.transform=function(n,t,r){var e=Zo(n),u=e||Jo(n)||la(n);if(t=ci(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:ta(n)&&Xo(i)?Pr(Vn(n)):{}}return(u?zt:be)(n,(function(n,e,u){return t(r,n,e,u)})),r},Mr.unary=function(n){return Oo(n,1)},Mr.union=to,Mr.unionBy=ro,Mr.unionWith=eo,Mr.uniq=function(n){return n&&n.length?su(n):[]},Mr.uniqBy=function(n,t){return n&&n.length?su(n,ci(t,2)):[]},Mr.uniqWith=function(n,t){return t="function"==typeof t?t:u,n&&n.length?su(n,u,t):[]},Mr.unset=function(n,t){return null==n||hu(n,t)},Mr.unzip=uo,Mr.unzipWith=io,Mr.update=function(n,t,r){return null==n?n:pu(n,t,mu(r))},Mr.updateWith=function(n,t,r,e){return e="function"==typeof e?e:u,null==n?n:pu(n,t,mu(r),e)},Mr.values=Ma,Mr.valuesIn=function(n){return null==n?[]:tr(n,Ca(n))},Mr.without=oo,Mr.words=Xa,Mr.wrap=function(n,t){return To(mu(t),n)},Mr.xor=ao,Mr.xorBy=fo,Mr.xorWith=co,Mr.zip=lo,Mr.zipObject=function(n,t){return du(n||[],t||[],re)},Mr.zipObjectDeep=function(n,t){return du(n||[],t||[],nu)},Mr.zipWith=so,Mr.entries=Da,Mr.entriesIn=$a,Mr.extend=ba,Mr.extendWith=xa,cf(Mr,Mr),Mr.add=mf,Mr.attempt=Qa,Mr.camelCase=Pa,Mr.capitalize=Na,Mr.ceil=wf,Mr.clamp=function(n,t,r){return r===u&&(r=t,t=u),r!==u&&(r=(r=da(r))==r?r:0),t!==u&&(t=(t=da(t))==t?t:0),fe(da(n),t,r)},Mr.clone=function(n){return ce(n,4)},Mr.cloneDeep=function(n){return ce(n,5)},Mr.cloneDeepWith=function(n,t){return ce(n,5,t="function"==typeof t?t:u)},Mr.cloneWith=function(n,t){return ce(n,4,t="function"==typeof t?t:u)},Mr.conformsTo=function(n,t){return null==t||le(n,t,Sa(t))},Mr.deburr=qa,Mr.defaultTo=function(n,t){return null==n||n!=n?t:n},Mr.divide=bf,Mr.endsWith=function(n,t,r){n=ma(n),t=lu(t);var e=n.length,i=r=r===u?e:fe(_a(r),0,e);return(r-=t.length)>=0&&n.slice(r,i)==t},Mr.eq=Mo,Mr.escape=function(n){return(n=ma(n))&&H.test(n)?n.replace(J,or):n},Mr.escapeRegExp=function(n){return(n=ma(n))&&on.test(n)?n.replace(un,"\\$&"):n},Mr.every=function(n,t,r){var e=Zo(n)?St:_e;return r&&wi(n,t,r)&&(t=u),e(n,ci(t,3))},Mr.find=go,Mr.findIndex=Ni,Mr.findKey=function(n,t){return Pt(n,ci(t,3),be)},Mr.findLast=yo,Mr.findLastIndex=qi,Mr.findLastKey=function(n,t){return Pt(n,ci(t,3),xe)},Mr.floor=xf,Mr.forEach=mo,Mr.forEachRight=wo,Mr.forIn=function(n,t){return null==n?n:me(n,ci(t,3),Ca)},Mr.forInRight=function(n,t){return null==n?n:we(n,ci(t,3),Ca)},Mr.forOwn=function(n,t){return n&&be(n,ci(t,3))},Mr.forOwnRight=function(n,t){return n&&xe(n,ci(t,3))},Mr.get=ka,Mr.gt=Po,Mr.gte=No,Mr.has=function(n,t){return null!=n&&gi(n,t,Oe)},Mr.hasIn=Oa,Mr.head=Gi,Mr.identity=uf,Mr.includes=function(n,t,r,e){n=Ko(n)?n:Ma(n),r=r&&!e?_a(r):0;var u=n.length;return r<0&&(r=mr(u+r,0)),fa(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&qt(n,t,r)>-1},Mr.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:_a(r);return u<0&&(u=mr(e+u,0)),qt(n,t,u)},Mr.inRange=function(n,t,r){return t=va(t),r===u?(r=t,t=0):r=va(r),function(n,t,r){return n>=wr(t,r)&&n=-9007199254740991&&n<=v},Mr.isSet=aa,Mr.isString=fa,Mr.isSymbol=ca,Mr.isTypedArray=la,Mr.isUndefined=function(n){return n===u},Mr.isWeakMap=function(n){return ra(n)&&_i(n)==C},Mr.isWeakSet=function(n){return ra(n)&&"[object WeakSet]"==Ee(n)},Mr.join=function(n,t){return null==n?"":Mt.call(n,t)},Mr.kebabCase=Za,Mr.last=Yi,Mr.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var i=e;return r!==u&&(i=(i=_a(r))<0?mr(e+i,0):wr(i,e-1)),t==t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,i):Nt(n,Gt,i,!0)},Mr.lowerCase=Ga,Mr.lowerFirst=Ka,Mr.lt=sa,Mr.lte=ha,Mr.max=function(n){return n&&n.length?ge(n,uf,ke):u},Mr.maxBy=function(n,t){return n&&n.length?ge(n,ci(t,2),ke):u},Mr.mean=function(n){return Kt(n,uf)},Mr.meanBy=function(n,t){return Kt(n,ci(t,2))},Mr.min=function(n){return n&&n.length?ge(n,uf,De):u},Mr.minBy=function(n,t){return n&&n.length?ge(n,ci(t,2),De):u},Mr.stubArray=df,Mr.stubFalse=yf,Mr.stubObject=function(){return{}},Mr.stubString=function(){return""},Mr.stubTrue=function(){return!0},Mr.multiply=If,Mr.nth=function(n,t){return n&&n.length?qe(n,_a(t)):u},Mr.noConflict=function(){return gt._===this&&(gt._=Pn),this},Mr.noop=lf,Mr.now=ko,Mr.pad=function(n,t,r){n=ma(n);var e=(t=_a(t))?vr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Zu(dt(u),r)+n+Zu(_t(u),r)},Mr.padEnd=function(n,t,r){n=ma(n);var e=(t=_a(t))?vr(n):0;return t&&et){var e=n;n=t,t=e}if(r||n%1||t%1){var i=jr();return wr(n+i*(t-n+ht("1e-"+((i+"").length-1))),t)}return Je(n,t)},Mr.reduce=function(n,t,r){var e=Zo(n)?Tt:Yt,u=arguments.length<3;return e(n,ci(t,4),r,u,pe)},Mr.reduceRight=function(n,t,r){var e=Zo(n)?Dt:Yt,u=arguments.length<3;return e(n,ci(t,4),r,u,ve)},Mr.repeat=function(n,t,r){return t=(r?wi(n,t,r):t===u)?1:_a(t),Ye(ma(n),t)},Mr.replace=function(){var n=arguments,t=ma(n[0]);return n.length<3?t:t.replace(n[1],n[2])},Mr.result=function(n,t,r){var e=-1,i=(t=wu(t,n)).length;for(i||(i=1,n=u);++ev)return[];var r=g,e=wr(n,g);t=ci(t),n-=g;for(var u=Xt(e,t);++r=o)return n;var f=r-vr(e);if(f<1)return e;var c=a?xu(a,0,f).join(""):n.slice(0,f);if(i===u)return c+e;if(a&&(f+=c.length-f),oa(i)){if(n.slice(f).search(i)){var l,s=c;for(i.global||(i=Bn(i.source,ma(gn.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===u?f:h)}}else if(n.indexOf(lu(i),f)!=f){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},Mr.unescape=function(n){return(n=ma(n))&&Y.test(n)?n.replace(V,dr):n},Mr.uniqueId=function(n){var t=++Tn;return ma(n)+t},Mr.upperCase=Ya,Mr.upperFirst=Ha,Mr.each=mo,Mr.eachRight=wo,Mr.first=Gi,cf(Mr,(jf={},be(Mr,(function(n,t){Wn.call(Mr.prototype,t)||(jf[t]=n)})),jf),{chain:!1}),Mr.VERSION="4.17.21",zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(n){Mr[n].placeholder=Mr})),zt(["drop","take"],(function(n,t){Zr.prototype[n]=function(r){r=r===u?1:mr(_a(r),0);var e=this.__filtered__&&!t?new Zr(this):this.clone();return e.__filtered__?e.__takeCount__=wr(r,e.__takeCount__):e.__views__.push({size:wr(r,g),type:n+(e.__dir__<0?"Right":"")}),e},Zr.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}})),zt(["filter","map","takeWhile"],(function(n,t){var r=t+1,e=1==r||3==r;Zr.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:ci(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}})),zt(["head","last"],(function(n,t){var r="take"+(t?"Right":"");Zr.prototype[n]=function(){return this[r](1).value()[0]}})),zt(["initial","tail"],(function(n,t){var r="drop"+(t?"":"Right");Zr.prototype[n]=function(){return this.__filtered__?new Zr(this):this[r](1)}})),Zr.prototype.compact=function(){return this.filter(uf)},Zr.prototype.find=function(n){return this.filter(n).head()},Zr.prototype.findLast=function(n){return this.reverse().find(n)},Zr.prototype.invokeMap=He((function(n,t){return"function"==typeof n?new Zr(this):this.map((function(r){return Re(r,n,t)}))})),Zr.prototype.reject=function(n){return this.filter(Uo(ci(n)))},Zr.prototype.slice=function(n,t){n=_a(n);var r=this;return r.__filtered__&&(n>0||t<0)?new Zr(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==u&&(r=(t=_a(t))<0?r.dropRight(-t):r.take(t-n)),r)},Zr.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Zr.prototype.toArray=function(){return this.take(g)},be(Zr.prototype,(function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),i=Mr[e?"take"+("last"==t?"Right":""):t],o=e||/^find/.test(t);i&&(Mr.prototype[t]=function(){var t=this.__wrapped__,a=e?[1]:arguments,f=t instanceof Zr,c=a[0],l=f||Zo(t),s=function(n){var t=i.apply(Mr,Wt([n],a));return e&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(f=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=f&&!p;if(!o&&l){t=_?t:new Zr(this);var g=n.apply(t,a);return g.__actions__.push({func:po,args:[s],thisArg:u}),new qr(g,h)}return v&&_?n.apply(this,a):(g=this.thru(s),v?e?g.value()[0]:g.value():g)})})),zt(["pop","push","shift","sort","splice","unshift"],(function(n){var t=Sn[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);Mr.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Zo(u)?u:[],n)}return this[r]((function(r){return t.apply(Zo(r)?r:[],n)}))}})),be(Zr.prototype,(function(n,t){var r=Mr[t];if(r){var e=r.name+"";Wn.call(Sr,e)||(Sr[e]=[]),Sr[e].push({name:t,func:r})}})),Sr[Mu(u,2).name]=[{name:"wrapper",func:u}],Zr.prototype.clone=function(){var n=new Zr(this.__wrapped__);return n.__actions__=zu(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=zu(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=zu(this.__views__),n},Zr.prototype.reverse=function(){if(this.__filtered__){var n=new Zr(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Zr.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=Zo(n),e=t<0,u=r?n.length:0,i=function(n,t,r){var e=-1,u=r.length;for(;++e=this.__values__.length;return{done:n,value:n?u:this.__values__[this.__index__++]}},Mr.prototype.plant=function(n){for(var t,r=this;r instanceof Nr;){var e=Di(r);e.__index__=0,e.__values__=u,t?i.__wrapped__=e:t=e;var i=e;r=r.__wrapped__}return i.__wrapped__=n,t},Mr.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Zr){var t=n;return this.__actions__.length&&(t=new Zr(this)),(t=t.reverse()).__actions__.push({func:po,args:[no],thisArg:u}),new qr(t,this.__chain__)}return this.thru(no)},Mr.prototype.toJSON=Mr.prototype.valueOf=Mr.prototype.value=function(){return _u(this.__wrapped__,this.__actions__)},Mr.prototype.first=Mr.prototype.head,Qn&&(Mr.prototype[Qn]=function(){return this}),Mr}();gt._=yr,(e=function(){return yr}.call(t,r,t,n))===u||(n.exports=e)}.call(this)},625:(n,t,r)=>{"use strict";r.d(t,{Fc:()=>h,NO:()=>l,O:()=>p,YD:()=>f,g5:()=>v,gB:()=>a,gf:()=>c,sB:()=>i,vU:()=>o});var e=r(486),u=r.n(e);function i(n){const t=n.map((n=>new Date(n[0]))),r=n.map((n=>n[1])),e=n.map((n=>n[2])),u=n.length>1?"lines":"markers";var i=[{x:t,y:r,mode:u,name:"Resident size"},{x:t,y:e,mode:u,name:"Heap size"}];Plotly.newPlot("memoryGraph",i,{xaxis:{title:{text:"Time"}},yaxis:{title:{text:"Memory Size"},tickformat:".4~s",exponentformat:"B",ticksuffix:"B"}},{responsive:!0}),Plotly.newPlot("smallMemoryGraph",i,{height:40,margin:{l:0,r:0,b:0,t:0,pad:4},plot_bgcolor:"#343a40",yaxis:{tickformat:".4~s",exponentformat:"B",ticksuffix:"B"},showlegend:!1},{responsive:!0,displayModeBar:!1}),document.getElementById("smallMemoryGraph").onclick((()=>{o()}))}function o(){setTimeout((()=>{Plotly.Plots.resize("memoryGraph"),Plotly.Plots.resize("smallMemoryGraph")}),100)}function a(n,t=1){if(Math.abs(n)<1024)return n+" B";const r=["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let e=-1;const u=10**t;do{n/=1024,++e}while(Math.round(Math.abs(n)*u)/u>=1024&&e1?"s":"";let i=`${e}
${t} total
${`${n.n_allocations} allocation${u}`}`;return!1===r&&(i=i.concat(`
Thread ID: ${n.thread_id}`)),i}function l(n,t){return function(n,t){let r=u().cloneDeep(n.children);const e=u().filter(r,(function n(r){return r.children&&r.children.length>0&&(r.children=u().filter(r.children,n)),t(r)}));return u().defaults({children:e},n)}(n,(n=>n.thread_id===t))}function s(n,t){function r(n){let e=[];if(t(n)){e=[];for(const t of n.children)e.push(...r(t));let t=u().clone(n);t.children=e,e=[t]}else for(const t of n.children)e.push(...r(t));return e}let e=[];for(let t of n.children)e.push(...r(t));return u().defaults({children:e},n)}function h(n){return s(n,(n=>n.interesting))}function p(n){return s(n,(n=>!n.import_system))}function v(n){return u().reduce(n,((n,t)=>(n.n_allocations+=t.n_allocations,n.value+=t.value,n)),{n_allocations:0,value:0})}},501:(n,t,r)=>{"use strict";r.d(t,{Cd:()=>c,Ji:()=>v,N4:()=>b,Vi:()=>I,Xx:()=>p,Z1:()=>w,bf:()=>g,cW:()=>j,ib:()=>y,sO:()=>m});var e=r(625);const u="filter_uninteresting",i="filter_import_system",o="filter_thread";var a=null;let f=new class{constructor(){this.filters={}}registerFilter(n,t){this.filters[n]=t}unRegisterFilter(n){delete this.filters[n]}drawChart(n){let t=n;_.forOwn(this.filters,(n=>{t=n(t)})),I(t),a.merge([])}};function c(){return a}function l(){return location.hash?parseInt(location.hash.substring(1),10):0}function s(){document.getElementById("resetZoomButton").disabled=0==l()}function h(n){n.id!=l()&&(history.pushState({id:n.id},n.data.name,`#${n.id}`),s())}function p(){const n=l(),t=a.findById(n);t&&(a.zoomTo(t),s())}function v(){a.inverted(this===document.getElementById("icicles")),a.resetZoom(),$('[data-toggle="tooltip"]').tooltip("hide")}function g(){a.resetZoom()}function d(){return document.getElementById("chart").clientWidth}function y(){f.drawChart(data),location.hash&&p()}function m(){const n=this.dataset.thread;"-0x1"===n?f.unRegisterFilter(o):f.registerFilter(o,(t=>{let r=(0,e.NO)(t,n);const u=(0,e.g5)(r.children);return _.defaults(u,r),r.n_allocations=u.n_allocations,r.value=u.value,r})),f.drawChart(data)}function w(){void 0===this.hideUninterestingFrames&&(this.hideUninterestingFrames=!0),!0===this.hideUninterestingFrames?(this.hideUninterestingFrames=!0,f.registerFilter(u,(n=>(0,e.Fc)(n)))):f.unRegisterFilter(u),this.hideUninterestingFrames=!this.hideUninterestingFrames,f.drawChart(data)}function b(){void 0===this.hideImportSystemFrames&&(this.hideImportSystemFrames=!0),!0===this.hideImportSystemFrames?(this.hideImportSystemFrames=!0,inverted?(data=invertedNoImportsData,temporal&&(hideImports=!0,intervals=invertedNoImportsIntervals)):f.registerFilter(i,(n=>(0,e.O)(n)))):(f.unRegisterFilter(i),data=flamegraphData,temporal&&(hideImports=!1,intervals=flamegraphIntervals)),this.hideImportSystemFrames=!this.hideImportSystemFrames,f.drawChart(data)}function x(n,t){return n.highlight?"orange":n.data.name&&n.data.location?(e=n.data.location[1],"py"==(r=void 0===e?e:e.substring(e.lastIndexOf(".")+1,e.length)||e)?d3.schemePastel1[2]:"c"==r||"cpp"==r||"h"==r?d3.schemePastel1[5]:d3.schemePastel1[8]):"#EEE";var r,e}function j(n,t){if(!0===t)return;const r=n.unique_threads;if(!r||r.length<=1)return;document.getElementById("threadsDropdown").removeAttribute("hidden");const e=document.getElementById("threadsDropdownList");for(const n of r){let t=document.createElement("a");t.className="dropdown-item",t.dataset.thread=n,t.text=n,t.onclick=m,e.appendChild(t)}}function I(n){a&&(a.destroy(),d3.selectAll(".d3-flame-graph-tip").remove()),a=flamegraph().width(d()).transitionDuration(250).transitionEase(d3.easeCubic).inverted(!0).cellHeight(20).minFrameSize(2).setColorMapper(x).onClick(h).tooltip(d3.tip().attr("class","d3-flame-graph-tip").html((n=>{const t=(0,e.gB)(n.data.value);return(0,e.gf)(n.data,t,merge_threads)})).direction((n=>{const t=(n.x1+n.x0)/2;return.25.25?"w":"n"}))),d3.select("#chart").datum(n).call(a),a.width(d())}}},t={};function r(e){var u=t[e];if(void 0!==u)return u.exports;var i=t[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return r.d(t,{a:t}),t},r.d=(n,t)=>{for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),r.nmd=n=>(n.paths=[],n.children||(n.children=[]),n),(()=>{"use strict";var n=r(625),t=r(501);function e(n){const{strings:t,nodes:r,unique_threads:e}=n,u=r.name.map(((n,e)=>({name:t[r.name[e]],location:[t[r.function[e]],t[r.filename[e]],r.lineno[e]],value:r.value[e],children:r.children[e],n_allocations:r.n_allocations[e],thread_id:t[r.thread_id[e]],interesting:0!==r.interesting[e],import_system:0!==r.import_system[e]})));for(const n of u)n.children=n.children.map((n=>u[n]));const i=u[0];return i.unique_threads=e.map((n=>t[n])),i}window.resizeMemoryGraph=n.vU,document.addEventListener("DOMContentLoaded",(function(){!function(n){const{strings:t,nodes:r,inverted_no_imports_nodes:u,unique_threads:i}=n;flamegraphData=e({strings:t,nodes:r,unique_threads:i}),invertedNoImportsData=inverted?e({strings:t,nodes:u,unique_threads:i}):null,data=flamegraphData}(packed_data),(0,n.sB)(memory_records),(0,t.cW)(data,merge_threads),(0,t.Vi)(data),location.hash&&(0,t.Xx)(),document.getElementById("icicles").onchange=t.Ji,document.getElementById("flames").onchange=t.Ji,document.getElementById("resetZoomButton").onclick=t.bf,document.getElementById("resetThreadFilterItem").onclick=t.sO,document.getElementById("hideUninteresting").onclick=t.Z1.bind(this),document.getElementById("hideImportSystem").onclick=t.N4.bind(this),t.Z1.bind(this)(),document.onkeyup=n=>{"Escape"==n.code&&(0,t.bf)()},document.getElementById("searchTerm").addEventListener("input",(()=>{const n=document.getElementById("searchTerm");(0,t.Cd)().search(n.value)})),window.addEventListener("popstate",t.Xx),window.addEventListener("resize",(0,n.YD)(t.ib)),$('[data-toggle-second="tooltip"]').tooltip(),$('[data-toggle="tooltip"]').tooltip()}))})()})(); \ No newline at end of file + */n=r.nmd(n),function(){var u,i="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",f=16,c=32,l=64,s=128,h=256,p=1/0,v=9007199254740991,_=NaN,d=4294967295,g=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",f],["flip",512],["partial",c],["partialRight",l],["rearg",h]],y="[object Arguments]",m="[object Array]",w="[object Boolean]",b="[object Date]",x="[object Error]",I="[object Function]",j="[object GeneratorFunction]",A="[object Map]",E="[object Number]",k="[object Object]",B="[object Promise]",O="[object RegExp]",z="[object Set]",R="[object String]",S="[object Symbol]",C="[object WeakMap]",F="[object ArrayBuffer]",L="[object DataView]",T="[object Float32Array]",D="[object Float64Array]",U="[object Int8Array]",W="[object Int16Array]",$="[object Int32Array]",M="[object Uint8Array]",P="[object Uint8ClampedArray]",N="[object Uint16Array]",q="[object Uint32Array]",Z=/\b__p \+= '';/g,G=/\b(__p \+=) '' \+/g,K=/(__e\(.*?\)|\b__t\)) \+\n'';/g,V=/&(?:amp|lt|gt|quot|#39);/g,J=/[&<>"']/g,Y=RegExp(V.source),H=RegExp(J.source),X=/<%-([\s\S]+?)%>/g,Q=/<%([\s\S]+?)%>/g,nn=/<%=([\s\S]+?)%>/g,tn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,rn=/^\w*$/,en=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,un=/[\\^$.*+?()[\]{}|]/g,on=RegExp(un.source),an=/^\s+/,fn=/\s/,cn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ln=/\{\n\/\* \[wrapped with (.+)\] \*/,sn=/,? & /,hn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pn=/[()=,{}\[\]\/\s]/,vn=/\\(\\)?/g,_n=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,dn=/\w*$/,gn=/^[-+]0x[0-9a-f]+$/i,yn=/^0b[01]+$/i,mn=/^\[object .+?Constructor\]$/,wn=/^0o[0-7]+$/i,bn=/^(?:0|[1-9]\d*)$/,xn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,In=/($^)/,jn=/['\n\r\u2028\u2029\\]/g,An="\\ud800-\\udfff",En="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",kn="\\u2700-\\u27bf",Bn="a-z\\xdf-\\xf6\\xf8-\\xff",On="A-Z\\xc0-\\xd6\\xd8-\\xde",zn="\\ufe0e\\ufe0f",Rn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",Sn="['’]",Cn="["+An+"]",Fn="["+Rn+"]",Ln="["+En+"]",Tn="\\d+",Dn="["+kn+"]",Un="["+Bn+"]",Wn="[^"+An+Rn+Tn+kn+Bn+On+"]",$n="\\ud83c[\\udffb-\\udfff]",Mn="[^"+An+"]",Pn="(?:\\ud83c[\\udde6-\\uddff]){2}",Nn="[\\ud800-\\udbff][\\udc00-\\udfff]",qn="["+On+"]",Zn="\\u200d",Gn="(?:"+Un+"|"+Wn+")",Kn="(?:"+qn+"|"+Wn+")",Vn="(?:['’](?:d|ll|m|re|s|t|ve))?",Jn="(?:['’](?:D|LL|M|RE|S|T|VE))?",Yn="(?:"+Ln+"|"+$n+")"+"?",Hn="["+zn+"]?",Xn=Hn+Yn+("(?:"+Zn+"(?:"+[Mn,Pn,Nn].join("|")+")"+Hn+Yn+")*"),Qn="(?:"+[Dn,Pn,Nn].join("|")+")"+Xn,nt="(?:"+[Mn+Ln+"?",Ln,Pn,Nn,Cn].join("|")+")",tt=RegExp(Sn,"g"),rt=RegExp(Ln,"g"),et=RegExp($n+"(?="+$n+")|"+nt+Xn,"g"),ut=RegExp([qn+"?"+Un+"+"+Vn+"(?="+[Fn,qn,"$"].join("|")+")",Kn+"+"+Jn+"(?="+[Fn,qn+Gn,"$"].join("|")+")",qn+"?"+Gn+"+"+Vn,qn+"+"+Jn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Tn,Qn].join("|"),"g"),it=RegExp("["+Zn+An+En+zn+"]"),ot=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,at=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ft=-1,ct={};ct[T]=ct[D]=ct[U]=ct[W]=ct[$]=ct[M]=ct[P]=ct[N]=ct[q]=!0,ct[y]=ct[m]=ct[F]=ct[w]=ct[L]=ct[b]=ct[x]=ct[I]=ct[A]=ct[E]=ct[k]=ct[O]=ct[z]=ct[R]=ct[C]=!1;var lt={};lt[y]=lt[m]=lt[F]=lt[L]=lt[w]=lt[b]=lt[T]=lt[D]=lt[U]=lt[W]=lt[$]=lt[A]=lt[E]=lt[k]=lt[O]=lt[z]=lt[R]=lt[S]=lt[M]=lt[P]=lt[N]=lt[q]=!0,lt[x]=lt[I]=lt[C]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ht=parseFloat,pt=parseInt,vt="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,_t="object"==typeof self&&self&&self.Object===Object&&self,dt=vt||_t||Function("return this")(),gt=t&&!t.nodeType&&t,yt=gt&&n&&!n.nodeType&&n,mt=yt&&yt.exports===gt,wt=mt&&vt.process,bt=function(){try{var n=yt&&yt.require&&yt.require("util").types;return n||wt&&wt.binding&&wt.binding("util")}catch(n){}}(),xt=bt&&bt.isArrayBuffer,It=bt&&bt.isDate,jt=bt&&bt.isMap,At=bt&&bt.isRegExp,Et=bt&&bt.isSet,kt=bt&&bt.isTypedArray;function Bt(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function Ot(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u-1}function Lt(n,t,r){for(var e=-1,u=null==n?0:n.length;++e-1;);return r}function ur(n,t){for(var r=n.length;r--&&qt(t,n[r],0)>-1;);return r}var ir=Jt({À:"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"}),or=Jt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ar(n){return"\\"+st[n]}function fr(n){return it.test(n)}function cr(n){var t=-1,r=Array(n.size);return n.forEach((function(n,e){r[++t]=[e,n]})),r}function lr(n,t){return function(r){return n(t(r))}}function sr(n,t){for(var r=-1,e=n.length,u=0,i=[];++r",""":'"',"'":"'"});var yr=function n(t){var r,e=(t=null==t?dt:yr.defaults(dt.Object(),t,yr.pick(dt,at))).Array,fn=t.Date,An=t.Error,En=t.Function,kn=t.Math,Bn=t.Object,On=t.RegExp,zn=t.String,Rn=t.TypeError,Sn=e.prototype,Cn=En.prototype,Fn=Bn.prototype,Ln=t["__core-js_shared__"],Tn=Cn.toString,Dn=Fn.hasOwnProperty,Un=0,Wn=(r=/[^.]+$/.exec(Ln&&Ln.keys&&Ln.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",$n=Fn.toString,Mn=Tn.call(Bn),Pn=dt._,Nn=On("^"+Tn.call(Dn).replace(un,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qn=mt?t.Buffer:u,Zn=t.Symbol,Gn=t.Uint8Array,Kn=qn?qn.allocUnsafe:u,Vn=lr(Bn.getPrototypeOf,Bn),Jn=Bn.create,Yn=Fn.propertyIsEnumerable,Hn=Sn.splice,Xn=Zn?Zn.isConcatSpreadable:u,Qn=Zn?Zn.iterator:u,nt=Zn?Zn.toStringTag:u,et=function(){try{var n=hi(Bn,"defineProperty");return n({},"",{}),n}catch(n){}}(),it=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,st=fn&&fn.now!==dt.Date.now&&fn.now,vt=t.setTimeout!==dt.setTimeout&&t.setTimeout,_t=kn.ceil,gt=kn.floor,yt=Bn.getOwnPropertySymbols,wt=qn?qn.isBuffer:u,bt=t.isFinite,Mt=Sn.join,Jt=lr(Bn.keys,Bn),mr=kn.max,wr=kn.min,br=fn.now,xr=t.parseInt,Ir=kn.random,jr=Sn.reverse,Ar=hi(t,"DataView"),Er=hi(t,"Map"),kr=hi(t,"Promise"),Br=hi(t,"Set"),Or=hi(t,"WeakMap"),zr=hi(Bn,"create"),Rr=Or&&new Or,Sr={},Cr=Ui(Ar),Fr=Ui(Er),Lr=Ui(kr),Tr=Ui(Br),Dr=Ui(Or),Ur=Zn?Zn.prototype:u,Wr=Ur?Ur.valueOf:u,$r=Ur?Ur.toString:u;function Mr(n){if(ra(n)&&!Zo(n)&&!(n instanceof Zr)){if(n instanceof qr)return n;if(Dn.call(n,"__wrapped__"))return Wi(n)}return new qr(n)}var Pr=function(){function n(){}return function(t){if(!ta(t))return{};if(Jn)return Jn(t);n.prototype=t;var r=new n;return n.prototype=u,r}}();function Nr(){}function qr(n,t){this.__wrapped__=n,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=u}function Zr(n){this.__wrapped__=n,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function Gr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t=t?n:t)),n}function ce(n,t,r,e,i,o){var a,f=1&t,c=2&t,l=4&t;if(r&&(a=i?r(n,e,i,o):r(n)),a!==u)return a;if(!ta(n))return n;var s=Zo(n);if(s){if(a=function(n){var t=n.length,r=new n.constructor(t);t&&"string"==typeof n[0]&&Dn.call(n,"index")&&(r.index=n.index,r.input=n.input);return r}(n),!f)return zu(n,a)}else{var h=_i(n),p=h==I||h==j;if(Jo(n))return ju(n,f);if(h==k||h==y||p&&!i){if(a=c||p?{}:gi(n),!f)return c?function(n,t){return Ru(n,vi(n),t)}(n,function(n,t){return n&&Ru(t,Ca(t),n)}(a,n)):function(n,t){return Ru(n,pi(n),t)}(n,ie(a,n))}else{if(!lt[h])return i?n:{};a=function(n,t,r){var e=n.constructor;switch(t){case F:return Au(n);case w:case b:return new e(+n);case L:return function(n,t){var r=t?Au(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}(n,r);case T:case D:case U:case W:case $:case M:case P:case N:case q:return Eu(n,r);case A:return new e;case E:case R:return new e(n);case O:return function(n){var t=new n.constructor(n.source,dn.exec(n));return t.lastIndex=n.lastIndex,t}(n);case z:return new e;case S:return u=n,Wr?Bn(Wr.call(u)):{}}var u}(n,h,f)}}o||(o=new Yr);var v=o.get(n);if(v)return v;o.set(n,a),aa(n)?n.forEach((function(e){a.add(ce(e,t,r,e,n,o))})):ea(n)&&n.forEach((function(e,u){a.set(u,ce(e,t,r,u,n,o))}));var _=s?u:(l?c?ii:ui:c?Ca:Sa)(n);return zt(_||n,(function(e,u){_&&(e=n[u=e]),re(a,u,ce(e,t,r,u,n,o))})),a}function le(n,t,r){var e=r.length;if(null==n)return!e;for(n=Bn(n);e--;){var i=r[e],o=t[i],a=n[i];if(a===u&&!(i in n)||!o(a))return!1}return!0}function se(n,t,r){if("function"!=typeof n)throw new Rn(i);return Ri((function(){n.apply(u,r)}),t)}function he(n,t,r,e){var u=-1,i=Ft,o=!0,a=n.length,f=[],c=t.length;if(!a)return f;r&&(t=Tt(t,nr(r))),e?(i=Lt,o=!1):t.length>=200&&(i=rr,o=!1,t=new Jr(t));n:for(;++u-1},Kr.prototype.set=function(n,t){var r=this.__data__,e=ee(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this},Vr.prototype.clear=function(){this.size=0,this.__data__={hash:new Gr,map:new(Er||Kr),string:new Gr}},Vr.prototype.delete=function(n){var t=li(this,n).delete(n);return this.size-=t?1:0,t},Vr.prototype.get=function(n){return li(this,n).get(n)},Vr.prototype.has=function(n){return li(this,n).has(n)},Vr.prototype.set=function(n,t){var r=li(this,n),e=r.size;return r.set(n,t),this.size+=r.size==e?0:1,this},Jr.prototype.add=Jr.prototype.push=function(n){return this.__data__.set(n,o),this},Jr.prototype.has=function(n){return this.__data__.has(n)},Yr.prototype.clear=function(){this.__data__=new Kr,this.size=0},Yr.prototype.delete=function(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r},Yr.prototype.get=function(n){return this.__data__.get(n)},Yr.prototype.has=function(n){return this.__data__.has(n)},Yr.prototype.set=function(n,t){var r=this.__data__;if(r instanceof Kr){var e=r.__data__;if(!Er||e.length<199)return e.push([n,t]),this.size=++r.size,this;r=this.__data__=new Vr(e)}return r.set(n,t),this.size=r.size,this};var pe=Fu(be),ve=Fu(xe,!0);function _e(n,t){var r=!0;return pe(n,(function(n,e,u){return r=!!t(n,e,u)})),r}function de(n,t,r){for(var e=-1,i=n.length;++e0&&r(a)?t>1?ye(a,t-1,r,e,u):Dt(u,a):e||(u[u.length]=a)}return u}var me=Lu(),we=Lu(!0);function be(n,t){return n&&me(n,t,Sa)}function xe(n,t){return n&&we(n,t,Sa)}function Ie(n,t){return Ct(t,(function(t){return Xo(n[t])}))}function je(n,t){for(var r=0,e=(t=wu(t,n)).length;null!=n&&rt}function Be(n,t){return null!=n&&Dn.call(n,t)}function Oe(n,t){return null!=n&&t in Bn(n)}function ze(n,t,r){for(var i=r?Lt:Ft,o=n[0].length,a=n.length,f=a,c=e(a),l=1/0,s=[];f--;){var h=n[f];f&&t&&(h=Tt(h,nr(t))),l=wr(h.length,l),c[f]=!r&&(t||o>=120&&h.length>=120)?new Jr(f&&h):u}h=n[0];var p=-1,v=c[0];n:for(;++p=a?f:f*("desc"==r[e]?-1:1)}return n.index-t.index}(n,t,r)}))}function Ge(n,t,r){for(var e=-1,u=t.length,i={};++e-1;)a!==n&&Hn.call(a,f,1),Hn.call(n,f,1);return n}function Ve(n,t){for(var r=n?t.length:0,e=r-1;r--;){var u=t[r];if(r==e||u!==i){var i=u;mi(u)?Hn.call(n,u,1):hu(n,u)}}return n}function Je(n,t){return n+gt(Ir()*(t-n+1))}function Ye(n,t){var r="";if(!n||t<1||t>v)return r;do{t%2&&(r+=n),(t=gt(t/2))&&(n+=n)}while(t);return r}function He(n,t){return Si(ki(n,t,uf),n+"")}function Xe(n){return Xr(Ma(n))}function Qe(n,t){var r=Ma(n);return Li(r,fe(t,0,r.length))}function nu(n,t,r,e){if(!ta(n))return n;for(var i=-1,o=(t=wu(t,n)).length,a=o-1,f=n;null!=f&&++ii?0:i+t),(r=r>i?i:r)<0&&(r+=i),i=t>r?0:r-t>>>0,t>>>=0;for(var o=e(i);++u>>1,o=n[i];null!==o&&!ca(o)&&(r?o<=t:o=200){var c=t?null:Yu(n);if(c)return hr(c);o=!1,u=rr,f=new Jr}else f=t?[]:a;n:for(;++e=e?n:uu(n,t,r)}var Iu=it||function(n){return dt.clearTimeout(n)};function ju(n,t){if(t)return n.slice();var r=n.length,e=Kn?Kn(r):new n.constructor(r);return n.copy(e),e}function Au(n){var t=new n.constructor(n.byteLength);return new Gn(t).set(new Gn(n)),t}function Eu(n,t){var r=t?Au(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function ku(n,t){if(n!==t){var r=n!==u,e=null===n,i=n==n,o=ca(n),a=t!==u,f=null===t,c=t==t,l=ca(t);if(!f&&!l&&!o&&n>t||o&&a&&c&&!f&&!l||e&&a&&c||!r&&c||!i)return 1;if(!e&&!o&&!l&&n1?r[i-1]:u,a=i>2?r[2]:u;for(o=n.length>3&&"function"==typeof o?(i--,o):u,a&&wi(r[0],r[1],a)&&(o=i<3?u:o,i=1),t=Bn(t);++e-1?i[o?t[a]:a]:u}}function $u(n){return ei((function(t){var r=t.length,e=r,o=qr.prototype.thru;for(n&&t.reverse();e--;){var a=t[e];if("function"!=typeof a)throw new Rn(i);if(o&&!f&&"wrapper"==ai(a))var f=new qr([],!0)}for(e=f?e:r;++e1&&w.reverse(),p&&lf))return!1;var l=o.get(n),s=o.get(t);if(l&&s)return l==t&&s==n;var h=-1,p=!0,v=2&r?new Jr:u;for(o.set(n,t),o.set(t,n);++h-1&&n%1==0&&n1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(cn,"{\n/* [wrapped with "+t+"] */\n")}(e,function(n,t){return zt(g,(function(r){var e="_."+r[0];t&r[1]&&!Ft(n,e)&&n.push(e)})),n.sort()}(function(n){var t=n.match(ln);return t?t[1].split(sn):[]}(e),r)))}function Fi(n){var t=0,r=0;return function(){var e=br(),i=16-(e-r);if(r=e,i>0){if(++t>=800)return arguments[0]}else t=0;return n.apply(u,arguments)}}function Li(n,t){var r=-1,e=n.length,i=e-1;for(t=t===u?e:t;++r1?n[t-1]:u;return r="function"==typeof r?(n.pop(),r):u,io(n,r)}));function ho(n){var t=Mr(n);return t.__chain__=!0,t}function po(n,t){return t(n)}var vo=ei((function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,i=function(t){return ae(t,n)};return!(t>1||this.__actions__.length)&&e instanceof Zr&&mi(r)?((e=e.slice(r,+r+(t?1:0))).__actions__.push({func:po,args:[i],thisArg:u}),new qr(e,this.__chain__).thru((function(n){return t&&!n.length&&n.push(u),n}))):this.thru(i)}));var _o=Su((function(n,t,r){Dn.call(n,r)?++n[r]:oe(n,r,1)}));var go=Wu(Ni),yo=Wu(qi);function mo(n,t){return(Zo(n)?zt:pe)(n,ci(t,3))}function wo(n,t){return(Zo(n)?Rt:ve)(n,ci(t,3))}var bo=Su((function(n,t,r){Dn.call(n,r)?n[r].push(t):oe(n,r,[t])}));var xo=He((function(n,t,r){var u=-1,i="function"==typeof t,o=Ko(n)?e(n.length):[];return pe(n,(function(n){o[++u]=i?Bt(t,n,r):Re(n,t,r)})),o})),Io=Su((function(n,t,r){oe(n,r,t)}));function jo(n,t){return(Zo(n)?Tt:$e)(n,ci(t,3))}var Ao=Su((function(n,t,r){n[r?0:1].push(t)}),(function(){return[[],[]]}));var Eo=He((function(n,t){if(null==n)return[];var r=t.length;return r>1&&wi(n,t[0],t[1])?t=[]:r>2&&wi(t[0],t[1],t[2])&&(t=[t[0]]),Ze(n,ye(t,1),[])})),ko=st||function(){return dt.Date.now()};function Bo(n,t,r){return t=r?u:t,t=n&&null==t?n.length:t,Xu(n,s,u,u,u,u,t)}function Oo(n,t){var r;if("function"!=typeof t)throw new Rn(i);return n=_a(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=u),r}}var zo=He((function(n,t,r){var e=1;if(r.length){var u=sr(r,fi(zo));e|=c}return Xu(n,e,t,r,u)})),Ro=He((function(n,t,r){var e=3;if(r.length){var u=sr(r,fi(Ro));e|=c}return Xu(t,e,n,r,u)}));function So(n,t,r){var e,o,a,f,c,l,s=0,h=!1,p=!1,v=!0;if("function"!=typeof n)throw new Rn(i);function _(t){var r=e,i=o;return e=o=u,s=t,f=n.apply(i,r)}function d(n){var r=n-l;return l===u||r>=t||r<0||p&&n-s>=a}function g(){var n=ko();if(d(n))return y(n);c=Ri(g,function(n){var r=t-(n-l);return p?wr(r,a-(n-s)):r}(n))}function y(n){return c=u,v&&e?_(n):(e=o=u,f)}function m(){var n=ko(),r=d(n);if(e=arguments,o=this,l=n,r){if(c===u)return function(n){return s=n,c=Ri(g,t),h?_(n):f}(l);if(p)return Iu(c),c=Ri(g,t),_(l)}return c===u&&(c=Ri(g,t)),f}return t=ga(t)||0,ta(r)&&(h=!!r.leading,a=(p="maxWait"in r)?mr(ga(r.maxWait)||0,t):a,v="trailing"in r?!!r.trailing:v),m.cancel=function(){c!==u&&Iu(c),s=0,e=l=o=c=u},m.flush=function(){return c===u?f:y(ko())},m}var Co=He((function(n,t){return se(n,1,t)})),Fo=He((function(n,t,r){return se(n,ga(t)||0,r)}));function Lo(n,t){if("function"!=typeof n||null!=t&&"function"!=typeof t)throw new Rn(i);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Lo.Cache||Vr),r}function To(n){if("function"!=typeof n)throw new Rn(i);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}Lo.Cache=Vr;var Do=bu((function(n,t){var r=(t=1==t.length&&Zo(t[0])?Tt(t[0],nr(ci())):Tt(ye(t,1),nr(ci()))).length;return He((function(e){for(var u=-1,i=wr(e.length,r);++u=t})),qo=Se(function(){return arguments}())?Se:function(n){return ra(n)&&Dn.call(n,"callee")&&!Yn.call(n,"callee")},Zo=e.isArray,Go=xt?nr(xt):function(n){return ra(n)&&Ee(n)==F};function Ko(n){return null!=n&&na(n.length)&&!Xo(n)}function Vo(n){return ra(n)&&Ko(n)}var Jo=wt||yf,Yo=It?nr(It):function(n){return ra(n)&&Ee(n)==b};function Ho(n){if(!ra(n))return!1;var t=Ee(n);return t==x||"[object DOMException]"==t||"string"==typeof n.message&&"string"==typeof n.name&&!ia(n)}function Xo(n){if(!ta(n))return!1;var t=Ee(n);return t==I||t==j||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Qo(n){return"number"==typeof n&&n==_a(n)}function na(n){return"number"==typeof n&&n>-1&&n%1==0&&n<=v}function ta(n){var t=typeof n;return null!=n&&("object"==t||"function"==t)}function ra(n){return null!=n&&"object"==typeof n}var ea=jt?nr(jt):function(n){return ra(n)&&_i(n)==A};function ua(n){return"number"==typeof n||ra(n)&&Ee(n)==E}function ia(n){if(!ra(n)||Ee(n)!=k)return!1;var t=Vn(n);if(null===t)return!0;var r=Dn.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Tn.call(r)==Mn}var oa=At?nr(At):function(n){return ra(n)&&Ee(n)==O};var aa=Et?nr(Et):function(n){return ra(n)&&_i(n)==z};function fa(n){return"string"==typeof n||!Zo(n)&&ra(n)&&Ee(n)==R}function ca(n){return"symbol"==typeof n||ra(n)&&Ee(n)==S}var la=kt?nr(kt):function(n){return ra(n)&&na(n.length)&&!!ct[Ee(n)]};var sa=Ku(We),ha=Ku((function(n,t){return n<=t}));function pa(n){if(!n)return[];if(Ko(n))return fa(n)?_r(n):zu(n);if(Qn&&n[Qn])return function(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}(n[Qn]());var t=_i(n);return(t==A?cr:t==z?hr:Ma)(n)}function va(n){return n?(n=ga(n))===p||n===-1/0?17976931348623157e292*(n<0?-1:1):n==n?n:0:0===n?n:0}function _a(n){var t=va(n),r=t%1;return t==t?r?t-r:t:0}function da(n){return n?fe(_a(n),0,d):0}function ga(n){if("number"==typeof n)return n;if(ca(n))return _;if(ta(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=ta(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=Qt(n);var r=yn.test(n);return r||wn.test(n)?pt(n.slice(2),r?2:8):gn.test(n)?_:+n}function ya(n){return Ru(n,Ca(n))}function ma(n){return null==n?"":lu(n)}var wa=Cu((function(n,t){if(ji(t)||Ko(t))Ru(t,Sa(t),n);else for(var r in t)Dn.call(t,r)&&re(n,r,t[r])})),ba=Cu((function(n,t){Ru(t,Ca(t),n)})),xa=Cu((function(n,t,r,e){Ru(t,Ca(t),n,e)})),Ia=Cu((function(n,t,r,e){Ru(t,Sa(t),n,e)})),ja=ei(ae);var Aa=He((function(n,t){n=Bn(n);var r=-1,e=t.length,i=e>2?t[2]:u;for(i&&wi(t[0],t[1],i)&&(e=1);++r1),t})),Ru(n,ii(n),r),e&&(r=ce(r,7,ti));for(var u=t.length;u--;)hu(r,t[u]);return r}));var Da=ei((function(n,t){return null==n?{}:function(n,t){return Ge(n,t,(function(t,r){return Ba(n,r)}))}(n,t)}));function Ua(n,t){if(null==n)return{};var r=Tt(ii(n),(function(n){return[n]}));return t=ci(t),Ge(n,r,(function(n,r){return t(n,r[0])}))}var Wa=Hu(Sa),$a=Hu(Ca);function Ma(n){return null==n?[]:tr(n,Sa(n))}var Pa=Du((function(n,t,r){return t=t.toLowerCase(),n+(r?Na(t):t)}));function Na(n){return Ha(ma(n).toLowerCase())}function qa(n){return(n=ma(n))&&n.replace(xn,ir).replace(rt,"")}var Za=Du((function(n,t,r){return n+(r?"-":"")+t.toLowerCase()})),Ga=Du((function(n,t,r){return n+(r?" ":"")+t.toLowerCase()})),Ka=Tu("toLowerCase");var Va=Du((function(n,t,r){return n+(r?"_":"")+t.toLowerCase()}));var Ja=Du((function(n,t,r){return n+(r?" ":"")+Ha(t)}));var Ya=Du((function(n,t,r){return n+(r?" ":"")+t.toUpperCase()})),Ha=Tu("toUpperCase");function Xa(n,t,r){return n=ma(n),(t=r?u:t)===u?function(n){return ot.test(n)}(n)?function(n){return n.match(ut)||[]}(n):function(n){return n.match(hn)||[]}(n):n.match(t)||[]}var Qa=He((function(n,t){try{return Bt(n,u,t)}catch(n){return Ho(n)?n:new An(n)}})),nf=ei((function(n,t){return zt(t,(function(t){t=Di(t),oe(n,t,zo(n[t],n))})),n}));function tf(n){return function(){return n}}var rf=$u(),ef=$u(!0);function uf(n){return n}function of(n){return Te("function"==typeof n?n:ce(n,1))}var af=He((function(n,t){return function(r){return Re(r,n,t)}})),ff=He((function(n,t){return function(r){return Re(n,r,t)}}));function cf(n,t,r){var e=Sa(t),u=Ie(t,e);null!=r||ta(t)&&(u.length||!e.length)||(r=t,t=n,n=this,u=Ie(t,Sa(t)));var i=!(ta(r)&&"chain"in r&&!r.chain),o=Xo(n);return zt(u,(function(r){var e=t[r];n[r]=e,o&&(n.prototype[r]=function(){var t=this.__chain__;if(i||t){var r=n(this.__wrapped__);return(r.__actions__=zu(this.__actions__)).push({func:e,args:arguments,thisArg:n}),r.__chain__=t,r}return e.apply(n,Dt([this.value()],arguments))})})),n}function lf(){}var sf=qu(Tt),hf=qu(St),pf=qu($t);function vf(n){return bi(n)?Vt(Di(n)):function(n){return function(t){return je(t,n)}}(n)}var _f=Gu(),df=Gu(!0);function gf(){return[]}function yf(){return!1}var mf=Nu((function(n,t){return n+t}),0),wf=Ju("ceil"),bf=Nu((function(n,t){return n/t}),1),xf=Ju("floor");var If,jf=Nu((function(n,t){return n*t}),1),Af=Ju("round"),Ef=Nu((function(n,t){return n-t}),0);return Mr.after=function(n,t){if("function"!=typeof t)throw new Rn(i);return n=_a(n),function(){if(--n<1)return t.apply(this,arguments)}},Mr.ary=Bo,Mr.assign=wa,Mr.assignIn=ba,Mr.assignInWith=xa,Mr.assignWith=Ia,Mr.at=ja,Mr.before=Oo,Mr.bind=zo,Mr.bindAll=nf,Mr.bindKey=Ro,Mr.castArray=function(){if(!arguments.length)return[];var n=arguments[0];return Zo(n)?n:[n]},Mr.chain=ho,Mr.chunk=function(n,t,r){t=(r?wi(n,t,r):t===u)?1:mr(_a(t),0);var i=null==n?0:n.length;if(!i||t<1)return[];for(var o=0,a=0,f=e(_t(i/t));oi?0:i+r),(e=e===u||e>i?i:_a(e))<0&&(e+=i),e=r>e?0:da(e);r>>0)?(n=ma(n))&&("string"==typeof t||null!=t&&!oa(t))&&!(t=lu(t))&&fr(n)?xu(_r(n),0,r):n.split(t,r):[]},Mr.spread=function(n,t){if("function"!=typeof n)throw new Rn(i);return t=null==t?0:mr(_a(t),0),He((function(r){var e=r[t],u=xu(r,0,t);return e&&Dt(u,e),Bt(n,this,u)}))},Mr.tail=function(n){var t=null==n?0:n.length;return t?uu(n,1,t):[]},Mr.take=function(n,t,r){return n&&n.length?uu(n,0,(t=r||t===u?1:_a(t))<0?0:t):[]},Mr.takeRight=function(n,t,r){var e=null==n?0:n.length;return e?uu(n,(t=e-(t=r||t===u?1:_a(t)))<0?0:t,e):[]},Mr.takeRightWhile=function(n,t){return n&&n.length?vu(n,ci(t,3),!1,!0):[]},Mr.takeWhile=function(n,t){return n&&n.length?vu(n,ci(t,3)):[]},Mr.tap=function(n,t){return t(n),n},Mr.throttle=function(n,t,r){var e=!0,u=!0;if("function"!=typeof n)throw new Rn(i);return ta(r)&&(e="leading"in r?!!r.leading:e,u="trailing"in r?!!r.trailing:u),So(n,t,{leading:e,maxWait:t,trailing:u})},Mr.thru=po,Mr.toArray=pa,Mr.toPairs=Wa,Mr.toPairsIn=$a,Mr.toPath=function(n){return Zo(n)?Tt(n,Di):ca(n)?[n]:zu(Ti(ma(n)))},Mr.toPlainObject=ya,Mr.transform=function(n,t,r){var e=Zo(n),u=e||Jo(n)||la(n);if(t=ci(t,4),null==r){var i=n&&n.constructor;r=u?e?new i:[]:ta(n)&&Xo(i)?Pr(Vn(n)):{}}return(u?zt:be)(n,(function(n,e,u){return t(r,n,e,u)})),r},Mr.unary=function(n){return Bo(n,1)},Mr.union=to,Mr.unionBy=ro,Mr.unionWith=eo,Mr.uniq=function(n){return n&&n.length?su(n):[]},Mr.uniqBy=function(n,t){return n&&n.length?su(n,ci(t,2)):[]},Mr.uniqWith=function(n,t){return t="function"==typeof t?t:u,n&&n.length?su(n,u,t):[]},Mr.unset=function(n,t){return null==n||hu(n,t)},Mr.unzip=uo,Mr.unzipWith=io,Mr.update=function(n,t,r){return null==n?n:pu(n,t,mu(r))},Mr.updateWith=function(n,t,r,e){return e="function"==typeof e?e:u,null==n?n:pu(n,t,mu(r),e)},Mr.values=Ma,Mr.valuesIn=function(n){return null==n?[]:tr(n,Ca(n))},Mr.without=oo,Mr.words=Xa,Mr.wrap=function(n,t){return Uo(mu(t),n)},Mr.xor=ao,Mr.xorBy=fo,Mr.xorWith=co,Mr.zip=lo,Mr.zipObject=function(n,t){return gu(n||[],t||[],re)},Mr.zipObjectDeep=function(n,t){return gu(n||[],t||[],nu)},Mr.zipWith=so,Mr.entries=Wa,Mr.entriesIn=$a,Mr.extend=ba,Mr.extendWith=xa,cf(Mr,Mr),Mr.add=mf,Mr.attempt=Qa,Mr.camelCase=Pa,Mr.capitalize=Na,Mr.ceil=wf,Mr.clamp=function(n,t,r){return r===u&&(r=t,t=u),r!==u&&(r=(r=ga(r))==r?r:0),t!==u&&(t=(t=ga(t))==t?t:0),fe(ga(n),t,r)},Mr.clone=function(n){return ce(n,4)},Mr.cloneDeep=function(n){return ce(n,5)},Mr.cloneDeepWith=function(n,t){return ce(n,5,t="function"==typeof t?t:u)},Mr.cloneWith=function(n,t){return ce(n,4,t="function"==typeof t?t:u)},Mr.conformsTo=function(n,t){return null==t||le(n,t,Sa(t))},Mr.deburr=qa,Mr.defaultTo=function(n,t){return null==n||n!=n?t:n},Mr.divide=bf,Mr.endsWith=function(n,t,r){n=ma(n),t=lu(t);var e=n.length,i=r=r===u?e:fe(_a(r),0,e);return(r-=t.length)>=0&&n.slice(r,i)==t},Mr.eq=Mo,Mr.escape=function(n){return(n=ma(n))&&H.test(n)?n.replace(J,or):n},Mr.escapeRegExp=function(n){return(n=ma(n))&&on.test(n)?n.replace(un,"\\$&"):n},Mr.every=function(n,t,r){var e=Zo(n)?St:_e;return r&&wi(n,t,r)&&(t=u),e(n,ci(t,3))},Mr.find=go,Mr.findIndex=Ni,Mr.findKey=function(n,t){return Pt(n,ci(t,3),be)},Mr.findLast=yo,Mr.findLastIndex=qi,Mr.findLastKey=function(n,t){return Pt(n,ci(t,3),xe)},Mr.floor=xf,Mr.forEach=mo,Mr.forEachRight=wo,Mr.forIn=function(n,t){return null==n?n:me(n,ci(t,3),Ca)},Mr.forInRight=function(n,t){return null==n?n:we(n,ci(t,3),Ca)},Mr.forOwn=function(n,t){return n&&be(n,ci(t,3))},Mr.forOwnRight=function(n,t){return n&&xe(n,ci(t,3))},Mr.get=ka,Mr.gt=Po,Mr.gte=No,Mr.has=function(n,t){return null!=n&&di(n,t,Be)},Mr.hasIn=Ba,Mr.head=Gi,Mr.identity=uf,Mr.includes=function(n,t,r,e){n=Ko(n)?n:Ma(n),r=r&&!e?_a(r):0;var u=n.length;return r<0&&(r=mr(u+r,0)),fa(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&qt(n,t,r)>-1},Mr.indexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:_a(r);return u<0&&(u=mr(e+u,0)),qt(n,t,u)},Mr.inRange=function(n,t,r){return t=va(t),r===u?(r=t,t=0):r=va(r),function(n,t,r){return n>=wr(t,r)&&n=-9007199254740991&&n<=v},Mr.isSet=aa,Mr.isString=fa,Mr.isSymbol=ca,Mr.isTypedArray=la,Mr.isUndefined=function(n){return n===u},Mr.isWeakMap=function(n){return ra(n)&&_i(n)==C},Mr.isWeakSet=function(n){return ra(n)&&"[object WeakSet]"==Ee(n)},Mr.join=function(n,t){return null==n?"":Mt.call(n,t)},Mr.kebabCase=Za,Mr.last=Yi,Mr.lastIndexOf=function(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var i=e;return r!==u&&(i=(i=_a(r))<0?mr(e+i,0):wr(i,e-1)),t==t?function(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}(n,t,i):Nt(n,Gt,i,!0)},Mr.lowerCase=Ga,Mr.lowerFirst=Ka,Mr.lt=sa,Mr.lte=ha,Mr.max=function(n){return n&&n.length?de(n,uf,ke):u},Mr.maxBy=function(n,t){return n&&n.length?de(n,ci(t,2),ke):u},Mr.mean=function(n){return Kt(n,uf)},Mr.meanBy=function(n,t){return Kt(n,ci(t,2))},Mr.min=function(n){return n&&n.length?de(n,uf,We):u},Mr.minBy=function(n,t){return n&&n.length?de(n,ci(t,2),We):u},Mr.stubArray=gf,Mr.stubFalse=yf,Mr.stubObject=function(){return{}},Mr.stubString=function(){return""},Mr.stubTrue=function(){return!0},Mr.multiply=jf,Mr.nth=function(n,t){return n&&n.length?qe(n,_a(t)):u},Mr.noConflict=function(){return dt._===this&&(dt._=Pn),this},Mr.noop=lf,Mr.now=ko,Mr.pad=function(n,t,r){n=ma(n);var e=(t=_a(t))?vr(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return Zu(gt(u),r)+n+Zu(_t(u),r)},Mr.padEnd=function(n,t,r){n=ma(n);var e=(t=_a(t))?vr(n):0;return t&&et){var e=n;n=t,t=e}if(r||n%1||t%1){var i=Ir();return wr(n+i*(t-n+ht("1e-"+((i+"").length-1))),t)}return Je(n,t)},Mr.reduce=function(n,t,r){var e=Zo(n)?Ut:Yt,u=arguments.length<3;return e(n,ci(t,4),r,u,pe)},Mr.reduceRight=function(n,t,r){var e=Zo(n)?Wt:Yt,u=arguments.length<3;return e(n,ci(t,4),r,u,ve)},Mr.repeat=function(n,t,r){return t=(r?wi(n,t,r):t===u)?1:_a(t),Ye(ma(n),t)},Mr.replace=function(){var n=arguments,t=ma(n[0]);return n.length<3?t:t.replace(n[1],n[2])},Mr.result=function(n,t,r){var e=-1,i=(t=wu(t,n)).length;for(i||(i=1,n=u);++ev)return[];var r=d,e=wr(n,d);t=ci(t),n-=d;for(var u=Xt(e,t);++r=o)return n;var f=r-vr(e);if(f<1)return e;var c=a?xu(a,0,f).join(""):n.slice(0,f);if(i===u)return c+e;if(a&&(f+=c.length-f),oa(i)){if(n.slice(f).search(i)){var l,s=c;for(i.global||(i=On(i.source,ma(dn.exec(i))+"g")),i.lastIndex=0;l=i.exec(s);)var h=l.index;c=c.slice(0,h===u?f:h)}}else if(n.indexOf(lu(i),f)!=f){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+e},Mr.unescape=function(n){return(n=ma(n))&&Y.test(n)?n.replace(V,gr):n},Mr.uniqueId=function(n){var t=++Un;return ma(n)+t},Mr.upperCase=Ya,Mr.upperFirst=Ha,Mr.each=mo,Mr.eachRight=wo,Mr.first=Gi,cf(Mr,(If={},be(Mr,(function(n,t){Dn.call(Mr.prototype,t)||(If[t]=n)})),If),{chain:!1}),Mr.VERSION="4.17.21",zt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(n){Mr[n].placeholder=Mr})),zt(["drop","take"],(function(n,t){Zr.prototype[n]=function(r){r=r===u?1:mr(_a(r),0);var e=this.__filtered__&&!t?new Zr(this):this.clone();return e.__filtered__?e.__takeCount__=wr(r,e.__takeCount__):e.__views__.push({size:wr(r,d),type:n+(e.__dir__<0?"Right":"")}),e},Zr.prototype[n+"Right"]=function(t){return this.reverse()[n](t).reverse()}})),zt(["filter","map","takeWhile"],(function(n,t){var r=t+1,e=1==r||3==r;Zr.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:ci(n,3),type:r}),t.__filtered__=t.__filtered__||e,t}})),zt(["head","last"],(function(n,t){var r="take"+(t?"Right":"");Zr.prototype[n]=function(){return this[r](1).value()[0]}})),zt(["initial","tail"],(function(n,t){var r="drop"+(t?"":"Right");Zr.prototype[n]=function(){return this.__filtered__?new Zr(this):this[r](1)}})),Zr.prototype.compact=function(){return this.filter(uf)},Zr.prototype.find=function(n){return this.filter(n).head()},Zr.prototype.findLast=function(n){return this.reverse().find(n)},Zr.prototype.invokeMap=He((function(n,t){return"function"==typeof n?new Zr(this):this.map((function(r){return Re(r,n,t)}))})),Zr.prototype.reject=function(n){return this.filter(To(ci(n)))},Zr.prototype.slice=function(n,t){n=_a(n);var r=this;return r.__filtered__&&(n>0||t<0)?new Zr(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==u&&(r=(t=_a(t))<0?r.dropRight(-t):r.take(t-n)),r)},Zr.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Zr.prototype.toArray=function(){return this.take(d)},be(Zr.prototype,(function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),i=Mr[e?"take"+("last"==t?"Right":""):t],o=e||/^find/.test(t);i&&(Mr.prototype[t]=function(){var t=this.__wrapped__,a=e?[1]:arguments,f=t instanceof Zr,c=a[0],l=f||Zo(t),s=function(n){var t=i.apply(Mr,Dt([n],a));return e&&h?t[0]:t};l&&r&&"function"==typeof c&&1!=c.length&&(f=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=f&&!p;if(!o&&l){t=_?t:new Zr(this);var d=n.apply(t,a);return d.__actions__.push({func:po,args:[s],thisArg:u}),new qr(d,h)}return v&&_?n.apply(this,a):(d=this.thru(s),v?e?d.value()[0]:d.value():d)})})),zt(["pop","push","shift","sort","splice","unshift"],(function(n){var t=Sn[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);Mr.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(Zo(u)?u:[],n)}return this[r]((function(r){return t.apply(Zo(r)?r:[],n)}))}})),be(Zr.prototype,(function(n,t){var r=Mr[t];if(r){var e=r.name+"";Dn.call(Sr,e)||(Sr[e]=[]),Sr[e].push({name:t,func:r})}})),Sr[Mu(u,2).name]=[{name:"wrapper",func:u}],Zr.prototype.clone=function(){var n=new Zr(this.__wrapped__);return n.__actions__=zu(this.__actions__),n.__dir__=this.__dir__,n.__filtered__=this.__filtered__,n.__iteratees__=zu(this.__iteratees__),n.__takeCount__=this.__takeCount__,n.__views__=zu(this.__views__),n},Zr.prototype.reverse=function(){if(this.__filtered__){var n=new Zr(this);n.__dir__=-1,n.__filtered__=!0}else(n=this.clone()).__dir__*=-1;return n},Zr.prototype.value=function(){var n=this.__wrapped__.value(),t=this.__dir__,r=Zo(n),e=t<0,u=r?n.length:0,i=function(n,t,r){var e=-1,u=r.length;for(;++e=this.__values__.length;return{done:n,value:n?u:this.__values__[this.__index__++]}},Mr.prototype.plant=function(n){for(var t,r=this;r instanceof Nr;){var e=Wi(r);e.__index__=0,e.__values__=u,t?i.__wrapped__=e:t=e;var i=e;r=r.__wrapped__}return i.__wrapped__=n,t},Mr.prototype.reverse=function(){var n=this.__wrapped__;if(n instanceof Zr){var t=n;return this.__actions__.length&&(t=new Zr(this)),(t=t.reverse()).__actions__.push({func:po,args:[no],thisArg:u}),new qr(t,this.__chain__)}return this.thru(no)},Mr.prototype.toJSON=Mr.prototype.valueOf=Mr.prototype.value=function(){return _u(this.__wrapped__,this.__actions__)},Mr.prototype.first=Mr.prototype.head,Qn&&(Mr.prototype[Qn]=function(){return this}),Mr}();dt._=yr,(e=function(){return yr}.call(t,r,t,n))===u||(n.exports=e)}.call(this)},625:(n,t,r)=>{"use strict";r.d(t,{Fc:()=>h,NO:()=>l,O:()=>p,YD:()=>f,g5:()=>v,gB:()=>a,gf:()=>c,sB:()=>i,vU:()=>o});var e=r(486),u=r.n(e);function i(n){const t=n.map((n=>new Date(n[0]))),r=n.map((n=>n[1])),e=n.map((n=>n[2])),u=n.length>1?"lines":"markers";var i=[{x:t,y:r,mode:u,name:"Resident size"},{x:t,y:e,mode:u,name:"Heap size"}];Plotly.newPlot("memoryGraph",i,{xaxis:{title:{text:"Time"}},yaxis:{title:{text:"Memory Size"},tickformat:".4~s",exponentformat:"B",ticksuffix:"B"}},{responsive:!0}),Plotly.newPlot("smallMemoryGraph",i,{height:40,margin:{l:0,r:0,b:0,t:0,pad:4},plot_bgcolor:"#343a40",yaxis:{tickformat:".4~s",exponentformat:"B",ticksuffix:"B"},showlegend:!1},{responsive:!0,displayModeBar:!1}),document.getElementById("smallMemoryGraph").onclick((()=>{o()}))}function o(){setTimeout((()=>{Plotly.Plots.resize("memoryGraph"),Plotly.Plots.resize("smallMemoryGraph")}),100)}function a(n,t=1){if(Math.abs(n)<1024)return n+" B";const r=["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let e=-1;const u=10**t;do{n/=1024,++e}while(Math.round(Math.abs(n)*u)/u>=1024&&e1?"s":"";let i=`${e}
${t} total
${`${n.n_allocations} allocation${u}`}`;return!1===r&&(i=i.concat(`
Thread ID: ${n.thread_id}`)),i}function l(n,t){return function(n,t){let r=u().cloneDeep(n.children);const e=u().filter(r,(function n(r){return r.children&&r.children.length>0&&(r.children=u().filter(r.children,n)),t(r)}));return u().defaults({children:e},n)}(n,(n=>n.thread_id===t))}function s(n,t){function r(n){let e=[];if(t(n)){e=[];for(const t of n.children)e.push(...r(t));let t=u().clone(n);t.children=e,e=[t]}else for(const t of n.children)e.push(...r(t));return e}let e=[];for(let t of n.children)e.push(...r(t));return u().defaults({children:e},n)}function h(n){return s(n,(n=>n.interesting))}function p(n){return s(n,(n=>!n.import_system))}function v(n){return u().reduce(n,((n,t)=>(n.n_allocations+=t.n_allocations,n.value+=t.value,n)),{n_allocations:0,value:0})}},501:(n,t,r)=>{"use strict";r.d(t,{Cd:()=>c,Ji:()=>v,N4:()=>b,Vi:()=>j,Xx:()=>p,Z1:()=>w,bf:()=>d,cW:()=>I,ib:()=>y,sO:()=>m});var e=r(625);const u="filter_uninteresting",i="filter_import_system",o="filter_thread";var a=null;let f=new class{constructor(){this.filters={}}registerFilter(n,t){this.filters[n]=t}unRegisterFilter(n){delete this.filters[n]}drawChart(n){let t=n;_.forOwn(this.filters,(n=>{t=n(t)})),j(t),a.merge([])}};function c(){return a}function l(){return location.hash?parseInt(location.hash.substring(1),10):0}function s(){document.getElementById("resetZoomButton").disabled=0==l()}function h(n){n.id!=l()&&(history.pushState({id:n.id},n.data.name,`#${n.id}`),s())}function p(){const n=l(),t=a.findById(n);t&&(a.zoomTo(t),s())}function v(){a.inverted(this===document.getElementById("icicles")),a.resetZoom(),$('[data-toggle="tooltip"]').tooltip("hide")}function d(){a.resetZoom()}function g(){return document.getElementById("chart").clientWidth}function y(){f.drawChart(data),location.hash&&p()}function m(){const n=this.dataset.thread;"-0x1"===n?f.unRegisterFilter(o):f.registerFilter(o,(t=>{let r=(0,e.NO)(t,n);const u=(0,e.g5)(r.children);return _.defaults(u,r),r.n_allocations=u.n_allocations,r.value=u.value,r})),f.drawChart(data)}function w(){void 0===this.hideUninterestingFrames&&(this.hideUninterestingFrames=!0),!0===this.hideUninterestingFrames?(this.hideUninterestingFrames=!0,f.registerFilter(u,(n=>(0,e.Fc)(n)))):f.unRegisterFilter(u),this.hideUninterestingFrames=!this.hideUninterestingFrames,f.drawChart(data)}function b(){void 0===this.hideImportSystemFrames&&(this.hideImportSystemFrames=!0),!0===this.hideImportSystemFrames?(this.hideImportSystemFrames=!0,inverted?(data=invertedNoImportsData,temporal&&(hideImports=!0,intervals=invertedNoImportsIntervals)):f.registerFilter(i,(n=>(0,e.O)(n)))):(f.unRegisterFilter(i),data=flamegraphData,temporal&&(hideImports=!1,intervals=flamegraphIntervals)),this.hideImportSystemFrames=!this.hideImportSystemFrames,f.drawChart(data)}function x(n,t){return n.highlight?"orange":n.data.name&&n.data.location?(e=n.data.location[1],"py"==(r=void 0===e?e:e.substring(e.lastIndexOf(".")+1,e.length)||e)?d3.schemePastel1[2]:"c"==r||"cpp"==r||"h"==r?d3.schemePastel1[5]:d3.schemePastel1[8]):"#EEE";var r,e}function I(n,t){if(!0===t)return;const r=n.unique_threads;if(!r||r.length<=1)return;document.getElementById("threadsDropdown").removeAttribute("hidden");const e=document.getElementById("threadsDropdownList");for(const n of r){let t=document.createElement("a");t.className="dropdown-item",t.dataset.thread=n,t.text=n,t.onclick=m,e.appendChild(t)}}function j(n){a&&(a.destroy(),d3.selectAll(".d3-flame-graph-tip").remove()),a=flamegraph().width(g()).transitionDuration(250).transitionEase(d3.easeCubic).inverted(!0).cellHeight(20).minFrameSize(2).setColorMapper(x).onClick(h).tooltip(d3.tip().attr("class","d3-flame-graph-tip").html((n=>{const t=(0,e.gB)(n.data.value);return(0,e.gf)(n.data,t,merge_threads)})).direction((n=>{const t=(n.x1+n.x0)/2;return.25.25?"w":"n"}))),d3.select("#chart").datum(n).call(a),a.width(g())}}},t={};function r(e){var u=t[e];if(void 0!==u)return u.exports;var i=t[e]={id:e,loaded:!1,exports:{}};return n[e].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=n=>{var t=n&&n.__esModule?()=>n.default:()=>n;return r.d(t,{a:t}),t},r.d=(n,t)=>{for(var e in t)r.o(t,e)&&!r.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(n){if("object"==typeof window)return window}}(),r.o=(n,t)=>Object.prototype.hasOwnProperty.call(n,t),r.nmd=n=>(n.paths=[],n.children||(n.children=[]),n),(()=>{"use strict";var n=r(625),t=r(501);function e(n){const{strings:t,nodes:r,unique_threads:e}=n,u=r.name.map(((n,e)=>({name:t[r.name[e]],location:[t[r.function[e]],t[r.filename[e]],r.lineno[e]],value:r.value[e],children:r.children[e],n_allocations:r.n_allocations[e],thread_id:t[r.thread_id[e]],interesting:0!==r.interesting[e],import_system:0!==r.import_system[e]})));for(const n of u)n.children=n.children.map((n=>u[n]));const i=u[0];return i.unique_threads=e.map((n=>t[n])),i}window.resizeMemoryGraph=n.vU,document.addEventListener("DOMContentLoaded",(function(){!function(n){const{strings:t,nodes:r,inverted_no_imports_nodes:u,unique_threads:i}=n;flamegraphData=e({strings:t,nodes:r,unique_threads:i}),invertedNoImportsData=inverted?e({strings:t,nodes:u,unique_threads:i}):null,data=flamegraphData}(packed_data),(0,n.sB)(memory_records),(0,t.cW)(data,merge_threads),(0,t.Vi)(data),location.hash&&(0,t.Xx)(),document.getElementById("icicles").onchange=t.Ji,document.getElementById("flames").onchange=t.Ji,document.getElementById("resetZoomButton").onclick=t.bf,document.getElementById("resetThreadFilterItem").onclick=t.sO,document.getElementById("hideUninteresting").onclick=t.Z1.bind(this),document.getElementById("hideImportSystem").onclick=t.N4.bind(this),t.Z1.bind(this)(),document.onkeyup=n=>{"Escape"==n.code&&(0,t.bf)()},document.getElementById("searchTerm").addEventListener("input",(()=>{const n=document.getElementById("searchTerm");(0,t.Cd)().search(n.value)})),window.addEventListener("popstate",t.Xx),window.addEventListener("resize",(0,n.YD)(t.ib));let r=document.getElementById("stats-start-time"),u=document.getElementById("stats-end-time");r.textContent=new Date(r.innerText),u.textContent=new Date(u.innerText),$('[data-toggle-second="tooltip"]').tooltip(),$('[data-toggle="tooltip"]').tooltip()}))})()})(); \ No newline at end of file diff --git a/src/memray/reporters/templates/base.html b/src/memray/reporters/templates/base.html index 71b77ed8f3..41c1f01900 100644 --- a/src/memray/reporters/templates/base.html +++ b/src/memray/reporters/templates/base.html @@ -96,8 +96,8 @@