Socket
Socket
Sign inDemoInstall

perf-cascade

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

perf-cascade - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

2

dist/perf-cascade-file-reader.min.js

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

/*! github.com/micmro/PerfCascade Version:0.2.7 (04/12/2016) */
/*! github.com/micmro/PerfCascade Version:0.2.8 (05/12/2016) */
!function(a){"use strict";function b(){this.crc=-1}function c(){}function d(a,b,c){if(b<0||c<0||b+c>a.size)throw new RangeError("offset:"+b+", length:"+c+", size:"+a.size);return a.slice?a.slice(b,b+c):a.webkitSlice?a.webkitSlice(b,b+c):a.mozSlice?a.mozSlice(b,b+c):a.msSlice?a.msSlice(b,b+c):void 0}function e(a,b){var c,d;return c=new ArrayBuffer(a),d=new Uint8Array(c),b&&d.set(b,0),{buffer:c,array:d,view:new DataView(c)}}function f(){}function g(a){function b(b,c){var f=new Blob([a],{type:P});d=new i(f),d.init(function(){e.size=d.size,b()},c)}function c(a,b,c,e){d.readUint8Array(a,b,c,e)}var d,e=this;e.size=0,e.init=b,e.readUint8Array=c}function h(b){function c(a){for(var c=b.length;"="==b.charAt(c-1);)c--;f=b.indexOf(",")+1,g.size=Math.floor(.75*(c-f)),a()}function d(c,d,g){var h,i=e(d),j=4*Math.floor(c/3),k=4*Math.ceil((c+d)/3),l=a.atob(b.substring(j+f,k+f)),m=c-3*Math.floor(j/4);for(h=m;h<m+d;h++)i.array[h-m]=l.charCodeAt(h);g(i.array)}var f,g=this;g.size=0,g.init=c,g.readUint8Array=d}function i(a){function b(b){e.size=a.size,b()}function c(b,c,e,f){var g=new FileReader;g.onload=function(a){e(new Uint8Array(a.target.result))},g.onerror=f;try{g.readAsArrayBuffer(d(a,b,c))}catch(a){f(a)}}var e=this;e.size=0,e.init=b,e.readUint8Array=c}function j(){}function k(a){function b(a){e=new Blob([],{type:P}),a()}function c(a,b){e=new Blob([e,E?a:a.buffer],{type:P}),b()}function d(b,c){var d=new FileReader;d.onload=function(a){b(a.target.result)},d.onerror=c,d.readAsText(e,a)}var e,f=this;f.init=b,f.writeUint8Array=c,f.getData=d}function l(b){function c(a){g+="data:"+(b||"")+";base64,",a()}function d(b,c){var d,e=h.length,f=h;for(h="",d=0;d<3*Math.floor((e+b.length)/3)-e;d++)f+=String.fromCharCode(b[d]);for(;d<b.length;d++)h+=String.fromCharCode(b[d]);f.length>2?g+=a.btoa(f):h=f,c()}function e(b){b(g+a.btoa(h))}var f=this,g="",h="";f.init=c,f.writeUint8Array=d,f.getData=e}function m(a){function b(b){e=new Blob([],{type:a}),b()}function c(b,c){e=new Blob([e,E?b:b.buffer],{type:a}),c()}function d(a){a(e)}var e,f=this;f.init=b,f.writeUint8Array=c,f.getData=d}function n(a,b,c,d,e,f,g,h,i,j){function k(){a.removeEventListener("message",l,!1),h(o,p)}function l(b){var c=b.data,e=c.data,h=c.error;if(h)return h.toString=function(){return"Error: "+this.message},void i(h);if(c.sn===r)switch("number"==typeof c.codecTime&&(a.codecTime+=c.codecTime),"number"==typeof c.crcTime&&(a.crcTime+=c.crcTime),c.type){case"append":e?(o+=e.length,d.writeUint8Array(e,function(){m()},j)):m();break;case"flush":p=c.crc,e?(o+=e.length,d.writeUint8Array(e,function(){k()},j)):k();break;case"progress":g&&g(n+c.loaded,f);break;case"importScripts":case"newTask":case"echo":break;default:console.warn("zip.js:launchWorkerProcess: unknown message: ",c)}}function m(){n=q*O,n<=f?c.readUint8Array(e+n,Math.min(O,f-n),function(c){g&&g(n,f);var d=0===n?b:{sn:r};d.type="append",d.data=c;try{a.postMessage(d,[c.buffer])}catch(b){a.postMessage(d)}q++},i):a.postMessage({sn:r,type:"flush"})}var n,o,p,q=0,r=b.sn;o=0,a.addEventListener("message",l,!1),m()}function o(a,c,d,e,f,g,h,i,j,k){function l(){var b;if(m=n*O,m<f)c.readUint8Array(e+m,Math.min(O,f-m),function(b){var c;try{c=a.append(b,function(a){h&&h(m+a,f)})}catch(a){return void j(a)}c?(o+=c.length,d.writeUint8Array(c,function(){n++,setTimeout(l,1)},k),q&&r.append(c)):(n++,setTimeout(l,1)),p&&r.append(b),h&&h(m,f)},j);else{try{b=a.flush()}catch(a){return void j(a)}b?(q&&r.append(b),o+=b.length,d.writeUint8Array(b,function(){i(o,r.get())},k)):i(o,r.get())}}var m,n=0,o=0,p="input"===g,q="output"===g,r=new b;l()}function p(b,c,d,e,f,g,h,i,j,k,l){var m=h?"output":"none";if(a.zip.useWebWorkers){var p={sn:c,codecClass:"Inflater",crcType:m};n(b,p,d,e,f,g,j,i,k,l)}else o(new a.zip.Inflater,d,e,f,g,m,j,i,k,l)}function q(b,c,d,e,f,g,h,i,j){var k="input";if(a.zip.useWebWorkers){var l={sn:c,options:{level:f},codecClass:"Deflater",crcType:k};n(b,l,d,e,0,d.size,h,g,i,j)}else o(new a.zip.Deflater,d,e,0,d.size,k,h,g,i,j)}function r(b,d,e,f,g,h,i,j,k,l,m){var p="input";if(a.zip.useWebWorkers&&i){var q={sn:d,codecClass:"NOOP",crcType:p};n(b,q,e,f,g,h,k,j,l,m)}else o(new c,e,f,g,h,p,k,j,l,m)}function s(a){var b,c,d="",e=["Ç","ü","é","â","ä","à","å","ç","ê","ë","è","ï","î","ì","Ä","Å","É","æ","Æ","ô","ö","ò","û","ù","ÿ","Ö","Ü","ø","£","Ø","×","ƒ","á","í","ó","ú","ñ","Ñ","ª","º","¿","®","¬","½","¼","¡","«","»","_","_","_","¦","¦","Á","Â","À","©","¦","¦","+","+","¢","¥","+","+","-","-","+","-","+","ã","Ã","+","+","-","-","¦","-","+","¤","ð","Ð","Ê","Ë","È","i","Í","Î","Ï","+","+","_","_","¦","Ì","_","Ó","ß","Ô","Ò","õ","Õ","µ","þ","Þ","Ú","Û","Ù","ý","Ý","¯","´","­","±","_","¾","¶","§","÷","¸","°","¨","·","¹","³","²","_"," "];for(b=0;b<a.length;b++)c=255&a.charCodeAt(b),d+=c>127?e[c-128]:String.fromCharCode(c);return d}function t(a){return decodeURIComponent(escape(a))}function u(a){var b,c="";for(b=0;b<a.length;b++)c+=String.fromCharCode(a[b]);return c}function v(a){var b=(4294901760&a)>>16,c=65535&a;try{return new Date(1980+((65024&b)>>9),((480&b)>>5)-1,31&b,(63488&c)>>11,(2016&c)>>5,2*(31&c),0)}catch(a){}}function w(a,b,c,d,e){return a.version=b.view.getUint16(c,!0),a.bitFlag=b.view.getUint16(c+2,!0),a.compressionMethod=b.view.getUint16(c+4,!0),a.lastModDateRaw=b.view.getUint32(c+6,!0),a.lastModDate=v(a.lastModDateRaw),1===(1&a.bitFlag)?void e(H):((d||8!=(8&a.bitFlag))&&(a.crc32=b.view.getUint32(c+10,!0),a.compressedSize=b.view.getUint32(c+14,!0),a.uncompressedSize=b.view.getUint32(c+18,!0)),4294967295===a.compressedSize||4294967295===a.uncompressedSize?void e(I):(a.filenameLength=b.view.getUint16(c+22,!0),void(a.extraFieldLength=b.view.getUint16(c+24,!0))))}function x(b,c,d){function f(){}function g(a){function c(c,f){b.readUint8Array(b.size-c,c,function(b){for(var c=b.length-e;c>=0;c--)if(80===b[c]&&75===b[c+1]&&5===b[c+2]&&6===b[c+3])return void a(new DataView(b.buffer,c,e));f()},function(){d(J)})}var e=22;if(b.size<e)return void d(F);var f=65536,g=e+f;c(e,function(){c(Math.min(g,b.size),function(){d(F)})})}var h=0;f.prototype.getData=function(a,c,f,g){function i(a){var b=e(4);return b.view.setUint32(0,a),m.crc32==b.view.getUint32(0)}function j(b,e){g&&!i(e)?d(G):a.getData(function(a){c(a)})}function k(a){d(a||M)}function l(a){d(a||L)}var m=this;b.readUint8Array(m.offset,30,function(c){var i,n=e(c.length,c);return 1347093252!=n.view.getUint32(0)?void d(F):(w(m,n,4,!1,d),i=m.offset+30+m.filenameLength+m.extraFieldLength,void a.init(function(){0===m.compressionMethod?r(m._worker,h++,b,a,i,m.compressedSize,g,j,f,k,l):p(m._worker,h++,b,a,i,m.compressedSize,g,j,f,k,l)},l))},k)};var i={getEntries:function(a){var c=this._worker;g(function(g){var h,i;return h=g.getUint32(16,!0),i=g.getUint16(8,!0),h<0||h>=b.size?void d(F):void b.readUint8Array(h,b.size-h,function(b){var g,h,j,k,l=0,m=[],n=e(b.length,b);for(g=0;g<i;g++){if(h=new f,h._worker=c,1347092738!=n.view.getUint32(l))return void d(F);w(h,n,l+6,!0,d),h.commentLength=n.view.getUint16(l+32,!0),h.directory=16==(16&n.view.getUint8(l+38)),h.offset=n.view.getUint32(l+42,!0),j=u(n.array.subarray(l+46,l+46+h.filenameLength)),h.filename=2048===(2048&h.bitFlag)?t(j):s(j),h.directory||"/"!=h.filename.charAt(h.filename.length-1)||(h.directory=!0),k=u(n.array.subarray(l+46+h.filenameLength+h.extraFieldLength,l+46+h.filenameLength+h.extraFieldLength+h.commentLength)),h.comment=2048===(2048&h.bitFlag)?t(k):s(k),m.push(h),l+=46+h.filenameLength+h.extraFieldLength+h.commentLength}a(m)},function(){d(J)})})},close:function(a){this._worker&&(this._worker.terminate(),this._worker=null),a&&a()},_worker:null};a.zip.useWebWorkers?C("inflater",function(a){i._worker=a,c(i)},function(a){d(a)}):c(i)}function y(a){return unescape(encodeURIComponent(a))}function z(a){var b,c=[];for(b=0;b<a.length;b++)c.push(a.charCodeAt(b));return c}function A(b,c,d,f){function g(a){d(a||K)}function h(a){d(a||M)}var i={},j=[],k=0,l=0,m={add:function(a,c,m,n,o){function p(c){var d;w=o.lastModDate||new Date,u=e(26),i[a]={headerArray:u.array,directory:o.directory,filename:v,offset:k,comment:z(y(o.comment||""))},u.view.setUint32(0,335546376),o.version&&u.view.setUint8(0,o.version),f||0===o.level||o.directory||u.view.setUint16(4,2048),u.view.setUint16(6,(w.getHours()<<6|w.getMinutes())<<5|w.getSeconds()/2,!0),u.view.setUint16(8,(w.getFullYear()-1980<<4|w.getMonth()+1)<<5|w.getDate(),!0),u.view.setUint16(22,v.length,!0),d=e(30+v.length),d.view.setUint32(0,1347093252),d.array.set(u.array,4),d.array.set(v,30),k+=d.array.length,b.writeUint8Array(d.array,c,g)}function s(a,d){var f=e(16);k+=a||0,f.view.setUint32(0,1347094280),"undefined"!=typeof d&&(u.view.setUint32(10,d,!0),f.view.setUint32(4,d,!0)),c&&(f.view.setUint32(8,a,!0),u.view.setUint32(14,a,!0),f.view.setUint32(12,c.size,!0),u.view.setUint32(18,c.size,!0)),b.writeUint8Array(f.array,function(){k+=16,m()},g)}function t(){return o=o||{},a=a.trim(),o.directory&&"/"!=a.charAt(a.length-1)&&(a+="/"),i.hasOwnProperty(a)?void d(N):(v=z(y(a)),j.push(a),void p(function(){c?f||0===o.level?r(x,l++,c,b,0,c.size,!0,s,n,h,g):q(x,l++,c,b,o.level,s,n,h,g):s()},g))}var u,v,w,x=this._worker;c?c.init(t,h):t()},close:function(a){this._worker&&(this._worker.terminate(),this._worker=null);var c,d,f,h=0,l=0;for(d=0;d<j.length;d++)f=i[j[d]],h+=46+f.filename.length+f.comment.length;for(c=e(h+22),d=0;d<j.length;d++)f=i[j[d]],c.view.setUint32(l,1347092738),c.view.setUint16(l+4,5120),c.array.set(f.headerArray,l+6),c.view.setUint16(l+32,f.comment.length,!0),f.directory&&c.view.setUint8(l+38,16),c.view.setUint32(l+42,f.offset,!0),c.array.set(f.filename,l+46),c.array.set(f.comment,l+46+f.filename.length),l+=46+f.filename.length+f.comment.length;c.view.setUint32(l,1347093766),c.view.setUint16(l+8,j.length,!0),c.view.setUint16(l+10,j.length,!0),c.view.setUint32(l+12,h,!0),c.view.setUint32(l+16,k,!0),b.writeUint8Array(c.array,function(){b.getData(a)},g)},_worker:null};a.zip.useWebWorkers?C("deflater",function(a){m._worker=a,c(m)},function(a){d(a)}):c(m)}function B(a){var b=document.createElement("a");return a.map(function(a){return b.href=a,b.href})}function C(b,c,d){function e(a){var b=a.data;return b.error?(h.terminate(),void d(b.error)):void("importScripts"===b.type&&(h.removeEventListener("message",e),h.removeEventListener("error",f),c(h)))}function f(a){h.terminate(),d(a)}if(null!==a.zip.workerScripts&&null!==a.zip.workerScriptsPath)return void d(new Error("Either zip.workerScripts or zip.workerScriptsPath may be set, not both."));var g;if(a.zip.workerScripts){if(g=a.zip.workerScripts[b],!Array.isArray(g))return void d(new Error("zip.workerScripts."+b+" is not an array!"));g=B(g)}else g=Q[b].slice(0),g[0]=(a.zip.workerScriptsPath||"")+g[0];var h=new Worker(g[0]);h.codecTime=h.crcTime=0,h.postMessage({type:"importScripts",scripts:g.slice(1)}),h.addEventListener("message",e),h.addEventListener("error",f)}function D(a){console.error(a)}var E,F="File format is not recognized.",G="CRC failed.",H="File contains encrypted entry.",I="File is using Zip64 (4gb+ file size).",J="Error while reading zip file.",K="Error while writing zip file.",L="Error while writing file data.",M="Error while reading file data.",N="File already exists.",O=524288,P="text/plain";try{E=0===new Blob([new DataView(new ArrayBuffer(0))]).size}catch(a){}b.prototype.append=function(a){for(var b=0|this.crc,c=this.table,d=0,e=0|a.length;d<e;d++)b=b>>>8^c[255&(b^a[d])];this.crc=b},b.prototype.get=function(){return~this.crc},b.prototype.table=function(){var a,b,c,d=[];for(a=0;a<256;a++){for(c=a,b=0;b<8;b++)1&c?c=c>>>1^3988292384:c>>>=1;d[a]=c}return d}(),c.prototype.append=function(a,b){return a},c.prototype.flush=function(){},g.prototype=new f,g.prototype.constructor=g,h.prototype=new f,h.prototype.constructor=h,i.prototype=new f,i.prototype.constructor=i,j.prototype.getData=function(a){a(this.data)},k.prototype=new j,k.prototype.constructor=k,l.prototype=new j,l.prototype.constructor=l,m.prototype=new j,m.prototype.constructor=m;var Q={deflater:["z-worker.js","deflate.js"],inflater:["z-worker.js","inflate.js"]};a.zip={Reader:f,Writer:j,BlobReader:i,Data64URIReader:h,TextReader:g,BlobWriter:m,Data64URIWriter:l,TextWriter:k,createReader:function(a,b,c){c=c||D,a.init(function(){x(a,b,c)},c)},createWriter:function(a,b,c,d){c=c||D,d=!!d,a.init(function(){A(a,b,c,d)},c)},useWebWorkers:!0,workerScriptsPath:null,workerScripts:null}}(this),function(a){"use strict";function b(){function a(a,b,c,d,j,k,l,n,p,r,s){var t,u,v,w,x,y,z,A,C,D,E,F,G,H,I;D=0,x=c;do e[a[b+D]]++,D++,x--;while(0!==x);if(e[0]==c)return l[0]=-1,n[0]=0,i;for(A=n[0],y=1;y<=B&&0===e[y];y++);for(z=y,A<y&&(A=y),x=B;0!==x&&0===e[x];x--);for(v=x,A>x&&(A=x),n[0]=A,H=1<<y;y<x;y++,H<<=1)if((H-=e[y])<0)return m;if((H-=e[x])<0)return m;for(e[x]+=H,h[1]=y=0,D=1,G=2;0!==--x;)h[G]=y+=e[D],G++,D++;x=0,D=0;do 0!==(y=a[b+D])&&(s[h[y]++]=x),D++;while(++x<c);for(c=h[v],h[0]=x=0,D=0,w=-1,F=-A,g[0]=0,E=0,I=0;z<=v;z++)for(t=e[z];0!==t--;){for(;z>F+A;){if(w++,F+=A,I=v-F,I=I>A?A:I,(u=1<<(y=z-F))>t+1&&(u-=t+1,G=z,y<I))for(;++y<I&&!((u<<=1)<=e[++G]);)u-=e[G];if(I=1<<y,r[0]+I>q)return m;g[w]=E=r[0],r[0]+=I,0!==w?(h[w]=x,f[0]=y,f[1]=A,y=x>>>F-A,f[2]=E-g[w-1]-y,p.set(f,3*(g[w-1]+y))):l[0]=E}for(f[1]=z-F,D>=c?f[0]=192:s[D]<d?(f[0]=s[D]<256?0:96,f[2]=s[D++]):(f[0]=k[s[D]-d]+16+64,f[2]=j[s[D++]-d]),u=1<<z-F,y=x>>>F;y<I;y+=u)p.set(f,3*(E+y));for(y=1<<z-1;0!==(x&y);y>>>=1)x^=y;for(x^=y,C=(1<<F)-1;(x&C)!=h[w];)w--,F-=A,C=(1<<F)-1}return 0!==H&&1!=v?o:i}function b(a){var b;for(c||(c=[],d=[],e=new Int32Array(B+1),f=[],g=new Int32Array(B),h=new Int32Array(B+1)),d.length<a&&(d=[]),b=0;b<a;b++)d[b]=0;for(b=0;b<B+1;b++)e[b]=0;for(b=0;b<3;b++)f[b]=0;g.set(e.subarray(0,B),0),h.set(e.subarray(0,B+1),0)}var c,d,e,f,g,h,j=this;j.inflate_trees_bits=function(e,f,g,h,i){var j;return b(19),c[0]=0,j=a(e,0,19,19,null,null,g,f,h,c,d),j==m?i.msg="oversubscribed dynamic bit lengths tree":j!=o&&0!==f[0]||(i.msg="incomplete dynamic bit lengths tree",j=m),j},j.inflate_trees_dynamic=function(e,f,g,h,j,k,l,p,q){var r;return b(288),c[0]=0,r=a(g,0,e,257,x,y,k,h,p,c,d),r!=i||0===h[0]?(r==m?q.msg="oversubscribed literal/length tree":r!=n&&(q.msg="incomplete literal/length tree",r=m),r):(b(288),r=a(g,e,f,0,z,A,l,j,p,c,d),r!=i||0===j[0]&&e>257?(r==m?q.msg="oversubscribed distance tree":r==o?(q.msg="incomplete distance tree",r=m):r!=n&&(q.msg="empty distance tree with lengths",r=m),r):i)}}function c(){function a(a,b,c,d,e,f,g,h){var k,l,n,o,q,r,s,t,u,v,w,x,y,z,A,B;s=h.next_in_index,t=h.avail_in,q=g.bitb,r=g.bitk,u=g.write,v=u<g.read?g.read-u-1:g.end-u,w=p[a],x=p[b];do{for(;r<20;)t--,q|=(255&h.read_byte(s++))<<r,r+=8;if(k=q&w,l=c,n=d,B=3*(n+k),0!==(o=l[B]))for(;;){if(q>>=l[B+1],r-=l[B+1],0!==(16&o)){for(o&=15,y=l[B+2]+(q&p[o]),q>>=o,r-=o;r<15;)t--,q|=(255&h.read_byte(s++))<<r,r+=8;for(k=q&x,l=e,n=f,B=3*(n+k),o=l[B];;){if(q>>=l[B+1],r-=l[B+1],0!==(16&o)){for(o&=15;r<o;)t--,q|=(255&h.read_byte(s++))<<r,r+=8;if(z=l[B+2]+(q&p[o]),q>>=o,r-=o,v-=y,u>=z)A=u-z,u-A>0&&2>u-A?(g.window[u++]=g.window[A++],g.window[u++]=g.window[A++],y-=2):(g.window.set(g.window.subarray(A,A+2),u),u+=2,A+=2,y-=2);else{A=u-z;do A+=g.end;while(A<0);if(o=g.end-A,y>o){if(y-=o,u-A>0&&o>u-A){do g.window[u++]=g.window[A++];while(0!==--o)}else g.window.set(g.window.subarray(A,A+o),u),u+=o,A+=o,o=0;A=0}}if(u-A>0&&y>u-A){do g.window[u++]=g.window[A++];while(0!==--y)}else g.window.set(g.window.subarray(A,A+y),u),u+=y,A+=y,y=0;break}if(0!==(64&o))return h.msg="invalid distance code",y=h.avail_in-t,y=r>>3<y?r>>3:y,t+=y,s-=y,r-=y<<3,g.bitb=q,g.bitk=r,h.avail_in=t,h.total_in+=s-h.next_in_index,h.next_in_index=s,g.write=u,m;k+=l[B+2],k+=q&p[o],B=3*(n+k),o=l[B]}break}if(0!==(64&o))return 0!==(32&o)?(y=h.avail_in-t,y=r>>3<y?r>>3:y,t+=y,s-=y,r-=y<<3,g.bitb=q,g.bitk=r,h.avail_in=t,h.total_in+=s-h.next_in_index,h.next_in_index=s,g.write=u,j):(h.msg="invalid literal/length code",y=h.avail_in-t,y=r>>3<y?r>>3:y,t+=y,s-=y,r-=y<<3,g.bitb=q,g.bitk=r,h.avail_in=t,h.total_in+=s-h.next_in_index,h.next_in_index=s,g.write=u,m);if(k+=l[B+2],k+=q&p[o],B=3*(n+k),0===(o=l[B])){q>>=l[B+1],r-=l[B+1],g.window[u++]=l[B+2],v--;break}}else q>>=l[B+1],r-=l[B+1],g.window[u++]=l[B+2],v--}while(v>=258&&t>=10);return y=h.avail_in-t,y=r>>3<y?r>>3:y,t+=y,s-=y,r-=y<<3,g.bitb=q,g.bitk=r,h.avail_in=t,h.total_in+=s-h.next_in_index,h.next_in_index=s,g.write=u,i}var b,c,d,e,f=this,g=0,h=0,k=0,n=0,o=0,q=0,r=0,s=0,t=0,u=0;f.init=function(a,f,g,h,i,j){b=C,r=a,s=f,d=g,t=h,e=i,u=j,c=null},f.proc=function(f,v,w){var x,y,z,A,B,M,N,O=0,P=0,Q=0;for(Q=v.next_in_index,A=v.avail_in,O=f.bitb,P=f.bitk,B=f.write,M=B<f.read?f.read-B-1:f.end-B;;)switch(b){case C:if(M>=258&&A>=10&&(f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,w=a(r,s,d,t,e,u,f,v),Q=v.next_in_index,A=v.avail_in,O=f.bitb,P=f.bitk,B=f.write,M=B<f.read?f.read-B-1:f.end-B,w!=i)){b=w==j?J:L;break}k=r,c=d,h=t,b=D;case D:for(x=k;P<x;){if(0===A)return f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);w=i,A--,O|=(255&v.read_byte(Q++))<<P,P+=8}if(y=3*(h+(O&p[x])),O>>>=c[y+1],P-=c[y+1],z=c[y],0===z){n=c[y+2],b=I;break}if(0!==(16&z)){o=15&z,g=c[y+2],b=E;break}if(0===(64&z)){k=z,h=y/3+c[y+2];break}if(0!==(32&z)){b=J;break}return b=L,v.msg="invalid literal/length code",w=m,f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);case E:for(x=o;P<x;){if(0===A)return f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);w=i,A--,O|=(255&v.read_byte(Q++))<<P,P+=8}g+=O&p[x],O>>=x,P-=x,k=s,c=e,h=u,b=F;case F:for(x=k;P<x;){if(0===A)return f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);w=i,A--,O|=(255&v.read_byte(Q++))<<P,P+=8}if(y=3*(h+(O&p[x])),O>>=c[y+1],P-=c[y+1],z=c[y],0!==(16&z)){o=15&z,q=c[y+2],b=G;break}if(0===(64&z)){k=z,h=y/3+c[y+2];break}return b=L,v.msg="invalid distance code",w=m,f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);case G:for(x=o;P<x;){if(0===A)return f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);w=i,A--,O|=(255&v.read_byte(Q++))<<P,P+=8}q+=O&p[x],O>>=x,P-=x,b=H;case H:for(N=B-q;N<0;)N+=f.end;for(;0!==g;){if(0===M&&(B==f.end&&0!==f.read&&(B=0,M=B<f.read?f.read-B-1:f.end-B),0===M&&(f.write=B,w=f.inflate_flush(v,w),B=f.write,M=B<f.read?f.read-B-1:f.end-B,B==f.end&&0!==f.read&&(B=0,M=B<f.read?f.read-B-1:f.end-B),0===M)))return f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);f.window[B++]=f.window[N++],M--,N==f.end&&(N=0),g--}b=C;break;case I:if(0===M&&(B==f.end&&0!==f.read&&(B=0,M=B<f.read?f.read-B-1:f.end-B),0===M&&(f.write=B,w=f.inflate_flush(v,w),B=f.write,M=B<f.read?f.read-B-1:f.end-B,B==f.end&&0!==f.read&&(B=0,M=B<f.read?f.read-B-1:f.end-B),0===M)))return f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);w=i,f.window[B++]=n,M--,b=C;break;case J:if(P>7&&(P-=8,A++,Q--),f.write=B,w=f.inflate_flush(v,w),B=f.write,M=B<f.read?f.read-B-1:f.end-B,f.read!=f.write)return f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);b=K;case K:return w=j,f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);case L:return w=m,f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w);default:return w=l,f.bitb=O,f.bitk=P,v.avail_in=A,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=B,f.inflate_flush(v,w)}},f.free=function(){}}function d(a,d){var e,f=this,g=N,h=0,k=0,n=0,r=[0],s=[0],t=new c,u=0,v=new Int32Array(3*q),w=0,x=new b;f.bitk=0,f.bitb=0,f.window=new Uint8Array(d),f.end=d,f.read=0,f.write=0,f.reset=function(a,b){b&&(b[0]=w),g==T&&t.free(a),g=N,f.bitk=0,f.bitb=0,f.read=f.write=0},f.reset(a,null),f.inflate_flush=function(a,b){var c,d,e;return d=a.next_out_index,e=f.read,c=(e<=f.write?f.write:f.end)-e,c>a.avail_out&&(c=a.avail_out),0!==c&&b==o&&(b=i),a.avail_out-=c,a.total_out+=c,a.next_out.set(f.window.subarray(e,e+c),d),d+=c,e+=c,e==f.end&&(e=0,f.write==f.end&&(f.write=0),c=f.write-e,c>a.avail_out&&(c=a.avail_out),0!==c&&b==o&&(b=i),a.avail_out-=c,a.total_out+=c,a.next_out.set(f.window.subarray(e,e+c),d),d+=c,e+=c),a.next_out_index=d,f.read=e,b},f.proc=function(a,c){var d,o,q,w,y,z,A,B;for(w=a.next_in_index,y=a.avail_in,o=f.bitb,q=f.bitk,z=f.write,A=z<f.read?f.read-z-1:f.end-z;;)switch(g){case N:for(;q<3;){if(0===y)return f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);c=i,y--,o|=(255&a.read_byte(w++))<<q,q+=8}switch(d=7&o,u=1&d,d>>>1){case 0:o>>>=3,q-=3,d=7&q,o>>>=d,q-=d,g=O;break;case 1:var C=[],D=[],E=[[]],F=[[]];b.inflate_trees_fixed(C,D,E,F),t.init(C[0],D[0],E[0],0,F[0],0),o>>>=3,q-=3,g=T;break;case 2:o>>>=3,q-=3,g=Q;break;case 3:return o>>>=3,q-=3,g=W,a.msg="invalid block type",c=m,f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c)}break;case O:for(;q<32;){if(0===y)return f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);c=i,y--,o|=(255&a.read_byte(w++))<<q,q+=8}if((~o>>>16&65535)!=(65535&o))return g=W,a.msg="invalid stored block lengths",c=m,f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);h=65535&o,o=q=0,g=0!==h?P:0!==u?U:N;break;case P:if(0===y)return f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);if(0===A&&(z==f.end&&0!==f.read&&(z=0,A=z<f.read?f.read-z-1:f.end-z),0===A&&(f.write=z,c=f.inflate_flush(a,c),z=f.write,A=z<f.read?f.read-z-1:f.end-z,z==f.end&&0!==f.read&&(z=0,A=z<f.read?f.read-z-1:f.end-z),0===A)))return f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);if(c=i,d=h,d>y&&(d=y),d>A&&(d=A),f.window.set(a.read_buf(w,d),z),w+=d,y-=d,z+=d,A-=d,0!==(h-=d))break;g=0!==u?U:N;break;case Q:for(;q<14;){if(0===y)return f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);c=i,y--,o|=(255&a.read_byte(w++))<<q,q+=8}if(k=d=16383&o,(31&d)>29||(d>>5&31)>29)return g=W,a.msg="too many length or distance symbols",c=m,f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);if(d=258+(31&d)+(d>>5&31),!e||e.length<d)e=[];else for(B=0;B<d;B++)e[B]=0;o>>>=14,q-=14,n=0,g=R;case R:for(;n<4+(k>>>10);){for(;q<3;){if(0===y)return f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);c=i,y--,o|=(255&a.read_byte(w++))<<q,q+=8}e[M[n++]]=7&o,o>>>=3,q-=3}for(;n<19;)e[M[n++]]=0;if(r[0]=7,d=x.inflate_trees_bits(e,r,s,v,a),d!=i)return c=d,c==m&&(e=null,g=W),f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);n=0,g=S;case S:for(;;){if(d=k,n>=258+(31&d)+(d>>5&31))break;var G,H;for(d=r[0];q<d;){if(0===y)return f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);c=i,y--,o|=(255&a.read_byte(w++))<<q,q+=8}if(d=v[3*(s[0]+(o&p[d]))+1],H=v[3*(s[0]+(o&p[d]))+2],H<16)o>>>=d,q-=d,e[n++]=H;else{for(B=18==H?7:H-14,G=18==H?11:3;q<d+B;){if(0===y)return f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);c=i,y--,o|=(255&a.read_byte(w++))<<q,q+=8}if(o>>>=d,q-=d,G+=o&p[B],o>>>=B,q-=B,B=n,d=k,B+G>258+(31&d)+(d>>5&31)||16==H&&B<1)return e=null,g=W,a.msg="invalid bit length repeat",c=m,f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);H=16==H?e[B-1]:0;do e[B++]=H;while(0!==--G);n=B}}s[0]=-1;var I=[],J=[],K=[],L=[];if(I[0]=9,J[0]=6,d=k,d=x.inflate_trees_dynamic(257+(31&d),1+(d>>5&31),e,I,J,K,L,v,a),d!=i)return d==m&&(e=null,g=W),c=d,f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);t.init(I[0],J[0],v,K[0],v,L[0]),g=T;case T:if(f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,(c=t.proc(f,a,c))!=j)return f.inflate_flush(a,c);if(c=i,t.free(a),w=a.next_in_index,y=a.avail_in,o=f.bitb,q=f.bitk,z=f.write,A=z<f.read?f.read-z-1:f.end-z,0===u){g=N;break}g=U;case U:if(f.write=z,c=f.inflate_flush(a,c),z=f.write,A=z<f.read?f.read-z-1:f.end-z,f.read!=f.write)return f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);g=V;case V:return c=j,f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);case W:return c=m,f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c);default:return c=l,f.bitb=o,f.bitk=q,a.avail_in=y,a.total_in+=w-a.next_in_index,a.next_in_index=w,f.write=z,f.inflate_flush(a,c)}},f.free=function(a){f.reset(a,null),f.window=null,v=null},f.set_dictionary=function(a,b,c){f.window.set(a.subarray(b,b+c),0),f.read=f.write=c},f.sync_point=function(){return g==O?1:0}}function e(){function a(a){return a&&a.istate?(a.total_in=a.total_out=0,a.msg=null,a.istate.mode=ea,a.istate.blocks.reset(a,null),i):l}var b=this;b.mode=0,b.method=0,b.was=[0],b.need=0,b.marker=0,b.wbits=0,b.inflateEnd=function(a){return b.blocks&&b.blocks.free(a),b.blocks=null,i},b.inflateInit=function(c,e){return c.msg=null,b.blocks=null,e<8||e>15?(b.inflateEnd(c),l):(b.wbits=e,c.istate.blocks=new d(c,1<<e),a(c),i)},b.inflate=function(a,b){var c,d;if(!a||!a.istate||!a.next_in)return l;for(b=b==s?o:i,c=o;;)switch(a.istate.mode){case Z:if(0===a.avail_in)return c;if(c=b,a.avail_in--,a.total_in++,(15&(a.istate.method=a.read_byte(a.next_in_index++)))!=Y){a.istate.mode=ga,a.msg="unknown compression method",a.istate.marker=5;break}if((a.istate.method>>4)+8>a.istate.wbits){a.istate.mode=ga,a.msg="invalid window size",a.istate.marker=5;break}a.istate.mode=$;case $:if(0===a.avail_in)return c;if(c=b,a.avail_in--,a.total_in++,d=255&a.read_byte(a.next_in_index++),((a.istate.method<<8)+d)%31!==0){a.istate.mode=ga,a.msg="incorrect header check",a.istate.marker=5;break}if(0===(d&X)){a.istate.mode=ea;break}a.istate.mode=_;case _:if(0===a.avail_in)return c;c=b,a.avail_in--,a.total_in++,a.istate.need=(255&a.read_byte(a.next_in_index++))<<24&4278190080,a.istate.mode=aa;case aa:if(0===a.avail_in)return c;c=b,a.avail_in--,a.total_in++,a.istate.need+=(255&a.read_byte(a.next_in_index++))<<16&16711680,a.istate.mode=ba;case ba:if(0===a.avail_in)return c;c=b,a.avail_in--,a.total_in++,a.istate.need+=(255&a.read_byte(a.next_in_index++))<<8&65280,a.istate.mode=ca;case ca:return 0===a.avail_in?c:(c=b,a.avail_in--,a.total_in++,a.istate.need+=255&a.read_byte(a.next_in_index++),a.istate.mode=da,k);case da:return a.istate.mode=ga,a.msg="need dictionary",a.istate.marker=0,l;case ea:if(c=a.istate.blocks.proc(a,c),c==m){a.istate.mode=ga,a.istate.marker=0;break}if(c==i&&(c=b),c!=j)return c;c=b,a.istate.blocks.reset(a,a.istate.was),a.istate.mode=fa;case fa:return j;case ga:return m;default:return l}},b.inflateSetDictionary=function(a,b,c){var d=0,e=c;return a&&a.istate&&a.istate.mode==da?(e>=1<<a.istate.wbits&&(e=(1<<a.istate.wbits)-1,d=c-e),a.istate.blocks.set_dictionary(b,d,e),a.istate.mode=ea,i):l},b.inflateSync=function(b){var c,d,e,f,g;if(!b||!b.istate)return l;if(b.istate.mode!=ga&&(b.istate.mode=ga,b.istate.marker=0),0===(c=b.avail_in))return o;for(d=b.next_in_index,e=b.istate.marker;0!==c&&e<4;)b.read_byte(d)==ha[e]?e++:e=0!==b.read_byte(d)?0:4-e,d++,c--;return b.total_in+=d-b.next_in_index,b.next_in_index=d,b.avail_in=c,b.istate.marker=e,4!=e?m:(f=b.total_in,g=b.total_out,a(b),b.total_in=f,b.total_out=g,b.istate.mode=ea,i)},b.inflateSyncPoint=function(a){return a&&a.istate&&a.istate.blocks?a.istate.blocks.sync_point():l}}function f(){}function g(){var a=this,b=new f,c=512,d=r,e=new Uint8Array(c),g=!1;b.inflateInit(),b.next_out=e,a.append=function(a,f){var h,k,l=[],m=0,n=0,p=0;if(0!==a.length){b.next_in_index=0,b.next_in=a,b.avail_in=a.length;do{if(b.next_out_index=0,b.avail_out=c,0!==b.avail_in||g||(b.next_in_index=0,g=!0),h=b.inflate(d),g&&h===o){if(0!==b.avail_in)throw new Error("inflating: bad input")}else if(h!==i&&h!==j)throw new Error("inflating: "+b.msg);if((g||h===j)&&b.avail_in===a.length)throw new Error("inflating: bad input");b.next_out_index&&(b.next_out_index===c?l.push(new Uint8Array(e)):l.push(new Uint8Array(e.subarray(0,b.next_out_index)))),p+=b.next_out_index,f&&b.next_in_index>0&&b.next_in_index!=m&&(f(b.next_in_index),m=b.next_in_index)}while(b.avail_in>0||0===b.avail_out);return k=new Uint8Array(p),l.forEach(function(a){k.set(a,n),n+=a.length}),k}},a.flush=function(){b.inflateEnd()}}var h=15,i=0,j=1,k=2,l=-2,m=-3,n=-4,o=-5,p=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],q=1440,r=0,s=4,t=9,u=5,v=[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],w=[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],x=[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],y=[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],z=[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],A=[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],B=15;
b.inflate_trees_fixed=function(a,b,c,d){return a[0]=t,b[0]=u,c[0]=v,d[0]=w,i};var C=0,D=1,E=2,F=3,G=4,H=5,I=6,J=7,K=8,L=9,M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],N=0,O=1,P=2,Q=3,R=4,S=5,T=6,U=7,V=8,W=9,X=32,Y=8,Z=0,$=1,_=2,aa=3,ba=4,ca=5,da=6,ea=7,fa=12,ga=13,ha=[0,0,255,255];f.prototype={inflateInit:function(a){var b=this;return b.istate=new e,a||(a=h),b.istate.inflateInit(b,a)},inflate:function(a){var b=this;return b.istate?b.istate.inflate(b,a):l},inflateEnd:function(){var a=this;if(!a.istate)return l;var b=a.istate.inflateEnd(a);return a.istate=null,b},inflateSync:function(){var a=this;return a.istate?a.istate.inflateSync(a):l},inflateSetDictionary:function(a,b){var c=this;return c.istate?c.istate.inflateSetDictionary(c,a,b):l},read_byte:function(a){var b=this;return b.next_in.subarray(a,a+1)[0]},read_buf:function(a,b){var c=this;return c.next_in.subarray(a,a+b)}};var ia=a.zip||a;ia.Inflater=ia._jzlib_Inflater=g}(this),function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.perfCascadeFileReader=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){"use strict";function d(a,b,c){function d(a){var b;try{b=JSON.parse(a)}catch(a){return void alert("File does not seem to be a valid HAR file")}c(b.log)}a||(alert("Failed to load HAR file"),c());var e=b.match(/\.[0-9a-z]+$/i)[0];if([".zhar",".zip"].indexOf(e)!==-1)zip.createReader(new zip.BlobReader(a),function(a){a.getEntries(function(b){b[0].getData(new zip.TextWriter,function(b){d(b),a.close()},function(a){console.log("unzip progress: "+a/100+"%")})})});else{var f=new FileReader;f.addEventListener("load",function(a){d(a.target.result)}),f.readAsText(a)}}zip.useWebWorkers=!1,c.readFile=d},{}]},{},[1])(1)});

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

/*! github.com/micmro/PerfCascade Version:0.2.7 (04/12/2016) */
!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.perfCascade=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){"use strict";function d(a){for(;a.childNodes.length>0;)a.removeChild(a.childNodes[0])}function e(a,b){Array.prototype.forEach.call(a,b)}function f(a,b){return Array.prototype.filter.call(a,b)}c.removeAllChildren=d,c.forEach=e,c.filter=f},{}],2:[function(a,b,c){"use strict";function d(a,b){return a.response.headers.filter(function(a){return a.name.toLowerCase()===b.toLowerCase()})[0]}function e(a,b){var c=d(a,b);return void 0!==c?c.value:""}function f(a,b,c){return a.response.status>=b&&a.response.status<=c}function g(a){var b=a.rawResource,c=1e3;if(b.response.bodySize<c)return!1;if(l.contains(["html","css","javascript","svg","plain"],a.requestType))return!0;var d=b.response.content.mimeType,e=["application/vnd.ms-fontobject","application/x-font-opentype","application/x-font-truetype","application/x-font-ttf","application/xml","font/eot","font/opentype","font/otf","image/vnd.microsoft.icon"];return!(!l.contains(["text"],d.split("/")[0])&&!l.contains(e,d.split(";")[0]))}function h(a){var b=a.rawResource;return!("get"!==b.request.method.toLocaleLowerCase()||204===b.response.status||!f(b,200,299))&&(void 0===d(b,"Cache-Control")&&void 0===d(b,"Expires")||(e(b,"Cache-Control").indexOf("no-cache")>-1||"no-cache"===e(b,"Pragma")))}function i(a){return void 0===d(a.rawResource,"Content-Encoding")&&h(a)}function j(a){return void 0===d(a.rawResource,"Content-Encoding")&&g(a)}function k(a){return 0===a.name.indexOf("https://")}var l=a("./misc");c.getResponseHeader=d,c.getResponseHeaderValue=e,c.isInStatusCodeRange=f,c.hasCacheIssue=i,c.hasCompressionIssue=j,c.isSecure=k},{"./misc":4}],3:[function(a,b,c){"use strict";function d(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-lock",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#E6E7E8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <path fill="#A452A0" d="M13,8V6.5C13,5,12,3,9,3S5,5,5,6.5V8H4v7h10V8H13z M10,12.5c0,0.3-0.7,0.5-1,0.5s-1-0.2-1-0.5v-2\n C8,10.2,8.7,10,9,10s1,0.2,1,0.5V12.5z M11,8H7V6.5C7,5.7,7.5,5,9,5s2,0.7,2,1.5V8z"/>')}function e(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-no-tls",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#CC6666" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <path fill="#414042" d="M13,8V6.5C13,5,12,3,9,3S5,5,5,6.5V8H4v7h10V8H13z M10,12.5c0,0.3-0.7,0.5-1,0.5s-1-0.2-1-0.5v-2\n C8,10.2,8.7,10,9,10s1,0.2,1,0.5V12.5z M11,8H7V6.5C7,5.7,7.5,5,9,5s2,0.7,2,1.5V8z"/>\n <line fill="#CC6666" stroke="#CC6666" stroke-miterlimit="10" x1="3" y1="15" x2="15" y2="3"/>')}function f(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-redirect",d,'<g>\n <path fill="#F9EF66" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5\n L17,15.5z"/>\n <path fill="none" stroke="#E6E7E8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <polygon fill="#414042" points="9,5 9,10 12,7.5 "/>\n <polyline fill="none" stroke="#414042" stroke-miterlimit="10" points="9,7.5 4.5,7.5 4.5,11.5 13,11.5 "/>\n <path fill="#414042" d="M11,10"/>')}function g(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-4xx",d,'<g>\n <path fill="#F16062" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#E6E7E8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#FFFFFF" d="M5.6,14v-1.7H3.1v-0.8l2.6-4.6h0.6v4.6h0.8v0.8H6.3V14H5.6z M5.6,11.5V8.3l-1.8,3.2H5.6z"/>\n <path fill="#FFFFFF" d="M7.5,14L9,11.3L7.6,8.8h0.9L9.1,10c0.1,0.2,0.2,0.4,0.3,0.6c0.1-0.2,0.2-0.4,0.3-0.6l0.7-1.2h0.8l-1.4,2.4\n l1.5,2.7h-0.9l-0.9-1.6L9.4,12l-1.1,2H7.5z"/>\n <path fill="#FFFFFF" d="M11.5,14l1.5-2.7l-1.4-2.5h0.9l0.6,1.2c0.1,0.2,0.2,0.4,0.3,0.6c0.1-0.2,0.2-0.4,0.3-0.6l0.7-1.2h0.8\n l-1.4,2.4l1.5,2.7h-0.9l-0.9-1.6L13.4,12l-1.1,2H11.5z"/>\n </g>')}function h(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-5xx",d,' <g>\n <path fill="#F16061" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#E6E7E8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#FFFFFF" d="M3.3,12.1L4.1,12c0.1,0.4,0.2,0.8,0.4,1c0.2,0.2,0.4,0.3,0.7,0.3c0.3,0,0.6-0.2,0.9-0.5s0.4-0.7,0.4-1.3\n c0-0.5-0.1-0.9-0.3-1.2S5.5,10,5.2,10c-0.2,0-0.4,0.1-0.6,0.2c-0.2,0.1-0.3,0.3-0.4,0.5l-0.7-0.1L4,6.9h2.8v0.8H4.6L4.3,9.7\n C4.6,9.4,5,9.3,5.3,9.3c0.5,0,0.9,0.2,1.3,0.6c0.3,0.4,0.5,1,0.5,1.7c0,0.6-0.2,1.2-0.5,1.7c-0.4,0.6-0.9,0.9-1.5,0.9\n c-0.5,0-0.9-0.2-1.3-0.5S3.4,12.7,3.3,12.1z"/>\n <path fill="#FFFFFF" d="M7.5,14L9,11.3L7.6,8.8h0.9L9.1,10c0.1,0.2,0.2,0.4,0.3,0.6c0.1-0.2,0.2-0.4,0.3-0.6l0.7-1.2h0.8l-1.4,2.4\n l1.5,2.7h-0.9l-0.9-1.6L9.4,12l-1.1,2H7.5z"/>\n <path fill="#FFFFFF" d="M11.5,14l1.5-2.7l-1.4-2.5h0.9l0.6,1.2c0.1,0.2,0.2,0.4,0.3,0.6c0.1-0.2,0.2-0.4,0.3-0.6l0.7-1.2h0.8\n l-1.4,2.4l1.5,2.7h-0.9l-0.9-1.6L13.4,12l-1.1,2H11.5z"/>\n </g>')}function i(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-no-cache",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#CC6666" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="none" stroke="#414042" stroke-miterlimit="10" d="M5,7v4.5C5,12.3,6.8,13,9,13s4-0.7,4-1.5V7H5z"/>\n <path fill="#FFFFFF" stroke="#414042" stroke-miterlimit="10" d="M9,8c1.7,0,3.2-0.4,3.8-1C12.9,6.8,13,6.7,13,6.5\n C13,5.7,11.2,5,9,5S5,5.7,5,6.5C5,6.7,5.1,6.8,5.2,7C5.8,7.6,7.3,8,9,8z"/>\n </g>\n <line fill="#CC6666" stroke="#CC6666" stroke-miterlimit="10" x1="3" y1="15" x2="15" y2="3"/>')}function j(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-no-gzip",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#CC6666" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <rect x="7.5" y="2" fill="#414042" width="1.5" height="1"/>\n <rect x="9" y="3" fill="#414042" width="1.5" height="1"/>\n <rect x="7.5" y="4" fill="#414042" width="1.5" height="1"/>\n <rect x="9" y="5" fill="#414042" width="1.5" height="1"/>\n <rect x="7.5" y="6" fill="#414042" width="1.5" height="1"/>\n <polygon fill="#414042" points="10,15 8,15 7,14 7,10 8,8 10,8 11,10 11,14 "/>\n <polygon fill="#FFFFFF" points="9,13.5 9,13.5 8,13 8,11.5 10,11.5 10,13 "/>\n <rect x="9" y="7" fill="#414042" width="1.5" height="1"/>\n <line fill="#CC6666" stroke="#CC6666" stroke-miterlimit="10" x1="3" y1="15" x2="15" y2="3"/>')}function k(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-plain",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#B3B4B4" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="4.5" x2="15" y2="4.5"/>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="6.5" x2="13" y2="6.5"/>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="8.5" x2="15" y2="8.5"/>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="10.5" x2="10" y2="10.5"/>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="12.5" x2="15" y2="12.5"/>\n </g>')}function l(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-other",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#B3B4B4" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#414042" d="M11.8,7c0,0.4-0.1,0.7-0.2,1c-0.1,0.3-0.3,0.5-0.4,0.7C11,8.8,10.8,9,10.5,9.2C10.3,9.3,10,9.5,9.6,9.6\n v1.2H7.8V9.1C8,9,8.2,8.9,8.5,8.8c0.2-0.1,0.5-0.2,0.6-0.3C9.3,8.3,9.5,8.2,9.6,8c0.1-0.2,0.2-0.4,0.2-0.7c0-0.4-0.1-0.6-0.3-0.8\n S8.9,6.3,8.5,6.3c-0.3,0-0.6,0.1-1,0.2C7.2,6.7,6.9,6.8,6.8,6.9H6.6V5.3c0.2-0.1,0.6-0.2,1-0.3S8.5,4.8,9,4.8\n c0.5,0,0.8,0.1,1.2,0.2c0.3,0.1,0.6,0.3,0.9,0.4c0.2,0.2,0.4,0.4,0.5,0.7C11.8,6.4,11.8,6.6,11.8,7z M9.8,13H7.7v-1.4h2.1V13z"/>\n </g>\n </g>')}function m(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-js",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5\n L17,15.5z"/>\n <path fill="none" stroke="#E0B483" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#414042" d="M7.6,11.8c0,0.3-0.1,0.6-0.2,0.9s-0.3,0.5-0.5,0.7c-0.2,0.2-0.5,0.4-0.8,0.5S5.4,13.9,5,13.9\n c-0.3,0-0.6,0-0.9,0s-0.5-0.1-0.7-0.1v-1.4h0.2c0.1,0.1,0.3,0.1,0.4,0.2c0.2,0,0.4,0.1,0.6,0.1c0.3,0,0.5,0,0.7-0.1\n c0.2-0.1,0.3-0.2,0.4-0.4c0.1-0.2,0.1-0.3,0.1-0.5s0-0.4,0-0.7V8.1H4.2V6.8h3.4V11.8z"/>\n <path fill="#414042" d="M11.1,13.9c-0.5,0-1-0.1-1.4-0.2c-0.4-0.1-0.8-0.2-1.1-0.4v-1.7h0.2c0.4,0.3,0.7,0.5,1.2,0.7\n c0.4,0.2,0.8,0.2,1.2,0.2c0.1,0,0.2,0,0.4,0s0.3-0.1,0.4-0.1c0.1-0.1,0.2-0.1,0.3-0.2c0.1-0.1,0.1-0.2,0.1-0.4\n c0-0.2-0.1-0.3-0.2-0.4s-0.3-0.2-0.5-0.2c-0.2-0.1-0.5-0.1-0.8-0.2c-0.3-0.1-0.5-0.1-0.8-0.2c-0.5-0.2-0.9-0.4-1.2-0.8\n S8.6,9.4,8.6,8.9c0-0.7,0.3-1.2,0.8-1.6c0.6-0.4,1.2-0.6,2.1-0.6c0.4,0,0.8,0,1.2,0.1c0.4,0.1,0.8,0.2,1.1,0.3v1.6h-0.2\n c-0.3-0.2-0.6-0.4-0.9-0.6C12.4,8,12,8,11.6,8c-0.2,0-0.3,0-0.4,0c-0.1,0-0.2,0.1-0.4,0.1c-0.1,0.1-0.2,0.1-0.3,0.2\n s-0.1,0.2-0.1,0.3c0,0.2,0.1,0.3,0.2,0.4c0.1,0.1,0.4,0.2,0.7,0.3c0.2,0.1,0.5,0.1,0.7,0.2s0.4,0.1,0.7,0.2\n c0.5,0.2,0.8,0.4,1.1,0.7c0.2,0.3,0.4,0.7,0.4,1.2c0,0.7-0.3,1.3-0.8,1.7S12,13.9,11.1,13.9z"/>\n </g>\n </g>')}function n(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-image",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#B294C5" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <polygon points="2.6,14 8.2,9.9 12,11.4 15,8.2 15,14 \t"/>\n <circle cx="6.6" cy="5.8" r="1.8"/>\n </g>')}function o(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-html",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5\n L17,15.5z"/>\n <path fill="none" stroke="#82A7D8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path d="M7.9,6.5l-2.2,6.9H4.6l2.2-6.9H7.9z"/>\n <path d="M14,10.2l-4.7,2v-1l3.3-1.3L9.3,8.4v-1l4.7,2V10.2z"/>\n </g>\n </g>')}function p(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-css",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#A6D08E" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path d="M7.8,13.7h-1c-0.5,0-0.9-0.1-1.2-0.4c-0.3-0.3-0.4-0.6-0.4-1.1v-0.6c0-0.4-0.1-0.8-0.3-0.9s-0.5-0.3-1-0.3H3.6V9.5h0.3\n c0.5,0,0.8-0.1,1-0.3C5.1,9,5.2,8.7,5.2,8.2V7.6c0-0.5,0.1-0.9,0.4-1.1c0.3-0.3,0.7-0.4,1.2-0.4h1V7H7.4C7.3,7,7.1,7,7,7\n C6.9,7,6.8,7.1,6.7,7.1C6.6,7.2,6.5,7.3,6.5,7.4c0,0.1-0.1,0.3-0.1,0.5v0.4c0,0.4-0.1,0.7-0.3,0.9S5.6,9.8,5.2,9.9V10\n c0.4,0.1,0.6,0.3,0.9,0.6s0.3,0.6,0.3,0.9v0.4c0,0.2,0,0.4,0.1,0.5c0,0.1,0.1,0.2,0.2,0.3c0.1,0.1,0.2,0.1,0.3,0.1\n c0.1,0,0.3,0,0.4,0h0.4V13.7z"/>\n <path d="M14.3,10.4h-0.3c-0.5,0-0.8,0.1-1,0.3c-0.2,0.2-0.3,0.5-0.3,0.9v0.6c0,0.5-0.1,0.9-0.4,1.1c-0.3,0.3-0.7,0.4-1.2,0.4h-1\n v-0.9h0.4c0.2,0,0.3,0,0.4,0c0.1,0,0.2-0.1,0.3-0.1c0.1-0.1,0.2-0.2,0.2-0.3c0-0.1,0.1-0.3,0.1-0.5v-0.4c0-0.4,0.1-0.7,0.3-0.9\n s0.5-0.4,0.9-0.6V9.9c-0.4-0.1-0.6-0.3-0.9-0.6s-0.3-0.6-0.3-0.9V7.9c0-0.2,0-0.4-0.1-0.5c0-0.1-0.1-0.2-0.2-0.3\n C11.2,7.1,11.1,7,10.9,7c-0.1,0-0.3,0-0.4,0h-0.4V6.1h1c0.5,0,0.9,0.1,1.2,0.4c0.3,0.3,0.4,0.6,0.4,1.1v0.6c0,0.4,0.1,0.8,0.3,0.9\n c0.2,0.2,0.5,0.3,1,0.3h0.3V10.4z"/>\n </g>')}function q(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-warning",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#CC6666" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <path fill="#414042" d="M9,3L3,14h12L9,3z M10,13H8v-1h2V13z M9.5,11h-1L8,10V7l0.5-1h1L10,7v3L9.5,11z"/>')}function r(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-font",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5\n L17,15.5z"/>\n <path fill="none" stroke="#E15D4E" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#414042" d="M3.8,10l-0.6,0.6C3.1,10.3,3.1,10,3.1,9.8c0-0.6,0.3-1.2,0.8-1.6c0.5-0.3,1.3-0.5,2.4-0.5\n c0.2,0,0.4,0,0.5,0c0.4,0,0.6,0,0.6,0h0.3c-0.2,0.3-0.3,1-0.3,1.9l0,0.2l0,0.4c0,0.5,0.1,1.1,0.2,1.7c0.1,0.2,0.1,0.4,0.2,0.4\n c0,0.1,0.1,0.1,0.3,0.1c0.1,0,0.3,0,0.5-0.1c0,0,0,0.1,0,0.1c0,0.1-0.1,0.1-0.2,0.2l-0.2,0.1l-1,0.4c-0.2-0.7-0.3-1.3-0.4-2.1\n l-0.3,0.2H5.2c-0.2,0.6-0.6,1-1,1.3l0.8,0l-0.4,0.4L3.1,13l0.5-0.5l0.4,0c0.2-0.1,0.3-0.3,0.5-0.5s0.3-0.7,0.6-1.4l0.1-0.3\n c0.2-0.7,0.5-1.1,0.7-1.4s0.5-0.5,0.9-0.7C6.3,8.1,5.8,8.1,5.4,8.1c-1.2,0-1.7,0.4-1.7,1.2C3.7,9.5,3.7,9.7,3.8,10z M6.8,10.9\n c0-0.5-0.1-0.8-0.1-1.1c0-0.1,0-0.3,0-0.4l0-0.5c0-0.3,0-0.5,0.1-0.7C6.4,8.6,6,9.2,5.6,10.2c-0.1,0.3-0.1,0.4-0.2,0.5l-0.1,0.2\n H6.8z"/>\n <path fill="#414042" d="M9.8,10.9c0.3-0.5,0.6-0.9,0.9-1.2s0.6-0.5,0.9-0.5c0.4,0,0.6,0.3,0.6,1c0,0.8-0.2,1.4-0.7,2\n c-0.5,0.6-1.1,0.8-1.8,0.8c-0.1,0-0.2,0-0.2,0l-0.3,0c0,0-0.1,0-0.1,0C9,12.8,9,12.6,9,12.4L9.4,9c0.1-0.8,0.4-1.5,0.9-2.1\n s1.1-0.9,1.7-0.9c0.1,0,0.3,0,0.4,0l-0.6,0.6c-0.1,0-0.3-0.1-0.4-0.1c-0.8,0-1.2,0.6-1.4,1.8L9.8,10.9z M9.6,12.5\n c0.2,0.1,0.5,0.2,0.7,0.2c0.4,0,0.6-0.2,0.9-0.6c0.2-0.4,0.3-1,0.3-1.6c0-0.4-0.1-0.6-0.3-0.6c-0.2,0-0.5,0.2-0.8,0.5\n c-0.4,0.5-0.7,1-0.7,1.7L9.6,12.5z"/>\n <path fill="#414042" d="M15.4,9.4l-0.4,0.5c-0.2-0.1-0.4-0.1-0.6-0.1c-0.3,0-0.6,0.1-0.8,0.4c-0.2,0.3-0.3,0.7-0.3,1.2\n c0,0.4,0.1,0.6,0.2,0.9c0.1,0.2,0.3,0.3,0.6,0.3c0.4,0,0.7-0.3,0.9-0.8c0.1,0.1,0.1,0.1,0.1,0.2c0,0.2-0.2,0.5-0.5,0.7\n c-0.3,0.3-0.6,0.4-0.9,0.4c-0.3,0-0.5-0.1-0.7-0.3c-0.2-0.2-0.3-0.5-0.3-0.8c0-0.7,0.2-1.3,0.7-1.8c0.5-0.6,1-0.8,1.5-0.8\n C15,9.3,15.2,9.3,15.4,9.4z"/>\n </g>\n </g>')}function s(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-flash",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#42AAB1" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n </g>\n <path fill="#414042" d="M13.1,6.2c-2.1-0.1-2.9,2.3-2.9,2.3h1.7l0,2.1l-2.5,0C8.8,11.9,7.6,15,4,15c0-0.1,0-1.8,0-2.1\n c2.1-0.1,3.2-2.4,3.7-4.1c1.4-4.1,3.5-4.6,5.3-4.8V6.2z"/>')}var t=function(a,b,c,d,e,f){var g=new DOMParser,h=g.parseFromString('<svg x="'+a+'" y="'+b+'" xmlns="http://www.w3.org/2000/svg">\n <g class="icon '+d+'" transform="scale('+e+')">\n '+f+"\n <title>"+c+"</title>\n </g>\n </svg>","image/svg+xml");return h.firstChild};c.lock=d,c.noTls=e,c.err3xx=f,c.err4xx=g,c.err5xx=h,c.noCache=i,c.noGzip=j,c.plain=k,c.other=l,c.javascript=m,c.image=n,c.html=o,c.css=p,c.warning=q,c.font=r,c.flash=s},{}],4:[function(a,b,c){"use strict";function d(a){var b=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),c=a.match(b);return{scheme:c[2],authority:c[4],path:c[5],query:c[7],fragment:c[9]}}function e(a,b){return a.filter(function(a){return a===b}).length>0}function f(a,b){if(a.length<b)return a.replace(/http[s]\:\/\//,"");var c=d(a);if((c.authority+c.path).length<b)return c.authority+c.path;var e=Math.floor(b/2)-3,f=Math.floor(b/2)-5,g=c.path.split("/");return c.authority.length>e?c.authority.substr(0,e)+"..."+g[g.length-1].substr(-f):c.authority+"..."+g[g.length-1].substr(-f)}function g(a,b){return Math.round(a*Math.pow(10,b))/Math.pow(10,b)}function h(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];if(void 0===a||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(a),e=1;e<arguments.length;e++){var f=arguments[e];if(void 0!==f&&null!==f)for(var g in f)f.hasOwnProperty(g)&&(d[g]=f[g])}return d}c.parseUrl=d,c.contains=e,c.ressourceUrlFormater=f,c.roundNumber=g,c.assign=h},{}],5:[function(a,b,c){"use strict";function d(a,b,c){var d=document.createElementNS("http://www.w3.org/2000/svg",a);b=b||{};for(var e in b)"text"!==e&&d.setAttributeNS(null,e,b[e]);return d.textContent=b.text||"",c&&d.style&&Object.keys(c).forEach(function(a){d.style[a]=c[a]}),d}function e(a,b,c){return b=b||{},b.class=a,d("svg:svg",b,c)}function f(a,b,c){return b=b||{},b.class=a,d("g",b,c)}function g(a,b,c,e){e=e||{};var f={fill:"#111",y:b.toString(),text:a};return void 0!==c&&(f.x=c),d("text",f,e)}function h(a,b){void 0===b&&(b=!1);var c,d=k();c=b?a:a.cloneNode(!1),d.appendChild(c),c.style.textShadow="0",window.document.body.appendChild(d);var e=c.getBBox().width;return e}function i(a,b){return a.classList?a.classList.add(b):a.setAttribute("class",a.getAttribute("class")+" "+b),a}function j(a,b){return a.classList?a.classList.remove(b):a.setAttribute("class",a.getAttribute("class").replace(new RegExp("(\\s|^)"+b+"(\\s|$)","g"),"$2")),a}c.newEl=d,c.newSvg=e,c.newG=f,c.newTextEl=g;var k=function(){var a,b;return function(){return void 0===a&&(a=d("svg:svg",{className:"water-fall-chart temp",width:"9999px"},{visibility:"hidden",position:"absoulte",top:"0px",left:"0px","z-index":"99999"})),void 0===a.parentElement&&window.document.body.appendChild(a),clearTimeout(b),b=setTimeout(function(){a.parentNode.removeChild(a)},1e3),a}}();c.getNodeTextWidth=h,c.addClass=i,c.removeClass=j},{}],6:[function(a,b,c){"use strict";function d(){var a=document.createElement("ul");return a.className="resource-legend",a.innerHTML='\n <li class="legend-stalled">Stalled/Blocking</li>\n <li class="legend-redirect">Redirect</li>\n <li class="legend-app-cache">App Cache</li>\n <li class="legend-dns-lookup">DNS Lookup</li>\n <li class="legend-tcp">Initial Connection (TCP)</li>\n <li class="legend-tls">TLS/SSL Negotiation</li>\n <li class="legend-ttfb">Time to First Byte</li>\n <li class="legend-download">Content Download</li>',a}c.makeLegend=d},{}],7:[function(a,b,c){"use strict";function d(a,b){var c=m.assign(n,b||{});l.init(c),k.storeDocs(a);var d=g.createWaterfallSvg(h.getSelectedPage());return h.onPageUpdate(function(a,b){var c=d.parentElement,e=g.createWaterfallSvg(b);c.replaceChild(e,d),d=e}),c.pageSelector&&h.initPagingSelectBox(c.pageSelector),c.legendHolder&&c.legendHolder.appendChild(j.makeLegend()),d}function e(a,b){return d(i.default.transformDoc(a),b)}function f(a,b){return d(a,b)}var g=a("./waterfall/svg-chart"),h=a("./paging/paging"),i=a("./transformers/har"),j=a("./legend/legend");c.makeLegend=j.makeLegend;var k=a("./state/waterfall-docs-service"),l=a("./state/global-state"),m=a("./helpers/misc"),n={rowHeight:23,showAlignmentHelpers:!0,showIndicatorIcons:!0,leftColumnWith:25};c.fromHar=e,c.fromPerfCascadeFormat=f;var o=i.default.transformDoc;c.transformHarToPerfCascade=o;var p=a("./paging/paging");c.changePage=p.setSelectedPageIndex},{"./helpers/misc":4,"./legend/legend":6,"./paging/paging":8,"./state/global-state":9,"./state/waterfall-docs-service":10,"./transformers/har":11,"./waterfall/svg-chart":25}],8:[function(a,b,c){"use strict";function d(){return j.getDocs().pages.length}function e(){return j.getDocs().pages[k]}function f(){return k}function g(a){if(k!==a){if(a<0||a>=d())throw new Error("Page does not exist - Invalid pageIndex selected");k=a;var b=j.getDocs().pages[k];l.forEach(function(a){a(k,b)})}}function h(a){if(d()>1)return l.push(a)}function i(a){d()<=1||(j.getDocs().pages.forEach(function(b,c){var d=new Option(b.title,c.toString(),c===k);a.add(d)}),a.style.display="block",a.addEventListener("change",function(a){var b=parseInt(a.target.value,10);g(b)}))}var j=a("../state/waterfall-docs-service"),k=0,l=[];c.getPageCount=d,c.getSelectedPage=e,c.getSelectedPageIndex=f,c.setSelectedPageIndex=g,c.onPageUpdate=h,c.initPagingSelectBox=i},{"../state/waterfall-docs-service":10}],9:[function(a,b,c){"use strict";function d(a){f=a}function e(){return f}var f;c.init=d,c.getOptions=e},{}],10:[function(a,b,c){"use strict";function d(a){f=a}function e(){return f}var f;c.storeDocs=d,c.getDocs=e},{}],11:[function(a,b,c){"use strict";var d=a("../typing/time-block"),e=a("./styling-converters"),f=function(){function a(){}return a.transformDoc=function(a){var b=this,c=void 0!==a.log?a.log:a;console.log("HAR created by %s(%s) %s page(s)",c.creator.name,c.creator.version,c.pages.length);var d={pages:c.pages.map(function(a,d){return b.transformPage(c,d)})};return d},a.transformPage=function(a,b){var c=this;void 0===b&&(b=0);var f=void 0!==a.log?a.log:a,g=b,h=f.pages[g],i=new Date(h.startedDateTime).getTime(),j=h.pageTimings;console.log("%s: %s of %s page(s)",h.title,b+1,f.pages.length);var k=0,l=f.entries.filter(function(a){return a.pageref===h.id}).map(function(a){var b=new Date(a.startedDateTime).getTime()-i;return k<b+a.time&&(k=b+a.time),new d.default(a.request.url,b,parseInt(a._all_end,10)||b+a.time,e.mimeToCssClass(a.response.content.mimeType),c.buildDetailTimingBlocks(b,a),a,e.mimeToRequestType(a.response.content.mimeType))}),m=Object.keys(j).filter(function(a){return void 0!==j[a]&&j[a]>=0}).sort(function(a,b){return j[a]>j[b]?1:-1}).map(function(a){var b=j[a];return{name:a.replace(/^[_]/,"")+" ("+b+"ms)",startTime:b}});return{durationMs:k,blocks:l,marks:m,lines:[],title:h.title}},a.buildDetailTimingBlocks=function(a,b){var c=this,e=b.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(f,g){var h=c.getTimePair(g,b,f,a);if(h.end&&h.start>=h.end)return f;if("connect"===g&&e.ssl&&e.ssl!==-1){var i=parseInt(b._ssl_start,10)||h.start,j=parseInt(b._ssl_end,10)||h.start+e.ssl,k=parseInt(b._ssl_start,10)?h.start:j;return f.concat([new d.default("ssl",i,j,"block-ssl")]).concat([new d.default(g,k,h.end,"block-"+g)])}return f.concat([new d.default(g,h.start,h.end,"block-"+g)])},[])},a.getTimePair=function(a,b,c,d){var e;switch(a){case"wait":e="ttfb";break;case"receive":e="download";break;default:e=a}var f=parseInt(b["_"+e+"_start"],10),g=parseInt(b["_"+e+"_end"],10),h=isNaN(f)?c.length>0?c[c.length-1].end:d:f,i=isNaN(g)?h+b.timings[a]:g;return{start:h,end:i}},a}();Object.defineProperty(c,"__esModule",{value:!0}),c.default=f},{"../typing/time-block":13,"./styling-converters":12}],12:[function(a,b,c){"use strict";function d(a){if(void 0===a)return"other";var b=a.split("/"),c=b[1];switch(void 0!==c&&(c=c.indexOf(";")>-1?c.split(";")[0]:c),b[0]){case"image":return"image";case"font":return"font"}switch(c){case"svg+xml":return"svg";case"xml":case"html":return"html";case"plain":return"plain";case"css":return"css";case"vnd.ms-fontobject":case"font-woff":case"font-woff2":case"x-font-truetype":case"x-font-opentype":case"x-font-woff":return"font";case"javascript":case"x-javascript":case"script":case"json":return"javascript";case"x-shockwave-flash":return"flash"}return"other"}function e(a){return"block-"+d(a)}c.mimeToRequestType=d,c.mimeToCssClass=e},{}],13:[function(a,b,c){"use strict";var d=function(){function a(a,b,c,d,e,f,g){void 0===d&&(d=""),void 0===e&&(e=[]),this.name=a,this.start=b,this.end=c,this.cssClass=d,this.segments=e,this.rawResource=f,this.requestType=g,this.total="number"!=typeof b||"number"!=typeof c?void 0:c-b}return a}();Object.defineProperty(c,"__esModule",{value:!0}),c.default=d},{}],14:[function(a,b,c){"use strict";function d(a,b){var c=b.rawResource,d=function(a){var b=c.request.headers.filter(function(b){return b.name.toLowerCase()===a.toLowerCase()})[0];return b?b.value:""},e=function(a){var b=c.response.headers.filter(function(b){return b.name.toLowerCase()===a.toLowerCase()})[0];return b?b.value:""},j=function(){var a=e("Content-Type");return c._contentType&&c._contentType!==a?a+" | "+c._contentType:a},k=function(a){return c[a]||c["_"+a]||c.request[a]||c.request["_"+a]||""},l=function(a){var b=k(a);return"0"!==b?b:""},m=function(a){var b=parseInt(k(a),10);return isNaN(b)||b<=0?"":f(b)},n=function(a){var b=k(a+"_ms").toString(),c=k(a+"_start"),d=k(a+"_end"),e=[];return c&&d&&c<d&&e.push(c+"ms - "+d+"ms"),b&&"-1"!==b&&e.push("("+b+"ms)"),e.join(" ")};return{general:{"Request Number":"#"+a,Started:new Date(c.startedDateTime).toLocaleString()+" ("+g(b.start)+" after page reqest started)",Duration:g(c.time),"Error/Status Code":c.response.status+" "+c.response.statusText,"Server IPAddress":c.serverIPAddress,Connection:c.connection,"Browser Priority":k("priority")||k("initialPriority"),"Initiator (Loaded by)":k("initiator"),"Initiator Line":k("initiator_line"),Host:d("Host"),IP:k("ip_addr"),"Client Port":l("client_port"),Expires:k("expires"),"Cache Time":k("cache_time"),"CDN Provider":k("cdn_provider"),ObjectSize:k("objectSize"),"Bytes In (downloaded)":m("bytesIn"),"Bytes Out (uploaded)":m("bytesOut"),"JPEG Scan Count":l("jpeg_scan_count"),"Gzip Total":m("gzip_total"),"Gzip Save":m("gzip_safe"),"Minify Total":m("minify_total"),"Minify Save":m("minify_save"),"Image Total":m("image_total"),"Image Save":m("image_save")},timings:{"Server RTT":n("server_rtt"),"all (combined)":n("all"),DNS:n("dns"),Connect:n("connect"),"TLS/SSL":n("ssl"),Load:n("load"),TTFB:n("ttfb"),Download:n("download")},request:{Method:c.request.method,"HTTP Version":c.request.httpVersion,"Bytes Out (uploaded)":m("bytesOut"),"Headers Size":f(c.request.headersSize),"Body Size":f(c.request.bodySize),Comment:c.request.comment,"User-Agent":d("User-Agent"),Host:d("Host"),Connection:d("Connection"),Accept:d("Accept"),"Accept-Encoding":d("Accept-Encoding"),Expect:d("Expect"),Forwarded:d("Forwarded"),"If-Modified-Since":d("If-Modified-Since"),"If-Range":d("If-Range"),"If-Unmodified-Since":d("If-Unmodified-Since"),"Querystring parameters count":c.request.queryString.length,"Cookies count":c.request.cookies.length},response:{Status:c.response.status+" "+c.response.statusText,"HTTP Version":c.response.httpVersion,"Bytes In (downloaded)":m("bytesIn"),"Header Size":f(c.response.headersSize),"Body Size":f(c.response.bodySize),"Content-Type":j(),"Cache-Control":e("Cache-Control"),"Content-Encoding":e("Content-Encoding"),Expires:h(e("Expires")),"Last-Modified":h(e("Last-Modified")),Pragma:e("Pragma"),"Content-Length":i(e("Content-Length"),f),"Content Size":e("Content-Length")!==c.response.content.size.toString()?f(c.response.content.size):"","Content Compression":f(c.response.content.compression),Connection:e("Connection"),ETag:e("ETag"),"Accept-Patch":e("Accept-Patch"),Age:e("Age"),Allow:e("Allow"),"Content-Disposition":e("Content-Disposition"),Location:e("Location"),"Strict-Transport-Security":e("Strict-Transport-Security"),"Trailer (for chunked transfer coding)":e("Trailer"),"Transfer-Encoding":e("Transfer-Encoding"),Upgrade:e("Upgrade"),Vary:e("Vary"),"Timing-Allow-Origin":e("Timing-Allow-Origin"),"Redirect URL":c.response.redirectURL,Comment:c.response.comment}}}var e=function(a,b){if(!("number"!=typeof a||a<=0))return b(a)},f=function(a){return e(a,function(a){return a+" byte (~"+Math.round(a/1024*10)/10+"kb)"})},g=function(a){return e(a,function(a){return a+"ms"})},h=function(a){if(!a)return"";var b=new Date(a);return a+" </br>(local time: "+b.toLocaleString()+")"},i=function(a,b){var c=parseInt(a,10);return e(c,b)};c.getKeys=d},{}],15:[function(a,b,c){"use strict";function d(a,b){void 0===b&&(b=!1);var c=function(a){if(!b)return"";var c=a.toLowerCase().replace(/[^a-z-]/g,"");return'class="'+(c||"no-colour")+'"'};return Object.keys(a).filter(function(b){return void 0!==a[b]&&a[b]!==-1&&0!==a[b]&&""!==a[b]}).map(function(b){return"\n <dt "+c(b)+">"+b+"</dt>\n <dd>"+a[b]+"</dd>\n "}).join("")}function e(a,b){if(void 0===b&&(b=!0),""===a.trim())return"";var c=b?"<dl>"+a+"</dl>":a;
return'<div class="tab">\n '+c+"\n </div>"}function f(a,b){if("image"!==b.requestType)return"";var c='<img class="preview" style="max-height:'+(a-100)+'px" data-src="'+b.rawResource.request.url+'" />';return e(c,!1)}function g(a,b){return b?'<li><button class="tab-button">'+a+"</button></li>":""}function h(a,b,c){var h=document.createElement("html"),j=document.createElement("body");j.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),h.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/");var k=i.getKeys(a,b),l=e(d(k.general)),m=e(d(k.timings,!0)),n=d(k.request),o=d(b.rawResource.request.headers.reduce(function(a,b){return a[b.name]=b.value,a},{})),p=d(k.response),q=d(b.rawResource.response.headers.reduce(function(a,b){return a[b.name]=b.value,a},{})),r=f(c,b);return j.innerHTML='\n <div class="wrapper">\n <header class="type-'+b.requestType+'">\n <h3><strong>#'+a+"</strong> "+b.name+'</h3>\n <nav class="tab-nav">\n <ul>\n '+g("General",l)+'\n <li><button class="tab-button">Request</button></li>\n <li><button class="tab-button">Response</button></li>\n '+g("Timings",m)+'\n <li><button class="tab-button">Raw Data</button></li>\n '+g("Preview",r)+"\n </ul>\n </nav>\n </header>\n "+l+'\n <div class="tab">\n <dl>\n '+n+"\n </dl>\n <h2>All Request Headers</h2>\n <dl>\n "+o+'\n </dl>\n </div>\n <div class="tab">\n <dl>\n '+p+"\n </dl>\n <h2>All Response Headers</h2>\n <dl>\n "+q+"\n </dl>\n </div>\n "+m+'\n <div class="tab">\n <code>\n <pre>'+JSON.stringify(b.rawResource,null,2)+"</pre>\n </code>\n </div>\n "+r+"\n </div>\n ",h.appendChild(j),h}var i=a("./extract-details-keys");c.createDetailsBody=h},{"./extract-details-keys":14}],16:[function(a,b,c){"use strict";function d(a){f.push(a)}function e(a){f.forEach(function(b){return b(a)})}c.eventTypes={OPEN:"open",CLOSE:"closed"};var f=[];c.subscribeToOvelayChanges=d,c.publishToOvelayChanges=e},{}],17:[function(a,b,c){"use strict";function d(){return l.reduce(function(a,b){return a+b.height},0)}function e(a){return l.reduce(function(b,c){return c.index<a?b+c.height:b},0)}function f(a,b,c,e,f,g,j){l.splice(l.reduce(function(b,c,d){return c.index===a?d:b},-1),1),i(e,f,c,j),k.publishToOvelayChanges({type:k.eventTypes.CLOSE,openOverlays:l,combinedOverlayHeight:d()}),h(g)}function g(a,b,c,e,f,g,j,m){var n=this;l.filter(function(b){return b.index===a}).length>0||(l.push({index:a,defaultY:c,block:f,onClose:function(){n.closeOvelay(a,null,g,b,e,j,m)}}),i(b,e,g,m),k.publishToOvelayChanges({type:k.eventTypes.OPEN,openOverlays:l,combinedOverlayHeight:d()}),h(j))}function h(a){a.forEach(function(a,b){var c=e(b);a.style.transform="translate(0, "+c+"px)"})}function i(a,b,c,d){for(;c.firstChild;)c.removeChild(c.firstChild);var e=0;l.sort(function(a,b){return a.index>b.index?1:-1}).forEach(function(f){var g=f.defaultY+e,h=j.createRowInfoOverlay(f.index,a,g,b,f.block,f.onClose,d),i=h.querySelector("img.preview");i&&!i.src&&i.setAttribute("src",i.attributes.getNamedItem("data-src").value),c.appendChild(h);var k=h.getBoundingClientRect().height;return e+=k,f.actualY=g,f.height=k,f})}var j=a("./svg-details-overlay"),k=a("./overlay-changes-pub-sub"),l=[];c.getCombinedOverlayHeight=d,c.getOverlayOffset=e,c.closeOvelay=f,c.openOverlay=g},{"./overlay-changes-pub-sub":16,"./svg-details-overlay":18}],18:[function(a,b,c){"use strict";function d(a){var b=g.newEl("a",{class:"info-overlay-close-btn"});return b.appendChild(g.newEl("rect",{width:23,height:23,x:"100%",y:a})),b.appendChild(g.newEl("text",{width:23,height:23,x:"100%",y:a,dx:7,dy:16,fill:"#111",text:"X",textAnchor:"middle"})),b.appendChild(g.newEl("title",{text:"Close Overlay"})),b}function e(a,b){var c=g.newG("info-overlay-holder",{width:"100%"}),d=g.newEl("rect",{width:"100%",height:b,x:"0",y:a,rx:2,ry:2,class:"info-overlay"});return c.appendChild(d),c}function f(a,b,c,f,j,k,l){var m=parseInt(j.rawResource._index,10)||a,n=g.newG("outer-info-overlay-holder",{width:"100%"}),o=e(c,f),p=g.newEl("foreignObject",{width:"100%",height:f,x:"0",y:c,dy:"5",dx:"5"}),q=d(c);q.addEventListener("click",function(b){return k(a,o)});var r=i.createDetailsBody(m,j,f),s=r.getElementsByClassName("tab-button"),t=r.getElementsByClassName("tab"),u=function(a){h.forEach(t,function(b,c){b.style.display=a===c?"block":"none",s.item(c).classList.toggle("active",a===c)})};return h.forEach(s,function(a,b){a.addEventListener("click",function(){u(b)})}),u(0),p.appendChild(r),o.appendChild(p),o.appendChild(q),n.appendChild(o),n}var g=a("../../helpers/svg"),h=a("../../helpers/dom"),i=a("./html-details-body");c.createRowInfoOverlay=f},{"../../helpers/dom":1,"../../helpers/svg":5,"./html-details-body":15}],19:[function(a,b,c){"use strict";function d(a,b){var c=20,d=a.rawResource,f=[],g=3,h=function(a,b){f.push({type:a,x:g,title:b}),g+=c};if(h(a.requestType,a.requestType),d.response.redirectURL){var i=encodeURI(d.response.redirectURL.split("?")[0]||"");h("err3xx",d.response.status+" response status: Redirect to "+i+"...")}return!b&&e.isSecure(a)?h("lock","Secure Connection"):b&&!e.isSecure(a)&&h("noTls","Insecure Connection"),e.hasCacheIssue(a)&&h("noCache","Response not cached"),e.hasCompressionIssue(a)&&h("noGzip","no gzip"),e.isInStatusCodeRange(d,400,499)&&h("err4xx",d.response.status+" response status: "+d.response.statusText),e.isInStatusCodeRange(d,500,599)&&h("err5xx",d.response.status+" response status: "+d.response.statusText),!d.response.content.mimeType&&e.isInStatusCodeRange(d,200,299)&&h("warning","No MIME Type defined"),f}var e=a("../../helpers/heuristics");c.getIndicators=d},{"../../helpers/heuristics":2}],20:[function(a,b,c){"use strict";function d(a,b){var c=a.height-1,d=o.newEl("rect",{width:p.roundNumber(a.width/a.unit,2)+"%",height:c,x:p.roundNumber(a.x/a.unit,2)+"%",y:a.y,class:b});return a.label&&d.appendChild(o.newEl("title",{text:a.label})),a.showOverlay&&a.hideOverlay&&(d.addEventListener("mouseenter",a.showOverlay(a)),d.addEventListener("mouseleave",a.hideOverlay(a))),d}function e(a,b){return{width:a.total,height:b.height-6,x:a.start||.001,y:b.y,cssClass:a.cssClass,label:a.name+" ("+Math.round(a.start)+"ms - "+Math.round(a.end)+"ms | total: "+Math.round(a.total)+"ms)",unit:b.unit,showOverlay:b.showOverlay,hideOverlay:b.hideOverlay}}function f(a,b,c){var d=500,e=5/d*100,f=a.y+a.height/1.5,g=(a.x+a.width)/a.unit+e,h=o.newTextEl(b+"ms",f,p.roundNumber(g,2)+"%"),i=8*(b+"ms").length;return g+i/d*100>100&&(g=c/a.unit-e,h=o.newTextEl(b+"ms",f,p.roundNumber(g,2)+"%",{textAnchor:"end"})),h}function g(a,b,c){var g=d(a,"time-block "+(a.cssClass||"block-other")),h=o.newEl("g",{class:"rect-holder"}),i=a.x;return h.appendChild(g),b&&b.length>0&&(b.forEach(function(b){if(b.total>0&&"number"==typeof b.start){var c=e(b,a),f=d(c,"segment "+c.cssClass);i=Math.min(i,c.x),h.appendChild(f)}}),h.appendChild(f(a,c,i))),h}function h(a,b,c,d,e){var f=j(a,b,c,d);return f.style.clipPath="url(#titleClipPath)",f}function i(a,b,c,d){var e=j(a,b,c,d),f=o.newG("full-lable");return f.appendChild(o.newEl("rect",{class:"label-full-bg",x:a-3,y:b+3,width:o.getNodeTextWidth(e),height:d-4,rx:5,ry:5})),f.appendChild(e),f}function j(a,b,c,d){var e=p.ressourceUrlFormater(c,125),f=o.newTextEl(e,b+Math.round(d/2)+5);return f.appendChild(o.newEl("title",{text:c})),f.setAttribute("x",a.toString()),f.style.opacity=c.match(/js.map$/)?"0.5":"1",f}function k(a,b,c){var d=c.getElementsByTagName("rect")[0],e=c.getElementsByTagName("text")[0];c.style.display="none",c.style.visibility="hidden",a.appendChild(b),a.appendChild(c),a.addEventListener("mouseenter",function(){c.style.display="block",b.style.display="none",c.style.visibility="visible",d.style.width=(e.clientWidth+10).toString()}),a.addEventListener("mouseleave",function(){b.style.display="block",c.style.display="none",c.style.visibility="hidden"})}function l(a,b,c){return o.newEl("rect",{width:"100%",height:b,x:0,y:a,class:c?"even":"odd"})}function m(a,b,c,d){var e=o.newEl("g",{class:"row row-fixed"});return e.appendChild(o.newEl("rect",{width:"100%",height:b,x:"0",y:a,opacity:"0"})),e.addEventListener("click",c),e}function n(a,b,c){var d=o.newEl("g",{class:"row row-flex"});return d.appendChild(o.newEl("rect",{width:"100%",height:b,x:"0",y:a,opacity:"0"})),d.addEventListener("click",c),d}var o=a("../../helpers/svg"),p=a("../../helpers/misc");c.createRect=g,c.createRequestLabelClipped=h,c.createRequestLabelFull=i,c.appendRequestLabels=k,c.createBgStripe=l,c.createNameRowBg=m,c.createRowBg=n},{"../../helpers/misc":4,"../../helpers/svg":5}],21:[function(a,b,c){"use strict";function d(a,b,c,d,l,m,n){var o=b.y,p=b.height,q=l.leftColumnWith,r=["row-item"];h.isInStatusCodeRange(c.rawResource,500,599)&&r.push("status5xx"),h.isInStatusCodeRange(c.rawResource,400,499)?r.push("status4xx"):304!==c.rawResource.response.status&&h.isInStatusCodeRange(c.rawResource,300,399)&&r.push("status3xx");var s=e.newG(r.join(" ")),t=e.newSvg("left-fixed-holder",{x:"0",width:q+"%"}),u=e.newSvg("flex-scale-waterfall",{x:q+"%",width:100-q+"%"}),v=a+1+". ",w=i.createRect(b,c.segments,c.total),x=i.createRequestLabelClipped(d,o,v+g.ressourceUrlFormater(c.name,40),p,"clipPath"),y=i.createRequestLabelFull(d,o,v+c.name,p),z=i.createNameRowBg(o,p,n,q),A=i.createRowBg(o,p,n),B=i.createBgStripe(o,p,a%2===0);return A.appendChild(w),l.showIndicatorIcons&&j.getIndicators(c,m).forEach(function(a){z.appendChild(f[a.type](a.x,o+3,a.title))}),i.appendRequestLabels(z,x,y),u.appendChild(A),t.appendChild(k.cloneNode(!0)),t.appendChild(z),s.appendChild(B),s.appendChild(u),s.appendChild(t),s}var e=a("../../helpers/svg"),f=a("../../helpers/icons"),g=a("../../helpers/misc"),h=a("../../helpers/heuristics"),i=a("./svg-row-subcomponents"),j=a("./svg-indicators"),k=e.newEl("clipPath",{id:"titleClipPath"});k.appendChild(e.newEl("rect",{width:"100%",height:"100%"})),c.createRow=d},{"../../helpers/heuristics":2,"../../helpers/icons":3,"../../helpers/misc":4,"../../helpers/svg":5,"./svg-indicators":19,"./svg-row-subcomponents":20}],22:[function(a,b,c){"use strict";function d(a){return{endline:f.newEl("line",{x1:"0",y1:"0",x2:"0",y2:a,class:"line-end"}),startline:f.newEl("line",{x1:"0",y1:"0",x2:"0",y2:a,class:"line-start"})}}function e(a){return{onMouseEnterPartial:function(){return function(b){var c=b.target;f.addClass(c,"active");var d=c.x.baseVal.valueInSpecifiedUnits+c.width.baseVal.valueInSpecifiedUnits+"%",e=c.x.baseVal.valueInSpecifiedUnits+"%";a.endline.x1.baseVal.valueAsString=d,a.endline.x2.baseVal.valueAsString=d,a.startline.x1.baseVal.valueAsString=e,a.startline.x2.baseVal.valueAsString=e,f.addClass(a.endline,"active"),f.addClass(a.startline,"active")}},onMouseLeavePartial:function(){return function(b){var c=b.target;f.removeClass(c,"active"),f.removeClass(a.endline,"active"),f.removeClass(a.startline,"active")}}}}var f=a("../../helpers/svg");c.createAlignmentLines=d,c.makeHoverEvtListeners=e},{"../../helpers/svg":5}],23:[function(a,b,c){"use strict";function d(a,b,c){void 0===c&&(c=200);for(var d=f.newEl("g",{class:"time-scale full-width"}),e=1e3/c,g=a/1e3,i=a/c,j=0;j<=i;j++){var k=j%e===0,l=j/e;h(d,b,g,l,k)}return d}function e(a,b,c){var d=f.newEl("rect",{width:(a.total||1)/b+"%",height:c,x:(a.start||.001)/b+"%",y:0,class:a.cssClass||"block-other"});return d.appendChild(f.newEl("title",{text:a.name})),d}var f=a("../../helpers/svg"),g=a("../details-overlay/overlay-changes-pub-sub"),h=function(a,b,c,d,e){void 0===e&&(e=!1);var h,i=100/c,j="sub-second-line";e&&(j="second-line",h=f.newTextEl(d+"s",b),d>c-.2?(h.setAttribute("x",i*d-.5+"%"),h.setAttribute("text-anchor","end")):h.setAttribute("x",i*d+.5+"%"));var k=f.newEl("line",{class:j,x1:i*d+"%",y1:"0",x2:i*d+"%",y2:b});g.subscribeToOvelayChanges(function(a){var c=a.combinedOverlayHeight,d=(b+c)/b;k.setAttribute("transform","scale(1, "+d+")"),e&&h.setAttribute("transform","translate(0, "+c+")")}),a.appendChild(k),e&&a.appendChild(h)};c.createTimeScale=d,c.createBgRect=e},{"../../helpers/svg":5,"../details-overlay/overlay-changes-pub-sub":16}],24:[function(a,b,c){"use strict";function d(a,b,c){var d=e.newEl("g",{transform:"scale(1, 1)",class:"marker-holder"});return a.forEach(function(g,h){var i=g.startTime/b,j=e.newEl("g",{class:"mark-holder type-"+g.name.toLowerCase()}),k=e.newEl("g",{class:"line-holder"}),l=e.newEl("g",{class:"line-label-holder",x:i+"%"});g.x=i;var m=e.newTextEl(g.name,c+25);m.setAttribute("x",i+"%"),m.setAttribute("stroke","");var n=e.newEl("line",{x1:i+"%",y1:0,x2:i+"%",y2:c}),o=a[h-1];o&&g.x-o.x<1&&(m.setAttribute("x",o.x+1+"%"),g.x=o.x+1);var p=e.newEl("line",{x1:i+"%",y1:c,x2:g.x+"%",y2:c+23});k.appendChild(n),k.appendChild(p),f.subscribeToOvelayChanges(function(a){var b=a.combinedOverlayHeight,d=(c+b)/c;n.setAttribute("transform","scale(1, "+d+")"),l.setAttribute("transform","translate(0, "+b+")"),p.setAttribute("transform","translate(0, "+b+")")});var q=!1,r=function(a){q||(q=!0,e.addClass(k,"active"),j.parentNode.appendChild(j))},s=function(a){q=!1,e.removeClass(k,"active")};m.addEventListener("mouseenter",r),m.addEventListener("mouseleave",s),l.appendChild(m),j.appendChild(e.newEl("title",{text:g.name+" ("+Math.round(g.startTime)+"ms)"})),j.appendChild(k),j.appendChild(l),d.appendChild(j)}),d}var e=a("../../helpers/svg"),f=a("../details-overlay/overlay-changes-pub-sub");c.createMarks=d},{"../../helpers/svg":5,"../details-overlay/overlay-changes-pub-sub":16}],25:[function(a,b,c){"use strict";function d(a,b,c){var d=a.reduce(function(a,b){return Math.max(a,f.getNodeTextWidth(f.newTextEl(b.name,0),!0))},0);return Math.floor(c+d+35)}function e(a){function b(){return(u+l.getCombinedOverlayHeight()).toString()+"px"}function c(a,b){var c=a.total||1,d=p.rowHeight*b,e=a.start||.001,f=450,g={width:c,height:p.rowHeight,x:e,y:d,cssClass:a.cssClass,label:a.name+" ("+a.start+"ms - "+a.end+"ms | total: "+a.total+"ms)",unit:q,showOverlay:p.showAlignmentHelpers?o.onMouseEnterPartial:void 0,hideOverlay:p.showAlignmentHelpers?o.onMouseLeavePartial:void 0},h=function(c){l.openOverlay(b,e,d+p.rowHeight,f,a,w,B,q)},i=j.createRow(b,g,a,A,p,s,h);B.push(i),y.appendChild(i)}var e,o,p=n.getOptions(),q=a.durationMs/100,r=a.blocks.filter(function(a){return"number"==typeof a.start&&"number"==typeof a.total}).sort(function(a,b){return(a.start||0)-(b.start||0)}),s=0===a.blocks[0].name.indexOf("https://"),t=(r.length+1)*p.rowHeight,u=d(a.marks,r,t),v=f.newSvg("water-fall-chart",{height:u}),w=f.newG("overlays"),x=f.newSvg("scale-and-marks-holder",{x:p.leftColumnWith+"%",width:100-p.leftColumnWith+"%"}),y=f.newG("rows-holder");if(p.showAlignmentHelpers){e=f.newG("hover-overlays");var z=h.createAlignmentLines(t);e.appendChild(z.startline),e.appendChild(z.endline),o=h.makeHoverEvtListeners(z)}x.appendChild(g.createTimeScale(a.durationMs,t)),x.appendChild(i.createMarks(a.marks,q,t)),a.lines.forEach(function(a,b){v.appendChild(g.createBgRect(a,q,t))});var A;A=p.showIndicatorIcons?r.reduce(function(a,b){var c=k.getIndicators(b,s),d=c[c.length-1],e=d?d.x+d.x/Math.max(c.length-1,1):0;return Math.max(a,e)},5):5;var B=[];return m.subscribeToOvelayChanges(function(a){v.style.height=b()}),r.forEach(c),p.showAlignmentHelpers&&x.appendChild(e),v.appendChild(x),v.appendChild(y),v.appendChild(w),v}var f=a("../helpers/svg"),g=a("./sub-components/svg-general-components"),h=a("./sub-components/svg-alignment-helper"),i=a("./sub-components/svg-marks"),j=a("./row/svg-row"),k=a("./row/svg-indicators"),l=a("./details-overlay/svg-details-overlay-manager"),m=a("./details-overlay/overlay-changes-pub-sub"),n=a("../state/global-state");c.createWaterfallSvg=e},{"../helpers/svg":5,"../state/global-state":9,"./details-overlay/overlay-changes-pub-sub":16,"./details-overlay/svg-details-overlay-manager":17,"./row/svg-indicators":19,"./row/svg-row":21,"./sub-components/svg-alignment-helper":22,"./sub-components/svg-general-components":23,"./sub-components/svg-marks":24}]},{},[7])(7)});
/*! github.com/micmro/PerfCascade Version:0.2.8 (05/12/2016) */
!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.perfCascade=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){"use strict";function d(a){for(;a.childNodes.length>0;)a.removeChild(a.childNodes[0])}function e(a,b){Array.prototype.forEach.call(a,b)}function f(a,b){return Array.prototype.filter.call(a,b)}c.removeAllChildren=d,c.forEach=e,c.filter=f},{}],2:[function(a,b,c){"use strict";function d(a,b){return a.response.headers.filter(function(a){return a.name.toLowerCase()===b.toLowerCase()})[0]}function e(a,b){var c=d(a,b);return void 0!==c?c.value:""}function f(a,b,c){return a.response.status>=b&&a.response.status<=c}function g(a){var b=a.rawResource,c=1e3;if(b.response.bodySize<c)return!1;if(l.contains(["html","css","javascript","svg","plain"],a.requestType))return!0;var d=b.response.content.mimeType,e=["application/vnd.ms-fontobject","application/x-font-opentype","application/x-font-truetype","application/x-font-ttf","application/xml","font/eot","font/opentype","font/otf","image/vnd.microsoft.icon"];return!(!l.contains(["text"],d.split("/")[0])&&!l.contains(e,d.split(";")[0]))}function h(a){var b=a.rawResource;return!("get"!==b.request.method.toLocaleLowerCase()||204===b.response.status||!f(b,200,299))&&(void 0===d(b,"Cache-Control")&&void 0===d(b,"Expires")||(e(b,"Cache-Control").indexOf("no-cache")>-1||"no-cache"===e(b,"Pragma")))}function i(a){return void 0===d(a.rawResource,"Content-Encoding")&&h(a)}function j(a){return void 0===d(a.rawResource,"Content-Encoding")&&g(a)}function k(a){return 0===a.name.indexOf("https://")}var l=a("./misc");c.getResponseHeader=d,c.getResponseHeaderValue=e,c.isInStatusCodeRange=f,c.hasCacheIssue=i,c.hasCompressionIssue=j,c.isSecure=k},{"./misc":4}],3:[function(a,b,c){"use strict";function d(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-lock",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#E6E7E8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <path fill="#A452A0" d="M13,8V6.5C13,5,12,3,9,3S5,5,5,6.5V8H4v7h10V8H13z M10,12.5c0,0.3-0.7,0.5-1,0.5s-1-0.2-1-0.5v-2\n C8,10.2,8.7,10,9,10s1,0.2,1,0.5V12.5z M11,8H7V6.5C7,5.7,7.5,5,9,5s2,0.7,2,1.5V8z"/>')}function e(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-no-tls",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#CC6666" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <path fill="#414042" d="M13,8V6.5C13,5,12,3,9,3S5,5,5,6.5V8H4v7h10V8H13z M10,12.5c0,0.3-0.7,0.5-1,0.5s-1-0.2-1-0.5v-2\n C8,10.2,8.7,10,9,10s1,0.2,1,0.5V12.5z M11,8H7V6.5C7,5.7,7.5,5,9,5s2,0.7,2,1.5V8z"/>\n <line fill="#CC6666" stroke="#CC6666" stroke-miterlimit="10" x1="3" y1="15" x2="15" y2="3"/>')}function f(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-redirect",d,'<g>\n <path fill="#F9EF66" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5\n L17,15.5z"/>\n <path fill="none" stroke="#E6E7E8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <polygon fill="#414042" points="9,5 9,10 12,7.5 "/>\n <polyline fill="none" stroke="#414042" stroke-miterlimit="10" points="9,7.5 4.5,7.5 4.5,11.5 13,11.5 "/>\n <path fill="#414042" d="M11,10"/>')}function g(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-4xx",d,'<g>\n <path fill="#F16062" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#E6E7E8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#FFFFFF" d="M5.6,14v-1.7H3.1v-0.8l2.6-4.6h0.6v4.6h0.8v0.8H6.3V14H5.6z M5.6,11.5V8.3l-1.8,3.2H5.6z"/>\n <path fill="#FFFFFF" d="M7.5,14L9,11.3L7.6,8.8h0.9L9.1,10c0.1,0.2,0.2,0.4,0.3,0.6c0.1-0.2,0.2-0.4,0.3-0.6l0.7-1.2h0.8l-1.4,2.4\n l1.5,2.7h-0.9l-0.9-1.6L9.4,12l-1.1,2H7.5z"/>\n <path fill="#FFFFFF" d="M11.5,14l1.5-2.7l-1.4-2.5h0.9l0.6,1.2c0.1,0.2,0.2,0.4,0.3,0.6c0.1-0.2,0.2-0.4,0.3-0.6l0.7-1.2h0.8\n l-1.4,2.4l1.5,2.7h-0.9l-0.9-1.6L13.4,12l-1.1,2H11.5z"/>\n </g>')}function h(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-5xx",d,' <g>\n <path fill="#F16061" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#E6E7E8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#FFFFFF" d="M3.3,12.1L4.1,12c0.1,0.4,0.2,0.8,0.4,1c0.2,0.2,0.4,0.3,0.7,0.3c0.3,0,0.6-0.2,0.9-0.5s0.4-0.7,0.4-1.3\n c0-0.5-0.1-0.9-0.3-1.2S5.5,10,5.2,10c-0.2,0-0.4,0.1-0.6,0.2c-0.2,0.1-0.3,0.3-0.4,0.5l-0.7-0.1L4,6.9h2.8v0.8H4.6L4.3,9.7\n C4.6,9.4,5,9.3,5.3,9.3c0.5,0,0.9,0.2,1.3,0.6c0.3,0.4,0.5,1,0.5,1.7c0,0.6-0.2,1.2-0.5,1.7c-0.4,0.6-0.9,0.9-1.5,0.9\n c-0.5,0-0.9-0.2-1.3-0.5S3.4,12.7,3.3,12.1z"/>\n <path fill="#FFFFFF" d="M7.5,14L9,11.3L7.6,8.8h0.9L9.1,10c0.1,0.2,0.2,0.4,0.3,0.6c0.1-0.2,0.2-0.4,0.3-0.6l0.7-1.2h0.8l-1.4,2.4\n l1.5,2.7h-0.9l-0.9-1.6L9.4,12l-1.1,2H7.5z"/>\n <path fill="#FFFFFF" d="M11.5,14l1.5-2.7l-1.4-2.5h0.9l0.6,1.2c0.1,0.2,0.2,0.4,0.3,0.6c0.1-0.2,0.2-0.4,0.3-0.6l0.7-1.2h0.8\n l-1.4,2.4l1.5,2.7h-0.9l-0.9-1.6L13.4,12l-1.1,2H11.5z"/>\n </g>')}function i(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-no-cache",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#CC6666" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="none" stroke="#414042" stroke-miterlimit="10" d="M5,7v4.5C5,12.3,6.8,13,9,13s4-0.7,4-1.5V7H5z"/>\n <path fill="#FFFFFF" stroke="#414042" stroke-miterlimit="10" d="M9,8c1.7,0,3.2-0.4,3.8-1C12.9,6.8,13,6.7,13,6.5\n C13,5.7,11.2,5,9,5S5,5.7,5,6.5C5,6.7,5.1,6.8,5.2,7C5.8,7.6,7.3,8,9,8z"/>\n </g>\n <line fill="#CC6666" stroke="#CC6666" stroke-miterlimit="10" x1="3" y1="15" x2="15" y2="3"/>')}function j(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-no-gzip",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#CC6666" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <rect x="7.5" y="2" fill="#414042" width="1.5" height="1"/>\n <rect x="9" y="3" fill="#414042" width="1.5" height="1"/>\n <rect x="7.5" y="4" fill="#414042" width="1.5" height="1"/>\n <rect x="9" y="5" fill="#414042" width="1.5" height="1"/>\n <rect x="7.5" y="6" fill="#414042" width="1.5" height="1"/>\n <polygon fill="#414042" points="10,15 8,15 7,14 7,10 8,8 10,8 11,10 11,14 "/>\n <polygon fill="#FFFFFF" points="9,13.5 9,13.5 8,13 8,11.5 10,11.5 10,13 "/>\n <rect x="9" y="7" fill="#414042" width="1.5" height="1"/>\n <line fill="#CC6666" stroke="#CC6666" stroke-miterlimit="10" x1="3" y1="15" x2="15" y2="3"/>')}function k(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-plain",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#B3B4B4" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="4.5" x2="15" y2="4.5"/>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="6.5" x2="13" y2="6.5"/>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="8.5" x2="15" y2="8.5"/>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="10.5" x2="10" y2="10.5"/>\n <line fill="none" stroke="#414042" stroke-miterlimit="10" x1="3" y1="12.5" x2="15" y2="12.5"/>\n </g>')}function l(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-other",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#B3B4B4" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#414042" d="M11.8,7c0,0.4-0.1,0.7-0.2,1c-0.1,0.3-0.3,0.5-0.4,0.7C11,8.8,10.8,9,10.5,9.2C10.3,9.3,10,9.5,9.6,9.6\n v1.2H7.8V9.1C8,9,8.2,8.9,8.5,8.8c0.2-0.1,0.5-0.2,0.6-0.3C9.3,8.3,9.5,8.2,9.6,8c0.1-0.2,0.2-0.4,0.2-0.7c0-0.4-0.1-0.6-0.3-0.8\n S8.9,6.3,8.5,6.3c-0.3,0-0.6,0.1-1,0.2C7.2,6.7,6.9,6.8,6.8,6.9H6.6V5.3c0.2-0.1,0.6-0.2,1-0.3S8.5,4.8,9,4.8\n c0.5,0,0.8,0.1,1.2,0.2c0.3,0.1,0.6,0.3,0.9,0.4c0.2,0.2,0.4,0.4,0.5,0.7C11.8,6.4,11.8,6.6,11.8,7z M9.8,13H7.7v-1.4h2.1V13z"/>\n </g>\n </g>')}function m(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-js",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5\n L17,15.5z"/>\n <path fill="none" stroke="#E0B483" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#414042" d="M7.6,11.8c0,0.3-0.1,0.6-0.2,0.9s-0.3,0.5-0.5,0.7c-0.2,0.2-0.5,0.4-0.8,0.5S5.4,13.9,5,13.9\n c-0.3,0-0.6,0-0.9,0s-0.5-0.1-0.7-0.1v-1.4h0.2c0.1,0.1,0.3,0.1,0.4,0.2c0.2,0,0.4,0.1,0.6,0.1c0.3,0,0.5,0,0.7-0.1\n c0.2-0.1,0.3-0.2,0.4-0.4c0.1-0.2,0.1-0.3,0.1-0.5s0-0.4,0-0.7V8.1H4.2V6.8h3.4V11.8z"/>\n <path fill="#414042" d="M11.1,13.9c-0.5,0-1-0.1-1.4-0.2c-0.4-0.1-0.8-0.2-1.1-0.4v-1.7h0.2c0.4,0.3,0.7,0.5,1.2,0.7\n c0.4,0.2,0.8,0.2,1.2,0.2c0.1,0,0.2,0,0.4,0s0.3-0.1,0.4-0.1c0.1-0.1,0.2-0.1,0.3-0.2c0.1-0.1,0.1-0.2,0.1-0.4\n c0-0.2-0.1-0.3-0.2-0.4s-0.3-0.2-0.5-0.2c-0.2-0.1-0.5-0.1-0.8-0.2c-0.3-0.1-0.5-0.1-0.8-0.2c-0.5-0.2-0.9-0.4-1.2-0.8\n S8.6,9.4,8.6,8.9c0-0.7,0.3-1.2,0.8-1.6c0.6-0.4,1.2-0.6,2.1-0.6c0.4,0,0.8,0,1.2,0.1c0.4,0.1,0.8,0.2,1.1,0.3v1.6h-0.2\n c-0.3-0.2-0.6-0.4-0.9-0.6C12.4,8,12,8,11.6,8c-0.2,0-0.3,0-0.4,0c-0.1,0-0.2,0.1-0.4,0.1c-0.1,0.1-0.2,0.1-0.3,0.2\n s-0.1,0.2-0.1,0.3c0,0.2,0.1,0.3,0.2,0.4c0.1,0.1,0.4,0.2,0.7,0.3c0.2,0.1,0.5,0.1,0.7,0.2s0.4,0.1,0.7,0.2\n c0.5,0.2,0.8,0.4,1.1,0.7c0.2,0.3,0.4,0.7,0.4,1.2c0,0.7-0.3,1.3-0.8,1.7S12,13.9,11.1,13.9z"/>\n </g>\n </g>')}function n(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-image",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#B294C5" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <polygon points="2.6,14 8.2,9.9 12,11.4 15,8.2 15,14 \t"/>\n <circle cx="6.6" cy="5.8" r="1.8"/>\n </g>')}function o(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-html",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5\n L17,15.5z"/>\n <path fill="none" stroke="#82A7D8" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path d="M7.9,6.5l-2.2,6.9H4.6l2.2-6.9H7.9z"/>\n <path d="M14,10.2l-4.7,2v-1l3.3-1.3L9.3,8.4v-1l4.7,2V10.2z"/>\n </g>\n </g>')}function p(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-css",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#A6D08E" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path d="M7.8,13.7h-1c-0.5,0-0.9-0.1-1.2-0.4c-0.3-0.3-0.4-0.6-0.4-1.1v-0.6c0-0.4-0.1-0.8-0.3-0.9s-0.5-0.3-1-0.3H3.6V9.5h0.3\n c0.5,0,0.8-0.1,1-0.3C5.1,9,5.2,8.7,5.2,8.2V7.6c0-0.5,0.1-0.9,0.4-1.1c0.3-0.3,0.7-0.4,1.2-0.4h1V7H7.4C7.3,7,7.1,7,7,7\n C6.9,7,6.8,7.1,6.7,7.1C6.6,7.2,6.5,7.3,6.5,7.4c0,0.1-0.1,0.3-0.1,0.5v0.4c0,0.4-0.1,0.7-0.3,0.9S5.6,9.8,5.2,9.9V10\n c0.4,0.1,0.6,0.3,0.9,0.6s0.3,0.6,0.3,0.9v0.4c0,0.2,0,0.4,0.1,0.5c0,0.1,0.1,0.2,0.2,0.3c0.1,0.1,0.2,0.1,0.3,0.1\n c0.1,0,0.3,0,0.4,0h0.4V13.7z"/>\n <path d="M14.3,10.4h-0.3c-0.5,0-0.8,0.1-1,0.3c-0.2,0.2-0.3,0.5-0.3,0.9v0.6c0,0.5-0.1,0.9-0.4,1.1c-0.3,0.3-0.7,0.4-1.2,0.4h-1\n v-0.9h0.4c0.2,0,0.3,0,0.4,0c0.1,0,0.2-0.1,0.3-0.1c0.1-0.1,0.2-0.2,0.2-0.3c0-0.1,0.1-0.3,0.1-0.5v-0.4c0-0.4,0.1-0.7,0.3-0.9\n s0.5-0.4,0.9-0.6V9.9c-0.4-0.1-0.6-0.3-0.9-0.6s-0.3-0.6-0.3-0.9V7.9c0-0.2,0-0.4-0.1-0.5c0-0.1-0.1-0.2-0.2-0.3\n C11.2,7.1,11.1,7,10.9,7c-0.1,0-0.3,0-0.4,0h-0.4V6.1h1c0.5,0,0.9,0.1,1.2,0.4c0.3,0.3,0.4,0.6,0.4,1.1v0.6c0,0.4,0.1,0.8,0.3,0.9\n c0.2,0.2,0.5,0.3,1,0.3h0.3V10.4z"/>\n </g>')}function q(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-warning",d,'<g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#CC6666" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <path fill="#414042" d="M9,3L3,14h12L9,3z M10,13H8v-1h2V13z M9.5,11h-1L8,10V7l0.5-1h1L10,7v3L9.5,11z"/>')}function r(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-font",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5\n L17,15.5z"/>\n <path fill="none" stroke="#E15D4E" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1h13C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n <g>\n <path fill="#414042" d="M3.8,10l-0.6,0.6C3.1,10.3,3.1,10,3.1,9.8c0-0.6,0.3-1.2,0.8-1.6c0.5-0.3,1.3-0.5,2.4-0.5\n c0.2,0,0.4,0,0.5,0c0.4,0,0.6,0,0.6,0h0.3c-0.2,0.3-0.3,1-0.3,1.9l0,0.2l0,0.4c0,0.5,0.1,1.1,0.2,1.7c0.1,0.2,0.1,0.4,0.2,0.4\n c0,0.1,0.1,0.1,0.3,0.1c0.1,0,0.3,0,0.5-0.1c0,0,0,0.1,0,0.1c0,0.1-0.1,0.1-0.2,0.2l-0.2,0.1l-1,0.4c-0.2-0.7-0.3-1.3-0.4-2.1\n l-0.3,0.2H5.2c-0.2,0.6-0.6,1-1,1.3l0.8,0l-0.4,0.4L3.1,13l0.5-0.5l0.4,0c0.2-0.1,0.3-0.3,0.5-0.5s0.3-0.7,0.6-1.4l0.1-0.3\n c0.2-0.7,0.5-1.1,0.7-1.4s0.5-0.5,0.9-0.7C6.3,8.1,5.8,8.1,5.4,8.1c-1.2,0-1.7,0.4-1.7,1.2C3.7,9.5,3.7,9.7,3.8,10z M6.8,10.9\n c0-0.5-0.1-0.8-0.1-1.1c0-0.1,0-0.3,0-0.4l0-0.5c0-0.3,0-0.5,0.1-0.7C6.4,8.6,6,9.2,5.6,10.2c-0.1,0.3-0.1,0.4-0.2,0.5l-0.1,0.2\n H6.8z"/>\n <path fill="#414042" d="M9.8,10.9c0.3-0.5,0.6-0.9,0.9-1.2s0.6-0.5,0.9-0.5c0.4,0,0.6,0.3,0.6,1c0,0.8-0.2,1.4-0.7,2\n c-0.5,0.6-1.1,0.8-1.8,0.8c-0.1,0-0.2,0-0.2,0l-0.3,0c0,0-0.1,0-0.1,0C9,12.8,9,12.6,9,12.4L9.4,9c0.1-0.8,0.4-1.5,0.9-2.1\n s1.1-0.9,1.7-0.9c0.1,0,0.3,0,0.4,0l-0.6,0.6c-0.1,0-0.3-0.1-0.4-0.1c-0.8,0-1.2,0.6-1.4,1.8L9.8,10.9z M9.6,12.5\n c0.2,0.1,0.5,0.2,0.7,0.2c0.4,0,0.6-0.2,0.9-0.6c0.2-0.4,0.3-1,0.3-1.6c0-0.4-0.1-0.6-0.3-0.6c-0.2,0-0.5,0.2-0.8,0.5\n c-0.4,0.5-0.7,1-0.7,1.7L9.6,12.5z"/>\n <path fill="#414042" d="M15.4,9.4l-0.4,0.5c-0.2-0.1-0.4-0.1-0.6-0.1c-0.3,0-0.6,0.1-0.8,0.4c-0.2,0.3-0.3,0.7-0.3,1.2\n c0,0.4,0.1,0.6,0.2,0.9c0.1,0.2,0.3,0.3,0.6,0.3c0.4,0,0.7-0.3,0.9-0.8c0.1,0.1,0.1,0.1,0.1,0.2c0,0.2-0.2,0.5-0.5,0.7\n c-0.3,0.3-0.6,0.4-0.9,0.4c-0.3,0-0.5-0.1-0.7-0.3c-0.2-0.2-0.3-0.5-0.3-0.8c0-0.7,0.2-1.3,0.7-1.8c0.5-0.6,1-0.8,1.5-0.8\n C15,9.3,15.2,9.3,15.4,9.4z"/>\n </g>\n </g>')}function s(a,b,c,d){return void 0===d&&(d=1),t(a,b,c,"icon-flash",d,'<g>\n <g>\n <path fill="#FFFFFF" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0\n C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n <path fill="none" stroke="#42AAB1" stroke-width="2" stroke-miterlimit="10" d="M17,15.5c0,0.8-0.7,1.5-1.5,1.5h-13\n C1.7,17,1,16.3,1,15.5v-13C1,1.7,1.7,1,2.5,1l13,0C16.3,1,17,1.7,17,2.5L17,15.5z"/>\n </g>\n </g>\n <path fill="#414042" d="M13.1,6.2c-2.1-0.1-2.9,2.3-2.9,2.3h1.7l0,2.1l-2.5,0C8.8,11.9,7.6,15,4,15c0-0.1,0-1.8,0-2.1\n c2.1-0.1,3.2-2.4,3.7-4.1c1.4-4.1,3.5-4.6,5.3-4.8V6.2z"/>')}var t=function(a,b,c,d,e,f){var g=new DOMParser,h=g.parseFromString('<svg x="'+a+'" y="'+b+'" xmlns="http://www.w3.org/2000/svg">\n <g class="icon '+d+'" transform="scale('+e+')">\n '+f+"\n <title>"+c+"</title>\n </g>\n </svg>","image/svg+xml");return h.firstChild};c.lock=d,c.noTls=e,c.err3xx=f,c.err4xx=g,c.err5xx=h,c.noCache=i,c.noGzip=j,c.plain=k,c.other=l,c.javascript=m,c.image=n,c.html=o,c.css=p,c.warning=q,c.font=r,c.flash=s},{}],4:[function(a,b,c){"use strict";function d(a){var b=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),c=a.match(b);return{scheme:c[2],authority:c[4],path:c[5],query:c[7],fragment:c[9]}}function e(a,b){return a.filter(function(a){return a===b}).length>0}function f(a,b){if(a.length<b)return a.replace(/http[s]\:\/\//,"");var c=d(a);if((c.authority+c.path).length<b)return c.authority+c.path;var e=Math.floor(b/2)-3,f=Math.floor(b/2)-5,g=c.path.split("/");return c.authority.length>e?c.authority.substr(0,e)+"..."+g[g.length-1].substr(-f):c.authority+"..."+g[g.length-1].substr(-f)}function g(a,b){return Math.round(a*Math.pow(10,b))/Math.pow(10,b)}function h(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];if(void 0===a||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var d=Object(a),e=1;e<arguments.length;e++){var f=arguments[e];if(void 0!==f&&null!==f)for(var g in f)f.hasOwnProperty(g)&&(d[g]=f[g])}return d}c.parseUrl=d,c.contains=e,c.ressourceUrlFormater=f,c.roundNumber=g,c.assign=h},{}],5:[function(a,b,c){"use strict";function d(a,b,c){var d=document.createElementNS("http://www.w3.org/2000/svg",a);b=b||{};for(var e in b)"text"!==e&&d.setAttributeNS(null,e,b[e]);return d.textContent=b.text||"",c&&d.style&&Object.keys(c).forEach(function(a){d.style[a]=c[a]}),d}function e(a,b,c){return b=b||{},b.class=a,d("svg:svg",b,c)}function f(a,b,c){return b=b||{},b.class=a,d("g",b,c)}function g(a,b,c,e){e=e||{};var f={fill:"#111",y:b.toString(),text:a};return void 0!==c&&(f.x=c),d("text",f,e)}function h(a,b){void 0===b&&(b=!1);var c,d=k();c=b?a:a.cloneNode(!1),d.appendChild(c),c.style.textShadow="0",window.document.body.appendChild(d);var e=c.getBBox().width;return e}function i(a,b){return a.classList?a.classList.add(b):a.setAttribute("class",a.getAttribute("class")+" "+b),a}function j(a,b){return a.classList?a.classList.remove(b):a.setAttribute("class",a.getAttribute("class").replace(new RegExp("(\\s|^)"+b+"(\\s|$)","g"),"$2")),a}c.newEl=d,c.newSvg=e,c.newG=f,c.newTextEl=g;var k=function(){var a,b;return function(){return void 0===a&&(a=d("svg:svg",{className:"water-fall-chart temp",width:"9999px"},{visibility:"hidden",position:"absoulte",top:"0px",left:"0px","z-index":"99999"})),void 0===a.parentElement&&window.document.body.appendChild(a),clearTimeout(b),b=setTimeout(function(){a.parentNode.removeChild(a)},1e3),a}}();c.getNodeTextWidth=h,c.addClass=i,c.removeClass=j},{}],6:[function(a,b,c){"use strict";function d(){var a=document.createElement("ul");return a.className="resource-legend",a.innerHTML='\n <li class="legend-stalled">Stalled/Blocking</li>\n <li class="legend-redirect">Redirect</li>\n <li class="legend-app-cache">App Cache</li>\n <li class="legend-dns-lookup">DNS Lookup</li>\n <li class="legend-tcp">Initial Connection (TCP)</li>\n <li class="legend-tls">TLS/SSL Negotiation</li>\n <li class="legend-ttfb">Time to First Byte</li>\n <li class="legend-download">Content Download</li>',a}c.makeLegend=d},{}],7:[function(a,b,c){"use strict";function d(a,b){var c=m.assign(n,b||{});l.init(c),k.storeDocs(a);var d=g.createWaterfallSvg(h.getSelectedPage());return h.onPageUpdate(function(a,b){var c=d.parentElement,e=g.createWaterfallSvg(b);c.replaceChild(e,d),d=e}),c.pageSelector&&h.initPagingSelectBox(c.pageSelector),c.legendHolder&&c.legendHolder.appendChild(j.makeLegend()),d}function e(a,b){return d(i.default.transformDoc(a),b)}function f(a,b){return d(a,b)}var g=a("./waterfall/svg-chart"),h=a("./paging/paging"),i=a("./transformers/har"),j=a("./legend/legend");c.makeLegend=j.makeLegend;var k=a("./state/waterfall-docs-service"),l=a("./state/global-state"),m=a("./helpers/misc"),n={rowHeight:23,showAlignmentHelpers:!0,showIndicatorIcons:!0,leftColumnWith:25};c.fromHar=e,c.fromPerfCascadeFormat=f;var o=i.default.transformDoc;c.transformHarToPerfCascade=o;var p=a("./paging/paging");c.changePage=p.setSelectedPageIndex},{"./helpers/misc":4,"./legend/legend":6,"./paging/paging":8,"./state/global-state":9,"./state/waterfall-docs-service":10,"./transformers/har":11,"./waterfall/svg-chart":25}],8:[function(a,b,c){"use strict";function d(){return j.getDocs().pages.length}function e(){return j.getDocs().pages[k]}function f(){return k}function g(a){if(k!==a){if(a<0||a>=d())throw new Error("Page does not exist - Invalid pageIndex selected");k=a;var b=j.getDocs().pages[k];l.forEach(function(a){a(k,b)})}}function h(a){if(d()>1)return l.push(a)}function i(a){d()<=1||(j.getDocs().pages.forEach(function(b,c){var d=new Option(b.title,c.toString(),c===k);a.add(d)}),a.style.display="block",a.addEventListener("change",function(a){var b=parseInt(a.target.value,10);g(b)}))}var j=a("../state/waterfall-docs-service"),k=0,l=[];c.getPageCount=d,c.getSelectedPage=e,c.getSelectedPageIndex=f,c.setSelectedPageIndex=g,c.onPageUpdate=h,c.initPagingSelectBox=i},{"../state/waterfall-docs-service":10}],9:[function(a,b,c){"use strict";function d(a){f=a}function e(){return f}var f;c.init=d,c.getOptions=e},{}],10:[function(a,b,c){"use strict";function d(a){f=a}function e(){return f}var f;c.storeDocs=d,c.getDocs=e},{}],11:[function(a,b,c){"use strict";var d=a("../typing/time-block"),e=a("./styling-converters"),f=function(){function a(){}return a.transformDoc=function(a){var b=this,c=void 0!==a.log?a.log:a;console.log("HAR created by %s(%s) %s page(s)",c.creator.name,c.creator.version,c.pages.length);var d={pages:c.pages.map(function(a,d){return b.transformPage(c,d)})};return d},a.transformPage=function(a,b){var c=this;void 0===b&&(b=0);var f=void 0!==a.log?a.log:a,g=b,h=f.pages[g],i=new Date(h.startedDateTime).getTime(),j=h.pageTimings;console.log("%s: %s of %s page(s)",h.title,b+1,f.pages.length);var k=0,l=f.entries.filter(function(a){return a.pageref===h.id}).map(function(a){var b=new Date(a.startedDateTime).getTime()-i;return k<b+a.time&&(k=b+a.time),new d.default(a.request.url,b,parseInt(a._all_end,10)||b+a.time,e.mimeToCssClass(a.response.content.mimeType),c.buildDetailTimingBlocks(b,a),a,e.mimeToRequestType(a.response.content.mimeType))}),m=Object.keys(j).filter(function(a){return void 0!==j[a]&&j[a]>=0}).sort(function(a,b){return j[a]>j[b]?1:-1}).map(function(a){var b=j[a];return{name:a.replace(/^[_]/,"")+" ("+b+"ms)",startTime:b}});return{durationMs:k,blocks:l,marks:m,lines:[],title:h.title}},a.buildDetailTimingBlocks=function(a,b){var c=this,e=b.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(f,g){var h=c.getTimePair(g,b,f,a);if(h.end&&h.start>=h.end)return f;if("connect"===g&&e.ssl&&e.ssl!==-1){var i=parseInt(b._ssl_start,10)||h.start,j=parseInt(b._ssl_end,10)||h.start+e.ssl,k=parseInt(b._ssl_start,10)?h.start:j;return f.concat([new d.default("ssl",i,j,"block-ssl")]).concat([new d.default(g,k,h.end,"block-"+g)])}return f.concat([new d.default(g,h.start,h.end,"block-"+g)])},[])},a.getTimePair=function(a,b,c,d){var e;switch(a){case"wait":e="ttfb";break;case"receive":e="download";break;default:e=a}var f=parseInt(b["_"+e+"_start"],10),g=parseInt(b["_"+e+"_end"],10),h=isNaN(f)?c.length>0?c[c.length-1].end:d:f,i=isNaN(g)?h+b.timings[a]:g;return{start:h,end:i}},a}();Object.defineProperty(c,"__esModule",{value:!0}),c.default=f},{"../typing/time-block":13,"./styling-converters":12}],12:[function(a,b,c){"use strict";function d(a){if(void 0===a)return"other";var b=a.split("/"),c=b[1];switch(void 0!==c&&(c=c.indexOf(";")>-1?c.split(";")[0]:c),b[0]){case"image":return"image";case"font":return"font"}switch(c){case"svg+xml":return"svg";case"xml":case"html":return"html";case"plain":return"plain";case"css":return"css";case"vnd.ms-fontobject":case"font-woff":case"font-woff2":case"x-font-truetype":case"x-font-opentype":case"x-font-woff":return"font";case"javascript":case"x-javascript":case"script":case"json":return"javascript";case"x-shockwave-flash":return"flash"}return"other"}function e(a){return"block-"+d(a)}c.mimeToRequestType=d,c.mimeToCssClass=e},{}],13:[function(a,b,c){"use strict";var d=function(){function a(a,b,c,d,e,f,g){void 0===d&&(d=""),void 0===e&&(e=[]),this.name=a,this.start=b,this.end=c,this.cssClass=d,this.segments=e,this.rawResource=f,this.requestType=g,this.total="number"!=typeof b||"number"!=typeof c?void 0:c-b}return a}();Object.defineProperty(c,"__esModule",{value:!0}),c.default=d},{}],14:[function(a,b,c){"use strict";function d(a,b){var c=b.rawResource,d=function(a){var b=c.request.headers.filter(function(b){return b.name.toLowerCase()===a.toLowerCase()})[0];return b?b.value:""},e=function(a){var b=c.response.headers.filter(function(b){return b.name.toLowerCase()===a.toLowerCase()})[0];return b?b.value:""},j=function(){var a=e("Content-Type");return c._contentType&&c._contentType!==a?a+" | "+c._contentType:a},k=function(a){return c[a]||c["_"+a]||c.request[a]||c.request["_"+a]||""},l=function(a){var b=k(a);return"0"!==b?b:""},m=function(a){var b=parseInt(k(a),10);return isNaN(b)||b<=0?"":f(b)},n=function(a){var b=k(a+"_ms").toString(),c=k(a+"_start"),d=k(a+"_end"),e=[];return b&&"-1"!==b&&e.push(b+" ms"),c&&d&&c<d&&e.push("("+c+" ms - "+d+" ms)"),e.join(" ")};return{general:{"Request Number":"#"+a,Started:new Date(c.startedDateTime).toLocaleString()+" ("+g(b.start)+" after page request started)",Duration:g(c.time),"Error/Status Code":c.response.status+" "+c.response.statusText,"Server IPAddress":c.serverIPAddress,Connection:c.connection,"Browser Priority":k("priority")||k("initialPriority"),"Initiator (Loaded by)":k("initiator"),"Initiator Line":k("initiator_line"),Host:d("Host"),IP:k("ip_addr"),"Client Port":l("client_port"),Expires:k("expires"),"Cache Time":k("cache_time"),"CDN Provider":k("cdn_provider"),ObjectSize:k("objectSize"),"Bytes In (downloaded)":m("bytesIn"),"Bytes Out (uploaded)":m("bytesOut"),"JPEG Scan Count":l("jpeg_scan_count"),"Gzip Total":m("gzip_total"),"Gzip Save":m("gzip_safe"),"Minify Total":m("minify_total"),"Minify Save":m("minify_save"),"Image Total":m("image_total"),"Image Save":m("image_save")},timings:{"Server RTT":n("server_rtt"),Total:n("all"),DNS:n("dns"),Connect:n("connect"),"TLS/SSL":n("ssl"),Load:n("load"),TTFB:n("ttfb"),Download:n("download")},request:{Method:c.request.method,"HTTP Version":c.request.httpVersion,"Bytes Out (uploaded)":m("bytesOut"),"Headers Size":f(c.request.headersSize),"Body Size":f(c.request.bodySize),Comment:c.request.comment,"User-Agent":d("User-Agent"),Host:d("Host"),Connection:d("Connection"),Accept:d("Accept"),"Accept-Encoding":d("Accept-Encoding"),Expect:d("Expect"),Forwarded:d("Forwarded"),"If-Modified-Since":d("If-Modified-Since"),"If-Range":d("If-Range"),"If-Unmodified-Since":d("If-Unmodified-Since"),"Querystring parameters count":c.request.queryString.length,"Cookies count":c.request.cookies.length},response:{Status:c.response.status+" "+c.response.statusText,"HTTP Version":c.response.httpVersion,"Bytes In (downloaded)":m("bytesIn"),"Header Size":f(c.response.headersSize),"Body Size":f(c.response.bodySize),"Content-Type":j(),"Cache-Control":e("Cache-Control"),"Content-Encoding":e("Content-Encoding"),Expires:h(e("Expires")),"Last-Modified":h(e("Last-Modified")),Pragma:e("Pragma"),"Content-Length":i(e("Content-Length"),f),"Content Size":e("Content-Length")!==c.response.content.size.toString()?f(c.response.content.size):"","Content Compression":f(c.response.content.compression),Connection:e("Connection"),ETag:e("ETag"),"Accept-Patch":e("Accept-Patch"),Age:e("Age"),Allow:e("Allow"),"Content-Disposition":e("Content-Disposition"),Location:e("Location"),"Strict-Transport-Security":e("Strict-Transport-Security"),"Trailer (for chunked transfer coding)":e("Trailer"),"Transfer-Encoding":e("Transfer-Encoding"),Upgrade:e("Upgrade"),Vary:e("Vary"),"Timing-Allow-Origin":e("Timing-Allow-Origin"),"Redirect URL":c.response.redirectURL,Comment:c.response.comment}}}var e=function(a,b){if(!("number"!=typeof a||a<=0))return b(a)},f=function(a){return e(a,function(a){return a+" byte (~"+Math.round(a/1024*10)/10+"kb)"})},g=function(a){return e(a,function(a){return a+" ms"})},h=function(a){if(!a)return"";var b=new Date(a);return a+" </br>(local time: "+b.toLocaleString()+")"},i=function(a,b){var c=parseInt(a,10);return e(c,b)};c.getKeys=d},{}],15:[function(a,b,c){"use strict";function d(a,b){void 0===b&&(b=!1);var c=function(a){if(!b)return"";var c=a.toLowerCase().replace(/[^a-z-]/g,"");return'class="'+(c||"no-colour")+'"'};return Object.keys(a).filter(function(b){return void 0!==a[b]&&a[b]!==-1&&0!==a[b]&&""!==a[b]}).map(function(b){return"\n <dt "+c(b)+">"+b+"</dt>\n <dd>"+a[b]+"</dd>\n "}).join("")}function e(a,b){if(void 0===b&&(b=!0),""===a.trim())return"";var c=b?"<dl>"+a+"</dl>":a;
return'<div class="tab">\n '+c+"\n </div>"}function f(a,b){if("image"!==b.requestType)return"";var c='<img class="preview" style="max-height:'+(a-100)+'px" data-src="'+b.rawResource.request.url+'" />';return e(c,!1)}function g(a,b){return b?'<li><button class="tab-button">'+a+"</button></li>":""}function h(a,b,c){var h=document.createElement("html"),j=document.createElement("body");j.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),h.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/");var k=i.getKeys(a,b),l=e(d(k.general)),m=e(d(k.timings,!0)),n=d(k.request),o=d(b.rawResource.request.headers.reduce(function(a,b){return a[b.name]=b.value,a},{})),p=d(k.response),q=d(b.rawResource.response.headers.reduce(function(a,b){return a[b.name]=b.value,a},{})),r=f(c,b);return j.innerHTML='\n <div class="wrapper">\n <header class="type-'+b.requestType+'">\n <h3><strong>#'+a+"</strong> "+b.name+'</h3>\n <nav class="tab-nav">\n <ul>\n '+g("General",l)+'\n <li><button class="tab-button">Request</button></li>\n <li><button class="tab-button">Response</button></li>\n '+g("Timings",m)+'\n <li><button class="tab-button">Raw Data</button></li>\n '+g("Preview",r)+"\n </ul>\n </nav>\n </header>\n "+l+'\n <div class="tab">\n <dl>\n '+n+"\n </dl>\n <h2>All Request Headers</h2>\n <dl>\n "+o+'\n </dl>\n </div>\n <div class="tab">\n <dl>\n '+p+"\n </dl>\n <h2>All Response Headers</h2>\n <dl>\n "+q+"\n </dl>\n </div>\n "+m+'\n <div class="tab">\n <code>\n <pre>'+JSON.stringify(b.rawResource,null,2)+"</pre>\n </code>\n </div>\n "+r+"\n </div>\n ",h.appendChild(j),h}var i=a("./extract-details-keys");c.createDetailsBody=h},{"./extract-details-keys":14}],16:[function(a,b,c){"use strict";function d(a){f.push(a)}function e(a){f.forEach(function(b){return b(a)})}c.eventTypes={OPEN:"open",CLOSE:"closed"};var f=[];c.subscribeToOvelayChanges=d,c.publishToOvelayChanges=e},{}],17:[function(a,b,c){"use strict";function d(){return l.reduce(function(a,b){return a+b.height},0)}function e(a){return l.reduce(function(b,c){return c.index<a?b+c.height:b},0)}function f(a,b,c,e,f,g,j){l.splice(l.reduce(function(b,c,d){return c.index===a?d:b},-1),1),i(e,f,c,j),k.publishToOvelayChanges({type:k.eventTypes.CLOSE,openOverlays:l,combinedOverlayHeight:d()}),h(g)}function g(a,b,c,e,f,g,j,m){var n=this;l.filter(function(b){return b.index===a}).length>0||(l.push({index:a,defaultY:c,block:f,onClose:function(){n.closeOvelay(a,null,g,b,e,j,m)}}),i(b,e,g,m),k.publishToOvelayChanges({type:k.eventTypes.OPEN,openOverlays:l,combinedOverlayHeight:d()}),h(j))}function h(a){a.forEach(function(a,b){var c=e(b);a.style.transform="translate(0, "+c+"px)"})}function i(a,b,c,d){for(;c.firstChild;)c.removeChild(c.firstChild);var e=0;l.sort(function(a,b){return a.index>b.index?1:-1}).forEach(function(f){var g=f.defaultY+e,h=j.createRowInfoOverlay(f.index,a,g,b,f.block,f.onClose,d),i=h.querySelector("img.preview");i&&!i.src&&i.setAttribute("src",i.attributes.getNamedItem("data-src").value),c.appendChild(h);var k=h.getBoundingClientRect().height;return e+=k,f.actualY=g,f.height=k,f})}var j=a("./svg-details-overlay"),k=a("./overlay-changes-pub-sub"),l=[];c.getCombinedOverlayHeight=d,c.getOverlayOffset=e,c.closeOvelay=f,c.openOverlay=g},{"./overlay-changes-pub-sub":16,"./svg-details-overlay":18}],18:[function(a,b,c){"use strict";function d(a){var b=g.newEl("a",{class:"info-overlay-close-btn"});return b.appendChild(g.newEl("rect",{width:23,height:23,x:"100%",y:a})),b.appendChild(g.newEl("text",{width:23,height:23,x:"100%",y:a,dx:7,dy:16,fill:"#111",text:"X",textAnchor:"middle"})),b.appendChild(g.newEl("title",{text:"Close Overlay"})),b}function e(a,b){var c=g.newG("info-overlay-holder",{width:"100%"}),d=g.newEl("rect",{width:"100%",height:b,x:"0",y:a,rx:2,ry:2,class:"info-overlay"});return c.appendChild(d),c}function f(a,b,c,f,j,k,l){var m=parseInt(j.rawResource._index+1,10)||a+1,n=g.newG("outer-info-overlay-holder",{width:"100%"}),o=e(c,f),p=g.newEl("foreignObject",{width:"100%",height:f,x:"0",y:c,dy:"5",dx:"5"}),q=d(c);q.addEventListener("click",function(b){return k(a,o)});var r=i.createDetailsBody(m,j,f),s=r.getElementsByClassName("tab-button"),t=r.getElementsByClassName("tab"),u=function(a){h.forEach(t,function(b,c){b.style.display=a===c?"block":"none",s.item(c).classList.toggle("active",a===c)})};return h.forEach(s,function(a,b){a.addEventListener("click",function(){u(b)})}),u(0),p.appendChild(r),o.appendChild(p),o.appendChild(q),n.appendChild(o),n}var g=a("../../helpers/svg"),h=a("../../helpers/dom"),i=a("./html-details-body");c.createRowInfoOverlay=f},{"../../helpers/dom":1,"../../helpers/svg":5,"./html-details-body":15}],19:[function(a,b,c){"use strict";function d(a,b){var c=20,d=a.rawResource,f=[],g=3,h=function(a,b){f.push({type:a,x:g,title:b}),g+=c};if(h(a.requestType,a.requestType),d.response.redirectURL){var i=encodeURI(d.response.redirectURL.split("?")[0]||"");h("err3xx",d.response.status+" response status: Redirect to "+i+"...")}return!b&&e.isSecure(a)?h("lock","Secure Connection"):b&&!e.isSecure(a)&&h("noTls","Insecure Connection"),e.hasCacheIssue(a)&&h("noCache","Response not cached"),e.hasCompressionIssue(a)&&h("noGzip","no gzip"),e.isInStatusCodeRange(d,400,499)&&h("err4xx",d.response.status+" response status: "+d.response.statusText),e.isInStatusCodeRange(d,500,599)&&h("err5xx",d.response.status+" response status: "+d.response.statusText),!d.response.content.mimeType&&e.isInStatusCodeRange(d,200,299)&&h("warning","No MIME Type defined"),f}var e=a("../../helpers/heuristics");c.getIndicators=d},{"../../helpers/heuristics":2}],20:[function(a,b,c){"use strict";function d(a,b){var c=a.height-1,d=o.newEl("rect",{width:p.roundNumber(a.width/a.unit,2)+"%",height:c,x:p.roundNumber(a.x/a.unit,2)+"%",y:a.y,class:b});return a.label&&d.appendChild(o.newEl("title",{text:a.label})),a.showOverlay&&a.hideOverlay&&(d.addEventListener("mouseenter",a.showOverlay(a)),d.addEventListener("mouseleave",a.hideOverlay(a))),d}function e(a,b){return{width:a.total,height:b.height-6,x:a.start||.001,y:b.y,cssClass:a.cssClass,label:a.name+" ("+Math.round(a.start)+"ms - "+Math.round(a.end)+"ms | total: "+Math.round(a.total)+"ms)",unit:b.unit,showOverlay:b.showOverlay,hideOverlay:b.hideOverlay}}function f(a,b,c){var d=500,e=5/d*100,f=a.y+a.height/1.5,g=(a.x+a.width)/a.unit+e,h=o.newTextEl(b+"ms",f,p.roundNumber(g,2)+"%"),i=8*(b+"ms").length;return g+i/d*100>100&&(g=c/a.unit-e,h=o.newTextEl(b+"ms",f,p.roundNumber(g,2)+"%",{textAnchor:"end"})),h}function g(a,b,c){var g=d(a,"time-block "+(a.cssClass||"block-other")),h=o.newEl("g",{class:"rect-holder"}),i=a.x;return h.appendChild(g),b&&b.length>0&&(b.forEach(function(b){if(b.total>0&&"number"==typeof b.start){var c=e(b,a),f=d(c,"segment "+c.cssClass);i=Math.min(i,c.x),h.appendChild(f)}}),h.appendChild(f(a,c,i))),h}function h(a,b,c,d,e){var f=j(a,b,c,d);return f.style.clipPath="url(#titleClipPath)",f}function i(a,b,c,d){var e=j(a,b,c,d),f=o.newG("full-lable");return f.appendChild(o.newEl("rect",{class:"label-full-bg",x:a-3,y:b+3,width:o.getNodeTextWidth(e),height:d-4,rx:5,ry:5})),f.appendChild(e),f}function j(a,b,c,d){var e=p.ressourceUrlFormater(c,125),f=o.newTextEl(e,b+Math.round(d/2)+5);return f.appendChild(o.newEl("title",{text:c})),f.setAttribute("x",a.toString()),f.style.opacity=c.match(/js.map$/)?"0.5":"1",f}function k(a,b,c){var d=c.getElementsByTagName("rect")[0],e=c.getElementsByTagName("text")[0];c.style.display="none",c.style.visibility="hidden",a.appendChild(b),a.appendChild(c),a.addEventListener("mouseenter",function(){c.style.display="block",b.style.display="none",c.style.visibility="visible",d.style.width=(e.clientWidth+10).toString()}),a.addEventListener("mouseleave",function(){b.style.display="block",c.style.display="none",c.style.visibility="hidden"})}function l(a,b,c){return o.newEl("rect",{width:"100%",height:b,x:0,y:a,class:c?"even":"odd"})}function m(a,b,c,d){var e=o.newEl("g",{class:"row row-fixed"});return e.appendChild(o.newEl("rect",{width:"100%",height:b,x:"0",y:a,opacity:"0"})),e.addEventListener("click",c),e}function n(a,b,c){var d=o.newEl("g",{class:"row row-flex"});return d.appendChild(o.newEl("rect",{width:"100%",height:b,x:"0",y:a,opacity:"0"})),d.addEventListener("click",c),d}var o=a("../../helpers/svg"),p=a("../../helpers/misc");c.createRect=g,c.createRequestLabelClipped=h,c.createRequestLabelFull=i,c.appendRequestLabels=k,c.createBgStripe=l,c.createNameRowBg=m,c.createRowBg=n},{"../../helpers/misc":4,"../../helpers/svg":5}],21:[function(a,b,c){"use strict";function d(a,b,c,d,l,m,n){var o=b.y,p=b.height,q=l.leftColumnWith,r=["row-item"];h.isInStatusCodeRange(c.rawResource,500,599)&&r.push("status5xx"),h.isInStatusCodeRange(c.rawResource,400,499)?r.push("status4xx"):304!==c.rawResource.response.status&&h.isInStatusCodeRange(c.rawResource,300,399)&&r.push("status3xx");var s=e.newG(r.join(" ")),t=e.newSvg("left-fixed-holder",{x:"0",width:q+"%"}),u=e.newSvg("flex-scale-waterfall",{x:q+"%",width:100-q+"%"}),v=a+1+". ",w=i.createRect(b,c.segments,c.total),x=i.createRequestLabelClipped(d,o,v+g.ressourceUrlFormater(c.name,40),p,"clipPath"),y=i.createRequestLabelFull(d,o,v+c.name,p),z=i.createNameRowBg(o,p,n,q),A=i.createRowBg(o,p,n),B=i.createBgStripe(o,p,a%2===0);return A.appendChild(w),l.showIndicatorIcons&&j.getIndicators(c,m).forEach(function(a){z.appendChild(f[a.type](a.x,o+3,a.title))}),i.appendRequestLabels(z,x,y),u.appendChild(A),t.appendChild(k.cloneNode(!0)),t.appendChild(z),s.appendChild(B),s.appendChild(u),s.appendChild(t),s}var e=a("../../helpers/svg"),f=a("../../helpers/icons"),g=a("../../helpers/misc"),h=a("../../helpers/heuristics"),i=a("./svg-row-subcomponents"),j=a("./svg-indicators"),k=e.newEl("clipPath",{id:"titleClipPath"});k.appendChild(e.newEl("rect",{width:"100%",height:"100%"})),c.createRow=d},{"../../helpers/heuristics":2,"../../helpers/icons":3,"../../helpers/misc":4,"../../helpers/svg":5,"./svg-indicators":19,"./svg-row-subcomponents":20}],22:[function(a,b,c){"use strict";function d(a){return{endline:f.newEl("line",{x1:"0",y1:"0",x2:"0",y2:a,class:"line-end"}),startline:f.newEl("line",{x1:"0",y1:"0",x2:"0",y2:a,class:"line-start"})}}function e(a){return{onMouseEnterPartial:function(){return function(b){var c=b.target;f.addClass(c,"active");var d=c.x.baseVal.valueInSpecifiedUnits+c.width.baseVal.valueInSpecifiedUnits+"%",e=c.x.baseVal.valueInSpecifiedUnits+"%";a.endline.x1.baseVal.valueAsString=d,a.endline.x2.baseVal.valueAsString=d,a.startline.x1.baseVal.valueAsString=e,a.startline.x2.baseVal.valueAsString=e,f.addClass(a.endline,"active"),f.addClass(a.startline,"active")}},onMouseLeavePartial:function(){return function(b){var c=b.target;f.removeClass(c,"active"),f.removeClass(a.endline,"active"),f.removeClass(a.startline,"active")}}}}var f=a("../../helpers/svg");c.createAlignmentLines=d,c.makeHoverEvtListeners=e},{"../../helpers/svg":5}],23:[function(a,b,c){"use strict";function d(a,b,c){void 0===c&&(c=200);for(var d=f.newEl("g",{class:"time-scale full-width"}),e=1e3/c,g=a/1e3,i=a/c,j=0;j<=i;j++){var k=j%e===0,l=j/e;h(d,b,g,l,k)}return d}function e(a,b,c){var d=f.newEl("rect",{width:(a.total||1)/b+"%",height:c,x:(a.start||.001)/b+"%",y:0,class:a.cssClass||"block-other"});return d.appendChild(f.newEl("title",{text:a.name})),d}var f=a("../../helpers/svg"),g=a("../details-overlay/overlay-changes-pub-sub"),h=function(a,b,c,d,e){void 0===e&&(e=!1);var h,i=100/c,j="sub-second-line";e&&(j="second-line",h=f.newTextEl(d+"s",b),d>c-.2?(h.setAttribute("x",i*d-.5+"%"),h.setAttribute("text-anchor","end")):h.setAttribute("x",i*d+.5+"%"));var k=f.newEl("line",{class:j,x1:i*d+"%",y1:"0",x2:i*d+"%",y2:b});g.subscribeToOvelayChanges(function(a){var c=a.combinedOverlayHeight,d=(b+c)/b;k.setAttribute("transform","scale(1, "+d+")"),e&&h.setAttribute("transform","translate(0, "+c+")")}),a.appendChild(k),e&&a.appendChild(h)};c.createTimeScale=d,c.createBgRect=e},{"../../helpers/svg":5,"../details-overlay/overlay-changes-pub-sub":16}],24:[function(a,b,c){"use strict";function d(a,b,c){var d=e.newEl("g",{transform:"scale(1, 1)",class:"marker-holder"});return a.forEach(function(g,h){var i=g.startTime/b,j=e.newEl("g",{class:"mark-holder type-"+g.name.toLowerCase()}),k=e.newEl("g",{class:"line-holder"}),l=e.newEl("g",{class:"line-label-holder",x:i+"%"});g.x=i;var m=e.newTextEl(g.name,c+25);m.setAttribute("x",i+"%"),m.setAttribute("stroke","");var n=e.newEl("line",{x1:i+"%",y1:0,x2:i+"%",y2:c}),o=a[h-1];o&&g.x-o.x<1&&(m.setAttribute("x",o.x+1+"%"),g.x=o.x+1);var p=e.newEl("line",{x1:i+"%",y1:c,x2:g.x+"%",y2:c+23});k.appendChild(n),k.appendChild(p),f.subscribeToOvelayChanges(function(a){var b=a.combinedOverlayHeight,d=(c+b)/c;n.setAttribute("transform","scale(1, "+d+")"),l.setAttribute("transform","translate(0, "+b+")"),p.setAttribute("transform","translate(0, "+b+")")});var q=!1,r=function(a){q||(q=!0,e.addClass(k,"active"),j.parentNode.appendChild(j))},s=function(a){q=!1,e.removeClass(k,"active")};m.addEventListener("mouseenter",r),m.addEventListener("mouseleave",s),l.appendChild(m),j.appendChild(e.newEl("title",{text:g.name+" ("+Math.round(g.startTime)+"ms)"})),j.appendChild(k),j.appendChild(l),d.appendChild(j)}),d}var e=a("../../helpers/svg"),f=a("../details-overlay/overlay-changes-pub-sub");c.createMarks=d},{"../../helpers/svg":5,"../details-overlay/overlay-changes-pub-sub":16}],25:[function(a,b,c){"use strict";function d(a,b,c){var d=a.reduce(function(a,b){return Math.max(a,f.getNodeTextWidth(f.newTextEl(b.name,0),!0))},0);return Math.floor(c+d+35)}function e(a){function b(){return(u+l.getCombinedOverlayHeight()).toString()+"px"}function c(a,b){var c=a.total||1,d=p.rowHeight*b,e=a.start||.001,f=450,g={width:c,height:p.rowHeight,x:e,y:d,cssClass:a.cssClass,label:a.name+" ("+a.start+"ms - "+a.end+"ms | total: "+a.total+"ms)",unit:q,showOverlay:p.showAlignmentHelpers?o.onMouseEnterPartial:void 0,hideOverlay:p.showAlignmentHelpers?o.onMouseLeavePartial:void 0},h=function(c){l.openOverlay(b,e,d+p.rowHeight,f,a,w,B,q)},i=j.createRow(b,g,a,A,p,s,h);B.push(i),y.appendChild(i)}var e,o,p=n.getOptions(),q=a.durationMs/100,r=a.blocks.filter(function(a){return"number"==typeof a.start&&"number"==typeof a.total}).sort(function(a,b){return(a.start||0)-(b.start||0)}),s=0===a.blocks[0].name.indexOf("https://"),t=(r.length+1)*p.rowHeight,u=d(a.marks,r,t),v=f.newSvg("water-fall-chart",{height:u}),w=f.newG("overlays"),x=f.newSvg("scale-and-marks-holder",{x:p.leftColumnWith+"%",width:100-p.leftColumnWith+"%"}),y=f.newG("rows-holder");if(p.showAlignmentHelpers){e=f.newG("hover-overlays");var z=h.createAlignmentLines(t);e.appendChild(z.startline),e.appendChild(z.endline),o=h.makeHoverEvtListeners(z)}x.appendChild(g.createTimeScale(a.durationMs,t)),x.appendChild(i.createMarks(a.marks,q,t)),a.lines.forEach(function(a,b){v.appendChild(g.createBgRect(a,q,t))});var A;A=p.showIndicatorIcons?r.reduce(function(a,b){var c=k.getIndicators(b,s),d=c[c.length-1],e=d?d.x+d.x/Math.max(c.length-1,1):0;return Math.max(a,e)},5):5;var B=[];return m.subscribeToOvelayChanges(function(a){v.style.height=b()}),r.forEach(c),p.showAlignmentHelpers&&x.appendChild(e),v.appendChild(x),v.appendChild(y),v.appendChild(w),v}var f=a("../helpers/svg"),g=a("./sub-components/svg-general-components"),h=a("./sub-components/svg-alignment-helper"),i=a("./sub-components/svg-marks"),j=a("./row/svg-row"),k=a("./row/svg-indicators"),l=a("./details-overlay/svg-details-overlay-manager"),m=a("./details-overlay/overlay-changes-pub-sub"),n=a("../state/global-state");c.createWaterfallSvg=e},{"../helpers/svg":5,"../state/global-state":9,"./details-overlay/overlay-changes-pub-sub":16,"./details-overlay/svg-details-overlay-manager":17,"./row/svg-indicators":19,"./row/svg-row":21,"./sub-components/svg-alignment-helper":22,"./sub-components/svg-general-components":23,"./sub-components/svg-marks":24}]},{},[7])(7)});

@@ -8,3 +8,3 @@ var ifValueDefined = function (value, fn) {

var formatBytes = function (size) { return ifValueDefined(size, function (s) { return (s + " byte (~" + Math.round(s / 1024 * 10) / 10 + "kb)"); }); };
var formatTime = function (size) { return ifValueDefined(size, function (s) { return (s + "ms"); }); };
var formatTime = function (size) { return ifValueDefined(size, function (s) { return (s + " ms"); }); };
var formatDate = function (date) {

@@ -61,8 +61,8 @@ if (!date) {

var resp = [];
if (ms && ms !== "-1") {
resp.push(ms + " ms");
}
if (start && end && start < end) {
resp.push(start + "ms - " + end + "ms");
resp.push("(" + start + " ms - " + end + " ms)");
}
if (ms && ms !== "-1") {
resp.push("(" + ms + "ms)");
}
return resp.join(" ");

@@ -73,3 +73,3 @@ };

"Request Number": "#" + requestID,
"Started": new Date(entry.startedDateTime).toLocaleString() + " (" + formatTime(block.start) + " after page reqest started)",
"Started": new Date(entry.startedDateTime).toLocaleString() + " (" + formatTime(block.start) + " after page request started)",
"Duration": formatTime(entry.time),

@@ -101,3 +101,3 @@ "Error/Status Code": entry.response.status + " " + entry.response.statusText,

"Server RTT": getExpTimeRange("server_rtt"),
"all (combined)": getExpTimeRange("all"),
"Total": getExpTimeRange("all"),
"DNS": getExpTimeRange("dns"),

@@ -104,0 +104,0 @@ "Connect": getExpTimeRange("connect"),

@@ -47,3 +47,3 @@ import * as svg from "../../helpers/svg";

export function createRowInfoOverlay(indexBackup, barX, y, accordeonHeight, block, onClose, unit) {
var requestID = parseInt(block.rawResource._index, 10) || indexBackup;
var requestID = parseInt(block.rawResource._index + 1, 10) || indexBackup + 1;
var wrapper = svg.newG("outer-info-overlay-holder", {

@@ -50,0 +50,0 @@ "width": "100%"

{
"name": "perf-cascade",
"version": "0.2.8",
"version": "0.2.9",
"description": "Har file visualizer",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -57,2 +57,10 @@ # PerfCascade

### `pageSelector`
`HTMLSelectElement` default: `undefined`
DOM `<select>` element to use to select a run if the HAR contains multiple runs.
### `legendHolder`
`HTMLElement` (DOM element) default: `undefined` (not shown)
If set a legend explaining the waterfall colours is rendered in the `legendHolder` DOM element.
## *.zhar - zipped HAR files

@@ -59,0 +67,0 @@ By loading `/perf-cascade-file-reader.min.js` as in [this example](https://github.com/micmro/PerfCascade/blob/master/src/index.html#L73-L80) you can use `perfCascadeFileReader.readFile` to read a gzip and convert it to a JSON HAR object.

@@ -37,3 +37,3 @@ import TimeBlock from "../../typing/time-block";

"Server RTT": string;
"all (combined)": string;
"Total": string;
"DNS": string;

@@ -40,0 +40,0 @@ "Connect": string;

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

Sorry, the diff of this file is not supported yet

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc