perf-cascade
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -1,4 +0,4 @@ | ||
/*! github.com/micmro/PerfCascade Version:2.0.0 (06/05/2017) */ | ||
/*! github.com/micmro/PerfCascade Version:2.0.1 (19/05/2017) */ | ||
!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)<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){n(b,{sn:c,codecClass:"Inflater",crcType:m},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){if(a.zip.useWebWorkers){n(b,{sn:c,options:{level:f},codecClass:"Deflater",crcType:"input"},d,e,0,d.size,h,g,i,j)}else o(new a.zip.Deflater,d,e,0,d.size,"input",h,g,i,j)}function r(b,d,e,f,g,h,i,j,k,l,m){if(a.zip.useWebWorkers&&i){n(b,{sn:d,codecClass:"NOOP",crcType:"input"},e,f,g,h,k,j,l,m)}else o(new c,e,f,g,h,"input",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=e+65536;c(e,function(){c(Math.min(f,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);if(1347093252!=n.view.getUint32(0))return void d(F);w(m,n,4,!1,d),i=m.offset+30+m.filenameLength+m.extraFieldLength,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;if(h=g.getUint32(16,!0),i=g.getUint16(8,!0),h<0||h>=b.size)return void d(F);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),void 0!==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(){if(o=o||{},a=a.trim(),o.directory&&"/"!=a.charAt(a.length-1)&&(a+="/"),i.hasOwnProperty(a))return void d(N);v=z(y(a)),j.push(a),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;if(b.error)return h.terminate(),void d(b.error);"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,m,o,q,r,s){var t,u,v,w,x,z,A,B,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 m[0]=-1,o[0]=0,h;for(B=o[0],z=1;z<=y&&0===e[z];z++);for(A=z,B<z&&(B=z),x=y;0!==x&&0===e[x];x--);for(v=x,B>x&&(B=x),o[0]=B,H=1<<z;z<x;z++,H<<=1)if((H-=e[z])<0)return l;if((H-=e[x])<0)return l;for(e[x]+=H,i[1]=z=0,D=1,G=2;0!=--x;)i[G]=z+=e[D],G++,D++;x=0,D=0;do{0!==(z=a[b+D])&&(s[i[z]++]=x),D++}while(++x<c);for(c=i[v],i[0]=x=0,D=0,w=-1,F=-B,g[0]=0,E=0,I=0;A<=v;A++)for(t=e[A];0!=t--;){for(;A>F+B;){if(w++,F+=B,I=v-F,I=I>B?B:I,(u=1<<(z=A-F))>t+1&&(u-=t+1,G=A,z<I))for(;++z<I&&!((u<<=1)<=e[++G]);)u-=e[G];if(I=1<<z,r[0]+I>p)return l;g[w]=E=r[0],r[0]+=I,0!==w?(i[w]=x,f[0]=z,f[1]=B,z=x>>>F-B,f[2]=E-g[w-1]-z,q.set(f,3*(g[w-1]+z))):m[0]=E}for(f[1]=A-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<<A-F,z=x>>>F;z<I;z+=u)q.set(f,3*(E+z));for(z=1<<A-1;0!=(x&z);z>>>=1)x^=z;for(x^=z,C=(1<<F)-1;(x&C)!=i[w];)w--,F-=B,C=(1<<F)-1}return 0!==H&&1!=v?n:h}function b(a){var b;for(c||(c=[],d=[],e=new Int32Array(y+1),f=[],g=new Int32Array(y),i=new Int32Array(y+1)),d.length<a&&(d=[]),b=0;b<a;b++)d[b]=0;for(b=0;b<y+1;b++)e[b]=0;for(b=0;b<3;b++)f[b]=0;g.set(e.subarray(0,y),0),i.set(e.subarray(0,y+1),0)}var c,d,e,f,g,i,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==l?i.msg="oversubscribed dynamic bit lengths tree":j!=n&&0!==f[0]||(i.msg="incomplete dynamic bit lengths tree",j=l),j},j.inflate_trees_dynamic=function(e,f,g,i,j,k,o,p,q){var r;return b(288),c[0]=0,(r=a(g,0,e,257,u,v,k,i,p,c,d))!=h||0===i[0]?(r==l?q.msg="oversubscribed literal/length tree":r!=m&&(q.msg="incomplete literal/length tree",r=l),r):(b(288),r=a(g,e,f,0,w,x,o,j,p,c,d),r!=h||0===j[0]&&e>257?(r==l?q.msg="oversubscribed distance tree":r==n?(q.msg="incomplete distance tree",r=l):r!=m&&(q.msg="empty distance tree with lengths",r=l),r):h)}}function c(){function a(a,b,c,d,e,f,g,j){var k,m,n,p,q,r,s,t,u,v,w,x,y,z,A,B;s=j.next_in_index,t=j.avail_in,q=g.bitb,r=g.bitk,u=g.write,v=u<g.read?g.read-u-1:g.end-u,w=o[a],x=o[b];do{for(;r<20;)t--,q|=(255&j.read_byte(s++))<<r,r+=8;if(k=q&w,m=c,n=d,B=3*(n+k),0!==(p=m[B]))for(;;){if(q>>=m[B+1],r-=m[B+1],0!=(16&p)){for(p&=15,y=m[B+2]+(q&o[p]),q>>=p,r-=p;r<15;)t--,q|=(255&j.read_byte(s++))<<r,r+=8;for(k=q&x,m=e,n=f,B=3*(n+k),p=m[B];;){if(q>>=m[B+1],r-=m[B+1],0!=(16&p)){for(p&=15;r<p;)t--,q|=(255&j.read_byte(s++))<<r,r+=8;if(z=m[B+2]+(q&o[p]),q>>=p,r-=p,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(p=g.end-A,y>p){if(y-=p,u-A>0&&p>u-A)do{g.window[u++]=g.window[A++]}while(0!=--p);else g.window.set(g.window.subarray(A,A+p),u),u+=p,A+=p,p=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&p))return j.msg="invalid distance code",y=j.avail_in-t,y=r>>3<y?r>>3:y,t+=y,s-=y,r-=y<<3,g.bitb=q,g.bitk=r,j.avail_in=t,j.total_in+=s-j.next_in_index,j.next_in_index=s,g.write=u,l;k+=m[B+2],k+=q&o[p],B=3*(n+k),p=m[B]}break}if(0!=(64&p))return 0!=(32&p)?(y=j.avail_in-t,y=r>>3<y?r>>3:y,t+=y,s-=y,r-=y<<3,g.bitb=q,g.bitk=r,j.avail_in=t,j.total_in+=s-j.next_in_index,j.next_in_index=s,g.write=u,i):(j.msg="invalid literal/length code",y=j.avail_in-t,y=r>>3<y?r>>3:y,t+=y,s-=y,r-=y<<3,g.bitb=q,g.bitk=r,j.avail_in=t,j.total_in+=s-j.next_in_index,j.next_in_index=s,g.write=u,l);if(k+=m[B+2],k+=q&o[p],B=3*(n+k),0===(p=m[B])){q>>=m[B+1],r-=m[B+1],g.window[u++]=m[B+2],v--;break}}else q>>=m[B+1],r-=m[B+1],g.window[u++]=m[B+2],v--}while(v>=258&&t>=10);return y=j.avail_in-t,y=r>>3<y?r>>3:y,t+=y,s-=y,r-=y<<3,g.bitb=q,g.bitk=r,j.avail_in=t,j.total_in+=s-j.next_in_index,j.next_in_index=s,g.write=u,h}var b,c,d,e,f=this,g=0,j=0,m=0,n=0,p=0,q=0,r=0,s=0,t=0,u=0;f.init=function(a,f,g,h,i,j){b=z,r=a,s=f,d=g,t=h,e=i,u=j,c=null},f.proc=function(f,v,w){var x,y,J,K,L,M,N,O=0,P=0,Q=0;for(Q=v.next_in_index,K=v.avail_in,O=f.bitb,P=f.bitk,L=f.write,M=L<f.read?f.read-L-1:f.end-L;;)switch(b){case z:if(M>=258&&K>=10&&(f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,w=a(r,s,d,t,e,u,f,v),Q=v.next_in_index,K=v.avail_in,O=f.bitb,P=f.bitk,L=f.write,M=L<f.read?f.read-L-1:f.end-L,w!=h)){b=w==i?G:I;break}m=r,c=d,j=t,b=A;case A:for(x=m;P<x;){if(0===K)return f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);w=h,K--,O|=(255&v.read_byte(Q++))<<P,P+=8}if(y=3*(j+(O&o[x])),O>>>=c[y+1],P-=c[y+1],0===(J=c[y])){n=c[y+2],b=F;break}if(0!=(16&J)){p=15&J,g=c[y+2],b=B;break}if(0==(64&J)){m=J,j=y/3+c[y+2];break}if(0!=(32&J)){b=G;break}return b=I,v.msg="invalid literal/length code",w=l,f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);case B:for(x=p;P<x;){if(0===K)return f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);w=h,K--,O|=(255&v.read_byte(Q++))<<P,P+=8}g+=O&o[x],O>>=x,P-=x,m=s,c=e,j=u,b=C;case C:for(x=m;P<x;){if(0===K)return f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);w=h,K--,O|=(255&v.read_byte(Q++))<<P,P+=8}if(y=3*(j+(O&o[x])),O>>=c[y+1],P-=c[y+1],0!=(16&(J=c[y]))){p=15&J,q=c[y+2],b=D;break}if(0==(64&J)){m=J,j=y/3+c[y+2];break}return b=I,v.msg="invalid distance code",w=l,f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);case D:for(x=p;P<x;){if(0===K)return f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);w=h,K--,O|=(255&v.read_byte(Q++))<<P,P+=8}q+=O&o[x],O>>=x,P-=x,b=E;case E:for(N=L-q;N<0;)N+=f.end;for(;0!==g;){if(0===M&&(L==f.end&&0!==f.read&&(L=0,M=L<f.read?f.read-L-1:f.end-L),0===M&&(f.write=L,w=f.inflate_flush(v,w),L=f.write,M=L<f.read?f.read-L-1:f.end-L,L==f.end&&0!==f.read&&(L=0,M=L<f.read?f.read-L-1:f.end-L),0===M)))return f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);f.window[L++]=f.window[N++],M--,N==f.end&&(N=0),g--}b=z;break;case F:if(0===M&&(L==f.end&&0!==f.read&&(L=0,M=L<f.read?f.read-L-1:f.end-L),0===M&&(f.write=L,w=f.inflate_flush(v,w),L=f.write,M=L<f.read?f.read-L-1:f.end-L,L==f.end&&0!==f.read&&(L=0,M=L<f.read?f.read-L-1:f.end-L),0===M)))return f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);w=h,f.window[L++]=n,M--,b=z;break;case G:if(P>7&&(P-=8,K++,Q--),f.write=L,w=f.inflate_flush(v,w),L=f.write,M=L<f.read?f.read-L-1:f.end-L,f.read!=f.write)return f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);b=H;case H:return w=i,f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);case I:return w=l,f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w);default:return w=k,f.bitb=O,f.bitk=P,v.avail_in=K,v.total_in+=Q-v.next_in_index,v.next_in_index=Q,f.write=L,f.inflate_flush(v,w)}},f.free=function(){}}function d(a,d){var e,f=this,g=K,j=0,m=0,q=0,r=[0],s=[0],t=new c,u=0,v=new Int32Array(3*p),w=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]=0),g==Q&&t.free(a),g=K,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==n&&(b=h),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==n&&(b=h),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,n,p,x,y,z,A,B;for(x=a.next_in_index,y=a.avail_in,n=f.bitb,p=f.bitk,z=f.write,A=z<f.read?f.read-z-1:f.end-z;;)switch(g){case K:for(;p<3;){if(0===y)return f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);c=h,y--,n|=(255&a.read_byte(x++))<<p,p+=8}switch(d=7&n,u=1&d,d>>>1){case 0:n>>>=3,p-=3,d=7&p,n>>>=d,p-=d,g=L;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),n>>>=3,p-=3,g=Q;break;case 2:n>>>=3,p-=3,g=N;break;case 3:return n>>>=3,p-=3,g=T,a.msg="invalid block type",c=l,f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c)}break;case L:for(;p<32;){if(0===y)return f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);c=h,y--,n|=(255&a.read_byte(x++))<<p,p+=8}if((~n>>>16&65535)!=(65535&n))return g=T,a.msg="invalid stored block lengths",c=l,f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);j=65535&n,n=p=0,g=0!==j?M:0!==u?R:K;break;case M:if(0===y)return f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,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=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);if(c=h,d=j,d>y&&(d=y),d>A&&(d=A),f.window.set(a.read_buf(x,d),z),x+=d,y-=d,z+=d,A-=d,0!=(j-=d))break;g=0!==u?R:K;break;case N:for(;p<14;){if(0===y)return f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);c=h,y--,n|=(255&a.read_byte(x++))<<p,p+=8}if(m=d=16383&n,(31&d)>29||(d>>5&31)>29)return g=T,a.msg="too many length or distance symbols",c=l,f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,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;n>>>=14,p-=14,q=0,g=O;case O:for(;q<4+(m>>>10);){for(;p<3;){if(0===y)return f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);c=h,y--,n|=(255&a.read_byte(x++))<<p,p+=8}e[J[q++]]=7&n,n>>>=3,p-=3}for(;q<19;)e[J[q++]]=0;if(r[0]=7,(d=w.inflate_trees_bits(e,r,s,v,a))!=h)return c=d,c==l&&(e=null,g=T),f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);q=0,g=P;case P:for(;;){if(d=m,q>=258+(31&d)+(d>>5&31))break;var G,H;for(d=r[0];p<d;){if(0===y)return f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);c=h,y--,n|=(255&a.read_byte(x++))<<p,p+=8}if(d=v[3*(s[0]+(n&o[d]))+1],(H=v[3*(s[0]+(n&o[d]))+2])<16)n>>>=d,p-=d,e[q++]=H;else{for(B=18==H?7:H-14,G=18==H?11:3;p<d+B;){if(0===y)return f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);c=h,y--,n|=(255&a.read_byte(x++))<<p,p+=8}if(n>>>=d,p-=d,G+=n&o[B],n>>>=B,p-=B,B=q,d=m,B+G>258+(31&d)+(d>>5&31)||16==H&&B<1)return e=null,g=T,a.msg="invalid bit length repeat",c=l,f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);H=16==H?e[B-1]:0;do{e[B++]=H}while(0!=--G);q=B}}s[0]=-1;var I=[],U=[],V=[],W=[];if(I[0]=9,U[0]=6,d=m,(d=w.inflate_trees_dynamic(257+(31&d),1+(d>>5&31),e,I,U,V,W,v,a))!=h)return d==l&&(e=null,g=T),c=d,f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);t.init(I[0],U[0],v,V[0],v,W[0]),g=Q;case Q:if(f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,(c=t.proc(f,a,c))!=i)return f.inflate_flush(a,c);if(c=h,t.free(a),x=a.next_in_index,y=a.avail_in,n=f.bitb,p=f.bitk,z=f.write,A=z<f.read?f.read-z-1:f.end-z,0===u){g=K;break}g=R;case R: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=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);g=S;case S:return c=i,f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);case T:return c=l,f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,f.write=z,f.inflate_flush(a,c);default:return c=k,f.bitb=n,f.bitk=p,a.avail_in=y,a.total_in+=x-a.next_in_index,a.next_in_index=x,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==L?1:0}}function e(){function a(a){return a&&a.istate?(a.total_in=a.total_out=0,a.msg=null,a.istate.mode=ba,a.istate.blocks.reset(a,null),h):k}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,h},b.inflateInit=function(c,e){return c.msg=null,b.blocks=null,e<8||e>15?(b.inflateEnd(c),k):(b.wbits=e,c.istate.blocks=new d(c,1<<e),a(c),h)},b.inflate=function(a,b){var c,d;if(!a||!a.istate||!a.next_in)return k;for(b=b==r?n:h,c=n;;)switch(a.istate.mode){case W: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++)))!=V){a.istate.mode=da,a.msg="unknown compression method",a.istate.marker=5;break}if(8+(a.istate.method>>4)>a.istate.wbits){a.istate.mode=da,a.msg="invalid window size",a.istate.marker=5;break}a.istate.mode=X;case X: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=da,a.msg="incorrect header check",a.istate.marker=5;break}if(0==(d&U)){a.istate.mode=ba;break}a.istate.mode=Y;case Y: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=Z;case Z: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=$;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++))<<8&65280,a.istate.mode=_;case _: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=aa,j);case aa:return a.istate.mode=da,a.msg="need dictionary",a.istate.marker=0,k;case ba:if((c=a.istate.blocks.proc(a,c))==l){a.istate.mode=da,a.istate.marker=0;break}if(c==h&&(c=b),c!=i)return c;c=b,a.istate.blocks.reset(a,a.istate.was),a.istate.mode=ca;case ca:return i;case da:return l;default:return k}},b.inflateSetDictionary=function(a,b,c){var d=0,e=c;return a&&a.istate&&a.istate.mode==aa?(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=ba,h):k},b.inflateSync=function(b){var c,d,e,f,g;if(!b||!b.istate)return k;if(b.istate.mode!=da&&(b.istate.mode=da,b.istate.marker=0),0===(c=b.avail_in))return n;for(d=b.next_in_index,e=b.istate.marker;0!==c&&e<4;)b.read_byte(d)==ea[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?l:(f=b.total_in,g=b.total_out,a(b),b.total_in=f,b.total_out=g,b.istate.mode=ba,h)},b.inflateSyncPoint=function(a){return a&&a.istate&&a.istate.blocks?a.istate.blocks.sync_point():k}}function f(){}function g(){var a=this,b=new f,c=q,d=new Uint8Array(512),e=!1;b.inflateInit(),b.next_out=d,a.append=function(a,f){var g,j,k=[],l=0,m=0,o=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=512,0!==b.avail_in||e||(b.next_in_index=0,e=!0),g=b.inflate(c),e&&g===n){if(0!==b.avail_in)throw new Error("inflating: bad input")}else if(g!==h&&g!==i)throw new Error("inflating: "+b.msg);if((e||g===i)&&b.avail_in===a.length)throw new Error("inflating: bad input");b.next_out_index&&(512===b.next_out_index?k.push(new Uint8Array(d)):k.push(new Uint8Array(d.subarray(0,b.next_out_index)))),o+=b.next_out_index,f&&b.next_in_index>0&&b.next_in_index!=l&&(f(b.next_in_index),l=b.next_in_index)}while(b.avail_in>0||0===b.avail_out);return j=new Uint8Array(o),k.forEach(function(a){j.set(a,m),m+=a.length}),j}},a.flush=function(){b.inflateEnd()}} | ||
var h=0,i=1,j=2,k=-2,l=-3,m=-4,n=-5,o=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],p=1440,q=0,r=4,s=[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],t=[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],u=[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],v=[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],w=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],x=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],y=15;b.inflate_trees_fixed=function(a,b,c,d){return a[0]=9,b[0]=5,c[0]=s,d[0]=t,h};var z=0,A=1,B=2,C=3,D=4,E=5,F=6,G=7,H=8,I=9,J=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],K=0,L=1,M=2,N=3,O=4,P=5,Q=6,R=7,S=8,T=9,U=32,V=8,W=0,X=1,Y=2,Z=3,$=4,_=5,aa=6,ba=7,ca=12,da=13,ea=[0,0,255,255];f.prototype={inflateInit:function(a){var b=this;return b.istate=new e,a||(a=15),b.istate.inflateInit(b,a)},inflate:function(a){var b=this;return b.istate?b.istate.inflate(b,a):k},inflateEnd:function(){var a=this;if(!a.istate)return k;var b=a.istate.inflateEnd(a);return a.istate=null,b},inflateSync:function(){var a=this;return a.istate?a.istate.inflateSync(a):k},inflateSetDictionary:function(a,b){var c=this;return c.istate?c.istate.inflateSetDictionary(c,a,b):k},read_byte:function(a){return this.next_in.subarray(a,a+1)[0]},read_buf:function(a,b){return this.next_in.subarray(a,a+b)}};var fa=a.zip||a;fa.Inflater=fa._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||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,d){function e(a){try{var b=JSON.parse(a);c(null,b.log)}catch(a){c(a)}}if(!a)return c(new Error("Failed to load HAR file"));if(-1!==[".zhar",".zip"].indexOf(b.match(/\.[0-9a-z]+$/i)[0]))zip.createReader(new zip.BlobReader(a),function(a){a.getEntries(function(b){b[0].getData(new zip.TextWriter,function(b){e(b),a.close()},d)})});else{var f=new FileReader;f.addEventListener("load",function(a){e(a.target.result)}),f.readAsText(a)}}Object.defineProperty(c,"__esModule",{value:!0}),zip.useWebWorkers=!1,c.readFile=d},{}]},{},[1])(1)}); |
@@ -1,4 +0,4 @@ | ||
/*! github.com/micmro/PerfCascade Version:2.0.0 (06/05/2017) */ | ||
/*! github.com/micmro/PerfCascade Version:2.0.1 (19/05/2017) */ | ||
!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||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){var c=a.classList;return c?b.split(" ").forEach(function(a){return c.add(a)}):a.setAttribute("class",a.getAttribute("class")+" "+b),a}function e(a,b){var c=a.classList;return c?c.remove(b):a.setAttribute("class",a.getAttribute("class").replace(new RegExp("(\\s|^)"+b+"(\\s|$)","g"),"$2")),a}function f(a,b){if(void 0!==a.parentElement)return a.parentElement.classList.contains(b)?a.parentElement:f(a.parentElement,b)}function g(a){for(;a.hasChildNodes();)a.removeChild(a.lastChild);return a}function h(a){if(a&&0!==a.length)return a.item(a.length-1)}function i(a,b){Array.prototype.forEach.call(a,b)}Object.defineProperty(c,"__esModule",{value:!0}),c.addClass=d,c.removeClass=e,c.getParentByClassName=f,c.removeChildren=g,c.getLastItemOfNodeList=h,c.forEachNodeList=i},{}],2:[function(a,b,c){"use strict";function d(a,b){var c=g(b.toLowerCase());return a.some(c)}function e(a,b){var c,d=g(b.toLowerCase());return c=h?a.find(d):a.map(d).pop(),c?c.value:void 0}function f(a,b){var c=g(b.toLowerCase());return a.filter(c).map(function(a){return[b,a.value]})}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a){return function(b){return b.name.toLowerCase()===a}};c.hasHeader=d;var h=!!Array.prototype.find;c.getHeader=e,c.getHeaders=f},{}],3:[function(a,b,c){"use strict";function d(a,b,c,d){if(void 0===d&&(d=1),void 0===v){v=w.newPath("M18 6.216v2.77q0 .28-.206.486-.205.206-.486.206h-.693q-.28 0-.486-.206-.21-.205-.21\n -.487v-2.77q0-1.145-.81-1.957-.813-.81-1.96-.81-1.146 0-1.957.81-.81.812-.81 1.958v2.077h1.037q.434\n 0 .737.303.302.303.302.736v6.23q0 .433-.305.736t-.737.303H1.038q-.433 0-.736-.3Q0 15.996 0\n 15.56V9.33q0-.433.303-.736t.735-.303h7.27V6.218q0-2 1.422-3.423 1.423-1.423 3.424-1.423 2\n 0 3.424 1.424Q18 4.214 18 6.216")}return x(a,b,c,"icon-no-tls",d,v.cloneNode(!1))}function e(a,b,c,d){if(void 0===d&&(d=1),void 0===y){y=w.newPath("M17 2.333V7q0 .27-.198.47-.198.197-.47.197h-4.665q-.438 0-.615-.417-.177-.406.146-.72l1.437-1.436Q11.095\n 3.667 9 3.667q-1.083 0-2.068.422-.984.42-1.703 1.14-.72.715-1.14 1.7-.426.984-.426 2.07 0 1.08.422 2.065.42.984\n 1.14 1.703.718.72 1.702 1.14.984.422 2.067.422 1.24 0 2.344-.54 1.104-.543 1.864-1.533.073-.105.24-.126.146 0\n .26.095l1.427 1.436q.095.084.1.214.006.13-.08.234-1.133 1.376-2.75 2.13Q10.793 17 9 17q-1.625\n 0-3.104-.635-1.48-.636-2.552-1.71-1.073-1.072-1.71-2.55Q1 10.625 1 9t.635-3.104q.636-1.48 1.71-2.552\n 1.072-1.073 2.55-1.71Q7.375 1 9 1q1.53 0 2.964.578 1.432.578 2.546\n 1.63l1.355-1.343q.302-.323.73-.146.405.173.405.61z")}return x(a,b,c,"icon-redirect",d,y.cloneNode(!1))}function f(a,b,c,d){return void 0===d&&(d=1),o(a,b,c,d)}function g(a,b,c,d){return void 0===d&&(d=1),o(a,b,c,d)}function h(a,b,c,d){if(void 0===d&&(d=1),void 0===z){z=w.newPath("M15.247 4.393q.25.25.43.678.177.43.177.79v10.287q0\n .357-.25.607t-.607.25h-12q-.357 0-.607-.25t-.25-.606V1.858q0-.358.25-.608T2.997 1h8q.357 0\n .786.18.428.177.678.427zm-3.964-2.18V5.57h3.357q-.09-.256-.196-.364L11.65 2.41q-.108-.106-.367\n -.196zm3.428 13.644V6.714H11q-.357 0-.607-.25t-.25-.607V2.143h-6.86v13.714H14.71zM5.57\n 8.143q0-.125.08-.205.08-.08.204-.08h6.286q.125 0 .205.08.08.08.08.205v.57q0 .126-.08.207-.08.08\n -.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.206v-.57zm6.57 2q.125 0 .205.08.08.08.08.206V11q0\n .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.205v-.57q0-.126.08-.207.08-.08.2\n -.08h6.286zm0 2.286q.125 0 .205.08.08.08.08.2v.572q0 .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205\n -.08-.08-.08-.08-.205v-.572q0-.124.08-.204.08-.08.2-.08h6.286z")}return x(a,b,c,"icon-plain",d,z.cloneNode(!1))}function i(a,b,c,d){if(void 0===d&&(d=1),void 0===A){A=w.newPath("M10.8 13.5v3q0 .2-.15.35-.15.15-.35.15h-3q-.2 0-.35-.15-.15-.15-.15-.35v-3q0-.2.15-.35.15\n -.15.35-.15h3q.2 0 .35.15.15.15.15.35zM14.75 6q0 .675-.193 1.262-.193.588-.437.957-.244.365\n -.688.74-.443.375-.718.543-.275.17-.763.444-.51.286-.852.81-.344.526-.344.84 0 .21-.15.405-.15.194\n -.35.194h-3q-.186 0-.318-.23-.13-.234-.13-.47v-.564q0-1.037.812-1.956.812-.917 1.787-1.355.74-.336\n 1.05-.7.314-.362.314-.95 0-.524-.583-.924-.58-.4-1.343-.4-.814 0-1.35.362-.44.312-1.34 1.437-.16.2\n -.386.2-.15 0-.313-.1L3.4 4.987q-.16-.124-.193-.312-.03-.188.07-.35Q5.277 1 9.077 1q1 0 2.01.387\n 1.01.388 1.825 1.038.812.65 1.325 1.594.51.94.51 1.98z")}return x(a,b,c,"icon-other",d,A.cloneNode(!1))}function j(a,b,c,d){if(void 0===d&&(d=1),void 0===B){B=w.newPath("M13.516 2.9c-2.766 0-4.463 1.522-4.463 3.536 0 1.733 1.295 2.82 3.256 3.52\n 1.413.49 1.973.926 1.973 1.644 0 .787-.647 1.296-1.873 1.296-1.137 0-2.26-.368-2.96-.736l-.54\n 2.19c.665.367 1.996.734 3.344.734 3.238 0 4.744-1.68 4.744-3.658\n 0-1.68-.966-2.767-3.05-3.537-1.54-.6-2.186-.93-2.186-1.68 0-.6.56-1.14 1.714-1.14\n 1.137 0 1.996.33 2.45.56l.596-2.138c-.7-.332-1.663-.596-3.01-.596zm-9.032.192v7.44c0\n 1.822-.702 2.33-1.822 2.33-.525 0-.997-.09-1.365-.212L1 14.805c.525.175 1.33.28 1.96.28\n 2.574 0 4.185-1.173 4.185-4.534V3.097h-2.66z")}return x(a,b,c,"icon-js",d,B.cloneNode(!1))}function k(a,b,c,d){if(void 0===d&&(d=1),void 0===C){C=w.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return x(a,b,c,"icon-image",d,C.cloneNode(!1))}function l(a,b,c,d){return void 0===d&&(d=1),k(a,b,c,d)}function m(a,b,c,d){if(void 0===d&&(d=1),void 0===D){D=w.newPath("M5.626 13.31l-.492.492q-.098.098-.226.098t-.226-.098L.098 9.22Q0 9.12 0\n 8.99q0-.127.098-.226L4.682 4.18q.098-.097.226-.097t.226.098l.492.49q.1.1.1.23t-.1.23L1.76\n 8.99l3.866 3.866q.1.098.1.226t-.1.226zM11.44 2.815l-3.67\n 12.7q-.04.127-.152.19-.113.065-.23.026l-.61-.162q-.13-.04-.193-.152-.064-.112-.024-.24l3.67-12.698q.04\n -.128.157-.192.113-.064.23-.025l.61.167q.13.04.193.152.063.113.023.24zM17.9\n 9.22l-4.582 4.58q-.098.098-.226.098t-.226-.098l-.492-.492q-.1-.098-.1-.226t.1-.226L16.24\n 8.99l-3.867-3.865q-.1-.098-.1-.226t.1-.23l.492-.49q.098-.1.226-.1t.23.1l4.58 4.583q.1.1.1.226 0 .13-.1.23z")}return x(a,b,c,"icon-html",d,D.cloneNode(!1))}function n(a,b,c,d){if(void 0===d&&(d=1),void 0===E){E=w.newPath("M15.436.99q.625 0 1.095.416.47.415.47 1.04 0 .564-.4 1.35-2.97 5.624-4.16 6.724-.865.814\n -1.946.814-1.127 0-1.935-.827-.81-.827-.81-1.962 0-1.144.822-1.895l5.705-5.175Q14.8.99\n 15.435.99zM7.31 10.232q.35.68.953 1.162.603.483 1.345.68l.01.634q.035 1.904-1.16 3.102-1.192\n 1.198-3.114 1.198-1.1 0-1.948-.416-.85-.415-1.364-1.14-.514-.723-.773-1.635Q1 12.905 1\n 11.85l.366.268q.304.224.555.398.25.175.53.327.277.15.41.15.368 0 .493-.33.224-.59.515-1.005.29\n -.415.62-.68.332-.263.788-.424.455-.16.92-.228.465-.066 1.118-.094z")}return x(a,b,c,"icon-css",d,E.cloneNode(!1))}function o(a,b,c,d){if(void 0===d&&(d=1),void 0===F){F=w.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return x(a,b,c,"icon-warning",d,F.cloneNode(!1))}function p(a,b,c,d){if(void 0===d&&(d=1),void 0===G){G=w.newPath("M9 1q2.177 0 4.016 1.073 1.838 1.073 2.91 2.91Q17 6.823 17 9q0 2.177-1.073 4.016-1.073\n 1.838-2.91 2.91Q11.177 17 9 17q-2.177 0-4.016-1.073-1.838-1.073-2.91-2.91Q1 11.177 1 9q0-2.177 1.073-4.016\n 1.073-1.838 2.91-2.91Q6.823 1 9 1zm1.333 12.99v-1.98q0-.145-.093-.244-.094-.1-.23-.1h-2q-.135 0-.24.105\n -.103.106-.103.24v1.98q0 .136.104.24.106.104.24.104h2q.137 0 .23-.1.094-.098.094-.243zm-.02-3.584l.187\n -6.468q0-.125-.104-.188-.104-.084-.25-.084H7.854q-.146 0-.25.084-.104.062-.104.188l.177 6.468q0\n .104.104.183.106.076.25.076h1.93q.146 0 .245-.078.1-.08.11-.184z")}return x(a,b,c,"icon-no-gzip",d,G.cloneNode(!1))}function q(a,b,c,d){if(void 0===d&&(d=1),void 0===H){H=w.newPath("M7.97 5.754L6.338 10.08q.317 0 1.312.02.994.02 1.542.02.183 0 .548-.02-.836-2.432-1.77\n -4.345zM1 16.38l.02-.76q.22-.068.538-.12.317-.053.548-.102.23-.048.476-.14.245-.09.428-.278.182\n -.187.298-.485l2.28-5.923 2.69-6.962H9.51q.077.135.105.202l1.972 4.615q.317.75 1.02 2.476.7 1.726\n 1.095 2.64.144.327.558 1.39.413 1.062.692 1.62.192.432.336.547.183.145.847.284.663.14.807.197.058.37.058.55\n 0 .04-.005.13t-.005.128q-.605 0-1.827-.076-1.22-.08-1.836-.08-.73 0-2.067.07-1.337.067-1.712.076 0-.412.04\n -.75l1.258-.27q.01 0 .12-.022l.15-.033q.038-.01.14-.044.1-.034.143-.06l.1-.08q.06-.048.082-.106.024-.056.024\n -.133 0-.152-.298-.926t-.693-1.71q-.392-.93-.402-.96l-4.325-.02q-.25.56-.734 1.88-.487 1.32-.487 1.56 0\n .213.136.362.134.15.418.235.285.087.467.13.185.044.55.08.366.04.395.04.01.183.01.558 0 .087-.02.26-.558\n 0-1.678-.095-1.12-.098-1.678-.098-.08 0-.26.04-.18.037-.208.037-.77.136-1.808.136Z")}return x(a,b,c,"icon-font",d,H.cloneNode(!1))}function r(a,b,c,d){if(void 0===d&&(d=1),void 0===I){I=w.newPath("M13.724 4.738q.195.216.076.476L7.96 17.73q-.142.27-.456.27-.043 0-.15-.022-.185-.054-.277\n -.205-.092-.15-.05-.325l2.132-8.74L4.765 9.8q-.044.01-.13.01-.195 0-.336-.118-.193-.162-.14-.422L6.337.346q.043\n -.15.173-.25Q6.64 0 6.81 0h3.548q.206 0 .346.135.14.135.14.32 0 .086-.053.194L8.94 5.654l4.285\n -1.06q.086-.02.13-.02.205 0 .367.16z")}return x(a,b,c,"icon-flash",d,I.cloneNode(!1))}function s(a,b,c,d){if(void 0===d&&(d=1),void 0===J){J=w.newPath("M17 4.107v9.714q0 .38-.348.53-.116.05-.223.05-.25 0-.41-.17l-3.6-3.6v1.48q0 1.067-.757 1.82-.754.756\n -1.817.756H3.57q-1.06 0-1.816-.753Q1 13.17 1 12.106V5.82q0-1.06.754-1.816.755-.754 1.817-.754h6.29q1.07 0\n 1.82.754.76.755.76 1.817V7.3l3.597-3.59q.16-.17.4-.17.107 0 .22.045.35.153.35.528z")}return x(a,b,c,"icon-video",d,J.cloneNode(!1))}function t(a,b,c,d){if(void 0===d&&(d=1),void 0===K){K=w.newPath("M8.385 3.756v10.46q0 .252-.183.434-.183.183-.433.183t-.44-.183l-3.2-3.202H1.61q-.25\n 0-.43-.183-.18-.182-.18-.432V7.14q0-.25.182-.432.182-.183.432-.183h2.52l3.202-3.202q.182-.183.432\n -.183t.43.183q.182.183.182.433zm3.692 5.23q0 .73-.41 1.36-.407.63-1.08.9-.097.048-.24.048-.25 0\n -.434-.178-.182-.177-.182-.437 0-.21.12-.35.12-.14.28-.24.16-.1.33-.22.166-.12.28-.34.117-.22.117\n -.55 0-.33-.115-.55-.115-.224-.28-.344-.163-.12-.326-.22-.165-.1-.28-.24-.116-.14-.116-.34 0-.26.183\n -.44t.43-.176q.146 0 .24.048.676.26 1.08.894.41.636.41 1.367zm2.46 0q0 1.472-.816 2.717t-2.16 1.813q\n -.12.048-.24.048-.26 0-.44-.183-.18-.18-.18-.43 0-.37.378-.56.54-.28.73-.42.713-.52 1.11-1.302.4\n -.783.4-1.667 0-.886-.4-1.67-.4-.783-1.11-1.303-.192-.145-.73-.424-.376-.192-.376-.567 0-.25.183\n -.434.183-.18.433-.18.123 0 .25.047 1.344.567 2.16 1.812.82 1.244.82 2.716zm2.463 0q0 2.212\n -1.22 4.063-1.222 1.85-3.25 2.72-.126.05-.25.05-.25 0-.434-.19-.183-.183-.183-.433 0-.346.375\n -.568.068-.04.217-.1.15-.064.216-.1.45-.244.79-.494 1.19-.875 1.85-2.183.67-1.306.67-2.777 0\n -1.47-.663-2.78-.664-1.304-1.846-2.18-.346-.25-.79-.49-.065-.035-.214-.1-.15-.06-.22-.1\n -.375-.22-.375-.57 0-.25.183-.43.183-.182.433-.182.123 0 .25.047 2.027.876 3.25 2.727Q17 6.775 17 8.99Z")}return x(a,b,c,"icon-audio",d,K.cloneNode(!1))}function u(a,b,c,d){if(void 0===d&&(d=1),void 0===L){L=w.newPath("M14.668 9q0 .416-.285.7L9.37 14.716Q9.067 15 8.667 15q-.393 0-.694-.285l-.577\n -.578q-.293-.292-.293-.7 0-.41.293-.7l2.256-2.258H4.23q-.4 0-.65-.29t-.25-.698v-.986q0-.408.25\n -.697.25-.29.65-.29h5.423L7.397 5.257q-.293-.278-.293-.693 0-.416.293-.694l.577-.576Q8.267 3 8.668\n 3q.408 0 .7.293l5.015 5.014q.285.27.285.693z")}return x(a,b,c,"icon-push",d,L.cloneNode(!1))}Object.defineProperty(c,"__esModule",{value:!0});var v,w=a("./svg"),x=function(a,b,c,d,e,f){var g=w.newSvg("",{x:a,y:b}),h=w.newG("icon "+d,{transform:"scale("+e+")"});return h.appendChild(f),h.appendChild(w.newTitle(c)),g.appendChild(h),g};c.noTls=d;var y;c.err3xx=e,c.err4xx=f,c.err5xx=g;var z;c.plain=h;var A;c.other=i;var B;c.javascript=j;var C;c.image=k,c.svg=l;var D;c.html=m;var E;c.css=n;var F;c.warning=o;var G;c.error=p;var H;c.font=q;var I;c.flash=r;var J;c.video=s;var K;c.audio=t;var L;c.push=u},{"./svg":6}],4:[function(a,b,c){"use strict";function d(a){var b=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),c=a.match(b);return{authority:c[4],fragment:c[9],path:c[5],query:c[7],scheme:c[2]}}function e(a,b){return a.some(function(a){return a===b})}function f(a,b){var c=0;if(a&&!(a.length<1))for(var d=a.length;c<d;){if(b(a[c],c))return c;c++}}function g(a,b){var c=f(a,b);if(void 0!==c)return a[c]}function h(a,b){if(a.length<b)return a.replace(/https?:\/\//,"");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 i(a,b){return void 0===b&&(b=2),Math.round(a*Math.pow(10,b))/Math.pow(10,b)}function j(a,b,c){return a>=b&&a<=c}function k(a){return a.toLowerCase().replace(o,"")}function l(a,b){return a+(b>1?"s":"")}function m(a){return 9===a.which&&a.shiftKey}function n(a){return 9===a.which&&!a.shiftKey}Object.defineProperty(c,"__esModule",{value:!0}),c.contains=e,c.findIndex=f,c.find=g,c.resourceUrlFormatter=h,c.roundNumber=i,c.isInStatusCodeRange=j;var o=/[^a-z-]/g;c.toCssClass=k,c.pluralize=l,c.isTabUp=m,c.isTabDown=n},{}],5:[function(a,b,c){"use strict";function d(a,b,c){if(void 0===b&&(b=e),void 0===c&&(c=f),void 0!==a){var d=b(a);if(void 0!==d)return c(d)}}function e(a){return a}function f(a){if("function"==typeof a.toString)return a.toString();throw TypeError("Can't convert type ${typeof source} to string")}function g(a){return a.trim().length>0?a:void 0}function h(a){var b=new Date(a);if(!isNaN(b.getTime()))return b}function i(a){return k(a,function(a){return a>=0})}function j(a){return k(a,function(a){return a>0})}function k(a,b){var c=function(a){return b(a)?a:void 0};if("string"==typeof a){var d=parseInt(a,10);if(!isFinite(d))return;return c(d)}return c(a)}function l(a){return u.roundNumber(a,3)+" ms"}function m(a){var b=u.roundNumber(a,3)+" s";return a>x?b+" (~"+u.roundNumber(a/x,0)+" days)":a>w?b+" (~"+u.roundNumber(a/w,0)+" hours)":a>v?b+" (~"+u.roundNumber(a/v,0)+" minutes)":b}function n(a){return a.toUTCString()+"</br>(local time: "+a.toLocaleString()+")"}function o(a){var b=a+" bytes";return a>=z?b+" (~"+u.roundNumber(a/z,1)+" MB)":a>=y?b+" (~"+u.roundNumber(a/y,0)+" kB)":b}function p(a){if(void 0===a&&(a=""),"string"!=typeof a){if("function"!=typeof a.toString)throw TypeError("Invalid parameter");a=a.toString()}return a.replace(B,function(a){return A[a]})}function q(a){var b=a.replace(C,"_");return 0===b.indexOf("http://")||0===b.indexOf("https://")?b:(console.warn("skipped link, due to potentially unsafe url",a),"")}function r(a){return a.toString().replace(D,"")}function s(a){return"number"==typeof a?a:"string"==typeof a?parseInt(a,10):void 0}function t(a){var b=function(b){if(a[b]=s(a[b]),void 0===a[b])throw TypeError('option "'+b+'" needs to be a number')},c=function(b){a[b]=!!a[b]};return b("leftColumnWith"),b("rowHeight"),b("selectedPage"),c("showAlignmentHelpers"),c("showIndicatorIcons"),c("showMimeTypeIcon"),a}Object.defineProperty(c,"__esModule",{value:!0});var u=a("./misc");c.parseAndFormat=d,c.parseNonEmpty=g,c.parseDate=h,c.parseNonNegative=i,c.parsePositive=j,c.formatMilliseconds=l;var v=60,w=60*v,x=24*w;c.formatSeconds=m,c.formatDateLocalized=n;var y=1024,z=1024*y;c.formatBytes=o;var A={'"':""","&":"&","'":"'","<":"<",">":">"},B=new RegExp(Object.keys(A).join("|"),"g");c.escapeHtml=p;var C=new RegExp("[^-A-Za-z0-9+&@#/%?=~_|!:,.;()]","g");c.sanitizeUrlForLink=q;var D=new RegExp("[^a-zA-Z0-9]","g");c.sanitizeAlphaNumeric=r,c.toInt=s,c.validateOptions=t},{"./misc":4}],6:[function(a,b,c){"use strict";function d(a){for(var b=[],c=0,d=Object.keys(a);c<d.length;c++){var e=d[c];b.push([e,String(a[e])])}return b}function e(a,b,c){b in a||console.warn(new Error("Trying to set non-existing attribute "+b+" = "+c+" on a <"+a.tagName.toLowerCase()+">.")),a.setAttributeNS(null,b,c)}function f(a,b,c){b in a.style?a.style[b]=c:console.warn(new Error("Trying to set non-existing style "+b+" = "+c+" on a <"+a.tagName.toLowerCase()+">."))}function g(a,b){var c=void 0===b?{}:b,g=c.attributes,h=void 0===g?{}:g,i=c.css,j=void 0===i?{}:i,k=c.text,l=void 0===k?"":k,m=c.className,n=void 0===m?"":m,o=document.createElementNS(t,a);return n&&s.addClass(o,n),l&&(o.textContent=l),d(j).forEach(function(a){var b=a[0],c=a[1];return f(o,b,c)}),d(h).forEach(function(a){var b=a[0],c=a[1];return e(o,b,c)}),o}function h(a,b,c){return void 0===c&&(c={}),g("svg",{className:a,attributes:b,css:c})}function i(a,b,c){return void 0===b&&(b={}),void 0===c&&(c={}),g("g",{className:a,attributes:b,css:c})}function j(a){return g("clipPath",{attributes:{id:a}})}function k(a){return g("foreignObject",{attributes:a})}function l(a){return g("a",{className:a})}function m(a,b,c){return void 0===b&&(b=""),void 0===c&&(c={}),g("rect",{attributes:a,className:b,css:c})}function n(a,b){return void 0===b&&(b=""),g("line",{className:b,attributes:a})}function o(a){var b=document.createElementNS(t,"title");return b.setAttribute("text",a),b}function p(a,b,c){return void 0===b&&(b={}),void 0===c&&(c={}),g("text",{text:a,attributes:b,css:c})}function q(a){var b=document.createElementNS(t,"path");return b.setAttribute("d",a),b}function r(a,b){void 0===b&&(b=!1);var c,d,e=u();b?(d=a.style.textShadow,c=a):(c=a.cloneNode(!0),c.setAttribute("x","0"),c.setAttribute("y","0")),c.style.textShadow="0",e.appendChild(c),window.document.body.appendChild(e);var f=c.getBBox().width;return b&&void 0!==d&&(a.style.textShadow=d),f}Object.defineProperty(c,"__esModule",{value:!0});var s=a("./dom"),t="http://www.w3.org/2000/svg";c.newSvg=h,c.newG=i,c.newClipPath=j,c.newForeignObject=k,c.newA=l,c.newRect=m,c.newLine=n,c.newTitle=o,c.newTextEl=p,c.newPath=q;var u=function(){var a,b;return function(){if(void 0===a){a=h("water-fall-chart temp",{className:"water-fall-chart temp",width:"9999px"},{left:"0px",position:"absolute",top:"0px",visibility:"hidden","z-index":"99999"})}return void 0===a.parentElement&&window.document.body.appendChild(a),clearTimeout(b),b=setTimeout(function(){a.parentNode.removeChild(a)},500),a}}();c.getNodeTextWidth=r},{"./dom":1}],7:[function(a,b,c){"use strict";function d(){var a=document.createElement("ul");return a.className="resource-legend",a.innerHTML='\n <li class="legend-blocked" title="Time spent in a queue waiting for a network connection.">Blocked</li>\n <li class="legend-dns" title="DNS resolution time.">DNS</li>\n <li class="legend-connect" title="Time required to create TCP connection.">Connect</li>\n <li class="legend-ssl" title="Time required for SSL/TLS negotiation.">SSL (TLS)</li>\n <li class="legend-send" title="Time required to send HTTP request to the server.">Send</li>\n <li class="legend-wait" title="Waiting for a response from the server.">Wait</li>\n <li class="legend-receive"\n title="Time required to read entire response from the server (or cache).">Receive</li>',a}Object.defineProperty(c,"__esModule",{value:!0}),c.makeLegend=d},{}],8:[function(a,b,c){"use strict";function d(){return i.makeLegend()}function e(a,b){void 0===b&&(b={});var c=h.validateOptions(g({},m,b)),d=new j.default(a,c.selectedPage),e=l.createWaterfallSvg(d.getSelectedPage(),c);return d.onPageUpdate(function(a,b){var d=e.parentElement,f=l.createWaterfallSvg(b,c);d.replaceChild(f,e),e=f}),c.pageSelector&&d.initPagingSelectBox(c.pageSelector),c.legendHolder&&(c.legendHolder.innerHTML="",c.legendHolder.appendChild(i.makeLegend())),e}function f(a,b){void 0===b&&(b={});var c=g({},n,b),d=k.transformDoc(a,c);return"function"==typeof b.onParsed&&b.onParsed(d),e(d,b)}var g=this&&this.__assign||Object.assign||function(a){for(var b,c=1,d=arguments.length;c<d;c++){b=arguments[c];for(var e in b)Object.prototype.hasOwnProperty.call(b,e)&&(a[e]=b[e])}return a};Object.defineProperty(c,"__esModule",{value:!0});var h=a("./helpers/parse"),i=a("./legend/legend"),j=a("./paging/paging"),k=a("./transformers/har"),l=a("./waterfall/svg-chart"),m={leftColumnWith:25,legendHolder:void 0,onParsed:void 0,pageSelector:void 0,rowHeight:23,selectedPage:0,showAlignmentHelpers:!0,showIndicatorIcons:!0,showMimeTypeIcon:!0},n={showUserTiming:!1,showUserTimingEndMarker:!1};c.makeLegend=d,c.fromHar=f},{"./helpers/parse":5,"./legend/legend":7,"./paging/paging":9,"./transformers/har":13,"./waterfall/svg-chart":26}],9:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=a("../helpers/dom"),e=function(){function a(a,b){void 0===b&&(b=0),this.doc=a,this.selectedPageIndex=b,this.onPageUpdateCbs=[],b>=this.doc.pages.length&&(this.selectedPageIndex=this.doc.pages.length-1)}return a.prototype.getPageCount=function(){return this.doc.pages.length},a.prototype.getSelectedPage=function(){return this.doc.pages[this.selectedPageIndex]},a.prototype.getSelectedPageIndex=function(){return this.selectedPageIndex},a.prototype.setSelectedPageIndex=function(a){var b=this;if(this.selectedPageIndex!==a){if(a<0||a>=this.getPageCount())throw new Error("Page does not exist - Invalid pageIndex selected");this.selectedPageIndex=a;var c=this.doc.pages[this.selectedPageIndex];this.onPageUpdateCbs.forEach(function(a){a(b.selectedPageIndex,c)})}},a.prototype.onPageUpdate=function(a){if(this.getPageCount()>1)return this.onPageUpdateCbs.push(a)},a.prototype.initPagingSelectBox=function(a){var b=this,c=this;if(this.getPageCount()<=1)return void(a.style.display="none");d.removeChildren(a),this.doc.pages.forEach(function(c,d){var e=new Option(c.title,d.toString(),!1,d===b.selectedPageIndex);a.add(e)}),a.style.display="block",a.addEventListener("change",function(a){var b=parseInt(a.target.value,10);c.setSelectedPageIndex(b)})},a}();c.default=e},{"../helpers/dom":1}],10:[function(a,b,c){"use strict";function d(a,b,c){return[["Request Number","#"+c],["Started",new Date(a.startedDateTime).toLocaleString()+(b>0?" ("+j.formatMilliseconds(b)+" after page request started)":"")],["Duration",j.formatMilliseconds(a.time)],["Error/Status Code",a.response.status+" "+a.response.statusText],["Server IPAddress",a.serverIPAddress],["Connection",a.connection],["Browser Priority",a._priority||a._initialPriority],["Was pushed",j.parseAndFormat(a._was_pushed,j.parsePositive,function(){return"yes"})],["Initiator (Loaded by)",a._initiator],["Initiator Line",a._initiator_line],["Host",i.getHeader(a.request.headers,"Host")],["IP",a._ip_addr],["Client Port",j.parseAndFormat(a._client_port,j.parsePositive)],["Expires",a._expires],["Cache Time",j.parseAndFormat(a._cache_time,j.parsePositive,j.formatSeconds)],["CDN Provider",a._cdn_provider],l("ObjectSize",a._objectSize),l("Bytes In (downloaded)",a._bytesIn),l("Bytes Out (uploaded)",a._bytesOut),l("JPEG Scan Count",a._jpeg_scan_count),l("Gzip Total",a._gzip_total),l("Gzip Save",a._gzip_save),l("Minify Total",a._minify_total),l("Minify Save",a._minify_save),l("Image Total",a._image_total),l("Image Save",a._image_save)].filter(n)}function e(a){var b=a.request,c=function(a){return i.getHeaders(b.headers,a)};return k.flattenKvTuple([["Method",b.method],["HTTP Version",b.httpVersion],l("Bytes Out (uploaded)",a._bytesOut),l("Headers Size",b.headersSize),l("Body Size",b.bodySize),["Comment",j.parseAndFormat(b.comment,j.parseNonEmpty)],c("User-Agent"),c("Host"),c("Connection"),c("Accept"),c("Accept-Encoding"),c("Expect"),c("Forwarded"),c("If-Modified-Since"),c("If-Range"),c("If-Unmodified-Since"),m("Querystring parameters count",b.queryString.length),m("Cookies count",b.cookies.length)]).filter(n)}function f(a){var b,c=a.response,d=c.content,e=c.headers,f=function(a,b){return void 0===b&&(b=a),i.getHeaders(e,b)},g=function(a){var b=i.getHeader(e,a);return[a,j.parseAndFormat(b,j.parseDate,j.formatDateLocalized)]},h=i.getHeader(e,"Content-Length");-1!==d.size&&h!==d.size.toString()&&(b=d.size);var m=i.getHeader(e,"Content-Type");return a._contentType&&a._contentType!==m&&(m=m+" | "+a._contentType),k.flattenKvTuple([["Status",c.status+" "+c.statusText],["HTTP Version",c.httpVersion],l("Bytes In (downloaded)",a._bytesIn),l("Headers Size",c.headersSize),l("Body Size",c.bodySize),["Content-Type",m],f("Cache-Control"),f("Content-Encoding"),g("Expires"),g("Last-Modified"),f("Pragma"),l("Content-Length",h),l("Content Size",b),l("Content Compression",d.compression),f("Connection"),f("ETag"),f("Accept-Patch"),["Age",j.parseAndFormat(i.getHeader(e,"Age"),j.parseNonNegative,j.formatSeconds)],f("Allow"),f("Content-Disposition"),f("Location"),f("Strict-Transport-Security"),f("Trailer (for chunked transfer coding)","Trailer"),f("Transfer-Encoding"),f("Upgrade"),f("Vary"),f("Timing-Allow-Origin"),["Redirect URL",j.parseAndFormat(c.redirectURL,j.parseNonEmpty)],["Comment",j.parseAndFormat(c.comment,j.parseNonEmpty)]]).filter(n)}function g(a,b,c){var d=a.timings,e=function(a){return j.parseAndFormat(a,j.parseNonNegative,j.formatMilliseconds)},f="number"!=typeof b||"number"!=typeof c?void 0:c-b;return[["Total",j.formatMilliseconds(f)],["Blocked",e(d.blocked)],["DNS",e(d.dns)],["Connect",e(d.connect)],["SSL (TLS)",e(d.ssl)],["Send",j.formatMilliseconds(d.send)],["Wait",j.formatMilliseconds(d.wait)],["Receive",j.formatMilliseconds(d.receive)]]}function h(a,b,c,h){var i=a.request.headers,j=a.response.headers,k=function(a){return[a.name,a.value]};return{general:d(a,c,b),request:e(a),requestHeaders:i.map(k),response:f(a),responseHeaders:j.map(k),timings:g(a,c,h)}}Object.defineProperty(c,"__esModule",{value:!0});var i=a("../helpers/har"),j=a("../helpers/parse"),k=a("./helpers"),l=function(a,b){return[a,j.parseAndFormat(b,j.parsePositive,j.formatBytes)]},m=function(a,b){return[a,j.parseAndFormat(b,j.parsePositive)]},n=function(a){return a.length>1&&void 0!==a[1]&&""!==a[1]};c.getKeys=h},{"../helpers/har":2,"../helpers/parse":5,"./helpers":14}],11:[function(a,b,c){"use strict";function d(a,b){if(a.response.bodySize<1e3)return!1;if(l.contains(["html","css","javascript","svg","plain"],b))return!0;var c=a.response.content.mimeType,d=["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"],c.split("/")[0])&&!l.contains(d,c.split(";")[0]))}function e(a){if("get"!==a.request.method.toLowerCase())return!1;if(204===a.response.status||!l.isInStatusCodeRange(a.response.status,200,299))return!1;var b=a.response.headers;return!(k.hasHeader(b,"Cache-Control")||k.hasHeader(b,"Expires"))}function f(a,b){var c=a.response.headers;return!k.hasHeader(c,"Content-Encoding")&&d(a,b)}function g(a){return 0===a.request.url.indexOf("https://")}function h(a){return 1===function(a){return"string"==typeof a?parseInt(a,10):a}(a._was_pushed)}function i(a){var b=a.filter(function(a){return!a.response.redirectURL})[0];return void 0===b?a.length>0&&g(a[0]):g(b)}function j(a,b,c){var d=[];return h(a)&&d.push({description:"Response was pushed by the server using HTTP2 push.",icon:"push",id:"push",title:"Response was pushed by the server",type:"info"}),b&&!g(a)&&d.push({description:"Insecure request, it should use HTTPS.",id:"noTls",title:"Insecure Connection",type:"error"}),e(a)&&d.push({description:"The response is not allow to be cached on the client. Consider setting 'Cache-Control' headers.",id:"noCache",title:"Response not cached",type:"error"}),f(a,c)&&d.push({description:"The response is not compressed. Consider enabling HTTP compression on your server.",id:"noGzip",title:"no gzip",type:"error"}),!a.response.content.mimeType&&l.isInStatusCodeRange(a.response.status,200,299)&&204!==a.response.status&&d.push({description:"Response doesn't contain a 'Content-Type' header.",id:"warning",title:"No MIME Type defined",type:"warning"}),d}Object.defineProperty(c,"__esModule",{value:!0});var k=a("../helpers/har"),l=a("../helpers/misc");c.documentIsSecure=i,c.collectIndicators=j},{"../helpers/har":2,"../helpers/misc":4}],12:[function(a,b,c){"use strict";function d(a,b,c,d,f,l){var m=[],p=n.getKeys(a,b,d,f);return m.push(g(p.general,l)),m.push(h(p.request,p.requestHeaders)),m.push(i(p.response,p.responseHeaders)),m.push(e("Timings",o.makeDefinitionList(p.timings,!0))),m.push(j(a)),"image"===c&&m.push(k(a)),m.filter(function(a){return void 0!==a})}function e(a,b,c){return void 0===c&&(c=""),{title:a,content:b,tabClass:c}}function f(a,b,c){return void 0===c&&(c=""),{title:a,renderContent:b,tabClass:c}}function g(a,b){var c=o.makeDefinitionList(a);if(0===b.length)return e("General",c);var d="<h2>General</h2>\n<dl>"+c+"<dl>",f="",g=b.filter(function(a){return"error"===a.type}).map(function(a){return[a.title,a.description]}),h=b.filter(function(a){return"warning"===a.type}).map(function(a){return[a.title,a.description]}),i=b.filter(function(a){return"error"!==a.type&&"warning"!==a.type}).map(function(a){return[a.title,a.description]});g.length>0&&(f+='<h2 class="no-boder">'+l.pluralize("Error",g.length)+"</h2>\n <dl>"+o.makeDefinitionList(g)+"</dl>"),h.length>0&&(f+='<h2 class="no-boder">'+l.pluralize("Warning",h.length)+"</h2>\n <dl>"+o.makeDefinitionList(h)+"</dl>"),i.length>0&&(f+='<h2 class="no-boder">Info</h2>\n <dl>'+o.makeDefinitionList(i)+"</dl>"),e("General",f+d)}function h(a,b){return e("Request","<dl>\n "+o.makeDefinitionList(a)+"\n </dl>\n <h2>All Request Headers</h2>\n <dl>\n "+o.makeDefinitionList(b)+"\n </dl>")}function i(a,b){return e("Response","<dl>\n "+o.makeDefinitionList(a)+"\n </dl>\n <h2>All Response Headers</h2>\n <dl>\n "+o.makeDefinitionList(b)+"\n </dl>")}function j(a){return f("Raw Data",function(){return"<pre><code>"+m.escapeHtml(JSON.stringify(a,null,2))+"</code></pre>"},"raw-data")}function k(a){return f("Preview",function(b){return'<img class="preview" style="max-height:'+(b-100)+'px"\n data-src="'+m.sanitizeUrlForLink(a.request.url)+'" />'})}Object.defineProperty(c,"__esModule",{value:!0});var l=a("../helpers/misc"),m=a("../helpers/parse"),n=a("./extract-details-keys"),o=a("./helpers");c.makeTabs=d},{"../helpers/misc":4,"../helpers/parse":5,"./extract-details-keys":10,"./helpers":14}],13:[function(a,b,c){"use strict";function d(a,b){var c=this,d=void 0!==a.log?a.log:a;return{pages:l(d).map(function(a,e){return c.transformPage(d,e,b)})}}function e(a,b,c,d){c=Math.round(c);var e=Math.round(h.toInt(a._all_end)||c+a.time),f=k.mimeToRequestType(a.response.content.mimeType),g=i.collectIndicators(a,d,f),l=q(a,g) | ||
;return k.createWaterfallEntry(a.request.url,c,e,o(c,a),l,j.makeTabs(a,b+1,f,c,e,g))}function f(a,b,c){void 0===b&&(b=0);var d=void 0!==a.log?a.log:a,f=l(d),g=f[b],h=new Date(g.startedDateTime).getTime(),j=g.pageTimings,k=0,n=i.documentIsSecure(d.entries),o=d.entries.filter(function(a){return 0!==a.request.url.indexOf("data:")&&0!==a.request.url.indexOf("javascript:")&&(1===f.length&&""===g.id||a.pageref===g.id)}).map(function(a,b){var c=new Date(a.startedDateTime).getTime()-h;return k=Math.max(k,c+a.time),e(a,b,c,n)}),p=m(j,g,c);return p.forEach(function(a){a.startTime>k&&(k=a.startTime)}),k+=100,{docIsTLS:n,durationMs:k,entries:o,marks:p,title:g.title}}Object.defineProperty(c,"__esModule",{value:!0});var g=a("../helpers/misc"),h=a("../helpers/parse"),i=a("./har-heuristics"),j=a("./har-tabs"),k=a("./helpers");c.transformDoc=d;var l=function(a){return a.pages&&a.pages.length>0?a.pages:[{id:"",pageTimings:{},startedDateTime:a.entries.reduce(function(a,b){var c=Date.parse(b.startedDateTime);return Date.parse(a)<c?a:b.startedDateTime},a.entries[0].startedDateTime),title:"n/a"}]};c.transformPage=f;var m=function(a,b,c){var d=function(a,b){return a.startTime-b.startTime},e=Object.keys(a).filter(function(b){return"number"==typeof a[b]&&a[b]>=0}).map(function(b){return{name:h.escapeHtml(b.replace(/^[_]/,""))+" ("+g.roundNumber(a[b],0)+" ms)",startTime:a[b]}});return c.showUserTiming?n(b,c).concat(e).sort(d):e.sort(d)},n=function(a,b){var c=b.showUserTimingEndMarker?function(a){return 0===a.indexOf("_userTime.")}:function(a){return 0===a.indexOf("_userTime.")&&0!==a.indexOf("_userTime.endTimer-")},d=c;if(Array.isArray(b.showUserTiming)){var e=b.showUserTiming;d=function(a){return c(a)&&e.indexOf(a.replace(/^_userTime\./,""))>=0}}var f=/^_userTime\.((?:startTimer-)?(.+))$/,g=function(c){var d,e,g;return i=f.exec(c),e=i[1],d=i[2],e=h.escapeHtml(e),d=h.escapeHtml(d),e!==d&&a["_userTime.endTimer-"+d]?(g=a["_userTime.endTimer-"+d]-a[c],{name:(b.showUserTimingEndMarker?e:d)+" ("+a[c]+" - "+(a[c]+g)+" ms)",duration:g,startTime:a[c]}):{name:e,startTime:a[c]};var i};return Object.keys(a).filter(d).map(g)},o=function(a,b){var c=b.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(d,e){var f=p(e,b,d,a);if(f.end&&f.start>=f.end)return d;if("connect"===e&&c.ssl&&-1!==c.ssl){var g=parseInt(b._ssl_start,10)||f.start,h=parseInt(b._ssl_end,10)||f.start+c.ssl,i=parseInt(b._ssl_start,10)?f.start:h;return d.concat([k.createWaterfallEntryTiming("ssl",Math.round(g),Math.round(h))]).concat([k.createWaterfallEntryTiming(e,Math.round(i),Math.round(f.end))])}return d.concat([k.createWaterfallEntryTiming(e,Math.round(f.start),Math.round(f.end))])},[])},p=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{end:Math.round(i),start:Math.round(h)}},q=function(a,b){var c=k.mimeToRequestType(a.response.content.mimeType),d=h.toInt(a.response.status);return{icon:k.makeMimeTypeIcon(d,a.response.statusText,c,a.response.redirectURL),rowClass:k.makeRowCssClasses(d),indicators:b,requestType:c,statusCode:d}}},{"../helpers/misc":4,"../helpers/parse":5,"./har-heuristics":11,"./har-tabs":12,"./helpers":14}],14:[function(a,b,c){"use strict";function d(a,b){void 0===b&&(b=!1);var c=function(a){return b?'class="'+(j.toCssClass(a)||"no-colour")+'"':""};return a.filter(function(a){return void 0!==a[1]}).map(function(a){return"\n <dt "+c(a[0])+">"+k.escapeHtml(a[0])+"</dt>\n <dd>"+k.escapeHtml(a[1])+"</dd>\n "}).join("")}function e(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"svg+xml"===c?"svg":"image";case"font":return"font";case"video":return"video";case"audio":return"audio"}switch(c){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";default:return"other"}}function f(a,b,c,d,e,f){return void 0===d&&(d=[]),{total:"number"!=typeof b||"number"!=typeof c?void 0:c-b,url:a,start:b,end:c,segments:d,responseDetails:e,tabs:f}}function g(a,b,c){return{total:"number"!=typeof b||"number"!=typeof c?void 0:c-b,type:k.sanitizeAlphaNumeric(a),start:b,end:c}}function h(a){var b=["row-item"];return j.isInStatusCodeRange(a,500,599)?b.push("status5xx"):j.isInStatusCodeRange(a,400,499)?b.push("status4xx"):304!==a&&j.isInStatusCodeRange(a,300,399)&&b.push("status3xx"),b.join(" ")}function i(a,b,c,d){if(void 0===d&&(d=""),d){var e=encodeURI(d.split("?")[0]||"");return l.makeIcon("err3xx",a+" response status: Redirect to "+k.escapeHtml(e)+"...")}return j.isInStatusCodeRange(a,400,499)?l.makeIcon("err4xx",a+" response status: "+k.escapeHtml(b)):j.isInStatusCodeRange(a,500,599)?l.makeIcon("err5xx",a+" response status: "+k.escapeHtml(b)):204===a?l.makeIcon("plain","No content"):l.makeIcon(k.sanitizeAlphaNumeric(c),k.escapeHtml(c))}Object.defineProperty(c,"__esModule",{value:!0});var j=a("../helpers/misc"),k=a("../helpers/parse"),l=a("../waterfall/row/svg-indicators");c.makeDefinitionList=d,c.mimeToRequestType=e,c.createWaterfallEntry=f,c.createWaterfallEntryTiming=g,c.makeRowCssClasses=h,c.makeMimeTypeIcon=i,c.flattenKvTuple=function(a){var b=[];return a.forEach(function(a){if(void 0!==a&&0!==a.length)return Array.isArray(a[0])?void b.push.apply(b,a):void b.push(a)}),b}},{"../helpers/misc":4,"../helpers/parse":5,"../waterfall/row/svg-indicators":20}],15:[function(a,b,c){"use strict";function d(a){return"block-"+a}function e(a){return"block-"+a}Object.defineProperty(c,"__esModule",{value:!0}),c.requestTypeToCssClass=d,c.timingTypeToCssClass=e},{}],16:[function(a,b,c){"use strict";function d(a,b,c){var d=document.createElement("html"),f=document.createElement("body");f.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),d.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/");var g=c.tabs.map(function(a){return'<li><button class="tab-button">'+a.title+"</button></li>"}).join("\n"),h=c.tabs.map(function(a){var c="tab";a.tabClass&&(c+=" "+a.tabClass);var d="";if(a.content)d=a.content;else{if("function"!=typeof a.renderContent)throw TypeError("Invalid Details Tab");d=a.renderContent(b),a.content=d}return'<div class="tab '+c+'">'+d+"</div>"}).join("\n");return f.innerHTML='\n <div class="wrapper">\n <header class="type-'+c.responseDetails.requestType+'">\n <h3><strong>#'+a+'</strong> <a href="'+e.sanitizeUrlForLink(c.url)+'">\n '+e.escapeHtml(c.url)+'\n </a></h3>\n <nav class="tab-nav">\n <ul>\n '+g+"\n </ul>\n </nav>\n </header>\n "+h+"\n </div>\n ",d.appendChild(f),d}Object.defineProperty(c,"__esModule",{value:!0});var e=a("../../helpers/parse");c.createDetailsBody=d},{"../../helpers/parse":5}],17:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=a("../../helpers/dom"),e=a("../../helpers/misc"),f=a("./svg-details-overlay"),g=function(){function a(a){this.context=a,this.openOverlays=[],this.realignRow=function(a,b){a.setAttribute("transform","translate(0, "+b+")")}}return a.prototype.getCombinedOverlayHeight=function(){return this.openOverlays.reduce(function(a,b){return a+b.height},0)},a.prototype.openOverlay=function(a,b,c,d,e){if(!this.openOverlays.some(function(b){return b.index===a})){var f=this,g={defaultY:b,entry:d,index:a,onClose:function(){f.closeOverlay(a,c,e)},openTabIndex:0};this.openOverlays.push(g),this.openOverlays=this.openOverlays.sort(function(a,b){return a.index>b.index?1:-1}),this.renderOverlays(c,e),this.context.pubSub.publishToOverlayChanges({changedIndex:a,combinedOverlayHeight:f.getCombinedOverlayHeight(),type:"open"})}},a.prototype.toggleOverlay=function(a,b,c,d,e){this.openOverlays.some(function(b){return b.index===a})?this.closeOverlay(a,c,e):this.openOverlay(a,b,c,d,e)},a.prototype.closeOverlay=function(a,b,c){var d=this;this.openOverlays.splice(this.openOverlays.reduce(function(b,c,d){return c.index===a?d:b},-1),1),this.renderOverlays(b,c),this.context.pubSub.publishToOverlayChanges({changedIndex:a,combinedOverlayHeight:d.getCombinedOverlayHeight(),type:"closed"})},a.prototype.renderOverlays=function(b,c){var g=this,h=0,i=function(a,b,c){h+=c,a.actualY=b,a.height=c},j=function(c,e){var g=e.defaultY+h,j=f.createRowInfoOverlay(e,g,b),k=j.querySelector("img.preview");k&&!k.src&&k.setAttribute("src",k.attributes.getNamedItem("data-src").value),j.querySelector("a").addEventListener("keydown",a.firstElKeypress),d.getLastItemOfNodeList(j.querySelectorAll("button")).addEventListener("keydown",a.lastElKeypress),c.appendChild(j),i(e,g,j.getBoundingClientRect().height)},k=function(b,c){var f=e.find(g.openOverlays,function(a){return a.index===c}),k=b.nextElementSibling.firstElementChild;if(g.realignRow(b,h),void 0===f)return void(k&&(b.nextElementSibling.querySelector("a").removeEventListener("keydown",a.firstElKeypress),d.getLastItemOfNodeList(b.nextElementSibling.querySelectorAll("button")).removeEventListener("keydown",a.lastElKeypress),d.removeChildren(b.nextElementSibling)));if(k){var l=k.querySelector(".info-overlay-bg"),m=k.querySelector("foreignObject"),n=k.querySelector(".info-overlay-close-btn rect"),o=k.querySelector(".info-overlay-close-btn text");return i(f,f.defaultY+h,f.height),l.setAttribute("y",f.actualY.toString()),m.setAttribute("y",f.actualY.toString()),o.setAttribute("y",f.actualY.toString()),void n.setAttribute("y",f.actualY.toString())}j(b.nextElementSibling,f)};c.forEach(k)},a}();g.showFullName=function(a){a.getElementsByClassName("row-fixed").item(0).dispatchEvent(new MouseEvent("mouseenter"))},g.firstElKeypress=function(a){if(e.isTabUp(a)){var b=d.getParentByClassName(a.target,"row-overlay-holder");b&&b.previousElementSibling&&g.showFullName(b.previousElementSibling)}},g.lastElKeypress=function(a){if(e.isTabDown(a)){var b=d.getParentByClassName(a.target,"row-overlay-holder");b&&b.nextElementSibling&&g.showFullName(b.nextElementSibling)}},c.OverlayManager=g,c.default=g},{"../../helpers/dom":1,"../../helpers/misc":4,"./svg-details-overlay":19}],18:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=function(){function a(){this.subscribers=[]}return a.prototype.subscribeToOverlayChanges=function(a){this.subscribers.push(a)},a.prototype.subscribeToSpecificOverlayChanges=function(a,b){this.subscribers.push(function(c){c.changedIndex===a&&b(c)})},a.prototype.publishToOverlayChanges=function(a){this.subscribers.forEach(function(b){return b(a)})},a}();c.PubSub=d,c.default=d},{}],19:[function(a,b,c){"use strict";function d(a){var b=h.newA("info-overlay-close-btn");return b.appendChild(h.newRect({height:23,width:23,x:"100%",y:a})),b.appendChild(h.newTextEl("✕",{dx:7,dy:16,x:"100%",y:a})),b.appendChild(h.newTitle("Close Overlay")),b}function e(a,b){var c=h.newG("info-overlay-holder"),d=h.newRect({height:b,rx:2,ry:2,width:"100%",x:"0",y:a},"info-overlay-bg");return c.appendChild(d),c}function f(a,b,c){var f=a.index+1,j=e(b,c),k=h.newForeignObject({height:c,width:"100%",x:"0",y:b}),l=d(b);l.addEventListener("click",function(){return a.onClose(a.index)});var m=i.createDetailsBody(f,c,a.entry),n=m.getElementsByClassName("tab-button"),o=m.getElementsByClassName("tab"),p=function(b){a.openTabIndex=b,g.forEachNodeList(o,function(a,c){a.style.display=b===c?"block":"none",n.item(c).classList.toggle("active",b===c)})};return g.forEachNodeList(n,function(a,b){a.addEventListener("click",function(){return p(b)})}),p(a.openTabIndex),k.appendChild(m),j.appendChild(k),j.appendChild(l),j}Object.defineProperty(c,"__esModule",{value:!0});var g=a("../../helpers/dom"),h=a("../../helpers/svg"),i=a("./html-details-body");c.createRowInfoOverlay=f},{"../../helpers/dom":1,"../../helpers/svg":6,"./html-details-body":16}],20:[function(a,b,c){"use strict";function d(a,b){return{type:a,title:b,width:20}}function e(a){var b=a.responseDetails.indicators;if(0===b.length)return[];var c=[],e="",g=b.filter(function(a){return"error"===a.type}),h=b.filter(function(a){return"warning"===a.type}),i=b.filter(function(a){return"error"!==a.type&&"warning"!==a.type});return g.length>0&&(c.push(f.pluralize("Error",g.length)+":\n "+g.map(function(a){return a.title}).join("\n")),e="error"),h.length>0&&(c.push(f.pluralize("Warning",h.length)+":\n"+h.map(function(a){return a.title}).join("\n")),e=e||"warning"),i.length>0&&(c.push("Info:\n"+i.map(function(a){return a.title}).join("\n")),e=e||1!==i.length?e||"info":i[0].icon||i[0].type),[d(e,c.join("\n"))]}Object.defineProperty(c,"__esModule",{value:!0});var f=a("../../helpers/misc");c.makeIcon=d,c.getIndicatorIcons=e},{"../../helpers/misc":4}],21:[function(a,b,c){"use strict";function d(a,b){var c=a.height-1,d=q.newRect({height:c,width:p.roundNumber(a.width/a.unit)+"%",x:p.roundNumber(a.x/a.unit)+"%",y:a.y},b);return a.label&&d.appendChild(q.newTitle(a.label)),a.showOverlay&&a.hideOverlay&&(d.addEventListener("mouseenter",a.showOverlay(a)),d.addEventListener("mouseleave",a.hideOverlay(a))),d}function e(a,b){return{cssClass:r.timingTypeToCssClass(a.type),height:b.height-6,hideOverlay:b.hideOverlay,label:a.type+" ("+Math.round(a.start)+"ms - "+Math.round(a.end)+"ms | total: "+Math.round(a.total)+"ms)",showOverlay:b.showOverlay,unit:b.unit,width:a.total,x:a.start||.001,y:b.y}}function f(a,b,c){var d=a.y+a.height/1.5,e=Math.round(b)+" ms",f=(a.x+a.width)/a.unit+1,g=q.newTextEl(e,{x:p.roundNumber(f)+"%",y:d});return f+8*e.length/500*100>100&&(f=c/a.unit-1,g=q.newTextEl(e,{x:p.roundNumber(f)+"%",y:d},{textAnchor:"end"})),g}function g(a,b,c){var g=d(a,"time-block "+a.cssClass),h=q.newG("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){return b+=Math.round(d/2)+5,a+=e,q.newTextEl(c,{x:a,y:b},{"text-anchor":"end"})}function i(a,b,c,d){var e=k(a,b,c,d);return e.style.clipPath="url(#titleClipPath)",e}function j(a,b,c,d){var e=k(a,b,c,d),f=q.newG("full-label",{},{clipPath:"url(#titleFullClipPath)"});return f.appendChild(q.newRect({height:d-4,rx:5,ry:5,width:500,x:a-3,y:b+3},"label-full-bg")),f.appendChild(e),f}function k(a,b,c,d){var e=p.resourceUrlFormatter(c,125);b=b+Math.round(d/2)+5;var f=q.newTextEl(e,{x:a,y:b});return f.appendChild(q.newTitle(c)),f.style.opacity=c.match(/js.map$/)?"0.5":"1",f}function l(a,b,c,d){var e=d.getElementsByTagName("rect")[0],f=d.getElementsByTagName("text")[0];d.style.display="none",d.style.visibility="hidden",a.appendChild(b),a.appendChild(c),a.appendChild(d);var g,h=!1;a.addEventListener("mouseenter",function(){d.style.display="block",c.style.display="none",d.style.visibility="visible";var a=function(){var a=f.getBBox().width+10;e.setAttribute("width",a.toString()),h=!0,g=void 0};h||(s?g=window.requestAnimationFrame(a):a())}),a.addEventListener("mouseleave",function(){c.style.display="block",d.style.display="none",d.style.visibility="hidden",s&&void 0!==g&&cancelAnimationFrame(g)})}function m(a,b,c){var d=c?"even":"odd";return q.newRect({height:b,width:"100%",x:0,y:a},d)}function n(a,b){var c=q.newG("row row-fixed");return c.appendChild(q.newRect({height:b,width:"100%",x:"0",y:a},"",{opacity:0})),c}function o(a,b){var c=q.newG("row row-flex");return c.appendChild(q.newRect({height:b,width:"100%",x:"0",y:a},"",{opacity:0})),c}Object.defineProperty(c,"__esModule",{value:!0});var p=a("../../helpers/misc"),q=a("../../helpers/svg"),r=a("../../transformers/styling-converters");c.createRect=g,c.createRequestNumberLabel=h,c.createRequestLabelClipped=i,c.createRequestLabelFull=j;var s="function"==typeof window.requestAnimationFrame&&"function"==typeof window.cancelAnimationFrame;c.appendRequestLabels=l,c.createBgStripe=m,c.createNameRowBg=n,c.createRowBg=o},{"../../helpers/misc":4,"../../helpers/svg":6,"../../transformers/styling-converters":15}],22:[function(a,b,c){"use strict";function d(a,b,c,d,m,n,o){var p=m.y,q=m.height,r=a.options.leftColumnWith,s=g.newA(n.responseDetails.rowClass);s.setAttribute("tabindex","0"),s.setAttribute("xlink:href","javascript:void(0)");var t=g.newSvg("left-fixed-holder",{width:r+"%",x:"0"}),u=g.newSvg("flex-scale-waterfall",{width:100-r+"%",x:r+"%"}),v=i.createRect(m,n.segments,n.total),w=i.createNameRowBg(p,q),x=i.createRowBg(p,q),y=i.createBgStripe(p,q,b%2==0),z=l+c;if(a.options.showMimeTypeIcon){var A=n.responseDetails.icon;z-=A.width,w.appendChild(e[A.type](z,p+3,A.title))}a.options.showIndicatorIcons&&h.getIndicatorIcons(n).forEach(function(a){z-=a.width,w.appendChild(e[a.type](z,p+3,a.title))}),z=l+c;var B=""+(b+1),C=i.createRequestNumberLabel(z,p,B,q,d);z+=d+4;var D=i.createRequestLabelClipped(z,p,f.resourceUrlFormatter(n.url,40),q),E=i.createRequestLabelFull(z,p,n.url,q);x.appendChild(v),i.appendRequestLabels(w,C,D,E),a.pubSub.subscribeToSpecificOverlayChanges(b,function(a){F="open"===a.type}),b>0&&a.pubSub.subscribeToSpecificOverlayChanges(b-1,function(a){G="open"===a.type});var F,G;return s.addEventListener("click",function(a){a.preventDefault(),o(a)}),s.addEventListener("keydown",function(a){return 32===a.which||13===a.which?(a.preventDefault(),o(a)):f.isTabUp(a)&&!G&&b>0?void s.previousSibling.previousSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter")):f.isTabDown(a)&&!F?void(s.nextSibling&&s.nextSibling.nextSibling&&s.nextSibling.nextSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter"))):void 0}),s.addEventListener("focusout",function(){w.dispatchEvent(new MouseEvent("mouseleave"))}),u.appendChild(x),t.appendChild(j.cloneNode(!0)),t.appendChild(w),s.appendChild(k.cloneNode(!0)),s.appendChild(y),s.appendChild(u),s.appendChild(t),s}Object.defineProperty(c,"__esModule",{value:!0});var e=a("../../helpers/icons"),f=a("../../helpers/misc"),g=a("../../helpers/svg"),h=a("./svg-indicators"),i=a("./svg-row-subcomponents"),j=g.newClipPath("titleClipPath");j.appendChild(g.newRect({height:"100%",width:"100%"}));var k=g.newClipPath("titleFullClipPath");k.appendChild(g.newRect({height:"100%",width:"100%"}));var l=3;c.createRow=d},{"../../helpers/icons":3,"../../helpers/misc":4,"../../helpers/svg":6,"./svg-indicators":20,"./svg-row-subcomponents":21}],23:[function(a,b,c){"use strict";function d(a){return{endline:g.newLine({x1:"0",x2:"0",y1:"0",y2:a},"line-end"),startline:g.newLine({x1:"0",x2:"0",y1:"0",y2:a},"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")}}}}Object.defineProperty(c,"__esModule",{value:!0});var f=a("../../helpers/dom"),g=a("../../helpers/svg");c.createAlignmentLines=d,c.makeHoverEvtListeners=e},{"../../helpers/dom":1,"../../helpers/svg":6}],24:[function(a,b,c){"use strict";function d(a,b){for(var c=f.newG("time-scale full-width"),d=200*Math.ceil(b/1e4),e=1e3/d,h=b/1e3,i=b/d,j=0;j<=i;j++){g(a,c,h,j/e,j%e<1e-9)}return c}Object.defineProperty(c,"__esModule",{value:!0});var e=a("../../helpers/misc"),f=a("../../helpers/svg"),g=function(a,b,c,d,g){void 0===g&&(g=!1);var h,i=a.diagramHeight,j=100/c,k="sub-second-line";if(g){var l=d>c-.2;k="second-line";var m=e.roundNumber(j*d)+.5+"%",n={};l&&(m=e.roundNumber(j*d)-.5+"%",n["text-anchor"]="end"),h=f.newTextEl(d+"s",{x:m,y:i},n)}var o=e.roundNumber(j*d)+"%",p=f.newLine({x1:o,x2:o,y1:0,y2:i},k);a.pubSub.subscribeToOverlayChanges(function(a){var b=a.combinedOverlayHeight,c=(i+b)/i;p.setAttribute("transform","scale(1, "+c+")"),g&&h.setAttribute("transform","translate(0, "+b+")")}),b.appendChild(p),g&&b.appendChild(h)};c.createTimeScale=d},{"../../helpers/misc":4,"../../helpers/svg":6}],25:[function(a,b,c){"use strict";function d(a,b){var c=a.diagramHeight,d=h.newG("marker-holder",{transform:"scale(1, 1)"});return b.forEach(function(i,j){var k=g.roundNumber(i.startTime/a.unit),l=h.newG("mark-holder type-"+i.name.toLowerCase().replace(/([0-9]+[ ]?ms)|\W/g,"")),m=h.newG("line-holder"),n=h.newG("line-label-holder"),o=h.newTextEl(i.name,{x:k+"%",y:c+25});o.setAttribute("writing-mode","tb");var p;i.x=k;var q=h.newLine({x1:k+"%",x2:k+"%",y1:0,y2:c}),r=b[j-1];r&&i.x-r.x<2.5&&(o.setAttribute("x",r.x+2.5+"%"),i.x=r.x+2.5);var s=h.newLine({x1:k+"%",x2:i.x+"%",y1:c,y2:c+23});m.appendChild(q),m.appendChild(s),i.duration&&(p=e(a,i),m.appendChild(p)),a.pubSub.subscribeToOverlayChanges(function(a){var b=a.combinedOverlayHeight,d=(c+b)/c;q.setAttribute("transform","scale(1, "+d+")"),n.setAttribute("transform","translate(0, "+b+")"),s.setAttribute("transform","translate(0, "+b+")"),p&&p.setAttribute("transform","translate(0, "+b+")")});var t=!1,u=!1,v=function(){t||(l.parentNode.appendChild(l),t=!0,"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(function(){return f.addClass(m,"active")}):f.addClass(m,"active"))},w=function(){t=!1,u||f.removeClass(m,"active")},x=function(){u?(t=!1,f.removeClass(m,"active")):t?t=!1:f.addClass(m,"active"),u=!u};o.addEventListener("mouseenter",v),o.addEventListener("mouseleave",w),o.addEventListener("click",x),n.appendChild(o),l.appendChild(h.newTitle(i.name)),l.appendChild(m),l.appendChild(n),d.appendChild(l)}),d}function e(a,b){var c=h.newG("line-mark-holder line-marker-"+g.toCssClass(b.name));return c.appendChild(h.newTitle(b.name.replace(/^startTimer-/,""))),c.appendChild(h.newRect({height:a.diagramHeight,width:(b.duration||1)/a.unit+"%",x:(b.startTime||.001)/a.unit+"%",y:0},"line-mark")),c}Object.defineProperty(c,"__esModule",{value:!0});var f=a("../../helpers/dom"),g=a("../../helpers/misc"),h=a("../../helpers/svg");c.createMarks=d,c.createLineRect=e},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6}],26:[function(a,b,c){"use strict";function d(a){for(var b=Math.floor(Math.log(a)/Math.LN10)+1,c="",d=0;d<b;d++)c+="0";return c}function e(a,b){var c=a.reduce(function(a,b){var c={x:0,y:0};return Math.max(a,h.getNodeTextWidth(h.newTextEl(b.name,c),!0))},0);return Math.floor(b+c+35)}function f(a,b,c){var d=a.durationMs/100,e=(c.length+1)*b.rowHeight,f={diagramHeight:e,overlayManager:void 0,pubSub:new k.PubSub,unit:d,options:b};return f.overlayManager=new j.default(f),f}function g(a,b){function c(){return t+s.overlayManager.getCombinedOverlayHeight()}function g(a,c){var d=a.total||1,e=b.rowHeight*c,f=a.start||.001,g={cssClass:i.requestTypeToCssClass(a.responseDetails.requestType),height:b.rowHeight,hideOverlay:b.showAlignmentHelpers?k.onMouseLeavePartial:void 0,label:a.url+" ("+Math.round(a.start)+"ms - "+Math.round(a.end)+"ms | total: "+Math.round(a.total)+"ms)",showOverlay:b.showAlignmentHelpers?k.onMouseEnterPartial:void 0,unit:s.unit,width:d,x:f,y:e},j=function(){s.overlayManager.toggleOverlay(c,e+b.rowHeight,450,a,D)},m=l.createRow(s,c,A,C,g,a,j);D.push(m),r.appendChild(m),r.appendChild(h.newG("row-overlay-holder"))}var j,k,p=a.entries.filter(function(a){return"number"==typeof a.start&&"number"==typeof a.total}).sort(function(a,b){return(a.start||0)-(b.start||0)}),q=h.newG("overlays"),r=h.newG("rows-holder"),s=f(a,b,p),t=e(a.marks,s.diagramHeight),u=h.newSvg("water-fall-chart",{height:t}),v=h.newSvg("scale-and-marks-holder",{width:100-b.leftColumnWith+"%",x:b.leftColumnWith+"%"});if(b.showAlignmentHelpers){j=h.newG("hover-overlays");var w=m.createAlignmentLines(s.diagramHeight);j.appendChild(w.startline),j.appendChild(w.endline),k=m.makeHoverEvtListeners(w)}v.appendChild(n.createTimeScale(s,a.durationMs)),v.appendChild(o.createMarks(s,a.marks));var x=p[0].responseDetails.icon.width,y=0;if(b.showMimeTypeIcon&&(y+=1),b.showIndicatorIcons){var z=p.map(function(a){return a.responseDetails.indicators.length>0?1:0});y+=Math.max.apply(null,z)}var A=y*x,B=d(p.length),C=h.getNodeTextWidth(h.newTextEl(""+B),!0),D=[];return s.pubSub.subscribeToOverlayChanges(function(){var a=c();u.classList.toggle("closing",a<u.clientHeight),u.style.height=a+"px"}),p.forEach(g),b.showAlignmentHelpers&&v.appendChild(j),u.appendChild(v),u.appendChild(r),u.appendChild(q),u}Object.defineProperty(c,"__esModule",{value:!0});var h=a("../helpers/svg"),i=a("../transformers/styling-converters"),j=a("./details-overlay/overlay-manager"),k=a("./details-overlay/pub-sub"),l=a("./row/svg-row"),m=a("./sub-components/svg-alignment-helper"),n=a("./sub-components/svg-general-components"),o=a("./sub-components/svg-marks");c.createWaterfallSvg=g},{"../helpers/svg":6,"../transformers/styling-converters":15,"./details-overlay/overlay-manager":17,"./details-overlay/pub-sub":18,"./row/svg-row":22,"./sub-components/svg-alignment-helper":23,"./sub-components/svg-general-components":24,"./sub-components/svg-marks":25}]},{},[8])(8)}); | ||
!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||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){var c=a.classList;return c?b.split(" ").forEach(function(a){return c.add(a)}):a.setAttribute("class",a.getAttribute("class")+" "+b),a}function e(a,b){var c=a.classList;return c?c.remove(b):a.setAttribute("class",a.getAttribute("class").replace(new RegExp("(\\s|^)"+b+"(\\s|$)","g"),"$2")),a}function f(a,b){if(void 0!==a.parentElement)return a.parentElement.classList.contains(b)?a.parentElement:f(a.parentElement,b)}function g(a){for(;a.hasChildNodes();)a.removeChild(a.lastChild);return a}function h(a){if(a&&0!==a.length)return a.item(a.length-1)}function i(a,b){Array.prototype.forEach.call(a,b)}Object.defineProperty(c,"__esModule",{value:!0}),c.addClass=d,c.removeClass=e,c.getParentByClassName=f,c.removeChildren=g,c.getLastItemOfNodeList=h,c.forEachNodeList=i},{}],2:[function(a,b,c){"use strict";function d(a,b){var c=g(b.toLowerCase());return a.some(c)}function e(a,b){var c,d=g(b.toLowerCase());return c=h?a.find(d):a.map(d).pop(),c?c.value:void 0}function f(a,b){var c=g(b.toLowerCase());return a.filter(c).map(function(a){return[b,a.value]})}Object.defineProperty(c,"__esModule",{value:!0});var g=function(a){return function(b){return b.name.toLowerCase()===a}};c.hasHeader=d;var h=!!Array.prototype.find;c.getHeader=e,c.getHeaders=f},{}],3:[function(a,b,c){"use strict";function d(a,b,c,d){if(void 0===d&&(d=1),void 0===v){v=w.newPath("M18 6.216v2.77q0 .28-.206.486-.205.206-.486.206h-.693q-.28 0-.486-.206-.21-.205-.21\n -.487v-2.77q0-1.145-.81-1.957-.813-.81-1.96-.81-1.146 0-1.957.81-.81.812-.81 1.958v2.077h1.037q.434\n 0 .737.303.302.303.302.736v6.23q0 .433-.305.736t-.737.303H1.038q-.433 0-.736-.3Q0 15.996 0\n 15.56V9.33q0-.433.303-.736t.735-.303h7.27V6.218q0-2 1.422-3.423 1.423-1.423 3.424-1.423 2\n 0 3.424 1.424Q18 4.214 18 6.216")}return x(a,b,c,"icon-no-tls",d,v.cloneNode(!1))}function e(a,b,c,d){if(void 0===d&&(d=1),void 0===y){y=w.newPath("M17 2.333V7q0 .27-.198.47-.198.197-.47.197h-4.665q-.438 0-.615-.417-.177-.406.146-.72l1.437-1.436Q11.095\n 3.667 9 3.667q-1.083 0-2.068.422-.984.42-1.703 1.14-.72.715-1.14 1.7-.426.984-.426 2.07 0 1.08.422 2.065.42.984\n 1.14 1.703.718.72 1.702 1.14.984.422 2.067.422 1.24 0 2.344-.54 1.104-.543 1.864-1.533.073-.105.24-.126.146 0\n .26.095l1.427 1.436q.095.084.1.214.006.13-.08.234-1.133 1.376-2.75 2.13Q10.793 17 9 17q-1.625\n 0-3.104-.635-1.48-.636-2.552-1.71-1.073-1.072-1.71-2.55Q1 10.625 1 9t.635-3.104q.636-1.48 1.71-2.552\n 1.072-1.073 2.55-1.71Q7.375 1 9 1q1.53 0 2.964.578 1.432.578 2.546\n 1.63l1.355-1.343q.302-.323.73-.146.405.173.405.61z")}return x(a,b,c,"icon-redirect",d,y.cloneNode(!1))}function f(a,b,c,d){return void 0===d&&(d=1),o(a,b,c,d)}function g(a,b,c,d){return void 0===d&&(d=1),o(a,b,c,d)}function h(a,b,c,d){if(void 0===d&&(d=1),void 0===z){z=w.newPath("M15.247 4.393q.25.25.43.678.177.43.177.79v10.287q0\n .357-.25.607t-.607.25h-12q-.357 0-.607-.25t-.25-.606V1.858q0-.358.25-.608T2.997 1h8q.357 0\n .786.18.428.177.678.427zm-3.964-2.18V5.57h3.357q-.09-.256-.196-.364L11.65 2.41q-.108-.106-.367\n -.196zm3.428 13.644V6.714H11q-.357 0-.607-.25t-.25-.607V2.143h-6.86v13.714H14.71zM5.57\n 8.143q0-.125.08-.205.08-.08.204-.08h6.286q.125 0 .205.08.08.08.08.205v.57q0 .126-.08.207-.08.08\n -.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.206v-.57zm6.57 2q.125 0 .205.08.08.08.08.206V11q0\n .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205-.08-.08-.08-.08-.205v-.57q0-.126.08-.207.08-.08.2\n -.08h6.286zm0 2.286q.125 0 .205.08.08.08.08.2v.572q0 .125-.08.205-.08.08-.205.08H5.854q-.125 0-.205\n -.08-.08-.08-.08-.205v-.572q0-.124.08-.204.08-.08.2-.08h6.286z")}return x(a,b,c,"icon-plain",d,z.cloneNode(!1))}function i(a,b,c,d){if(void 0===d&&(d=1),void 0===A){A=w.newPath("M10.8 13.5v3q0 .2-.15.35-.15.15-.35.15h-3q-.2 0-.35-.15-.15-.15-.15-.35v-3q0-.2.15-.35.15\n -.15.35-.15h3q.2 0 .35.15.15.15.15.35zM14.75 6q0 .675-.193 1.262-.193.588-.437.957-.244.365\n -.688.74-.443.375-.718.543-.275.17-.763.444-.51.286-.852.81-.344.526-.344.84 0 .21-.15.405-.15.194\n -.35.194h-3q-.186 0-.318-.23-.13-.234-.13-.47v-.564q0-1.037.812-1.956.812-.917 1.787-1.355.74-.336\n 1.05-.7.314-.362.314-.95 0-.524-.583-.924-.58-.4-1.343-.4-.814 0-1.35.362-.44.312-1.34 1.437-.16.2\n -.386.2-.15 0-.313-.1L3.4 4.987q-.16-.124-.193-.312-.03-.188.07-.35Q5.277 1 9.077 1q1 0 2.01.387\n 1.01.388 1.825 1.038.812.65 1.325 1.594.51.94.51 1.98z")}return x(a,b,c,"icon-other",d,A.cloneNode(!1))}function j(a,b,c,d){if(void 0===d&&(d=1),void 0===B){B=w.newPath("M13.516 2.9c-2.766 0-4.463 1.522-4.463 3.536 0 1.733 1.295 2.82 3.256 3.52\n 1.413.49 1.973.926 1.973 1.644 0 .787-.647 1.296-1.873 1.296-1.137 0-2.26-.368-2.96-.736l-.54\n 2.19c.665.367 1.996.734 3.344.734 3.238 0 4.744-1.68 4.744-3.658\n 0-1.68-.966-2.767-3.05-3.537-1.54-.6-2.186-.93-2.186-1.68 0-.6.56-1.14 1.714-1.14\n 1.137 0 1.996.33 2.45.56l.596-2.138c-.7-.332-1.663-.596-3.01-.596zm-9.032.192v7.44c0\n 1.822-.702 2.33-1.822 2.33-.525 0-.997-.09-1.365-.212L1 14.805c.525.175 1.33.28 1.96.28\n 2.574 0 4.185-1.173 4.185-4.534V3.097h-2.66z")}return x(a,b,c,"icon-js",d,B.cloneNode(!1))}function k(a,b,c,d){if(void 0===d&&(d=1),void 0===C){C=w.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return x(a,b,c,"icon-image",d,C.cloneNode(!1))}function l(a,b,c,d){return void 0===d&&(d=1),k(a,b,c,d)}function m(a,b,c,d){if(void 0===d&&(d=1),void 0===D){D=w.newPath("M5.626 13.31l-.492.492q-.098.098-.226.098t-.226-.098L.098 9.22Q0 9.12 0\n 8.99q0-.127.098-.226L4.682 4.18q.098-.097.226-.097t.226.098l.492.49q.1.1.1.23t-.1.23L1.76\n 8.99l3.866 3.866q.1.098.1.226t-.1.226zM11.44 2.815l-3.67\n 12.7q-.04.127-.152.19-.113.065-.23.026l-.61-.162q-.13-.04-.193-.152-.064-.112-.024-.24l3.67-12.698q.04\n -.128.157-.192.113-.064.23-.025l.61.167q.13.04.193.152.063.113.023.24zM17.9\n 9.22l-4.582 4.58q-.098.098-.226.098t-.226-.098l-.492-.492q-.1-.098-.1-.226t.1-.226L16.24\n 8.99l-3.867-3.865q-.1-.098-.1-.226t.1-.23l.492-.49q.098-.1.226-.1t.23.1l4.58 4.583q.1.1.1.226 0 .13-.1.23z")}return x(a,b,c,"icon-html",d,D.cloneNode(!1))}function n(a,b,c,d){if(void 0===d&&(d=1),void 0===E){E=w.newPath("M15.436.99q.625 0 1.095.416.47.415.47 1.04 0 .564-.4 1.35-2.97 5.624-4.16 6.724-.865.814\n -1.946.814-1.127 0-1.935-.827-.81-.827-.81-1.962 0-1.144.822-1.895l5.705-5.175Q14.8.99\n 15.435.99zM7.31 10.232q.35.68.953 1.162.603.483 1.345.68l.01.634q.035 1.904-1.16 3.102-1.192\n 1.198-3.114 1.198-1.1 0-1.948-.416-.85-.415-1.364-1.14-.514-.723-.773-1.635Q1 12.905 1\n 11.85l.366.268q.304.224.555.398.25.175.53.327.277.15.41.15.368 0 .493-.33.224-.59.515-1.005.29\n -.415.62-.68.332-.263.788-.424.455-.16.92-.228.465-.066 1.118-.094z")}return x(a,b,c,"icon-css",d,E.cloneNode(!1))}function o(a,b,c,d){if(void 0===d&&(d=1),void 0===F){F=w.newPath("M6 6q0 .75-.525 1.275Q4.95 7.8 4.2 7.8q-.75 0-1.275-.525Q2.4 6.75 2.4\n 6q0-.75.525-1.275Q3.45 4.2 4.2 4.2q.75 0 1.275.525Q6 5.25 6 6zm9.6 3.6v4.2H2.4V12l3-3\n 1.5 1.5 4.8-4.8zm.9-6.6h-15q-.122 0-.21.09-.09.088-.09.21v11.4q0\n .122.09.21.088.09.21.09h15q.122 0 .21-.09.09-.088.09-.21V3.3q0-.122-.09-.21Q16.623\n 3 16.5 3zm1.5.3v11.4q0 .62-.44 1.06-.44.44-1.06.44h-15q-.62 0-1.06-.44Q0 15.32 0\n 14.7V3.3q0-.62.44-1.06.44-.44 1.06-.44h15q.62 0 1.06.44.44.44.44 1.06z")}return x(a,b,c,"icon-warning",d,F.cloneNode(!1))}function p(a,b,c,d){if(void 0===d&&(d=1),void 0===G){G=w.newPath("M9 1q2.177 0 4.016 1.073 1.838 1.073 2.91 2.91Q17 6.823 17 9q0 2.177-1.073 4.016-1.073\n 1.838-2.91 2.91Q11.177 17 9 17q-2.177 0-4.016-1.073-1.838-1.073-2.91-2.91Q1 11.177 1 9q0-2.177 1.073-4.016\n 1.073-1.838 2.91-2.91Q6.823 1 9 1zm1.333 12.99v-1.98q0-.145-.093-.244-.094-.1-.23-.1h-2q-.135 0-.24.105\n -.103.106-.103.24v1.98q0 .136.104.24.106.104.24.104h2q.137 0 .23-.1.094-.098.094-.243zm-.02-3.584l.187\n -6.468q0-.125-.104-.188-.104-.084-.25-.084H7.854q-.146 0-.25.084-.104.062-.104.188l.177 6.468q0\n .104.104.183.106.076.25.076h1.93q.146 0 .245-.078.1-.08.11-.184z")}return x(a,b,c,"icon-no-gzip",d,G.cloneNode(!1))}function q(a,b,c,d){if(void 0===d&&(d=1),void 0===H){H=w.newPath("M7.97 5.754L6.338 10.08q.317 0 1.312.02.994.02 1.542.02.183 0 .548-.02-.836-2.432-1.77\n -4.345zM1 16.38l.02-.76q.22-.068.538-.12.317-.053.548-.102.23-.048.476-.14.245-.09.428-.278.182\n -.187.298-.485l2.28-5.923 2.69-6.962H9.51q.077.135.105.202l1.972 4.615q.317.75 1.02 2.476.7 1.726\n 1.095 2.64.144.327.558 1.39.413 1.062.692 1.62.192.432.336.547.183.145.847.284.663.14.807.197.058.37.058.55\n 0 .04-.005.13t-.005.128q-.605 0-1.827-.076-1.22-.08-1.836-.08-.73 0-2.067.07-1.337.067-1.712.076 0-.412.04\n -.75l1.258-.27q.01 0 .12-.022l.15-.033q.038-.01.14-.044.1-.034.143-.06l.1-.08q.06-.048.082-.106.024-.056.024\n -.133 0-.152-.298-.926t-.693-1.71q-.392-.93-.402-.96l-4.325-.02q-.25.56-.734 1.88-.487 1.32-.487 1.56 0\n .213.136.362.134.15.418.235.285.087.467.13.185.044.55.08.366.04.395.04.01.183.01.558 0 .087-.02.26-.558\n 0-1.678-.095-1.12-.098-1.678-.098-.08 0-.26.04-.18.037-.208.037-.77.136-1.808.136Z")}return x(a,b,c,"icon-font",d,H.cloneNode(!1))}function r(a,b,c,d){if(void 0===d&&(d=1),void 0===I){I=w.newPath("M13.724 4.738q.195.216.076.476L7.96 17.73q-.142.27-.456.27-.043 0-.15-.022-.185-.054-.277\n -.205-.092-.15-.05-.325l2.132-8.74L4.765 9.8q-.044.01-.13.01-.195 0-.336-.118-.193-.162-.14-.422L6.337.346q.043\n -.15.173-.25Q6.64 0 6.81 0h3.548q.206 0 .346.135.14.135.14.32 0 .086-.053.194L8.94 5.654l4.285\n -1.06q.086-.02.13-.02.205 0 .367.16z")}return x(a,b,c,"icon-flash",d,I.cloneNode(!1))}function s(a,b,c,d){if(void 0===d&&(d=1),void 0===J){J=w.newPath("M17 4.107v9.714q0 .38-.348.53-.116.05-.223.05-.25 0-.41-.17l-3.6-3.6v1.48q0 1.067-.757 1.82-.754.756\n -1.817.756H3.57q-1.06 0-1.816-.753Q1 13.17 1 12.106V5.82q0-1.06.754-1.816.755-.754 1.817-.754h6.29q1.07 0\n 1.82.754.76.755.76 1.817V7.3l3.597-3.59q.16-.17.4-.17.107 0 .22.045.35.153.35.528z")}return x(a,b,c,"icon-video",d,J.cloneNode(!1))}function t(a,b,c,d){if(void 0===d&&(d=1),void 0===K){K=w.newPath("M8.385 3.756v10.46q0 .252-.183.434-.183.183-.433.183t-.44-.183l-3.2-3.202H1.61q-.25\n 0-.43-.183-.18-.182-.18-.432V7.14q0-.25.182-.432.182-.183.432-.183h2.52l3.202-3.202q.182-.183.432\n -.183t.43.183q.182.183.182.433zm3.692 5.23q0 .73-.41 1.36-.407.63-1.08.9-.097.048-.24.048-.25 0\n -.434-.178-.182-.177-.182-.437 0-.21.12-.35.12-.14.28-.24.16-.1.33-.22.166-.12.28-.34.117-.22.117\n -.55 0-.33-.115-.55-.115-.224-.28-.344-.163-.12-.326-.22-.165-.1-.28-.24-.116-.14-.116-.34 0-.26.183\n -.44t.43-.176q.146 0 .24.048.676.26 1.08.894.41.636.41 1.367zm2.46 0q0 1.472-.816 2.717t-2.16 1.813q\n -.12.048-.24.048-.26 0-.44-.183-.18-.18-.18-.43 0-.37.378-.56.54-.28.73-.42.713-.52 1.11-1.302.4\n -.783.4-1.667 0-.886-.4-1.67-.4-.783-1.11-1.303-.192-.145-.73-.424-.376-.192-.376-.567 0-.25.183\n -.434.183-.18.433-.18.123 0 .25.047 1.344.567 2.16 1.812.82 1.244.82 2.716zm2.463 0q0 2.212\n -1.22 4.063-1.222 1.85-3.25 2.72-.126.05-.25.05-.25 0-.434-.19-.183-.183-.183-.433 0-.346.375\n -.568.068-.04.217-.1.15-.064.216-.1.45-.244.79-.494 1.19-.875 1.85-2.183.67-1.306.67-2.777 0\n -1.47-.663-2.78-.664-1.304-1.846-2.18-.346-.25-.79-.49-.065-.035-.214-.1-.15-.06-.22-.1\n -.375-.22-.375-.57 0-.25.183-.43.183-.182.433-.182.123 0 .25.047 2.027.876 3.25 2.727Q17 6.775 17 8.99Z")}return x(a,b,c,"icon-audio",d,K.cloneNode(!1))}function u(a,b,c,d){if(void 0===d&&(d=1),void 0===L){L=w.newPath("M14.668 9q0 .416-.285.7L9.37 14.716Q9.067 15 8.667 15q-.393 0-.694-.285l-.577\n -.578q-.293-.292-.293-.7 0-.41.293-.7l2.256-2.258H4.23q-.4 0-.65-.29t-.25-.698v-.986q0-.408.25\n -.697.25-.29.65-.29h5.423L7.397 5.257q-.293-.278-.293-.693 0-.416.293-.694l.577-.576Q8.267 3 8.668\n 3q.408 0 .7.293l5.015 5.014q.285.27.285.693z")}return x(a,b,c,"icon-push",d,L.cloneNode(!1))}Object.defineProperty(c,"__esModule",{value:!0});var v,w=a("./svg"),x=function(a,b,c,d,e,f){var g=w.newSvg("",{x:a,y:b}),h=w.newG("icon "+d,{transform:"scale("+e+")"});return h.appendChild(f),h.appendChild(w.newTitle(c)),g.appendChild(h),g};c.noTls=d;var y;c.err3xx=e,c.err4xx=f,c.err5xx=g;var z;c.plain=h;var A;c.other=i;var B;c.javascript=j;var C;c.image=k,c.svg=l;var D;c.html=m;var E;c.css=n;var F;c.warning=o;var G;c.error=p;var H;c.font=q;var I;c.flash=r;var J;c.video=s;var K;c.audio=t;var L;c.push=u},{"./svg":6}],4:[function(a,b,c){"use strict";function d(a){var b=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),c=a.match(b);return{authority:c[4],fragment:c[9],path:c[5],query:c[7],scheme:c[2]}}function e(a,b){return a.some(function(a){return a===b})}function f(a,b){var c=0;if(a&&!(a.length<1))for(var d=a.length;c<d;){if(b(a[c],c))return c;c++}}function g(a,b){var c=f(a,b);if(void 0!==c)return a[c]}function h(a,b){if(a.length<b)return a.replace(/https?:\/\//,"");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 i(a,b){return void 0===b&&(b=2),Math.round(a*Math.pow(10,b))/Math.pow(10,b)}function j(a,b,c){return a>=b&&a<=c}function k(a){return a.toLowerCase().replace(o,"")}function l(a,b){return a+(b>1?"s":"")}function m(a){return 9===a.which&&a.shiftKey}function n(a){return 9===a.which&&!a.shiftKey}Object.defineProperty(c,"__esModule",{value:!0}),c.contains=e,c.findIndex=f,c.find=g,c.resourceUrlFormatter=h,c.roundNumber=i,c.isInStatusCodeRange=j;var o=/[^a-z-]/g;c.toCssClass=k,c.pluralize=l,c.isTabUp=m,c.isTabDown=n},{}],5:[function(a,b,c){"use strict";function d(a,b,c){if(void 0===b&&(b=e),void 0===c&&(c=f),void 0!==a){var d=b(a);if(void 0!==d)return c(d)}}function e(a){return a}function f(a){if("function"==typeof a.toString)return a.toString();throw TypeError("Can't convert type ${typeof source} to string")}function g(a){return a.trim().length>0?a:void 0}function h(a){var b=new Date(a);if(!isNaN(b.getTime()))return b}function i(a){return k(a,function(a){return a>=0})}function j(a){return k(a,function(a){return a>0})}function k(a,b){var c=function(a){return b(a)?a:void 0};if("string"==typeof a){var d=parseInt(a,10);if(!isFinite(d))return;return c(d)}return c(a)}function l(a){return u.roundNumber(a,3)+" ms"}function m(a){var b=u.roundNumber(a,3)+" s";return a>x?b+" (~"+u.roundNumber(a/x,0)+" days)":a>w?b+" (~"+u.roundNumber(a/w,0)+" hours)":a>v?b+" (~"+u.roundNumber(a/v,0)+" minutes)":b}function n(a){return a.toUTCString()+"</br>(local time: "+a.toLocaleString()+")"}function o(a){var b=a+" bytes";return a>=z?b+" (~"+u.roundNumber(a/z,1)+" MB)":a>=y?b+" (~"+u.roundNumber(a/y,0)+" kB)":b}function p(a){if(void 0===a&&(a=""),"string"!=typeof a){if("function"!=typeof a.toString)throw TypeError("Invalid parameter");a=a.toString()}return a.replace(B,function(a){return A[a]})}function q(a){var b=a.replace(C,"_");return 0===b.indexOf("http://")||0===b.indexOf("https://")?b:(console.warn("skipped link, due to potentially unsafe url",a),"")}function r(a){return a.toString().replace(D,"")}function s(a){return"number"==typeof a?a:"string"==typeof a?parseInt(a,10):void 0}function t(a){var b=function(b){if(a[b]=s(a[b]),void 0===a[b])throw TypeError('option "'+b+'" needs to be a number')},c=function(b){a[b]=!!a[b]};return b("leftColumnWith"),b("rowHeight"),b("selectedPage"),c("showAlignmentHelpers"),c("showIndicatorIcons"),c("showMimeTypeIcon"),a}Object.defineProperty(c,"__esModule",{value:!0});var u=a("./misc");c.parseAndFormat=d,c.parseNonEmpty=g,c.parseDate=h,c.parseNonNegative=i,c.parsePositive=j,c.formatMilliseconds=l;var v=60,w=60*v,x=24*w;c.formatSeconds=m,c.formatDateLocalized=n;var y=1024,z=1024*y;c.formatBytes=o;var A={'"':""","&":"&","'":"'","<":"<",">":">"},B=new RegExp(Object.keys(A).join("|"),"g");c.escapeHtml=p;var C=new RegExp("[^-A-Za-z0-9+&@#/%?=~_|!:,.;()]","g");c.sanitizeUrlForLink=q;var D=new RegExp("[^a-zA-Z0-9]","g");c.sanitizeAlphaNumeric=r,c.toInt=s,c.validateOptions=t},{"./misc":4}],6:[function(a,b,c){"use strict";function d(a){for(var b=[],c=0,d=Object.keys(a);c<d.length;c++){var e=d[c];b.push([e,String(a[e])])}return b}function e(a,b,c){b in a||console.warn(new Error("Trying to set non-existing attribute "+b+" = "+c+" on a <"+a.tagName.toLowerCase()+">.")),a.setAttributeNS(null,b,c)}function f(a,b,c){b in a.style?a.style[b]=c:console.warn(new Error("Trying to set non-existing style "+b+" = "+c+" on a <"+a.tagName.toLowerCase()+">."))}function g(a,b){var c=void 0===b?{}:b,g=c.attributes,h=void 0===g?{}:g,i=c.css,j=void 0===i?{}:i,k=c.text,l=void 0===k?"":k,m=c.className,n=void 0===m?"":m,o=document.createElementNS(t,a);return n&&s.addClass(o,n),l&&(o.textContent=l),d(j).forEach(function(a){var b=a[0],c=a[1];return f(o,b,c)}),d(h).forEach(function(a){var b=a[0],c=a[1];return e(o,b,c)}),o}function h(a,b,c){return void 0===c&&(c={}),g("svg",{className:a,attributes:b,css:c})}function i(a,b,c){return void 0===b&&(b={}),void 0===c&&(c={}),g("g",{className:a,attributes:b,css:c})}function j(a){return g("clipPath",{attributes:{id:a}})}function k(a){return g("foreignObject",{attributes:a})}function l(a){return g("a",{className:a})}function m(a,b,c){return void 0===b&&(b=""),void 0===c&&(c={}),g("rect",{attributes:a,className:b,css:c})}function n(a,b){return void 0===b&&(b=""),g("line",{className:b,attributes:a})}function o(a){var b=document.createElementNS(t,"title");return b.setAttribute("text",a),b}function p(a,b,c){return void 0===b&&(b={}),void 0===c&&(c={}),g("text",{text:a,attributes:b,css:c})}function q(a){var b=document.createElementNS(t,"path");return b.setAttribute("d",a),b}function r(a,b){void 0===b&&(b=!1);var c,d,e=u();b?(d=a.style.textShadow,c=a):(c=a.cloneNode(!0),c.setAttribute("x","0"),c.setAttribute("y","0")),c.style.textShadow="0",e.appendChild(c),window.document.body.appendChild(e);var f=c.getBBox().width;return b&&void 0!==d&&(a.style.textShadow=d),f}Object.defineProperty(c,"__esModule",{value:!0});var s=a("./dom"),t="http://www.w3.org/2000/svg";c.newSvg=h,c.newG=i,c.newClipPath=j,c.newForeignObject=k,c.newA=l,c.newRect=m,c.newLine=n,c.newTitle=o,c.newTextEl=p,c.newPath=q;var u=function(){var a,b;return function(){if(void 0===a){a=h("water-fall-chart temp",{className:"water-fall-chart temp",width:"9999px"},{left:"0px",position:"absolute",top:"0px",visibility:"hidden","z-index":"99999"})}return void 0===a.parentElement&&window.document.body.appendChild(a),clearTimeout(b),b=setTimeout(function(){a.parentNode.removeChild(a)},500),a}}();c.getNodeTextWidth=r},{"./dom":1}],7:[function(a,b,c){"use strict";function d(){var a=document.createElement("ul");return a.className="resource-legend",a.innerHTML='\n <li class="legend-blocked" title="Time spent in a queue waiting for a network connection.">Blocked</li>\n <li class="legend-dns" title="DNS resolution time.">DNS</li>\n <li class="legend-connect" title="Time required to create TCP connection.">Connect</li>\n <li class="legend-ssl" title="Time required for SSL/TLS negotiation.">SSL (TLS)</li>\n <li class="legend-send" title="Time required to send HTTP request to the server.">Send</li>\n <li class="legend-wait" title="Waiting for a response from the server.">Wait</li>\n <li class="legend-receive"\n title="Time required to read entire response from the server (or cache).">Receive</li>',a}Object.defineProperty(c,"__esModule",{value:!0}),c.makeLegend=d},{}],8:[function(a,b,c){"use strict";function d(){return i.makeLegend()}function e(a,b){void 0===b&&(b={});var c=h.validateOptions(g({},m,b)),d=new j.default(a,c.selectedPage),e=l.createWaterfallSvg(d.getSelectedPage(),c);return d.onPageUpdate(function(a,b){var d=e.parentElement,f=l.createWaterfallSvg(b,c);d.replaceChild(f,e),e=f}),c.pageSelector&&d.initPagingSelectBox(c.pageSelector),c.legendHolder&&(c.legendHolder.innerHTML="",c.legendHolder.appendChild(i.makeLegend())),e}function f(a,b){void 0===b&&(b={});var c=g({},n,b),d=k.transformDoc(a,c);return"function"==typeof b.onParsed&&b.onParsed(d),e(d,b)}var g=this&&this.__assign||Object.assign||function(a){for(var b,c=1,d=arguments.length;c<d;c++){b=arguments[c];for(var e in b)Object.prototype.hasOwnProperty.call(b,e)&&(a[e]=b[e])}return a};Object.defineProperty(c,"__esModule",{value:!0});var h=a("./helpers/parse"),i=a("./legend/legend"),j=a("./paging/paging"),k=a("./transformers/har"),l=a("./waterfall/svg-chart"),m={leftColumnWith:25,legendHolder:void 0,onParsed:void 0,pageSelector:void 0,rowHeight:23,selectedPage:0,showAlignmentHelpers:!0,showIndicatorIcons:!0,showMimeTypeIcon:!0},n={showUserTiming:!1,showUserTimingEndMarker:!1};c.makeLegend=d,c.fromHar=f},{"./helpers/parse":5,"./legend/legend":7,"./paging/paging":9,"./transformers/har":13,"./waterfall/svg-chart":26}],9:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=a("../helpers/dom"),e=function(){function a(a,b){void 0===b&&(b=0),this.doc=a,this.selectedPageIndex=b,this.onPageUpdateCbs=[],b>=this.doc.pages.length&&(this.selectedPageIndex=this.doc.pages.length-1)}return a.prototype.getPageCount=function(){return this.doc.pages.length},a.prototype.getSelectedPage=function(){return this.doc.pages[this.selectedPageIndex]},a.prototype.getSelectedPageIndex=function(){return this.selectedPageIndex},a.prototype.setSelectedPageIndex=function(a){var b=this;if(this.selectedPageIndex!==a){if(a<0||a>=this.getPageCount())throw new Error("Page does not exist - Invalid pageIndex selected");this.selectedPageIndex=a;var c=this.doc.pages[this.selectedPageIndex];this.onPageUpdateCbs.forEach(function(a){a(b.selectedPageIndex,c)})}},a.prototype.onPageUpdate=function(a){if(this.getPageCount()>1)return this.onPageUpdateCbs.push(a)},a.prototype.initPagingSelectBox=function(a){var b=this,c=this;if(this.getPageCount()<=1)return void(a.style.display="none");d.removeChildren(a),this.doc.pages.forEach(function(c,d){var e=new Option(c.title,d.toString(),!1,d===b.selectedPageIndex);a.add(e)}),a.style.display="block",a.addEventListener("change",function(a){var b=parseInt(a.target.value,10);c.setSelectedPageIndex(b)})},a}();c.default=e},{"../helpers/dom":1}],10:[function(a,b,c){"use strict";function d(a,b,c){return[["Request Number","#"+c],["Started",new Date(a.startedDateTime).toLocaleString()+(b>0?" ("+j.formatMilliseconds(b)+" after page request started)":"")],["Duration",j.formatMilliseconds(a.time)],["Error/Status Code",a.response.status+" "+a.response.statusText],["Server IPAddress",a.serverIPAddress],["Connection",a.connection],["Browser Priority",a._priority||a._initialPriority],["Was pushed",j.parseAndFormat(a._was_pushed,j.parsePositive,function(){return"yes"})],["Initiator (Loaded by)",a._initiator],["Initiator Line",a._initiator_line],["Host",i.getHeader(a.request.headers,"Host")],["IP",a._ip_addr],["Client Port",j.parseAndFormat(a._client_port,j.parsePositive)],["Expires",a._expires],["Cache Time",j.parseAndFormat(a._cache_time,j.parsePositive,j.formatSeconds)],["CDN Provider",a._cdn_provider],l("ObjectSize",a._objectSize),l("Bytes In (downloaded)",a._bytesIn),l("Bytes Out (uploaded)",a._bytesOut),l("JPEG Scan Count",a._jpeg_scan_count),l("Gzip Total",a._gzip_total),l("Gzip Save",a._gzip_save),l("Minify Total",a._minify_total),l("Minify Save",a._minify_save),l("Image Total",a._image_total),l("Image Save",a._image_save)].filter(n)}function e(a){var b=a.request,c=function(a){return i.getHeaders(b.headers,a)};return k.flattenKvTuple([["Method",b.method],["HTTP Version",b.httpVersion],l("Bytes Out (uploaded)",a._bytesOut),l("Headers Size",b.headersSize),l("Body Size",b.bodySize),["Comment",j.parseAndFormat(b.comment,j.parseNonEmpty)],c("User-Agent"),c("Host"),c("Connection"),c("Accept"),c("Accept-Encoding"),c("Expect"),c("Forwarded"),c("If-Modified-Since"),c("If-Range"),c("If-Unmodified-Since"),m("Querystring parameters count",b.queryString.length),m("Cookies count",b.cookies.length)]).filter(n)}function f(a){var b,c=a.response,d=c.content,e=c.headers,f=function(a,b){return void 0===b&&(b=a),i.getHeaders(e,b)},g=function(a){var b=i.getHeader(e,a);return[a,j.parseAndFormat(b,j.parseDate,j.formatDateLocalized)]},h=i.getHeader(e,"Content-Length");-1!==d.size&&h!==d.size.toString()&&(b=d.size);var m=i.getHeader(e,"Content-Type");return a._contentType&&a._contentType!==m&&(m=m+" | "+a._contentType),k.flattenKvTuple([["Status",c.status+" "+c.statusText],["HTTP Version",c.httpVersion],l("Bytes In (downloaded)",a._bytesIn),l("Headers Size",c.headersSize),l("Body Size",c.bodySize),["Content-Type",m],f("Cache-Control"),f("Content-Encoding"),g("Expires"),g("Last-Modified"),f("Pragma"),l("Content-Length",h),l("Content Size",b),l("Content Compression",d.compression),f("Connection"),f("ETag"),f("Accept-Patch"),["Age",j.parseAndFormat(i.getHeader(e,"Age"),j.parseNonNegative,j.formatSeconds)],f("Allow"),f("Content-Disposition"),f("Location"),f("Strict-Transport-Security"),f("Trailer (for chunked transfer coding)","Trailer"),f("Transfer-Encoding"),f("Upgrade"),f("Vary"),f("Timing-Allow-Origin"),["Redirect URL",j.parseAndFormat(c.redirectURL,j.parseNonEmpty)],["Comment",j.parseAndFormat(c.comment,j.parseNonEmpty)]]).filter(n)}function g(a,b,c){var d=a.timings,e=function(a){return j.parseAndFormat(a,j.parseNonNegative,j.formatMilliseconds)},f="number"!=typeof b||"number"!=typeof c?void 0:c-b,g=e(d.connect);return d.ssl>0&&(g=g+" (without TLS: "+e(d.connect-d.ssl)+")"),[["Total",j.formatMilliseconds(f)],["Blocked",e(d.blocked)],["DNS",e(d.dns)],["Connect",g],["SSL (TLS)",e(d.ssl)],["Send",j.formatMilliseconds(d.send)],["Wait",j.formatMilliseconds(d.wait)],["Receive",j.formatMilliseconds(d.receive)]]}function h(a,b,c,h){var i=a.request.headers,j=a.response.headers,k=function(a){return[a.name,a.value]};return{general:d(a,c,b),request:e(a),requestHeaders:i.map(k),response:f(a),responseHeaders:j.map(k),timings:g(a,c,h)}}Object.defineProperty(c,"__esModule",{value:!0});var i=a("../helpers/har"),j=a("../helpers/parse"),k=a("./helpers"),l=function(a,b){return[a,j.parseAndFormat(b,j.parsePositive,j.formatBytes)]},m=function(a,b){return[a,j.parseAndFormat(b,j.parsePositive)]},n=function(a){return a.length>1&&void 0!==a[1]&&""!==a[1]};c.getKeys=h},{"../helpers/har":2,"../helpers/parse":5,"./helpers":14}],11:[function(a,b,c){"use strict";function d(a,b){if(a.response.bodySize<1e3)return!1;if(l.contains(["html","css","javascript","svg","plain"],b))return!0;var c=a.response.content.mimeType,d=["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"],c.split("/")[0])&&!l.contains(d,c.split(";")[0]))}function e(a){if("get"!==a.request.method.toLowerCase())return!1;if(204===a.response.status||!l.isInStatusCodeRange(a.response.status,200,299))return!1;var b=a.response.headers;return!(k.hasHeader(b,"Cache-Control")||k.hasHeader(b,"Expires"))}function f(a,b){var c=a.response.headers;return!k.hasHeader(c,"Content-Encoding")&&d(a,b)}function g(a){return 0===a.request.url.indexOf("https://")}function h(a){return 1===function(a){return"string"==typeof a?parseInt(a,10):a}(a._was_pushed)}function i(a){var b=a.filter(function(a){return!a.response.redirectURL})[0];return void 0===b?a.length>0&&g(a[0]):g(b)}function j(a,b,c){var d=[];return h(a)&&d.push({description:"Response was pushed by the server using HTTP2 push.",icon:"push",id:"push",title:"Response was pushed by the server",type:"info"}),b&&!g(a)&&d.push({description:"Insecure request, it should use HTTPS.",id:"noTls",title:"Insecure Connection",type:"error"}),e(a)&&d.push({description:"The response is not allow to be cached on the client. Consider setting 'Cache-Control' headers.",id:"noCache",title:"Response not cached",type:"error"}),f(a,c)&&d.push({description:"The response is not compressed. Consider enabling HTTP compression on your server.",id:"noGzip",title:"no gzip",type:"error"}),!a.response.content.mimeType&&l.isInStatusCodeRange(a.response.status,200,299)&&204!==a.response.status&&d.push({description:"Response doesn't contain a 'Content-Type' header.",id:"warning",title:"No MIME Type defined",type:"warning"}),d}Object.defineProperty(c,"__esModule",{value:!0});var k=a("../helpers/har"),l=a("../helpers/misc");c.documentIsSecure=i,c.collectIndicators=j},{"../helpers/har":2,"../helpers/misc":4}],12:[function(a,b,c){"use strict";function d(a,b,c,d,f,l){var m=[],p=n.getKeys(a,b,d,f);return m.push(g(p.general,l)),m.push(h(p.request,p.requestHeaders)),m.push(i(p.response,p.responseHeaders)),m.push(e("Timings",o.makeDefinitionList(p.timings,!0))),m.push(j(a)),"image"===c&&m.push(k(a)),m.filter(function(a){return void 0!==a})}function e(a,b,c){return void 0===c&&(c=""),{title:a,content:b,tabClass:c}}function f(a,b,c){return void 0===c&&(c=""),{title:a,renderContent:b,tabClass:c}}function g(a,b){var c=o.makeDefinitionList(a);if(0===b.length)return e("General",c);var d="<h2>General</h2>\n<dl>"+c+"<dl>",f="",g=b.filter(function(a){return"error"===a.type}).map(function(a){return[a.title,a.description]}),h=b.filter(function(a){return"warning"===a.type}).map(function(a){return[a.title,a.description]}),i=b.filter(function(a){return"error"!==a.type&&"warning"!==a.type}).map(function(a){return[a.title,a.description]});g.length>0&&(f+='<h2 class="no-boder">'+l.pluralize("Error",g.length)+"</h2>\n <dl>"+o.makeDefinitionList(g)+"</dl>"),h.length>0&&(f+='<h2 class="no-boder">'+l.pluralize("Warning",h.length)+"</h2>\n <dl>"+o.makeDefinitionList(h)+"</dl>"),i.length>0&&(f+='<h2 class="no-boder">Info</h2>\n <dl>'+o.makeDefinitionList(i)+"</dl>"),e("General",f+d)}function h(a,b){return e("Request","<dl>\n "+o.makeDefinitionList(a)+"\n </dl>\n <h2>All Request Headers</h2>\n <dl>\n "+o.makeDefinitionList(b)+"\n </dl>")}function i(a,b){return e("Response","<dl>\n "+o.makeDefinitionList(a)+"\n </dl>\n <h2>All Response Headers</h2>\n <dl>\n "+o.makeDefinitionList(b)+"\n </dl>")}function j(a){return f("Raw Data",function(){return"<pre><code>"+m.escapeHtml(JSON.stringify(a,null,2))+"</code></pre>"},"raw-data")}function k(a){return f("Preview",function(b){return'<img class="preview" style="max-height:'+(b-100)+'px"\n data-src="'+m.sanitizeUrlForLink(a.request.url)+'" />'})}Object.defineProperty(c,"__esModule",{value:!0});var l=a("../helpers/misc"),m=a("../helpers/parse"),n=a("./extract-details-keys"),o=a("./helpers");c.makeTabs=d},{"../helpers/misc":4,"../helpers/parse":5,"./extract-details-keys":10,"./helpers":14}],13:[function(a,b,c){"use strict";function d(a,b){var c=this,d=void 0!==a.log?a.log:a;return{pages:l(d).map(function(a,e){return c.transformPage(d,e,b)})}}function e(a,b,c,d){c=Math.round(c) | ||
;var e=Math.round(h.toInt(a._all_end)||c+a.time),f=k.mimeToRequestType(a.response.content.mimeType),g=i.collectIndicators(a,d,f),l=q(a,g);return k.createWaterfallEntry(a.request.url,c,e,o(c,a),l,j.makeTabs(a,b+1,f,c,e,g))}function f(a,b,c){void 0===b&&(b=0);var d=void 0!==a.log?a.log:a,f=l(d),g=f[b],h=new Date(g.startedDateTime).getTime(),j=g.pageTimings,k=0,n=i.documentIsSecure(d.entries),o=d.entries.filter(function(a){return 0!==a.request.url.indexOf("data:")&&0!==a.request.url.indexOf("javascript:")&&(1===f.length&&""===g.id||a.pageref===g.id)}).map(function(a,b){var c=new Date(a.startedDateTime).getTime()-h;return k=Math.max(k,c+a.time),e(a,b,c,n)}),p=m(j,g,c);return p.forEach(function(a){a.startTime>k&&(k=a.startTime)}),k+=100,{docIsTLS:n,durationMs:k,entries:o,marks:p,title:g.title}}Object.defineProperty(c,"__esModule",{value:!0});var g=a("../helpers/misc"),h=a("../helpers/parse"),i=a("./har-heuristics"),j=a("./har-tabs"),k=a("./helpers");c.transformDoc=d;var l=function(a){return a.pages&&a.pages.length>0?a.pages:[{id:"",pageTimings:{},startedDateTime:a.entries.reduce(function(a,b){var c=Date.parse(b.startedDateTime);return Date.parse(a)<c?a:b.startedDateTime},a.entries[0].startedDateTime),title:"n/a"}]};c.transformPage=f;var m=function(a,b,c){var d=function(a,b){return a.startTime-b.startTime},e=Object.keys(a).filter(function(b){return"number"==typeof a[b]&&a[b]>=0}).map(function(b){return{name:h.escapeHtml(b.replace(/^[_]/,""))+" ("+g.roundNumber(a[b],0)+" ms)",startTime:a[b]}});return c.showUserTiming?n(b,c).concat(e).sort(d):e.sort(d)},n=function(a,b){var c=b.showUserTimingEndMarker?function(a){return 0===a.indexOf("_userTime.")}:function(a){return 0===a.indexOf("_userTime.")&&0!==a.indexOf("_userTime.endTimer-")},d=c;if(Array.isArray(b.showUserTiming)){var e=b.showUserTiming;d=function(a){return c(a)&&e.indexOf(a.replace(/^_userTime\./,""))>=0}}var f=/^_userTime\.((?:startTimer-)?(.+))$/,g=function(c){var d,e,g;return i=f.exec(c),e=i[1],d=i[2],e=h.escapeHtml(e),d=h.escapeHtml(d),e!==d&&a["_userTime.endTimer-"+d]?(g=a["_userTime.endTimer-"+d]-a[c],{name:(b.showUserTimingEndMarker?e:d)+" ("+a[c]+" - "+(a[c]+g)+" ms)",duration:g,startTime:a[c]}):{name:e,startTime:a[c]};var i};return Object.keys(a).filter(d).map(g)},o=function(a,b){var c=b.timings;return["blocked","dns","connect","send","wait","receive"].reduce(function(d,e){var f=p(e,b,d,a);if(f.end&&f.start>=f.end)return d;if("connect"===e&&c.ssl&&-1!==c.ssl){var g=parseInt(b._ssl_start,10)||f.start,h=parseInt(b._ssl_end,10)||f.start+c.ssl,i=parseInt(b._ssl_start,10)?f.start:h;return d.concat([k.createWaterfallEntryTiming("ssl",Math.round(g),Math.round(h))]).concat([k.createWaterfallEntryTiming(e,Math.round(i),Math.round(f.end))])}return d.concat([k.createWaterfallEntryTiming(e,Math.round(f.start),Math.round(f.end))])},[])},p=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{end:Math.round(i),start:Math.round(h)}},q=function(a,b){var c=k.mimeToRequestType(a.response.content.mimeType),d=h.toInt(a.response.status);return{icon:k.makeMimeTypeIcon(d,a.response.statusText,c,a.response.redirectURL),rowClass:k.makeRowCssClasses(d),indicators:b,requestType:c,statusCode:d}}},{"../helpers/misc":4,"../helpers/parse":5,"./har-heuristics":11,"./har-tabs":12,"./helpers":14}],14:[function(a,b,c){"use strict";function d(a,b){void 0===b&&(b=!1);var c=function(a){return b?'class="'+(j.toCssClass(a)||"no-colour")+'"':""};return a.filter(function(a){return void 0!==a[1]}).map(function(a){return"\n <dt "+c(a[0])+">"+k.escapeHtml(a[0])+"</dt>\n <dd>"+k.escapeHtml(a[1])+"</dd>\n "}).join("")}function e(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"svg+xml"===c?"svg":"image";case"font":return"font";case"video":return"video";case"audio":return"audio"}switch(c){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";default:return"other"}}function f(a,b,c,d,e,f){return void 0===d&&(d=[]),{total:"number"!=typeof b||"number"!=typeof c?void 0:c-b,url:a,start:b,end:c,segments:d,responseDetails:e,tabs:f}}function g(a,b,c){return{total:"number"!=typeof b||"number"!=typeof c?void 0:c-b,type:k.sanitizeAlphaNumeric(a),start:b,end:c}}function h(a){var b=["row-item"];return j.isInStatusCodeRange(a,500,599)?b.push("status5xx"):j.isInStatusCodeRange(a,400,499)?b.push("status4xx"):304!==a&&j.isInStatusCodeRange(a,300,399)&&b.push("status3xx"),b.join(" ")}function i(a,b,c,d){if(void 0===d&&(d=""),d){var e=encodeURI(d.split("?")[0]||"");return l.makeIcon("err3xx",a+" response status: Redirect to "+k.escapeHtml(e)+"...")}return j.isInStatusCodeRange(a,400,499)?l.makeIcon("err4xx",a+" response status: "+k.escapeHtml(b)):j.isInStatusCodeRange(a,500,599)?l.makeIcon("err5xx",a+" response status: "+k.escapeHtml(b)):204===a?l.makeIcon("plain","No content"):l.makeIcon(k.sanitizeAlphaNumeric(c),k.escapeHtml(c))}Object.defineProperty(c,"__esModule",{value:!0});var j=a("../helpers/misc"),k=a("../helpers/parse"),l=a("../waterfall/row/svg-indicators");c.makeDefinitionList=d,c.mimeToRequestType=e,c.createWaterfallEntry=f,c.createWaterfallEntryTiming=g,c.makeRowCssClasses=h,c.makeMimeTypeIcon=i,c.flattenKvTuple=function(a){var b=[];return a.forEach(function(a){if(void 0!==a&&0!==a.length)return Array.isArray(a[0])?void b.push.apply(b,a):void b.push(a)}),b}},{"../helpers/misc":4,"../helpers/parse":5,"../waterfall/row/svg-indicators":20}],15:[function(a,b,c){"use strict";function d(a){return"block-"+a}function e(a){return"block-"+a}Object.defineProperty(c,"__esModule",{value:!0}),c.requestTypeToCssClass=d,c.timingTypeToCssClass=e},{}],16:[function(a,b,c){"use strict";function d(a,b,c){var d=document.createElement("html"),f=document.createElement("body");f.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),d.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/");var g=c.tabs.map(function(a){return'<li><button class="tab-button">'+a.title+"</button></li>"}).join("\n"),h=c.tabs.map(function(a){var c="tab";a.tabClass&&(c+=" "+a.tabClass);var d="";if(a.content)d=a.content;else{if("function"!=typeof a.renderContent)throw TypeError("Invalid Details Tab");d=a.renderContent(b),a.content=d}return'<div class="tab '+c+'">'+d+"</div>"}).join("\n");return f.innerHTML='\n <div class="wrapper">\n <header class="type-'+c.responseDetails.requestType+'">\n <h3><strong>#'+a+'</strong> <a href="'+e.sanitizeUrlForLink(c.url)+'">\n '+e.escapeHtml(c.url)+'\n </a></h3>\n <nav class="tab-nav">\n <ul>\n '+g+"\n </ul>\n </nav>\n </header>\n "+h+"\n </div>\n ",d.appendChild(f),d}Object.defineProperty(c,"__esModule",{value:!0});var e=a("../../helpers/parse");c.createDetailsBody=d},{"../../helpers/parse":5}],17:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=a("../../helpers/dom"),e=a("../../helpers/misc"),f=a("./svg-details-overlay"),g=function(){function a(a){this.context=a,this.openOverlays=[],this.realignRow=function(a,b){a.setAttribute("transform","translate(0, "+b+")")}}return a.prototype.getCombinedOverlayHeight=function(){return this.openOverlays.reduce(function(a,b){return a+b.height},0)},a.prototype.openOverlay=function(a,b,c,d,e){if(!this.openOverlays.some(function(b){return b.index===a})){var f=this,g={defaultY:b,entry:d,index:a,onClose:function(){f.closeOverlay(a,c,e)},openTabIndex:0};this.openOverlays.push(g),this.openOverlays=this.openOverlays.sort(function(a,b){return a.index>b.index?1:-1}),this.renderOverlays(c,e),this.context.pubSub.publishToOverlayChanges({changedIndex:a,combinedOverlayHeight:f.getCombinedOverlayHeight(),type:"open"})}},a.prototype.toggleOverlay=function(a,b,c,d,e){this.openOverlays.some(function(b){return b.index===a})?this.closeOverlay(a,c,e):this.openOverlay(a,b,c,d,e)},a.prototype.closeOverlay=function(a,b,c){var d=this;this.openOverlays.splice(this.openOverlays.reduce(function(b,c,d){return c.index===a?d:b},-1),1),this.renderOverlays(b,c),this.context.pubSub.publishToOverlayChanges({changedIndex:a,combinedOverlayHeight:d.getCombinedOverlayHeight(),type:"closed"})},a.prototype.renderOverlays=function(b,c){var g=this,h=0,i=function(a,b,c){h+=c,a.actualY=b,a.height=c},j=function(c,e){var g=e.defaultY+h,j=f.createRowInfoOverlay(e,g,b),k=j.querySelector("img.preview");k&&!k.src&&k.setAttribute("src",k.attributes.getNamedItem("data-src").value),j.querySelector("a").addEventListener("keydown",a.firstElKeypress),d.getLastItemOfNodeList(j.querySelectorAll("button")).addEventListener("keydown",a.lastElKeypress),c.appendChild(j),i(e,g,j.getBoundingClientRect().height)},k=function(b,c){var f=e.find(g.openOverlays,function(a){return a.index===c}),k=b.nextElementSibling.firstElementChild;if(g.realignRow(b,h),void 0===f)return void(k&&(b.nextElementSibling.querySelector("a").removeEventListener("keydown",a.firstElKeypress),d.getLastItemOfNodeList(b.nextElementSibling.querySelectorAll("button")).removeEventListener("keydown",a.lastElKeypress),d.removeChildren(b.nextElementSibling)));if(k){var l=k.querySelector(".info-overlay-bg"),m=k.querySelector("foreignObject"),n=k.querySelector(".info-overlay-close-btn rect"),o=k.querySelector(".info-overlay-close-btn text");return i(f,f.defaultY+h,f.height),l.setAttribute("y",f.actualY.toString()),m.setAttribute("y",f.actualY.toString()),o.setAttribute("y",f.actualY.toString()),void n.setAttribute("y",f.actualY.toString())}j(b.nextElementSibling,f)};c.forEach(k)},a}();g.showFullName=function(a){a.getElementsByClassName("row-fixed").item(0).dispatchEvent(new MouseEvent("mouseenter"))},g.firstElKeypress=function(a){if(e.isTabUp(a)){var b=d.getParentByClassName(a.target,"row-overlay-holder");b&&b.previousElementSibling&&g.showFullName(b.previousElementSibling)}},g.lastElKeypress=function(a){if(e.isTabDown(a)){var b=d.getParentByClassName(a.target,"row-overlay-holder");b&&b.nextElementSibling&&g.showFullName(b.nextElementSibling)}},c.OverlayManager=g,c.default=g},{"../../helpers/dom":1,"../../helpers/misc":4,"./svg-details-overlay":19}],18:[function(a,b,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var d=function(){function a(){this.subscribers=[]}return a.prototype.subscribeToOverlayChanges=function(a){this.subscribers.push(a)},a.prototype.subscribeToSpecificOverlayChanges=function(a,b){this.subscribers.push(function(c){c.changedIndex===a&&b(c)})},a.prototype.publishToOverlayChanges=function(a){this.subscribers.forEach(function(b){return b(a)})},a}();c.PubSub=d,c.default=d},{}],19:[function(a,b,c){"use strict";function d(a){var b=h.newA("info-overlay-close-btn");return b.appendChild(h.newRect({height:23,width:23,x:"100%",y:a})),b.appendChild(h.newTextEl("✕",{dx:7,dy:16,x:"100%",y:a})),b.appendChild(h.newTitle("Close Overlay")),b}function e(a,b){var c=h.newG("info-overlay-holder"),d=h.newRect({height:b,rx:2,ry:2,width:"100%",x:"0",y:a},"info-overlay-bg");return c.appendChild(d),c}function f(a,b,c){var f=a.index+1,j=e(b,c),k=h.newForeignObject({height:c,width:"100%",x:"0",y:b}),l=d(b);l.addEventListener("click",function(){return a.onClose(a.index)});var m=i.createDetailsBody(f,c,a.entry),n=m.getElementsByClassName("tab-button"),o=m.getElementsByClassName("tab"),p=function(b){a.openTabIndex=b,g.forEachNodeList(o,function(a,c){a.style.display=b===c?"block":"none",n.item(c).classList.toggle("active",b===c)})};return g.forEachNodeList(n,function(a,b){a.addEventListener("click",function(){return p(b)})}),p(a.openTabIndex),k.appendChild(m),j.appendChild(k),j.appendChild(l),j}Object.defineProperty(c,"__esModule",{value:!0});var g=a("../../helpers/dom"),h=a("../../helpers/svg"),i=a("./html-details-body");c.createRowInfoOverlay=f},{"../../helpers/dom":1,"../../helpers/svg":6,"./html-details-body":16}],20:[function(a,b,c){"use strict";function d(a,b){return{type:a,title:b,width:20}}function e(a){var b=a.responseDetails.indicators;if(0===b.length)return[];var c=[],e="",g=b.filter(function(a){return"error"===a.type}),h=b.filter(function(a){return"warning"===a.type}),i=b.filter(function(a){return"error"!==a.type&&"warning"!==a.type});return g.length>0&&(c.push(f.pluralize("Error",g.length)+":\n "+g.map(function(a){return a.title}).join("\n")),e="error"),h.length>0&&(c.push(f.pluralize("Warning",h.length)+":\n"+h.map(function(a){return a.title}).join("\n")),e=e||"warning"),i.length>0&&(c.push("Info:\n"+i.map(function(a){return a.title}).join("\n")),e=e||1!==i.length?e||"info":i[0].icon||i[0].type),[d(e,c.join("\n"))]}Object.defineProperty(c,"__esModule",{value:!0});var f=a("../../helpers/misc");c.makeIcon=d,c.getIndicatorIcons=e},{"../../helpers/misc":4}],21:[function(a,b,c){"use strict";function d(a,b){var c=a.height-1,d=q.newRect({height:c,width:p.roundNumber(a.width/a.unit)+"%",x:p.roundNumber(a.x/a.unit)+"%",y:a.y},b);return a.label&&d.appendChild(q.newTitle(a.label)),a.showOverlay&&a.hideOverlay&&(d.addEventListener("mouseenter",a.showOverlay(a)),d.addEventListener("mouseleave",a.hideOverlay(a))),d}function e(a,b){return{cssClass:r.timingTypeToCssClass(a.type),height:b.height-6,hideOverlay:b.hideOverlay,label:a.type+" ("+Math.round(a.start)+"ms - "+Math.round(a.end)+"ms | total: "+Math.round(a.total)+"ms)",showOverlay:b.showOverlay,unit:b.unit,width:a.total,x:a.start||.001,y:b.y}}function f(a,b,c){var d=a.y+a.height/1.5,e=Math.round(b)+" ms",f=(a.x+a.width)/a.unit+1,g=q.newTextEl(e,{x:p.roundNumber(f)+"%",y:d});return f+8*e.length/500*100>100&&(f=c/a.unit-1,g=q.newTextEl(e,{x:p.roundNumber(f)+"%",y:d},{textAnchor:"end"})),g}function g(a,b,c){var g=d(a,"time-block "+a.cssClass),h=q.newG("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){return b+=Math.round(d/2)+5,a+=e,q.newTextEl(c,{x:a,y:b},{"text-anchor":"end"})}function i(a,b,c,d){var e=k(a,b,c,d);return e.style.clipPath="url(#titleClipPath)",e}function j(a,b,c,d){var e=k(a,b,c,d),f=q.newG("full-label",{},{clipPath:"url(#titleFullClipPath)"});return f.appendChild(q.newRect({height:d-4,rx:5,ry:5,width:500,x:a-3,y:b+3},"label-full-bg")),f.appendChild(e),f}function k(a,b,c,d){var e=p.resourceUrlFormatter(c,125);b=b+Math.round(d/2)+5;var f=q.newTextEl(e,{x:a,y:b});return f.appendChild(q.newTitle(c)),f.style.opacity=c.match(/js.map$/)?"0.5":"1",f}function l(a,b,c,d){var e=d.getElementsByTagName("rect")[0],f=d.getElementsByTagName("text")[0];d.style.display="none",d.style.visibility="hidden",a.appendChild(b),a.appendChild(c),a.appendChild(d);var g,h=!1;a.addEventListener("mouseenter",function(){d.style.display="block",c.style.display="none",d.style.visibility="visible";var a=function(){var a=f.getBBox().width+10;e.setAttribute("width",a.toString()),h=!0,g=void 0};h||(s?g=window.requestAnimationFrame(a):a())}),a.addEventListener("mouseleave",function(){c.style.display="block",d.style.display="none",d.style.visibility="hidden",s&&void 0!==g&&cancelAnimationFrame(g)})}function m(a,b,c){var d=c?"even":"odd";return q.newRect({height:b,width:"100%",x:0,y:a},d)}function n(a,b){var c=q.newG("row row-fixed");return c.appendChild(q.newRect({height:b,width:"100%",x:"0",y:a},"",{opacity:0})),c}function o(a,b){var c=q.newG("row row-flex");return c.appendChild(q.newRect({height:b,width:"100%",x:"0",y:a},"",{opacity:0})),c}Object.defineProperty(c,"__esModule",{value:!0});var p=a("../../helpers/misc"),q=a("../../helpers/svg"),r=a("../../transformers/styling-converters");c.createRect=g,c.createRequestNumberLabel=h,c.createRequestLabelClipped=i,c.createRequestLabelFull=j;var s="function"==typeof window.requestAnimationFrame&&"function"==typeof window.cancelAnimationFrame;c.appendRequestLabels=l,c.createBgStripe=m,c.createNameRowBg=n,c.createRowBg=o},{"../../helpers/misc":4,"../../helpers/svg":6,"../../transformers/styling-converters":15}],22:[function(a,b,c){"use strict";function d(a,b,c,d,m,n,o){var p=m.y,q=m.height,r=a.options.leftColumnWith,s=g.newA(n.responseDetails.rowClass);s.setAttribute("tabindex","0"),s.setAttribute("xlink:href","javascript:void(0)");var t=g.newSvg("left-fixed-holder",{width:r+"%",x:"0"}),u=g.newSvg("flex-scale-waterfall",{width:100-r+"%",x:r+"%"}),v=i.createRect(m,n.segments,n.total),w=i.createNameRowBg(p,q),x=i.createRowBg(p,q),y=i.createBgStripe(p,q,b%2==0),z=l+c;if(a.options.showMimeTypeIcon){var A=n.responseDetails.icon;z-=A.width,w.appendChild(e[A.type](z,p+3,A.title))}a.options.showIndicatorIcons&&h.getIndicatorIcons(n).forEach(function(a){z-=a.width,w.appendChild(e[a.type](z,p+3,a.title))}),z=l+c;var B=""+(b+1),C=i.createRequestNumberLabel(z,p,B,q,d);z+=d+4;var D=i.createRequestLabelClipped(z,p,f.resourceUrlFormatter(n.url,40),q),E=i.createRequestLabelFull(z,p,n.url,q);x.appendChild(v),i.appendRequestLabels(w,C,D,E),a.pubSub.subscribeToSpecificOverlayChanges(b,function(a){F="open"===a.type}),b>0&&a.pubSub.subscribeToSpecificOverlayChanges(b-1,function(a){G="open"===a.type});var F,G;return s.addEventListener("click",function(a){a.preventDefault(),o(a)}),s.addEventListener("keydown",function(a){return 32===a.which||13===a.which?(a.preventDefault(),o(a)):f.isTabUp(a)&&!G&&b>0?void s.previousSibling.previousSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter")):f.isTabDown(a)&&!F?void(s.nextSibling&&s.nextSibling.nextSibling&&s.nextSibling.nextSibling.lastChild.lastChild.dispatchEvent(new MouseEvent("mouseenter"))):void 0}),s.addEventListener("focusout",function(){w.dispatchEvent(new MouseEvent("mouseleave"))}),u.appendChild(x),t.appendChild(j.cloneNode(!0)),t.appendChild(w),s.appendChild(k.cloneNode(!0)),s.appendChild(y),s.appendChild(u),s.appendChild(t),s}Object.defineProperty(c,"__esModule",{value:!0});var e=a("../../helpers/icons"),f=a("../../helpers/misc"),g=a("../../helpers/svg"),h=a("./svg-indicators"),i=a("./svg-row-subcomponents"),j=g.newClipPath("titleClipPath");j.appendChild(g.newRect({height:"100%",width:"100%"}));var k=g.newClipPath("titleFullClipPath");k.appendChild(g.newRect({height:"100%",width:"100%"}));var l=3;c.createRow=d},{"../../helpers/icons":3,"../../helpers/misc":4,"../../helpers/svg":6,"./svg-indicators":20,"./svg-row-subcomponents":21}],23:[function(a,b,c){"use strict";function d(a){return{endline:g.newLine({x1:"0",x2:"0",y1:"0",y2:a},"line-end"),startline:g.newLine({x1:"0",x2:"0",y1:"0",y2:a},"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")}}}}Object.defineProperty(c,"__esModule",{value:!0});var f=a("../../helpers/dom"),g=a("../../helpers/svg");c.createAlignmentLines=d,c.makeHoverEvtListeners=e},{"../../helpers/dom":1,"../../helpers/svg":6}],24:[function(a,b,c){"use strict";function d(a,b){for(var c=f.newG("time-scale full-width"),d=200*Math.ceil(b/1e4),e=1e3/d,h=b/1e3,i=b/d,j=0;j<=i;j++){g(a,c,h,j/e,j%e<1e-9)}return c}Object.defineProperty(c,"__esModule",{value:!0});var e=a("../../helpers/misc"),f=a("../../helpers/svg"),g=function(a,b,c,d,g){void 0===g&&(g=!1);var h,i=a.diagramHeight,j=100/c,k="sub-second-line";if(g){var l=d>c-.2;k="second-line";var m=e.roundNumber(j*d)+.5+"%",n={};l&&(m=e.roundNumber(j*d)-.5+"%",n["text-anchor"]="end"),h=f.newTextEl(d+"s",{x:m,y:i},n)}var o=e.roundNumber(j*d)+"%",p=f.newLine({x1:o,x2:o,y1:0,y2:i},k);a.pubSub.subscribeToOverlayChanges(function(a){var b=a.combinedOverlayHeight,c=(i+b)/i;p.setAttribute("transform","scale(1, "+c+")"),g&&h.setAttribute("transform","translate(0, "+b+")")}),b.appendChild(p),g&&b.appendChild(h)};c.createTimeScale=d},{"../../helpers/misc":4,"../../helpers/svg":6}],25:[function(a,b,c){"use strict";function d(a,b){var c=a.diagramHeight,d=h.newG("marker-holder",{transform:"scale(1, 1)"});return b.forEach(function(i,j){var k=g.roundNumber(i.startTime/a.unit),l=h.newG("mark-holder type-"+i.name.toLowerCase().replace(/([0-9]+[ ]?ms)|\W/g,"")),m=h.newG("line-holder"),n=h.newG("line-label-holder"),o=h.newTextEl(i.name,{x:k+"%",y:c+25});o.setAttribute("writing-mode","tb");var p;i.x=k;var q=h.newLine({x1:k+"%",x2:k+"%",y1:0,y2:c}),r=b[j-1];r&&i.x-r.x<2.5&&(o.setAttribute("x",r.x+2.5+"%"),i.x=r.x+2.5);var s=h.newLine({x1:k+"%",x2:i.x+"%",y1:c,y2:c+23});m.appendChild(q),m.appendChild(s),i.duration&&(p=e(a,i),m.appendChild(p)),a.pubSub.subscribeToOverlayChanges(function(a){var b=a.combinedOverlayHeight,d=(c+b)/c;q.setAttribute("transform","scale(1, "+d+")"),n.setAttribute("transform","translate(0, "+b+")"),s.setAttribute("transform","translate(0, "+b+")"),p&&p.setAttribute("transform","translate(0, "+b+")")});var t=!1,u=!1,v=function(){t||(l.parentNode.appendChild(l),t=!0,"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(function(){return f.addClass(m,"active")}):f.addClass(m,"active"))},w=function(){t=!1,u||f.removeClass(m,"active")},x=function(){u?(t=!1,f.removeClass(m,"active")):t?t=!1:f.addClass(m,"active"),u=!u};o.addEventListener("mouseenter",v),o.addEventListener("mouseleave",w),o.addEventListener("click",x),n.appendChild(o),l.appendChild(h.newTitle(i.name)),l.appendChild(m),l.appendChild(n),d.appendChild(l)}),d}function e(a,b){var c=h.newG("line-mark-holder line-marker-"+g.toCssClass(b.name));return c.appendChild(h.newTitle(b.name.replace(/^startTimer-/,""))),c.appendChild(h.newRect({height:a.diagramHeight,width:(b.duration||1)/a.unit+"%",x:(b.startTime||.001)/a.unit+"%",y:0},"line-mark")),c}Object.defineProperty(c,"__esModule",{value:!0});var f=a("../../helpers/dom"),g=a("../../helpers/misc"),h=a("../../helpers/svg");c.createMarks=d,c.createLineRect=e},{"../../helpers/dom":1,"../../helpers/misc":4,"../../helpers/svg":6}],26:[function(a,b,c){"use strict";function d(a){for(var b=Math.floor(Math.log(a)/Math.LN10)+1,c="",d=0;d<b;d++)c+="0";return c}function e(a,b){var c=a.reduce(function(a,b){var c={x:0,y:0};return Math.max(a,h.getNodeTextWidth(h.newTextEl(b.name,c),!0))},0);return Math.floor(b+c+35)}function f(a,b,c){var d=a.durationMs/100,e=(c.length+1)*b.rowHeight,f={diagramHeight:e,overlayManager:void 0,pubSub:new k.PubSub,unit:d,options:b};return f.overlayManager=new j.default(f),f}function g(a,b){function c(){return t+s.overlayManager.getCombinedOverlayHeight()}function g(a,c){var d=a.total||1,e=b.rowHeight*c,f=a.start||.001,g={cssClass:i.requestTypeToCssClass(a.responseDetails.requestType),height:b.rowHeight,hideOverlay:b.showAlignmentHelpers?k.onMouseLeavePartial:void 0,label:a.url+" ("+Math.round(a.start)+"ms - "+Math.round(a.end)+"ms | total: "+Math.round(a.total)+"ms)",showOverlay:b.showAlignmentHelpers?k.onMouseEnterPartial:void 0,unit:s.unit,width:d,x:f,y:e},j=function(){s.overlayManager.toggleOverlay(c,e+b.rowHeight,450,a,D)},m=l.createRow(s,c,A,C,g,a,j);D.push(m),r.appendChild(m),r.appendChild(h.newG("row-overlay-holder"))}var j,k,p=a.entries.filter(function(a){return"number"==typeof a.start&&"number"==typeof a.total}).sort(function(a,b){return(a.start||0)-(b.start||0)}),q=h.newG("overlays"),r=h.newG("rows-holder"),s=f(a,b,p),t=e(a.marks,s.diagramHeight),u=h.newSvg("water-fall-chart",{height:t}),v=h.newSvg("scale-and-marks-holder",{width:100-b.leftColumnWith+"%",x:b.leftColumnWith+"%"});if(b.showAlignmentHelpers){j=h.newG("hover-overlays");var w=m.createAlignmentLines(s.diagramHeight);j.appendChild(w.startline),j.appendChild(w.endline),k=m.makeHoverEvtListeners(w)}v.appendChild(n.createTimeScale(s,a.durationMs)),v.appendChild(o.createMarks(s,a.marks));var x=p[0].responseDetails.icon.width,y=0;if(b.showMimeTypeIcon&&(y+=1),b.showIndicatorIcons){var z=p.map(function(a){return a.responseDetails.indicators.length>0?1:0});y+=Math.max.apply(null,z)}var A=y*x,B=d(p.length),C=h.getNodeTextWidth(h.newTextEl(""+B),!0),D=[];return s.pubSub.subscribeToOverlayChanges(function(){var a=c();u.classList.toggle("closing",a<u.clientHeight),u.style.height=a+"px"}),p.forEach(g),b.showAlignmentHelpers&&v.appendChild(j),u.appendChild(v),u.appendChild(r),u.appendChild(q),u}Object.defineProperty(c,"__esModule",{value:!0});var h=a("../helpers/svg"),i=a("../transformers/styling-converters"),j=a("./details-overlay/overlay-manager"),k=a("./details-overlay/pub-sub"),l=a("./row/svg-row"),m=a("./sub-components/svg-alignment-helper"),n=a("./sub-components/svg-general-components"),o=a("./sub-components/svg-marks");c.createWaterfallSvg=g},{"../helpers/svg":6,"../transformers/styling-converters":15,"./details-overlay/overlay-manager":17,"./details-overlay/pub-sub":18,"./row/svg-row":22,"./sub-components/svg-alignment-helper":23,"./sub-components/svg-general-components":24,"./sub-components/svg-marks":25}]},{},[8])(8)}); |
@@ -84,4 +84,4 @@ /** | ||
const attributes = { | ||
"className": "water-fall-chart temp", | ||
"width": "9999px", | ||
className: "water-fall-chart temp", | ||
width: "9999px", | ||
}; | ||
@@ -88,0 +88,0 @@ const css = { |
@@ -125,2 +125,7 @@ import { getHeader, getHeaders } from "../helpers/har"; | ||
const total = (typeof start !== "number" || typeof end !== "number") ? undefined : (end - start); | ||
let connectVal = optionalTiming(timings.connect); | ||
if (timings.ssl > 0) { | ||
// SSL time is also included in the connect field (to ensure backward compatibility with HAR 1.1). | ||
connectVal = `${connectVal} (without TLS: ${optionalTiming(timings.connect - timings.ssl)})`; | ||
} | ||
return [ | ||
@@ -130,3 +135,3 @@ ["Total", formatMilliseconds(total)], | ||
["DNS", optionalTiming(timings.dns)], | ||
["Connect", optionalTiming(timings.connect)], | ||
["Connect", connectVal], | ||
["SSL (TLS)", optionalTiming(timings.ssl)], | ||
@@ -148,9 +153,9 @@ ["Send", formatMilliseconds(timings.send)], | ||
return { | ||
"general": parseGeneralDetails(entry, startRelative, requestID), | ||
"request": parseRequestDetails(entry), | ||
"requestHeaders": requestHeaders.map(headerToKvTuple), | ||
"response": parseResponseDetails(entry), | ||
"responseHeaders": responseHeaders.map(headerToKvTuple), | ||
"timings": parseTimings(entry, startRelative, endRelative), | ||
general: parseGeneralDetails(entry, startRelative, requestID), | ||
request: parseRequestDetails(entry), | ||
requestHeaders: requestHeaders.map(headerToKvTuple), | ||
response: parseResponseDetails(entry), | ||
responseHeaders: responseHeaders.map(headerToKvTuple), | ||
timings: parseTimings(entry, startRelative, endRelative), | ||
}; | ||
} |
@@ -216,4 +216,4 @@ import { roundNumber } from "../helpers/misc"; | ||
return { | ||
"end": Math.round(end), | ||
"start": Math.round(start), | ||
end: Math.round(end), | ||
start: Math.round(start), | ||
}; | ||
@@ -220,0 +220,0 @@ }; |
@@ -32,9 +32,9 @@ import { getLastItemOfNodeList, getParentByClassName, removeChildren, } from "../../helpers/dom"; | ||
const newOverlay = { | ||
"defaultY": y, | ||
"entry": entry, | ||
"index": index, | ||
"onClose": () => { | ||
defaultY: y, | ||
entry, | ||
index, | ||
onClose: () => { | ||
self.closeOverlay(index, detailsHeight, rowItems); | ||
}, | ||
"openTabIndex": 0, | ||
openTabIndex: 0, | ||
}; | ||
@@ -45,5 +45,5 @@ this.openOverlays.push(newOverlay); | ||
this.context.pubSub.publishToOverlayChanges({ | ||
"changedIndex": index, | ||
"combinedOverlayHeight": self.getCombinedOverlayHeight(), | ||
"type": "open", | ||
changedIndex: index, | ||
combinedOverlayHeight: self.getCombinedOverlayHeight(), | ||
type: "open", | ||
}); | ||
@@ -72,5 +72,5 @@ } | ||
this.context.pubSub.publishToOverlayChanges({ | ||
"changedIndex": index, | ||
"combinedOverlayHeight": self.getCombinedOverlayHeight(), | ||
"type": "closed", | ||
changedIndex: index, | ||
combinedOverlayHeight: self.getCombinedOverlayHeight(), | ||
type: "closed", | ||
}); | ||
@@ -77,0 +77,0 @@ } |
@@ -7,6 +7,6 @@ import { forEachNodeList } from "../../helpers/dom"; | ||
closeBtn.appendChild(svg.newRect({ | ||
"height": 23, | ||
"width": 23, | ||
"x": "100%", | ||
"y": y, | ||
height: 23, | ||
width: 23, | ||
x: "100%", | ||
y, | ||
})); | ||
@@ -25,8 +25,8 @@ closeBtn.appendChild(svg.newTextEl("✕", { | ||
const bg = svg.newRect({ | ||
"height": detailsHeight, | ||
"rx": 2, | ||
"ry": 2, | ||
"width": "100%", | ||
"x": "0", | ||
"y": y, | ||
height: detailsHeight, | ||
rx: 2, | ||
ry: 2, | ||
width: "100%", | ||
x: "0", | ||
y, | ||
}, "info-overlay-bg"); | ||
@@ -40,6 +40,6 @@ holder.appendChild(bg); | ||
const foreignObject = svg.newForeignObject({ | ||
"height": detailsHeight, | ||
"width": "100%", | ||
"x": "0", | ||
"y": y, | ||
height: detailsHeight, | ||
width: "100%", | ||
x: "0", | ||
y, | ||
}); | ||
@@ -46,0 +46,0 @@ const closeBtn = createCloseButtonSvg(y); |
@@ -8,3 +8,3 @@ import { pluralize } from "../../helpers/misc"; | ||
export function makeIcon(type, title) { | ||
return { "type": type, "title": title, "width": 20 }; | ||
return { type, title, width: 20 }; | ||
} | ||
@@ -11,0 +11,0 @@ /** |
@@ -15,6 +15,6 @@ /** | ||
const rect = svg.newRect({ | ||
"height": blockHeight, | ||
"width": misc.roundNumber(rectData.width / rectData.unit) + "%", | ||
"x": misc.roundNumber(rectData.x / rectData.unit) + "%", | ||
"y": rectData.y, | ||
height: blockHeight, | ||
width: misc.roundNumber(rectData.width / rectData.unit) + "%", | ||
x: misc.roundNumber(rectData.x / rectData.unit) + "%", | ||
y: rectData.y, | ||
}, className); | ||
@@ -38,12 +38,12 @@ if (rectData.label) { | ||
return { | ||
"cssClass": timingTypeToCssClass(segment.type), | ||
"height": (rectData.height - 6), | ||
"hideOverlay": rectData.hideOverlay, | ||
"label": segment.type + " (" + Math.round(segment.start) + "ms - " | ||
cssClass: timingTypeToCssClass(segment.type), | ||
height: (rectData.height - 6), | ||
hideOverlay: rectData.hideOverlay, | ||
label: segment.type + " (" + Math.round(segment.start) + "ms - " | ||
+ Math.round(segment.end) + "ms | total: " + Math.round(segment.total) + "ms)", | ||
"showOverlay": rectData.showOverlay, | ||
"unit": rectData.unit, | ||
"width": segment.total, | ||
"x": segment.start || 0.001, | ||
"y": rectData.y, | ||
showOverlay: rectData.showOverlay, | ||
unit: rectData.unit, | ||
width: segment.total, | ||
x: segment.start || 0.001, | ||
y: rectData.y, | ||
}; | ||
@@ -68,3 +68,3 @@ } | ||
percStart = firstX / rectData.unit - spacingPerc; | ||
txtEl = svg.newTextEl(totalLabel, { x: `${misc.roundNumber(percStart)}%`, y }, { "textAnchor": "end" }); | ||
txtEl = svg.newTextEl(totalLabel, { x: `${misc.roundNumber(percStart)}%`, y }, { textAnchor: "end" }); | ||
} | ||
@@ -138,10 +138,10 @@ return txtEl; | ||
labelHolder.appendChild(svg.newRect({ | ||
"height": height - 4, | ||
"rx": 5, | ||
"ry": 5, | ||
height: height - 4, | ||
rx: 5, | ||
ry: 5, | ||
// for initial load performance use 500px as base width | ||
// it's updated one by one on hover | ||
"width": 500, | ||
"x": x - 3, | ||
"y": y + 3, | ||
width: 500, | ||
x: x - 3, | ||
y: y + 3, | ||
}, "label-full-bg")); | ||
@@ -221,6 +221,6 @@ labelHolder.appendChild(blockLabel); | ||
return svg.newRect({ | ||
"height": height, | ||
"width": "100%", | ||
"x": 0, | ||
"y": y, | ||
height, | ||
width: "100%", | ||
x: 0, | ||
y, | ||
}, className); | ||
@@ -231,8 +231,8 @@ } | ||
rowFixed.appendChild(svg.newRect({ | ||
"height": rowHeight, | ||
"width": "100%", | ||
"x": "0", | ||
"y": y, | ||
height: rowHeight, | ||
width: "100%", | ||
x: "0", | ||
y, | ||
}, "", { | ||
"opacity": 0, | ||
opacity: 0, | ||
})); | ||
@@ -244,10 +244,10 @@ return rowFixed; | ||
rowFixed.appendChild(svg.newRect({ | ||
"height": rowHeight, | ||
"width": "100%", | ||
"x": "0", | ||
"y": y, | ||
height: rowHeight, | ||
width: "100%", | ||
x: "0", | ||
y, | ||
}, "", { | ||
"opacity": 0, | ||
opacity: 0, | ||
})); | ||
return rowFixed; | ||
} |
@@ -9,9 +9,9 @@ import * as icons from "../../helpers/icons"; | ||
clipPathElProto.appendChild(svg.newRect({ | ||
"height": "100%", | ||
"width": "100%", | ||
height: "100%", | ||
width: "100%", | ||
})); | ||
const clipPathElFullProto = svg.newClipPath("titleFullClipPath"); | ||
clipPathElFullProto.appendChild(svg.newRect({ | ||
"height": "100%", | ||
"width": "100%", | ||
height: "100%", | ||
width: "100%", | ||
})); | ||
@@ -28,8 +28,8 @@ const ROW_LEFT_MARGIN = 3; | ||
const leftFixedHolder = svg.newSvg("left-fixed-holder", { | ||
"width": `${leftColumnWith}%`, | ||
"x": "0", | ||
width: `${leftColumnWith}%`, | ||
x: "0", | ||
}); | ||
const flexScaleHolder = svg.newSvg("flex-scale-waterfall", { | ||
"width": `${100 - leftColumnWith}%`, | ||
"x": `${leftColumnWith}%`, | ||
width: `${100 - leftColumnWith}%`, | ||
x: `${leftColumnWith}%`, | ||
}); | ||
@@ -36,0 +36,0 @@ const rect = rowSubComponents.createRect(rectData, entry.segments, entry.total); |
@@ -13,12 +13,12 @@ /** | ||
endline: svg.newLine({ | ||
"x1": "0", | ||
"x2": "0", | ||
"y1": "0", | ||
"y2": diagramHeight, | ||
x1: "0", | ||
x2: "0", | ||
y1: "0", | ||
y2: diagramHeight, | ||
}, "line-end"), | ||
startline: svg.newLine({ | ||
"x1": "0", | ||
"x2": "0", | ||
"y1": "0", | ||
"y2": diagramHeight, | ||
x1: "0", | ||
x2: "0", | ||
y1: "0", | ||
y2: diagramHeight, | ||
}, "line-start"), | ||
@@ -25,0 +25,0 @@ }; |
@@ -34,6 +34,6 @@ /** | ||
const lineEl = svg.newLine({ | ||
"x1": x, | ||
"x2": x, | ||
"y1": 0, | ||
"y2": diagramHeight, | ||
x1: x, | ||
x2: x, | ||
y1: 0, | ||
y2: diagramHeight, | ||
}, lineClass); | ||
@@ -40,0 +40,0 @@ context.pubSub.subscribeToOverlayChanges((change) => { |
@@ -12,3 +12,3 @@ import { addClass, removeClass } from "../../helpers/dom"; | ||
const marksHolder = svg.newG("marker-holder", { | ||
"transform": "scale(1, 1)", | ||
transform: "scale(1, 1)", | ||
}); | ||
@@ -25,6 +25,6 @@ marks.forEach((mark, i) => { | ||
const line = svg.newLine({ | ||
"x1": x + "%", | ||
"x2": x + "%", | ||
"y1": 0, | ||
"y2": diagramHeight, | ||
x1: x + "%", | ||
x2: x + "%", | ||
y1: 0, | ||
y2: diagramHeight, | ||
}); | ||
@@ -39,6 +39,6 @@ const lastMark = marks[i - 1]; | ||
const lineConnection = svg.newLine({ | ||
"x1": x + "%", | ||
"x2": mark.x + "%", | ||
"y1": diagramHeight, | ||
"y2": diagramHeight + 23, | ||
x1: x + "%", | ||
x2: mark.x + "%", | ||
y1: diagramHeight, | ||
y2: diagramHeight + 23, | ||
}); | ||
@@ -120,8 +120,8 @@ lineHolder.appendChild(line); | ||
holder.appendChild(svg.newRect({ | ||
"height": context.diagramHeight, | ||
"width": ((entry.duration || 1) / context.unit) + "%", | ||
"x": ((entry.startTime || 0.001) / context.unit) + "%", | ||
"y": 0, | ||
height: context.diagramHeight, | ||
width: ((entry.duration || 1) / context.unit) + "%", | ||
x: ((entry.startTime || 0.001) / context.unit) + "%", | ||
y: 0, | ||
}, "line-mark")); | ||
return holder; | ||
} |
@@ -77,8 +77,8 @@ import * as svg from "../helpers/svg"; | ||
const timeLineHolder = svg.newSvg("water-fall-chart", { | ||
"height": chartHolderHeight, | ||
height: chartHolderHeight, | ||
}); | ||
/** Holder for scale, event and marks */ | ||
const scaleAndMarksHolder = svg.newSvg("scale-and-marks-holder", { | ||
"width": `${100 - options.leftColumnWith}%`, | ||
"x": `${options.leftColumnWith}%`, | ||
width: `${100 - options.leftColumnWith}%`, | ||
x: `${options.leftColumnWith}%`, | ||
}); | ||
@@ -127,12 +127,12 @@ /** Holder for on-hover vertical comparison bars */ | ||
const rectData = { | ||
"cssClass": requestTypeToCssClass(entry.responseDetails.requestType), | ||
"height": options.rowHeight, | ||
"hideOverlay": options.showAlignmentHelpers ? mouseListeners.onMouseLeavePartial : undefined, | ||
"label": `${entry.url} (${Math.round(entry.start)}ms - ` + | ||
cssClass: requestTypeToCssClass(entry.responseDetails.requestType), | ||
height: options.rowHeight, | ||
hideOverlay: options.showAlignmentHelpers ? mouseListeners.onMouseLeavePartial : undefined, | ||
label: `${entry.url} (${Math.round(entry.start)}ms - ` + | ||
`${Math.round(entry.end)}ms | total: ${Math.round(entry.total)}ms)`, | ||
"showOverlay": options.showAlignmentHelpers ? mouseListeners.onMouseEnterPartial : undefined, | ||
"unit": context.unit, | ||
"width": entryWidth, | ||
"x": x, | ||
"y": y, | ||
showOverlay: options.showAlignmentHelpers ? mouseListeners.onMouseEnterPartial : undefined, | ||
unit: context.unit, | ||
width: entryWidth, | ||
x, | ||
y, | ||
}; | ||
@@ -139,0 +139,0 @@ const showDetailsOverlay = () => { |
{ | ||
"name": "perf-cascade", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "Har file visualizer", | ||
@@ -53,2 +53,3 @@ "main": "./index.js", | ||
"tslint": "^5.2.0", | ||
"tslint-eslint-rules": "^4.0.0", | ||
"typescript": "^2.3.2", | ||
@@ -55,0 +56,0 @@ "whatwg-fetch": "^2.0.3" |
@@ -8,8 +8,8 @@ import { Entry } from "har-format"; | ||
export declare function getKeys(entry: Entry, requestID: number, startRelative: number, endRelative: number): { | ||
"general": [string, string][]; | ||
"request": [string, string][]; | ||
"requestHeaders": [string, string][]; | ||
"response": [string, string][]; | ||
"responseHeaders": [string, string][]; | ||
"timings": [string, string][]; | ||
general: [string, string][]; | ||
request: [string, string][]; | ||
requestHeaders: [string, string][]; | ||
response: [string, string][]; | ||
responseHeaders: [string, string][]; | ||
timings: [string, 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
564794
12641
20