From 8bed1fe1d8781b224cd055cd9d0274d52dbd8442 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 9 Jun 2021 20:44:57 -0400 Subject: [PATCH] Release v2.10.0 --- perf-cascade-file-reader.js | 4 ++-- perf-cascade-file-reader.min.js | 4 ++-- perf-cascade.css | 2 +- perf-cascade.js | 2 +- perf-cascade.min.js | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/perf-cascade-file-reader.js b/perf-cascade-file-reader.js index 0b774fb..a6d5425 100644 --- a/perf-cascade-file-reader.js +++ b/perf-cascade-file-reader.js @@ -1,4 +1,4 @@ -/*! github.com/micmro/PerfCascade Version:2.9.0 (19/04/2021) */ +/*! github.com/micmro/PerfCascade Version:2.10.0 (09/06/2021) */ /* Copyright (c) 2013 Gildas Lormeau. All rights reserved. @@ -3122,7 +3122,7 @@ env.Inflater = env._jzlib_Inflater = Inflater; })(this); -/*! github.com/micmro/PerfCascade Version:2.9.0 (19/04/2021) */ +/*! github.com/micmro/PerfCascade Version:2.10.0 (09/06/2021) */ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.perfCascadeFileReader = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;ie.size)throw new RangeError("offset:"+t+", length:"+i+", size:"+e.size);return e.slice?e.slice(t,t+i):e.webkitSlice?e.webkitSlice(t,t+i):e.mozSlice?e.mozSlice(t,t+i):e.msSlice?e.msSlice(t,t+i):void 0}(a,e,t))}catch(e){n(e)}}}function d(){}function c(n){var r;this.init=function(e){r=new Blob([],{type:f}),e()},this.writeUint8Array=function(e,t){r=new Blob([r,a?e:e.buffer],{type:f}),t()},this.getData=function(t,e){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=e,i.readAsText(r,n)}}function w(t){var a="",o="";this.init=function(e){a+="data:"+(t||"")+";base64,",e()},this.writeUint8Array=function(e,t){var i,n=o.length,r=o;for(o="",i=0;i<3*Math.floor((n+e.length)/3)-n;i++)r+=String.fromCharCode(e[i]);for(;i>16,i=65535&e;try{return new Date(1980+((65024&t)>>9),((480&t)>>5)-1,31&t,(63488&i)>>11,(2016&i)>>5,2*(31&i),0)}catch(e){}}(e.lastModDateRaw),1!=(1&e.bitFlag)?((n||8!=(8&e.bitFlag))&&(e.crc32=t.view.getUint32(i+10,!0),e.compressedSize=t.view.getUint32(i+14,!0),e.uncompressedSize=t.view.getUint32(i+18,!0)),4294967295!==e.compressedSize&&4294967295!==e.uncompressedSize?(e.filenameLength=t.view.getUint16(i+22,!0),e.extraFieldLength=t.view.getUint16(i+24,!0)):r(s)):r(o)}function p(p,t,y){var m=0;function u(){}u.prototype.getData=function(_,r,c,w){var b=this;function h(e,t){var i,n;w&&(i=t,(n=U(4)).view.setUint32(0,i),b.crc32!=n.view.getUint32(0))?y("CRC failed."):_.getData(function(e){r(e)})}function v(e){y(e||n)}function x(e){y(e||"Error while writing file data.")}p.readUint8Array(b.offset,30,function(e){var u,t=U(e.length,e);1347093252==t.view.getUint32(0)?(D(b,t,4,!1,y),u=b.offset+30+b.filenameLength+b.extraFieldLength,_.init(function(){var e,t,i,n,r,a,o,s,f,l,d;0===b.compressionMethod?S(b._worker,m++,p,_,u,b.compressedSize,w,h,c,v,x):(e=b._worker,t=m++,i=p,n=_,r=u,a=b.compressedSize,o=h,s=c,f=v,l=x,d=w?"output":"none",g.zip.useWebWorkers?z(e,{sn:t,codecClass:"Inflater",crcType:d},i,n,r,a,s,o,f,l):A(new g.zip.Inflater,i,n,r,a,d,s,o,f,l))},x)):y(k)},v)};var i={getEntries:function(l){var d=this._worker;!function(n){var r=22;if(p.size=p.size?y(k):p.readUint8Array(t,p.size-t,function(e){var t,i,n,r,a=0,o=[],s=U(e.length,e);for(t=0;t>>8^i[255&(t^e[n])];this.crc=t},i.prototype.get=function(){return~this.crc},i.prototype.table=function(){var e,t,i,n=[];for(e=0;e<256;e++){for(i=e,t=0;t<8;t++)1&i?i=i>>>1^3988292384:i>>>=1;n[e]=i}return n}(),u.prototype.append=function(e,t){return e},u.prototype.flush=function(){},(t.prototype=new e).constructor=t,(r.prototype=new e).constructor=r,(l.prototype=new e).constructor=l,d.prototype.getData=function(e){e(this.data)},(c.prototype=new d).constructor=c,(w.prototype=new d).constructor=w,(b.prototype=new d).constructor=b;var L={deflater:["z-worker.js","deflate.js"],inflater:["z-worker.js","inflate.js"]};function M(e,n,r){if(null===g.zip.workerScripts||null===g.zip.workerScriptsPath){var t,i,a;if(g.zip.workerScripts){if(t=g.zip.workerScripts[e],!Array.isArray(t))return void r(new Error("zip.workerScripts."+e+" is not an array!"));i=t,a=document.createElement("a"),t=i.map(function(e){return a.href=e,a.href})}else(t=L[e].slice(0))[0]=(g.zip.workerScriptsPath||"")+t[0];var o=new Worker(t[0]);o.codecTime=o.crcTime=0,o.postMessage({type:"importScripts",scripts:t.slice(1)}),o.addEventListener("message",function e(t){var i=t.data;if(i.error)return o.terminate(),void r(i.error);"importScripts"===i.type&&(o.removeEventListener("message",e),o.removeEventListener("error",s),n(o))}),o.addEventListener("error",s)}else r(new Error("Either zip.workerScripts or zip.workerScriptsPath may be set, not both."));function s(e){o.terminate(),r(e)}}function W(e){console.error(e)}g.zip={Reader:e,Writer:d,BlobReader:l,Data64URIReader:r,TextReader:t,BlobWriter:b,Data64URIWriter:w,TextWriter:c,createReader:function(e,t,i){i=i||W,e.init(function(){p(e,t,i)},i)},createWriter:function(e,t,i,n){i=i||W,n=!!n,e.init(function(){y(e,t,i,n)},i)},useWebWorkers:!0,workerScriptsPath:null,workerScripts:null}}(this),function(e){"use strict";var M=0,W=1,C=-2,R=-3,w=-4,T=-5,I=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],B=1440,r=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],a=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],b=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],h=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],v=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],x=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=15;function O(){var d,u,A,S,E,D;function _(e,t,i,n,r,a,o,s,f,l,d){var u,_,c,w,b,h,v,x,p,y,m,g,k,U,z;for(y=0,b=i;A[e[t+y]]++,y++,0!==--b;);if(A[0]==i)return o[0]=-1,s[0]=0,M;for(x=s[0],h=1;h<=F&&0===A[h];h++);for(x<(v=h)&&(x=h),b=F;0!==b&&0===A[b];b--);for((c=b)u+1&&(_-=u+1,k=v,hB)return R;E[w]=m=l[0],l[0]+=z,0!==w?(D[w]=b,S[0]=h,h=b>>>g-(S[1]=x),S[2]=m-E[w-1]-h,f.set(S,3*(E[w-1]+h))):o[0]=m}for(S[1]=v-g,i<=y?S[0]=192:d[y]>>g;h>>=1)b^=h;for(b^=h,p=(1<>=l[k+1],c-=l[k+1],0!=(16&u)){for(u&=15,y=l[k+2]+(_&I[u]),_>>=u,c-=u;c<15;)b--,_|=(255&s.read_byte(w++))<>=l[k+1],c-=l[k+1],0!=(16&u)){for(u&=15;c>=u,c-=u,v-=y,m<=h)0>3<(y=s.avail_in-b)?c>>3:y,w-=y,c-=y<<3,o.bitb=_,o.bitk=c,s.avail_in=b,s.total_in+=w-s.next_in_index,s.next_in_index=w,o.write=h,R;f+=l[k+2],u=l[k=3*(d+(f+=_&I[u]))]}break}if(0!=(64&u))return 0!=(32&u)?(b+=y=c>>3<(y=s.avail_in-b)?c>>3:y,w-=y,c-=y<<3,o.bitb=_,o.bitk=c,s.avail_in=b,s.total_in+=w-s.next_in_index,s.next_in_index=w,o.write=h,W):(s.msg="invalid literal/length code",b+=y=c>>3<(y=s.avail_in-b)?c>>3:y,w-=y,c-=y<<3,o.bitb=_,o.bitk=c,s.avail_in=b,s.total_in+=w-s.next_in_index,s.next_in_index=w,o.write=h,R);if(f+=l[k+2],0===(u=l[k=3*(d+(f+=_&I[u]))])){_>>=l[k+1],c-=l[k+1],o.window[h++]=l[k+2],v--;break}}else _>>=l[k+1],c-=l[k+1],o.window[h++]=l[k+2],v--}while(258<=v&&10<=b);return b+=y=c>>3<(y=s.avail_in-b)?c>>3:y,w-=y,c-=y<<3,o.bitb=_,o.bitk=c,s.avail_in=b,s.total_in+=w-s.next_in_index,s.next_in_index=w,o.write=h,M}this.init=function(e,t,i,n,r,a){c=E,k=e,U=t,b=i,z=n,h=r,A=a,w=null},this.proc=function(e,t,i){var n,r,a,o,s,f,l,d=0,u=0,_=0;for(_=t.next_in_index,o=t.avail_in,d=e.bitb,u=e.bitk,f=(s=e.write)>>=w[r+1],u-=w[r+1],0===(a=w[r])){y=w[r+2],c=N;break}if(0!=(16&a)){m=15&a,v=w[r+2],c=L;break}if(0==(64&a)){p=a,x=r/3+w[r+2];break}if(0==(32&a))return c=J,t.msg="invalid literal/length code",i=R,e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);c=V;break;case L:for(n=m;u>=n,u-=n,p=U,w=h,x=A,c=P;case P:for(n=p;u>=w[r+1],u-=w[r+1],0!=(16&(a=w[r]))){m=15&a,g=w[r+2],c=j;break}if(0!=(64&a))return c=J,t.msg="invalid distance code",i=R,e.bitb=d,e.bitk=u,t.avail_in=o,t.total_in+=_-t.next_in_index,t.next_in_index=_,e.write=s,e.inflate_flush(t,i);p=a,x=r/3+w[r+2];break;case j:for(n=m;u>=n,u-=n,c=q;case q:for(l=s-g;l<0;)l+=e.end;for(;0!==v;){if(0===f&&(s==e.end&&0!==e.read&&(f=(s=0)e.avail_out&&(i=e.avail_out),0!==i&&t==T&&(t=M),e.avail_out-=i,e.total_out+=i,e.next_out.set(m.window.subarray(r,r+i),n),n+=i,(r+=i)==m.end&&(r=0,m.write==m.end&&(m.write=0),(i=m.write-r)>e.avail_out&&(i=e.avail_out),0!==i&&t==T&&(t=M),e.avail_out-=i,e.total_out+=i,e.next_out.set(m.window.subarray(r,r+i),n),n+=i,r+=i),e.next_out_index=n,m.read=r,t},m.proc=function(e,t){var i,n,r,a,o,s,f,l;for(a=e.next_in_index,o=e.avail_in,n=m.bitb,r=m.bitk,f=(s=m.write)>>1){case 0:n>>>=3,n>>>=i=7&(r-=3),r-=i,g=$;break;case 1:var d=[],u=[],_=[[]],c=[[]];O.inflate_trees_fixed(d,u,_,c),E.init(d[0],u[0],_[0],0,c[0],0),n>>>=3,r-=3,g=ee;break;case 2:n>>>=3,r-=3,g=K;break;case 3:return n>>>=3,r-=3,g=ne,e.msg="invalid block type",t=R,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t)}break;case $:for(;r<32;){if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);t=M,o--,n|=(255&e.read_byte(a++))<>>16&65535)!=(65535&n))return g=ne,e.msg="invalid stored block lengths",t=R,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);k=65535&n,n=r=0,g=0!==k?G:0!==D?te:Z;break;case G:if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);if(0===f&&(s==m.end&&0!==m.read&&(f=(s=0)>5&31))return g=ne,e.msg="too many length or distance symbols",t=R,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);if(i=258+(31&i)+(i>>5&31),!y||y.length>>=14,r-=14,z=0,g=Q;case Q:for(;z<4+(U>>>10);){for(;r<3;){if(0===o)return m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);t=M,o--,n|=(255&e.read_byte(a++))<>>=3,r-=3}for(;z<19;)y[Y[z++]]=0;if(A[0]=7,(i=L.inflate_trees_bits(y,A,S,F,e))!=M)return(t=i)==R&&(y=null,g=ne),m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);z=0,g=X;case X:for(;!(258+(31&(i=U))+(i>>5&31)<=z);){var w,b;for(i=A[0];r>>=i,r-=i,y[z++]=b;else{for(l=18==b?7:b-14,w=18==b?11:3;r>>=i)&I[l],n>>>=l,r-=l,258+(31&(i=U))+(i>>5&31)<(l=z)+w||16==b&&l<1)return y=null,g=ne,e.msg="invalid bit length repeat",t=R,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);for(b=16==b?y[l-1]:0;y[l++]=b,0!=--w;);z=l}}S[0]=-1;var h=[],v=[],x=[],p=[];if(h[0]=9,v[0]=6,i=U,(i=L.inflate_trees_dynamic(257+(31&i),1+(i>>5&31),y,h,v,x,p,F,e))!=M)return i==R&&(y=null,g=ne),t=i,m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,m.inflate_flush(e,t);E.init(h[0],v[0],F,x[0],F,p[0]),g=ee;case ee:if(m.bitb=n,m.bitk=r,e.avail_in=o,e.total_in+=a-e.next_in_index,e.next_in_index=a,m.write=s,(t=E.proc(m,e,t))!=W)return m.inflate_flush(e,t);if(t=M,E.free(e),a=e.next_in_index,o=e.avail_in,n=m.bitb,r=m.bitk,f=(s=m.write)>4)>e.istate.wbits){e.istate.mode=13,e.msg="invalid window size",e.istate.marker=5;break}e.istate.mode=1;case 1:if(0===e.avail_in)return i;if(i=t,e.avail_in--,e.total_in++,n=255&e.read_byte(e.next_in_index++),((e.istate.method<<8)+n)%31!=0){e.istate.mode=13,e.msg="incorrect header check",e.istate.marker=5;break}if(0==(32&n)){e.istate.mode=7;break}e.istate.mode=2;case 2:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need=(255&e.read_byte(e.next_in_index++))<<24&4278190080,e.istate.mode=3;case 3:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<16&16711680,e.istate.mode=4;case 4:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<8&65280,e.istate.mode=5;case 5:return 0===e.avail_in?i:(i=t,e.avail_in--,e.total_in++,e.istate.need+=255&e.read_byte(e.next_in_index++),e.istate.mode=6,2);case 6:return e.istate.mode=13,e.msg="need dictionary",e.istate.marker=0,C;case 7:if((i=e.istate.blocks.proc(e,i))==R){e.istate.mode=13,e.istate.marker=0;break}if(i==M&&(i=t),i!=W)return i;i=t,e.istate.blocks.reset(e,e.istate.was),e.istate.mode=12;case 12:return W;case 13:return R;default:return C}},i.inflateSetDictionary=function(e,t,i){var n=0,r=i;return e&&e.istate&&6==e.istate.mode?(r>=1<e.size)throw new RangeError("offset:"+t+", length:"+i+", size:"+e.size);return e.slice?e.slice(t,t+i):e.webkitSlice?e.webkitSlice(t,t+i):e.mozSlice?e.mozSlice(t,t+i):e.msSlice?e.msSlice(t,t+i):void 0}(a,e,t))}catch(e){n(e)}}}function d(){}function c(n){var r;this.init=function(e){r=new Blob([],{type:f}),e()},this.writeUint8Array=function(e,t){r=new Blob([r,a?e:e.buffer],{type:f}),t()},this.getData=function(t,e){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=e,i.readAsText(r,n)}}function w(t){var a="",o="";this.init=function(e){a+="data:"+(t||"")+";base64,",e()},this.writeUint8Array=function(e,t){var i,n=o.length,r=o;for(o="",i=0;i<3*Math.floor((n+e.length)/3)-n;i++)r+=String.fromCharCode(e[i]);for(;i>16,e=65535&e;try{return new Date(1980+((65024&t)>>9),((480&t)>>5)-1,31&t,(63488&e)>>11,(2016&e)>>5,2*(31&e),0)}catch(e){}}(e.lastModDateRaw),1!=(1&e.bitFlag)?(!n&&8==(8&e.bitFlag)||(e.crc32=t.view.getUint32(i+10,!0),e.compressedSize=t.view.getUint32(i+14,!0),e.uncompressedSize=t.view.getUint32(i+18,!0)),4294967295!==e.compressedSize&&4294967295!==e.uncompressedSize?(e.filenameLength=t.view.getUint16(i+22,!0),e.extraFieldLength=t.view.getUint16(i+24,!0)):r(s)):r(o)}function p(p,t,d){var y=0;function u(){}u.prototype.getData=function(_,n,c,w){var b=this;function h(e,t){var i;w&&(i=t,(t=k(4)).view.setUint32(0,i),b.crc32!=t.view.getUint32(0))?d("CRC failed."):_.getData(function(e){n(e)})}function x(e){d(e||r)}function v(e){d(e||"Error while writing file data.")}p.readUint8Array(b.offset,30,function(e){var u,e=k(e.length,e);1347093252==e.view.getUint32(0)?(E(b,e,4,!1,d),u=b.offset+30+b.filenameLength+b.extraFieldLength,_.init(function(){var e,t,i,n,r,a,o,s,f,l,d;0===b.compressionMethod?A(b._worker,y++,p,_,u,b.compressedSize,w,h,c,x,v):(e=b._worker,t=y++,i=p,n=_,r=u,a=b.compressedSize,s=h,f=c,l=x,d=v,o=(o=w)?"output":"none",m.zip.useWebWorkers?U(e,{sn:t,codecClass:"Inflater",crcType:o},i,n,r,a,f,s,l,d):z(new m.zip.Inflater,i,n,r,a,o,f,s,l,d))},v)):d(g)},x)};var i={getEntries:function(f){var n,e,r,l=this._worker;function t(e,i){p.readUint8Array(p.size-e,e,function(e){for(var t=e.length-r;0<=t;t--)if(80===e[t]&&75===e[t+1]&&5===e[t+2]&&6===e[t+3])return void n(new DataView(e.buffer,t,r));i()},function(){d(_)})}n=function(e){var t=e.getUint32(16,!0),s=e.getUint16(8,!0);t<0||t>=p.size?d(g):p.readUint8Array(t,p.size-t,function(e){for(var t,i,n=0,r=[],a=k(e.length,e),o=0;o>>8^i[255&(t^e[n])];this.crc=t},i.prototype.get=function(){return~this.crc},i.prototype.table=function(){for(var e,t,i=[],n=0;n<256;n++){for(t=n,e=0;e<8;e++)1&t?t=t>>>1^3988292384:t>>>=1;i[n]=t}return i}(),u.prototype.append=function(e,t){return e},u.prototype.flush=function(){},(t.prototype=new e).constructor=t,(n.prototype=new e).constructor=n,(l.prototype=new e).constructor=l,d.prototype.getData=function(e){e(this.data)},(c.prototype=new d).constructor=c,(w.prototype=new d).constructor=w,b.prototype=new d;var L={deflater:["z-worker.js","deflate.js"],inflater:["z-worker.js","inflate.js"]};function M(e,i,n){if(null===m.zip.workerScripts||null===m.zip.workerScriptsPath){var t,r,a;if(m.zip.workerScripts){if(t=m.zip.workerScripts[e],!Array.isArray(t))return void n(new Error("zip.workerScripts."+e+" is not an array!"));r=t,a=document.createElement("a"),t=r.map(function(e){return a.href=e,a.href})}else(t=L[e].slice(0))[0]=(m.zip.workerScriptsPath||"")+t[0];var o=new Worker(t[0]);o.codecTime=o.crcTime=0,o.postMessage({type:"importScripts",scripts:t.slice(1)}),o.addEventListener("message",function e(t){t=t.data;if(t.error)return o.terminate(),void n(t.error);"importScripts"===t.type&&(o.removeEventListener("message",e),o.removeEventListener("error",s),i(o))}),o.addEventListener("error",s)}else n(new Error("Either zip.workerScripts or zip.workerScriptsPath may be set, not both."));function s(e){o.terminate(),n(e)}}function W(e){console.error(e)}m.zip={Reader:e,Writer:d,BlobReader:l,Data64URIReader:n,TextReader:t,BlobWriter:b.prototype.constructor=b,Data64URIWriter:w,TextWriter:c,createReader:function(e,t,i){i=i||W,e.init(function(){p(e,t,i)},i)},createWriter:function(e,t,i,n){i=i||W,n=!!n,e.init(function(){y(e,t,i,n)},i)},useWebWorkers:!0,workerScriptsPath:null,workerScripts:null}}(this),function(e){"use strict";var M=0,W=1,C=-2,R=-3,c=-4,T=-5,I=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],B=1440,r=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],a=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],w=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],b=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],h=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],x=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=15;function O(){var l,d,A,S,E,D;function u(e,t,i,n,r,a,o,s,f,l,d){for(var u,_,c,w,b,h,x,v,p,y,m,g,k,U=0,z=i;A[e[t+U]]++,U++,0!==--z;);if(A[0]==i)return o[0]=-1,s[0]=0,M;for(x=s[0],b=1;b<=F&&0===A[b];b++);for(x<(h=b)&&(x=b),z=F;0!==z&&0===A[z];z--);for((c=z)u+1&&(_-=u+1,m=h,bB)return R;E[w]=p=l[0],l[0]+=k,0!==w?(D[w]=z,S[0]=b,S[1]=x,S[2]=p-E[w-1]-(b=z>>>y-x),f.set(S,3*(E[w-1]+b))):o[0]=p}for(S[1]=h-y,i<=U?S[0]=192:d[U]>>y;b>>=1)z^=b;for(z^=b,v=(1<>=l[b+1],p-=l[b+1],0!=(16&u)){for(u&=15,_=l[b+2]+(v&I[u]),v>>=u,p-=u;p<15;)x--,v|=(255&s.read_byte(h++))<>=l[b+1],p-=l[b+1],0!=(16&u)){for(u&=15;p>=u,p-=u,m-=_,c<=y)0>3<(_=s.avail_in-x)?p>>3:_,h-=_,p-=_<<3,o.bitb=v,o.bitk=p,s.avail_in=x,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=y,R;f+=l[b+2],u=l[b=3*(d+(f+=v&I[u]))]}break}if(0!=(64&u))return 0!=(32&u)?(x+=_=p>>3<(_=s.avail_in-x)?p>>3:_,h-=_,p-=_<<3,o.bitb=v,o.bitk=p,s.avail_in=x,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=y,W):(s.msg="invalid literal/length code",x+=_=p>>3<(_=s.avail_in-x)?p>>3:_,h-=_,p-=_<<3,o.bitb=v,o.bitk=p,s.avail_in=x,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=y,R);if(f+=l[b+2],0===(u=l[b=3*(d+(f+=v&I[u]))])){v>>=l[b+1],p-=l[b+1],o.window[y++]=l[b+2],m--;break}}else v>>=l[b+1],p-=l[b+1],o.window[y++]=l[b+2],m--}while(258<=m&&10<=x);return x+=_=p>>3<(_=s.avail_in-x)?p>>3:_,h-=_,p-=_<<3,o.bitb=v,o.bitk=p,s.avail_in=x,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=y,M}(k,U,b,z,h,A,e,t),l=t.next_in_index,d=t.avail_in,s=e.bitb,f=e.bitk,_=(u=e.write)>>=w[r+1],f-=w[r+1],0===(a=w[r])){y=w[r+2],c=q;break}if(0!=(16&a)){m=15&a,x=w[r+2],c=D;break}if(0==(64&a)){p=a,v=r/3+w[r+2];break}if(0==(32&a))return c=H,t.msg="invalid literal/length code",i=R,e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);c=N;break;case D:for(n=m;f>=n,f-=n,p=U,w=h,v=A,c=L;case L:for(n=p;f>=w[r+1],f-=w[r+1],0!=(16&(a=w[r]))){m=15&a,g=w[r+2],c=P;break}if(0!=(64&a))return c=H,t.msg="invalid distance code",i=R,e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);p=a,v=r/3+w[r+2];break;case P:for(n=m;f>=n,f-=n,c=j;case j:for(o=u-g;o<0;)o+=e.end;for(;0!==x;){if(0===_&&0===(_=u==e.end&&0!==e.read?(u=0)e.avail_out?e.avail_out:r)&&t==T&&(t=M),e.avail_out-=r,e.total_out+=r,e.next_out.set(m.window.subarray(n,n+r),i),i+=r,(n+=r)==m.end&&(n=0,m.write==m.end&&(m.write=0),0!==(r=(r=m.write-n)>e.avail_out?e.avail_out:r)&&t==T&&(t=M),e.avail_out-=r,e.total_out+=r,e.next_out.set(m.window.subarray(n,n+r),i),i+=r,n+=r),e.next_out_index=i,m.read=n,t},m.proc=function(e,t){for(var i,n=e.next_in_index,r=e.avail_in,a=m.bitb,o=m.bitk,s=m.write,f=s>>1){case 0:a>>>=3,a>>>=b=7&(o-=3),o-=b,g=Z;break;case 1:var l=[],d=[],u=[[]],_=[[]];O.inflate_trees_fixed(l,d,u,_),E.init(l[0],d[0],u[0],0,_[0],0),a>>>=3,o-=3,g=X;break;case 2:a>>>=3,o-=3,g=G;break;case 3:return a>>>=3,o-=3,g=ie,e.msg="invalid block type",t=R,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t)}break;case Z:for(;o<32;){if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);t=M,r--,a|=(255&e.read_byte(n++))<>>16&65535)!=(65535&a))return g=ie,e.msg="invalid stored block lengths",t=R,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);k=65535&a,a=o=0,g=0!==k?$:0!==D?ee:Y;break;case $:if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);if(0===f&&0===(f=s==m.end&&0!==m.read?(s=0)>5&31))return g=ie,e.msg="too many length or distance symbols",t=R,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);if(b=258+(31&b)+(b>>5&31),!y||y.length>>=14,o-=14,z=0,g=K;case K:for(;z<4+(U>>>10);){for(;o<3;){if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);t=M,r--,a|=(255&e.read_byte(n++))<>>=3,o-=3}for(;z<19;)y[J[z++]]=0;if(A[0]=7,(b=L.inflate_trees_bits(y,A,S,F,e))!=M)return(t=b)==R&&(y=null,g=ie),m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);z=0,g=Q;case Q:for(;!(258+(31&(b=U))+(b>>5&31)<=z);){for(var c,w,b=A[0];o>>=b,o-=b,y[z++]=w;else{for(i=18==w?7:w-14,c=18==w?11:3;o>>=b)&I[i],a>>>=i,o-=i,258+(31&(b=U))+(b>>5&31)<(i=z)+c||16==w&&i<1)return y=null,g=ie,e.msg="invalid bit length repeat",t=R,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);for(w=16==w?y[i-1]:0;y[i++]=w,0!=--c;);z=i}}S[0]=-1;var h=[],x=[],v=[],p=[];if(h[0]=9,x[0]=6,b=U,(b=L.inflate_trees_dynamic(257+(31&b),1+(b>>5&31),y,h,x,v,p,F,e))!=M)return b==R&&(y=null,g=ie),t=b,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);E.init(h[0],x[0],F,v[0],F,p[0]),g=X;case X:if(m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,(t=E.proc(m,e,t))!=W)return m.inflate_flush(e,t);if(t=M,E.free(e),n=e.next_in_index,r=e.avail_in,a=m.bitb,o=m.bitk,f=(s=m.write)>4)>e.istate.wbits){e.istate.mode=13,e.msg="invalid window size",e.istate.marker=5;break}e.istate.mode=1;case 1:if(0===e.avail_in)return i;if(i=t,e.avail_in--,e.total_in++,n=255&e.read_byte(e.next_in_index++),((e.istate.method<<8)+n)%31!=0){e.istate.mode=13,e.msg="incorrect header check",e.istate.marker=5;break}if(0==(32&n)){e.istate.mode=7;break}e.istate.mode=2;case 2:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need=(255&e.read_byte(e.next_in_index++))<<24&4278190080,e.istate.mode=3;case 3:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<16&16711680,e.istate.mode=4;case 4:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<8&65280,e.istate.mode=5;case 5:return 0===e.avail_in?i:(i=t,e.avail_in--,e.total_in++,e.istate.need+=255&e.read_byte(e.next_in_index++),e.istate.mode=6,2);case 6:return e.istate.mode=13,e.msg="need dictionary",e.istate.marker=0,C;case 7:if((i=e.istate.blocks.proc(e,i))==R){e.istate.mode=13,e.istate.marker=0;break}if((i=i==M?t:i)!=W)return i;i=t,e.istate.blocks.reset(e,e.istate.was),e.istate.mode=12;case 12:return W;case 13:return R;default:return C}},i.inflateSetDictionary=function(e,t,i){var n=0,r=i;return e&&e.istate&&6==e.istate.mode?(r>=1<."))}function i(e,t,n){t in e||console.warn(new Error("Trying to set non-existing attribute "+t+" = "+n+" on a <"+e.tagName.toLowerCase()+">.")),e.setAttributeNS("",t,n)}function o(t,n){Object.keys(n).forEach(function(e){r(t,e,n[e].toString())})}Object.defineProperty(n,"__esModule",{value:!0}),n.makeBodyEl=n.makeHtmlEl=n.safeSetAttributes=n.safeSetStyles=n.safeSetAttribute=n.safeSetStyle=n.forEachNodeList=n.getLastItemOfNodeList=n.removeChildren=n.getParentByClassName=n.removeClass=n.addClass=void 0,n.addClass=function(e,t){var n=e.classList;return n?t.split(" ").forEach(function(e){return n.add(e)}):e.setAttribute("class",e.getAttribute("class")+" "+t),e},n.removeClass=function(e,t){var n=e.classList;return n?n.remove(t):e.setAttribute("class",(e.getAttribute("class")||"").replace(new RegExp("(\\s|^)"+t+"(\\s|$)","g"),"$2")),e},n.getParentByClassName=function(e,t){if("function"==typeof e.closest)return e.closest("."+t);for(;e;){if(e.classList.contains(t))return e;e=e.parentElement}return null},n.removeChildren=function(e){for(;e.hasChildNodes();)e.removeChild(e.lastChild);return e},n.getLastItemOfNodeList=function(e){if(e&&0!==e.length)return e.item(e.length-1)},n.forEachNodeList=function(e,t){Array.prototype.forEach.call(e,t)},n.safeSetStyle=r,n.safeSetAttribute=i,n.safeSetStyles=o,n.safeSetAttributes=function(t,n){Object.keys(n).forEach(function(e){i(t,e,n[e].toString())})},n.makeHtmlEl=function(){var e=document.createElement("html");return e.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/"),e},n.makeBodyEl=function(e,t){void 0===e&&(e={}),void 0===t&&(t="");var n=document.createElement("body");return n.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),o(n,e),n.innerHTML=t,n}},{}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getHeaders=n.getHeader=n.hasHeader=void 0;var i=function(t){return function(e){return e.name.toLowerCase()===t}};n.hasHeader=function(e,t){var n=i(t.toLowerCase());return e.some(n)};var o=!!Array.prototype.find;n.getHeader=function(e,t){var n,r=i(t.toLowerCase());return(n=o?e.find(r):e.map(r).pop())?n.value:void 0},n.getHeaders=function(e,t){var n=i(t.toLowerCase());return e.filter(n).map(function(e){return[t,e.value]})}},{}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.audio=n.video=n.flash=n.font=n.error=n.warning=n.css=n.html=n.svg=n.image=n.javascript=n.other=n.plain=n.err5xx=n.err4xx=n.err3xx=n.noTls=void 0;var i,o,a,s,l,u,d,c,p,h,f,v,m,g,y=e("./svg"),b=function(e,t,n,r,i,o){var a=y.newSvg("",{x:e,y:t}),s=y.newG("icon "+r,{transform:"scale("+i+")"});return s.appendChild(o),s.appendChild(y.newTitle(n)),a.appendChild(s),a};function w(e,t,n,r){if(void 0===r&&(r=1),void 0===u){u=y.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return b(e,t,n,"icon-image",r,u.cloneNode(!1))}function C(e,t,n,r){if(void 0===r&&(r=1),void 0===p){p=y.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return b(e,t,n,"icon-warning",r,p.cloneNode(!1))}n.noTls=function(e,t,n,r){void 0===r&&(r=1),void 0===i&&(i=y.newPath("M18 6.216v2.77q0 .28-.206.486-.205.206-.486.206h-.693q-.28 0-.486-.206-.21-.205-.21\n -.487v-2.77q0-1.145-.81-1.957-.813-.81-1.96-.81-1.146 0-1.957.81-.81.812-.81 1.958v2.077h1.037q.434\n 0 .737.303.302.303.302.736v6.23q0 .433-.305.736t-.737.303H1.038q-.433 0-.736-.3Q0 15.996 0\n 15.56V9.33q0-.433.303-.736t.735-.303h7.27V6.218q0-2 1.422-3.423 1.423-1.423 3.424-1.423 2\n 0 3.424 1.424Q18 4.214 18 6.216"));return b(e,t,n,"icon-no-tls",r,i.cloneNode(!1))},n.err3xx=function(e,t,n,r){void 0===r&&(r=1),void 0===o&&(o=y.newPath("M17 2.333V7q0 .27-.198.47-.198.197-.47.197h-4.665q-.438 0-.615-.417-.177-.406.146-.72l1.437-1.436Q11.095\n 3.667 9 3.667q-1.083 0-2.068.422-.984.42-1.703 1.14-.72.715-1.14 1.7-.426.984-.426 2.07 0 1.08.422 2.065.42.984\n 1.14 1.703.718.72 1.702 1.14.984.422 2.067.422 1.24 0 2.344-.54 1.104-.543 1.864-1.533.073-.105.24-.126.146 0\n .26.095l1.427 1.436q.095.084.1.214.006.13-.08.234-1.133 1.376-2.75 2.13Q10.793 17 9 17q-1.625\n 0-3.104-.635-1.48-.636-2.552-1.71-1.073-1.072-1.71-2.55Q1 10.625 1 9t.635-3.104q.636-1.48 1.71-2.552\n 1.072-1.073 2.55-1.71Q7.375 1 9 1q1.53 0 2.964.578 1.432.578 2.546\n 1.63l1.355-1.343q.302-.323.73-.146.405.173.405.61z"));return b(e,t,n,"icon-redirect",r,o.cloneNode(!1))},n.err4xx=function(e,t,n,r){return void 0===r&&(r=1),C(e,t,n,r)},n.err5xx=function(e,t,n,r){return void 0===r&&(r=1),C(e,t,n,r)},n.plain=function(e,t,n,r){void 0===r&&(r=1),void 0===a&&(a=y.newPath("M15.247 4.393q.25.25.43.678.177.43.177.79v10.287q0\n .357-.25.607t-.607.25h-12q-.357 0-.607-.25t-.25-.606V1.858q0-.358.25-.608T2.997 1h8q.357 0\n .786.18.428.177.678.427zm-3.964-2.18V5.57h3.357q-.09-.256-.196-.364L11.65 2.41q-.108-.106-.367\n -.196zm3.428 13.644V6.714H11q-.357 0-.607-.25t-.25-.607V2.143h-6.86v13.714H14.71zM5.57\n 8.143q0-.125.08-.205.08-.08.204-.08h6.286q.125 0 .205.08.08.08.08.205v.57q0 .126-.08.207-.08.08\n -.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.206v-.57zm6.57 2q.125 0 .205.08.08.08.08.206V11q0\n .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.205v-.57q0-.126.08-.207.08-.08.2\n -.08h6.286zm0 2.286q.125 0 .205.08.08.08.08.2v.572q0 .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205\n -.08-.08-.08-.08-.205v-.572q0-.124.08-.204.08-.08.2-.08h6.286z"));return b(e,t,n,"icon-plain",r,a.cloneNode(!1))},n.other=function(e,t,n,r){void 0===r&&(r=1),void 0===s&&(s=y.newPath("M10.8 13.5v3q0 .2-.15.35-.15.15-.35.15h-3q-.2 0-.35-.15-.15-.15-.15-.35v-3q0-.2.15-.35.15\n -.15.35-.15h3q.2 0 .35.15.15.15.15.35zM14.75 6q0 .675-.193 1.262-.193.588-.437.957-.244.365\n -.688.74-.443.375-.718.543-.275.17-.763.444-.51.286-.852.81-.344.526-.344.84 0 .21-.15.405-.15.194\n -.35.194h-3q-.186 0-.318-.23-.13-.234-.13-.47v-.564q0-1.037.812-1.956.812-.917 1.787-1.355.74-.336\n 1.05-.7.314-.362.314-.95 0-.524-.583-.924-.58-.4-1.343-.4-.814 0-1.35.362-.44.312-1.34 1.437-.16.2\n -.386.2-.15 0-.313-.1L3.4 4.987q-.16-.124-.193-.312-.03-.188.07-.35Q5.277 1 9.077 1q1 0 2.01.387\n 1.01.388 1.825 1.038.812.65 1.325 1.594.51.94.51 1.98z"));return b(e,t,n,"icon-other",r,s.cloneNode(!1))},n.javascript=function(e,t,n,r){void 0===r&&(r=1),void 0===l&&(l=y.newPath("M13.516 2.9c-2.766 0-4.463 1.522-4.463 3.536 0 1.733 1.295 2.82 3.256 3.52\n 1.413.49 1.973.926 1.973 1.644 0 .787-.647 1.296-1.873 1.296-1.137 0-2.26-.368-2.96-.736l-.54\n 2.19c.665.367 1.996.734 3.344.734 3.238 0 4.744-1.68 4.744-3.658\n 0-1.68-.966-2.767-3.05-3.537-1.54-.6-2.186-.93-2.186-1.68 0-.6.56-1.14 1.714-1.14\n 1.137 0 1.996.33 2.45.56l.596-2.138c-.7-.332-1.663-.596-3.01-.596zm-9.032.192v7.44c0\n 1.822-.702 2.33-1.822 2.33-.525 0-.997-.09-1.365-.212L1 14.805c.525.175 1.33.28 1.96.28\n 2.574 0 4.185-1.173 4.185-4.534V3.097h-2.66z"));return b(e,t,n,"icon-js",r,l.cloneNode(!1))},n.image=w,n.svg=function(e,t,n,r){return void 0===r&&(r=1),w(e,t,n,r)},n.html=function(e,t,n,r){void 0===r&&(r=1),void 0===d&&(d=y.newPath("M5.626 13.31l-.492.492q-.098.098-.226.098t-.226-.098L.098 9.22Q0 9.12 0\n 8.99q0-.127.098-.226L4.682 4.18q.098-.097.226-.097t.226.098l.492.49q.1.1.1.23t-.1.23L1.76\n 8.99l3.866 3.866q.1.098.1.226t-.1.226zM11.44 2.815l-3.67\n 12.7q-.04.127-.152.19-.113.065-.23.026l-.61-.162q-.13-.04-.193-.152-.064-.112-.024-.24l3.67-12.698q.04\n -.128.157-.192.113-.064.23-.025l.61.167q.13.04.193.152.063.113.023.24zM17.9\n 9.22l-4.582 4.58q-.098.098-.226.098t-.226-.098l-.492-.492q-.1-.098-.1-.226t.1-.226L16.24\n 8.99l-3.867-3.865q-.1-.098-.1-.226t.1-.23l.492-.49q.098-.1.226-.1t.23.1l4.58 4.583q.1.1.1.226 0 .13-.1.23z"));return b(e,t,n,"icon-html",r,d.cloneNode(!1))},n.css=function(e,t,n,r){void 0===r&&(r=1),void 0===c&&(c=y.newPath("M15.436.99q.625 0 1.095.416.47.415.47 1.04 0 .564-.4 1.35-2.97 5.624-4.16 6.724-.865.814\n -1.946.814-1.127 0-1.935-.827-.81-.827-.81-1.962 0-1.144.822-1.895l5.705-5.175Q14.8.99\n 15.435.99zM7.31 10.232q.35.68.953 1.162.603.483 1.345.68l.01.634q.035 1.904-1.16 3.102-1.192\n 1.198-3.114 1.198-1.1 0-1.948-.416-.85-.415-1.364-1.14-.514-.723-.773-1.635Q1 12.905 1\n 11.85l.366.268q.304.224.555.398.25.175.53.327.277.15.41.15.368 0 .493-.33.224-.59.515-1.005.29\n -.415.62-.68.332-.263.788-.424.455-.16.92-.228.465-.066 1.118-.094z"));return b(e,t,n,"icon-css",r,c.cloneNode(!1))},n.warning=C,n.error=function(e,t,n,r){void 0===r&&(r=1),void 0===h&&(h=y.newPath("M9 1q2.177 0 4.016 1.073 1.838 1.073 2.91 2.91Q17 6.823 17 9q0 2.177-1.073 4.016-1.073\n 1.838-2.91 2.91Q11.177 17 9 17q-2.177 0-4.016-1.073-1.838-1.073-2.91-2.91Q1 11.177 1 9q0-2.177 1.073-4.016\n 1.073-1.838 2.91-2.91Q6.823 1 9 1zm1.333 12.99v-1.98q0-.145-.093-.244-.094-.1-.23-.1h-2q-.135 0-.24.105\n -.103.106-.103.24v1.98q0 .136.104.24.106.104.24.104h2q.137 0 .23-.1.094-.098.094-.243zm-.02-3.584l.187\n -6.468q0-.125-.104-.188-.104-.084-.25-.084H7.854q-.146 0-.25.084-.104.062-.104.188l.177 6.468q0\n .104.104.183.106.076.25.076h1.93q.146 0 .245-.078.1-.08.11-.184z"));return b(e,t,n,"icon-no-gzip",r,h.cloneNode(!1))},n.font=function(e,t,n,r){void 0===r&&(r=1),void 0===f&&(f=y.newPath("M7.97 5.754L6.338 10.08q.317 0 1.312.02.994.02 1.542.02.183 0 .548-.02-.836-2.432-1.77\n -4.345zM1 16.38l.02-.76q.22-.068.538-.12.317-.053.548-.102.23-.048.476-.14.245-.09.428-.278.182\n -.187.298-.485l2.28-5.923 2.69-6.962H9.51q.077.135.105.202l1.972 4.615q.317.75 1.02 2.476.7 1.726\n 1.095 2.64.144.327.558 1.39.413 1.062.692 1.62.192.432.336.547.183.145.847.284.663.14.807.197.058.37.058.55\n 0 .04-.005.13t-.005.128q-.605 0-1.827-.076-1.22-.08-1.836-.08-.73 0-2.067.07-1.337.067-1.712.076 0-.412.04\n -.75l1.258-.27q.01 0 .12-.022l.15-.033q.038-.01.14-.044.1-.034.143-.06l.1-.08q.06-.048.082-.106.024-.056.024\n -.133 0-.152-.298-.926t-.693-1.71q-.392-.93-.402-.96l-4.325-.02q-.25.56-.734 1.88-.487 1.32-.487 1.56 0\n .213.136.362.134.15.418.235.285.087.467.13.185.044.55.08.366.04.395.04.01.183.01.558 0 .087-.02.26-.558\n 0-1.678-.095-1.12-.098-1.678-.098-.08 0-.26.04-.18.037-.208.037-.77.136-1.808.136Z"));return b(e,t,n,"icon-font",r,f.cloneNode(!1))},n.flash=function(e,t,n,r){void 0===r&&(r=1),void 0===v&&(v=y.newPath("M13.724 4.738q.195.216.076.476L7.96 17.73q-.142.27-.456.27-.043 0-.15-.022-.185-.054-.277\n -.205-.092-.15-.05-.325l2.132-8.74L4.765 9.8q-.044.01-.13.01-.195 0-.336-.118-.193-.162-.14-.422L6.337.346q.043\n -.15.173-.25Q6.64 0 6.81 0h3.548q.206 0 .346.135.14.135.14.32 0 .086-.053.194L8.94 5.654l4.285\n -1.06q.086-.02.13-.02.205 0 .367.16z"));return b(e,t,n,"icon-flash",r,v.cloneNode(!1))},n.video=function(e,t,n,r){void 0===r&&(r=1),void 0===m&&(m=y.newPath("M17 4.107v9.714q0 .38-.348.53-.116.05-.223.05-.25 0-.41-.17l-3.6-3.6v1.48q0 1.067-.757 1.82-.754.756\n -1.817.756H3.57q-1.06 0-1.816-.753Q1 13.17 1 12.106V5.82q0-1.06.754-1.816.755-.754 1.817-.754h6.29q1.07 0\n 1.82.754.76.755.76 1.817V7.3l3.597-3.59q.16-.17.4-.17.107 0 .22.045.35.153.35.528z"));return b(e,t,n,"icon-video",r,m.cloneNode(!1))},n.audio=function(e,t,n,r){void 0===r&&(r=1),void 0===g&&(g=y.newPath("M8.385 3.756v10.46q0 .252-.183.434-.183.183-.433.183t-.44-.183l-3.2-3.202H1.61q-.25\n 0-.43-.183-.18-.182-.18-.432V7.14q0-.25.182-.432.182-.183.432-.183h2.52l3.202-3.202q.182-.183.432\n -.183t.43.183q.182.183.182.433zm3.692 5.23q0 .73-.41 1.36-.407.63-1.08.9-.097.048-.24.048-.25 0\n -.434-.178-.182-.177-.182-.437 0-.21.12-.35.12-.14.28-.24.16-.1.33-.22.166-.12.28-.34.117-.22.117\n -.55 0-.33-.115-.55-.115-.224-.28-.344-.163-.12-.326-.22-.165-.1-.28-.24-.116-.14-.116-.34 0-.26.183\n -.44t.43-.176q.146 0 .24.048.676.26 1.08.894.41.636.41 1.367zm2.46 0q0 1.472-.816 2.717t-2.16 1.813q\n -.12.048-.24.048-.26 0-.44-.183-.18-.18-.18-.43 0-.37.378-.56.54-.28.73-.42.713-.52 1.11-1.302.4\n -.783.4-1.667 0-.886-.4-1.67-.4-.783-1.11-1.303-.192-.145-.73-.424-.376-.192-.376-.567 0-.25.183\n -.434.183-.18.433-.18.123 0 .25.047 1.344.567 2.16 1.812.82 1.244.82 2.716zm2.463 0q0 2.212\n -1.22 4.063-1.222 1.85-3.25 2.72-.126.05-.25.05-.25 0-.434-.19-.183-.183-.183-.433 0-.346.375\n -.568.068-.04.217-.1.15-.064.216-.1.45-.244.79-.494 1.19-.875 1.85-2.183.67-1.306.67-2.777 0\n -1.47-.663-2.78-.664-1.304-1.846-2.18-.346-.25-.79-.49-.065-.035-.214-.1-.15-.06-.22-.1\n -.375-.22-.375-.57 0-.25.183-.43.183-.182.433-.182.123 0 .25.047 2.027.876 3.25 2.727Q17 6.775 17 8.99Z"));return b(e,t,n,"icon-audio",r,g.cloneNode(!1))}},{"./svg":6}],4:[function(e,t,n){"use strict";function r(e,t){var n=0;if(e&&!(e.length<1))for(var r=e.length;na?o.authority.substr(0,a)+"..."+l[l.length-1].substr(-s):o.authority+"..."+l[l.length-1].substr(-s)},n.roundNumber=function(e,t){return void 0===t&&(t=2),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},n.isInStatusCodeRange=function(e,t,n){return t<=e&&e<=n};var i=/[^a-z-]/g;n.toCssClass=function(e){return e.toLowerCase().replace(i,"")},n.pluralize=function(e,t){return e+(1(local time: "+e.toLocaleString()+")":void 0};n.formatBytes=function(e){if(void 0===e)return"";var t=e+" bytes";return 1048576<=e?t+" (~"+r.roundNumber(e/1048576,1)+" MB)":1024<=e?t+" (~"+r.roundNumber(e/1024,0)+" kB)":t};var a={'"':""","&":"&","'":"'","<":"<",">":">"},s=new RegExp(Object.keys(a).join("|"),"g");n.escapeHtml=function(e){if(void 0===e&&(e=""),null==e)return"";if("string"!=typeof e){if("function"!=typeof e.toString)throw TypeError("Invalid parameter");e=e.toString()}return e.replace(s,function(e){return a[e]})};var l=new RegExp("[^-A-Za-z0-9+&@#/%?=~_|!:,.;()]","g");n.sanitizeUrlForLink=function(e){var t=e.replace(l,"_");return 0===t.indexOf("http://")||0===t.indexOf("https://")?t:(console.warn("skipped link, due to potentially unsafe url",e),"")};var u=new RegExp("[^a-zA-Z0-9]","g");function d(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}n.sanitizeAlphaNumeric=function(e){return e.toString().replace(u,"")},n.toInt=d,n.validateOptions=function(n){var e=function(e){var t=d(n[e]);if(void 0===t)throw TypeError('option "'+e+'" needs to be a number');n[e]=t},t=function(e){n[e]=!!n[e]};return e("leftColumnWidth"),e("rowHeight"),e("selectedPage"),t("showAlignmentHelpers"),t("showIndicatorIcons"),t("showMimeTypeIcon"),n}},{"./misc":4}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getNodeTextWidth=n.newPath=n.newTextEl=n.newTitle=n.newLine=n.newRect=n.newA=n.newForeignObject=n.newClipPath=n.newG=n.newSvg=void 0;var p=e("./dom"),h="http://www.w3.org/2000/svg";function r(e,t){var n=void 0===t?{}:t,r=n.attributes,i=void 0===r?{}:r,o=n.css,a=void 0===o?{}:o,s=n.text,l=void 0===s?"":s,u=n.className,d=void 0===u?"":u,c=document.createElementNS(h,e);return d&&p.addClass(c,d),l&&(c.textContent=l),p.safeSetStyles(c,a),p.safeSetAttributes(c,i),c}function i(e,t,n){return void 0===n&&(n={}),r("svg",{className:e,attributes:t,css:n})}n.newSvg=i,n.newG=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),r("g",{className:e,attributes:t,css:n})},n.newClipPath=function(e){return r("clipPath",{attributes:{id:e}})},n.newForeignObject=function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),r("foreignObject",{attributes:e,className:t,css:n})},n.newA=function(e){return r("a",{className:e})},n.newRect=function(e,t,n){return void 0===t&&(t=""),void 0===n&&(n={}),r("rect",{attributes:e,className:t,css:n})},n.newLine=function(e,t){return void 0===t&&(t=""),r("line",{className:t,attributes:e})},n.newTitle=function(e){var t=document.createElementNS(h,"title");return t.setAttribute("text",e),t},n.newTextEl=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),r("text",{text:e,attributes:t,css:n})},n.newPath=function(e){var t=document.createElementNS(h,"path");return t.setAttribute("d",e),t};var o,a,s=function(){void 0===o&&(o=i("water-fall-chart temp",{className:"water-fall-chart temp",width:"9999px"},{left:"0px",position:"absolute",top:"0px",visibility:"hidden","z-index":"99999"}));return void 0===o.parentElement&&window.document.body.appendChild(o),clearTimeout(a),a=setTimeout(function(){o.parentNode.removeChild(o)},500),o};n.getNodeTextWidth=function(e,t){if(void 0===t&&(t=!1),0===(e.textContent||"").length)return 0;var n,r,i=s();t?(r=e.style.textShadow,n=e):((n=e.cloneNode(!0)).setAttribute("x","0"),n.setAttribute("y","0")),n.style.textShadow="0",i.appendChild(n),window.document.body.appendChild(i);var o=n.getComputedTextLength();return t&&void 0!==r&&(e.style.textShadow=r),o}},{"./dom":1}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.makeLegend=void 0,n.makeLegend=function(){var e=document.createElement("ul");return e.className="resource-legend",e.innerHTML='\n
  • Blocked
  • \n
  • DNS
  • \n
  • Connect
  • \n
  • SSL (TLS)
  • \n
  • Send
  • \n
  • Wait
  • \n
  • Receive
  • ',e}},{}],8:[function(e,t,n){"use strict";var a=this&&this.__assign||function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=this.doc.pages.length&&(this.selectedPageIndex=this.doc.pages.length-1)}return e.prototype.getPageCount=function(){return this.doc.pages.length},e.prototype.getSelectedPage=function(){return this.doc.pages[this.selectedPageIndex]},e.prototype.getSelectedPageIndex=function(){return this.selectedPageIndex},e.prototype.setSelectedPageIndex=function(e){var t=this;if(this.selectedPageIndex!==e){if(e<0||e>=this.getPageCount())throw new Error("Page does not exist - Invalid pageIndex selected");this.selectedPageIndex=e;var n=this.doc.pages[this.selectedPageIndex];this.onPageUpdateCbs.forEach(function(e){e(t.selectedPageIndex,n)})}},e.prototype.onPageUpdate=function(e){if(1",i="",o=t.filter(function(e){return"error"===e.type}).map(function(e){return[e.title,e.description]}),a=t.filter(function(e){return"warning"===e.type}).map(function(e){return[e.title,e.description]}),s=t.filter(function(e){return"error"!==e.type&&"warning"!==e.type}).map(function(e){return[e.title,e.description]});return 0'+y.pluralize("Error",o.length)+"\n
    "+C.makeDefinitionList(o)+"
    "),0'+y.pluralize("Warning",a.length)+"\n
    "+C.makeDefinitionList(a)+"
    "),0Info\n
    '+C.makeDefinitionList(s)+"
    "),S("General",i+r)}(g.general,o)),m.push((a=g.request,s=g.requestHeaders,S("Request","
    \n "+C.makeDefinitionList(a)+"\n
    \n

    All Request Headers

    \n
    \n "+C.makeDefinitionList(s)+"\n
    "))),m.push((l=g.response,u=g.responseHeaders,S("Response","
    \n "+C.makeDefinitionList(l)+"\n
    \n

    All Response Headers

    \n
    \n "+C.makeDefinitionList(u)+"\n
    "))),m.push(S("Timings",C.makeDefinitionList(g.timings,!0))),m.push((d=e,E("Raw Data",function(){return'\n \n
    '+b.escapeHtml(JSON.stringify(d,null,2))+"
    \n "},"raw-data rendered-data"))),"image"===n&&m.push((c=e,E("Preview",function(e){return''}))),e.response.content&&0===e.response.content.mimeType.indexOf("text/")&&e.response.content.text&&m.push((p=e.response.content.text||"",h=p.replace(x,"\n").replace(q,"\t"),f=p.match(T),E("Content ("+(v=f?f.length:1)+" Line"+(1Copy Content to Clipboard\n
    '+b.escapeHtml(h)+"
    \n "},"content rendered-data"))),m.filter(function(e){return void 0!==e})}},{"../helpers/misc":4,"../helpers/parse":5,"./extract-details-keys":10,"./helpers":14}],13:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.transformPage=n.transformDoc=void 0;var o=e("../helpers/misc"),p=e("../helpers/parse"),h=e("./har-heuristics"),f=e("./har-tabs"),v=e("./helpers");n.transformDoc=function(e,n){var r=void 0!==e.log?e.log:e;return{pages:m(r).map(function(e,t){return i(r,t,n)})}};var m=function(e){return e.pages&&0l&&(l=e.startTime)}),n.fixedLengthMs&&(l=n.fixedLengthMs),{docIsTLS:u,durationMs:l+=100,entries:d,marks:c,title:o.title}}n.transformPage=i;var g=function(t,e,n){if(void 0===t)return[];var r=function(e,t){return e.startTime-t.startTime},i=Object.keys(t).filter(function(e){return"number"==typeof t[e]&&0<=t[e]}).map(function(e){return{name:p.escapeHtml(e.replace(/^[_]/,""))+" ("+o.roundNumber(t[e],0)+" ms)",startTime:t[e]}});return n.showUserTiming?a(e,n).concat(i).sort(r):i.sort(r)},a=function(o,a){var t=a.showUserTimingEndMarker?function(e){return 0===e.indexOf("_userTime.")}:function(e){return 0===e.indexOf("_userTime.")&&0!==e.indexOf("_userTime.endTimer-")},e=t;if(Array.isArray(a.showUserTiming)){var n=a.showUserTiming;e=function(e){return t(e)&&0<=n.indexOf(e.replace(/^_userTime\./,""))}}var s=/^_userTime\.((?:startTimer-)?(.+))$/;return Object.keys(o).filter(e).map(function(e){var t,n,r,i;return r=(t=s.exec(e)||[,void 0,void 0])[1],n=t[2],(r=p.escapeHtml(r))!==(n=p.escapeHtml(n))&&o["_userTime.endTimer-"+n]?{duration:i=o["_userTime.endTimer-"+n]-o[e],name:(a.showUserTimingEndMarker?r:n)+" ("+o[e]+" - "+(o[e]+i)+" ms)",startTime:o[e]}:{name:r,startTime:o[e]}})},y=function(a,s){var l=s.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(e,t){var n=u(t,s,e,a);if(n.end&&n.start>=n.end)return e;if("connect"===t&&l.ssl&&-1!==l.ssl){var r=parseInt(""+s._ssl_start,10)||n.start,i=parseInt(""+s._ssl_end,10)||n.start+l.ssl,o=parseInt(""+s._ssl_start,10)?n.start:i;return e.concat([v.createWaterfallEntryTiming("ssl",Math.round(r),Math.round(i))]).concat([v.createWaterfallEntryTiming(t,Math.round(o),Math.round(n.end))])}return e.concat([v.createWaterfallEntryTiming(t,Math.round(n.start),Math.round(n.end))])},[])},u=function(e,t,n,r){var i;switch(e){case"wait":i="ttfb";break;case"receive":i="download";break;default:i=e}var o=parseInt(t["_"+i+"_start"],10),a=parseInt(t["_"+i+"_end"],10),s=isNaN(o)?0")};n.makeDefinitionList=function(e,n){return void 0===n&&(n=!1),e.map(function(e){return"\n
    "+r(e[0])+"
    \n
    "+r(e[1])+"
    \n ";var t}).join("")},n.mimeToRequestType=function(e){if(void 0===e)return"other";var t=e.split("/"),n=t[1];switch(void 0!==n&&(n=-1"}).join("\n"),a=t.tabs.map(function(e){var t="tab";e.tabClass&&(t+=" "+e.tabClass);var n="";if(e.content)n=e.content;else{if("function"!=typeof e.renderContent)throw TypeError("Invalid Details Tab");n=e.renderContent(r),e.content=n}return'
    '+n+"
    "}).join("\n");return i.innerHTML='\n
    \n
    \n

    #'+e+' \n '+l.escapeHtml(t.url)+'\n

    \n \n
    \n "+a+"\n
    \n ",n.appendChild(i),n}},{"../../helpers/dom":1,"../../helpers/parse":5}],17:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.OverlayManager=void 0;var b=e("../../helpers/dom"),w=e("../../helpers/misc"),C=e("./svg-details-overlay"),r=function(){function y(e){this.context=e,this.openOverlays=[],this.realignRow=function(e,t){e.setAttribute("transform","translate(0, "+t+")")}}return y.prototype.getCombinedOverlayHeight=function(){return this.openOverlays.reduce(function(e,t){return e+(t.height||0)},0)},y.prototype.openOverlay=function(t,e,n,r,i){if(!this.openOverlays.some(function(e){return e.index===t})){var o=this,a={defaultY:e,entry:r,index:t,onClose:function(){o.closeOverlay(t,n,i)},openTabIndex:0};this.openOverlays.push(a),this.openOverlays=this.openOverlays.sort(function(e,t){return e.index>t.index?1:-1}),this.renderOverlays(n,i),this.context.pubSub.publishToOverlayChanges({changedIndex:t,combinedOverlayHeight:o.getCombinedOverlayHeight(),type:"open"})}},y.prototype.toggleOverlay=function(t,e,n,r,i){this.openOverlays.some(function(e){return e.index===t})?this.closeOverlay(t,n,i):this.openOverlay(t,e,n,r,i)},y.prototype.closeOverlay=function(r,e,t){this.openOverlays.splice(this.openOverlays.reduce(function(e,t,n){return t.index===r?n:e},-1),1),this.renderOverlays(e,t),this.context.pubSub.publishToOverlayChanges({changedIndex:r,combinedOverlayHeight:this.getCombinedOverlayHeight(),type:"closed"})},y.prototype.renderOverlays=function(f,e){var v=this,m=0,g=function(e,t,n){m+=n,e.actualY=t,e.height=n};e.forEach(function(e,t){var n=w.find(v.openOverlays,function(e){return e.index===t}),r=e.nextElementSibling,i=r.firstElementChild;if(v.realignRow(e,m),void 0!==n){if(i&&void 0!==n.actualY){var o=i.querySelector(".info-overlay-bg"),a=i.querySelector("foreignObject"),s=i.querySelector(".info-overlay-close-btn rect"),l=i.querySelector(".info-overlay-close-btn text");return g(n,n.defaultY+m,n.height),o.setAttribute("y",n.actualY.toString()),a.setAttribute("y",n.actualY.toString()),l.setAttribute("y",n.actualY.toString()),void s.setAttribute("y",n.actualY.toString())}var u,d,c,p,h;u=e.nextElementSibling,c=(d=n).defaultY+m,p=C.createRowInfoOverlay(d,c,f),(h=p.querySelector("img.preview"))&&!h.src&&h.setAttribute("src",(h.attributes.getNamedItem("data-src")||{value:""}).value),p.querySelector("a").addEventListener("keydown",y.firstElKeypress),b.getLastItemOfNodeList(p.querySelectorAll("button")).addEventListener("keydown",y.lastElKeypress),u.appendChild(p),g(d,c,p.getBoundingClientRect().height)}else i&&null!==r&&(r.querySelector("a").removeEventListener("keydown",y.firstElKeypress),b.getLastItemOfNodeList(r.querySelectorAll("button")).removeEventListener("keydown",y.lastElKeypress),b.removeChildren(r))})},y.showFullName=function(e){var t;null===(t=e.getElementsByClassName("row-fixed").item(0))||void 0===t||t.dispatchEvent(new MouseEvent("mouseenter"))},y.firstElKeypress=function(e){if(w.isTabUp(e)){var t=b.getParentByClassName(e.target,"row-overlay-holder");t&&t.previousElementSibling&&y.showFullName(t.previousElementSibling)}},y.lastElKeypress=function(e){if(w.isTabDown(e)){var t=b.getParentByClassName(e.target,"row-overlay-holder");t&&t.nextElementSibling&&y.showFullName(t.nextElementSibling)}},y}();n.OverlayManager=r,n.default=r},{"../../helpers/dom":1,"../../helpers/misc":4,"./svg-details-overlay":19}],18:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.PubSub=void 0;var r=function(){function e(){this.subscribers=[]}return e.prototype.subscribeToOverlayChanges=function(e){this.subscribers.push(e)},e.prototype.subscribeToSpecificOverlayChanges=function(t,n){this.subscribers.push(function(e){e.changedIndex===t&&n(e)})},e.prototype.publishToOverlayChanges=function(t){this.subscribers.forEach(function(e){return e(t)})},e}();n.PubSub=r,n.default=r},{}],19:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.createRowInfoOverlay=void 0;var m=e("../../helpers/dom"),g=e("../../helpers/svg"),y=e("./html-details-body");var b=function(e){var t=e.target;if("button"===t.tagName.toLowerCase()&&t.classList.contains("copy-tab-data")){var n=document.createElement("textarea");n.value=t.nextElementSibling?t.nextElementSibling.innerText:"",document.body.appendChild(n),n.select(),n.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(n)}};n.createRowInfoOverlay=function(e,t,n){var r,i,o,a,s,l,u=e.index+1,d=(r=t,i=n,o=g.newG("info-overlay-holder"),a=g.newRect({height:i,rx:2,ry:2,width:"100%",x:"0",y:r},"info-overlay-bg"),o.appendChild(a),o),c=g.newForeignObject({height:n,width:"100%",x:"0",y:t}),p=y.createDetailsBody(u,n,e.entry),h=(s=t,(l=g.newA("info-overlay-close-btn")).appendChild(g.newRect({height:23,width:23,x:"100%",y:s})),l.appendChild(g.newTextEl("✕",{dx:7,dy:16,x:"100%",y:s})),l.appendChild(g.newTitle("Close Overlay")),l);h.addEventListener("click",function(){e.onClose(e.index),p.removeEventListener("click",b)}),p.addEventListener("click",b);var f=function(){return p.getElementsByClassName("tab-button")},v=function(n){e.openTabIndex=n,m.forEachNodeList(p.getElementsByClassName("tab"),function(e,t){e.style.display=n===t?"block":"none",f().item(t).classList.toggle("active",n===t)})};return m.forEachNodeList(f(),function(e,t){e.addEventListener("click",function(){return v(t)})}),v(e.openTabIndex),c.appendChild(p),d.appendChild(c),d.appendChild(h),d}},{"../../helpers/dom":1,"../../helpers/svg":6,"./html-details-body":16}],20:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getIndicatorIcons=n.makeIcon=void 0;var s=e("../../helpers/misc");function l(e,t){return{type:e,title:t,width:20}}n.makeIcon=l,n.getIndicatorIcons=function(e){var t=e.responseDetails.indicators.filter(function(e){return"icon"===e.displayType});if(0===t.length)return[];var n=[],r="",i=t.filter(function(e){return"error"===e.type}),o=t.filter(function(e){return"warning"===e.type}),a=t.filter(function(e){return"error"!==e.type&&"warning"!==e.type});return 0total: "+Math.round(r.total)+"ms",{cssClass:b.timingTypeToCssClass(r.type),height:i.height-6,hideOverlay:i.hideOverlay,label:""+r.type+"
    "+Math.round(r.start)+"ms - "+Math.round(r.end)+"ms"+o,showOverlay:i.showOverlay,unit:i.unit,width:r.total,x:r.start||.001,y:i.y}),n=w(t,"segment "+t.cssClass);m=Math.min(m,t.x),v.appendChild(n)}var r,i,o}),g.find(e.responseDetails.indicators,function(e){return"push"===e.id})&&v.appendChild((d=(u=a).y+u.height/1.5,c=g.roundNumber(u.x/u.unit)+"%",(p=y.newG("http2-inidicator-holder")).appendChild(y.newTextEl("→",{transform:"translate(-5)",x:c,y:d},{fillOpacity:"0.6","text-anchor":"end"})),p.appendChild(y.newTitle("http2 Push")),p)),v.appendChild((t=a,n=e.total,r=m,i=t.y+t.height/1.5,o=Math.round(n)+" ms",s=(t.x+t.width)/t.unit+1,l=y.newTextEl(o,{x:g.roundNumber(s)+"%",y:i}),100');return i.appendChild(o),r.appendChild(i),n.appendChild(r),n}},{"../../helpers/dom":1,"../../helpers/svg":6}],24:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.makeHoverEvtListeners=n.createAlignmentLines=void 0;var o=e("../../helpers/dom"),r=e("../../helpers/svg");n.createAlignmentLines=function(e){return{endline:r.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-end"),startline:r.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-start")}},n.makeHoverEvtListeners=function(i){return{onMouseEnterPartial:function(){return function(e){var t=e.target;o.addClass(t,"active");var n=t.x.baseVal.valueInSpecifiedUnits+t.width.baseVal.valueInSpecifiedUnits+"%",r=t.x.baseVal.valueInSpecifiedUnits+"%";i.endline.x1.baseVal.valueAsString=n,i.endline.x2.baseVal.valueAsString=n,i.startline.x1.baseVal.valueAsString=r,i.startline.x2.baseVal.valueAsString=r,o.addClass(i.endline,"active"),o.addClass(i.startline,"active")}},onMouseLeavePartial:function(){return function(e){var t=e.target;o.removeClass(t,"active"),o.removeClass(i.endline,"active"),o.removeClass(i.startline,"active")}}}}},{"../../helpers/dom":1,"../../helpers/svg":6}],25:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.createTimeScale=void 0;var h=e("../../helpers/misc"),f=e("../../helpers/svg"),l=function(e,t,n,r,i){void 0===i&&(i=!1);var o,a,s=e.diagramHeight,l=100/n,u="sub-second-line";if(i){var d=n-.2"+e.url+"
    "+Math.round(e.start)+"ms - "+Math.round(e.end)+"ms
    total: "+(isNaN(e.total)?"n/a ":Math.round(e.total))+"ms",showOverlay:s.showAlignmentHelpers?d.onMouseEnterPartial:void 0,unit:f.unit,width:n,x:i,y:r},a=P.createRow(f,t,x,q,o,e,function(){f.overlayManager.toggleOverlay(t,r+s.rowHeight,450,e,S)});S.push(a),h.appendChild(a),h.appendChild(L.newG("row-overlay-holder"))}),s.showAlignmentHelpers&&void 0!==u&&g.appendChild(u),m.appendChild(g),m.appendChild(h),m.appendChild(p),m.appendChild(_.makeTooltip(s)),m}},{"../helpers/svg":6,"../transformers/styling-converters":15,"./details-overlay/overlay-manager":17,"./details-overlay/pub-sub":18,"./row/svg-row":22,"./row/svg-tooltip":23,"./sub-components/svg-alignment-helper":24,"./sub-components/svg-general-components":25,"./sub-components/svg-marks":26}]},{},[8])(8)}); \ No newline at end of file +!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).perfCascade=e()}(function(){return function r(i,o,a){function s(t,e){if(!o[t]){if(!i[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);throw(n=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",n}n=o[t]={exports:{}},i[t][0].call(n.exports,function(e){return s(i[t][1][e]||e)},n,n.exports,r,i,o,a)}return o[t].exports}for(var l="function"==typeof require&&require,e=0;e."))}function i(e,t,n){t in e||console.warn(new Error("Trying to set non-existing attribute "+t+" = "+n+" on a <"+e.tagName.toLowerCase()+">.")),e.setAttributeNS("",t,n)}function o(t,n){Object.keys(n).forEach(function(e){r(t,e,n[e].toString())})}Object.defineProperty(n,"__esModule",{value:!0}),n.makeBodyEl=n.makeHtmlEl=n.safeSetAttributes=n.safeSetStyles=n.safeSetAttribute=n.safeSetStyle=n.forEachNodeList=n.getLastItemOfNodeList=n.removeChildren=n.getParentByClassName=n.removeClass=n.addClass=void 0,n.addClass=function(e,t){var n=e.classList;return n?t.split(" ").forEach(function(e){return n.add(e)}):e.setAttribute("class",e.getAttribute("class")+" "+t),e},n.removeClass=function(e,t){var n=e.classList;return n?n.remove(t):e.setAttribute("class",(e.getAttribute("class")||"").replace(new RegExp("(\\s|^)"+t+"(\\s|$)","g"),"$2")),e},n.getParentByClassName=function(e,t){if("function"==typeof e.closest)return e.closest("."+t);for(;e;){if(e.classList.contains(t))return e;e=e.parentElement}return null},n.removeChildren=function(e){for(;e.hasChildNodes();)e.removeChild(e.lastChild);return e},n.getLastItemOfNodeList=function(e){if(e&&0!==e.length)return e.item(e.length-1)},n.forEachNodeList=function(e,t){Array.prototype.forEach.call(e,t)},n.safeSetStyle=r,n.safeSetAttribute=i,n.safeSetStyles=o,n.safeSetAttributes=function(t,n){Object.keys(n).forEach(function(e){i(t,e,n[e].toString())})},n.makeHtmlEl=function(){var e=document.createElement("html");return e.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/"),e},n.makeBodyEl=function(e,t){void 0===e&&(e={}),void 0===t&&(t="");var n=document.createElement("body");return n.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),o(n,e),n.innerHTML=t,n}},{}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getHeaders=n.getHeader=n.hasHeader=void 0;function r(t){return function(e){return e.name.toLowerCase()===t}}n.hasHeader=function(e,t){return t=r(t.toLowerCase()),e.some(t)};var i=!!Array.prototype.find;n.getHeader=function(e,t){return t=r(t.toLowerCase()),(t=i?e.find(t):e.map(t).pop())?t.value:void 0},n.getHeaders=function(e,t){var n=r(t.toLowerCase());return e.filter(n).map(function(e){return[t,e.value]})}},{}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.audio=n.video=n.flash=n.font=n.error=n.warning=n.css=n.html=n.svg=n.image=n.javascript=n.other=n.plain=n.err5xx=n.err4xx=n.err3xx=n.noTls=void 0;var i,o,a,s,l,u,d,c,p,h,f,v,m,g,y=e("./svg"),b=function(e,t,n,r,i,o){t=y.newSvg("",{x:e,y:t}),i=y.newG("icon "+r,{transform:"scale("+i+")"});return i.appendChild(o),i.appendChild(y.newTitle(n)),t.appendChild(i),t};function w(e,t,n,r){return void 0===r&&(r=1),void 0===u&&(u=y.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")),b(e,t,n,"icon-image",r,u.cloneNode(!1))}function C(e,t,n,r){return void 0===r&&(r=1),void 0===p&&(p=y.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")),b(e,t,n,"icon-warning",r,p.cloneNode(!1))}n.noTls=function(e,t,n,r){return void 0===r&&(r=1),void 0===i&&(i=y.newPath("M18 6.216v2.77q0 .28-.206.486-.205.206-.486.206h-.693q-.28 0-.486-.206-.21-.205-.21\n -.487v-2.77q0-1.145-.81-1.957-.813-.81-1.96-.81-1.146 0-1.957.81-.81.812-.81 1.958v2.077h1.037q.434\n 0 .737.303.302.303.302.736v6.23q0 .433-.305.736t-.737.303H1.038q-.433 0-.736-.3Q0 15.996 0\n 15.56V9.33q0-.433.303-.736t.735-.303h7.27V6.218q0-2 1.422-3.423 1.423-1.423 3.424-1.423 2\n 0 3.424 1.424Q18 4.214 18 6.216")),b(e,t,n,"icon-no-tls",r,i.cloneNode(!1))},n.err3xx=function(e,t,n,r){return void 0===r&&(r=1),void 0===o&&(o=y.newPath("M17 2.333V7q0 .27-.198.47-.198.197-.47.197h-4.665q-.438 0-.615-.417-.177-.406.146-.72l1.437-1.436Q11.095\n 3.667 9 3.667q-1.083 0-2.068.422-.984.42-1.703 1.14-.72.715-1.14 1.7-.426.984-.426 2.07 0 1.08.422 2.065.42.984\n 1.14 1.703.718.72 1.702 1.14.984.422 2.067.422 1.24 0 2.344-.54 1.104-.543 1.864-1.533.073-.105.24-.126.146 0\n .26.095l1.427 1.436q.095.084.1.214.006.13-.08.234-1.133 1.376-2.75 2.13Q10.793 17 9 17q-1.625\n 0-3.104-.635-1.48-.636-2.552-1.71-1.073-1.072-1.71-2.55Q1 10.625 1 9t.635-3.104q.636-1.48 1.71-2.552\n 1.072-1.073 2.55-1.71Q7.375 1 9 1q1.53 0 2.964.578 1.432.578 2.546\n 1.63l1.355-1.343q.302-.323.73-.146.405.173.405.61z")),b(e,t,n,"icon-redirect",r,o.cloneNode(!1))},n.err4xx=function(e,t,n,r){return C(e,t,n,r=void 0===r?1:r)},n.err5xx=function(e,t,n,r){return C(e,t,n,r=void 0===r?1:r)},n.plain=function(e,t,n,r){return void 0===r&&(r=1),void 0===a&&(a=y.newPath("M15.247 4.393q.25.25.43.678.177.43.177.79v10.287q0\n .357-.25.607t-.607.25h-12q-.357 0-.607-.25t-.25-.606V1.858q0-.358.25-.608T2.997 1h8q.357 0\n .786.18.428.177.678.427zm-3.964-2.18V5.57h3.357q-.09-.256-.196-.364L11.65 2.41q-.108-.106-.367\n -.196zm3.428 13.644V6.714H11q-.357 0-.607-.25t-.25-.607V2.143h-6.86v13.714H14.71zM5.57\n 8.143q0-.125.08-.205.08-.08.204-.08h6.286q.125 0 .205.08.08.08.08.205v.57q0 .126-.08.207-.08.08\n -.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.206v-.57zm6.57 2q.125 0 .205.08.08.08.08.206V11q0\n .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.205v-.57q0-.126.08-.207.08-.08.2\n -.08h6.286zm0 2.286q.125 0 .205.08.08.08.08.2v.572q0 .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205\n -.08-.08-.08-.08-.205v-.572q0-.124.08-.204.08-.08.2-.08h6.286z")),b(e,t,n,"icon-plain",r,a.cloneNode(!1))},n.other=function(e,t,n,r){return void 0===r&&(r=1),void 0===s&&(s=y.newPath("M10.8 13.5v3q0 .2-.15.35-.15.15-.35.15h-3q-.2 0-.35-.15-.15-.15-.15-.35v-3q0-.2.15-.35.15\n -.15.35-.15h3q.2 0 .35.15.15.15.15.35zM14.75 6q0 .675-.193 1.262-.193.588-.437.957-.244.365\n -.688.74-.443.375-.718.543-.275.17-.763.444-.51.286-.852.81-.344.526-.344.84 0 .21-.15.405-.15.194\n -.35.194h-3q-.186 0-.318-.23-.13-.234-.13-.47v-.564q0-1.037.812-1.956.812-.917 1.787-1.355.74-.336\n 1.05-.7.314-.362.314-.95 0-.524-.583-.924-.58-.4-1.343-.4-.814 0-1.35.362-.44.312-1.34 1.437-.16.2\n -.386.2-.15 0-.313-.1L3.4 4.987q-.16-.124-.193-.312-.03-.188.07-.35Q5.277 1 9.077 1q1 0 2.01.387\n 1.01.388 1.825 1.038.812.65 1.325 1.594.51.94.51 1.98z")),b(e,t,n,"icon-other",r,s.cloneNode(!1))},n.javascript=function(e,t,n,r){return void 0===r&&(r=1),void 0===l&&(l=y.newPath("M13.516 2.9c-2.766 0-4.463 1.522-4.463 3.536 0 1.733 1.295 2.82 3.256 3.52\n 1.413.49 1.973.926 1.973 1.644 0 .787-.647 1.296-1.873 1.296-1.137 0-2.26-.368-2.96-.736l-.54\n 2.19c.665.367 1.996.734 3.344.734 3.238 0 4.744-1.68 4.744-3.658\n 0-1.68-.966-2.767-3.05-3.537-1.54-.6-2.186-.93-2.186-1.68 0-.6.56-1.14 1.714-1.14\n 1.137 0 1.996.33 2.45.56l.596-2.138c-.7-.332-1.663-.596-3.01-.596zm-9.032.192v7.44c0\n 1.822-.702 2.33-1.822 2.33-.525 0-.997-.09-1.365-.212L1 14.805c.525.175 1.33.28 1.96.28\n 2.574 0 4.185-1.173 4.185-4.534V3.097h-2.66z")),b(e,t,n,"icon-js",r,l.cloneNode(!1))},n.image=w,n.svg=function(e,t,n,r){return w(e,t,n,r=void 0===r?1:r)},n.html=function(e,t,n,r){return void 0===r&&(r=1),void 0===d&&(d=y.newPath("M5.626 13.31l-.492.492q-.098.098-.226.098t-.226-.098L.098 9.22Q0 9.12 0\n 8.99q0-.127.098-.226L4.682 4.18q.098-.097.226-.097t.226.098l.492.49q.1.1.1.23t-.1.23L1.76\n 8.99l3.866 3.866q.1.098.1.226t-.1.226zM11.44 2.815l-3.67\n 12.7q-.04.127-.152.19-.113.065-.23.026l-.61-.162q-.13-.04-.193-.152-.064-.112-.024-.24l3.67-12.698q.04\n -.128.157-.192.113-.064.23-.025l.61.167q.13.04.193.152.063.113.023.24zM17.9\n 9.22l-4.582 4.58q-.098.098-.226.098t-.226-.098l-.492-.492q-.1-.098-.1-.226t.1-.226L16.24\n 8.99l-3.867-3.865q-.1-.098-.1-.226t.1-.23l.492-.49q.098-.1.226-.1t.23.1l4.58 4.583q.1.1.1.226 0 .13-.1.23z")),b(e,t,n,"icon-html",r,d.cloneNode(!1))},n.css=function(e,t,n,r){return void 0===r&&(r=1),void 0===c&&(c=y.newPath("M15.436.99q.625 0 1.095.416.47.415.47 1.04 0 .564-.4 1.35-2.97 5.624-4.16 6.724-.865.814\n -1.946.814-1.127 0-1.935-.827-.81-.827-.81-1.962 0-1.144.822-1.895l5.705-5.175Q14.8.99\n 15.435.99zM7.31 10.232q.35.68.953 1.162.603.483 1.345.68l.01.634q.035 1.904-1.16 3.102-1.192\n 1.198-3.114 1.198-1.1 0-1.948-.416-.85-.415-1.364-1.14-.514-.723-.773-1.635Q1 12.905 1\n 11.85l.366.268q.304.224.555.398.25.175.53.327.277.15.41.15.368 0 .493-.33.224-.59.515-1.005.29\n -.415.62-.68.332-.263.788-.424.455-.16.92-.228.465-.066 1.118-.094z")),b(e,t,n,"icon-css",r,c.cloneNode(!1))},n.warning=C,n.error=function(e,t,n,r){return void 0===r&&(r=1),void 0===h&&(h=y.newPath("M9 1q2.177 0 4.016 1.073 1.838 1.073 2.91 2.91Q17 6.823 17 9q0 2.177-1.073 4.016-1.073\n 1.838-2.91 2.91Q11.177 17 9 17q-2.177 0-4.016-1.073-1.838-1.073-2.91-2.91Q1 11.177 1 9q0-2.177 1.073-4.016\n 1.073-1.838 2.91-2.91Q6.823 1 9 1zm1.333 12.99v-1.98q0-.145-.093-.244-.094-.1-.23-.1h-2q-.135 0-.24.105\n -.103.106-.103.24v1.98q0 .136.104.24.106.104.24.104h2q.137 0 .23-.1.094-.098.094-.243zm-.02-3.584l.187\n -6.468q0-.125-.104-.188-.104-.084-.25-.084H7.854q-.146 0-.25.084-.104.062-.104.188l.177 6.468q0\n .104.104.183.106.076.25.076h1.93q.146 0 .245-.078.1-.08.11-.184z")),b(e,t,n,"icon-no-gzip",r,h.cloneNode(!1))},n.font=function(e,t,n,r){return void 0===r&&(r=1),void 0===f&&(f=y.newPath("M7.97 5.754L6.338 10.08q.317 0 1.312.02.994.02 1.542.02.183 0 .548-.02-.836-2.432-1.77\n -4.345zM1 16.38l.02-.76q.22-.068.538-.12.317-.053.548-.102.23-.048.476-.14.245-.09.428-.278.182\n -.187.298-.485l2.28-5.923 2.69-6.962H9.51q.077.135.105.202l1.972 4.615q.317.75 1.02 2.476.7 1.726\n 1.095 2.64.144.327.558 1.39.413 1.062.692 1.62.192.432.336.547.183.145.847.284.663.14.807.197.058.37.058.55\n 0 .04-.005.13t-.005.128q-.605 0-1.827-.076-1.22-.08-1.836-.08-.73 0-2.067.07-1.337.067-1.712.076 0-.412.04\n -.75l1.258-.27q.01 0 .12-.022l.15-.033q.038-.01.14-.044.1-.034.143-.06l.1-.08q.06-.048.082-.106.024-.056.024\n -.133 0-.152-.298-.926t-.693-1.71q-.392-.93-.402-.96l-4.325-.02q-.25.56-.734 1.88-.487 1.32-.487 1.56 0\n .213.136.362.134.15.418.235.285.087.467.13.185.044.55.08.366.04.395.04.01.183.01.558 0 .087-.02.26-.558\n 0-1.678-.095-1.12-.098-1.678-.098-.08 0-.26.04-.18.037-.208.037-.77.136-1.808.136Z")),b(e,t,n,"icon-font",r,f.cloneNode(!1))},n.flash=function(e,t,n,r){return void 0===r&&(r=1),void 0===v&&(v=y.newPath("M13.724 4.738q.195.216.076.476L7.96 17.73q-.142.27-.456.27-.043 0-.15-.022-.185-.054-.277\n -.205-.092-.15-.05-.325l2.132-8.74L4.765 9.8q-.044.01-.13.01-.195 0-.336-.118-.193-.162-.14-.422L6.337.346q.043\n -.15.173-.25Q6.64 0 6.81 0h3.548q.206 0 .346.135.14.135.14.32 0 .086-.053.194L8.94 5.654l4.285\n -1.06q.086-.02.13-.02.205 0 .367.16z")),b(e,t,n,"icon-flash",r,v.cloneNode(!1))},n.video=function(e,t,n,r){return void 0===r&&(r=1),void 0===m&&(m=y.newPath("M17 4.107v9.714q0 .38-.348.53-.116.05-.223.05-.25 0-.41-.17l-3.6-3.6v1.48q0 1.067-.757 1.82-.754.756\n -1.817.756H3.57q-1.06 0-1.816-.753Q1 13.17 1 12.106V5.82q0-1.06.754-1.816.755-.754 1.817-.754h6.29q1.07 0\n 1.82.754.76.755.76 1.817V7.3l3.597-3.59q.16-.17.4-.17.107 0 .22.045.35.153.35.528z")),b(e,t,n,"icon-video",r,m.cloneNode(!1))},n.audio=function(e,t,n,r){return void 0===r&&(r=1),void 0===g&&(g=y.newPath("M8.385 3.756v10.46q0 .252-.183.434-.183.183-.433.183t-.44-.183l-3.2-3.202H1.61q-.25\n 0-.43-.183-.18-.182-.18-.432V7.14q0-.25.182-.432.182-.183.432-.183h2.52l3.202-3.202q.182-.183.432\n -.183t.43.183q.182.183.182.433zm3.692 5.23q0 .73-.41 1.36-.407.63-1.08.9-.097.048-.24.048-.25 0\n -.434-.178-.182-.177-.182-.437 0-.21.12-.35.12-.14.28-.24.16-.1.33-.22.166-.12.28-.34.117-.22.117\n -.55 0-.33-.115-.55-.115-.224-.28-.344-.163-.12-.326-.22-.165-.1-.28-.24-.116-.14-.116-.34 0-.26.183\n -.44t.43-.176q.146 0 .24.048.676.26 1.08.894.41.636.41 1.367zm2.46 0q0 1.472-.816 2.717t-2.16 1.813q\n -.12.048-.24.048-.26 0-.44-.183-.18-.18-.18-.43 0-.37.378-.56.54-.28.73-.42.713-.52 1.11-1.302.4\n -.783.4-1.667 0-.886-.4-1.67-.4-.783-1.11-1.303-.192-.145-.73-.424-.376-.192-.376-.567 0-.25.183\n -.434.183-.18.433-.18.123 0 .25.047 1.344.567 2.16 1.812.82 1.244.82 2.716zm2.463 0q0 2.212\n -1.22 4.063-1.222 1.85-3.25 2.72-.126.05-.25.05-.25 0-.434-.19-.183-.183-.183-.433 0-.346.375\n -.568.068-.04.217-.1.15-.064.216-.1.45-.244.79-.494 1.19-.875 1.85-2.183.67-1.306.67-2.777 0\n -1.47-.663-2.78-.664-1.304-1.846-2.18-.346-.25-.79-.49-.065-.035-.214-.1-.15-.06-.22-.1\n -.375-.22-.375-.57 0-.25.183-.43.183-.182.433-.182.123 0 .25.047 2.027.876 3.25 2.727Q17 6.775 17 8.99Z")),b(e,t,n,"icon-audio",r,g.cloneNode(!1))}},{"./svg":6}],4:[function(e,t,n){"use strict";function r(e,t){var n=0;if(e&&!(e.length<1))for(var r=e.length;nn?e.authority.substr(0,n)+"..."+t[t.length-1].substr(-r):e.authority+"..."+t[t.length-1].substr(-r)},n.roundNumber=function(e,t){return void 0===t&&(t=2),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},n.isInStatusCodeRange=function(e,t,n){return t<=e&&e<=n};var i=/[^a-z-]/g;n.toCssClass=function(e){return e.toLowerCase().replace(i,"")},n.pluralize=function(e,t){return e+(1(local time: "+e.toLocaleString()+")":void 0};n.formatBytes=function(e){if(void 0===e)return"";var t=e+" bytes";return 1048576<=e?t+" (~"+r.roundNumber(e/1048576,1)+" MB)":1024<=e?t+" (~"+r.roundNumber(e/1024,0)+" kB)":t};var a={'"':""","&":"&","'":"'","<":"<",">":">"},s=new RegExp(Object.keys(a).join("|"),"g");n.escapeHtml=function(e){if(null==(e=void 0===e?"":e))return"";if("string"!=typeof e){if("function"!=typeof e.toString)throw TypeError("Invalid parameter");e=e.toString()}return e.replace(s,function(e){return a[e]})};var l=new RegExp("[^-A-Za-z0-9+&@#/%?=~_|!:,.;()]","g");n.sanitizeUrlForLink=function(e){var t=e.replace(l,"_");return 0===t.indexOf("http://")||0===t.indexOf("https://")?t:(console.warn("skipped link, due to potentially unsafe url",e),"")};var u=new RegExp("[^a-zA-Z0-9]","g");function d(e){return"number"==typeof e?e:"string"==typeof e?parseInt(e,10):void 0}n.sanitizeAlphaNumeric=function(e){return e.toString().replace(u,"")},n.toInt=d,n.validateOptions=function(n){function e(e){var t=d(n[e]);if(void 0===t)throw TypeError('option "'+e+'" needs to be a number');n[e]=t}function t(e){n[e]=!!n[e]}return e("leftColumnWidth"),e("rowHeight"),e("selectedPage"),t("showAlignmentHelpers"),t("showIndicatorIcons"),t("showMimeTypeIcon"),n}},{"./misc":4}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getNodeTextWidth=n.newPath=n.newTextEl=n.newTitle=n.newLine=n.newRect=n.newA=n.newForeignObject=n.newClipPath=n.newG=n.newSvg=void 0;var o=e("./dom"),a="http://www.w3.org/2000/svg";function r(e,t){var n=void 0===t?{}:t,r=n.attributes,i=void 0===r?{}:r,t=n.css,r=void 0===t?{}:t,t=n.text,t=void 0===t?"":t,n=n.className,n=void 0===n?"":n,e=document.createElementNS(a,e);return n&&o.addClass(e,n),t&&(e.textContent=t),o.safeSetStyles(e,r),o.safeSetAttributes(e,i),e}function i(e,t,n){return r("svg",{className:e,attributes:t,css:n=void 0===n?{}:n})}n.newSvg=i,n.newG=function(e,t,n){return r("g",{className:e,attributes:t=void 0===t?{}:t,css:n=void 0===n?{}:n})},n.newClipPath=function(e){return r("clipPath",{attributes:{id:e}})},n.newForeignObject=function(e,t,n){return r("foreignObject",{attributes:e,className:t=void 0===t?"":t,css:n=void 0===n?{}:n})},n.newA=function(e){return r("a",{className:e})},n.newRect=function(e,t,n){return r("rect",{attributes:e,className:t=void 0===t?"":t,css:n=void 0===n?{}:n})},n.newLine=function(e,t){return r("line",{className:t=void 0===t?"":t,attributes:e})},n.newTitle=function(e){var t=document.createElementNS(a,"title");return t.setAttribute("text",e),t},n.newTextEl=function(e,t,n){return r("text",{text:e,attributes:t=void 0===t?{}:t,css:n=void 0===n?{}:n})},n.newPath=function(e){var t=document.createElementNS(a,"path");return t.setAttribute("d",e),t};var s,l,u=function(){return void 0===s&&(s=i("water-fall-chart temp",{className:"water-fall-chart temp",width:"9999px"},{left:"0px",position:"absolute",top:"0px",visibility:"hidden","z-index":"99999"})),void 0===s.parentElement&&window.document.body.appendChild(s),clearTimeout(l),l=setTimeout(function(){s.parentNode.removeChild(s)},500),s};n.getNodeTextWidth=function(e,t){if(void 0===t&&(t=!1),0===(e.textContent||"").length)return 0;var n,r=u();t?(n=e.style.textShadow,i=e):((i=e.cloneNode(!0)).setAttribute("x","0"),i.setAttribute("y","0")),i.style.textShadow="0",r.appendChild(i),window.document.body.appendChild(r);var i=i.getComputedTextLength();return t&&void 0!==n&&(e.style.textShadow=n),i}},{"./dom":1}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.makeLegend=void 0,n.makeLegend=function(){var e=document.createElement("ul");return e.className="resource-legend",e.innerHTML='\n
  • Blocked
  • \n
  • DNS
  • \n
  • Connect
  • \n
  • SSL (TLS)
  • \n
  • Send
  • \n
  • Wait
  • \n
  • Receive
  • ',e}},{}],8:[function(e,t,n){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=this.getPageCount())throw new Error("Page does not exist - Invalid pageIndex selected");this.selectedPageIndex=e;var n=this.doc.pages[this.selectedPageIndex];this.onPageUpdateCbs.forEach(function(e){e(t.selectedPageIndex,n)})}},r.prototype.onPageUpdate=function(e){if(1=this.doc.pages.length&&(this.selectedPageIndex=this.doc.pages.length-1)}n.default=e},{"../helpers/dom":1}],10:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getKeys=void 0;var u=e("../helpers/har"),d=e("../helpers/parse"),c=e("./helpers"),p=function(e,t){return[e,d.parseAndFormat(t,d.parsePositive,d.formatBytes)]},r=function(e,t){return[e,d.parseAndFormat(t,d.parsePositive)]},h=function(e){return 1",i="",e=t.filter(function(e){return"error"===e.type}).map(function(e){return[e.title,e.description]}),n=t.filter(function(e){return"warning"===e.type}).map(function(e){return[e.title,e.description]}),t=t.filter(function(e){return"error"!==e.type&&"warning"!==e.type}).map(function(e){return[e.title,e.description]});0'+d.pluralize("Error",e.length)+"\n
    "+h.makeDefinitionList(e)+"
    ");0'+d.pluralize("Warning",n.length)+"\n
    "+h.makeDefinitionList(n)+"
    ");0Info\n
    '+h.makeDefinitionList(t)+"
    ");return g("General",i+r)}(r.general,o)),u.push((i=r.request,o=r.requestHeaders,g("Request","
    \n "+h.makeDefinitionList(i)+"\n
    \n

    All Request Headers

    \n
    \n "+h.makeDefinitionList(o)+"\n
    "))),u.push((i=r.response,o=r.responseHeaders,g("Response","
    \n "+h.makeDefinitionList(i)+"\n
    \n

    All Response Headers

    \n
    \n "+h.makeDefinitionList(o)+"\n
    "))),u.push(g("Timings",h.makeDefinitionList(r.timings,!0))),u.push((a=e,y("Raw Data",function(){return'\n \n
    '+c.escapeHtml(JSON.stringify(a,null,2))+"
    \n "},"raw-data rendered-data"))),"image"===n&&u.push((s=e,y("Preview",function(e){return''}))),e.response.content&&0===e.response.content.mimeType.indexOf("text/")&&e.response.content.text&&u.push((e=(e=e).response.content.text||"",l=e.replace(f,"\n").replace(m,"\t"),y("Content ("+(e=(e=e.match(v))?e.length:1)+" Line"+(1Copy Content to Clipboard\n
    '+c.escapeHtml(l)+"
    \n "},"content rendered-data"))),u.filter(function(e){return void 0!==e})}},{"../helpers/misc":4,"../helpers/parse":5,"./extract-details-keys":10,"./helpers":14}],13:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.transformPage=n.transformDoc=void 0;var o=e("../helpers/misc"),l=e("../helpers/parse"),u=e("./har-heuristics"),d=e("./har-tabs"),c=e("./helpers");n.transformDoc=function(e,n){var r=void 0!==e.log?e.log:e;return{pages:p(r).map(function(e,t){return i(r,t,n)})}};var p=function(e){return e.pages&&0a&&(a=e.startTime)}),n.fixedLengthMs&&(a=n.fixedLengthMs),{docIsTLS:s,durationMs:a+=100,entries:e,marks:t,title:i.title}}n.transformPage=i;var h=function(t,e,n){if(void 0===t)return[];function r(e,t){return e.startTime-t.startTime}var i=Object.keys(t).filter(function(e){return"number"==typeof t[e]&&0<=t[e]}).map(function(e){return{name:l.escapeHtml(e.replace(/^[_]/,""))+" ("+o.roundNumber(t[e],0)+" ms)",startTime:t[e]}});return(n.showUserTiming?a(e,n).concat(i):i).sort(r)},a=function(i,o){var t,n=o.showUserTimingEndMarker?function(e){return 0===e.indexOf("_userTime.")}:function(e){return 0===e.indexOf("_userTime.")&&0!==e.indexOf("_userTime.endTimer-")},e=n;Array.isArray(o.showUserTiming)&&(t=o.showUserTiming,e=function(e){return n(e)&&0<=t.indexOf(e.replace(/^_userTime\./,""))});var a=/^_userTime\.((?:startTimer-)?(.+))$/;return Object.keys(i).filter(e).map(function(e){var t=a.exec(e)||[,void 0,void 0],n=t[1],r=t[2];return(n=l.escapeHtml(n))!==(r=l.escapeHtml(r))&&i["_userTime.endTimer-"+r]?{duration:t=i["_userTime.endTimer-"+r]-i[e],name:(o.showUserTimingEndMarker?n:r)+" ("+i[e]+" - "+(i[e]+t)+" ms)",startTime:i[e]}:{name:n,startTime:i[e]}})},f=function(a,s){var l=s.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(e,t){var n=v(t,s,e,a);if(n.end&&n.start>=n.end)return e;if("connect"===t&&l.ssl&&-1!==l.ssl){var r=parseInt(""+s._ssl_start,10)||n.start,i=parseInt(""+s._ssl_end,10)||n.start+l.ssl,o=parseInt(""+s._ssl_start,10)?n.start:i;return e.concat([c.createWaterfallEntryTiming("ssl",Math.round(r),Math.round(i))]).concat([c.createWaterfallEntryTiming(t,Math.round(o),Math.round(n.end))])}return e.concat([c.createWaterfallEntryTiming(t,Math.round(n.start),Math.round(n.end))])},[])},v=function(e,t,n,r){var i;switch(e){case"wait":i="ttfb";break;case"receive":i="download";break;default:i=e}var o=parseInt(t["_"+i+"_start"],10),a=parseInt(t["_"+i+"_end"],10),o=isNaN(o)?0")}var i=e("../helpers/misc"),o=e("../helpers/parse"),a=e("../waterfall/row/svg-indicators");n.makeDefinitionList=function(e,n){return void 0===n&&(n=!1),e.map(function(e){return"\n
    "+r(e[0])+"
    \n
    "+r(e[1])+"
    \n ";var t}).join("")},n.mimeToRequestType=function(e){if(void 0===e)return"other";var t=(e=e.split("/"))[1];switch(void 0!==t&&(t=-1"}).join("\n"),a=t.tabs.map(function(e){var t="tab";e.tabClass&&(t+=" "+e.tabClass);var n="";if(e.content)n=e.content;else{if("function"!=typeof e.renderContent)throw TypeError("Invalid Details Tab");n=e.renderContent(r),e.content=n}return'
    '+n+"
    "}).join("\n");return i.innerHTML='\n
    \n
    \n

    #'+e+' \n '+l.escapeHtml(t.url)+'\n

    \n \n
    \n "+a+"\n
    \n ",n.appendChild(i),n}},{"../../helpers/dom":1,"../../helpers/parse":5}],17:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.OverlayManager=void 0;var h=e("../../helpers/dom"),f=e("../../helpers/misc"),v=e("./svg-details-overlay"),e=(m.prototype.getCombinedOverlayHeight=function(){return this.openOverlays.reduce(function(e,t){return e+(t.height||0)},0)},m.prototype.openOverlay=function(t,e,n,r,i){var o;this.openOverlays.some(function(e){return e.index===t})||((o=this).openOverlays.push({defaultY:e,entry:r,index:t,onClose:function(){o.closeOverlay(t,n,i)},openTabIndex:0}),this.openOverlays=this.openOverlays.sort(function(e,t){return e.index>t.index?1:-1}),this.renderOverlays(n,i),this.context.pubSub.publishToOverlayChanges({changedIndex:t,combinedOverlayHeight:o.getCombinedOverlayHeight(),type:"open"}))},m.prototype.toggleOverlay=function(t,e,n,r,i){this.openOverlays.some(function(e){return e.index===t})?this.closeOverlay(t,n,i):this.openOverlay(t,e,n,r,i)},m.prototype.closeOverlay=function(r,e,t){this.openOverlays.splice(this.openOverlays.reduce(function(e,t,n){return t.index===r?n:e},-1),1),this.renderOverlays(e,t),this.context.pubSub.publishToOverlayChanges({changedIndex:r,combinedOverlayHeight:this.getCombinedOverlayHeight(),type:"closed"})},m.prototype.renderOverlays=function(u,e){function d(e,t,n){p+=n,e.actualY=t,e.height=n}var c=this,p=0;e.forEach(function(e,t){var n=f.find(c.openOverlays,function(e){return e.index===t}),r=e.nextElementSibling,i=r.firstElementChild;if(c.realignRow(e,p),void 0!==n){if(i&&void 0!==n.actualY){var o=i.querySelector(".info-overlay-bg"),a=i.querySelector("foreignObject"),s=i.querySelector(".info-overlay-close-btn rect"),l=i.querySelector(".info-overlay-close-btn text");return d(n,n.defaultY+p,n.height),o.setAttribute("y",n.actualY.toString()),a.setAttribute("y",n.actualY.toString()),l.setAttribute("y",n.actualY.toString()),void s.setAttribute("y",n.actualY.toString())}a=e.nextElementSibling,s=(l=n).defaultY+p,e=v.createRowInfoOverlay(l,s,u),(n=e.querySelector("img.preview"))&&!n.src&&n.setAttribute("src",(n.attributes.getNamedItem("data-src")||{value:""}).value),e.querySelector("a").addEventListener("keydown",m.firstElKeypress),h.getLastItemOfNodeList(e.querySelectorAll("button")).addEventListener("keydown",m.lastElKeypress),a.appendChild(e),d(l,s,e.getBoundingClientRect().height)}else i&&null!==r&&(r.querySelector("a").removeEventListener("keydown",m.firstElKeypress),h.getLastItemOfNodeList(r.querySelectorAll("button")).removeEventListener("keydown",m.lastElKeypress),h.removeChildren(r))})},m.showFullName=function(e){null!==(e=e.getElementsByClassName("row-fixed").item(0))&&void 0!==e&&e.dispatchEvent(new MouseEvent("mouseenter"))},m.firstElKeypress=function(e){!f.isTabUp(e)||(e=h.getParentByClassName(e.target,"row-overlay-holder"))&&e.previousElementSibling&&m.showFullName(e.previousElementSibling)},m.lastElKeypress=function(e){!f.isTabDown(e)||(e=h.getParentByClassName(e.target,"row-overlay-holder"))&&e.nextElementSibling&&m.showFullName(e.nextElementSibling)},m);function m(e){this.context=e,this.openOverlays=[],this.realignRow=function(e,t){e.setAttribute("transform","translate(0, "+t+")")}}n.OverlayManager=e,n.default=e},{"../../helpers/dom":1,"../../helpers/misc":4,"./svg-details-overlay":19}],18:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.PubSub=void 0;var r=(i.prototype.subscribeToOverlayChanges=function(e){this.subscribers.push(e)},i.prototype.subscribeToSpecificOverlayChanges=function(t,n){this.subscribers.push(function(e){e.changedIndex===t&&n(e)})},i.prototype.publishToOverlayChanges=function(t){this.subscribers.forEach(function(e){return e(t)})},i);function i(){this.subscribers=[]}n.PubSub=r,n.default=r},{}],19:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.createRowInfoOverlay=void 0;var d=e("../../helpers/dom"),c=e("../../helpers/svg"),p=e("./html-details-body");function h(e){var t=e.target;"button"===t.tagName.toLowerCase()&&t.classList.contains("copy-tab-data")&&((e=document.createElement("textarea")).value=t.nextElementSibling?t.nextElementSibling.innerText:"",document.body.appendChild(e),e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(e))}n.createRowInfoOverlay=function(e,t,n){var r,i=e.index+1,o=(o=t,r=n,a=c.newG("info-overlay-holder"),o=c.newRect({height:r,rx:2,ry:2,width:"100%",x:"0",y:o},"info-overlay-bg"),a.appendChild(o),a),a=c.newForeignObject({height:n,width:"100%",x:"0",y:t}),s=p.createDetailsBody(i,n,e.entry);function l(){return s.getElementsByClassName("tab-button")}function u(n){e.openTabIndex=n,d.forEachNodeList(s.getElementsByClassName("tab"),function(e,t){e.style.display=n===t?"block":"none",l().item(t).classList.toggle("active",n===t)})}return(t=(n=t,(t=c.newA("info-overlay-close-btn")).appendChild(c.newRect({height:23,width:23,x:"100%",y:n})),t.appendChild(c.newTextEl("✕",{dx:7,dy:16,x:"100%",y:n})),t.appendChild(c.newTitle("Close Overlay")),t)).addEventListener("click",function(){e.onClose(e.index),s.removeEventListener("click",h)}),s.addEventListener("click",h),d.forEachNodeList(l(),function(e,t){e.addEventListener("click",function(){return u(t)})}),u(e.openTabIndex),a.appendChild(s),o.appendChild(a),o.appendChild(t),o}},{"../../helpers/dom":1,"../../helpers/svg":6,"./html-details-body":16}],20:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getIndicatorIcons=n.makeIcon=void 0;var o=e("../../helpers/misc");function a(e,t){return{type:e,title:t,width:20}}n.makeIcon=a,n.getIndicatorIcons=function(e){if(0===(i=e.responseDetails.indicators.filter(function(e){return"icon"===e.displayType})).length)return[];var t=[],n="",r=i.filter(function(e){return"error"===e.type}),e=i.filter(function(e){return"warning"===e.type}),i=i.filter(function(e){return"error"!==e.type&&"warning"!==e.type});return 0total: "+Math.round(t.total)+"ms",n=h(t={cssClass:c.timingTypeToCssClass(t.type),height:n.height-6,hideOverlay:n.hideOverlay,label:""+t.type+"
    "+Math.round(t.start)+"ms - "+Math.round(t.end)+"ms"+e,showOverlay:n.showOverlay,unit:n.unit,width:t.total,x:t.start||.001,y:n.y},"segment "+t.cssClass),l=Math.min(l,t.x),s.appendChild(n))}),u.find(e.responseDetails.indicators,function(e){return"push"===e.id})&&s.appendChild((n=(t=r).y+t.height/1.5,i=u.roundNumber(t.x/t.unit)+"%",(t=d.newG("http2-inidicator-holder")).appendChild(d.newTextEl("→",{transform:"translate(-5)",x:i,y:n},{fillOpacity:"0.6","text-anchor":"end"})),t.appendChild(d.newTitle("http2 Push")),t)),s.appendChild((a=r,o=e.total,i=l,n=a.y+a.height/1.5,t=Math.round(o)+" ms",e=(a.x+a.width)/a.unit+1,o=d.newTextEl(t,{x:u.roundNumber(e)+"%",y:n}),100');return e.appendChild(t),r.appendChild(e),n.appendChild(r),n}},{"../../helpers/dom":1,"../../helpers/svg":6}],24:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.makeHoverEvtListeners=n.createAlignmentLines=void 0;var r=e("../../helpers/dom"),i=e("../../helpers/svg");n.createAlignmentLines=function(e){return{endline:i.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-end"),startline:i.newLine({x1:"0",x2:"0",y1:"0",y2:e},"line-start")}},n.makeHoverEvtListeners=function(n){return{onMouseEnterPartial:function(){return function(e){var t=e.target;r.addClass(t,"active");e=t.x.baseVal.valueInSpecifiedUnits+t.width.baseVal.valueInSpecifiedUnits+"%",t=t.x.baseVal.valueInSpecifiedUnits+"%";n.endline.x1.baseVal.valueAsString=e,n.endline.x2.baseVal.valueAsString=e,n.startline.x1.baseVal.valueAsString=t,n.startline.x2.baseVal.valueAsString=t,r.addClass(n.endline,"active"),r.addClass(n.startline,"active")}},onMouseLeavePartial:function(){return function(e){e=e.target;r.removeClass(e,"active"),r.removeClass(n.endline,"active"),r.removeClass(n.startline,"active")}}}}},{"../../helpers/dom":1,"../../helpers/svg":6}],25:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.createTimeScale=void 0;var p=e("../../helpers/misc"),h=e("../../helpers/svg");n.createTimeScale=function(e,t){for(var n=h.newG("time-scale full-width"),r=200*Math.ceil(t/1e4),i=1e3/r,o=t/1e3,a=t/r,s=0;s<=a;s++)!function(e,t,n,r,i){void 0===i&&(i=!1);var o,a,s,l=e.diagramHeight,u=100/n,d="sub-second-line";i&&(a=n-.2"+e.url+"
    "+Math.round(e.start)+"ms - "+Math.round(e.end)+"ms
    total: "+(isNaN(e.total)?"n/a ":Math.round(e.total))+"ms",showOverlay:o.showAlignmentHelpers?a.onMouseEnterPartial:void 0,unit:l.unit,width:n,x:i,y:r},i=C.createRow(l,t,h,f,i,e,function(){l.overlayManager.toggleOverlay(t,r+o.rowHeight,450,e,v)});v.push(i),s.appendChild(i),s.appendChild(g.newG("row-overlay-holder"))}),o.showAlignmentHelpers&&void 0!==t&&d.appendChild(t),u.appendChild(d),u.appendChild(s),u.appendChild(r),u.appendChild(x.makeTooltip(o)),u}},{"../helpers/svg":6,"../transformers/styling-converters":15,"./details-overlay/overlay-manager":17,"./details-overlay/pub-sub":18,"./row/svg-row":22,"./row/svg-tooltip":23,"./sub-components/svg-alignment-helper":24,"./sub-components/svg-general-components":25,"./sub-components/svg-marks":26}]},{},[8])(8)}); \ No newline at end of file