perf-cascade
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -1,3 +0,3 @@ | ||
/*! github.com/micmro/PerfCascade Version:3.0.2 (12/11/2022) */ | ||
/*! github.com/micmro/PerfCascade Version:3.0.3 (12/11/2022) */ | ||
!function(m){"use strict";var a,g="File format is not recognized.",o="File contains encrypted entry.",s="File is using Zip64 (4gb+ file size).",_="Error while reading zip file.",r="Error while reading file data.",v=524288,f="text/plain";try{a=0===new Blob([new DataView(new ArrayBuffer(0))]).size}catch(e){}function i(){this.crc=-1}function u(){}function k(e,t){var i=new ArrayBuffer(e),e=new Uint8Array(i);return t&&e.set(t,0),{buffer:i,array:e,view:new DataView(i)}}function e(){}function t(n){var r,a=this;a.size=0,a.init=function(e,t){var i=new Blob([n],{type:f});(r=new l(i)).init(function(){a.size=r.size,e()},t)},a.readUint8Array=function(e,t,i,n){r.readUint8Array(e,t,i,n)}}function n(l){var d,i=this;i.size=0,i.init=function(e){for(var t=l.length;"="==l.charAt(t-1);)t--;d=l.indexOf(",")+1,i.size=Math.floor(.75*(t-d)),e()},i.readUint8Array=function(e,t,i){for(var n=k(t),r=4*Math.floor(e/3),a=4*Math.ceil((e+t)/3),o=m.atob(l.substring(r+d,a+d)),s=e-3*Math.floor(r/4),f=s;f<s+t;f++)n.array[f-s]=o.charCodeAt(f);i(n.array)}}function l(a){var t=this;t.size=0,t.init=function(e){t.size=a.size,e()},t.readUint8Array=function(e,t,i,n){var r=new FileReader;r.onload=function(e){i(new Uint8Array(e.target.result))},r.onerror=n;try{r.readAsArrayBuffer(function(e,t,i){if(t<0||i<0||t+i>e.size)throw new RangeError("offset:"+t+", length:"+i+", size:"+e.size);return e.slice?e.slice(t,t+i):e.webkitSlice?e.webkitSlice(t,t+i):e.mozSlice?e.mozSlice(t,t+i):e.msSlice?e.msSlice(t,t+i):void 0}(a,e,t))}catch(e){n(e)}}}function d(){}function c(n){var r;this.init=function(e){r=new Blob([],{type:f}),e()},this.writeUint8Array=function(e,t){r=new Blob([r,a?e:e.buffer],{type:f}),t()},this.getData=function(t,e){var i=new FileReader;i.onload=function(e){t(e.target.result)},i.onerror=e,i.readAsText(r,n)}}function w(t){var a="",o="";this.init=function(e){a+="data:"+(t||"")+";base64,",e()},this.writeUint8Array=function(e,t){var i,n=o.length,r=o;for(o="",i=0;i<3*Math.floor((n+e.length)/3)-n;i++)r+=String.fromCharCode(e[i]);for(;i<e.length;i++)o+=String.fromCharCode(e[i]);2<r.length?a+=m.btoa(r):o=r,t()},this.getData=function(e){e(a+m.btoa(o))}}function b(i){var n;this.init=function(e){n=new Blob([],{type:i}),e()},this.writeUint8Array=function(e,t){n=new Blob([n,a?e:e.buffer],{type:i}),t()},this.getData=function(e){e(n)}}function U(n,i,e,r,t,a,o,s,f,l){var d,u,_,c=0,w=i.sn;function b(){n.removeEventListener("message",h,!1),s(u,_)}function h(e){var t=e.data,i=t.data,e=t.error;if(e)return e.toString=function(){return"Error: "+this.message},void f(e);if(t.sn===w)switch("number"==typeof t.codecTime&&(n.codecTime+=t.codecTime),"number"==typeof t.crcTime&&(n.crcTime+=t.crcTime),t.type){case"append":i?(u+=i.length,r.writeUint8Array(i,function(){x()},l)):x();break;case"flush":_=t.crc,i?(u+=i.length,r.writeUint8Array(i,function(){b()},l)):b();break;case"progress":o&&o(d+t.loaded,a);break;case"importScripts":case"newTask":case"echo":break;default:console.warn("zip.js:launchWorkerProcess: unknown message: ",t)}}function x(){(d=c*v)<=a?e.readUint8Array(t+d,Math.min(v,a-d),function(e){o&&o(d,a);var t=0===d?i:{sn:w};t.type="append",t.data=e;try{n.postMessage(t,[e.buffer])}catch(e){n.postMessage(t)}c++},f):n.postMessage({sn:w,type:"flush"})}u=0,n.addEventListener("message",h,!1),x()}function z(n,t,r,a,o,e,s,f,l,d){var u,_=0,c=0,w="input"===e,b="output"===e,h=new i;!function i(){var e;if((u=_*v)<o)t.readUint8Array(a+u,Math.min(v,o-u),function(e){var t;try{t=n.append(e,function(e){s&&s(u+e,o)})}catch(e){return void l(e)}t?(c+=t.length,r.writeUint8Array(t,function(){_++,setTimeout(i,1)},d),b&&h.append(t)):(_++,setTimeout(i,1)),w&&h.append(e),s&&s(u,o)},l);else{try{e=n.flush()}catch(e){return void l(e)}e?(b&&h.append(e),c+=e.length,r.writeUint8Array(e,function(){f(c,h.get())},d)):f(c,h.get())}}()}function A(e,t,i,n,r,a,o,s,f,l,d){m.zip.useWebWorkers&&o?U(e,{sn:t,codecClass:"NOOP",crcType:"input"},i,n,r,a,f,s,l,d):z(new u,i,n,r,a,"input",f,s,l,d)}function h(e){for(var t,i="",n=["Ç","ü","é","â","ä","à","å","ç","ê","ë","è","ï","î","ì","Ä","Å","É","æ","Æ","ô","ö","ò","û","ù","ÿ","Ö","Ü","ø","£","Ø","×","ƒ","á","í","ó","ú","ñ","Ñ","ª","º","¿","®","¬","½","¼","¡","«","»","_","_","_","¦","¦","Á","Â","À","©","¦","¦","+","+","¢","¥","+","+","-","-","+","-","+","ã","Ã","+","+","-","-","¦","-","+","¤","ð","Ð","Ê","Ë","È","i","Í","Î","Ï","+","+","_","_","¦","Ì","_","Ó","ß","Ô","Ò","õ","Õ","µ","þ","Þ","Ú","Û","Ù","ý","Ý","¯","´","","±","_","¾","¶","§","÷","¸","°","¨","·","¹","³","²","_"," "],r=0;r<e.length;r++)i+=127<(t=255&e.charCodeAt(r))?n[t-128]:String.fromCharCode(t);return i}function x(e){return decodeURIComponent(escape(e))}function S(e){for(var t="",i=0;i<e.length;i++)t+=String.fromCharCode(e[i]);return t}function E(e,t,i,n,r){e.version=t.view.getUint16(i,!0),e.bitFlag=t.view.getUint16(i+2,!0),e.compressionMethod=t.view.getUint16(i+4,!0),e.lastModDateRaw=t.view.getUint32(i+6,!0),e.lastModDate=function(e){var t=(4294901760&e)>>16,e=65535&e;try{return new Date(1980+((65024&t)>>9),((480&t)>>5)-1,31&t,(63488&e)>>11,(2016&e)>>5,2*(31&e),0)}catch(e){}}(e.lastModDateRaw),1!=(1&e.bitFlag)?(!n&&8==(8&e.bitFlag)||(e.crc32=t.view.getUint32(i+10,!0),e.compressedSize=t.view.getUint32(i+14,!0),e.uncompressedSize=t.view.getUint32(i+18,!0)),4294967295!==e.compressedSize&&4294967295!==e.uncompressedSize?(e.filenameLength=t.view.getUint16(i+22,!0),e.extraFieldLength=t.view.getUint16(i+24,!0)):r(s)):r(o)}function p(p,t,d){var y=0;function u(){}u.prototype.getData=function(_,n,c,w){var b=this;function h(e,t){var i;w&&(i=t,(t=k(4)).view.setUint32(0,i),b.crc32!=t.view.getUint32(0))?d("CRC failed."):_.getData(function(e){n(e)})}function x(e){d(e||r)}function v(e){d(e||"Error while writing file data.")}p.readUint8Array(b.offset,30,function(e){var u,e=k(e.length,e);1347093252==e.view.getUint32(0)?(E(b,e,4,!1,d),u=b.offset+30+b.filenameLength+b.extraFieldLength,_.init(function(){var e,t,i,n,r,a,o,s,f,l,d;0===b.compressionMethod?A(b._worker,y++,p,_,u,b.compressedSize,w,h,c,x,v):(e=b._worker,t=y++,i=p,n=_,r=u,a=b.compressedSize,s=h,f=c,l=x,d=v,o=(o=w)?"output":"none",m.zip.useWebWorkers?U(e,{sn:t,codecClass:"Inflater",crcType:o},i,n,r,a,f,s,l,d):z(new m.zip.Inflater,i,n,r,a,o,f,s,l,d))},v)):d(g)},x)};var i={getEntries:function(f){var n,e,r,l=this._worker;function t(e,i){p.readUint8Array(p.size-e,e,function(e){for(var t=e.length-r;0<=t;t--)if(80===e[t]&&75===e[t+1]&&5===e[t+2]&&6===e[t+3])return void n(new DataView(e.buffer,t,r));i()},function(){d(_)})}n=function(e){var t=e.getUint32(16,!0),s=e.getUint16(8,!0);t<0||t>=p.size?d(g):p.readUint8Array(t,p.size-t,function(e){for(var t,i,n=0,r=[],a=k(e.length,e),o=0;o<s;o++){if((t=new u)._worker=l,1347092738!=a.view.getUint32(n))return void d(g);E(t,a,n+6,!0,d),t.commentLength=a.view.getUint16(n+32,!0),t.directory=16==(16&a.view.getUint8(n+38)),t.offset=a.view.getUint32(n+42,!0),i=S(a.array.subarray(n+46,n+46+t.filenameLength)),t.filename=(2048==(2048&t.bitFlag)?x:h)(i),t.directory||"/"!=t.filename.charAt(t.filename.length-1)||(t.directory=!0),i=S(a.array.subarray(n+46+t.filenameLength+t.extraFieldLength,n+46+t.filenameLength+t.extraFieldLength+t.commentLength)),t.comment=(2048==(2048&t.bitFlag)?x:h)(i),r.push(t),n+=46+t.filenameLength+t.extraFieldLength+t.commentLength}f(r)},function(){d(_)})},r=22,p.size<r?d(g):(e=r+65536,t(r,function(){t(Math.min(e,p.size),function(){d(g)})}))},close:function(e){this._worker&&(this._worker.terminate(),this._worker=null),e&&e()},_worker:null};m.zip.useWebWorkers?M("inflater",function(e){i._worker=e,t(i)},function(e){d(e)}):t(i)}function D(e){return unescape(encodeURIComponent(e))}function F(e){for(var t=[],i=0;i<e.length;i++)t.push(e.charCodeAt(i));return t}function y(w,t,s,b){var f={},h=[],x=0,v=0;function p(e){s(e||"Error while writing zip file.")}function y(e){s(e||r)}var i={add:function(i,l,n,d,u){var r,a,o,_=this._worker;function c(e,t){var i=k(16);x+=e||0,i.view.setUint32(0,1347094280),void 0!==t&&(r.view.setUint32(10,t,!0),i.view.setUint32(4,t,!0)),l&&(i.view.setUint32(8,e,!0),r.view.setUint32(14,e,!0),i.view.setUint32(12,l.size,!0),r.view.setUint32(18,l.size,!0)),w.writeUint8Array(i.array,function(){x+=16,n()},p)}function e(){var e,t;u=u||{},i=i.trim(),u.directory&&"/"!=i.charAt(i.length-1)&&(i+="/"),f.hasOwnProperty(i)?s("File already exists."):(a=F(D(i)),h.push(i),e=function(){var e,t,i,n,r,a,o,s,f;l?b||0===u.level?A(_,v++,l,w,0,l.size,!0,c,d,y,p):(e=_,t=v++,i=l,n=w,r=u.level,a=c,o=d,s=y,f=p,m.zip.useWebWorkers?U(e,{sn:t,options:{level:r},codecClass:"Deflater",crcType:"input"},i,n,0,i.size,o,a,s,f):z(new m.zip.Deflater,i,n,0,i.size,"input",o,a,s,f)):c()},o=u.lastModDate||new Date,r=k(26),f[i]={headerArray:r.array,directory:u.directory,filename:a,offset:x,comment:F(D(u.comment||""))},r.view.setUint32(0,335546376),u.version&&r.view.setUint8(0,u.version),b||0===u.level||u.directory||r.view.setUint16(4,2048),r.view.setUint16(6,(o.getHours()<<6|o.getMinutes())<<5|o.getSeconds()/2,!0),r.view.setUint16(8,(o.getFullYear()-1980<<4|o.getMonth()+1)<<5|o.getDate(),!0),r.view.setUint16(22,a.length,!0),(t=k(30+a.length)).view.setUint32(0,1347093252),t.array.set(r.array,4),t.array.set(a,30),x+=t.array.length,w.writeUint8Array(t.array,e,p))}l?l.init(e,y):e()},close:function(e){this._worker&&(this._worker.terminate(),this._worker=null);for(var t,i,n=0,r=0,a=0;a<h.length;a++)n+=46+(i=f[h[a]]).filename.length+i.comment.length;for(t=k(n+22),a=0;a<h.length;a++)i=f[h[a]],t.view.setUint32(r,1347092738),t.view.setUint16(r+4,5120),t.array.set(i.headerArray,r+6),t.view.setUint16(r+32,i.comment.length,!0),i.directory&&t.view.setUint8(r+38,16),t.view.setUint32(r+42,i.offset,!0),t.array.set(i.filename,r+46),t.array.set(i.comment,r+46+i.filename.length),r+=46+i.filename.length+i.comment.length;t.view.setUint32(r,1347093766),t.view.setUint16(r+8,h.length,!0),t.view.setUint16(r+10,h.length,!0),t.view.setUint32(r+12,n,!0),t.view.setUint32(r+16,x,!0),w.writeUint8Array(t.array,function(){w.getData(e)},p)},_worker:null};m.zip.useWebWorkers?M("deflater",function(e){i._worker=e,t(i)},function(e){s(e)}):t(i)}i.prototype.append=function(e){for(var t=0|this.crc,i=this.table,n=0,r=0|e.length;n<r;n++)t=t>>>8^i[255&(t^e[n])];this.crc=t},i.prototype.get=function(){return~this.crc},i.prototype.table=function(){for(var e,t,i=[],n=0;n<256;n++){for(t=n,e=0;e<8;e++)1&t?t=t>>>1^3988292384:t>>>=1;i[n]=t}return i}(),u.prototype.append=function(e,t){return e},u.prototype.flush=function(){},(t.prototype=new e).constructor=t,(n.prototype=new e).constructor=n,(l.prototype=new e).constructor=l,d.prototype.getData=function(e){e(this.data)},(c.prototype=new d).constructor=c,(w.prototype=new d).constructor=w,b.prototype=new d;var L={deflater:["z-worker.js","deflate.js"],inflater:["z-worker.js","inflate.js"]};function M(e,i,n){if(null===m.zip.workerScripts||null===m.zip.workerScriptsPath){var t,r,a;if(m.zip.workerScripts){if(t=m.zip.workerScripts[e],!Array.isArray(t))return void n(new Error("zip.workerScripts."+e+" is not an array!"));r=t,a=document.createElement("a"),t=r.map(function(e){return a.href=e,a.href})}else(t=L[e].slice(0))[0]=(m.zip.workerScriptsPath||"")+t[0];var o=new Worker(t[0]);o.codecTime=o.crcTime=0,o.postMessage({type:"importScripts",scripts:t.slice(1)}),o.addEventListener("message",function e(t){t=t.data;if(t.error)return o.terminate(),void n(t.error);"importScripts"===t.type&&(o.removeEventListener("message",e),o.removeEventListener("error",s),i(o))}),o.addEventListener("error",s)}else n(new Error("Either zip.workerScripts or zip.workerScriptsPath may be set, not both."));function s(e){o.terminate(),n(e)}}function W(e){console.error(e)}m.zip={Reader:e,Writer:d,BlobReader:l,Data64URIReader:n,TextReader:t,BlobWriter:b.prototype.constructor=b,Data64URIWriter:w,TextWriter:c,createReader:function(e,t,i){i=i||W,e.init(function(){p(e,t,i)},i)},createWriter:function(e,t,i,n){i=i||W,n=!!n,e.init(function(){y(e,t,i,n)},i)},useWebWorkers:!0,workerScriptsPath:null,workerScripts:null}}(this),function(e){"use strict";var M=0,W=1,C=-2,R=-3,c=-4,T=-5,I=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535],B=1440,r=[96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,192,80,7,10,0,8,96,0,8,32,0,9,160,0,8,0,0,8,128,0,8,64,0,9,224,80,7,6,0,8,88,0,8,24,0,9,144,83,7,59,0,8,120,0,8,56,0,9,208,81,7,17,0,8,104,0,8,40,0,9,176,0,8,8,0,8,136,0,8,72,0,9,240,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,200,81,7,13,0,8,100,0,8,36,0,9,168,0,8,4,0,8,132,0,8,68,0,9,232,80,7,8,0,8,92,0,8,28,0,9,152,84,7,83,0,8,124,0,8,60,0,9,216,82,7,23,0,8,108,0,8,44,0,9,184,0,8,12,0,8,140,0,8,76,0,9,248,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,196,81,7,11,0,8,98,0,8,34,0,9,164,0,8,2,0,8,130,0,8,66,0,9,228,80,7,7,0,8,90,0,8,26,0,9,148,84,7,67,0,8,122,0,8,58,0,9,212,82,7,19,0,8,106,0,8,42,0,9,180,0,8,10,0,8,138,0,8,74,0,9,244,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,204,81,7,15,0,8,102,0,8,38,0,9,172,0,8,6,0,8,134,0,8,70,0,9,236,80,7,9,0,8,94,0,8,30,0,9,156,84,7,99,0,8,126,0,8,62,0,9,220,82,7,27,0,8,110,0,8,46,0,9,188,0,8,14,0,8,142,0,8,78,0,9,252,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,194,80,7,10,0,8,97,0,8,33,0,9,162,0,8,1,0,8,129,0,8,65,0,9,226,80,7,6,0,8,89,0,8,25,0,9,146,83,7,59,0,8,121,0,8,57,0,9,210,81,7,17,0,8,105,0,8,41,0,9,178,0,8,9,0,8,137,0,8,73,0,9,242,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,202,81,7,13,0,8,101,0,8,37,0,9,170,0,8,5,0,8,133,0,8,69,0,9,234,80,7,8,0,8,93,0,8,29,0,9,154,84,7,83,0,8,125,0,8,61,0,9,218,82,7,23,0,8,109,0,8,45,0,9,186,0,8,13,0,8,141,0,8,77,0,9,250,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,198,81,7,11,0,8,99,0,8,35,0,9,166,0,8,3,0,8,131,0,8,67,0,9,230,80,7,7,0,8,91,0,8,27,0,9,150,84,7,67,0,8,123,0,8,59,0,9,214,82,7,19,0,8,107,0,8,43,0,9,182,0,8,11,0,8,139,0,8,75,0,9,246,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,206,81,7,15,0,8,103,0,8,39,0,9,174,0,8,7,0,8,135,0,8,71,0,9,238,80,7,9,0,8,95,0,8,31,0,9,158,84,7,99,0,8,127,0,8,63,0,9,222,82,7,27,0,8,111,0,8,47,0,9,190,0,8,15,0,8,143,0,8,79,0,9,254,96,7,256,0,8,80,0,8,16,84,8,115,82,7,31,0,8,112,0,8,48,0,9,193,80,7,10,0,8,96,0,8,32,0,9,161,0,8,0,0,8,128,0,8,64,0,9,225,80,7,6,0,8,88,0,8,24,0,9,145,83,7,59,0,8,120,0,8,56,0,9,209,81,7,17,0,8,104,0,8,40,0,9,177,0,8,8,0,8,136,0,8,72,0,9,241,80,7,4,0,8,84,0,8,20,85,8,227,83,7,43,0,8,116,0,8,52,0,9,201,81,7,13,0,8,100,0,8,36,0,9,169,0,8,4,0,8,132,0,8,68,0,9,233,80,7,8,0,8,92,0,8,28,0,9,153,84,7,83,0,8,124,0,8,60,0,9,217,82,7,23,0,8,108,0,8,44,0,9,185,0,8,12,0,8,140,0,8,76,0,9,249,80,7,3,0,8,82,0,8,18,85,8,163,83,7,35,0,8,114,0,8,50,0,9,197,81,7,11,0,8,98,0,8,34,0,9,165,0,8,2,0,8,130,0,8,66,0,9,229,80,7,7,0,8,90,0,8,26,0,9,149,84,7,67,0,8,122,0,8,58,0,9,213,82,7,19,0,8,106,0,8,42,0,9,181,0,8,10,0,8,138,0,8,74,0,9,245,80,7,5,0,8,86,0,8,22,192,8,0,83,7,51,0,8,118,0,8,54,0,9,205,81,7,15,0,8,102,0,8,38,0,9,173,0,8,6,0,8,134,0,8,70,0,9,237,80,7,9,0,8,94,0,8,30,0,9,157,84,7,99,0,8,126,0,8,62,0,9,221,82,7,27,0,8,110,0,8,46,0,9,189,0,8,14,0,8,142,0,8,78,0,9,253,96,7,256,0,8,81,0,8,17,85,8,131,82,7,31,0,8,113,0,8,49,0,9,195,80,7,10,0,8,97,0,8,33,0,9,163,0,8,1,0,8,129,0,8,65,0,9,227,80,7,6,0,8,89,0,8,25,0,9,147,83,7,59,0,8,121,0,8,57,0,9,211,81,7,17,0,8,105,0,8,41,0,9,179,0,8,9,0,8,137,0,8,73,0,9,243,80,7,4,0,8,85,0,8,21,80,8,258,83,7,43,0,8,117,0,8,53,0,9,203,81,7,13,0,8,101,0,8,37,0,9,171,0,8,5,0,8,133,0,8,69,0,9,235,80,7,8,0,8,93,0,8,29,0,9,155,84,7,83,0,8,125,0,8,61,0,9,219,82,7,23,0,8,109,0,8,45,0,9,187,0,8,13,0,8,141,0,8,77,0,9,251,80,7,3,0,8,83,0,8,19,85,8,195,83,7,35,0,8,115,0,8,51,0,9,199,81,7,11,0,8,99,0,8,35,0,9,167,0,8,3,0,8,131,0,8,67,0,9,231,80,7,7,0,8,91,0,8,27,0,9,151,84,7,67,0,8,123,0,8,59,0,9,215,82,7,19,0,8,107,0,8,43,0,9,183,0,8,11,0,8,139,0,8,75,0,9,247,80,7,5,0,8,87,0,8,23,192,8,0,83,7,51,0,8,119,0,8,55,0,9,207,81,7,15,0,8,103,0,8,39,0,9,175,0,8,7,0,8,135,0,8,71,0,9,239,80,7,9,0,8,95,0,8,31,0,9,159,84,7,99,0,8,127,0,8,63,0,9,223,82,7,27,0,8,111,0,8,47,0,9,191,0,8,15,0,8,143,0,8,79,0,9,255],a=[80,5,1,87,5,257,83,5,17,91,5,4097,81,5,5,89,5,1025,85,5,65,93,5,16385,80,5,3,88,5,513,84,5,33,92,5,8193,82,5,9,90,5,2049,86,5,129,192,5,24577,80,5,2,87,5,385,83,5,25,91,5,6145,81,5,7,89,5,1537,85,5,97,93,5,24577,80,5,4,88,5,769,84,5,49,92,5,12289,82,5,13,90,5,3073,86,5,193,192,5,24577],w=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],b=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,112,112],h=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],x=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],F=15;function O(){var l,d,A,S,E,D;function u(e,t,i,n,r,a,o,s,f,l,d){for(var u,_,c,w,b,h,x,v,p,y,m,g,k,U=0,z=i;A[e[t+U]]++,U++,0!==--z;);if(A[0]==i)return o[0]=-1,s[0]=0,M;for(x=s[0],b=1;b<=F&&0===A[b];b++);for(x<(h=b)&&(x=b),z=F;0!==z&&0===A[z];z--);for((c=z)<x&&(x=z),s[0]=x,g=1<<b;b<z;b++,g<<=1)if((g-=A[b])<0)return R;if((g-=A[z])<0)return R;for(A[z]+=g,D[1]=b=0,U=1,m=2;0!=--z;)D[m]=b+=A[U],m++,U++;for(U=z=0;0!==(b=e[t+U])&&(d[D[b]++]=z),U++,++z<i;);for(i=D[c],D[0]=z=0,w=-1,y=-x,k=p=E[U=0]=0;h<=c;h++)for(u=A[h];0!=u--;){for(;y+x<h;){if(w++,k=x<(k=c-(y+=x))?x:k,(_=1<<(b=h-y))>u+1&&(_-=u+1,m=h,b<k))for(;++b<k&&!((_<<=1)<=A[++m]);)_-=A[m];if(l[0]+(k=1<<b)>B)return R;E[w]=p=l[0],l[0]+=k,0!==w?(D[w]=z,S[0]=b,S[1]=x,S[2]=p-E[w-1]-(b=z>>>y-x),f.set(S,3*(E[w-1]+b))):o[0]=p}for(S[1]=h-y,i<=U?S[0]=192:d[U]<n?(S[0]=d[U]<256?0:96,S[2]=d[U++]):(S[0]=a[d[U]-n]+16+64,S[2]=r[d[U++]-n]),_=1<<h-y,b=z>>>y;b<k;b+=_)f.set(S,3*(p+b));for(b=1<<h-1;0!=(z&b);b>>>=1)z^=b;for(z^=b,v=(1<<y)-1;(z&v)!=D[w];)w--,v=(1<<(y-=x))-1}return 0!==g&&1!=c?T:M}function _(e){var t;for(l||(l=[],d=[],A=new Int32Array(F+1),S=[],E=new Int32Array(F),D=new Int32Array(F+1)),d.length<e&&(d=[]),t=0;t<e;t++)d[t]=0;for(t=0;t<F+1;t++)A[t]=0;for(t=0;t<3;t++)S[t]=0;E.set(A.subarray(0,F),0),D.set(A.subarray(0,F+1),0)}this.inflate_trees_bits=function(e,t,i,n,r){return _(19),(n=u(e,l[0]=0,19,19,null,null,i,t,n,l,d))==R?r.msg="oversubscribed dynamic bit lengths tree":n!=T&&0!==t[0]||(r.msg="incomplete dynamic bit lengths tree",n=R),n},this.inflate_trees_dynamic=function(e,t,i,n,r,a,o,s,f){return _(288),(a=u(i,l[0]=0,e,257,w,b,a,n,s,l,d))!=M||0===n[0]?(a==R?f.msg="oversubscribed literal/length tree":a!=c&&(f.msg="incomplete literal/length tree",a=R),a):(_(288),(a=u(i,e,t,0,h,x,o,r,s,l,d))!=M||0===r[0]&&257<e?(a==R?f.msg="oversubscribed distance tree":a==T?(f.msg="incomplete distance tree",a=R):a!=c&&(f.msg="empty distance tree with lengths",a=R),a):M)}}O.inflate_trees_fixed=function(e,t,i,n){return e[0]=9,t[0]=5,i[0]=r,n[0]=a,M};var S=0,E=1,D=2,L=3,P=4,j=5,q=6,N=7,V=8,H=9;function i(){var c,w,b,h,x=0,v=0,p=0,y=0,m=0,g=0,k=0,U=0,z=0,A=0;this.init=function(e,t,i,n,r,a){c=S,k=e,U=t,b=i,z=n,h=r,A=a,w=null},this.proc=function(e,t,i){for(var n,r,a,o,s=0,f=0,l=0,l=t.next_in_index,d=t.avail_in,s=e.bitb,f=e.bitk,u=e.write,_=u<e.read?e.read-u-1:e.end-u;;)switch(c){case S:if(258<=_&&10<=d&&(e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,i=function(e,t,i,n,r,a,o,s){var f,l,d,u,_,c,w,b,h=s.next_in_index,x=s.avail_in,v=o.bitb,p=o.bitk,y=o.write,m=y<o.read?o.read-y-1:o.end-y,g=I[e],k=I[t];do{for(;p<20;)x--,v|=(255&s.read_byte(h++))<<p,p+=8;if(0!==(u=(l=i)[b=3*((d=n)+(f=v&g))]))for(;;){if(v>>=l[b+1],p-=l[b+1],0!=(16&u)){for(u&=15,_=l[b+2]+(v&I[u]),v>>=u,p-=u;p<15;)x--,v|=(255&s.read_byte(h++))<<p,p+=8;for(u=(l=r)[b=3*((d=a)+(f=v&k))];;){if(v>>=l[b+1],p-=l[b+1],0!=(16&u)){for(u&=15;p<u;)x--,v|=(255&s.read_byte(h++))<<p,p+=8;if(c=l[b+2]+(v&I[u]),v>>=u,p-=u,m-=_,c<=y)0<y-(w=y-c)&&y-w<2?(o.window[y++]=o.window[w++],o.window[y++]=o.window[w++]):(o.window.set(o.window.subarray(w,w+2),y),y+=2,w+=2),_-=2;else{for(w=y-c;(w+=o.end)<0;);if((u=o.end-w)<_){if(_-=u,0<y-w&&y-w<u)for(;o.window[y++]=o.window[w++],0!=--u;);else o.window.set(o.window.subarray(w,w+u),y),y+=u,w+=u,u=0;w=0}}if(0<y-w&&y-w<_)for(;o.window[y++]=o.window[w++],0!=--_;);else o.window.set(o.window.subarray(w,w+_),y),y+=_,w+=_,_=0;break}if(0!=(64&u))return s.msg="invalid distance code",x+=_=p>>3<(_=s.avail_in-x)?p>>3:_,h-=_,p-=_<<3,o.bitb=v,o.bitk=p,s.avail_in=x,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=y,R;f+=l[b+2],u=l[b=3*(d+(f+=v&I[u]))]}break}if(0!=(64&u))return 0!=(32&u)?(x+=_=p>>3<(_=s.avail_in-x)?p>>3:_,h-=_,p-=_<<3,o.bitb=v,o.bitk=p,s.avail_in=x,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=y,W):(s.msg="invalid literal/length code",x+=_=p>>3<(_=s.avail_in-x)?p>>3:_,h-=_,p-=_<<3,o.bitb=v,o.bitk=p,s.avail_in=x,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=y,R);if(f+=l[b+2],0===(u=l[b=3*(d+(f+=v&I[u]))])){v>>=l[b+1],p-=l[b+1],o.window[y++]=l[b+2],m--;break}}else v>>=l[b+1],p-=l[b+1],o.window[y++]=l[b+2],m--}while(258<=m&&10<=x);return x+=_=p>>3<(_=s.avail_in-x)?p>>3:_,h-=_,p-=_<<3,o.bitb=v,o.bitk=p,s.avail_in=x,s.total_in+=h-s.next_in_index,s.next_in_index=h,o.write=y,M}(k,U,b,z,h,A,e,t),l=t.next_in_index,d=t.avail_in,s=e.bitb,f=e.bitk,_=(u=e.write)<e.read?e.read-u-1:e.end-u,i!=M)){c=i==W?N:H;break}p=k,w=b,v=z,c=E;case E:for(n=p;f<n;){if(0===d)return e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);i=M,d--,s|=(255&t.read_byte(l++))<<f,f+=8}if(r=3*(v+(s&I[n])),s>>>=w[r+1],f-=w[r+1],0===(a=w[r])){y=w[r+2],c=q;break}if(0!=(16&a)){m=15&a,x=w[r+2],c=D;break}if(0==(64&a)){p=a,v=r/3+w[r+2];break}if(0==(32&a))return c=H,t.msg="invalid literal/length code",i=R,e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);c=N;break;case D:for(n=m;f<n;){if(0===d)return e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);i=M,d--,s|=(255&t.read_byte(l++))<<f,f+=8}x+=s&I[n],s>>=n,f-=n,p=U,w=h,v=A,c=L;case L:for(n=p;f<n;){if(0===d)return e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);i=M,d--,s|=(255&t.read_byte(l++))<<f,f+=8}if(r=3*(v+(s&I[n])),s>>=w[r+1],f-=w[r+1],0!=(16&(a=w[r]))){m=15&a,g=w[r+2],c=P;break}if(0!=(64&a))return c=H,t.msg="invalid distance code",i=R,e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);p=a,v=r/3+w[r+2];break;case P:for(n=m;f<n;){if(0===d)return e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);i=M,d--,s|=(255&t.read_byte(l++))<<f,f+=8}g+=s&I[n],s>>=n,f-=n,c=j;case j:for(o=u-g;o<0;)o+=e.end;for(;0!==x;){if(0===_&&0===(_=u==e.end&&0!==e.read?(u=0)<e.read?e.read-u-1:e.end-u:_)&&(e.write=u,i=e.inflate_flush(t,i),_=(u=e.write)<e.read?e.read-u-1:e.end-u,0===(_=u==e.end&&0!==e.read?(u=0)<e.read?e.read-u-1:e.end-u:_)))return e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);e.window[u++]=e.window[o++],_--,o==e.end&&(o=0),x--}c=S;break;case q:if(0===_&&0===(_=u==e.end&&0!==e.read?(u=0)<e.read?e.read-u-1:e.end-u:_)&&(e.write=u,i=e.inflate_flush(t,i),_=(u=e.write)<e.read?e.read-u-1:e.end-u,0===(_=u==e.end&&0!==e.read?(u=0)<e.read?e.read-u-1:e.end-u:_)))return e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);i=M,e.window[u++]=y,_--,c=S;break;case N:if(7<f&&(f-=8,d++,l--),e.write=u,i=e.inflate_flush(t,i),_=(u=e.write)<e.read?e.read-u-1:e.end-u,e.read!=e.write)return e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);c=V;case V:return i=W,e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);case H:return i=R,e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i);default:return i=C,e.bitb=s,e.bitk=f,t.avail_in=d,t.total_in+=l-t.next_in_index,t.next_in_index=l,e.write=u,e.inflate_flush(t,i)}},this.free=function(){}}var J=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],Y=0,Z=1,$=2,G=3,K=4,Q=5,X=6,ee=7,te=8,ie=9;function n(e,t){var y,m=this,g=Y,k=0,U=0,z=0,A=[0],S=[0],E=new i,D=0,F=new Int32Array(3*B),L=new O;m.bitk=0,m.bitb=0,m.window=new Uint8Array(t),m.end=t,m.read=0,m.write=0,m.reset=function(e,t){t&&(t[0]=0),g==X&&E.free(e),g=Y,m.bitk=0,m.bitb=0,m.read=m.write=0},m.reset(e,null),m.inflate_flush=function(e,t){var i=e.next_out_index,n=m.read,r=(n<=m.write?m.write:m.end)-n;return 0!==(r=r>e.avail_out?e.avail_out:r)&&t==T&&(t=M),e.avail_out-=r,e.total_out+=r,e.next_out.set(m.window.subarray(n,n+r),i),i+=r,(n+=r)==m.end&&(n=0,m.write==m.end&&(m.write=0),0!==(r=(r=m.write-n)>e.avail_out?e.avail_out:r)&&t==T&&(t=M),e.avail_out-=r,e.total_out+=r,e.next_out.set(m.window.subarray(n,n+r),i),i+=r,n+=r),e.next_out_index=i,m.read=n,t},m.proc=function(e,t){for(var i,n=e.next_in_index,r=e.avail_in,a=m.bitb,o=m.bitk,s=m.write,f=s<m.read?m.read-s-1:m.end-s;;)switch(g){case Y:for(;o<3;){if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);t=M,r--,a|=(255&e.read_byte(n++))<<o,o+=8}switch(D=1&(b=7&a),b>>>1){case 0:a>>>=3,a>>>=b=7&(o-=3),o-=b,g=Z;break;case 1:var l=[],d=[],u=[[]],_=[[]];O.inflate_trees_fixed(l,d,u,_),E.init(l[0],d[0],u[0],0,_[0],0),a>>>=3,o-=3,g=X;break;case 2:a>>>=3,o-=3,g=G;break;case 3:return a>>>=3,o-=3,g=ie,e.msg="invalid block type",t=R,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t)}break;case Z:for(;o<32;){if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);t=M,r--,a|=(255&e.read_byte(n++))<<o,o+=8}if((~a>>>16&65535)!=(65535&a))return g=ie,e.msg="invalid stored block lengths",t=R,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);k=65535&a,a=o=0,g=0!==k?$:0!==D?ee:Y;break;case $:if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);if(0===f&&0===(f=s==m.end&&0!==m.read?(s=0)<m.read?m.read-s-1:m.end-s:f)&&(m.write=s,t=m.inflate_flush(e,t),f=(s=m.write)<m.read?m.read-s-1:m.end-s,0===(f=s==m.end&&0!==m.read?(s=0)<m.read?m.read-s-1:m.end-s:f)))return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);if(t=M,f<(b=r<(b=k)?r:b)&&(b=f),m.window.set(e.read_buf(n,b),s),n+=b,r-=b,s+=b,f-=b,0!=(k-=b))break;g=0!==D?ee:Y;break;case G:for(;o<14;){if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);t=M,r--,a|=(255&e.read_byte(n++))<<o,o+=8}if(U=b=16383&a,29<(31&b)||29<(b>>5&31))return g=ie,e.msg="too many length or distance symbols",t=R,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);if(b=258+(31&b)+(b>>5&31),!y||y.length<b)y=[];else for(i=0;i<b;i++)y[i]=0;a>>>=14,o-=14,z=0,g=K;case K:for(;z<4+(U>>>10);){for(;o<3;){if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);t=M,r--,a|=(255&e.read_byte(n++))<<o,o+=8}y[J[z++]]=7&a,a>>>=3,o-=3}for(;z<19;)y[J[z++]]=0;if(A[0]=7,(b=L.inflate_trees_bits(y,A,S,F,e))!=M)return(t=b)==R&&(y=null,g=ie),m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);z=0,g=Q;case Q:for(;!(258+(31&(b=U))+(b>>5&31)<=z);){for(var c,w,b=A[0];o<b;){if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);t=M,r--,a|=(255&e.read_byte(n++))<<o,o+=8}if(b=F[3*(S[0]+(a&I[b]))+1],(w=F[3*(S[0]+(a&I[b]))+2])<16)a>>>=b,o-=b,y[z++]=w;else{for(i=18==w?7:w-14,c=18==w?11:3;o<b+i;){if(0===r)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);t=M,r--,a|=(255&e.read_byte(n++))<<o,o+=8}if(o-=b,c+=(a>>>=b)&I[i],a>>>=i,o-=i,258+(31&(b=U))+(b>>5&31)<(i=z)+c||16==w&&i<1)return y=null,g=ie,e.msg="invalid bit length repeat",t=R,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);for(w=16==w?y[i-1]:0;y[i++]=w,0!=--c;);z=i}}S[0]=-1;var h=[],x=[],v=[],p=[];if(h[0]=9,x[0]=6,b=U,(b=L.inflate_trees_dynamic(257+(31&b),1+(b>>5&31),y,h,x,v,p,F,e))!=M)return b==R&&(y=null,g=ie),t=b,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);E.init(h[0],x[0],F,v[0],F,p[0]),g=X;case X:if(m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,(t=E.proc(m,e,t))!=W)return m.inflate_flush(e,t);if(t=M,E.free(e),n=e.next_in_index,r=e.avail_in,a=m.bitb,o=m.bitk,f=(s=m.write)<m.read?m.read-s-1:m.end-s,0===D){g=Y;break}g=ee;case ee:if(m.write=s,t=m.inflate_flush(e,t),f=(s=m.write)<m.read?m.read-s-1:m.end-s,m.read!=m.write)return m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);g=te;case te:return t=W,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);case ie:return t=R,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t);default:return t=C,m.bitb=a,m.bitk=o,e.avail_in=r,e.total_in+=n-e.next_in_index,e.next_in_index=n,m.write=s,m.inflate_flush(e,t)}},m.free=function(e){m.reset(e,null),m.window=null,F=null},m.set_dictionary=function(e,t,i){m.window.set(e.subarray(t,t+i),0),m.read=m.write=i},m.sync_point=function(){return g==Z?1:0}}var s=[0,0,255,255];function t(){var i=this;function o(e){return e&&e.istate?(e.total_in=e.total_out=0,e.msg=null,e.istate.mode=7,e.istate.blocks.reset(e,null),M):C}i.mode=0,i.method=0,i.was=[0],i.need=0,i.marker=0,i.wbits=0,i.inflateEnd=function(e){return i.blocks&&i.blocks.free(e),i.blocks=null,M},i.inflateInit=function(e,t){return e.msg=null,i.blocks=null,t<8||15<t?(i.inflateEnd(e),C):(i.wbits=t,e.istate.blocks=new n(e,1<<t),o(e),M)},i.inflate=function(e,t){var i,n;if(!e||!e.istate||!e.next_in)return C;for(t=4==t?T:M,i=T;;)switch(e.istate.mode){case 0:if(0===e.avail_in)return i;if(i=t,e.avail_in--,e.total_in++,8!=(15&(e.istate.method=e.read_byte(e.next_in_index++)))){e.istate.mode=13,e.msg="unknown compression method",e.istate.marker=5;break}if(8+(e.istate.method>>4)>e.istate.wbits){e.istate.mode=13,e.msg="invalid window size",e.istate.marker=5;break}e.istate.mode=1;case 1:if(0===e.avail_in)return i;if(i=t,e.avail_in--,e.total_in++,n=255&e.read_byte(e.next_in_index++),((e.istate.method<<8)+n)%31!=0){e.istate.mode=13,e.msg="incorrect header check",e.istate.marker=5;break}if(0==(32&n)){e.istate.mode=7;break}e.istate.mode=2;case 2:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need=(255&e.read_byte(e.next_in_index++))<<24&4278190080,e.istate.mode=3;case 3:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<16&16711680,e.istate.mode=4;case 4:if(0===e.avail_in)return i;i=t,e.avail_in--,e.total_in++,e.istate.need+=(255&e.read_byte(e.next_in_index++))<<8&65280,e.istate.mode=5;case 5:return 0===e.avail_in?i:(i=t,e.avail_in--,e.total_in++,e.istate.need+=255&e.read_byte(e.next_in_index++),e.istate.mode=6,2);case 6:return e.istate.mode=13,e.msg="need dictionary",e.istate.marker=0,C;case 7:if((i=e.istate.blocks.proc(e,i))==R){e.istate.mode=13,e.istate.marker=0;break}if((i=i==M?t:i)!=W)return i;i=t,e.istate.blocks.reset(e,e.istate.was),e.istate.mode=12;case 12:return W;case 13:return R;default:return C}},i.inflateSetDictionary=function(e,t,i){var n=0,r=i;return e&&e.istate&&6==e.istate.mode?(r>=1<<e.istate.wbits&&(n=i-(r=(1<<e.istate.wbits)-1)),e.istate.blocks.set_dictionary(t,n,r),e.istate.mode=7,M):C},i.inflateSync=function(e){var t,i,n,r,a;if(!e||!e.istate)return C;if(13!=e.istate.mode&&(e.istate.mode=13,e.istate.marker=0),0===(t=e.avail_in))return T;for(i=e.next_in_index,n=e.istate.marker;0!==t&&n<4;)e.read_byte(i)==s[n]?n++:n=0!==e.read_byte(i)?0:4-n,i++,t--;return e.total_in+=i-e.next_in_index,e.next_in_index=i,e.avail_in=t,4!=(e.istate.marker=n)?R:(r=e.total_in,a=e.total_out,o(e),e.total_in=r,e.total_out=a,e.istate.mode=7,M)},i.inflateSyncPoint=function(e){return e&&e.istate&&e.istate.blocks?e.istate.blocks.sync_point():C}}function o(){}o.prototype={inflateInit:function(e){return this.istate=new t,this.istate.inflateInit(this,e=e||15)},inflate:function(e){return this.istate?this.istate.inflate(this,e):C},inflateEnd:function(){if(!this.istate)return C;var e=this.istate.inflateEnd(this);return this.istate=null,e},inflateSync:function(){return this.istate?this.istate.inflateSync(this):C},inflateSetDictionary:function(e,t){return this.istate?this.istate.inflateSetDictionary(this,e,t):C},read_byte:function(e){return this.next_in.subarray(e,e+1)[0]},read_buf:function(e,t){return this.next_in.subarray(e,e+t)}};e=e.zip||e;e.Inflater=e._jzlib_Inflater=function(){var f=new o,l=new Uint8Array(512),d=!1;f.inflateInit(),f.next_out=l,this.append=function(e,t){var i,n,r=[],a=0,o=0,s=0;if(0!==e.length){f.next_in_index=0,f.next_in=e,f.avail_in=e.length;do{if(f.next_out_index=0,f.avail_out=512,0!==f.avail_in||d||(f.next_in_index=0,d=!0),i=f.inflate(0),d&&i===T){if(0!==f.avail_in)throw new Error("inflating: bad input")}else if(i!==M&&i!==W)throw new Error("inflating: "+f.msg);if((d||i===W)&&f.avail_in===e.length)throw new Error("inflating: bad input")}while(f.next_out_index&&(512===f.next_out_index?r.push(new Uint8Array(l)):r.push(new Uint8Array(l.subarray(0,f.next_out_index)))),s+=f.next_out_index,t&&0<f.next_in_index&&f.next_in_index!=a&&(t(f.next_in_index),a=f.next_in_index),0<f.avail_in||0===f.avail_out);return n=new Uint8Array(s),r.forEach(function(e){n.set(e,o),o+=e.length}),n}},this.flush=function(){f.inflateEnd()}}}(this),function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).perfCascadeFileReader=e()}(function(){return function n(r,a,o){function s(t,e){if(!a[t]){if(!r[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(f)return f(t,!0);throw(i=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",i}i=a[t]={exports:{}},r[t][0].call(i.exports,function(e){return s(r[t][1][e]||e)},i,i.exports,n,r,a,o)}return a[t].exports}for(var f="function"==typeof require&&require,e=0;e<o.length;e++)s(o[e]);return s}({1:[function(e,t,i){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.readFile=void 0;i.readFile=function(e,t,i,n){if(!e)return i(new Error("Failed to load HAR file"));function r(e){try{var t=JSON.parse(e);i(null,t.log)}catch(e){i(e)}}t=(t.match(/\.[0-9a-z]+$/i)||[])[0];const a=(()=>{const e=window.zip||{};return e.useWebWorkers=!1,e})();if(-1!==[".zhar",".zip"].indexOf(t))a.createReader(new a.BlobReader(e),t=>{t.getEntries(e=>{e[0].getData(new a.TextWriter,e=>{r(e),t.close()},n)})});else{const o=new FileReader;o.addEventListener("load",e=>{r(e.target.result)}),o.readAsText(e)}}},{}]},{},[1])(1)}); |
@@ -1,2 +0,2 @@ | ||
/*! github.com/micmro/PerfCascade Version:3.0.2 (12/11/2022) */ | ||
/*! github.com/micmro/PerfCascade Version:3.0.3 (12/11/2022) */ | ||
@@ -3,0 +3,0 @@ !function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).perfCascade=e()}(function(){return function r(s,i,o){function a(t,e){if(!i[t]){if(!s[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);throw(n=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",n}n=i[t]={exports:{}},s[t][0].call(n.exports,function(e){return a(s[t][1][e]||e)},n,n.exports,r,s,i,o)}return i[t].exports}for(var l="function"==typeof require&&require,e=0;e<o.length;e++)a(o[e]);return a}({1:[function(e,t,n){"use strict";function r(e,t,n){t in e.style?e.style[t]=n:console.warn(new Error("Trying to set non-existing style "+`${t} = ${n} on a <${e.tagName.toLowerCase()}>.`))}function s(e,t,n){t in e||console.warn(new Error("Trying to set non-existing attribute "+`${t} = ${n} on a <${e.tagName.toLowerCase()}>.`)),e.setAttributeNS("",t,n)}function i(t,n){Object.keys(n).forEach(e=>{r(t,e,n[e].toString())})}Object.defineProperty(n,"__esModule",{value:!0}),n.makeBodyEl=n.makeHtmlEl=n.safeSetAttributes=n.safeSetStyles=n.safeSetAttribute=n.safeSetStyle=n.forEachNodeList=n.getLastItemOfNodeList=n.removeChildren=n.getParentByClassName=n.removeClass=n.addClass=void 0,n.addClass=function(e,t){const n=e.classList;return n?t.split(" ").forEach(e=>n.add(e)):e.setAttribute("class",e.getAttribute("class")+" "+t),e},n.removeClass=function(e,t){const n=e.classList;return n?n.remove(t):e.setAttribute("class",(e.getAttribute("class")||"").replace(new RegExp("(\\s|^)"+t+"(\\s|$)","g"),"$2")),e},n.getParentByClassName=function(e,t){if("function"==typeof e.closest)return e.closest(`.${t}`);for(;e;){if(e.classList.contains(t))return e;e=e.parentElement}return null},n.removeChildren=function(e){for(;e.hasChildNodes();)e.removeChild(e.lastChild);return e},n.getLastItemOfNodeList=function(e){if(e&&0!==e.length)return e.item(e.length-1)},n.forEachNodeList=function(e,t){Array.prototype.forEach.call(e,t)},n.safeSetStyle=r,n.safeSetAttribute=s,n.safeSetStyles=i,n.safeSetAttributes=function(t,n){Object.keys(n).forEach(e=>{s(t,e,n[e].toString())})},n.makeHtmlEl=function(){const e=document.createElement("html");return e.setAttributeNS("http://www.w3.org/2000/xmlns/","xmlns","http://www.w3.org/2000/xmlns/"),e},n.makeBodyEl=function(e={},t=""){const n=document.createElement("body");return n.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),i(n,e),n.innerHTML=t,n}},{}],2:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getHeaders=n.getHeader=n.hasHeader=void 0;const r=t=>e=>e.name.toLowerCase()===t;n.hasHeader=function(e,t){return t=r(t.toLowerCase()),e.some(t)};const s=!!Array.prototype.find;n.getHeader=function(e,t){t=r(t.toLowerCase());let n;return n=s?e.find(t):e.map(t).pop(),n?n.value:void 0},n.getHeaders=function(e,t){var n=r(t.toLowerCase());return e.filter(n).map(e=>[t,e.value])}},{}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.audio=n.video=n.flash=n.font=n.error=n.warning=n.css=n.html=n.svg=n.image=n.javascript=n.other=n.plain=n.err5xx=n.err4xx=n.err3xx=n.noTls=void 0;const l=e("./svg"),s=(e,t,n,r,s,i)=>{const o=l.newSvg("",{x:e,y:t}),a=l.newG(`icon ${r}`,{transform:`scale(${s})`});return a.appendChild(i),a.appendChild(l.newTitle(n)),o.appendChild(a),o};let i;n.noTls=function(e,t,n,r=1){return void 0===i&&(i=l.newPath(`M18 6.216v2.77q0 .28-.206.486-.205.206-.486.206h-.693q-.28 0-.486-.206-.21-.205-.21 |
{ | ||
"name": "perf-cascade", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Har file visualizer", | ||
@@ -5,0 +5,0 @@ "main": "./dist/perf-cascade.js", |
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