You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
223 KiB
1 lines
223 KiB
!function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=88)}([function(t,e){t.exports=require("electron")},function(t,e){t.exports=require("path")},function(t,e){t.exports=require("fs")},function(t,e,r){"use strict";var n=r(9),i=r(60),s=r(23),o=r(18);function a(t){return t}function c(t,e){for(var r=0;r<t.length;++r)e[r]=255&t.charCodeAt(r);return e}r(100),e.newBlob=function(t,r){e.checkSupport("blob");try{return new Blob([t],{type:r})}catch(e){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(r)}catch(t){throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(t,e,r){var n=[],i=0,s=t.length;if(s<=r)return String.fromCharCode.apply(null,t);for(;i<s;)"array"===e||"nodebuffer"===e?n.push(String.fromCharCode.apply(null,t.slice(i,Math.min(i+r,s)))):n.push(String.fromCharCode.apply(null,t.subarray(i,Math.min(i+r,s)))),i+=r;return n.join("")},stringifyByChar:function(t){for(var e="",r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e},applyCanBeUsed:{uint8array:function(){try{return n.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(t){return!1}}(),nodebuffer:function(){try{return n.nodebuffer&&1===String.fromCharCode.apply(null,s.allocBuffer(1)).length}catch(t){return!1}}()}};function l(t){var r=65536,n=e.getTypeOf(t),i=!0;if("uint8array"===n?i=h.applyCanBeUsed.uint8array:"nodebuffer"===n&&(i=h.applyCanBeUsed.nodebuffer),i)for(;r>1;)try{return h.stringifyByChunk(t,n,r)}catch(t){r=Math.floor(r/2)}return h.stringifyByChar(t)}function u(t,e){for(var r=0;r<t.length;r++)e[r]=t[r];return e}e.applyFromCharCode=l;var f={};f.string={string:a,array:function(t){return c(t,new Array(t.length))},arraybuffer:function(t){return f.string.uint8array(t).buffer},uint8array:function(t){return c(t,new Uint8Array(t.length))},nodebuffer:function(t){return c(t,s.allocBuffer(t.length))}},f.array={string:l,array:a,arraybuffer:function(t){return new Uint8Array(t).buffer},uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return s.newBufferFrom(t)}},f.arraybuffer={string:function(t){return l(new Uint8Array(t))},array:function(t){return u(new Uint8Array(t),new Array(t.byteLength))},arraybuffer:a,uint8array:function(t){return new Uint8Array(t)},nodebuffer:function(t){return s.newBufferFrom(new Uint8Array(t))}},f.uint8array={string:l,array:function(t){return u(t,new Array(t.length))},arraybuffer:function(t){return t.buffer},uint8array:a,nodebuffer:function(t){return s.newBufferFrom(t)}},f.nodebuffer={string:l,array:function(t){return u(t,new Array(t.length))},arraybuffer:function(t){return f.nodebuffer.uint8array(t).buffer},uint8array:function(t){return u(t,new Uint8Array(t.length))},nodebuffer:a},e.transformTo=function(t,r){if(r||(r=""),!t)return r;e.checkSupport(t);var n=e.getTypeOf(r);return f[n][t](r)},e.resolve=function(t){for(var e=t.split("/"),r=[],n=0;n<e.length;n++){var i=e[n];"."===i||""===i&&0!==n&&n!==e.length-1||(".."===i?r.pop():r.push(i))}return r.join("/")},e.getTypeOf=function(t){return"string"==typeof t?"string":"[object Array]"===Object.prototype.toString.call(t)?"array":n.nodebuffer&&s.isBuffer(t)?"nodebuffer":n.uint8array&&t instanceof Uint8Array?"uint8array":n.arraybuffer&&t instanceof ArrayBuffer?"arraybuffer":void 0},e.checkSupport=function(t){if(!n[t.toLowerCase()])throw new Error(t+" is not supported by this platform")},e.MAX_VALUE_16BITS=65535,e.MAX_VALUE_32BITS=-1,e.pretty=function(t){var e,r,n="";for(r=0;r<(t||"").length;r++)n+="\\x"+((e=t.charCodeAt(r))<16?"0":"")+e.toString(16).toUpperCase();return n},e.delay=function(t,e,r){setImmediate((function(){t.apply(r||null,e||[])}))},e.inherits=function(t,e){var r=function(){};r.prototype=e.prototype,t.prototype=new r},e.extend=function(){var t,e,r={};for(t=0;t<arguments.length;t++)for(e in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],e)&&void 0===r[e]&&(r[e]=arguments[t][e]);return r},e.prepareContent=function(t,r,s,a,h){return o.Promise.resolve(r).then((function(t){return n.blob&&(t instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(t)))&&"undefined"!=typeof FileReader?new o.Promise((function(e,r){var n=new FileReader;n.onload=function(t){e(t.target.result)},n.onerror=function(t){r(t.target.error)},n.readAsArrayBuffer(t)})):t})).then((function(r){var l,u=e.getTypeOf(r);return u?("arraybuffer"===u?r=e.transformTo("uint8array",r):"string"===u&&(h?r=i.decode(r):s&&!0!==a&&(r=c(l=r,n.uint8array?new Uint8Array(l.length):new Array(l.length)))),r):o.Promise.reject(new Error("Can't read the data of '"+t+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},function(t,e,r){"use strict";const n=r(25),{MAX_LENGTH:i,MAX_SAFE_INTEGER:s}=r(24),{safeRe:o,t:a}=r(19),c=r(35),{compareIdentifiers:h}=r(78);class l{constructor(t,e){if(e=c(e),t instanceof l){if(t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease)return t;t=t.version}else if("string"!=typeof t)throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>i)throw new TypeError(`version is longer than ${i} characters`);n("SemVer",t,e),this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease;const r=t.trim().match(e.loose?o[a.LOOSE]:o[a.FULL]);if(!r)throw new TypeError("Invalid Version: "+t);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>s||this.major<0)throw new TypeError("Invalid major version");if(this.minor>s||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>s||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(t=>{if(/^[0-9]+$/.test(t)){const e=+t;if(e>=0&&e<s)return e}return t}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(t){if(n("SemVer.compare",this.version,this.options,t),!(t instanceof l)){if("string"==typeof t&&t===this.version)return 0;t=new l(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof l||(t=new l(t,this.options)),h(this.major,t.major)||h(this.minor,t.minor)||h(this.patch,t.patch)}comparePre(t){if(t instanceof l||(t=new l(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let e=0;do{const r=this.prerelease[e],i=t.prerelease[e];if(n("prerelease compare",e,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return h(r,i)}while(++e)}compareBuild(t){t instanceof l||(t=new l(t,this.options));let e=0;do{const r=this.build[e],i=t.build[e];if(n("build compare",e,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return h(r,i)}while(++e)}inc(t,e,r){if(t.startsWith("pre")){if(!e&&!1===r)throw new Error("invalid increment argument: identifier is empty");if(e){const t=("-"+e).match(this.options.loose?o[a.PRERELEASELOOSE]:o[a.PRERELEASE]);if(!t||t[1]!==e)throw new Error("invalid identifier: "+e)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",e,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",e,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",e,r),this.inc("pre",e,r);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",e,r),this.inc("pre",e,r);break;case"release":if(0===this.prerelease.length)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":{const t=Number(r)?1:0;if(0===this.prerelease.length)this.prerelease=[t];else{let n=this.prerelease.length;for(;--n>=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(e===this.prerelease.join(".")&&!1===r)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(t)}}if(e){let n=[e,t];!1===r&&(n=[e]),0===h(this.prerelease[0],e)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw new Error("invalid increment argument: "+t)}return this.raw=this.format(),this.build.length&&(this.raw+="+"+this.build.join(".")),this}}t.exports=l},function(t,e,r){"use strict";function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r<this._listeners[t].length;r++)this._listeners[t][r].call(this,e)},pipe:function(t){return t.registerPrevious(this)},registerPrevious:function(t){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=t.streamInfo,this.mergeStreamInfo(),this.previous=t;var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.end()})),t.on("error",(function(t){e.error(t)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var t=!1;return this.generatedError&&(this.error(this.generatedError),t=!0),this.previous&&this.previous.resume(),!t},flush:function(){},processChunk:function(t){this.push(t)},withStreamInfo:function(t,e){return this.extraStreamInfo[t]=e,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var t in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,t)&&(this.streamInfo[t]=this.extraStreamInfo[t])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var t="Worker "+this.name;return this.previous?this.previous+" -> "+t:t}},t.exports=n},function(t,e,r){"use strict";const n=r(4);t.exports=(t,e,r)=>new n(t,r).compare(new n(e,r))},function(t,e,r){"use strict";const n=/\s+/g;class i{constructor(t,e){if(e=o(e),t instanceof i)return t.loose===!!e.loose&&t.includePrerelease===!!e.includePrerelease?t:new i(t.raw,e);if(t instanceof a)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=e,this.loose=!!e.loose,this.includePrerelease=!!e.includePrerelease,this.raw=t.trim().replace(n," "),this.set=this.raw.split("||").map(t=>this.parseRange(t.trim())).filter(t=>t.length),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);if(this.set.length>1){const t=this.set[0];if(this.set=this.set.filter(t=>!v(t[0])),0===this.set.length)this.set=[t];else if(this.set.length>1)for(const t of this.set)if(1===t.length&&b(t[0])){this.set=[t];break}}this.formatted=void 0}get range(){if(void 0===this.formatted){this.formatted="";for(let t=0;t<this.set.length;t++){t>0&&(this.formatted+="||");const e=this.set[t];for(let t=0;t<e.length;t++)t>0&&(this.formatted+=" "),this.formatted+=e[t].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){const e=((this.options.includePrerelease&&m)|(this.options.loose&&g))+":"+t,r=s.get(e);if(r)return r;const n=this.options.loose,i=n?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE];t=t.replace(i,T(this.options.includePrerelease)),c("hyphen replace",t),t=t.replace(l[u.COMPARATORTRIM],f),c("comparator trim",t),t=t.replace(l[u.TILDETRIM],d),c("tilde trim",t),t=t.replace(l[u.CARETTRIM],p),c("caret trim",t);let o=t.split(" ").map(t=>_(t,this.options)).join(" ").split(/\s+/).map(t=>I(t,this.options));n&&(o=o.filter(t=>(c("loose invalid filter",t,this.options),!!t.match(l[u.COMPARATORLOOSE])))),c("range list",o);const h=new Map,b=o.map(t=>new a(t,this.options));for(const t of b){if(v(t))return[t];h.set(t.value,t)}h.size>1&&h.has("")&&h.delete("");const y=[...h.values()];return s.set(e,y),y}intersects(t,e){if(!(t instanceof i))throw new TypeError("a Range is required");return this.set.some(r=>y(r,e)&&t.set.some(t=>y(t,e)&&r.every(r=>t.every(t=>r.intersects(t,e)))))}test(t){if(!t)return!1;if("string"==typeof t)try{t=new h(t,this.options)}catch(t){return!1}for(let e=0;e<this.set.length;e++)if(C(this.set[e],t,this.options))return!0;return!1}}t.exports=i;const s=new(r(139)),o=r(35),a=r(27),c=r(25),h=r(4),{safeRe:l,t:u,comparatorTrimReplace:f,tildeTrimReplace:d,caretTrimReplace:p}=r(19),{FLAG_INCLUDE_PRERELEASE:m,FLAG_LOOSE:g}=r(24),v=t=>"<0.0.0-0"===t.value,b=t=>""===t.value,y=(t,e)=>{let r=!0;const n=t.slice();let i=n.pop();for(;r&&n.length;)r=n.every(t=>i.intersects(t,e)),i=n.pop();return r},_=(t,e)=>(c("comp",t,e),t=S(t,e),c("caret",t),t=E(t,e),c("tildes",t),t=O(t,e),c("xrange",t),t=R(t,e),c("stars",t),t),w=t=>!t||"x"===t.toLowerCase()||"*"===t,E=(t,e)=>t.trim().split(/\s+/).map(t=>k(t,e)).join(" "),k=(t,e)=>{const r=e.loose?l[u.TILDELOOSE]:l[u.TILDE];return t.replace(r,(e,r,n,i,s)=>{let o;return c("tilde",t,e,r,n,i,s),w(r)?o="":w(n)?o=`>=${r}.0.0 <${+r+1}.0.0-0`:w(i)?o=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:s?(c("replaceTilde pr",s),o=`>=${r}.${n}.${i}-${s} <${r}.${+n+1}.0-0`):o=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,c("tilde return",o),o})},S=(t,e)=>t.trim().split(/\s+/).map(t=>x(t,e)).join(" "),x=(t,e)=>{c("caret",t,e);const r=e.loose?l[u.CARETLOOSE]:l[u.CARET],n=e.includePrerelease?"-0":"";return t.replace(r,(e,r,i,s,o)=>{let a;return c("caret",t,e,r,i,s,o),w(r)?a="":w(i)?a=`>=${r}.0.0${n} <${+r+1}.0.0-0`:w(s)?a="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:o?(c("replaceCaret pr",o),a="0"===r?"0"===i?`>=${r}.${i}.${s}-${o} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}-${o} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s}-${o} <${+r+1}.0.0-0`):(c("no pr"),a="0"===r?"0"===i?`>=${r}.${i}.${s}${n} <${r}.${i}.${+s+1}-0`:`>=${r}.${i}.${s}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${s} <${+r+1}.0.0-0`),c("caret return",a),a})},O=(t,e)=>(c("replaceXRanges",t,e),t.split(/\s+/).map(t=>A(t,e)).join(" ")),A=(t,e)=>{t=t.trim();const r=e.loose?l[u.XRANGELOOSE]:l[u.XRANGE];return t.replace(r,(r,n,i,s,o,a)=>{c("xRange",t,r,n,i,s,o,a);const h=w(i),l=h||w(s),u=l||w(o),f=u;return"="===n&&f&&(n=""),a=e.includePrerelease?"-0":"",h?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&f?(l&&(s=0),o=0,">"===n?(n=">=",l?(i=+i+1,s=0,o=0):(s=+s+1,o=0)):"<="===n&&(n="<",l?i=+i+1:s=+s+1),"<"===n&&(a="-0"),r=`${n+i}.${s}.${o}${a}`):l?r=`>=${i}.0.0${a} <${+i+1}.0.0-0`:u&&(r=`>=${i}.${s}.0${a} <${i}.${+s+1}.0-0`),c("xRange return",r),r})},R=(t,e)=>(c("replaceStars",t,e),t.trim().replace(l[u.STAR],"")),I=(t,e)=>(c("replaceGTE0",t,e),t.trim().replace(l[e.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=t=>(e,r,n,i,s,o,a,c,h,l,u,f)=>`${r=w(n)?"":w(i)?`>=${n}.0.0${t?"-0":""}`:w(s)?`>=${n}.${i}.0${t?"-0":""}`:o?">="+r:`>=${r}${t?"-0":""}`} ${c=w(h)?"":w(l)?`<${+h+1}.0.0-0`:w(u)?`<${h}.${+l+1}.0-0`:f?`<=${h}.${l}.${u}-${f}`:t?`<${h}.${l}.${+u+1}-0`:"<="+c}`.trim(),C=(t,e,r)=>{for(let r=0;r<t.length;r++)if(!t[r].test(e))return!1;if(e.prerelease.length&&!r.includePrerelease){for(let r=0;r<t.length;r++)if(c(t[r].semver),t[r].semver!==a.ANY&&t[r].semver.prerelease.length>0){const n=t[r].semver;if(n.major===e.major&&n.minor===e.minor&&n.patch===e.patch)return!0}return!1}return!0}},function(t,e){t.exports=require("util")},function(t,e,r){"use strict";if(e.base64=!0,e.array=!0,e.string=!0,e.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,e.nodebuffer="undefined"!=typeof Buffer,e.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)e.blob=!1;else{var n=new ArrayBuffer(0);try{e.blob=0===new Blob([n],{type:"application/zip"}).size}catch(t){try{var i=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);i.append(n),e.blob=0===i.getBlob("application/zip").size}catch(t){e.blob=!1}}}try{e.nodestream=!!r(51).Readable}catch(t){e.nodestream=!1}},function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var n in r)i(r,n)&&(t[n]=r[n])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var s={arraySet:function(t,e,r,n,i){if(e.subarray&&t.subarray)t.set(e.subarray(r,r+n),i);else for(var s=0;s<n;s++)t[i+s]=e[r+s]},flattenChunks:function(t){var e,r,n,i,s,o;for(n=0,e=0,r=t.length;e<r;e++)n+=t[e].length;for(o=new Uint8Array(n),i=0,e=0,r=t.length;e<r;e++)s=t[e],o.set(s,i),i+=s.length;return o}},o={arraySet:function(t,e,r,n,i){for(var s=0;s<n;s++)t[i+s]=e[r+s]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,s)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,o))},e.setTyped(n)},function(t,e,r){try{var n=r(8);if("function"!=typeof n.inherits)throw"";t.exports=n.inherits}catch(e){t.exports=r(91)}},function(t,e){t.exports=require("assert")},function(t,e,r){"use strict";function n(t){return"/"===t.charAt(0)}function i(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(t),r=e[1]||"",n=Boolean(r&&":"!==r.charAt(1));return Boolean(e[2]||n)}t.exports="win32"===process.platform?i:n,t.exports.posix=n,t.exports.win32=i},function(t,e,r){"use strict";var n=r(21),i=Object.keys||function(t){var e=[];for(var r in t)e.push(r);return e};t.exports=u;var s=Object.create(r(17));s.inherits=r(11);var o=r(53),a=r(57);s.inherits(u,o);for(var c=i(a.prototype),h=0;h<c.length;h++){var l=c[h];u.prototype[l]||(u.prototype[l]=a.prototype[l])}function u(t){if(!(this instanceof u))return new u(t);o.call(this,t),a.call(this,t),t&&!1===t.readable&&(this.readable=!1),t&&!1===t.writable&&(this.writable=!1),this.allowHalfOpen=!0,t&&!1===t.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",f)}function f(){this.allowHalfOpen||this._writableState.ended||n.nextTick(d,this)}function d(t){t.end()}Object.defineProperty(u.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(u.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&this._readableState.destroyed&&this._writableState.destroyed},set:function(t){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=t,this._writableState.destroyed=t)}}),u.prototype._destroy=function(t,e){this.push(null),this.end(),n.nextTick(e,t)}},function(t,e,r){"use strict";const n=r(4);t.exports=(t,e,r=!1)=>{if(t instanceof n)return t;try{return new n(t,e)}catch(t){if(!r)return null;throw t}}},function(t,e,r){"use strict";for(var n=r(3),i=r(9),s=r(23),o=r(5),a=new Array(256),c=0;c<256;c++)a[c]=c>=252?6:c>=248?5:c>=240?4:c>=224?3:c>=192?2:1;function h(){o.call(this,"utf-8 decode"),this.leftOver=null}function l(){o.call(this,"utf-8 encode")}a[254]=a[254]=1,e.utf8encode=function(t){return i.nodebuffer?s.newBufferFrom(t,"utf-8"):function(t){var e,r,n,s,o,a=t.length,c=0;for(s=0;s<a;s++)55296==(64512&(r=t.charCodeAt(s)))&&s+1<a&&56320==(64512&(n=t.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),c+=r<128?1:r<2048?2:r<65536?3:4;for(e=i.uint8array?new Uint8Array(c):new Array(c),o=0,s=0;o<c;s++)55296==(64512&(r=t.charCodeAt(s)))&&s+1<a&&56320==(64512&(n=t.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),r<128?e[o++]=r:r<2048?(e[o++]=192|r>>>6,e[o++]=128|63&r):r<65536?(e[o++]=224|r>>>12,e[o++]=128|r>>>6&63,e[o++]=128|63&r):(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63,e[o++]=128|r>>>6&63,e[o++]=128|63&r);return e}(t)},e.utf8decode=function(t){return i.nodebuffer?n.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,i,s,o=t.length,c=new Array(2*o);for(r=0,e=0;e<o;)if((i=t[e++])<128)c[r++]=i;else if((s=a[i])>4)c[r++]=65533,e+=s-1;else{for(i&=2===s?31:3===s?15:7;s>1&&e<o;)i=i<<6|63&t[e++],s--;s>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return c.length!==r&&(c.subarray?c=c.subarray(0,r):c.length=r),n.applyFromCharCode(c)}(t=n.transformTo(i.uint8array?"uint8array":"array",t))},n.inherits(h,o),h.prototype.processChunk=function(t){var r=n.transformTo(i.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var s=r;(r=new Uint8Array(s.length+this.leftOver.length)).set(this.leftOver,0),r.set(s,this.leftOver.length)}else r=this.leftOver.concat(r);this.leftOver=null}var o=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+a[t[r]]>e?r:e}(r),c=r;o!==r.length&&(i.uint8array?(c=r.subarray(0,o),this.leftOver=r.subarray(o,r.length)):(c=r.slice(0,o),this.leftOver=r.slice(o,r.length))),this.push({data:e.utf8decode(c),meta:t.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:e.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},e.Utf8DecodeWorker=h,n.inherits(l,o),l.prototype.processChunk=function(t){this.push({data:e.utf8encode(t.data),meta:t.meta})},e.Utf8EncodeWorker=l},function(t,e,r){function n(t){return Object.prototype.toString.call(t)}e.isArray=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===n(t)},e.isBoolean=function(t){return"boolean"==typeof t},e.isNull=function(t){return null===t},e.isNullOrUndefined=function(t){return null==t},e.isNumber=function(t){return"number"==typeof t},e.isString=function(t){return"string"==typeof t},e.isSymbol=function(t){return"symbol"==typeof t},e.isUndefined=function(t){return void 0===t},e.isRegExp=function(t){return"[object RegExp]"===n(t)},e.isObject=function(t){return"object"==typeof t&&null!==t},e.isDate=function(t){return"[object Date]"===n(t)},e.isError=function(t){return"[object Error]"===n(t)||t instanceof Error},e.isFunction=function(t){return"function"==typeof t},e.isPrimitive=function(t){return null===t||"boolean"==typeof t||"number"==typeof t||"string"==typeof t||"symbol"==typeof t||void 0===t},e.isBuffer=r(55).Buffer.isBuffer},function(t,e,r){"use strict";var n;n="undefined"!=typeof Promise?Promise:r(98),t.exports={Promise:n}},function(t,e,r){"use strict";const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:s}=r(24),o=r(25),a=(e=t.exports={}).re=[],c=e.safeRe=[],h=e.src=[],l=e.safeSrc=[],u=e.t={};let f=0;const d=[["\\s",1],["\\d",s],["[a-zA-Z0-9-]",i]],p=(t,e,r)=>{const n=(t=>{for(const[e,r]of d)t=t.split(e+"*").join(`${e}{0,${r}}`).split(e+"+").join(`${e}{1,${r}}`);return t})(e),i=f++;o(t,i,e),u[t]=i,h[i]=e,l[i]=n,a[i]=new RegExp(e,r?"g":void 0),c[i]=new RegExp(n,r?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),p("MAINVERSION",`(${h[u.NUMERICIDENTIFIER]})\\.(${h[u.NUMERICIDENTIFIER]})\\.(${h[u.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${h[u.NUMERICIDENTIFIERLOOSE]})\\.(${h[u.NUMERICIDENTIFIERLOOSE]})\\.(${h[u.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${h[u.NONNUMERICIDENTIFIER]}|${h[u.NUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${h[u.NONNUMERICIDENTIFIER]}|${h[u.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASE",`(?:-(${h[u.PRERELEASEIDENTIFIER]}(?:\\.${h[u.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${h[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${h[u.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER","[a-zA-Z0-9-]+"),p("BUILD",`(?:\\+(${h[u.BUILDIDENTIFIER]}(?:\\.${h[u.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${h[u.MAINVERSION]}${h[u.PRERELEASE]}?${h[u.BUILD]}?`),p("FULL",`^${h[u.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${h[u.MAINVERSIONLOOSE]}${h[u.PRERELEASELOOSE]}?${h[u.BUILD]}?`),p("LOOSE",`^${h[u.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",h[u.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),p("XRANGEIDENTIFIER",h[u.NUMERICIDENTIFIER]+"|x|X|\\*"),p("XRANGEPLAIN",`[v=\\s]*(${h[u.XRANGEIDENTIFIER]})(?:\\.(${h[u.XRANGEIDENTIFIER]})(?:\\.(${h[u.XRANGEIDENTIFIER]})(?:${h[u.PRERELEASE]})?${h[u.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${h[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${h[u.XRANGEIDENTIFIERLOOSE]})(?:${h[u.PRERELEASELOOSE]})?${h[u.BUILD]}?)?)?`),p("XRANGE",`^${h[u.GTLT]}\\s*${h[u.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${h[u.GTLT]}\\s*${h[u.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),p("COERCE",h[u.COERCEPLAIN]+"(?:$|[^\\d])"),p("COERCEFULL",h[u.COERCEPLAIN]+`(?:${h[u.PRERELEASE]})?`+`(?:${h[u.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",h[u.COERCE],!0),p("COERCERTLFULL",h[u.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${h[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",p("TILDE",`^${h[u.LONETILDE]}${h[u.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${h[u.LONETILDE]}${h[u.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${h[u.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",p("CARET",`^${h[u.LONECARET]}${h[u.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${h[u.LONECARET]}${h[u.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${h[u.GTLT]}\\s*(${h[u.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${h[u.GTLT]}\\s*(${h[u.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${h[u.GTLT]}\\s*(${h[u.LOOSEPLAIN]}|${h[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${h[u.XRANGEPLAIN]})\\s+-\\s+(${h[u.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${h[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${h[u.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},function(t,e,r){t.exports=l,l.realpath=l,l.sync=u,l.realpathSync=u,l.monkeypatch=function(){n.realpath=l,n.realpathSync=u},l.unmonkeypatch=function(){n.realpath=i,n.realpathSync=s};var n=r(2),i=n.realpath,s=n.realpathSync,o=process.version,a=/^v[0-5]\./.test(o),c=r(89);function h(t){return t&&"realpath"===t.syscall&&("ELOOP"===t.code||"ENOMEM"===t.code||"ENAMETOOLONG"===t.code)}function l(t,e,r){if(a)return i(t,e,r);"function"==typeof e&&(r=e,e=null),i(t,e,(function(n,i){h(n)?c.realpath(t,e,r):r(n,i)}))}function u(t,e){if(a)return s(t,e);try{return s(t,e)}catch(r){if(h(r))return c.realpathSync(t,e);throw r}}},function(t,e,r){"use strict";"undefined"==typeof process||!process.version||0===process.version.indexOf("v0.")||0===process.version.indexOf("v1.")&&0!==process.version.indexOf("v1.8.")?t.exports={nextTick:function(t,e,r,n){if("function"!=typeof t)throw new TypeError('"callback" argument must be a function');var i,s,o=arguments.length;switch(o){case 0:case 1:return process.nextTick(t);case 2:return process.nextTick((function(){t.call(null,e)}));case 3:return process.nextTick((function(){t.call(null,e,r)}));case 4:return process.nextTick((function(){t.call(null,e,r,n)}));default:for(i=new Array(o-1),s=0;s<i.length;)i[s++]=arguments[s];return process.nextTick((function(){t.apply(null,i)}))}}}:t.exports=process},function(t,e,r){var n=r(55),i=n.Buffer;function s(t,e){for(var r in t)e[r]=t[r]}function o(t,e,r){return i(t,e,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=n:(s(n,e),e.Buffer=o),s(i,o),o.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,r)},o.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=i(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},o.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},o.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e,r){"use strict";t.exports={isNode:"undefined"!=typeof Buffer,newBufferFrom:function(t,e){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(t,e);if("number"==typeof t)throw new Error('The "data" argument must not be a number');return new Buffer(t,e)},allocBuffer:function(t){if(Buffer.alloc)return Buffer.alloc(t);var e=new Buffer(t);return e.fill(0),e},isBuffer:function(t){return Buffer.isBuffer(t)},isStream:function(t){return t&&"function"==typeof t.on&&"function"==typeof t.pause&&"function"==typeof t.resume}}},function(t,e,r){"use strict";const n=Number.MAX_SAFE_INTEGER||9007199254740991;t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:n,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},function(t,e,r){"use strict";const n="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};t.exports=n},function(t,e,r){"use strict";const n=r(6);t.exports=(t,e,r)=>n(t,e,r)>0},function(t,e,r){"use strict";const n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(t,e){if(e=s(e),t instanceof i){if(t.loose===!!e.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),h("comparator",t,e),this.options=e,this.loose=!!e.loose,this.parse(t),this.semver===n?this.value="":this.value=this.operator+this.semver.version,h("comp",this)}parse(t){const e=this.options.loose?o[a.COMPARATORLOOSE]:o[a.COMPARATOR],r=t.match(e);if(!r)throw new TypeError("Invalid comparator: "+t);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new l(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(t){if(h("Comparator.test",t,this.options.loose),this.semver===n||t===n)return!0;if("string"==typeof t)try{t=new l(t,this.options)}catch(t){return!1}return c(t,this.operator,this.semver,this.options)}intersects(t,e){if(!(t instanceof i))throw new TypeError("a Comparator is required");return""===this.operator?""===this.value||new u(t.value,e).test(this.value):""===t.operator?""===t.value||new u(this.value,e).test(t.semver):!((e=s(e)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===t.value)||!e.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))||(!this.operator.startsWith(">")||!t.operator.startsWith(">"))&&(!this.operator.startsWith("<")||!t.operator.startsWith("<"))&&(this.semver.version!==t.semver.version||!this.operator.includes("=")||!t.operator.includes("="))&&!(c(this.semver,"<",t.semver,e)&&this.operator.startsWith(">")&&t.operator.startsWith("<"))&&!(c(this.semver,">",t.semver,e)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}}t.exports=i;const s=r(35),{safeRe:o,t:a}=r(19),c=r(81),h=r(25),l=r(4),u=r(7)},function(t,e,r){"use strict";const n=r(7);t.exports=(t,e,r)=>{try{e=new n(e,r)}catch(t){return!1}return e.test(t)}},function(t,e,r){t.exports=l,l.Minimatch=u;var n=function(){try{return r(1)}catch(t){}}()||{sep:"/"};l.sep=n.sep;var i=l.GLOBSTAR=u.GLOBSTAR={},s=r(90),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="().*{}+?[]^$\\!".split("").reduce((function(t,e){return t[e]=!0,t}),{}),c=/\/+/;function h(t,e){e=e||{};var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),Object.keys(e).forEach((function(t){r[t]=e[t]})),r}function l(t,e,r){return d(e),r||(r={}),!(!r.nocomment&&"#"===e.charAt(0))&&new u(e,r).match(t)}function u(t,e){if(!(this instanceof u))return new u(t,e);d(t),e||(e={}),t=t.trim(),e.allowWindowsEscape||"/"===n.sep||(t=t.split(n.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}function f(t,e){return e||(e=this instanceof u?this.options:{}),t=void 0===t?this.pattern:t,d(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:s(t)}l.filter=function(t,e){return e=e||{},function(r,n,i){return l(r,t,e)}},l.defaults=function(t){if(!t||"object"!=typeof t||!Object.keys(t).length)return l;var e=l,r=function(r,n,i){return e(r,n,h(t,i))};return(r.Minimatch=function(r,n){return new e.Minimatch(r,h(t,n))}).defaults=function(r){return e.defaults(h(t,r)).Minimatch},r.filter=function(r,n){return e.filter(r,h(t,n))},r.defaults=function(r){return e.defaults(h(t,r))},r.makeRe=function(r,n){return e.makeRe(r,h(t,n))},r.braceExpand=function(r,n){return e.braceExpand(r,h(t,n))},r.match=function(r,n,i){return e.match(r,n,h(t,i))},r},u.defaults=function(t){return l.defaults(t).Minimatch},u.prototype.debug=function(){},u.prototype.make=function(){var t=this.pattern,e=this.options;if(e.nocomment||"#"!==t.charAt(0))if(t){this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map((function(t){return t.split(c)})),this.debug(this.pattern,r),r=r.map((function(t,e,r){return t.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(t){return-1===t.indexOf(!1)})),this.debug(this.pattern,r),this.set=r}else this.empty=!0;else this.comment=!0},u.prototype.parseNegate=function(){var t=this.pattern,e=!1,r=0;if(!this.options.nonegate){for(var n=0,i=t.length;n<i&&"!"===t.charAt(n);n++)e=!e,r++;r&&(this.pattern=t.substr(r)),this.negate=e}},l.braceExpand=function(t,e){return f(t,e)},u.prototype.braceExpand=f;var d=function(t){if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")};u.prototype.parse=function(t,e){d(t);var r=this.options;if("**"===t){if(!r.noglobstar)return i;t="*"}if(""===t)return"";var n,s="",c=!!r.nocase,h=!1,l=[],u=[],f=!1,m=-1,g=-1,v="."===t.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=this;function y(){if(n){switch(n){case"*":s+="[^/]*?",c=!0;break;case"?":s+="[^/]",c=!0;break;default:s+="\\"+n}b.debug("clearStateChar %j %j",n,s),n=!1}}for(var _,w=0,E=t.length;w<E&&(_=t.charAt(w));w++)if(this.debug("%s\t%s %s %j",t,w,s,_),h&&a[_])s+="\\"+_,h=!1;else switch(_){case"/":return!1;case"\\":y(),h=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,w,s,_),f){this.debug(" in class"),"!"===_&&w===g+1&&(_="^"),s+=_;continue}b.debug("call clearStateChar %j",n),y(),n=_,r.noext&&y();continue;case"(":if(f){s+="(";continue}if(!n){s+="\\(";continue}l.push({type:n,start:w-1,reStart:s.length,open:o[n].open,close:o[n].close}),s+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,s),n=!1;continue;case")":if(f||!l.length){s+="\\)";continue}y(),c=!0;var k=l.pop();s+=k.close,"!"===k.type&&u.push(k),k.reEnd=s.length;continue;case"|":if(f||!l.length||h){s+="\\|",h=!1;continue}y(),s+="|";continue;case"[":if(y(),f){s+="\\"+_;continue}f=!0,g=w,m=s.length,s+=_;continue;case"]":if(w===g+1||!f){s+="\\"+_,h=!1;continue}var S=t.substring(g+1,w);try{RegExp("["+S+"]")}catch(t){var x=this.parse(S,p);s=s.substr(0,m)+"\\["+x[0]+"\\]",c=c||x[1],f=!1;continue}c=!0,f=!1,s+=_;continue;default:y(),h?h=!1:!a[_]||"^"===_&&f||(s+="\\"),s+=_}for(f&&(S=t.substr(g+1),x=this.parse(S,p),s=s.substr(0,m)+"\\["+x[0],c=c||x[1]),k=l.pop();k;k=l.pop()){var O=s.slice(k.reStart+k.open.length);this.debug("setting tail",s,k),O=O.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,r){return r||(r="\\"),e+e+r+"|"})),this.debug("tail=%j\n %s",O,O,k,s);var A="*"===k.type?"[^/]*?":"?"===k.type?"[^/]":"\\"+k.type;c=!0,s=s.slice(0,k.reStart)+A+"\\("+O}y(),h&&(s+="\\\\");var R=!1;switch(s.charAt(0)){case"[":case".":case"(":R=!0}for(var I=u.length-1;I>-1;I--){var T=u[I],C=s.slice(0,T.reStart),N=s.slice(T.reStart,T.reEnd-8),L=s.slice(T.reEnd-8,T.reEnd),j=s.slice(T.reEnd);L+=j;var D=C.split("(").length-1,P=j;for(w=0;w<D;w++)P=P.replace(/\)[+*?]?/,"");var M="";""===(j=P)&&e!==p&&(M="$"),s=C+N+j+M+L}if(""!==s&&c&&(s="(?=.)"+s),R&&(s=v+s),e===p)return[s,c];if(!c)return function(t){return t.replace(/\\(.)/g,"$1")}(t);var B=r.nocase?"i":"";try{var $=new RegExp("^"+s+"$",B)}catch(t){return new RegExp("$.")}return $._glob=t,$._src=s,$};var p={};l.makeRe=function(t,e){return new u(t,e||{}).makeRe()},u.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=e.nocase?"i":"",s=t.map((function(t){return t.map((function(t){return t===i?r:"string"==typeof t?function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(t):t._src})).join("\\/")})).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,n)}catch(t){this.regexp=!1}return this.regexp},l.match=function(t,e,r){var n=new u(e,r=r||{});return t=t.filter((function(t){return n.match(t)})),n.options.nonull&&!t.length&&t.push(e),t},u.prototype.match=function(t,e){if(void 0===e&&(e=this.partial),this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;var r=this.options;"/"!==n.sep&&(t=t.split(n.sep).join("/")),t=t.split(c),this.debug(this.pattern,"split",t);var i,s,o=this.set;for(this.debug(this.pattern,"set",o),s=t.length-1;s>=0&&!(i=t[s]);s--);for(s=0;s<o.length;s++){var a=o[s],h=t;if(r.matchBase&&1===a.length&&(h=[i]),this.matchOne(h,a,e))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},u.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var s=0,o=0,a=t.length,c=e.length;s<a&&o<c;s++,o++){this.debug("matchOne loop");var h,l=e[o],u=t[s];if(this.debug(e,l,u),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[e,l,u]);var f=s,d=o+1;if(d===c){for(this.debug("** at the end");s<a;s++)if("."===t[s]||".."===t[s]||!n.dot&&"."===t[s].charAt(0))return!1;return!0}for(;f<a;){var p=t[f];if(this.debug("\nglobstar while",t,f,e,d,p),this.matchOne(t.slice(f),e.slice(d),r))return this.debug("globstar found match!",f,a,p),!0;if("."===p||".."===p||!n.dot&&"."===p.charAt(0)){this.debug("dot detected!",t,f,e,d);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!r||(this.debug("\n>>> no match, partial?",t,f,e,d),f!==a))}if("string"==typeof l?(h=u===l,this.debug("string match",l,u,h)):(h=u.match(l),this.debug("pattern match",l,u,h)),!h)return!1}if(s===a&&o===c)return!0;if(s===a)return r;if(o===c)return s===a-1&&""===t[s];throw new Error("wtf?")}},function(t,e){t.exports=require("events")},function(t,e,r){var n=r(49);function i(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function s(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}t.exports=n(i),t.exports.strict=n(s),i.proto=i((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return s(this)},configurable:!0})}))},function(t,e,r){"use strict";var n=r(18),i=r(63),s=r(64),o=r(103);function a(t,e,r,n,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=i}a.prototype={getContentWorker:function(){var t=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new o("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},a.createWorkerFrom=function(t,e,r){return t.pipe(new s).pipe(new o("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new o("compressedSize")).withStreamInfo("compression",e)},t.exports=a},function(t,e,r){"use strict";var n=r(3),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();t.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r,n){var s=i,o=0+r;t^=-1;for(var a=0;a<o;a++)t=t>>>8^s[255&(t^e[a])];return-1^t}(0|e,t,t.length):function(t,e,r,n){var s=i,o=0+r;t^=-1;for(var a=0;a<o;a++)t=t>>>8^s[255&(t^e.charCodeAt(a))];return-1^t}(0|e,t,t.length):0}},function(t,e,r){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(t,e,r){"use strict";const n=Object.freeze({loose:!0}),i=Object.freeze({});t.exports=t=>t?"object"!=typeof t?n:t:i},function(t,e,r){"use strict";const n=r(4);t.exports=(t,e,r)=>{const i=new n(t,r),s=new n(e,r);return i.compare(s)||i.compareBuild(s)}},function(t,e,r){"use strict";const n=r(6);t.exports=(t,e,r)=>n(t,e,r)<0},function(t,e,r){"use strict";const n=r(6);t.exports=(t,e,r)=>n(t,e,r)>=0},function(t,e,r){"use strict";const n=r(6);t.exports=(t,e,r)=>n(t,e,r)<=0},function(t,e,r){"use strict";const n=r(4),i=r(27),{ANY:s}=i,o=r(7),a=r(28),c=r(26),h=r(37),l=r(39),u=r(38);t.exports=(t,e,r,f)=>{let d,p,m,g,v;switch(t=new n(t,f),e=new o(e,f),r){case">":d=c,p=l,m=h,g=">",v=">=";break;case"<":d=h,p=u,m=c,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(a(t,e,f))return!1;for(let r=0;r<e.set.length;++r){const n=e.set[r];let o=null,a=null;if(n.forEach(t=>{t.semver===s&&(t=new i(">=0.0.0")),o=o||t,a=a||t,d(t.semver,o.semver,f)?o=t:m(t.semver,a.semver,f)&&(a=t)}),o.operator===g||o.operator===v)return!1;if((!a.operator||a.operator===g)&&p(t,a.semver))return!1;if(a.operator===v&&m(t,a.semver))return!1}return!0}},function(t,e,r){t.exports=l,l.Minimatch=u;var n=function(){try{return r(1)}catch(t){}}()||{sep:"/"};l.sep=n.sep;var i=l.GLOBSTAR=u.GLOBSTAR={},s=r(152),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="().*{}+?[]^$\\!".split("").reduce((function(t,e){return t[e]=!0,t}),{}),c=/\/+/;function h(t,e){e=e||{};var r={};return Object.keys(t).forEach((function(e){r[e]=t[e]})),Object.keys(e).forEach((function(t){r[t]=e[t]})),r}function l(t,e,r){return d(e),r||(r={}),!(!r.nocomment&&"#"===e.charAt(0))&&new u(e,r).match(t)}function u(t,e){if(!(this instanceof u))return new u(t,e);d(t),e||(e={}),t=t.trim(),e.allowWindowsEscape||"/"===n.sep||(t=t.split(n.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}function f(t,e){return e||(e=this instanceof u?this.options:{}),t=void 0===t?this.pattern:t,d(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:s(t)}l.filter=function(t,e){return e=e||{},function(r,n,i){return l(r,t,e)}},l.defaults=function(t){if(!t||"object"!=typeof t||!Object.keys(t).length)return l;var e=l,r=function(r,n,i){return e(r,n,h(t,i))};return(r.Minimatch=function(r,n){return new e.Minimatch(r,h(t,n))}).defaults=function(r){return e.defaults(h(t,r)).Minimatch},r.filter=function(r,n){return e.filter(r,h(t,n))},r.defaults=function(r){return e.defaults(h(t,r))},r.makeRe=function(r,n){return e.makeRe(r,h(t,n))},r.braceExpand=function(r,n){return e.braceExpand(r,h(t,n))},r.match=function(r,n,i){return e.match(r,n,h(t,i))},r},u.defaults=function(t){return l.defaults(t).Minimatch},u.prototype.debug=function(){},u.prototype.make=function(){var t=this.pattern,e=this.options;if(e.nocomment||"#"!==t.charAt(0))if(t){this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map((function(t){return t.split(c)})),this.debug(this.pattern,r),r=r.map((function(t,e,r){return t.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(t){return-1===t.indexOf(!1)})),this.debug(this.pattern,r),this.set=r}else this.empty=!0;else this.comment=!0},u.prototype.parseNegate=function(){var t=this.pattern,e=!1,r=0;if(!this.options.nonegate){for(var n=0,i=t.length;n<i&&"!"===t.charAt(n);n++)e=!e,r++;r&&(this.pattern=t.substr(r)),this.negate=e}},l.braceExpand=function(t,e){return f(t,e)},u.prototype.braceExpand=f;var d=function(t){if("string"!=typeof t)throw new TypeError("invalid pattern");if(t.length>65536)throw new TypeError("pattern is too long")};u.prototype.parse=function(t,e){d(t);var r=this.options;if("**"===t){if(!r.noglobstar)return i;t="*"}if(""===t)return"";var n,s="",c=!!r.nocase,h=!1,l=[],u=[],f=!1,m=-1,g=-1,v="."===t.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",b=this;function y(){if(n){switch(n){case"*":s+="[^/]*?",c=!0;break;case"?":s+="[^/]",c=!0;break;default:s+="\\"+n}b.debug("clearStateChar %j %j",n,s),n=!1}}for(var _,w=0,E=t.length;w<E&&(_=t.charAt(w));w++)if(this.debug("%s\t%s %s %j",t,w,s,_),h&&a[_])s+="\\"+_,h=!1;else switch(_){case"/":return!1;case"\\":y(),h=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,w,s,_),f){this.debug(" in class"),"!"===_&&w===g+1&&(_="^"),s+=_;continue}b.debug("call clearStateChar %j",n),y(),n=_,r.noext&&y();continue;case"(":if(f){s+="(";continue}if(!n){s+="\\(";continue}l.push({type:n,start:w-1,reStart:s.length,open:o[n].open,close:o[n].close}),s+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,s),n=!1;continue;case")":if(f||!l.length){s+="\\)";continue}y(),c=!0;var k=l.pop();s+=k.close,"!"===k.type&&u.push(k),k.reEnd=s.length;continue;case"|":if(f||!l.length||h){s+="\\|",h=!1;continue}y(),s+="|";continue;case"[":if(y(),f){s+="\\"+_;continue}f=!0,g=w,m=s.length,s+=_;continue;case"]":if(w===g+1||!f){s+="\\"+_,h=!1;continue}var S=t.substring(g+1,w);try{RegExp("["+S+"]")}catch(t){var x=this.parse(S,p);s=s.substr(0,m)+"\\["+x[0]+"\\]",c=c||x[1],f=!1;continue}c=!0,f=!1,s+=_;continue;default:y(),h?h=!1:!a[_]||"^"===_&&f||(s+="\\"),s+=_}for(f&&(S=t.substr(g+1),x=this.parse(S,p),s=s.substr(0,m)+"\\["+x[0],c=c||x[1]),k=l.pop();k;k=l.pop()){var O=s.slice(k.reStart+k.open.length);this.debug("setting tail",s,k),O=O.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,r){return r||(r="\\"),e+e+r+"|"})),this.debug("tail=%j\n %s",O,O,k,s);var A="*"===k.type?"[^/]*?":"?"===k.type?"[^/]":"\\"+k.type;c=!0,s=s.slice(0,k.reStart)+A+"\\("+O}y(),h&&(s+="\\\\");var R=!1;switch(s.charAt(0)){case"[":case".":case"(":R=!0}for(var I=u.length-1;I>-1;I--){var T=u[I],C=s.slice(0,T.reStart),N=s.slice(T.reStart,T.reEnd-8),L=s.slice(T.reEnd-8,T.reEnd),j=s.slice(T.reEnd);L+=j;var D=C.split("(").length-1,P=j;for(w=0;w<D;w++)P=P.replace(/\)[+*?]?/,"");var M="";""===(j=P)&&e!==p&&(M="$"),s=C+N+j+M+L}if(""!==s&&c&&(s="(?=.)"+s),R&&(s=v+s),e===p)return[s,c];if(!c)return function(t){return t.replace(/\\(.)/g,"$1")}(t);var B=r.nocase?"i":"";try{var $=new RegExp("^"+s+"$",B)}catch(t){return new RegExp("$.")}return $._glob=t,$._src=s,$};var p={};l.makeRe=function(t,e){return new u(t,e||{}).makeRe()},u.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=e.nocase?"i":"",s=t.map((function(t){return t.map((function(t){return t===i?r:"string"==typeof t?function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(t):t._src})).join("\\/")})).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,n)}catch(t){this.regexp=!1}return this.regexp},l.match=function(t,e,r){var n=new u(e,r=r||{});return t=t.filter((function(t){return n.match(t)})),n.options.nonull&&!t.length&&t.push(e),t},u.prototype.match=function(t,e){if(void 0===e&&(e=this.partial),this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;var r=this.options;"/"!==n.sep&&(t=t.split(n.sep).join("/")),t=t.split(c),this.debug(this.pattern,"split",t);var i,s,o=this.set;for(this.debug(this.pattern,"set",o),s=t.length-1;s>=0&&!(i=t[s]);s--);for(s=0;s<o.length;s++){var a=o[s],h=t;if(r.matchBase&&1===a.length&&(h=[i]),this.matchOne(h,a,e))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},u.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var s=0,o=0,a=t.length,c=e.length;s<a&&o<c;s++,o++){this.debug("matchOne loop");var h,l=e[o],u=t[s];if(this.debug(e,l,u),!1===l)return!1;if(l===i){this.debug("GLOBSTAR",[e,l,u]);var f=s,d=o+1;if(d===c){for(this.debug("** at the end");s<a;s++)if("."===t[s]||".."===t[s]||!n.dot&&"."===t[s].charAt(0))return!1;return!0}for(;f<a;){var p=t[f];if(this.debug("\nglobstar while",t,f,e,d,p),this.matchOne(t.slice(f),e.slice(d),r))return this.debug("globstar found match!",f,a,p),!0;if("."===p||".."===p||!n.dot&&"."===p.charAt(0)){this.debug("dot detected!",t,f,e,d);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!r||(this.debug("\n>>> no match, partial?",t,f,e,d),f!==a))}if("string"==typeof l?(h=u===l,this.debug("string match",l,u,h)):(h=u.match(l),this.debug("pattern match",l,u,h)),!h)return!1}if(s===a&&o===c)return!0;if(s===a)return r;if(o===c)return s===a-1&&""===t[s];throw new Error("wtf?")}},function(t,e){t.exports=require("https")},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.MOBX_DEVTOOLS=e.APOLLO_DEVELOPER_TOOLS=e.CYCLEJS_DEVTOOL=e.REDUX_DEVTOOLS=e.VUEJS3_DEVTOOLS=e.VUEJS_DEVTOOLS=e.ANGULARJS_BATARANG=e.JQUERY_DEBUGGER=e.BACKBONE_DEBUGGER=e.REACT_DEVELOPER_TOOLS=e.EMBER_INSPECTOR=void 0;const n=r(0),i=r(2),s=r(1),o=r(125),a=r(150),c=r(84);let h={};const l=()=>s.resolve(c.getPath(),"IDMap.json");if(i.existsSync(l()))try{h=JSON.parse(i.readFileSync(l(),"utf8"))}catch(t){console.error("electron-devtools-installer: Invalid JSON present in the IDMap file")}const u=(t,e={})=>{"boolean"==typeof e&&(e={forceDownload:e});const{forceDownload:r,loadExtensionOptions:s}=e;if("browser"!==process.type)return Promise.reject(new Error("electron-devtools-installer can only be used from the main process"));if(Array.isArray(t))return t.reduce((t,r)=>t.then(()=>u(r,e)),Promise.resolve(""));let c;if("object"==typeof t&&t.id){c=t.id;const e=process.versions.electron.split("-")[0];if(!o.satisfies(e,t.electron))return Promise.reject(new Error(`Version of Electron: ${e} does not match required range ${t.electron} for extension ${c}`))}else{if("string"!=typeof t)return Promise.reject(new Error(`Invalid extensionReference passed in: "${t}"`));c=t}const f=h[c];let d;return d=n.session.defaultSession.getExtension?!!f&&n.session.defaultSession.getAllExtensions().find(t=>t.name===f):!!f&&n.BrowserWindow.getDevToolsExtensions&&n.BrowserWindow.getDevToolsExtensions().hasOwnProperty(f),!r&&d?Promise.resolve(h[c]):a.default(c,r||!1).then(t=>{if(d)if(n.session.defaultSession.removeExtension){const t=n.session.defaultSession.getAllExtensions().find(t=>t.name).id;n.session.defaultSession.removeExtension(t)}else n.BrowserWindow.removeDevToolsExtension(f);if(n.session.defaultSession.loadExtension)return n.session.defaultSession.loadExtension(t,s).then(t=>Promise.resolve(t.name));const e=n.BrowserWindow.addDevToolsExtension(t);return i.writeFileSync(l(),JSON.stringify(Object.assign(h,{[c]:e}))),Promise.resolve(e)})};e.default=u,e.EMBER_INSPECTOR={id:"bmdblncegkenkacieihfhpjfppoconhi",electron:">=1.2.1"},e.REACT_DEVELOPER_TOOLS={id:"fmkadmapgofadopljbjfkapdkoienihi",electron:">=1.2.1"},e.BACKBONE_DEBUGGER={id:"bhljhndlimiafopmmhjlgfpnnchjjbhd",electron:">=1.2.1"},e.JQUERY_DEBUGGER={id:"dbhhnnnpaeobfddmlalhnehgclcmjimi",electron:">=1.2.1"},e.ANGULARJS_BATARANG={id:"ighdmehidhipcmcojjgiloacoafjmpfk",electron:">=1.2.1"},e.VUEJS_DEVTOOLS={id:"nhdogjmejiglipccpnnnanhbledajbpd",electron:">=1.2.1"},e.VUEJS3_DEVTOOLS={id:"ljjemllljcmogpfapbkkighbhhppjdbg",electron:">=1.2.1"},e.REDUX_DEVTOOLS={id:"lmhkpmbekcpmknklioeibfkpmmfibljd",electron:">=1.2.1"},e.CYCLEJS_DEVTOOL={id:"dfgplfmhhmdekalbpejekgfegkonjpfp",electron:">=1.2.1"},e.APOLLO_DEVELOPER_TOOLS={id:"jdkknkkbebbapilgoeccciglkfbmbnfm",electron:">=1.2.1"},e.MOBX_DEVTOOLS={id:"pfgnfdagidkfgccljigdamigbcnndkod",electron:">=1.2.1"}},function(t,e,r){t.exports=b;var n=r(20),i=r(29),s=(i.Minimatch,r(11)),o=r(30).EventEmitter,a=r(1),c=r(12),h=r(13),l=r(92),u=r(47),f=u.setopts,d=u.ownProp,p=r(48),m=(r(8),u.childrenIgnored),g=u.isIgnored,v=r(31);function b(t,e,r){if("function"==typeof e&&(r=e,e={}),e||(e={}),e.sync){if(r)throw new TypeError("callback provided to sync glob");return l(t,e)}return new _(t,e,r)}b.sync=l;var y=b.GlobSync=l.GlobSync;function _(t,e,r){if("function"==typeof e&&(r=e,e=null),e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new y(t,e)}if(!(this instanceof _))return new _(t,e,r);f(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof r&&(r=v(r),this.on("error",r),this.on("end",(function(t){r(null,t)})));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return o();for(var s=0;s<n;s++)this._process(this.minimatch.set[s],s,!1,o);function o(){--i._processing,i._processing<=0&&i._finish()}}b.glob=b,b.hasMagic=function(t,e){var r=function(t,e){if(null===e||"object"!=typeof e)return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}({},e);r.noprocess=!0;var n=new _(t,r).minimatch.set;if(!t)return!1;if(n.length>1)return!0;for(var i=0;i<n[0].length;i++)if("string"!=typeof n[0][i])return!0;return!1},b.Glob=_,s(_,o),_.prototype._finish=function(){if(c(this instanceof _),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();u.finish(this),this.emit("end",this.found)}},_.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var t=this.matches.length;if(0===t)return this._finish();for(var e=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n)}function n(){0==--t&&e._finish()}},_.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var i=Object.keys(r),s=this,o=i.length;if(0===o)return e();var a=this.matches[t]=Object.create(null);i.forEach((function(r,i){r=s._makeAbs(r),n.realpath(r,s.realpathCache,(function(n,i){n?"stat"===n.syscall?a[r]=!0:s.emit("error",n):a[i]=!0,0==--o&&(s.matches[t]=a,e())}))}))},_.prototype._mark=function(t){return u.mark(this,t)},_.prototype._makeAbs=function(t){return u.makeAbs(this,t)},_.prototype.abort=function(){this.aborted=!0,this.emit("abort")},_.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},_.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);for(this._processQueue.length=0,e=0;e<n.length;e++){var i=n[e];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},_.prototype._process=function(t,e,r,n){if(c(this instanceof _),c("function"==typeof n),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([t,e,r,n]);else{for(var s,o=0;"string"==typeof t[o];)o++;switch(o){case t.length:return void this._processSimple(t.join("/"),e,n);case 0:s=null;break;default:s=t.slice(0,o).join("/")}var a,l=t.slice(o);null===s?a=".":h(s)||h(t.map((function(t){return"string"==typeof t?t:"[*]"})).join("/"))?(s&&h(s)||(s="/"+s),a=s):a=s;var u=this._makeAbs(a);if(m(this,a))return n();l[0]===i.GLOBSTAR?this._processGlobStar(s,a,u,l,e,r,n):this._processReaddir(s,a,u,l,e,r,n)}},_.prototype._processReaddir=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,(function(c,h){return a._processReaddir2(t,e,r,n,i,s,h,o)}))},_.prototype._processReaddir2=function(t,e,r,n,i,s,o,c){if(!o)return c();for(var h=n[0],l=!!this.minimatch.negate,u=h._glob,f=this.dot||"."===u.charAt(0),d=[],p=0;p<o.length;p++)("."!==(g=o[p]).charAt(0)||f)&&(l&&!t?!g.match(h):g.match(h))&&d.push(g);var m=d.length;if(0===m)return c();if(1===n.length&&!this.mark&&!this.stat){for(this.matches[i]||(this.matches[i]=Object.create(null)),p=0;p<m;p++){var g=d[p];t&&(g="/"!==t?t+"/"+g:t+g),"/"!==g.charAt(0)||this.nomount||(g=a.join(this.root,g)),this._emitMatch(i,g)}return c()}for(n.shift(),p=0;p<m;p++)g=d[p],t&&(g="/"!==t?t+"/"+g:t+g),this._process([g].concat(n),i,s,c);c()},_.prototype._emitMatch=function(t,e){if(!this.aborted&&!g(this,e))if(this.paused)this._emitQueue.push([t,e]);else{var r=h(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[t][e]=!0;var i=this.statCache[r];i&&this.emit("stat",e,i),this.emit("match",e)}}},_.prototype._readdirInGlobStar=function(t,e){if(!this.aborted){if(this.follow)return this._readdir(t,!1,e);var r=this,n=p("lstat\0"+t,(function(n,i){if(n&&"ENOENT"===n.code)return e();var s=i&&i.isSymbolicLink();r.symlinks[t]=s,s||!i||i.isDirectory()?r._readdir(t,!1,e):(r.cache[t]="FILE",e())}));n&&r.fs.lstat(t,n)}},_.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=p("readdir\0"+t+"\0"+e,r))){if(e&&!d(this.symlinks,t))return this._readdirInGlobStar(t,r);if(d(this.cache,t)){var n=this.cache[t];if(!n||"FILE"===n)return r();if(Array.isArray(n))return r(null,n)}this.fs.readdir(t,function(t,e,r){return function(n,i){n?t._readdirError(e,n,r):t._readdirEntries(e,i,r)}}(this,t,r))}},_.prototype._readdirEntries=function(t,e,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<e.length;n++){var i=e[n];i="/"===t?t+i:t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,r(null,e)}},_.prototype._readdirError=function(t,e,r){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(t);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=e.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e)}return r()}},_.prototype._processGlobStar=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,(function(c,h){a._processGlobStar2(t,e,r,n,i,s,h,o)}))},_.prototype._processGlobStar2=function(t,e,r,n,i,s,o,a){if(!o)return a();var c=n.slice(1),h=t?[t]:[],l=h.concat(c);this._process(l,i,!1,a);var u=this.symlinks[r],f=o.length;if(u&&s)return a();for(var d=0;d<f;d++)if("."!==o[d].charAt(0)||this.dot){var p=h.concat(o[d],c);this._process(p,i,!0,a);var m=h.concat(o[d],n);this._process(m,i,!0,a)}a()},_.prototype._processSimple=function(t,e,r){var n=this;this._stat(t,(function(i,s){n._processSimple2(t,e,i,s,r)}))},_.prototype._processSimple2=function(t,e,r,n,i){if(this.matches[e]||(this.matches[e]=Object.create(null)),!n)return i();if(t&&h(t)&&!this.nomount){var s=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=a.join(this.root,t):(t=a.resolve(this.root,t),s&&(t+="/"))}"win32"===process.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),i()},_.prototype._stat=function(t,e){var r=this._makeAbs(t),n="/"===t.slice(-1);if(t.length>this.maxLength)return e();if(!this.stat&&d(this.cache,r)){var i=this.cache[r];if(Array.isArray(i)&&(i="DIR"),!n||"DIR"===i)return e(null,i);if(n&&"FILE"===i)return e()}var s=this.statCache[r];if(void 0!==s){if(!1===s)return e(null,s);var o=s.isDirectory()?"DIR":"FILE";return n&&"FILE"===o?e():e(null,o,s)}var a=this,c=p("stat\0"+r,(function(n,i){if(i&&i.isSymbolicLink())return a.fs.stat(r,(function(n,s){n?a._stat2(t,r,null,i,e):a._stat2(t,r,n,s,e)}));a._stat2(t,r,n,i,e)}));c&&a.fs.lstat(r,c)},_.prototype._stat2=function(t,e,r,n,i){if(r&&("ENOENT"===r.code||"ENOTDIR"===r.code))return this.statCache[e]=!1,i();var s="/"===t.slice(-1);if(this.statCache[e]=n,"/"===e.slice(-1)&&n&&!n.isDirectory())return i(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&"FILE"===o?i():i(null,o,n)}},function(t,e){t.exports=function(t,e){for(var n=[],i=0;i<t.length;i++){var s=e(t[i],i);r(s)?n.push.apply(n,s):n.push(s)}return n};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,r){"use strict";function n(t,e,r){t instanceof RegExp&&(t=i(t,r)),e instanceof RegExp&&(e=i(e,r));var n=s(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}function i(t,e){var r=e.match(t);return r?r[0]:null}function s(t,e,r){var n,i,s,o,a,c=r.indexOf(t),h=r.indexOf(e,c+1),l=c;if(c>=0&&h>0){if(t===e)return[c,h];for(n=[],s=r.length;l>=0&&!a;)l==c?(n.push(l),c=r.indexOf(t,l+1)):1==n.length?a=[n.pop(),h]:((i=n.pop())<s&&(s=i,o=h),h=r.indexOf(e,l+1)),l=c<h&&c>=0?c:h;n.length&&(a=[s,o])}return a}t.exports=n,n.range=s},function(t,e,r){function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.setopts=function(t,e,r){if(r||(r={}),r.matchBase&&-1===e.indexOf("/")){if(r.noglobstar)throw new Error("base matching requires globstar");e="**/"+e}t.silent=!!r.silent,t.pattern=e,t.strict=!1!==r.strict,t.realpath=!!r.realpath,t.realpathCache=r.realpathCache||Object.create(null),t.follow=!!r.follow,t.dot=!!r.dot,t.mark=!!r.mark,t.nodir=!!r.nodir,t.nodir&&(t.mark=!0),t.sync=!!r.sync,t.nounique=!!r.nounique,t.nonull=!!r.nonull,t.nosort=!!r.nosort,t.nocase=!!r.nocase,t.stat=!!r.stat,t.noprocess=!!r.noprocess,t.absolute=!!r.absolute,t.fs=r.fs||i,t.maxLength=r.maxLength||1/0,t.cache=r.cache||Object.create(null),t.statCache=r.statCache||Object.create(null),t.symlinks=r.symlinks||Object.create(null),function(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]),t.ignore.length&&(t.ignore=t.ignore.map(l))}(t,r),t.changedCwd=!1;var o=process.cwd();n(r,"cwd")?(t.cwd=s.resolve(r.cwd),t.changedCwd=t.cwd!==o):t.cwd=o,t.root=r.root||s.resolve(t.cwd,"/"),t.root=s.resolve(t.root),"win32"===process.platform&&(t.root=t.root.replace(/\\/g,"/")),t.cwdAbs=a(t.cwd)?t.cwd:u(t,t.cwd),"win32"===process.platform&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/")),t.nomount=!!r.nomount,r.nonegate=!0,r.nocomment=!0,r.allowWindowsEscape=!1,t.minimatch=new c(e,r),t.options=t.minimatch.options},e.ownProp=n,e.makeAbs=u,e.finish=function(t){for(var e=t.nounique,r=e?[]:Object.create(null),n=0,i=t.matches.length;n<i;n++){var s=t.matches[n];if(s&&0!==Object.keys(s).length){var o=Object.keys(s);e?r.push.apply(r,o):o.forEach((function(t){r[t]=!0}))}else if(t.nonull){var a=t.minimatch.globSet[n];e?r.push(a):r[a]=!0}}if(e||(r=Object.keys(r)),t.nosort||(r=r.sort(h)),t.mark){for(n=0;n<r.length;n++)r[n]=t._mark(r[n]);t.nodir&&(r=r.filter((function(e){var r=!/\/$/.test(e),n=t.cache[e]||t.cache[u(t,e)];return r&&n&&(r="DIR"!==n&&!Array.isArray(n)),r})))}t.ignore.length&&(r=r.filter((function(e){return!f(t,e)}))),t.found=r},e.mark=function(t,e){var r=u(t,e),n=t.cache[r],i=e;if(n){var s="DIR"===n||Array.isArray(n),o="/"===e.slice(-1);if(s&&!o?i+="/":!s&&o&&(i=i.slice(0,-1)),i!==e){var a=u(t,i);t.statCache[a]=t.statCache[r],t.cache[a]=t.cache[r]}}return i},e.isIgnored=f,e.childrenIgnored=function(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return!(!t.gmatcher||!t.gmatcher.match(e))}))};var i=r(2),s=r(1),o=r(29),a=r(13),c=o.Minimatch;function h(t,e){return t.localeCompare(e,"en")}function l(t){var e=null;if("/**"===t.slice(-3)){var r=t.replace(/(\/\*\*)+$/,"");e=new c(r,{dot:!0})}return{matcher:new c(t,{dot:!0}),gmatcher:e}}function u(t,e){var r=e;return r="/"===e.charAt(0)?s.join(t.root,e):a(e)||""===e?e:t.changedCwd?s.resolve(t.cwd,e):s.resolve(e),"win32"===process.platform&&(r=r.replace(/\\/g,"/")),r}function f(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return t.matcher.match(e)||!(!t.gmatcher||!t.gmatcher.match(e))}))}},function(t,e,r){var n=r(49),i=Object.create(null),s=r(31);function o(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n]=t[n];return r}t.exports=n((function(t,e){return i[t]?(i[t].push(e),null):(i[t]=[e],function(t){return s((function e(){var r=i[t],n=r.length,s=o(arguments);try{for(var a=0;a<n;a++)r[a].apply(null,s)}finally{r.length>n?(r.splice(0,n),process.nextTick((function(){e.apply(null,s)}))):delete i[t]}}))}(t))}))},function(t,e){t.exports=function t(e,r){if(e&&r)return t(e)(r);if("function"!=typeof e)throw new TypeError("need wrapper function");return Object.keys(e).forEach((function(t){n[t]=e[t]})),n;function n(){for(var t=new Array(arguments.length),r=0;r<t.length;r++)t[r]=arguments[r];var n=e.apply(this,t),i=t[t.length-1];return"function"==typeof n&&n!==i&&Object.keys(i).forEach((function(t){n[t]=i[t]})),n}}},function(t,e,r){"use strict";function n(){if(!(this instanceof n))return new n;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var t=new n;for(var e in this)"function"!=typeof this[e]&&(t[e]=this[e]);return t}}n.prototype=r(93),n.prototype.loadAsync=r(118),n.support=r(9),n.defaults=r(62),n.version="3.10.1",n.loadAsync=function(t,e){return(new n).loadAsync(t,e)},n.external=r(18),t.exports=n},function(t,e,r){var n=r(52);"disable"===process.env.READABLE_STREAM&&n?(t.exports=n,(e=t.exports=n.Readable).Readable=n.Readable,e.Writable=n.Writable,e.Duplex=n.Duplex,e.Transform=n.Transform,e.PassThrough=n.PassThrough,e.Stream=n):((e=t.exports=r(53)).Stream=n||e,e.Readable=e,e.Writable=r(57),e.Duplex=r(14),e.Transform=r(59),e.PassThrough=r(97))},function(t,e){t.exports=require("stream")},function(t,e,r){"use strict";var n=r(21);t.exports=b;var i,s=r(94);b.ReadableState=v,r(30).EventEmitter;var o=function(t,e){return t.listeners(e).length},a=r(54),c=r(22).Buffer,h=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},l=Object.create(r(17));l.inherits=r(11);var u=r(8),f=void 0;f=u&&u.debuglog?u.debuglog("stream"):function(){};var d,p=r(95),m=r(56);l.inherits(b,a);var g=["error","close","destroy","pause","resume"];function v(t,e){t=t||{};var n=e instanceof(i=i||r(14));this.objectMode=!!t.objectMode,n&&(this.objectMode=this.objectMode||!!t.readableObjectMode);var s=t.highWaterMark,o=t.readableHighWaterMark,a=this.objectMode?16:16384;this.highWaterMark=s||0===s?s:n&&(o||0===o)?o:a,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=t.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,t.encoding&&(d||(d=r(58).StringDecoder),this.decoder=new d(t.encoding),this.encoding=t.encoding)}function b(t){if(i=i||r(14),!(this instanceof b))return new b(t);this._readableState=new v(t,this),this.readable=!0,t&&("function"==typeof t.read&&(this._read=t.read),"function"==typeof t.destroy&&(this._destroy=t.destroy)),a.call(this)}function y(t,e,r,n,i){var s,o=t._readableState;return null===e?(o.reading=!1,function(t,e){if(!e.ended){if(e.decoder){var r=e.decoder.end();r&&r.length&&(e.buffer.push(r),e.length+=e.objectMode?1:r.length)}e.ended=!0,E(t)}}(t,o)):(i||(s=function(t,e){var r,n;return n=e,c.isBuffer(n)||n instanceof h||"string"==typeof e||void 0===e||t.objectMode||(r=new TypeError("Invalid non-string/buffer chunk")),r}(o,e)),s?t.emit("error",s):o.objectMode||e&&e.length>0?("string"==typeof e||o.objectMode||Object.getPrototypeOf(e)===c.prototype||(e=function(t){return c.from(t)}(e)),n?o.endEmitted?t.emit("error",new Error("stream.unshift() after end event")):_(t,o,e,!0):o.ended?t.emit("error",new Error("stream.push() after EOF")):(o.reading=!1,o.decoder&&!r?(e=o.decoder.write(e),o.objectMode||0!==e.length?_(t,o,e,!1):S(t,o)):_(t,o,e,!1))):n||(o.reading=!1)),function(t){return!t.ended&&(t.needReadable||t.length<t.highWaterMark||0===t.length)}(o)}function _(t,e,r,n){e.flowing&&0===e.length&&!e.sync?(t.emit("data",r),t.read(0)):(e.length+=e.objectMode?1:r.length,n?e.buffer.unshift(r):e.buffer.push(r),e.needReadable&&E(t)),S(t,e)}function w(t,e){return t<=0||0===e.length&&e.ended?0:e.objectMode?1:t!=t?e.flowing&&e.length?e.buffer.head.data.length:e.length:(t>e.highWaterMark&&(e.highWaterMark=function(t){return t>=8388608?t=8388608:(t--,t|=t>>>1,t|=t>>>2,t|=t>>>4,t|=t>>>8,t|=t>>>16,t++),t}(t)),t<=e.length?t:e.ended?e.length:(e.needReadable=!0,0))}function E(t){var e=t._readableState;e.needReadable=!1,e.emittedReadable||(f("emitReadable",e.flowing),e.emittedReadable=!0,e.sync?n.nextTick(k,t):k(t))}function k(t){f("emit readable"),t.emit("readable"),R(t)}function S(t,e){e.readingMore||(e.readingMore=!0,n.nextTick(x,t,e))}function x(t,e){for(var r=e.length;!e.reading&&!e.flowing&&!e.ended&&e.length<e.highWaterMark&&(f("maybeReadMore read 0"),t.read(0),r!==e.length);)r=e.length;e.readingMore=!1}function O(t){f("readable nexttick read 0"),t.read(0)}function A(t,e){e.reading||(f("resume read 0"),t.read(0)),e.resumeScheduled=!1,e.awaitDrain=0,t.emit("resume"),R(t),e.flowing&&!e.reading&&t.read(0)}function R(t){var e=t._readableState;for(f("flow",e.flowing);e.flowing&&null!==t.read(););}function I(t,e){return 0===e.length?null:(e.objectMode?r=e.buffer.shift():!t||t>=e.length?(r=e.decoder?e.buffer.join(""):1===e.buffer.length?e.buffer.head.data:e.buffer.concat(e.length),e.buffer.clear()):r=function(t,e,r){var n;return t<e.head.data.length?(n=e.head.data.slice(0,t),e.head.data=e.head.data.slice(t)):n=t===e.head.data.length?e.shift():r?function(t,e){var r=e.head,n=1,i=r.data;for(t-=i.length;r=r.next;){var s=r.data,o=t>s.length?s.length:t;if(o===s.length?i+=s:i+=s.slice(0,t),0==(t-=o)){o===s.length?(++n,r.next?e.head=r.next:e.head=e.tail=null):(e.head=r,r.data=s.slice(o));break}++n}return e.length-=n,i}(t,e):function(t,e){var r=c.allocUnsafe(t),n=e.head,i=1;for(n.data.copy(r),t-=n.data.length;n=n.next;){var s=n.data,o=t>s.length?s.length:t;if(s.copy(r,r.length-t,0,o),0==(t-=o)){o===s.length?(++i,n.next?e.head=n.next:e.head=e.tail=null):(e.head=n,n.data=s.slice(o));break}++i}return e.length-=i,r}(t,e),n}(t,e.buffer,e.decoder),r);var r}function T(t){var e=t._readableState;if(e.length>0)throw new Error('"endReadable()" called on non-empty stream');e.endEmitted||(e.ended=!0,n.nextTick(C,e,t))}function C(t,e){t.endEmitted||0!==t.length||(t.endEmitted=!0,e.readable=!1,e.emit("end"))}function N(t,e){for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}Object.defineProperty(b.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(t){this._readableState&&(this._readableState.destroyed=t)}}),b.prototype.destroy=m.destroy,b.prototype._undestroy=m.undestroy,b.prototype._destroy=function(t,e){this.push(null),e(t)},b.prototype.push=function(t,e){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof t&&((e=e||n.defaultEncoding)!==n.encoding&&(t=c.from(t,e),e=""),r=!0),y(this,t,e,!1,r)},b.prototype.unshift=function(t){return y(this,t,null,!0,!1)},b.prototype.isPaused=function(){return!1===this._readableState.flowing},b.prototype.setEncoding=function(t){return d||(d=r(58).StringDecoder),this._readableState.decoder=new d(t),this._readableState.encoding=t,this},b.prototype.read=function(t){f("read",t),t=parseInt(t,10);var e=this._readableState,r=t;if(0!==t&&(e.emittedReadable=!1),0===t&&e.needReadable&&(e.length>=e.highWaterMark||e.ended))return f("read: emitReadable",e.length,e.ended),0===e.length&&e.ended?T(this):E(this),null;if(0===(t=w(t,e))&&e.ended)return 0===e.length&&T(this),null;var n,i=e.needReadable;return f("need readable",i),(0===e.length||e.length-t<e.highWaterMark)&&f("length less than watermark",i=!0),e.ended||e.reading?f("reading or ended",i=!1):i&&(f("do read"),e.reading=!0,e.sync=!0,0===e.length&&(e.needReadable=!0),this._read(e.highWaterMark),e.sync=!1,e.reading||(t=w(r,e))),null===(n=t>0?I(t,e):null)?(e.needReadable=!0,t=0):e.length-=t,0===e.length&&(e.ended||(e.needReadable=!0),r!==t&&e.ended&&T(this)),null!==n&&this.emit("data",n),n},b.prototype._read=function(t){this.emit("error",new Error("_read() is not implemented"))},b.prototype.pipe=function(t,e){var r=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=t;break;case 1:i.pipes=[i.pipes,t];break;default:i.pipes.push(t)}i.pipesCount+=1,f("pipe count=%d opts=%j",i.pipesCount,e);var a=e&&!1===e.end||t===process.stdout||t===process.stderr?v:c;function c(){f("onend"),t.end()}i.endEmitted?n.nextTick(a):r.once("end",a),t.on("unpipe",(function e(n,s){f("onunpipe"),n===r&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,f("cleanup"),t.removeListener("close",m),t.removeListener("finish",g),t.removeListener("drain",h),t.removeListener("error",p),t.removeListener("unpipe",e),r.removeListener("end",c),r.removeListener("end",v),r.removeListener("data",d),l=!0,!i.awaitDrain||t._writableState&&!t._writableState.needDrain||h())}));var h=function(t){return function(){var e=t._readableState;f("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&o(t,"data")&&(e.flowing=!0,R(t))}}(r);t.on("drain",h);var l=!1,u=!1;function d(e){f("ondata"),u=!1,!1!==t.write(e)||u||((1===i.pipesCount&&i.pipes===t||i.pipesCount>1&&-1!==N(i.pipes,t))&&!l&&(f("false write response, pause",i.awaitDrain),i.awaitDrain++,u=!0),r.pause())}function p(e){f("onerror",e),v(),t.removeListener("error",p),0===o(t,"error")&&t.emit("error",e)}function m(){t.removeListener("finish",g),v()}function g(){f("onfinish"),t.removeListener("close",m),v()}function v(){f("unpipe"),r.unpipe(t)}return r.on("data",d),function(t,e,r){if("function"==typeof t.prependListener)return t.prependListener(e,r);t._events&&t._events[e]?s(t._events[e])?t._events[e].unshift(r):t._events[e]=[r,t._events[e]]:t.on(e,r)}(t,"error",p),t.once("close",m),t.once("finish",g),t.emit("pipe",r),i.flowing||(f("pipe resume"),r.resume()),t},b.prototype.unpipe=function(t){var e=this._readableState,r={hasUnpiped:!1};if(0===e.pipesCount)return this;if(1===e.pipesCount)return t&&t!==e.pipes||(t||(t=e.pipes),e.pipes=null,e.pipesCount=0,e.flowing=!1,t&&t.emit("unpipe",this,r)),this;if(!t){var n=e.pipes,i=e.pipesCount;e.pipes=null,e.pipesCount=0,e.flowing=!1;for(var s=0;s<i;s++)n[s].emit("unpipe",this,{hasUnpiped:!1});return this}var o=N(e.pipes,t);return-1===o||(e.pipes.splice(o,1),e.pipesCount-=1,1===e.pipesCount&&(e.pipes=e.pipes[0]),t.emit("unpipe",this,r)),this},b.prototype.on=function(t,e){var r=a.prototype.on.call(this,t,e);if("data"===t)!1!==this._readableState.flowing&&this.resume();else if("readable"===t){var i=this._readableState;i.endEmitted||i.readableListening||(i.readableListening=i.needReadable=!0,i.emittedReadable=!1,i.reading?i.length&&E(this):n.nextTick(O,this))}return r},b.prototype.addListener=b.prototype.on,b.prototype.resume=function(){var t=this._readableState;return t.flowing||(f("resume"),t.flowing=!0,function(t,e){e.resumeScheduled||(e.resumeScheduled=!0,n.nextTick(A,t,e))}(this,t)),this},b.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},b.prototype.wrap=function(t){var e=this,r=this._readableState,n=!1;for(var i in t.on("end",(function(){if(f("wrapped end"),r.decoder&&!r.ended){var t=r.decoder.end();t&&t.length&&e.push(t)}e.push(null)})),t.on("data",(function(i){f("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i||(r.objectMode||i&&i.length)&&(e.push(i)||(n=!0,t.pause()))})),t)void 0===this[i]&&"function"==typeof t[i]&&(this[i]=function(e){return function(){return t[e].apply(t,arguments)}}(i));for(var s=0;s<g.length;s++)t.on(g[s],this.emit.bind(this,g[s]));return this._read=function(e){f("wrapped _read",e),n&&(n=!1,t.resume())},this},Object.defineProperty(b.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),b._fromList=I},function(t,e,r){t.exports=r(52)},function(t,e){t.exports=require("buffer")},function(t,e,r){"use strict";var n=r(21);function i(t,e){t.emit("error",e)}t.exports={destroy:function(t,e){var r=this,s=this._readableState&&this._readableState.destroyed,o=this._writableState&&this._writableState.destroyed;return s||o?(e?e(t):t&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,t)):n.nextTick(i,this,t)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(t||null,(function(t){!e&&t?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,t)):n.nextTick(i,r,t):e&&e(t)})),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},function(t,e,r){"use strict";var n=r(21);function i(t){var e=this;this.next=null,this.entry=null,this.finish=function(){!function(t,e,r){var n=t.entry;for(t.entry=null;n;){var i=n.callback;e.pendingcb--,i(void 0),n=n.next}e.corkedRequestsFree.next=t}(e,t)}}t.exports=g;var s,o=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:n.nextTick;g.WritableState=m;var a=Object.create(r(17));a.inherits=r(11);var c,h={deprecate:r(96)},l=r(54),u=r(22).Buffer,f=("undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=r(56);function p(){}function m(t,e){s=s||r(14),t=t||{};var a=e instanceof s;this.objectMode=!!t.objectMode,a&&(this.objectMode=this.objectMode||!!t.writableObjectMode);var c=t.highWaterMark,h=t.writableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=c||0===c?c:a&&(h||0===h)?h:l,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var u=!1===t.decodeStrings;this.decodeStrings=!u,this.defaultEncoding=t.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(t){!function(t,e){var r=t._writableState,i=r.sync,s=r.writecb;if(function(t){t.writing=!1,t.writecb=null,t.length-=t.writelen,t.writelen=0}(r),e)!function(t,e,r,i,s){--e.pendingcb,r?(n.nextTick(s,i),n.nextTick(E,t,e),t._writableState.errorEmitted=!0,t.emit("error",i)):(s(i),t._writableState.errorEmitted=!0,t.emit("error",i),E(t,e))}(t,r,i,e,s);else{var a=_(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||y(t,r),i?o(b,t,r,a,s):b(t,r,a,s)}}(e,t)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new i(this)}function g(t){if(s=s||r(14),!(c.call(g,this)||this instanceof s))return new g(t);this._writableState=new m(t,this),this.writable=!0,t&&("function"==typeof t.write&&(this._write=t.write),"function"==typeof t.writev&&(this._writev=t.writev),"function"==typeof t.destroy&&(this._destroy=t.destroy),"function"==typeof t.final&&(this._final=t.final)),l.call(this)}function v(t,e,r,n,i,s,o){e.writelen=n,e.writecb=o,e.writing=!0,e.sync=!0,r?t._writev(i,e.onwrite):t._write(i,s,e.onwrite),e.sync=!1}function b(t,e,r,n){r||function(t,e){0===e.length&&e.needDrain&&(e.needDrain=!1,t.emit("drain"))}(t,e),e.pendingcb--,n(),E(t,e)}function y(t,e){e.bufferProcessing=!0;var r=e.bufferedRequest;if(t._writev&&r&&r.next){var n=e.bufferedRequestCount,s=new Array(n),o=e.corkedRequestsFree;o.entry=r;for(var a=0,c=!0;r;)s[a]=r,r.isBuf||(c=!1),r=r.next,a+=1;s.allBuffers=c,v(t,e,!0,e.length,s,"",o.finish),e.pendingcb++,e.lastBufferedRequest=null,o.next?(e.corkedRequestsFree=o.next,o.next=null):e.corkedRequestsFree=new i(e),e.bufferedRequestCount=0}else{for(;r;){var h=r.chunk,l=r.encoding,u=r.callback;if(v(t,e,!1,e.objectMode?1:h.length,h,l,u),r=r.next,e.bufferedRequestCount--,e.writing)break}null===r&&(e.lastBufferedRequest=null)}e.bufferedRequest=r,e.bufferProcessing=!1}function _(t){return t.ending&&0===t.length&&null===t.bufferedRequest&&!t.finished&&!t.writing}function w(t,e){t._final((function(r){e.pendingcb--,r&&t.emit("error",r),e.prefinished=!0,t.emit("prefinish"),E(t,e)}))}function E(t,e){var r=_(e);return r&&(function(t,e){e.prefinished||e.finalCalled||("function"==typeof t._final?(e.pendingcb++,e.finalCalled=!0,n.nextTick(w,t,e)):(e.prefinished=!0,t.emit("prefinish")))}(t,e),0===e.pendingcb&&(e.finished=!0,t.emit("finish"))),r}a.inherits(g,l),m.prototype.getBuffer=function(){for(var t=this.bufferedRequest,e=[];t;)e.push(t),t=t.next;return e},function(){try{Object.defineProperty(m.prototype,"buffer",{get:h.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(t){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(g,Symbol.hasInstance,{value:function(t){return!!c.call(this,t)||this===g&&t&&t._writableState instanceof m}})):c=function(t){return t instanceof this},g.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},g.prototype.write=function(t,e,r){var i,s=this._writableState,o=!1,a=!s.objectMode&&(i=t,u.isBuffer(i)||i instanceof f);return a&&!u.isBuffer(t)&&(t=function(t){return u.from(t)}(t)),"function"==typeof e&&(r=e,e=null),a?e="buffer":e||(e=s.defaultEncoding),"function"!=typeof r&&(r=p),s.ended?function(t,e){var r=new Error("write after end");t.emit("error",r),n.nextTick(e,r)}(this,r):(a||function(t,e,r,i){var s=!0,o=!1;return null===r?o=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||e.objectMode||(o=new TypeError("Invalid non-string/buffer chunk")),o&&(t.emit("error",o),n.nextTick(i,o),s=!1),s}(this,s,t,r))&&(s.pendingcb++,o=function(t,e,r,n,i,s){if(!r){var o=function(t,e,r){return t.objectMode||!1===t.decodeStrings||"string"!=typeof e||(e=u.from(e,r)),e}(e,n,i);n!==o&&(r=!0,i="buffer",n=o)}var a=e.objectMode?1:n.length;e.length+=a;var c=e.length<e.highWaterMark;if(c||(e.needDrain=!0),e.writing||e.corked){var h=e.lastBufferedRequest;e.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:s,next:null},h?h.next=e.lastBufferedRequest:e.bufferedRequest=e.lastBufferedRequest,e.bufferedRequestCount+=1}else v(t,e,!1,a,n,i,s);return c}(this,s,a,t,e,r)),o},g.prototype.cork=function(){this._writableState.corked++},g.prototype.uncork=function(){var t=this._writableState;t.corked&&(t.corked--,t.writing||t.corked||t.bufferProcessing||!t.bufferedRequest||y(this,t))},g.prototype.setDefaultEncoding=function(t){if("string"==typeof t&&(t=t.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((t+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+t);return this._writableState.defaultEncoding=t,this},Object.defineProperty(g.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),g.prototype._write=function(t,e,r){r(new Error("_write() is not implemented"))},g.prototype._writev=null,g.prototype.end=function(t,e,r){var i=this._writableState;"function"==typeof t?(r=t,t=null,e=null):"function"==typeof e&&(r=e,e=null),null!=t&&this.write(t,e),i.corked&&(i.corked=1,this.uncork()),i.ending||function(t,e,r){e.ending=!0,E(t,e),r&&(e.finished?n.nextTick(r):t.once("finish",r)),e.ended=!0,t.writable=!1}(this,i,r)},Object.defineProperty(g.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(t){this._writableState&&(this._writableState.destroyed=t)}}),g.prototype.destroy=d.destroy,g.prototype._undestroy=d.undestroy,g.prototype._destroy=function(t,e){this.end(),e(t)}},function(t,e,r){"use strict";var n=r(22).Buffer,i=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function s(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===i||!i(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=h,e=4;break;case"utf8":this.fillLast=a,e=4;break;case"base64":this.text=l,this.end=u,e=3;break;default:return this.write=f,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function o(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function a(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function h(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function l(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function u(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function f(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.StringDecoder=s,s.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},s.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},s.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var i=o(e[n]);return i>=0?(i>0&&(t.lastNeed=i-1),i):--n<r||-2===i?0:(i=o(e[n]))>=0?(i>0&&(t.lastNeed=i-2),i):--n<r||-2===i?0:(i=o(e[n]))>=0?(i>0&&(2===i?i=0:t.lastNeed=i-3),i):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},s.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){"use strict";t.exports=o;var n=r(14),i=Object.create(r(17));function s(t,e){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=e&&this.push(e),n(t);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function o(t){if(!(this instanceof o))return new o(t);n.call(this,t),this._transformState={afterTransform:s.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,t&&("function"==typeof t.transform&&(this._transform=t.transform),"function"==typeof t.flush&&(this._flush=t.flush)),this.on("prefinish",a)}function a(){var t=this;"function"==typeof this._flush?this._flush((function(e,r){c(t,e,r)})):c(this,null,null)}function c(t,e,r){if(e)return t.emit("error",e);if(null!=r&&t.push(r),t._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(t._transformState.transforming)throw new Error("Calling transform done when still transforming");return t.push(null)}i.inherits=r(11),i.inherits(o,n),o.prototype.push=function(t,e){return this._transformState.needTransform=!1,n.prototype.push.call(this,t,e)},o.prototype._transform=function(t,e,r){throw new Error("_transform() is not implemented")},o.prototype._write=function(t,e,r){var n=this._transformState;if(n.writecb=r,n.writechunk=t,n.writeencoding=e,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(t){var e=this._transformState;null!==e.writechunk&&e.writecb&&!e.transforming?(e.transforming=!0,this._transform(e.writechunk,e.writeencoding,e.afterTransform)):e.needTransform=!0},o.prototype._destroy=function(t,e){var r=this;n.prototype._destroy.call(this,t,(function(t){e(t),r.emit("close")}))}},function(t,e,r){"use strict";var n=r(3),i=r(9),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";e.encode=function(t){for(var e,r,i,o,a,c,h,l=[],u=0,f=t.length,d=f,p="string"!==n.getTypeOf(t);u<t.length;)d=f-u,p?(e=t[u++],r=u<f?t[u++]:0,i=u<f?t[u++]:0):(e=t.charCodeAt(u++),r=u<f?t.charCodeAt(u++):0,i=u<f?t.charCodeAt(u++):0),o=e>>2,a=(3&e)<<4|r>>4,c=d>1?(15&r)<<2|i>>6:64,h=d>2?63&i:64,l.push(s.charAt(o)+s.charAt(a)+s.charAt(c)+s.charAt(h));return l.join("")},e.decode=function(t){var e,r,n,o,a,c,h=0,l=0;if("data:"===t.substr(0,"data:".length))throw new Error("Invalid base64 input, it looks like a data url.");var u,f=3*(t=t.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(t.charAt(t.length-1)===s.charAt(64)&&f--,t.charAt(t.length-2)===s.charAt(64)&&f--,f%1!=0)throw new Error("Invalid base64 input, bad content length.");for(u=i.uint8array?new Uint8Array(0|f):new Array(0|f);h<t.length;)e=s.indexOf(t.charAt(h++))<<2|(o=s.indexOf(t.charAt(h++)))>>4,r=(15&o)<<4|(a=s.indexOf(t.charAt(h++)))>>2,n=(3&a)<<6|(c=s.indexOf(t.charAt(h++))),u[l++]=e,64!==a&&(u[l++]=r),64!==c&&(u[l++]=n);return u}},function(t,e,r){"use strict";var n=r(3),i=r(101),s=r(5),o=r(60),a=r(9),c=r(18),h=null;if(a.nodestream)try{h=r(102)}catch(t){}function l(t,e,r){var o=e;switch(e){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=e,this._mimeType=r,n.checkSupport(o),this._worker=t.pipe(new i(o)),t.lock()}catch(t){this._worker=new s("error"),this._worker.error(t)}}l.prototype={accumulate:function(t){return function(t,e){return new c.Promise((function(r,i){var s=[],a=t._internalType,c=t._outputType,h=t._mimeType;t.on("data",(function(t,r){s.push(t),e&&e(r)})).on("error",(function(t){s=[],i(t)})).on("end",(function(){try{var t=function(t,e,r){switch(t){case"blob":return n.newBlob(n.transformTo("arraybuffer",e),r);case"base64":return o.encode(e);default:return n.transformTo(t,e)}}(c,function(t,e){var r,n=0,i=null,s=0;for(r=0;r<e.length;r++)s+=e[r].length;switch(t){case"string":return e.join("");case"array":return Array.prototype.concat.apply([],e);case"uint8array":for(i=new Uint8Array(s),r=0;r<e.length;r++)i.set(e[r],n),n+=e[r].length;return i;case"nodebuffer":return Buffer.concat(e);default:throw new Error("concat : unsupported type '"+t+"'")}}(a,s),h);r(t)}catch(t){i(t)}s=[]})).resume()}))}(this,t)},on:function(t,e){var r=this;return"data"===t?this._worker.on(t,(function(t){e.call(r,t.data,t.meta)})):this._worker.on(t,(function(){n.delay(e,arguments,r)})),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(t){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:"nodebuffer"!==this._outputType},t)}},t.exports=l},function(t,e,r){"use strict";e.base64=!1,e.binary=!1,e.dir=!1,e.createFolders=!0,e.date=null,e.compression=null,e.compressionOptions=null,e.comment=null,e.unixPermissions=null,e.dosPermissions=null},function(t,e,r){"use strict";var n=r(3),i=r(5);function s(t){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}n.inherits(s,i),s.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=s},function(t,e,r){"use strict";var n=r(5),i=r(33);function s(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}r(3).inherits(s,n),s.prototype.processChunk=function(t){this.streamInfo.crc32=i(t.data,this.streamInfo.crc32||0),this.push(t)},t.exports=s},function(t,e,r){"use strict";var n=r(5);e.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},e.DEFLATE=r(106)},function(t,e,r){"use strict";t.exports=function(t,e,r,n){for(var i=65535&t|0,s=t>>>16&65535|0,o=0;0!==r;){r-=o=r>2e3?2e3:r;do{s=s+(i=i+e[n++]|0)|0}while(--o);i%=65521,s%=65521}return i|s<<16|0}},function(t,e,r){"use strict";var n=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();t.exports=function(t,e,r,i){var s=n,o=i+r;t^=-1;for(var a=i;a<o;a++)t=t>>>8^s[255&(t^e[a])];return-1^t}},function(t,e,r){"use strict";var n=r(10),i=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){s=!1}for(var o=new n.Buf8(256),a=0;a<256;a++)o[a]=a>=252?6:a>=248?5:a>=240?4:a>=224?3:a>=192?2:1;function c(t,e){if(e<65534&&(t.subarray&&s||!t.subarray&&i))return String.fromCharCode.apply(null,n.shrinkBuf(t,e));for(var r="",o=0;o<e;o++)r+=String.fromCharCode(t[o]);return r}o[254]=o[254]=1,e.string2buf=function(t){var e,r,i,s,o,a=t.length,c=0;for(s=0;s<a;s++)55296==(64512&(r=t.charCodeAt(s)))&&s+1<a&&56320==(64512&(i=t.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(i-56320),s++),c+=r<128?1:r<2048?2:r<65536?3:4;for(e=new n.Buf8(c),o=0,s=0;o<c;s++)55296==(64512&(r=t.charCodeAt(s)))&&s+1<a&&56320==(64512&(i=t.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(i-56320),s++),r<128?e[o++]=r:r<2048?(e[o++]=192|r>>>6,e[o++]=128|63&r):r<65536?(e[o++]=224|r>>>12,e[o++]=128|r>>>6&63,e[o++]=128|63&r):(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63,e[o++]=128|r>>>6&63,e[o++]=128|63&r);return e},e.buf2binstring=function(t){return c(t,t.length)},e.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,i=e.length;r<i;r++)e[r]=t.charCodeAt(r);return e},e.buf2string=function(t,e){var r,n,i,s,a=e||t.length,h=new Array(2*a);for(n=0,r=0;r<a;)if((i=t[r++])<128)h[n++]=i;else if((s=o[i])>4)h[n++]=65533,r+=s-1;else{for(i&=2===s?31:3===s?15:7;s>1&&r<a;)i=i<<6|63&t[r++],s--;s>1?h[n++]=65533:i<65536?h[n++]=i:(i-=65536,h[n++]=55296|i>>10&1023,h[n++]=56320|1023&i)}return c(h,n)},e.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+o[t[r]]>e?r:e}},function(t,e,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(t,e,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(t,e,r){"use strict";e.LOCAL_FILE_HEADER="PK",e.CENTRAL_FILE_HEADER="PK",e.CENTRAL_DIRECTORY_END="PK",e.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",e.ZIP64_CENTRAL_DIRECTORY_END="PK",e.DATA_DESCRIPTOR="PK\b"},function(t,e,r){"use strict";var n=r(3),i=r(9),s=r(73),o=r(120),a=r(121),c=r(75);t.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new a(t):i.uint8array?new c(n.transformTo("uint8array",t)):new s(n.transformTo("array",t)):new o(t)}},function(t,e,r){"use strict";var n=r(74);function i(t){n.call(this,t);for(var e=0;e<this.data.length;e++)t[e]=255&t[e]}r(3).inherits(i,n),i.prototype.byteAt=function(t){return this.data[this.zero+t]},i.prototype.lastIndexOfSignature=function(t){for(var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),s=this.length-4;s>=0;--s)if(this.data[s]===e&&this.data[s+1]===r&&this.data[s+2]===n&&this.data[s+3]===i)return s-this.zero;return-1},i.prototype.readAndCheckSignature=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2),i=t.charCodeAt(3),s=this.readData(4);return e===s[0]&&r===s[1]&&n===s[2]&&i===s[3]},i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return[];var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},t.exports=i},function(t,e,r){"use strict";var n=r(3);function i(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}i.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(){},readInt:function(t){var e,r=0;for(this.checkOffset(t),e=this.index+t-1;e>=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},t.exports=i},function(t,e,r){"use strict";var n=r(73);function i(t){n.call(this,t)}r(3).inherits(i,n),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},t.exports=i},function(t,e,r){var n=r(1),i=r(2),s=parseInt("0777",8);function o(t,e,r,a){"function"==typeof e?(r=e,e={}):e&&"object"==typeof e||(e={mode:e});var c=e.mode,h=e.fs||i;void 0===c&&(c=s),a||(a=null);var l=r||function(){};t=n.resolve(t),h.mkdir(t,c,(function(r){if(!r)return l(null,a=a||t);switch(r.code){case"ENOENT":if(n.dirname(t)===t)return l(r);o(n.dirname(t),e,(function(r,n){r?l(r,n):o(t,e,l,n)}));break;default:h.stat(t,(function(t,e){t||!e.isDirectory()?l(r,a):l(null,a)}))}}))}t.exports=o.mkdirp=o.mkdirP=o,o.sync=function t(e,r,o){r&&"object"==typeof r||(r={mode:r});var a=r.mode,c=r.fs||i;void 0===a&&(a=s),o||(o=null),e=n.resolve(e);try{c.mkdirSync(e,a),o=o||e}catch(i){switch(i.code){case"ENOENT":o=t(n.dirname(e),r,o),t(e,r,o);break;default:var h;try{h=c.statSync(e)}catch(t){throw i}if(!h.isDirectory())throw i}}return o}},function(t,e,r){var n=r(123),i=n.isFunction;t.exports=function(t,e){return function(r,s,o,a,c){var h,l,u,f,d=arguments.length;function p(t,e){null==t?u(e):f(t)}switch(l=new n.Promise((function(t,e){u=t,f=e})),d){case 0:t.call(e,p);break;case 1:i(r)?t.call(e,r):t.call(e,r,p);break;case 2:i(s)?t.call(e,r,s):t.call(e,r,s,p);break;case 3:i(o)?t.call(e,r,s,o):t.call(e,r,s,o,p);break;case 4:i(a)?t.call(e,r,s,o,a):t.call(e,r,s,o,a,p);break;case 5:i(c)?t.call(e,r,s,o,a,c):t.call(e,r,s,o,a,c,p);break;default:h=new Array(d);for(var m=0;m<d;m++)h[m]=arguments[m];if(i(h[d-1]))return t.apply(e,h);h[m]=p,t.apply(e,h)}return l}}},function(t,e,r){"use strict";const n=/^[0-9]+$/,i=(t,e)=>{const r=n.test(t),i=n.test(e);return r&&i&&(t=+t,e=+e),t===e?0:r&&!i?-1:i&&!r?1:t<e?-1:1};t.exports={compareIdentifiers:i,rcompareIdentifiers:(t,e)=>i(e,t)}},function(t,e,r){"use strict";const n=r(6);t.exports=(t,e,r)=>0===n(t,e,r)},function(t,e,r){"use strict";const n=r(6);t.exports=(t,e,r)=>0!==n(t,e,r)},function(t,e,r){"use strict";const n=r(79),i=r(80),s=r(26),o=r(38),a=r(37),c=r(39);t.exports=(t,e,r,h)=>{switch(e){case"===":return"object"==typeof t&&(t=t.version),"object"==typeof r&&(r=r.version),t===r;case"!==":return"object"==typeof t&&(t=t.version),"object"==typeof r&&(r=r.version),t!==r;case"":case"=":case"==":return n(t,r,h);case"!=":return i(t,r,h);case">":return s(t,r,h);case">=":return o(t,r,h);case"<":return a(t,r,h);case"<=":return c(t,r,h);default:throw new TypeError("Invalid operator: "+e)}}},function(t,e,r){t.exports=b;var n=r(20),i=r(41),s=(i.Minimatch,r(11)),o=r(30).EventEmitter,a=r(1),c=r(12),h=r(13),l=r(153),u=r(83),f=u.setopts,d=u.ownProp,p=r(48),m=(r(8),u.childrenIgnored),g=u.isIgnored,v=r(31);function b(t,e,r){if("function"==typeof e&&(r=e,e={}),e||(e={}),e.sync){if(r)throw new TypeError("callback provided to sync glob");return l(t,e)}return new _(t,e,r)}b.sync=l;var y=b.GlobSync=l.GlobSync;function _(t,e,r){if("function"==typeof e&&(r=e,e=null),e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new y(t,e)}if(!(this instanceof _))return new _(t,e,r);f(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof r&&(r=v(r),this.on("error",r),this.on("end",(function(t){r(null,t)})));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return o();for(var s=0;s<n;s++)this._process(this.minimatch.set[s],s,!1,o);function o(){--i._processing,i._processing<=0&&i._finish()}}b.glob=b,b.hasMagic=function(t,e){var r=function(t,e){if(null===e||"object"!=typeof e)return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}({},e);r.noprocess=!0;var n=new _(t,r).minimatch.set;if(!t)return!1;if(n.length>1)return!0;for(var i=0;i<n[0].length;i++)if("string"!=typeof n[0][i])return!0;return!1},b.Glob=_,s(_,o),_.prototype._finish=function(){if(c(this instanceof _),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();u.finish(this),this.emit("end",this.found)}},_.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var t=this.matches.length;if(0===t)return this._finish();for(var e=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n)}function n(){0==--t&&e._finish()}},_.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var i=Object.keys(r),s=this,o=i.length;if(0===o)return e();var a=this.matches[t]=Object.create(null);i.forEach((function(r,i){r=s._makeAbs(r),n.realpath(r,s.realpathCache,(function(n,i){n?"stat"===n.syscall?a[r]=!0:s.emit("error",n):a[i]=!0,0==--o&&(s.matches[t]=a,e())}))}))},_.prototype._mark=function(t){return u.mark(this,t)},_.prototype._makeAbs=function(t){return u.makeAbs(this,t)},_.prototype.abort=function(){this.aborted=!0,this.emit("abort")},_.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},_.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);for(this._processQueue.length=0,e=0;e<n.length;e++){var i=n[e];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},_.prototype._process=function(t,e,r,n){if(c(this instanceof _),c("function"==typeof n),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([t,e,r,n]);else{for(var s,o=0;"string"==typeof t[o];)o++;switch(o){case t.length:return void this._processSimple(t.join("/"),e,n);case 0:s=null;break;default:s=t.slice(0,o).join("/")}var a,l=t.slice(o);null===s?a=".":h(s)||h(t.map((function(t){return"string"==typeof t?t:"[*]"})).join("/"))?(s&&h(s)||(s="/"+s),a=s):a=s;var u=this._makeAbs(a);if(m(this,a))return n();l[0]===i.GLOBSTAR?this._processGlobStar(s,a,u,l,e,r,n):this._processReaddir(s,a,u,l,e,r,n)}},_.prototype._processReaddir=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,(function(c,h){return a._processReaddir2(t,e,r,n,i,s,h,o)}))},_.prototype._processReaddir2=function(t,e,r,n,i,s,o,c){if(!o)return c();for(var h=n[0],l=!!this.minimatch.negate,u=h._glob,f=this.dot||"."===u.charAt(0),d=[],p=0;p<o.length;p++)("."!==(g=o[p]).charAt(0)||f)&&(l&&!t?!g.match(h):g.match(h))&&d.push(g);var m=d.length;if(0===m)return c();if(1===n.length&&!this.mark&&!this.stat){for(this.matches[i]||(this.matches[i]=Object.create(null)),p=0;p<m;p++){var g=d[p];t&&(g="/"!==t?t+"/"+g:t+g),"/"!==g.charAt(0)||this.nomount||(g=a.join(this.root,g)),this._emitMatch(i,g)}return c()}for(n.shift(),p=0;p<m;p++)g=d[p],t&&(g="/"!==t?t+"/"+g:t+g),this._process([g].concat(n),i,s,c);c()},_.prototype._emitMatch=function(t,e){if(!this.aborted&&!g(this,e))if(this.paused)this._emitQueue.push([t,e]);else{var r=h(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[t][e]=!0;var i=this.statCache[r];i&&this.emit("stat",e,i),this.emit("match",e)}}},_.prototype._readdirInGlobStar=function(t,e){if(!this.aborted){if(this.follow)return this._readdir(t,!1,e);var r=this,n=p("lstat\0"+t,(function(n,i){if(n&&"ENOENT"===n.code)return e();var s=i&&i.isSymbolicLink();r.symlinks[t]=s,s||!i||i.isDirectory()?r._readdir(t,!1,e):(r.cache[t]="FILE",e())}));n&&r.fs.lstat(t,n)}},_.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=p("readdir\0"+t+"\0"+e,r))){if(e&&!d(this.symlinks,t))return this._readdirInGlobStar(t,r);if(d(this.cache,t)){var n=this.cache[t];if(!n||"FILE"===n)return r();if(Array.isArray(n))return r(null,n)}this.fs.readdir(t,function(t,e,r){return function(n,i){n?t._readdirError(e,n,r):t._readdirEntries(e,i,r)}}(this,t,r))}},_.prototype._readdirEntries=function(t,e,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<e.length;n++){var i=e[n];i="/"===t?t+i:t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,r(null,e)}},_.prototype._readdirError=function(t,e,r){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(t);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=e.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e)}return r()}},_.prototype._processGlobStar=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,(function(c,h){a._processGlobStar2(t,e,r,n,i,s,h,o)}))},_.prototype._processGlobStar2=function(t,e,r,n,i,s,o,a){if(!o)return a();var c=n.slice(1),h=t?[t]:[],l=h.concat(c);this._process(l,i,!1,a);var u=this.symlinks[r],f=o.length;if(u&&s)return a();for(var d=0;d<f;d++)if("."!==o[d].charAt(0)||this.dot){var p=h.concat(o[d],c);this._process(p,i,!0,a);var m=h.concat(o[d],n);this._process(m,i,!0,a)}a()},_.prototype._processSimple=function(t,e,r){var n=this;this._stat(t,(function(i,s){n._processSimple2(t,e,i,s,r)}))},_.prototype._processSimple2=function(t,e,r,n,i){if(this.matches[e]||(this.matches[e]=Object.create(null)),!n)return i();if(t&&h(t)&&!this.nomount){var s=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=a.join(this.root,t):(t=a.resolve(this.root,t),s&&(t+="/"))}"win32"===process.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),i()},_.prototype._stat=function(t,e){var r=this._makeAbs(t),n="/"===t.slice(-1);if(t.length>this.maxLength)return e();if(!this.stat&&d(this.cache,r)){var i=this.cache[r];if(Array.isArray(i)&&(i="DIR"),!n||"DIR"===i)return e(null,i);if(n&&"FILE"===i)return e()}var s=this.statCache[r];if(void 0!==s){if(!1===s)return e(null,s);var o=s.isDirectory()?"DIR":"FILE";return n&&"FILE"===o?e():e(null,o,s)}var a=this,c=p("stat\0"+r,(function(n,i){if(i&&i.isSymbolicLink())return a.fs.stat(r,(function(n,s){n?a._stat2(t,r,null,i,e):a._stat2(t,r,n,s,e)}));a._stat2(t,r,n,i,e)}));c&&a.fs.lstat(r,c)},_.prototype._stat2=function(t,e,r,n,i){if(r&&("ENOENT"===r.code||"ENOTDIR"===r.code))return this.statCache[e]=!1,i();var s="/"===t.slice(-1);if(this.statCache[e]=n,"/"===e.slice(-1)&&n&&!n.isDirectory())return i(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&"FILE"===o?i():i(null,o,n)}},function(t,e,r){function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.setopts=function(t,e,r){if(r||(r={}),r.matchBase&&-1===e.indexOf("/")){if(r.noglobstar)throw new Error("base matching requires globstar");e="**/"+e}t.silent=!!r.silent,t.pattern=e,t.strict=!1!==r.strict,t.realpath=!!r.realpath,t.realpathCache=r.realpathCache||Object.create(null),t.follow=!!r.follow,t.dot=!!r.dot,t.mark=!!r.mark,t.nodir=!!r.nodir,t.nodir&&(t.mark=!0),t.sync=!!r.sync,t.nounique=!!r.nounique,t.nonull=!!r.nonull,t.nosort=!!r.nosort,t.nocase=!!r.nocase,t.stat=!!r.stat,t.noprocess=!!r.noprocess,t.absolute=!!r.absolute,t.fs=r.fs||i,t.maxLength=r.maxLength||1/0,t.cache=r.cache||Object.create(null),t.statCache=r.statCache||Object.create(null),t.symlinks=r.symlinks||Object.create(null),function(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]),t.ignore.length&&(t.ignore=t.ignore.map(l))}(t,r),t.changedCwd=!1;var o=process.cwd();n(r,"cwd")?(t.cwd=s.resolve(r.cwd),t.changedCwd=t.cwd!==o):t.cwd=o,t.root=r.root||s.resolve(t.cwd,"/"),t.root=s.resolve(t.root),"win32"===process.platform&&(t.root=t.root.replace(/\\/g,"/")),t.cwdAbs=a(t.cwd)?t.cwd:u(t,t.cwd),"win32"===process.platform&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/")),t.nomount=!!r.nomount,r.nonegate=!0,r.nocomment=!0,r.allowWindowsEscape=!1,t.minimatch=new c(e,r),t.options=t.minimatch.options},e.ownProp=n,e.makeAbs=u,e.finish=function(t){for(var e=t.nounique,r=e?[]:Object.create(null),n=0,i=t.matches.length;n<i;n++){var s=t.matches[n];if(s&&0!==Object.keys(s).length){var o=Object.keys(s);e?r.push.apply(r,o):o.forEach((function(t){r[t]=!0}))}else if(t.nonull){var a=t.minimatch.globSet[n];e?r.push(a):r[a]=!0}}if(e||(r=Object.keys(r)),t.nosort||(r=r.sort(h)),t.mark){for(n=0;n<r.length;n++)r[n]=t._mark(r[n]);t.nodir&&(r=r.filter((function(e){var r=!/\/$/.test(e),n=t.cache[e]||t.cache[u(t,e)];return r&&n&&(r="DIR"!==n&&!Array.isArray(n)),r})))}t.ignore.length&&(r=r.filter((function(e){return!f(t,e)}))),t.found=r},e.mark=function(t,e){var r=u(t,e),n=t.cache[r],i=e;if(n){var s="DIR"===n||Array.isArray(n),o="/"===e.slice(-1);if(s&&!o?i+="/":!s&&o&&(i=i.slice(0,-1)),i!==e){var a=u(t,i);t.statCache[a]=t.statCache[r],t.cache[a]=t.cache[r]}}return i},e.isIgnored=f,e.childrenIgnored=function(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return!(!t.gmatcher||!t.gmatcher.match(e))}))};var i=r(2),s=r(1),o=r(41),a=r(13),c=o.Minimatch;function h(t,e){return t.localeCompare(e,"en")}function l(t){var e=null;if("/**"===t.slice(-3)){var r=t.replace(/(\/\*\*)+$/,"");e=new c(r,{dot:!0})}return{matcher:new c(t,{dot:!0}),gmatcher:e}}function u(t,e){var r=e;return r="/"===e.charAt(0)?s.join(t.root,e):a(e)||""===e?e:t.changedCwd?s.resolve(t.cwd,e):s.resolve(e),"win32"===process.platform&&(r=r.replace(/\\/g,"/")),r}function f(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return t.matcher.match(e)||!(!t.gmatcher||!t.gmatcher.match(e))}))}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.changePermissions=e.downloadFile=e.getPath=void 0;const n=r(0),i=r(2),s=r(1),o=r(42);e.getPath=()=>{const t=n.app.getPath("userData");return s.resolve(t+"/extensions")};const a=n.net?n.net.request:o.get;e.downloadFile=(t,r)=>new Promise((n,s)=>{const o=a(t);o.on("response",t=>{if(t.statusCode&&t.statusCode>=300&&t.statusCode<400&&t.headers.location)return e.downloadFile(t.headers.location,r).then(n).catch(s);t.pipe(i.createWriteStream(r)).on("close",n),t.on("error",s)}),o.on("error",s),o.end()}),e.changePermissions=(t,r)=>{i.readdirSync(t).forEach(n=>{const o=s.join(t,n);i.chmodSync(o,parseInt(""+r,8)),i.statSync(o).isDirectory()&&e.changePermissions(o,r)})}},function(t,e,r){t.exports=f,f.sync=v;var n=r(12),i=r(1),s=r(2),o=void 0;try{o=r(44)}catch(t){}var a=parseInt("666",8),c={nosort:!0,silent:!0},h=0,l="win32"===process.platform;function u(t){if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach((function(e){t[e]=t[e]||s[e],t[e+="Sync"]=t[e]||s[e]})),t.maxBusyTries=t.maxBusyTries||3,t.emfileWait=t.emfileWait||1e3,!1===t.glob&&(t.disableGlob=!0),!0!==t.disableGlob&&void 0===o)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");t.disableGlob=t.disableGlob||!1,t.glob=t.glob||c}function f(t,e,r){"function"==typeof e&&(r=e,e={}),n(t,"rimraf: missing path"),n.equal(typeof t,"string","rimraf: path should be a string"),n.equal(typeof r,"function","rimraf: callback function required"),n(e,"rimraf: invalid options argument provided"),n.equal(typeof e,"object","rimraf: options should be object"),u(e);var i=0,s=null,a=0;if(e.disableGlob||!o.hasMagic(t))return c(null,[t]);function c(t,n){return t?r(t):0===(a=n.length)?r():void n.forEach((function(t){d(t,e,(function n(o){if(o){if(("EBUSY"===o.code||"ENOTEMPTY"===o.code||"EPERM"===o.code)&&i<e.maxBusyTries)return i++,setTimeout((function(){d(t,e,n)}),100*i);if("EMFILE"===o.code&&h<e.emfileWait)return setTimeout((function(){d(t,e,n)}),h++);"ENOENT"===o.code&&(o=null)}h=0,function(t){s=s||t,0==--a&&r(s)}(o)}))}))}e.lstat(t,(function(r,n){if(!r)return c(null,[t]);o(t,e.glob,c)}))}function d(t,e,r){n(t),n(e),n("function"==typeof r),e.lstat(t,(function(n,i){return n&&"ENOENT"===n.code?r(null):(n&&"EPERM"===n.code&&l&&p(t,e,n,r),i&&i.isDirectory()?g(t,e,n,r):void e.unlink(t,(function(n){if(n){if("ENOENT"===n.code)return r(null);if("EPERM"===n.code)return l?p(t,e,n,r):g(t,e,n,r);if("EISDIR"===n.code)return g(t,e,n,r)}return r(n)})))}))}function p(t,e,r,i){n(t),n(e),n("function"==typeof i),r&&n(r instanceof Error),e.chmod(t,a,(function(n){n?i("ENOENT"===n.code?null:r):e.stat(t,(function(n,s){n?i("ENOENT"===n.code?null:r):s.isDirectory()?g(t,e,r,i):e.unlink(t,i)}))}))}function m(t,e,r){n(t),n(e),r&&n(r instanceof Error);try{e.chmodSync(t,a)}catch(t){if("ENOENT"===t.code)return;throw r}try{var i=e.statSync(t)}catch(t){if("ENOENT"===t.code)return;throw r}i.isDirectory()?b(t,e,r):e.unlinkSync(t)}function g(t,e,r,s){n(t),n(e),r&&n(r instanceof Error),n("function"==typeof s),e.rmdir(t,(function(o){!o||"ENOTEMPTY"!==o.code&&"EEXIST"!==o.code&&"EPERM"!==o.code?o&&"ENOTDIR"===o.code?s(r):s(o):function(t,e,r){n(t),n(e),n("function"==typeof r),e.readdir(t,(function(n,s){if(n)return r(n);var o,a=s.length;if(0===a)return e.rmdir(t,r);s.forEach((function(n){f(i.join(t,n),e,(function(n){if(!o)return n?r(o=n):void(0==--a&&e.rmdir(t,r))}))}))}))}(t,e,s)}))}function v(t,e){var r;if(u(e=e||{}),n(t,"rimraf: missing path"),n.equal(typeof t,"string","rimraf: path should be a string"),n(e,"rimraf: missing options"),n.equal(typeof e,"object","rimraf: options should be object"),e.disableGlob||!o.hasMagic(t))r=[t];else try{e.lstatSync(t),r=[t]}catch(n){r=o.sync(t,e.glob)}if(r.length)for(var i=0;i<r.length;i++){t=r[i];try{var s=e.lstatSync(t)}catch(r){if("ENOENT"===r.code)return;"EPERM"===r.code&&l&&m(t,e,r)}try{s&&s.isDirectory()?b(t,e,null):e.unlinkSync(t)}catch(r){if("ENOENT"===r.code)return;if("EPERM"===r.code)return l?m(t,e,r):b(t,e,r);if("EISDIR"!==r.code)throw r;b(t,e,r)}}}function b(t,e,r){n(t),n(e),r&&n(r instanceof Error);try{e.rmdirSync(t)}catch(s){if("ENOENT"===s.code)return;if("ENOTDIR"===s.code)throw r;"ENOTEMPTY"!==s.code&&"EEXIST"!==s.code&&"EPERM"!==s.code||function(t,e){n(t),n(e),e.readdirSync(t).forEach((function(r){v(i.join(t,r),e)}));for(var r=l?100:1,s=0;;){var o=!0;try{var a=e.rmdirSync(t,e);return o=!1,a}finally{if(++s<r&&o)continue}}}(t,e)}}},function(t,e,r){"use strict";var n=r(2),i=r(1),s=r(50),o=r(76),a=r(77),c=a(n.writeFile),h=a(n.readFile),l=a(o);t.exports=function(t,e){var r=i.resolve(t),n=i.extname(t),o=i.basename(t,n),a=i.dirname(t);return e=e||i.resolve(a,o),h(r).then((function(t){return s.loadAsync(function(t){function e(t,e,r,n){var i=0;return i+=t,i+=e<<8,(i+=r<<16)+(n<<24)}if(80===t[0]&&75===t[1]&&3===t[2]&&4===t[3])return t;if(67!==t[0]||114!==t[1]||50!==t[2]||52!==t[3])throw new Error("Invalid header: Does not start with Cr24");if(2!==t[4]||t[5]||t[6]||t[7])throw new Error("Unexpected crx format version number.");var r=16+e(t[8],t[9],t[10],t[11])+e(t[12],t[13],t[14],t[15]);return t.slice(r,t.length)}(t))})).then((function(t){var r=Object.keys(t.files);return Promise.all(r.map((function(r){var n=!t.files[r].dir,s=i.join(e,r),o=n&&i.dirname(s)||s,a=t.files[r].async("nodebuffer");return l(o).then((function(){return!!n&&a})).then((function(t){return!t||c(s,t)}))})))}))}},function(t,e){t.exports=require("url")},function(t,e,r){t.exports=r(155)},function(t,e,r){var n=r(1),i="win32"===process.platform,s=r(2),o=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(t){return"function"==typeof t?t:function(){var t;if(o){var e=new Error;t=function(t){t&&(e.message=t.message,r(t=e))}}else t=r;return t;function r(t){if(t){if(process.throwDeprecation)throw t;if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);process.traceDeprecation?console.trace(e):console.error(e)}}}}()}if(n.normalize,i)var c=/(.*?)(?:[\/\\]+|$)/g;else c=/(.*?)(?:[\/]+|$)/g;if(i)var h=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else h=/^[\/]*/;e.realpathSync=function(t,e){if(t=n.resolve(t),e&&Object.prototype.hasOwnProperty.call(e,t))return e[t];var r,o,a,l,u=t,f={},d={};function p(){var e=h.exec(t);r=e[0].length,o=e[0],a=e[0],l="",i&&!d[a]&&(s.lstatSync(a),d[a]=!0)}for(p();r<t.length;){c.lastIndex=r;var m=c.exec(t);if(l=o,o+=m[0],a=l+m[1],r=c.lastIndex,!(d[a]||e&&e[a]===a)){var g;if(e&&Object.prototype.hasOwnProperty.call(e,a))g=e[a];else{var v=s.lstatSync(a);if(!v.isSymbolicLink()){d[a]=!0,e&&(e[a]=a);continue}var b=null;if(!i){var y=v.dev.toString(32)+":"+v.ino.toString(32);f.hasOwnProperty(y)&&(b=f[y])}null===b&&(s.statSync(a),b=s.readlinkSync(a)),g=n.resolve(l,b),e&&(e[a]=g),i||(f[y]=b)}t=n.resolve(g,t.slice(r)),p()}}return e&&(e[u]=t),t},e.realpath=function(t,e,r){if("function"!=typeof r&&(r=a(e),e=null),t=n.resolve(t),e&&Object.prototype.hasOwnProperty.call(e,t))return process.nextTick(r.bind(null,null,e[t]));var o,l,u,f,d=t,p={},m={};function g(){var e=h.exec(t);o=e[0].length,l=e[0],u=e[0],f="",i&&!m[u]?s.lstat(u,(function(t){if(t)return r(t);m[u]=!0,v()})):process.nextTick(v)}function v(){if(o>=t.length)return e&&(e[d]=t),r(null,t);c.lastIndex=o;var n=c.exec(t);return f=l,l+=n[0],u=f+n[1],o=c.lastIndex,m[u]||e&&e[u]===u?process.nextTick(v):e&&Object.prototype.hasOwnProperty.call(e,u)?_(e[u]):s.lstat(u,b)}function b(t,n){if(t)return r(t);if(!n.isSymbolicLink())return m[u]=!0,e&&(e[u]=u),process.nextTick(v);if(!i){var o=n.dev.toString(32)+":"+n.ino.toString(32);if(p.hasOwnProperty(o))return y(null,p[o],u)}s.stat(u,(function(t){if(t)return r(t);s.readlink(u,(function(t,e){i||(p[o]=e),y(t,e)}))}))}function y(t,i,s){if(t)return r(t);var o=n.resolve(f,i);e&&(e[s]=o),_(o)}function _(e){t=n.resolve(e,t.slice(o)),g()}g()}},function(t,e,r){var n=r(45),i=r(46);t.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),function t(e,r){var s=[],o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var c,h=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),g=h||u,v=o.body.indexOf(",")>=0;if(!g&&!v)return o.post.match(/,(?!,).*\}/)?(e=o.pre+"{"+o.body+a+o.post,t(e)):[e];if(g)c=o.body.split(/\.\./);else if(1===(c=function t(e){if(!e)return[""];var r=[],n=i("{","}",e);if(!n)return e.split(",");var s=n.pre,o=n.body,a=n.post,c=s.split(",");c[c.length-1]+="{"+o+"}";var h=t(a);return a.length&&(c[c.length-1]+=h.shift(),c.push.apply(c,h)),r.push.apply(r,c),r}(o.body)).length&&1===(c=t(c[0],!1).map(f)).length)return(_=o.post.length?t(o.post,!1):[""]).map((function(t){return o.pre+c[0]+t}));var b,y=o.pre,_=o.post.length?t(o.post,!1):[""];if(g){var w=l(c[0]),E=l(c[1]),k=Math.max(c[0].length,c[1].length),S=3==c.length?Math.abs(l(c[2])):1,x=p;E<w&&(S*=-1,x=m);var O=c.some(d);b=[];for(var A=w;x(A,E);A+=S){var R;if(u)"\\"===(R=String.fromCharCode(A))&&(R="");else if(R=String(A),O){var I=k-R.length;if(I>0){var T=new Array(I+1).join("0");R=A<0?"-"+T+R.slice(1):T+R}}b.push(R)}}else b=n(c,(function(e){return t(e,!1)}));for(var C=0;C<b.length;C++)for(var N=0;N<_.length;N++){var L=y+b[C]+_[N];(!r||g||L)&&s.push(L)}return s}(function(t){return t.split("\\\\").join(s).split("\\{").join(o).split("\\}").join(a).split("\\,").join(c).split("\\.").join(h)}(t),!0).map(u)):[]};var s="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",h="\0PERIOD"+Math.random()+"\0";function l(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function u(t){return t.split(s).join("\\").split(o).join("{").split(a).join("}").split(c).join(",").split(h).join(".")}function f(t){return"{"+t+"}"}function d(t){return/^-?0\d/.test(t)}function p(t,e){return t<=e}function m(t,e){return t>=e}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){t.exports=d,d.GlobSync=p;var n=r(20),i=r(29),s=(i.Minimatch,r(44).Glob,r(8),r(1)),o=r(12),a=r(13),c=r(47),h=c.setopts,l=c.ownProp,u=c.childrenIgnored,f=c.isIgnored;function d(t,e){if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new p(t,e).found}function p(t,e){if(!t)throw new Error("must provide pattern");if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof p))return new p(t,e);if(h(this,t,e),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++)this._process(this.minimatch.set[n],n,!1);this._finish()}p.prototype._finish=function(){if(o.ok(this instanceof p),this.realpath){var t=this;this.matches.forEach((function(e,r){var i=t.matches[r]=Object.create(null);for(var s in e)try{s=t._makeAbs(s),i[n.realpathSync(s,t.realpathCache)]=!0}catch(e){if("stat"!==e.syscall)throw e;i[t._makeAbs(s)]=!0}}))}c.finish(this)},p.prototype._process=function(t,e,r){o.ok(this instanceof p);for(var n,s=0;"string"==typeof t[s];)s++;switch(s){case t.length:return void this._processSimple(t.join("/"),e);case 0:n=null;break;default:n=t.slice(0,s).join("/")}var c,h=t.slice(s);null===n?c=".":a(n)||a(t.map((function(t){return"string"==typeof t?t:"[*]"})).join("/"))?(n&&a(n)||(n="/"+n),c=n):c=n;var l=this._makeAbs(c);u(this,c)||(h[0]===i.GLOBSTAR?this._processGlobStar(n,c,l,h,e,r):this._processReaddir(n,c,l,h,e,r))},p.prototype._processReaddir=function(t,e,r,n,i,o){var a=this._readdir(r,o);if(a){for(var c=n[0],h=!!this.minimatch.negate,l=c._glob,u=this.dot||"."===l.charAt(0),f=[],d=0;d<a.length;d++)("."!==(g=a[d]).charAt(0)||u)&&(h&&!t?!g.match(c):g.match(c))&&f.push(g);var p=f.length;if(0!==p)if(1!==n.length||this.mark||this.stat)for(n.shift(),d=0;d<p;d++){var m;g=f[d],m=t?[t,g]:[g],this._process(m.concat(n),i,o)}else{this.matches[i]||(this.matches[i]=Object.create(null));for(d=0;d<p;d++){var g=f[d];t&&(g="/"!==t.slice(-1)?t+"/"+g:t+g),"/"!==g.charAt(0)||this.nomount||(g=s.join(this.root,g)),this._emitMatch(i,g)}}}},p.prototype._emitMatch=function(t,e){if(!f(this,e)){var r=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[t][e]=!0,this.stat&&this._stat(e)}}},p.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var e,r;try{r=this.fs.lstatSync(t)}catch(t){if("ENOENT"===t.code)return null}var n=r&&r.isSymbolicLink();return this.symlinks[t]=n,n||!r||r.isDirectory()?e=this._readdir(t,!1):this.cache[t]="FILE",e},p.prototype._readdir=function(t,e){if(e&&!l(this.symlinks,t))return this._readdirInGlobStar(t);if(l(this.cache,t)){var r=this.cache[t];if(!r||"FILE"===r)return null;if(Array.isArray(r))return r}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(e){return this._readdirError(t,e),null}},p.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var n=e[r];n="/"===t?t+n:t+"/"+n,this.cache[n]=!0}return this.cache[t]=e,e},p.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);throw n.path=this.cwd,n.code=e.code,n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw e;this.silent||console.error("glob error",e)}},p.prototype._processGlobStar=function(t,e,r,n,i,s){var o=this._readdir(r,s);if(o){var a=n.slice(1),c=t?[t]:[],h=c.concat(a);this._process(h,i,!1);var l=o.length;if(!this.symlinks[r]||!s)for(var u=0;u<l;u++)if("."!==o[u].charAt(0)||this.dot){var f=c.concat(o[u],a);this._process(f,i,!0);var d=c.concat(o[u],n);this._process(d,i,!0)}}},p.prototype._processSimple=function(t,e){var r=this._stat(t);if(this.matches[e]||(this.matches[e]=Object.create(null)),r){if(t&&a(t)&&!this.nomount){var n=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=s.join(this.root,t):(t=s.resolve(this.root,t),n&&(t+="/"))}"win32"===process.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t)}},p.prototype._stat=function(t){var e=this._makeAbs(t),r="/"===t.slice(-1);if(t.length>this.maxLength)return!1;if(!this.stat&&l(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!r||"DIR"===n)return n;if(r&&"FILE"===n)return!1}var i=this.statCache[e];if(!i){var s;try{s=this.fs.lstatSync(e)}catch(t){if(t&&("ENOENT"===t.code||"ENOTDIR"===t.code))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{i=this.fs.statSync(e)}catch(t){i=s}else i=s}return this.statCache[e]=i,n=!0,i&&(n=i.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||n,(!r||"FILE"!==n)&&n},p.prototype._mark=function(t){return c.mark(this,t)},p.prototype._makeAbs=function(t){return c.makeAbs(this,t)}},function(t,e,r){"use strict";var n=r(16),i=r(3),s=r(5),o=r(61),a=r(62),c=r(32),h=r(104),l=r(105),u=r(23),f=r(117),d=function(t,e,r){var n,o=i.getTypeOf(e),l=i.extend(r||{},a);l.date=l.date||new Date,null!==l.compression&&(l.compression=l.compression.toUpperCase()),"string"==typeof l.unixPermissions&&(l.unixPermissions=parseInt(l.unixPermissions,8)),l.unixPermissions&&16384&l.unixPermissions&&(l.dir=!0),l.dosPermissions&&16&l.dosPermissions&&(l.dir=!0),l.dir&&(t=m(t)),l.createFolders&&(n=p(t))&&g.call(this,n,!0);var d="string"===o&&!1===l.binary&&!1===l.base64;r&&void 0!==r.binary||(l.binary=!d),(e instanceof c&&0===e.uncompressedSize||l.dir||!e||0===e.length)&&(l.base64=!1,l.binary=!0,e="",l.compression="STORE",o="string");var v;v=e instanceof c||e instanceof s?e:u.isNode&&u.isStream(e)?new f(t,e):i.prepareContent(t,e,l.binary,l.optimizedBinaryString,l.base64);var b=new h(t,v,l);this.files[t]=b},p=function(t){"/"===t.slice(-1)&&(t=t.substring(0,t.length-1));var e=t.lastIndexOf("/");return e>0?t.substring(0,e):""},m=function(t){return"/"!==t.slice(-1)&&(t+="/"),t},g=function(t,e){return e=void 0!==e?e:a.createFolders,t=m(t),this.files[t]||d.call(this,t,null,{dir:!0,createFolders:e}),this.files[t]};function v(t){return"[object RegExp]"===Object.prototype.toString.call(t)}var b={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(t){var e,r,n;for(e in this.files)n=this.files[e],(r=e.slice(this.root.length,e.length))&&e.slice(0,this.root.length)===this.root&&t(r,n)},filter:function(t){var e=[];return this.forEach((function(r,n){t(r,n)&&e.push(n)})),e},file:function(t,e,r){if(1===arguments.length){if(v(t)){var n=t;return this.filter((function(t,e){return!e.dir&&n.test(t)}))}var i=this.files[this.root+t];return i&&!i.dir?i:null}return t=this.root+t,d.call(this,t,e,r),this},folder:function(t){if(!t)return this;if(v(t))return this.filter((function(e,r){return r.dir&&t.test(e)}));var e=this.root+t,r=g.call(this,e),n=this.clone();return n.root=r.name,n},remove:function(t){t=this.root+t;var e=this.files[t];if(e||("/"!==t.slice(-1)&&(t+="/"),e=this.files[t]),e&&!e.dir)delete this.files[t];else for(var r=this.filter((function(e,r){return r.name.slice(0,t.length)===t})),n=0;n<r.length;n++)delete this.files[r[n].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(t){var e,r={};try{if((r=i.extend(t||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");i.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var a=r.comment||this.comment||"";e=l.generateWorker(this,r,a)}catch(t){(e=new s("error")).error(t)}return new o(e,r.type||"string",r.mimeType)},generateAsync:function(t,e){return this.generateInternalStream(t).accumulate(e)},generateNodeStream:function(t,e){return(t=t||{}).type||(t.type="nodebuffer"),this.generateInternalStream(t).toNodejsStream(e)}};t.exports=b},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){"use strict";var n=r(22).Buffer,i=r(8);t.exports=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.head=null,this.tail=null,this.length=0}return t.prototype.push=function(t){var e={data:t,next:null};this.length>0?this.tail.next=e:this.head=e,this.tail=e,++this.length},t.prototype.unshift=function(t){var e={data:t,next:this.head};0===this.length&&(this.tail=e),this.head=e,++this.length},t.prototype.shift=function(){if(0!==this.length){var t=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,t}},t.prototype.clear=function(){this.head=this.tail=null,this.length=0},t.prototype.join=function(t){if(0===this.length)return"";for(var e=this.head,r=""+e.data;e=e.next;)r+=t+e.data;return r},t.prototype.concat=function(t){if(0===this.length)return n.alloc(0);for(var e,r,i=n.allocUnsafe(t>>>0),s=this.head,o=0;s;)e=i,r=o,s.data.copy(e,r),o+=s.data.length,s=s.next;return i},t}(),i&&i.inspect&&i.inspect.custom&&(t.exports.prototype[i.inspect.custom]=function(){var t=i.inspect({length:this.length});return this.constructor.name+" "+t})},function(t,e,r){t.exports=r(8).deprecate},function(t,e,r){"use strict";t.exports=s;var n=r(59),i=Object.create(r(17));function s(t){if(!(this instanceof s))return new s(t);n.call(this,t)}i.inherits=r(11),i.inherits(s,n),s.prototype._transform=function(t,e,r){r(null,t)}},function(t,e,r){"use strict";var n=r(99);function i(){}var s={},o=["REJECTED"],a=["FULFILLED"],c=["PENDING"];if(!process.browser)var h=["UNHANDLED"];function l(t){if("function"!=typeof t)throw new TypeError("resolver must be a function");this.state=c,this.queue=[],this.outcome=void 0,process.browser||(this.handled=h),t!==i&&p(this,t)}function u(t,e,r){this.promise=t,"function"==typeof e&&(this.onFulfilled=e,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function f(t,e,r){n((function(){var n;try{n=e(r)}catch(e){return s.reject(t,e)}n===t?s.reject(t,new TypeError("Cannot resolve promise with itself")):s.resolve(t,n)}))}function d(t){var e=t&&t.then;if(t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof e)return function(){e.apply(t,arguments)}}function p(t,e){var r=!1;function n(e){r||(r=!0,s.reject(t,e))}function i(e){r||(r=!0,s.resolve(t,e))}var o=m((function(){e(i,n)}));"error"===o.status&&n(o.value)}function m(t,e){var r={};try{r.value=t(e),r.status="success"}catch(t){r.status="error",r.value=t}return r}t.exports=l,l.prototype.finally=function(t){if("function"!=typeof t)return this;var e=this.constructor;return this.then((function(r){return e.resolve(t()).then((function(){return r}))}),(function(r){return e.resolve(t()).then((function(){throw r}))}))},l.prototype.catch=function(t){return this.then(null,t)},l.prototype.then=function(t,e){if("function"!=typeof t&&this.state===a||"function"!=typeof e&&this.state===o)return this;var r=new this.constructor(i);return process.browser||this.handled===h&&(this.handled=null),this.state!==c?f(r,this.state===a?t:e,this.outcome):this.queue.push(new u(r,t,e)),r},u.prototype.callFulfilled=function(t){s.resolve(this.promise,t)},u.prototype.otherCallFulfilled=function(t){f(this.promise,this.onFulfilled,t)},u.prototype.callRejected=function(t){s.reject(this.promise,t)},u.prototype.otherCallRejected=function(t){f(this.promise,this.onRejected,t)},s.resolve=function(t,e){var r=m(d,e);if("error"===r.status)return s.reject(t,r.value);var n=r.value;if(n)p(t,n);else{t.state=a,t.outcome=e;for(var i=-1,o=t.queue.length;++i<o;)t.queue[i].callFulfilled(e)}return t},s.reject=function(t,e){t.state=o,t.outcome=e,process.browser||t.handled===h&&n((function(){t.handled===h&&process.emit("unhandledRejection",e,t)}));for(var r=-1,i=t.queue.length;++r<i;)t.queue[r].callRejected(e);return t},l.resolve=function(t){return t instanceof this?t:s.resolve(new this(i),t)},l.reject=function(t){var e=new this(i);return s.reject(e,t)},l.all=function(t){var e=this;if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var r=t.length,n=!1;if(!r)return this.resolve([]);for(var o=new Array(r),a=0,c=-1,h=new this(i);++c<r;)l(t[c],c);return h;function l(t,i){e.resolve(t).then((function(t){o[i]=t,++a!==r||n||(n=!0,s.resolve(h,o))}),(function(t){n||(n=!0,s.reject(h,t))}))}},l.race=function(t){if("[object Array]"!==Object.prototype.toString.call(t))return this.reject(new TypeError("must be an array"));var e=t.length,r=!1;if(!e)return this.resolve([]);for(var n,o=-1,a=new this(i);++o<e;)n=t[o],this.resolve(n).then((function(t){r||(r=!0,s.resolve(a,t))}),(function(t){r||(r=!0,s.reject(a,t))}));return a}},function(t,e,r){"use strict";var n,i,s=global.MutationObserver||global.WebKitMutationObserver;if(process.browser)if(s){var o=0,a=new s(u),c=global.document.createTextNode("");a.observe(c,{characterData:!0}),n=function(){c.data=o=++o%2}}else if(global.setImmediate||void 0===global.MessageChannel)n="document"in global&&"onreadystatechange"in global.document.createElement("script")?function(){var t=global.document.createElement("script");t.onreadystatechange=function(){u(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},global.document.documentElement.appendChild(t)}:function(){setTimeout(u,0)};else{var h=new global.MessageChannel;h.port1.onmessage=u,n=function(){h.port2.postMessage(0)}}else n=function(){process.nextTick(u)};var l=[];function u(){var t,e;i=!0;for(var r=l.length;r;){for(e=l,l=[],t=-1;++t<r;)e[t]();r=l.length}i=!1}t.exports=function(t){1!==l.push(t)||i||n()}},function(t,e){!function(t,e){"use strict";if(!t.setImmediate){var r,n,i,s,o,a=1,c={},h=!1,l=t.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(t);u=u&&u.setTimeout?u:t,"[object process]"==={}.toString.call(t.process)?r=function(t){process.nextTick((function(){d(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?(s="setImmediate$"+Math.random()+"$",o=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(s)&&d(+e.data.slice(s.length))},t.addEventListener?t.addEventListener("message",o,!1):t.attachEvent("onmessage",o),r=function(e){t.postMessage(s+e,"*")}):t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){d(t.data)},r=function(t){i.port2.postMessage(t)}):l&&"onreadystatechange"in l.createElement("script")?(n=l.documentElement,r=function(t){var e=l.createElement("script");e.onreadystatechange=function(){d(t),e.onreadystatechange=null,n.removeChild(e),e=null},n.appendChild(e)}):r=function(t){setTimeout(d,0,t)},u.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var i={callback:t,args:e};return c[a]=i,r(a),a++},u.clearImmediate=f}function f(t){delete c[t]}function d(t){if(h)setTimeout(d,0,t);else{var e=c[t];if(e){h=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(void 0,r)}}(e)}finally{f(t),h=!1}}}}}("undefined"==typeof self?"undefined"==typeof global?this:global:self)},function(t,e,r){"use strict";var n=r(5),i=r(3);function s(t){n.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(s,n),s.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},t.exports=s},function(t,e,r){"use strict";var n=r(51).Readable;function i(t,e,r){n.call(this,e),this._helper=t;var i=this;t.on("data",(function(t,e){i.push(t)||i._helper.pause(),r&&r(e)})).on("error",(function(t){i.emit("error",t)})).on("end",(function(){i.push(null)}))}r(3).inherits(i,n),i.prototype._read=function(){this._helper.resume()},t.exports=i},function(t,e,r){"use strict";var n=r(3),i=r(5);function s(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(s,i),s.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}i.prototype.processChunk.call(this,t)},t.exports=s},function(t,e,r){"use strict";var n=r(61),i=r(63),s=r(16),o=r(32),a=r(5),c=function(t,e,r){this.name=t,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=e,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}};c.prototype={internalStream:function(t){var e=null,r="string";try{if(!t)throw new Error("No output type specified.");var i="string"===(r=t.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),e=this._decompressWorker();var o=!this._dataBinary;o&&!i&&(e=e.pipe(new s.Utf8EncodeWorker)),!o&&i&&(e=e.pipe(new s.Utf8DecodeWorker))}catch(t){(e=new a("error")).error(t)}return new n(e,r,"")},async:function(t,e){return this.internalStream(t).accumulate(e)},nodeStream:function(t,e){return this.internalStream(t||"nodebuffer").toNodejsStream(e)},_compressWorker:function(t,e){if(this._data instanceof o&&this._data.compression.magic===t.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new s.Utf8EncodeWorker)),o.createWorkerFrom(r,t,e)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof a?this._data:new i(this._data)}};for(var h=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],l=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},u=0;u<h.length;u++)c.prototype[h[u]]=l;t.exports=c},function(t,e,r){"use strict";var n=r(65),i=r(116);e.generateWorker=function(t,e,r){var s=new i(e.streamFiles,r,e.platform,e.encodeFileName),o=0;try{t.forEach((function(t,r){o++;var i=function(t,e){var r=t||e,i=n[r];if(!i)throw new Error(r+" is not a valid compression method !");return i}(r.options.compression,e.compression),a=r.options.compressionOptions||e.compressionOptions||{},c=r.dir,h=r.date;r._compressWorker(i,a).withStreamInfo("file",{name:t,dir:c,date:h,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(s)})),s.entriesCount=o}catch(t){s.error(t)}return s}},function(t,e,r){"use strict";var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=r(107),s=r(3),o=r(5),a=n?"uint8array":"array";function c(t,e){o.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}e.magic="\b\0",s.inherits(c,o),c.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(a,t.data),!1)},c.prototype.flush=function(){o.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},c.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this._pako=null},c.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},e.compressWorker=function(t){return new c("Deflate",t)},e.uncompressWorker=function(){return new c("Inflate",{})}},function(t,e,r){"use strict";var n={};(0,r(10).assign)(n,r(108),r(111),r(70)),t.exports=n},function(t,e,r){"use strict";var n=r(109),i=r(10),s=r(68),o=r(34),a=r(69),c=Object.prototype.toString;function h(t){if(!(this instanceof h))return new h(t);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new a,this.strm.avail_out=0;var r=n.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==r)throw new Error(o[r]);if(e.header&&n.deflateSetHeader(this.strm,e.header),e.dictionary){var l;if(l="string"==typeof e.dictionary?s.string2buf(e.dictionary):"[object ArrayBuffer]"===c.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(r=n.deflateSetDictionary(this.strm,l)))throw new Error(o[r]);this._dict_set=!0}}function l(t,e){var r=new h(e);if(r.push(t,!0),r.err)throw r.msg||o[r.err];return r.result}h.prototype.push=function(t,e){var r,o,a=this.strm,h=this.options.chunkSize;if(this.ended)return!1;o=e===~~e?e:!0===e?4:0,"string"==typeof t?a.input=s.string2buf(t):"[object ArrayBuffer]"===c.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;do{if(0===a.avail_out&&(a.output=new i.Buf8(h),a.next_out=0,a.avail_out=h),1!==(r=n.deflate(a,o))&&0!==r)return this.onEnd(r),this.ended=!0,!1;0!==a.avail_out&&(0!==a.avail_in||4!==o&&2!==o)||("string"===this.options.to?this.onData(s.buf2binstring(i.shrinkBuf(a.output,a.next_out))):this.onData(i.shrinkBuf(a.output,a.next_out)))}while((a.avail_in>0||0===a.avail_out)&&1!==r);return 4===o?(r=n.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,0===r):2!==o||(this.onEnd(0),a.avail_out=0,!0)},h.prototype.onData=function(t){this.chunks.push(t)},h.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=h,e.deflate=l,e.deflateRaw=function(t,e){return(e=e||{}).raw=!0,l(t,e)},e.gzip=function(t,e){return(e=e||{}).gzip=!0,l(t,e)}},function(t,e,r){"use strict";var n,i=r(10),s=r(110),o=r(66),a=r(67),c=r(34);function h(t,e){return t.msg=c[e],e}function l(t){return(t<<1)-(t>4?9:0)}function u(t){for(var e=t.length;--e>=0;)t[e]=0}function f(t){var e=t.state,r=e.pending;r>t.avail_out&&(r=t.avail_out),0!==r&&(i.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function d(t,e){s._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,f(t.strm)}function p(t,e){t.pending_buf[t.pending++]=e}function m(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function g(t,e){var r,n,i=t.max_chain_length,s=t.strstart,o=t.prev_length,a=t.nice_match,c=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,h=t.window,l=t.w_mask,u=t.prev,f=t.strstart+258,d=h[s+o-1],p=h[s+o];t.prev_length>=t.good_match&&(i>>=2),a>t.lookahead&&(a=t.lookahead);do{if(h[(r=e)+o]===p&&h[r+o-1]===d&&h[r]===h[s]&&h[++r]===h[s+1]){s+=2,r++;do{}while(h[++s]===h[++r]&&h[++s]===h[++r]&&h[++s]===h[++r]&&h[++s]===h[++r]&&h[++s]===h[++r]&&h[++s]===h[++r]&&h[++s]===h[++r]&&h[++s]===h[++r]&&s<f);if(n=258-(f-s),s=f-258,n>o){if(t.match_start=e,o=n,n>=a)break;d=h[s+o-1],p=h[s+o]}}}while((e=u[e&l])>c&&0!=--i);return o<=t.lookahead?o:t.lookahead}function v(t){var e,r,n,s,c,h,l,u,f,d,p=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-262)){i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;do{n=t.head[--e],t.head[e]=n>=p?n-p:0}while(--r);e=r=p;do{n=t.prev[--e],t.prev[e]=n>=p?n-p:0}while(--r);s+=p}if(0===t.strm.avail_in)break;if(h=t.strm,l=t.window,u=t.strstart+t.lookahead,f=s,d=void 0,(d=h.avail_in)>f&&(d=f),r=0===d?0:(h.avail_in-=d,i.arraySet(l,h.input,h.next_in,d,u),1===h.state.wrap?h.adler=o(h.adler,l,d,u):2===h.state.wrap&&(h.adler=a(h.adler,l,d,u)),h.next_in+=d,h.total_in+=d,d),t.lookahead+=r,t.lookahead+t.insert>=3)for(c=t.strstart-t.insert,t.ins_h=t.window[c],t.ins_h=(t.ins_h<<t.hash_shift^t.window[c+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[c+3-1])&t.hash_mask,t.prev[c&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=c,c++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function b(t,e){for(var r,n;;){if(t.lookahead<262){if(v(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==r&&t.strstart-r<=t.w_size-262&&(t.match_length=g(t,r)),t.match_length>=3)if(n=s._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else n=s._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function y(t,e){for(var r,n,i;;){if(t.lookahead<262){if(v(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(r=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==r&&t.prev_length<t.max_lazy_match&&t.strstart-r<=t.w_size-262&&(t.match_length=g(t,r),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,n=s._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,r=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(d(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=s._tr_tally(t,0,t.window[t.strstart-1]))&&d(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=s._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}function _(t,e,r,n,i){this.good_length=t,this.max_lazy=e,this.nice_length=r,this.max_chain=n,this.func=i}function w(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),u(this.dyn_ltree),u(this.dyn_dtree),u(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),u(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),u(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function E(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=0,s._tr_init(e),0):h(t,-2)}function k(t){var e,r=E(t);return 0===r&&((e=t.state).window_size=2*e.w_size,u(e.head),e.max_lazy_match=n[e.level].max_lazy,e.good_match=n[e.level].good_length,e.nice_match=n[e.level].nice_length,e.max_chain_length=n[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),r}function S(t,e,r,n,s,o){if(!t)return-2;var a=1;if(-1===e&&(e=6),n<0?(a=0,n=-n):n>15&&(a=2,n-=16),s<1||s>9||8!==r||n<8||n>15||e<0||e>9||o<0||o>4)return h(t,-2);8===n&&(n=9);var c=new w;return t.state=c,c.strm=t,c.wrap=a,c.gzhead=null,c.w_bits=n,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=s+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+3-1)/3),c.window=new i.Buf8(2*c.w_size),c.head=new i.Buf16(c.hash_size),c.prev=new i.Buf16(c.w_size),c.lit_bufsize=1<<s+6,c.pending_buf_size=4*c.lit_bufsize,c.pending_buf=new i.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=e,c.strategy=o,c.method=r,k(t)}n=[new _(0,0,0,0,(function(t,e){var r=65535;for(r>t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(v(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,d(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-262&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(d(t,!1),t.strm.avail_out),1)})),new _(4,4,8,4,b),new _(4,5,16,8,b),new _(4,6,32,32,b),new _(4,4,16,16,y),new _(8,16,32,32,y),new _(8,16,128,128,y),new _(8,32,128,256,y),new _(32,128,258,1024,y),new _(32,258,258,4096,y)],e.deflateInit=function(t,e){return S(t,e,8,15,8,0)},e.deflateInit2=S,e.deflateReset=k,e.deflateResetKeep=E,e.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?-2:(t.state.gzhead=e,0):-2},e.deflate=function(t,e){var r,i,o,c;if(!t||!t.state||e>5||e<0)return t?h(t,-2):-2;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||666===i.status&&4!==e)return h(t,0===t.avail_out?-5:-2);if(i.strm=t,r=i.last_flush,i.last_flush=e,42===i.status)if(2===i.wrap)t.adler=0,p(i,31),p(i,139),p(i,8),i.gzhead?(p(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=a(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,3),i.status=113);else{var g=8+(i.w_bits-8<<4)<<8;g|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(g|=32),g+=31-g%31,i.status=113,m(i,g),0!==i.strstart&&(m(i,t.adler>>>16),m(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(o=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>o&&(t.adler=a(t.adler,i.pending_buf,i.pending-o,o)),f(t),o=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>o&&(t.adler=a(t.adler,i.pending_buf,i.pending-o,o)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(t.adler=a(t.adler,i.pending_buf,i.pending-o,o)),f(t),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(t.adler=a(t.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){o=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>o&&(t.adler=a(t.adler,i.pending_buf,i.pending-o,o)),f(t),o=i.pending,i.pending===i.pending_buf_size)){c=1;break}c=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,p(i,c)}while(0!==c);i.gzhead.hcrc&&i.pending>o&&(t.adler=a(t.adler,i.pending_buf,i.pending-o,o)),0===c&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&f(t),i.pending+2<=i.pending_buf_size&&(p(i,255&t.adler),p(i,t.adler>>8&255),t.adler=0,i.status=113)):i.status=113),0!==i.pending){if(f(t),0===t.avail_out)return i.last_flush=-1,0}else if(0===t.avail_in&&l(e)<=l(r)&&4!==e)return h(t,-5);if(666===i.status&&0!==t.avail_in)return h(t,-5);if(0!==t.avail_in||0!==i.lookahead||0!==e&&666!==i.status){var b=2===i.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(v(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,r=s._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var r,n,i,o,a=t.window;;){if(t.lookahead<=258){if(v(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=a[i=t.strstart-1])===a[++i]&&n===a[++i]&&n===a[++i]){o=t.strstart+258;do{}while(n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&n===a[++i]&&i<o);t.match_length=258-(o-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(r=s._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=s._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(d(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(d(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(d(t,!1),0===t.strm.avail_out)?1:2}(i,e):n[i.level].func(i,e);if(3!==b&&4!==b||(i.status=666),1===b||3===b)return 0===t.avail_out&&(i.last_flush=-1),0;if(2===b&&(1===e?s._tr_align(i):5!==e&&(s._tr_stored_block(i,0,0,!1),3===e&&(u(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),f(t),0===t.avail_out))return i.last_flush=-1,0}return 4!==e?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&t.adler),p(i,t.adler>>8&255),p(i,t.adler>>16&255),p(i,t.adler>>24&255),p(i,255&t.total_in),p(i,t.total_in>>8&255),p(i,t.total_in>>16&255),p(i,t.total_in>>24&255)):(m(i,t.adler>>>16),m(i,65535&t.adler)),f(t),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},e.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?h(t,-2):(t.state=null,113===e?h(t,-3):0):-2},e.deflateSetDictionary=function(t,e){var r,n,s,a,c,h,l,f,d=e.length;if(!t||!t.state)return-2;if(2===(a=(r=t.state).wrap)||1===a&&42!==r.status||r.lookahead)return-2;for(1===a&&(t.adler=o(t.adler,e,d,0)),r.wrap=0,d>=r.w_size&&(0===a&&(u(r.head),r.strstart=0,r.block_start=0,r.insert=0),f=new i.Buf8(r.w_size),i.arraySet(f,e,d-r.w_size,r.w_size,0),e=f,d=r.w_size),c=t.avail_in,h=t.next_in,l=t.input,t.avail_in=d,t.next_in=0,t.input=e,v(r);r.lookahead>=3;){n=r.strstart,s=r.lookahead-2;do{r.ins_h=(r.ins_h<<r.hash_shift^r.window[n+3-1])&r.hash_mask,r.prev[n&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=n,n++}while(--s);r.strstart=n,r.lookahead=2,v(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=h,t.input=l,t.avail_in=c,r.wrap=a,0},e.deflateInfo="pako deflate (from Nodeca project)"},function(t,e,r){"use strict";var n=r(10);function i(t){for(var e=t.length;--e>=0;)t[e]=0}var s=[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],o=[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],a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],c=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],h=new Array(576);i(h);var l=new Array(60);i(l);var u=new Array(512);i(u);var f=new Array(256);i(f);var d=new Array(29);i(d);var p,m,g,v=new Array(30);function b(t,e,r,n,i){this.static_tree=t,this.extra_bits=e,this.extra_base=r,this.elems=n,this.max_length=i,this.has_stree=t&&t.length}function y(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function _(t){return t<256?u[t]:u[256+(t>>>7)]}function w(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function E(t,e,r){t.bi_valid>16-r?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=r-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=r)}function k(t,e,r){E(t,r[2*e],r[2*e+1])}function S(t,e){var r=0;do{r|=1&t,t>>>=1,r<<=1}while(--e>0);return r>>>1}function x(t,e,r){var n,i,s=new Array(16),o=0;for(n=1;n<=15;n++)s[n]=o=o+r[n-1]<<1;for(i=0;i<=e;i++){var a=t[2*i+1];0!==a&&(t[2*i]=S(s[a]++,a))}}function O(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function A(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function R(t,e,r,n){var i=2*e,s=2*r;return t[i]<t[s]||t[i]===t[s]&&n[e]<=n[r]}function I(t,e,r){for(var n=t.heap[r],i=r<<1;i<=t.heap_len&&(i<t.heap_len&&R(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!R(e,n,t.heap[i],t.depth));)t.heap[r]=t.heap[i],r=i,i<<=1;t.heap[r]=n}function T(t,e,r){var n,i,a,c,h=0;if(0!==t.last_lit)do{n=t.pending_buf[t.d_buf+2*h]<<8|t.pending_buf[t.d_buf+2*h+1],i=t.pending_buf[t.l_buf+h],h++,0===n?k(t,i,e):(k(t,(a=f[i])+256+1,e),0!==(c=s[a])&&E(t,i-=d[a],c),k(t,a=_(--n),r),0!==(c=o[a])&&E(t,n-=v[a],c))}while(h<t.last_lit);k(t,256,e)}function C(t,e){var r,n,i,s=e.dyn_tree,o=e.stat_desc.static_tree,a=e.stat_desc.has_stree,c=e.stat_desc.elems,h=-1;for(t.heap_len=0,t.heap_max=573,r=0;r<c;r++)0!==s[2*r]?(t.heap[++t.heap_len]=h=r,t.depth[r]=0):s[2*r+1]=0;for(;t.heap_len<2;)s[2*(i=t.heap[++t.heap_len]=h<2?++h:0)]=1,t.depth[i]=0,t.opt_len--,a&&(t.static_len-=o[2*i+1]);for(e.max_code=h,r=t.heap_len>>1;r>=1;r--)I(t,s,r);i=c;do{r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],I(t,s,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,s[2*i]=s[2*r]+s[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,s[2*r+1]=s[2*n+1]=i,t.heap[1]=i++,I(t,s,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,i,s,o,a,c=e.dyn_tree,h=e.max_code,l=e.stat_desc.static_tree,u=e.stat_desc.has_stree,f=e.stat_desc.extra_bits,d=e.stat_desc.extra_base,p=e.stat_desc.max_length,m=0;for(s=0;s<=15;s++)t.bl_count[s]=0;for(c[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r<573;r++)(s=c[2*c[2*(n=t.heap[r])+1]+1]+1)>p&&(s=p,m++),c[2*n+1]=s,n>h||(t.bl_count[s]++,o=0,n>=d&&(o=f[n-d]),a=c[2*n],t.opt_len+=a*(s+o),u&&(t.static_len+=a*(l[2*n+1]+o)));if(0!==m){do{for(s=p-1;0===t.bl_count[s];)s--;t.bl_count[s]--,t.bl_count[s+1]+=2,t.bl_count[p]--,m-=2}while(m>0);for(s=p;0!==s;s--)for(n=t.bl_count[s];0!==n;)(i=t.heap[--r])>h||(c[2*i+1]!==s&&(t.opt_len+=(s-c[2*i+1])*c[2*i],c[2*i+1]=s),n--)}}(t,e),x(s,h,t.bl_count)}function N(t,e,r){var n,i,s=-1,o=e[1],a=0,c=7,h=4;for(0===o&&(c=138,h=3),e[2*(r+1)+1]=65535,n=0;n<=r;n++)i=o,o=e[2*(n+1)+1],++a<c&&i===o||(a<h?t.bl_tree[2*i]+=a:0!==i?(i!==s&&t.bl_tree[2*i]++,t.bl_tree[32]++):a<=10?t.bl_tree[34]++:t.bl_tree[36]++,a=0,s=i,0===o?(c=138,h=3):i===o?(c=6,h=3):(c=7,h=4))}function L(t,e,r){var n,i,s=-1,o=e[1],a=0,c=7,h=4;for(0===o&&(c=138,h=3),n=0;n<=r;n++)if(i=o,o=e[2*(n+1)+1],!(++a<c&&i===o)){if(a<h)do{k(t,i,t.bl_tree)}while(0!=--a);else 0!==i?(i!==s&&(k(t,i,t.bl_tree),a--),k(t,16,t.bl_tree),E(t,a-3,2)):a<=10?(k(t,17,t.bl_tree),E(t,a-3,3)):(k(t,18,t.bl_tree),E(t,a-11,7));a=0,s=i,0===o?(c=138,h=3):i===o?(c=6,h=3):(c=7,h=4)}}i(v);var j=!1;function D(t,e,r,i){E(t,0+(i?1:0),3),function(t,e,r,i){A(t),w(t,r),w(t,~r),n.arraySet(t.pending_buf,t.window,e,r,t.pending),t.pending+=r}(t,e,r)}e._tr_init=function(t){j||(function(){var t,e,r,n,i,c=new Array(16);for(r=0,n=0;n<28;n++)for(d[n]=r,t=0;t<1<<s[n];t++)f[r++]=n;for(f[r-1]=n,i=0,n=0;n<16;n++)for(v[n]=i,t=0;t<1<<o[n];t++)u[i++]=n;for(i>>=7;n<30;n++)for(v[n]=i<<7,t=0;t<1<<o[n]-7;t++)u[256+i++]=n;for(e=0;e<=15;e++)c[e]=0;for(t=0;t<=143;)h[2*t+1]=8,t++,c[8]++;for(;t<=255;)h[2*t+1]=9,t++,c[9]++;for(;t<=279;)h[2*t+1]=7,t++,c[7]++;for(;t<=287;)h[2*t+1]=8,t++,c[8]++;for(x(h,287,c),t=0;t<30;t++)l[2*t+1]=5,l[2*t]=S(t,5);p=new b(h,s,257,286,15),m=new b(l,o,0,30,15),g=new b(new Array(0),a,0,19,7)}(),j=!0),t.l_desc=new y(t.dyn_ltree,p),t.d_desc=new y(t.dyn_dtree,m),t.bl_desc=new y(t.bl_tree,g),t.bi_buf=0,t.bi_valid=0,O(t)},e._tr_stored_block=D,e._tr_flush_block=function(t,e,r,n){var i,s,o=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,r=4093624447;for(e=0;e<=31;e++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),C(t,t.l_desc),C(t,t.d_desc),o=function(t){var e;for(N(t,t.dyn_ltree,t.l_desc.max_code),N(t,t.dyn_dtree,t.d_desc.max_code),C(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*c[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(s=t.static_len+3+7>>>3)<=i&&(i=s)):i=s=r+5,r+4<=i&&-1!==e?D(t,e,r,n):4===t.strategy||s===i?(E(t,2+(n?1:0),3),T(t,h,l)):(E(t,4+(n?1:0),3),function(t,e,r,n){var i;for(E(t,e-257,5),E(t,r-1,5),E(t,n-4,4),i=0;i<n;i++)E(t,t.bl_tree[2*c[i]+1],3);L(t,t.dyn_ltree,e-1),L(t,t.dyn_dtree,r-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,o+1),T(t,t.dyn_ltree,t.dyn_dtree)),O(t),n&&A(t)},e._tr_tally=function(t,e,r){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(f[r]+256+1)]++,t.dyn_dtree[2*_(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){E(t,2,3),k(t,256,h),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},function(t,e,r){"use strict";var n=r(112),i=r(10),s=r(68),o=r(70),a=r(34),c=r(69),h=r(115),l=Object.prototype.toString;function u(t){if(!(this instanceof u))return new u(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new c,this.strm.avail_out=0;var r=n.inflateInit2(this.strm,e.windowBits);if(r!==o.Z_OK)throw new Error(a[r]);if(this.header=new h,n.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=s.string2buf(e.dictionary):"[object ArrayBuffer]"===l.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=n.inflateSetDictionary(this.strm,e.dictionary))!==o.Z_OK))throw new Error(a[r])}function f(t,e){var r=new u(e);if(r.push(t,!0),r.err)throw r.msg||a[r.err];return r.result}u.prototype.push=function(t,e){var r,a,c,h,u,f=this.strm,d=this.options.chunkSize,p=this.options.dictionary,m=!1;if(this.ended)return!1;a=e===~~e?e:!0===e?o.Z_FINISH:o.Z_NO_FLUSH,"string"==typeof t?f.input=s.binstring2buf(t):"[object ArrayBuffer]"===l.call(t)?f.input=new Uint8Array(t):f.input=t,f.next_in=0,f.avail_in=f.input.length;do{if(0===f.avail_out&&(f.output=new i.Buf8(d),f.next_out=0,f.avail_out=d),(r=n.inflate(f,o.Z_NO_FLUSH))===o.Z_NEED_DICT&&p&&(r=n.inflateSetDictionary(this.strm,p)),r===o.Z_BUF_ERROR&&!0===m&&(r=o.Z_OK,m=!1),r!==o.Z_STREAM_END&&r!==o.Z_OK)return this.onEnd(r),this.ended=!0,!1;f.next_out&&(0!==f.avail_out&&r!==o.Z_STREAM_END&&(0!==f.avail_in||a!==o.Z_FINISH&&a!==o.Z_SYNC_FLUSH)||("string"===this.options.to?(c=s.utf8border(f.output,f.next_out),h=f.next_out-c,u=s.buf2string(f.output,c),f.next_out=h,f.avail_out=d-h,h&&i.arraySet(f.output,f.output,c,h,0),this.onData(u)):this.onData(i.shrinkBuf(f.output,f.next_out)))),0===f.avail_in&&0===f.avail_out&&(m=!0)}while((f.avail_in>0||0===f.avail_out)&&r!==o.Z_STREAM_END);return r===o.Z_STREAM_END&&(a=o.Z_FINISH),a===o.Z_FINISH?(r=n.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===o.Z_OK):a!==o.Z_SYNC_FLUSH||(this.onEnd(o.Z_OK),f.avail_out=0,!0)},u.prototype.onData=function(t){this.chunks.push(t)},u.prototype.onEnd=function(t){t===o.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Inflate=u,e.inflate=f,e.inflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},e.ungzip=f},function(t,e,r){"use strict";var n=r(10),i=r(66),s=r(67),o=r(113),a=r(114);function c(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function h(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function l(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(852),e.distcode=e.distdyn=new n.Buf32(592),e.sane=1,e.back=-1,0):-2}function u(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,l(t)):-2}function f(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?-2:(null!==n.window&&n.wbits!==e&&(n.window=null),n.wrap=r,n.wbits=e,u(t))):-2}function d(t,e){var r,n;return t?(n=new h,t.state=n,n.window=null,0!==(r=f(t,e))&&(t.state=null),r):-2}var p,m,g=!0;function v(t){if(g){var e;for(p=new n.Buf32(512),m=new n.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(a(1,t.lens,0,288,p,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;a(2,t.lens,0,32,m,0,t.work,{bits:5}),g=!1}t.lencode=p,t.lenbits=9,t.distcode=m,t.distbits=5}function b(t,e,r,i){var s,o=t.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new n.Buf8(o.wsize)),i>=o.wsize?(n.arraySet(o.window,e,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):((s=o.wsize-o.wnext)>i&&(s=i),n.arraySet(o.window,e,r-i,s,o.wnext),(i-=s)?(n.arraySet(o.window,e,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=s,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=s))),0}e.inflateReset=u,e.inflateReset2=f,e.inflateResetKeep=l,e.inflateInit=function(t){return d(t,15)},e.inflateInit2=d,e.inflate=function(t,e){var r,h,l,u,f,d,p,m,g,y,_,w,E,k,S,x,O,A,R,I,T,C,N,L,j=0,D=new n.Buf8(4),P=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return-2;12===(r=t.state).mode&&(r.mode=13),f=t.next_out,l=t.output,p=t.avail_out,u=t.next_in,h=t.input,d=t.avail_in,m=r.hold,g=r.bits,y=d,_=p,C=0;t:for(;;)switch(r.mode){case 1:if(0===r.wrap){r.mode=13;break}for(;g<16;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if(2&r.wrap&&35615===m){r.check=0,D[0]=255&m,D[1]=m>>>8&255,r.check=s(r.check,D,2,0),m=0,g=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&m)<<8)+(m>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&m)){t.msg="unknown compression method",r.mode=30;break}if(g-=4,T=8+(15&(m>>>=4)),0===r.wbits)r.wbits=T;else if(T>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<<T,t.adler=r.check=1,r.mode=512&m?10:12,m=0,g=0;break;case 2:for(;g<16;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if(r.flags=m,8!=(255&r.flags)){t.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){t.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=m>>8&1),512&r.flags&&(D[0]=255&m,D[1]=m>>>8&255,r.check=s(r.check,D,2,0)),m=0,g=0,r.mode=3;case 3:for(;g<32;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}r.head&&(r.head.time=m),512&r.flags&&(D[0]=255&m,D[1]=m>>>8&255,D[2]=m>>>16&255,D[3]=m>>>24&255,r.check=s(r.check,D,4,0)),m=0,g=0,r.mode=4;case 4:for(;g<16;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}r.head&&(r.head.xflags=255&m,r.head.os=m>>8),512&r.flags&&(D[0]=255&m,D[1]=m>>>8&255,r.check=s(r.check,D,2,0)),m=0,g=0,r.mode=5;case 5:if(1024&r.flags){for(;g<16;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}r.length=m,r.head&&(r.head.extra_len=m),512&r.flags&&(D[0]=255&m,D[1]=m>>>8&255,r.check=s(r.check,D,2,0)),m=0,g=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&((w=r.length)>d&&(w=d),w&&(r.head&&(T=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,h,u,w,T)),512&r.flags&&(r.check=s(r.check,h,w,u)),d-=w,u+=w,r.length-=w),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===d)break t;w=0;do{T=h[u+w++],r.head&&T&&r.length<65536&&(r.head.name+=String.fromCharCode(T))}while(T&&w<d);if(512&r.flags&&(r.check=s(r.check,h,w,u)),d-=w,u+=w,T)break t}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===d)break t;w=0;do{T=h[u+w++],r.head&&T&&r.length<65536&&(r.head.comment+=String.fromCharCode(T))}while(T&&w<d);if(512&r.flags&&(r.check=s(r.check,h,w,u)),d-=w,u+=w,T)break t}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;g<16;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if(m!==(65535&r.check)){t.msg="header crc mismatch",r.mode=30;break}m=0,g=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;g<32;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}t.adler=r.check=c(m),m=0,g=0,r.mode=11;case 11:if(0===r.havedict)return t.next_out=f,t.avail_out=p,t.next_in=u,t.avail_in=d,r.hold=m,r.bits=g,2;t.adler=r.check=1,r.mode=12;case 12:if(5===e||6===e)break t;case 13:if(r.last){m>>>=7&g,g-=7&g,r.mode=27;break}for(;g<3;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}switch(r.last=1&m,g-=1,3&(m>>>=1)){case 0:r.mode=14;break;case 1:if(v(r),r.mode=20,6===e){m>>>=2,g-=2;break t}break;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}m>>>=2,g-=2;break;case 14:for(m>>>=7&g,g-=7&g;g<32;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if((65535&m)!=(m>>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&m,m=0,g=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(w=r.length){if(w>d&&(w=d),w>p&&(w=p),0===w)break t;n.arraySet(l,h,u,w,f),d-=w,u+=w,p-=w,f+=w,r.length-=w;break}r.mode=12;break;case 17:for(;g<14;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if(r.nlen=257+(31&m),m>>>=5,g-=5,r.ndist=1+(31&m),m>>>=5,g-=5,r.ncode=4+(15&m),m>>>=4,g-=4,r.nlen>286||r.ndist>30){t.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;g<3;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}r.lens[P[r.have++]]=7&m,m>>>=3,g-=3}for(;r.have<19;)r.lens[P[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,N={bits:r.lenbits},C=a(0,r.lens,0,19,r.lencode,0,r.work,N),r.lenbits=N.bits,C){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;x=(j=r.lencode[m&(1<<r.lenbits)-1])>>>16&255,O=65535&j,!((S=j>>>24)<=g);){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if(O<16)m>>>=S,g-=S,r.lens[r.have++]=O;else{if(16===O){for(L=S+2;g<L;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if(m>>>=S,g-=S,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}T=r.lens[r.have-1],w=3+(3&m),m>>>=2,g-=2}else if(17===O){for(L=S+3;g<L;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}g-=S,T=0,w=3+(7&(m>>>=S)),m>>>=3,g-=3}else{for(L=S+7;g<L;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}g-=S,T=0,w=11+(127&(m>>>=S)),m>>>=7,g-=7}if(r.have+w>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;w--;)r.lens[r.have++]=T}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,N={bits:r.lenbits},C=a(1,r.lens,0,r.nlen,r.lencode,0,r.work,N),r.lenbits=N.bits,C){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,N={bits:r.distbits},C=a(2,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,N),r.distbits=N.bits,C){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(d>=6&&p>=258){t.next_out=f,t.avail_out=p,t.next_in=u,t.avail_in=d,r.hold=m,r.bits=g,o(t,_),f=t.next_out,l=t.output,p=t.avail_out,u=t.next_in,h=t.input,d=t.avail_in,m=r.hold,g=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;x=(j=r.lencode[m&(1<<r.lenbits)-1])>>>16&255,O=65535&j,!((S=j>>>24)<=g);){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if(x&&0==(240&x)){for(A=S,R=x,I=O;x=(j=r.lencode[I+((m&(1<<A+R)-1)>>A)])>>>16&255,O=65535&j,!(A+(S=j>>>24)<=g);){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}m>>>=A,g-=A,r.back+=A}if(m>>>=S,g-=S,r.back+=S,r.length=O,0===x){r.mode=26;break}if(32&x){r.back=-1,r.mode=12;break}if(64&x){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&x,r.mode=22;case 22:if(r.extra){for(L=r.extra;g<L;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}r.length+=m&(1<<r.extra)-1,m>>>=r.extra,g-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;x=(j=r.distcode[m&(1<<r.distbits)-1])>>>16&255,O=65535&j,!((S=j>>>24)<=g);){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if(0==(240&x)){for(A=S,R=x,I=O;x=(j=r.distcode[I+((m&(1<<A+R)-1)>>A)])>>>16&255,O=65535&j,!(A+(S=j>>>24)<=g);){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}m>>>=A,g-=A,r.back+=A}if(m>>>=S,g-=S,r.back+=S,64&x){t.msg="invalid distance code",r.mode=30;break}r.offset=O,r.extra=15&x,r.mode=24;case 24:if(r.extra){for(L=r.extra;g<L;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}r.offset+=m&(1<<r.extra)-1,m>>>=r.extra,g-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===p)break t;if(w=_-p,r.offset>w){if((w=r.offset-w)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}w>r.wnext?(w-=r.wnext,E=r.wsize-w):E=r.wnext-w,w>r.length&&(w=r.length),k=r.window}else k=l,E=f-r.offset,w=r.length;w>p&&(w=p),p-=w,r.length-=w;do{l[f++]=k[E++]}while(--w);0===r.length&&(r.mode=21);break;case 26:if(0===p)break t;l[f++]=r.length,p--,r.mode=21;break;case 27:if(r.wrap){for(;g<32;){if(0===d)break t;d--,m|=h[u++]<<g,g+=8}if(_-=p,t.total_out+=_,r.total+=_,_&&(t.adler=r.check=r.flags?s(r.check,l,_,f-_):i(r.check,l,_,f-_)),_=p,(r.flags?m:c(m))!==r.check){t.msg="incorrect data check",r.mode=30;break}m=0,g=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;g<32;){if(0===d)break t;d--,m+=h[u++]<<g,g+=8}if(m!==(4294967295&r.total)){t.msg="incorrect length check",r.mode=30;break}m=0,g=0}r.mode=29;case 29:C=1;break t;case 30:C=-3;break t;case 31:return-4;case 32:default:return-2}return t.next_out=f,t.avail_out=p,t.next_in=u,t.avail_in=d,r.hold=m,r.bits=g,(r.wsize||_!==t.avail_out&&r.mode<30&&(r.mode<27||4!==e))&&b(t,t.output,t.next_out,_-t.avail_out)?(r.mode=31,-4):(y-=t.avail_in,_-=t.avail_out,t.total_in+=y,t.total_out+=_,r.total+=_,r.wrap&&_&&(t.adler=r.check=r.flags?s(r.check,l,_,t.next_out-_):i(r.check,l,_,t.next_out-_)),t.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0===y&&0===_||4===e)&&0===C&&(C=-5),C)},e.inflateEnd=function(t){if(!t||!t.state)return-2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},e.inflateGetHeader=function(t,e){var r;return t&&t.state?0==(2&(r=t.state).wrap)?-2:(r.head=e,e.done=!1,0):-2},e.inflateSetDictionary=function(t,e){var r,n=e.length;return t&&t.state?0!==(r=t.state).wrap&&11!==r.mode?-2:11===r.mode&&i(1,e,n,0)!==r.check?-3:b(t,e,n,n)?(r.mode=31,-4):(r.havedict=1,0):-2},e.inflateInfo="pako inflate (from Nodeca project)"},function(t,e,r){"use strict";t.exports=function(t,e){var r,n,i,s,o,a,c,h,l,u,f,d,p,m,g,v,b,y,_,w,E,k,S,x,O;r=t.state,n=t.next_in,x=t.input,i=n+(t.avail_in-5),s=t.next_out,O=t.output,o=s-(e-t.avail_out),a=s+(t.avail_out-257),c=r.dmax,h=r.wsize,l=r.whave,u=r.wnext,f=r.window,d=r.hold,p=r.bits,m=r.lencode,g=r.distcode,v=(1<<r.lenbits)-1,b=(1<<r.distbits)-1;t:do{p<15&&(d+=x[n++]<<p,p+=8,d+=x[n++]<<p,p+=8),y=m[d&v];e:for(;;){if(d>>>=_=y>>>24,p-=_,0==(_=y>>>16&255))O[s++]=65535&y;else{if(!(16&_)){if(0==(64&_)){y=m[(65535&y)+(d&(1<<_)-1)];continue e}if(32&_){r.mode=12;break t}t.msg="invalid literal/length code",r.mode=30;break t}w=65535&y,(_&=15)&&(p<_&&(d+=x[n++]<<p,p+=8),w+=d&(1<<_)-1,d>>>=_,p-=_),p<15&&(d+=x[n++]<<p,p+=8,d+=x[n++]<<p,p+=8),y=g[d&b];r:for(;;){if(d>>>=_=y>>>24,p-=_,!(16&(_=y>>>16&255))){if(0==(64&_)){y=g[(65535&y)+(d&(1<<_)-1)];continue r}t.msg="invalid distance code",r.mode=30;break t}if(E=65535&y,p<(_&=15)&&(d+=x[n++]<<p,(p+=8)<_&&(d+=x[n++]<<p,p+=8)),(E+=d&(1<<_)-1)>c){t.msg="invalid distance too far back",r.mode=30;break t}if(d>>>=_,p-=_,E>(_=s-o)){if((_=E-_)>l&&r.sane){t.msg="invalid distance too far back",r.mode=30;break t}if(k=0,S=f,0===u){if(k+=h-_,_<w){w-=_;do{O[s++]=f[k++]}while(--_);k=s-E,S=O}}else if(u<_){if(k+=h+u-_,(_-=u)<w){w-=_;do{O[s++]=f[k++]}while(--_);if(k=0,u<w){w-=_=u;do{O[s++]=f[k++]}while(--_);k=s-E,S=O}}}else if(k+=u-_,_<w){w-=_;do{O[s++]=f[k++]}while(--_);k=s-E,S=O}for(;w>2;)O[s++]=S[k++],O[s++]=S[k++],O[s++]=S[k++],w-=3;w&&(O[s++]=S[k++],w>1&&(O[s++]=S[k++]))}else{k=s-E;do{O[s++]=O[k++],O[s++]=O[k++],O[s++]=O[k++],w-=3}while(w>2);w&&(O[s++]=O[k++],w>1&&(O[s++]=O[k++]))}break}}break}}while(n<i&&s<a);n-=w=p>>3,d&=(1<<(p-=w<<3))-1,t.next_in=n,t.next_out=s,t.avail_in=n<i?i-n+5:5-(n-i),t.avail_out=s<a?a-s+257:257-(s-a),r.hold=d,r.bits=p}},function(t,e,r){"use strict";var n=r(10),i=[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],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],o=[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,0,0],a=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,r,c,h,l,u,f){var d,p,m,g,v,b,y,_,w,E=f.bits,k=0,S=0,x=0,O=0,A=0,R=0,I=0,T=0,C=0,N=0,L=null,j=0,D=new n.Buf16(16),P=new n.Buf16(16),M=null,B=0;for(k=0;k<=15;k++)D[k]=0;for(S=0;S<c;S++)D[e[r+S]]++;for(A=E,O=15;O>=1&&0===D[O];O--);if(A>O&&(A=O),0===O)return h[l++]=20971520,h[l++]=20971520,f.bits=1,0;for(x=1;x<O&&0===D[x];x++);for(A<x&&(A=x),T=1,k=1;k<=15;k++)if(T<<=1,(T-=D[k])<0)return-1;if(T>0&&(0===t||1!==O))return-1;for(P[1]=0,k=1;k<15;k++)P[k+1]=P[k]+D[k];for(S=0;S<c;S++)0!==e[r+S]&&(u[P[e[r+S]]++]=S);if(0===t?(L=M=u,b=19):1===t?(L=i,j-=257,M=s,B-=257,b=256):(L=o,M=a,b=-1),N=0,S=0,k=x,v=l,R=A,I=0,m=-1,g=(C=1<<A)-1,1===t&&C>852||2===t&&C>592)return 1;for(;;){y=k-I,u[S]<b?(_=0,w=u[S]):u[S]>b?(_=M[B+u[S]],w=L[j+u[S]]):(_=96,w=0),d=1<<k-I,x=p=1<<R;do{h[v+(N>>I)+(p-=d)]=y<<24|_<<16|w|0}while(0!==p);for(d=1<<k-1;N&d;)d>>=1;if(0!==d?(N&=d-1,N+=d):N=0,S++,0==--D[k]){if(k===O)break;k=e[r+u[S]]}if(k>A&&(N&g)!==m){for(0===I&&(I=A),v+=x,T=1<<(R=k-I);R+I<O&&!((T-=D[R+I])<=0);)R++,T<<=1;if(C+=1<<R,1===t&&C>852||2===t&&C>592)return 1;h[m=N&g]=A<<24|R<<16|v-l|0}}return 0!==N&&(h[v+N]=k-I<<24|64<<16|0),f.bits=A,0}},function(t,e,r){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(t,e,r){"use strict";var n=r(3),i=r(5),s=r(16),o=r(33),a=r(71),c=function(t,e){var r,n="";for(r=0;r<e;r++)n+=String.fromCharCode(255&t),t>>>=8;return n},h=function(t,e,r,i,h,l){var u,f,d=t.file,p=t.compression,m=l!==s.utf8encode,g=n.transformTo("string",l(d.name)),v=n.transformTo("string",s.utf8encode(d.name)),b=d.comment,y=n.transformTo("string",l(b)),_=n.transformTo("string",s.utf8encode(b)),w=v.length!==d.name.length,E=_.length!==b.length,k="",S="",x="",O=d.dir,A=d.date,R={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(R.crc32=t.crc32,R.compressedSize=t.compressedSize,R.uncompressedSize=t.uncompressedSize);var I=0;e&&(I|=8),m||!w&&!E||(I|=2048);var T,C,N=0,L=0;O&&(N|=16),"UNIX"===h?(L=798,N|=(C=T=d.unixPermissions,T||(C=O?16893:33204),(65535&C)<<16)):(L=20,N|=63&(d.dosPermissions||0)),u=A.getUTCHours(),u<<=6,u|=A.getUTCMinutes(),u<<=5,u|=A.getUTCSeconds()/2,f=A.getUTCFullYear()-1980,f<<=4,f|=A.getUTCMonth()+1,f<<=5,f|=A.getUTCDate(),w&&(S=c(1,1)+c(o(g),4)+v,k+="up"+c(S.length,2)+S),E&&(x=c(1,1)+c(o(y),4)+_,k+="uc"+c(x.length,2)+x);var j="";return j+="\n\0",j+=c(I,2),j+=p.magic,j+=c(u,2),j+=c(f,2),j+=c(R.crc32,4),j+=c(R.compressedSize,4),j+=c(R.uncompressedSize,4),j+=c(g.length,2),j+=c(k.length,2),{fileRecord:a.LOCAL_FILE_HEADER+j+g+k,dirRecord:a.CENTRAL_FILE_HEADER+c(L,2)+j+c(y.length,2)+"\0\0\0\0"+c(N,4)+c(i,4)+g+k+y}},l=function(t){return a.DATA_DESCRIPTOR+c(t.crc32,4)+c(t.compressedSize,4)+c(t.uncompressedSize,4)};function u(t,e,r,n){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(u,i),u.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,i.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},u.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=h(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},u.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=h(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:l(t),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},u.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e<this.dirRecords.length;e++)this.push({data:this.dirRecords[e],meta:{percent:100}});var r=this.bytesWritten-t,i=function(t,e,r,i,s){var o=n.transformTo("string",s(i));return a.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(t,2)+c(t,2)+c(e,4)+c(r,4)+c(o.length,2)+o}(this.dirRecords.length,r,t,this.zipComment,this.encodeFileName);this.push({data:i,meta:{percent:100}})},u.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},u.prototype.registerPrevious=function(t){this._sources.push(t);var e=this;return t.on("data",(function(t){e.processChunk(t)})),t.on("end",(function(){e.closedSource(e.previous.streamInfo),e._sources.length?e.prepareNextSource():e.end()})),t.on("error",(function(t){e.error(t)})),this},u.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},u.prototype.error=function(t){var e=this._sources;if(!i.prototype.error.call(this,t))return!1;for(var r=0;r<e.length;r++)try{e[r].error(t)}catch(t){}return!0},u.prototype.lock=function(){i.prototype.lock.call(this);for(var t=this._sources,e=0;e<t.length;e++)t[e].lock()},t.exports=u},function(t,e,r){"use strict";var n=r(3),i=r(5);function s(t,e){i.call(this,"Nodejs stream input adapter for "+t),this._upstreamEnded=!1,this._bindStream(e)}n.inherits(s,i),s.prototype._bindStream=function(t){var e=this;this._stream=t,t.pause(),t.on("data",(function(t){e.push({data:t,meta:{percent:0}})})).on("error",(function(t){e.isPaused?this.generatedError=t:e.error(t)})).on("end",(function(){e.isPaused?e._upstreamEnded=!0:e.end()}))},s.prototype.pause=function(){return!!i.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=s},function(t,e,r){"use strict";var n=r(3),i=r(18),s=r(16),o=r(119),a=r(64),c=r(23);function h(t){return new i.Promise((function(e,r){var n=t.decompressed.getContentWorker().pipe(new a);n.on("error",(function(t){r(t)})).on("end",(function(){n.streamInfo.crc32!==t.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):e()})).resume()}))}t.exports=function(t,e){var r=this;return e=n.extend(e||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),c.isNode&&c.isStream(t)?i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):n.prepareContent("the loaded zip file",t,!0,e.optimizedBinaryString,e.base64).then((function(t){var r=new o(e);return r.load(t),r})).then((function(t){var r=[i.Promise.resolve(t)],n=t.files;if(e.checkCRC32)for(var s=0;s<n.length;s++)r.push(h(n[s]));return i.Promise.all(r)})).then((function(t){for(var i=t.shift(),s=i.files,o=0;o<s.length;o++){var a=s[o],c=a.fileNameStr,h=n.resolve(a.fileNameStr);r.file(h,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:e.createFolders}),a.dir||(r.file(h).unsafeOriginalName=c)}return i.zipComment.length&&(r.comment=i.zipComment),r}))}},function(t,e,r){"use strict";var n=r(72),i=r(3),s=r(71),o=r(122),a=r(9);function c(t){this.files=[],this.loadOptions=t}c.prototype={checkSignature:function(t){if(!this.reader.readAndCheckSignature(t)){this.reader.index-=4;var e=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+i.pretty(e)+", expected "+i.pretty(t)+")")}},isSignature:function(t,e){var r=this.reader.index;this.reader.setIndex(t);var n=this.reader.readString(4)===e;return this.reader.setIndex(r),n},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var t=this.reader.readData(this.zipCommentLength),e=a.uint8array?"uint8array":"array",r=i.transformTo(e,t);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var t,e,r,n=this.zip64EndOfCentralSize-44;0<n;)t=this.reader.readInt(2),e=this.reader.readInt(4),r=this.reader.readData(e),this.zip64ExtensibleData[t]={id:t,length:e,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var t,e;for(t=0;t<this.files.length;t++)e=this.files[t],this.reader.setIndex(e.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),e.readLocalPart(this.reader),e.handleUTF8(),e.processAttributes()},readCentralDir:function(){var t;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(t=new o({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(t);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var t=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(t<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(t);var e=t;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===i.MAX_VALUE_16BITS||this.diskWithCentralDirStart===i.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===i.MAX_VALUE_16BITS||this.centralDirRecords===i.MAX_VALUE_16BITS||this.centralDirSize===i.MAX_VALUE_32BITS||this.centralDirOffset===i.MAX_VALUE_32BITS){if(this.zip64=!0,(t=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(t),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var n=e-r;if(n>0)this.isSignature(e,s.CENTRAL_FILE_HEADER)||(this.reader.zero=n);else if(n<0)throw new Error("Corrupted zip: missing "+Math.abs(n)+" bytes.")},prepareReader:function(t){this.reader=n(t)},load:function(t){this.prepareReader(t),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=c},function(t,e,r){"use strict";var n=r(74);function i(t){n.call(this,t)}r(3).inherits(i,n),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},t.exports=i},function(t,e,r){"use strict";var n=r(75);function i(t){n.call(this,t)}r(3).inherits(i,n),i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},t.exports=i},function(t,e,r){"use strict";var n=r(72),i=r(3),s=r(32),o=r(33),a=r(16),c=r(65),h=r(9);function l(t,e){this.options=t,this.loadOptions=e}l.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(t){var e,r;if(t.skip(22),this.fileNameLength=t.readInt(2),r=t.readInt(2),this.fileName=t.readData(this.fileNameLength),t.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(e=function(t){for(var e in c)if(Object.prototype.hasOwnProperty.call(c,e)&&c[e].magic===t)return c[e];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+i.pretty(this.compressionMethod)+" unknown (inner file : "+i.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,e,t.readData(this.compressedSize))},readCentralPart:function(t){this.versionMadeBy=t.readInt(2),t.skip(2),this.bitFlag=t.readInt(2),this.compressionMethod=t.readString(2),this.date=t.readDate(),this.crc32=t.readInt(4),this.compressedSize=t.readInt(4),this.uncompressedSize=t.readInt(4);var e=t.readInt(2);if(this.extraFieldsLength=t.readInt(2),this.fileCommentLength=t.readInt(2),this.diskNumberStart=t.readInt(2),this.internalFileAttributes=t.readInt(2),this.externalFileAttributes=t.readInt(4),this.localHeaderOffset=t.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");t.skip(e),this.readExtraFields(t),this.parseZIP64ExtraField(t),this.fileComment=t.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var t=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===t&&(this.dosPermissions=63&this.externalFileAttributes),3===t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,r,n,i=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4<i;)e=t.readInt(2),r=t.readInt(2),n=t.readData(r),this.extraFields[e]={id:e,length:r,value:n};t.setIndex(i)},handleUTF8:function(){var t=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=a.utf8decode(this.fileName),this.fileCommentStr=a.utf8decode(this.fileComment);else{var e=this.findExtraFieldUnicodePath();if(null!==e)this.fileNameStr=e;else{var r=i.transformTo(t,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var n=this.findExtraFieldUnicodeComment();if(null!==n)this.fileCommentStr=n;else{var s=i.transformTo(t,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var t=this.extraFields[28789];if(t){var e=n(t.value);return 1!==e.readInt(1)||o(this.fileName)!==e.readInt(4)?null:a.utf8decode(e.readData(t.length-5))}return null},findExtraFieldUnicodeComment:function(){var t=this.extraFields[25461];if(t){var e=n(t.value);return 1!==e.readInt(1)||o(this.fileComment)!==e.readInt(4)?null:a.utf8decode(e.readData(t.length-5))}return null}},t.exports=l},function(t,e,r){var n=r(124);t.exports={extendPrototype:function(t,e){for(var r in e)t.prototype[r]=e[r];return t},isFunction:function(t){return"function"==typeof t},isNumber:function(t){return"number"==typeof t},Promise:n,slice:[].slice}},function(t,e){!function(){"use strict";var e,r,n="object"==typeof window?window:global,i=!1,s=n.process,o=Array,a=Error,c={e:null},h=function(){},l=/^.+\/node_modules\/yaku\/.+\n?/gm,u=t.exports=function(t){var e;if(!d(this)||void 0!==this._s)throw w("Invalid this");if(this._s=2,i&&(this._pt=E()),t!==h){if(!p(t))throw w("Invalid argument");(e=b(t)(R(this,1),R(this,0)))===c&&C(this,0,e.e)}};function f(){return u.Symbol.species||"Symbol(species)"}function d(t){return t&&"object"==typeof t}function p(t){return"function"==typeof t}function m(t,e){return t instanceof e}function g(t,e,r){if(!e(t))throw w(r)}function v(){try{return e.apply(r,arguments)}catch(t){return c.e=t,c}}function b(t,n){return e=t,r=n,v}function y(t,e){var r=o(t),n=0;function i(){for(var i=0;i<n;)e(r[i],r[i+1]),r[i++]=void 0,r[i++]=void 0;n=0,r.length>t&&(r.length=t)}return function(t,e){r[n++]=t,r[n++]=e,2===n&&u.nextTick(i)}}function _(t,e){var r,n,i,s,a=0;if(!t)throw w("Invalid argument");var h=t[u.Symbol.iterator];if(p(h))n=h.call(t);else{if(!p(t.next)){if(m(t,o)){for(r=t.length;a<r;)e(t[a],a++);return a}throw w("Invalid argument")}n=t}for(;!(i=n.next()).done;)if((s=b(e)(i.value,a++))===c)throw p(n.return)&&n.return(),s.e;return a}function w(t){return new TypeError(t)}function E(t){return(t?"":"\nFrom previous ")+(new a).stack}u.default=u,function(t,e){for(var r in e)t.prototype[r]=e[r]}(u,{then:function(t,e){if(void 0===this._s)throw w();return function(t,e,r,n){return p(r)&&(e._onFulfilled=r),p(n)&&(t._uh&&x("rejectionHandled",t),e._onRejected=n),i&&(e._pre=t),t[t._pCount++]=e,2!==t._s&&k(t,e),e}(this,A(u.speciesConstructor(this,u)),t,e)},catch:function(t){return this.then(void 0,t)},_pCount:0,_pre:null,_Yaku:1}),u.resolve=function(t){return O(t)?t:N(A(this),t)},u.reject=function(t){return C(A(this),0,t)},u.race=function(t){var e=this,r=A(e),n=function(t){C(r,1,t)},i=function(t){C(r,0,t)},s=b(_)(t,(function(t){e.resolve(t).then(n,i)}));return s===c?e.reject(s.e):r},u.all=function(t){var e,r=this,n=A(r),i=[];function s(t){C(n,0,t)}return(e=b(_)(t,(function(t,o){r.resolve(t).then((function(t){i[o]=t,--e||C(n,1,i)}),s)})))===c?r.reject(e.e):(e||C(n,1,[]),n)},u.Symbol=n.Symbol||{},b((function(){Object.defineProperty(u,f(),{get:function(){return this}})}))(),u.speciesConstructor=function(t,e){var r=t.constructor;return r&&r[f()]||e},u.unhandledRejection=function(t,e){try{n.console.error("Uncaught (in promise)",i?e.longStack:I(t,e))}catch(t){}},u.rejectionHandled=h,u.enableLongStackTrace=function(){i=!0},u.nextTick=s?s.nextTick:function(t){setTimeout(t)},u._Yaku=1;var k=y(999,(function(t,e){var r,n;void 0!==(n=t._s?e._onFulfilled:e._onRejected)?(r=b(T)(n,t._v))!==c?N(e,r):C(e,0,r.e):C(e,t._s,t._v)})),S=y(9,(function(t){(function t(e){if(e._umark)return!0;e._umark=!0;for(var r,n=0,i=e._pCount;n<i;)if((r=e[n++])._onRejected||t(r))return!0})(t)||(t._uh=1,x("unhandledRejection",t))}));function x(t,e){var r="on"+t.toLowerCase(),i=n[r];s&&s.listeners(t).length?"unhandledRejection"===t?s.emit(t,e._v,e):s.emit(t,e):i?i({reason:e._v,promise:e}):u[t](e._v,e)}function O(t){return t&&t._Yaku}function A(t){return O(t)?new t(h):(e=new t((function(t,i){if(e)throw w();r=t,n=i})),g(r,p),g(n,p),e);var e,r,n}function R(t,e){return function(r){i&&(t._st=E(!0)),1===e?N(t,r):C(t,e,r)}}function I(t,e){var r=[];function n(t){return r.push(t.replace(/^\s+|\s+$/g,""))}return i&&(e._st&&n(e._st),function t(e){e&&"_pt"in e&&(t(e._next),n(e._pt+""),t(e._pre))}(e)),(t&&t.stack?t.stack:t)+("\n"+r.join("\n")).replace(l,"")}function T(t,e){return t(e)}function C(t,e,r){var n=0,s=t._pCount;if(2===t._s)for(t._s=e,t._v=r,0===e&&(i&&m(r,a)&&(r.longStack=I(r,t)),S(t));n<s;)k(t,t[n++]);return t}function N(t,e){if(e===t&&e)return C(t,0,w("Chaining cycle detected for promise")),t;if(null!==e&&(p(e)||d(e))){var r=b(L)(e);if(r===c)return C(t,0,r.e),t;p(r)?(i&&O(e)&&(t._next=e),O(e)?j(t,e,r):u.nextTick((function(){j(t,e,r)}))):C(t,1,e)}else C(t,1,e);return t}function L(t){return t.then}function j(t,e,r){var n=b(r,e)((function(r){e&&(e=null,N(t,r))}),(function(r){e&&(e=null,C(t,0,r))}));n===c&&e&&(C(t,0,n.e),e=null)}}()},function(t,e,r){"use strict";const n=r(19),i=r(24),s=r(4),o=r(78),a=r(15),c=r(126),h=r(127),l=r(128),u=r(129),f=r(130),d=r(131),p=r(132),m=r(133),g=r(6),v=r(134),b=r(135),y=r(36),_=r(136),w=r(137),E=r(26),k=r(37),S=r(79),x=r(80),O=r(38),A=r(39),R=r(81),I=r(138),T=r(27),C=r(7),N=r(28),L=r(140),j=r(141),D=r(142),P=r(143),M=r(144),B=r(40),$=r(145),F=r(146),z=r(147),U=r(148),G=r(149);t.exports={parse:a,valid:c,clean:h,inc:l,diff:u,major:f,minor:d,patch:p,prerelease:m,compare:g,rcompare:v,compareLoose:b,compareBuild:y,sort:_,rsort:w,gt:E,lt:k,eq:S,neq:x,gte:O,lte:A,cmp:R,coerce:I,Comparator:T,Range:C,satisfies:N,toComparators:L,maxSatisfying:j,minSatisfying:D,minVersion:P,validRange:M,outside:B,gtr:$,ltr:F,intersects:z,simplifyRange:U,subset:G,SemVer:s,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:o.compareIdentifiers,rcompareIdentifiers:o.rcompareIdentifiers}},function(t,e,r){"use strict";const n=r(15);t.exports=(t,e)=>{const r=n(t,e);return r?r.version:null}},function(t,e,r){"use strict";const n=r(15);t.exports=(t,e)=>{const r=n(t.trim().replace(/^[=v]+/,""),e);return r?r.version:null}},function(t,e,r){"use strict";const n=r(4);t.exports=(t,e,r,i,s)=>{"string"==typeof r&&(s=i,i=r,r=void 0);try{return new n(t instanceof n?t.version:t,r).inc(e,i,s).version}catch(t){return null}}},function(t,e,r){"use strict";const n=r(15);t.exports=(t,e)=>{const r=n(t,null,!0),i=n(e,null,!0),s=r.compare(i);if(0===s)return null;const o=s>0,a=o?r:i,c=o?i:r,h=!!a.prerelease.length;if(c.prerelease.length&&!h){if(!c.patch&&!c.minor)return"major";if(0===c.compareMain(a))return c.minor&&!c.patch?"minor":"patch"}const l=h?"pre":"";return r.major!==i.major?l+"major":r.minor!==i.minor?l+"minor":r.patch!==i.patch?l+"patch":"prerelease"}},function(t,e,r){"use strict";const n=r(4);t.exports=(t,e)=>new n(t,e).major},function(t,e,r){"use strict";const n=r(4);t.exports=(t,e)=>new n(t,e).minor},function(t,e,r){"use strict";const n=r(4);t.exports=(t,e)=>new n(t,e).patch},function(t,e,r){"use strict";const n=r(15);t.exports=(t,e)=>{const r=n(t,e);return r&&r.prerelease.length?r.prerelease:null}},function(t,e,r){"use strict";const n=r(6);t.exports=(t,e,r)=>n(e,t,r)},function(t,e,r){"use strict";const n=r(6);t.exports=(t,e)=>n(t,e,!0)},function(t,e,r){"use strict";const n=r(36);t.exports=(t,e)=>t.sort((t,r)=>n(t,r,e))},function(t,e,r){"use strict";const n=r(36);t.exports=(t,e)=>t.sort((t,r)=>n(r,t,e))},function(t,e,r){"use strict";const n=r(4),i=r(15),{safeRe:s,t:o}=r(19);t.exports=(t,e)=>{if(t instanceof n)return t;if("number"==typeof t&&(t=String(t)),"string"!=typeof t)return null;let r=null;if((e=e||{}).rtl){const n=e.includePrerelease?s[o.COERCERTLFULL]:s[o.COERCERTL];let i;for(;(i=n.exec(t))&&(!r||r.index+r[0].length!==t.length);)r&&i.index+i[0].length===r.index+r[0].length||(r=i),n.lastIndex=i.index+i[1].length+i[2].length;n.lastIndex=-1}else r=t.match(e.includePrerelease?s[o.COERCEFULL]:s[o.COERCE]);if(null===r)return null;const a=r[2],c=r[3]||"0",h=r[4]||"0",l=e.includePrerelease&&r[5]?"-"+r[5]:"",u=e.includePrerelease&&r[6]?"+"+r[6]:"";return i(`${a}.${c}.${h}${l}${u}`,e)}},function(t,e,r){"use strict";t.exports=class{constructor(){this.max=1e3,this.map=new Map}get(t){const e=this.map.get(t);return void 0===e?void 0:(this.map.delete(t),this.map.set(t,e),e)}delete(t){return this.map.delete(t)}set(t,e){if(!this.delete(t)&&void 0!==e){if(this.map.size>=this.max){const t=this.map.keys().next().value;this.delete(t)}this.map.set(t,e)}return this}}},function(t,e,r){"use strict";const n=r(7);t.exports=(t,e)=>new n(t,e).set.map(t=>t.map(t=>t.value).join(" ").trim().split(" "))},function(t,e,r){"use strict";const n=r(4),i=r(7);t.exports=(t,e,r)=>{let s=null,o=null,a=null;try{a=new i(e,r)}catch(t){return null}return t.forEach(t=>{a.test(t)&&(s&&-1!==o.compare(t)||(s=t,o=new n(s,r)))}),s}},function(t,e,r){"use strict";const n=r(4),i=r(7);t.exports=(t,e,r)=>{let s=null,o=null,a=null;try{a=new i(e,r)}catch(t){return null}return t.forEach(t=>{a.test(t)&&(s&&1!==o.compare(t)||(s=t,o=new n(s,r)))}),s}},function(t,e,r){"use strict";const n=r(4),i=r(7),s=r(26);t.exports=(t,e)=>{t=new i(t,e);let r=new n("0.0.0");if(t.test(r))return r;if(r=new n("0.0.0-0"),t.test(r))return r;r=null;for(let e=0;e<t.set.length;++e){const i=t.set[e];let o=null;i.forEach(t=>{const e=new n(t.semver.version);switch(t.operator){case">":0===e.prerelease.length?e.patch++:e.prerelease.push(0),e.raw=e.format();case"":case">=":o&&!s(e,o)||(o=e);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+t.operator)}}),!o||r&&!s(r,o)||(r=o)}return r&&t.test(r)?r:null}},function(t,e,r){"use strict";const n=r(7);t.exports=(t,e)=>{try{return new n(t,e).range||"*"}catch(t){return null}}},function(t,e,r){"use strict";const n=r(40);t.exports=(t,e,r)=>n(t,e,">",r)},function(t,e,r){"use strict";const n=r(40);t.exports=(t,e,r)=>n(t,e,"<",r)},function(t,e,r){"use strict";const n=r(7);t.exports=(t,e,r)=>(t=new n(t,r),e=new n(e,r),t.intersects(e,r))},function(t,e,r){"use strict";const n=r(28),i=r(6);t.exports=(t,e,r)=>{const s=[];let o=null,a=null;const c=t.sort((t,e)=>i(t,e,r));for(const t of c)n(t,e,r)?(a=t,o||(o=t)):(a&&s.push([o,a]),a=null,o=null);o&&s.push([o,null]);const h=[];for(const[t,e]of s)t===e?h.push(t):e||t!==c[0]?e?t===c[0]?h.push("<="+e):h.push(`${t} - ${e}`):h.push(">="+t):h.push("*");const l=h.join(" || "),u="string"==typeof e.raw?e.raw:String(e);return l.length<u.length?l:e}},function(t,e,r){"use strict";const n=r(7),i=r(27),{ANY:s}=i,o=r(28),a=r(6),c=[new i(">=0.0.0-0")],h=[new i(">=0.0.0")],l=(t,e,r)=>{if(t===e)return!0;if(1===t.length&&t[0].semver===s){if(1===e.length&&e[0].semver===s)return!0;t=r.includePrerelease?c:h}if(1===e.length&&e[0].semver===s){if(r.includePrerelease)return!0;e=h}const n=new Set;let i,l,d,p,m,g,v;for(const e of t)">"===e.operator||">="===e.operator?i=u(i,e,r):"<"===e.operator||"<="===e.operator?l=f(l,e,r):n.add(e.semver);if(n.size>1)return null;if(i&&l){if(d=a(i.semver,l.semver,r),d>0)return null;if(0===d&&(">="!==i.operator||"<="!==l.operator))return null}for(const t of n){if(i&&!o(t,String(i),r))return null;if(l&&!o(t,String(l),r))return null;for(const n of e)if(!o(t,String(n),r))return!1;return!0}let b=!(!l||r.includePrerelease||!l.semver.prerelease.length)&&l.semver,y=!(!i||r.includePrerelease||!i.semver.prerelease.length)&&i.semver;b&&1===b.prerelease.length&&"<"===l.operator&&0===b.prerelease[0]&&(b=!1);for(const t of e){if(v=v||">"===t.operator||">="===t.operator,g=g||"<"===t.operator||"<="===t.operator,i)if(y&&t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===y.major&&t.semver.minor===y.minor&&t.semver.patch===y.patch&&(y=!1),">"===t.operator||">="===t.operator){if(p=u(i,t,r),p===t&&p!==i)return!1}else if(">="===i.operator&&!o(i.semver,String(t),r))return!1;if(l)if(b&&t.semver.prerelease&&t.semver.prerelease.length&&t.semver.major===b.major&&t.semver.minor===b.minor&&t.semver.patch===b.patch&&(b=!1),"<"===t.operator||"<="===t.operator){if(m=f(l,t,r),m===t&&m!==l)return!1}else if("<="===l.operator&&!o(l.semver,String(t),r))return!1;if(!t.operator&&(l||i)&&0!==d)return!1}return!(i&&g&&!l&&0!==d||l&&v&&!i&&0!==d||y||b)},u=(t,e,r)=>{if(!t)return e;const n=a(t.semver,e.semver,r);return n>0?t:n<0||">"===e.operator&&">="===t.operator?e:t},f=(t,e,r)=>{if(!t)return e;const n=a(t.semver,e.semver,r);return n<0?t:n>0||"<"===e.operator&&"<="===t.operator?e:t};t.exports=(t,e,r={})=>{if(t===e)return!0;t=new n(t,r),e=new n(e,r);let i=!1;t:for(const n of t.set){for(const t of e.set){const e=l(n,t,r);if(i=i||null!==e,e)continue t}if(i)return!1}return!0}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(2),i=r(1),s=r(151),o=r(84),a=r(154),c=(t,e,r=5)=>{const h=o.getPath();n.existsSync(h)||n.mkdirSync(h,{recursive:!0});const l=i.resolve(`${h}/${t}`);return new Promise((h,u)=>{if(!n.existsSync(l)||e){n.existsSync(l)&&s.sync(l);const f=`https://clients2.google.com/service/update2/crx?response=redirect&acceptformat=crx2,crx3&x=id%3D${t}%26uc&prodversion=${process.versions.chrome}`,d=i.resolve(l+".crx");o.downloadFile(f,d).then(()=>{a(d,l).then(()=>{o.changePermissions(l,755),h(l)}).catch(t=>{if(!n.existsSync(i.resolve(l,"manifest.json")))return u(t)})}).catch(n=>{if(console.log(`Failed to fetch extension, trying ${r-1} more times`),r<=1)return u(n);setTimeout(()=>{c(t,e,r-1).then(h).catch(u)},200)})}else h(l)})};e.default=c},function(t,e,r){const n=r(12),i=r(1),s=r(2);let o=void 0;try{o=r(82)}catch(t){}const a={nosort:!0,silent:!0};let c=0;const h="win32"===process.platform,l=t=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(e=>{t[e]=t[e]||s[e],t[e+="Sync"]=t[e]||s[e]}),t.maxBusyTries=t.maxBusyTries||3,t.emfileWait=t.emfileWait||1e3,!1===t.glob&&(t.disableGlob=!0),!0!==t.disableGlob&&void 0===o)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");t.disableGlob=t.disableGlob||!1,t.glob=t.glob||a},u=(t,e,r)=>{"function"==typeof e&&(r=e,e={}),n(t,"rimraf: missing path"),n.equal(typeof t,"string","rimraf: path should be a string"),n.equal(typeof r,"function","rimraf: callback function required"),n(e,"rimraf: invalid options argument provided"),n.equal(typeof e,"object","rimraf: options should be object"),l(e);let i=0,s=null,a=0;const h=(t,n)=>t?r(t):(a=n.length,0===a?r():void n.forEach(t=>{const n=o=>{if(o){if(("EBUSY"===o.code||"ENOTEMPTY"===o.code||"EPERM"===o.code)&&i<e.maxBusyTries)return i++,setTimeout(()=>f(t,e,n),100*i);if("EMFILE"===o.code&&c<e.emfileWait)return setTimeout(()=>f(t,e,n),c++);"ENOENT"===o.code&&(o=null)}c=0,(t=>{s=s||t,0==--a&&r(s)})(o)};f(t,e,n)}));if(e.disableGlob||!o.hasMagic(t))return h(null,[t]);e.lstat(t,(r,n)=>{if(!r)return h(null,[t]);o(t,e.glob,h)})},f=(t,e,r)=>{n(t),n(e),n("function"==typeof r),e.lstat(t,(n,i)=>n&&"ENOENT"===n.code?r(null):(n&&"EPERM"===n.code&&h&&d(t,e,n,r),i&&i.isDirectory()?m(t,e,n,r):void e.unlink(t,n=>{if(n){if("ENOENT"===n.code)return r(null);if("EPERM"===n.code)return h?d(t,e,n,r):m(t,e,n,r);if("EISDIR"===n.code)return m(t,e,n,r)}return r(n)})))},d=(t,e,r,i)=>{n(t),n(e),n("function"==typeof i),e.chmod(t,438,n=>{n?i("ENOENT"===n.code?null:r):e.stat(t,(n,s)=>{n?i("ENOENT"===n.code?null:r):s.isDirectory()?m(t,e,r,i):e.unlink(t,i)})})},p=(t,e,r)=>{n(t),n(e);try{e.chmodSync(t,438)}catch(t){if("ENOENT"===t.code)return;throw r}let i;try{i=e.statSync(t)}catch(t){if("ENOENT"===t.code)return;throw r}i.isDirectory()?b(t,e,r):e.unlinkSync(t)},m=(t,e,r,i)=>{n(t),n(e),n("function"==typeof i),e.rmdir(t,n=>{!n||"ENOTEMPTY"!==n.code&&"EEXIST"!==n.code&&"EPERM"!==n.code?n&&"ENOTDIR"===n.code?i(r):i(n):g(t,e,i)})},g=(t,e,r)=>{n(t),n(e),n("function"==typeof r),e.readdir(t,(n,s)=>{if(n)return r(n);let o,a=s.length;if(0===a)return e.rmdir(t,r);s.forEach(n=>{u(i.join(t,n),e,n=>{if(!o)return n?r(o=n):void(0==--a&&e.rmdir(t,r))})})})},v=(t,e)=>{let r;if(l(e=e||{}),n(t,"rimraf: missing path"),n.equal(typeof t,"string","rimraf: path should be a string"),n(e,"rimraf: missing options"),n.equal(typeof e,"object","rimraf: options should be object"),e.disableGlob||!o.hasMagic(t))r=[t];else try{e.lstatSync(t),r=[t]}catch(n){r=o.sync(t,e.glob)}if(r.length)for(let n=0;n<r.length;n++){const i=r[n];let s;try{s=e.lstatSync(i)}catch(t){if("ENOENT"===t.code)return;"EPERM"===t.code&&h&&p(i,e,t)}try{s&&s.isDirectory()?b(i,e,null):e.unlinkSync(i)}catch(t){if("ENOENT"===t.code)return;if("EPERM"===t.code)return h?p(i,e,t):b(i,e,t);if("EISDIR"!==t.code)throw t;b(i,e,t)}}},b=(t,e,r)=>{n(t),n(e);try{e.rmdirSync(t)}catch(n){if("ENOENT"===n.code)return;if("ENOTDIR"===n.code)throw r;"ENOTEMPTY"!==n.code&&"EEXIST"!==n.code&&"EPERM"!==n.code||y(t,e)}},y=(t,e)=>{n(t),n(e),e.readdirSync(t).forEach(r=>v(i.join(t,r),e));const r=h?100:1;let s=0;for(;;){let n=!0;try{const i=e.rmdirSync(t,e);return n=!1,i}finally{if(++s<r&&n)continue}}};t.exports=u,u.sync=v},function(t,e,r){var n=r(45),i=r(46);t.exports=function(t){return t?("{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2)),function t(e,r){var s=[],o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var c,h=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),g=h||u,v=o.body.indexOf(",")>=0;if(!g&&!v)return o.post.match(/,(?!,).*\}/)?(e=o.pre+"{"+o.body+a+o.post,t(e)):[e];if(g)c=o.body.split(/\.\./);else if(1===(c=function t(e){if(!e)return[""];var r=[],n=i("{","}",e);if(!n)return e.split(",");var s=n.pre,o=n.body,a=n.post,c=s.split(",");c[c.length-1]+="{"+o+"}";var h=t(a);return a.length&&(c[c.length-1]+=h.shift(),c.push.apply(c,h)),r.push.apply(r,c),r}(o.body)).length&&1===(c=t(c[0],!1).map(f)).length)return(_=o.post.length?t(o.post,!1):[""]).map((function(t){return o.pre+c[0]+t}));var b,y=o.pre,_=o.post.length?t(o.post,!1):[""];if(g){var w=l(c[0]),E=l(c[1]),k=Math.max(c[0].length,c[1].length),S=3==c.length?Math.abs(l(c[2])):1,x=p;E<w&&(S*=-1,x=m);var O=c.some(d);b=[];for(var A=w;x(A,E);A+=S){var R;if(u)"\\"===(R=String.fromCharCode(A))&&(R="");else if(R=String(A),O){var I=k-R.length;if(I>0){var T=new Array(I+1).join("0");R=A<0?"-"+T+R.slice(1):T+R}}b.push(R)}}else b=n(c,(function(e){return t(e,!1)}));for(var C=0;C<b.length;C++)for(var N=0;N<_.length;N++){var L=y+b[C]+_[N];(!r||g||L)&&s.push(L)}return s}(function(t){return t.split("\\\\").join(s).split("\\{").join(o).split("\\}").join(a).split("\\,").join(c).split("\\.").join(h)}(t),!0).map(u)):[]};var s="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",h="\0PERIOD"+Math.random()+"\0";function l(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function u(t){return t.split(s).join("\\").split(o).join("{").split(a).join("}").split(c).join(",").split(h).join(".")}function f(t){return"{"+t+"}"}function d(t){return/^-?0\d/.test(t)}function p(t,e){return t<=e}function m(t,e){return t>=e}},function(t,e,r){t.exports=d,d.GlobSync=p;var n=r(20),i=r(41),s=(i.Minimatch,r(82).Glob,r(8),r(1)),o=r(12),a=r(13),c=r(83),h=c.setopts,l=c.ownProp,u=c.childrenIgnored,f=c.isIgnored;function d(t,e){if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new p(t,e).found}function p(t,e){if(!t)throw new Error("must provide pattern");if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof p))return new p(t,e);if(h(this,t,e),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++)this._process(this.minimatch.set[n],n,!1);this._finish()}p.prototype._finish=function(){if(o.ok(this instanceof p),this.realpath){var t=this;this.matches.forEach((function(e,r){var i=t.matches[r]=Object.create(null);for(var s in e)try{s=t._makeAbs(s),i[n.realpathSync(s,t.realpathCache)]=!0}catch(e){if("stat"!==e.syscall)throw e;i[t._makeAbs(s)]=!0}}))}c.finish(this)},p.prototype._process=function(t,e,r){o.ok(this instanceof p);for(var n,s=0;"string"==typeof t[s];)s++;switch(s){case t.length:return void this._processSimple(t.join("/"),e);case 0:n=null;break;default:n=t.slice(0,s).join("/")}var c,h=t.slice(s);null===n?c=".":a(n)||a(t.map((function(t){return"string"==typeof t?t:"[*]"})).join("/"))?(n&&a(n)||(n="/"+n),c=n):c=n;var l=this._makeAbs(c);u(this,c)||(h[0]===i.GLOBSTAR?this._processGlobStar(n,c,l,h,e,r):this._processReaddir(n,c,l,h,e,r))},p.prototype._processReaddir=function(t,e,r,n,i,o){var a=this._readdir(r,o);if(a){for(var c=n[0],h=!!this.minimatch.negate,l=c._glob,u=this.dot||"."===l.charAt(0),f=[],d=0;d<a.length;d++)("."!==(g=a[d]).charAt(0)||u)&&(h&&!t?!g.match(c):g.match(c))&&f.push(g);var p=f.length;if(0!==p)if(1!==n.length||this.mark||this.stat)for(n.shift(),d=0;d<p;d++){var m;g=f[d],m=t?[t,g]:[g],this._process(m.concat(n),i,o)}else{this.matches[i]||(this.matches[i]=Object.create(null));for(d=0;d<p;d++){var g=f[d];t&&(g="/"!==t.slice(-1)?t+"/"+g:t+g),"/"!==g.charAt(0)||this.nomount||(g=s.join(this.root,g)),this._emitMatch(i,g)}}}},p.prototype._emitMatch=function(t,e){if(!f(this,e)){var r=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[t][e]=!0,this.stat&&this._stat(e)}}},p.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var e,r;try{r=this.fs.lstatSync(t)}catch(t){if("ENOENT"===t.code)return null}var n=r&&r.isSymbolicLink();return this.symlinks[t]=n,n||!r||r.isDirectory()?e=this._readdir(t,!1):this.cache[t]="FILE",e},p.prototype._readdir=function(t,e){if(e&&!l(this.symlinks,t))return this._readdirInGlobStar(t);if(l(this.cache,t)){var r=this.cache[t];if(!r||"FILE"===r)return null;if(Array.isArray(r))return r}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(e){return this._readdirError(t,e),null}},p.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var n=e[r];n="/"===t?t+n:t+"/"+n,this.cache[n]=!0}return this.cache[t]=e,e},p.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);throw n.path=this.cwd,n.code=e.code,n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw e;this.silent||console.error("glob error",e)}},p.prototype._processGlobStar=function(t,e,r,n,i,s){var o=this._readdir(r,s);if(o){var a=n.slice(1),c=t?[t]:[],h=c.concat(a);this._process(h,i,!1);var l=o.length;if(!this.symlinks[r]||!s)for(var u=0;u<l;u++)if("."!==o[u].charAt(0)||this.dot){var f=c.concat(o[u],a);this._process(f,i,!0);var d=c.concat(o[u],n);this._process(d,i,!0)}}},p.prototype._processSimple=function(t,e){var r=this._stat(t);if(this.matches[e]||(this.matches[e]=Object.create(null)),r){if(t&&a(t)&&!this.nomount){var n=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=s.join(this.root,t):(t=s.resolve(this.root,t),n&&(t+="/"))}"win32"===process.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t)}},p.prototype._stat=function(t){var e=this._makeAbs(t),r="/"===t.slice(-1);if(t.length>this.maxLength)return!1;if(!this.stat&&l(this.cache,e)){var n=this.cache[e];if(Array.isArray(n)&&(n="DIR"),!r||"DIR"===n)return n;if(r&&"FILE"===n)return!1}var i=this.statCache[e];if(!i){var s;try{s=this.fs.lstatSync(e)}catch(t){if(t&&("ENOENT"===t.code||"ENOTDIR"===t.code))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{i=this.fs.statSync(e)}catch(t){i=s}else i=s}return this.statCache[e]=i,n=!0,i&&(n=i.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||n,(!r||"FILE"!==n)&&n},p.prototype._mark=function(t){return c.mark(this,t)},p.prototype._makeAbs=function(t){return c.makeAbs(this,t)}},function(t,e,r){"use strict";var n=r(2),i=r(1),s=r(50),o=r(76),a=r(77),c=a(n.writeFile),h=a(n.readFile),l=a(o);t.exports=function(t,e){var r=i.resolve(t),n=i.extname(t),o=i.basename(t,n),a=i.dirname(t);return e=e||i.resolve(a,o),h(r).then((function(t){return s.loadAsync(function(t){function e(t,e,r,n){var i=0;return i+=t,i+=e<<8,(i+=r<<16)+(n<<24)}if(80===t[0]&&75===t[1]&&3===t[2]&&4===t[3])return t;if(67!==t[0]||114!==t[1]||50!==t[2]||52!==t[3])throw new Error("Invalid header: Does not start with Cr24");var r=3===t[4],n=2===t[4];if(!n&&!r||t[5]||t[6]||t[7])throw new Error("Unexpected crx format version number.");if(n){var i=16+e(t[8],t[9],t[10],t[11])+e(t[12],t[13],t[14],t[15]);return t.slice(i,t.length)}var s=12+e(t[8],t[9],t[10],t[11]);return t.slice(s,t.length)}(t))})).then((function(t){var r=Object.keys(t.files);return Promise.all(r.map((function(r){var n=!t.files[r].dir,s=i.join(e,r),o=n&&i.dirname(s)||s,a=t.files[r].async("nodebuffer");return l(o).then((function(){return!!n&&a})).then((function(t){return!t||c(s,t)}))})))}))}},function(t,e,r){"use strict";r.r(e);var n=r(0),i=r.n(n),s=r(2),o=r.n(s),a=r(1),c=r.n(a),h=(r(85),r(86),r(42)),l=r.n(h);const{net:u}=n.remote||i.a;u?u.request:l.a.get;const{BrowserWindow:f}=n.remote||i.a;let d={};const p=()=>c.a.resolve((()=>{const t=(n.remote||i.a).app.getPath("userData");return c.a.resolve(t+"/extensions")})(),"IDMap.json");if(o.a.existsSync(p()))try{d=JSON.parse(o.a.readFileSync(p(),"utf8"))}catch(t){console.error("electron-devtools-installer: Invalid JSON present in the IDMap file")}var m=r(87);let g;async function v(){g=new n.BrowserWindow({width:1300,height:800,webPreferences:{preload:c.a.resolve(n.app.getAppPath(),"preload.js"),nodeIntegration:!1,contextIsolation:!0,allowRunningInsecureContent:!0,disableHardwareAcceleration:!0,webSecurity:!0,webRTC:!0,experimentalFeatures:!0,enableRemoteModule:!0}}),g.webContents.openDevTools(),process.env.WEBPACK_DEV_SERVER_URL?(await g.loadURL(process.env.WEBPACK_DEV_SERVER_URL),process.env.IS_TEST||g.webContents.openDevTools()):("app",n.protocol.registerBufferProtocol("app",(t,e)=>{let r=new m.URL(t.url).pathname;r=decodeURI(r),Object(s.readFile)(a.join(__dirname,r),(t,n)=>{t&&console.error(`Failed to read ${r} on app protocol`,t);const i=a.extname(r).toLowerCase();let s="";".js"===i?s="text/javascript":".html"===i?s="text/html":".css"===i?s="text/css":".svg"===i||".svgz"===i?s="image/svg+xml":".json"===i?s="application/json":".wasm"===i&&(s="application/wasm"),e({mimeType:s,data:n})})}),g.loadURL("http://192.168.66.16:8007/./index.html"))}r(43),n.app.disableHardwareAcceleration(),n.protocol.registerSchemesAsPrivileged([{scheme:"app",privileges:{secure:!0,standard:!0}}]),n.ipcMain.on("open-external-url",(t,e)=>{n.shell.openExternal(e).catch(t=>{console.error("打开链接失败:",t)})}),n.ipcMain.on("start-flash",()=>{g&&!g.isFocused()&&(g.flashFrame(!0),setTimeout(()=>{g.flashFrame(!1)},5e3))}),n.ipcMain.on("stop-flash",()=>{g&&g.flashFrame(!1)}),n.ipcMain.on("show-system-notification",(t,e)=>{new n.Notification({title:e.title,body:e.body,icon:e.icon}).show()}),n.app.on("window-all-closed",()=>{"darwin"!==process.platform&&n.app.quit()}),n.app.on("activate",()=>{0===n.BrowserWindow.getAllWindows().length&&v()}),n.app.on("ready",async()=>{"win32"===process.platform&&n.app.setAppUserModelId("8007:16.66.168.192"),v(),console.log(n.Notification.isSupported(),"123");const t=[{label:"文件",submenu:[{label:"新建",accelerator:"CmdOrCtrl+N",role:"new"},{label:"打开",accelerator:"CmdOrCtrl+O",role:"open"},{type:"separator"},{label:"退出",accelerator:"CmdOrCtrl+Q",role:"quit"}]},{label:"编辑",submenu:[{label:"撤销",role:"undo"},{label:"重做",role:"redo"},{type:"separator"},{label:"剪切",role:"cut"},{label:"复制",role:"copy"},{label:"粘贴",role:"paste"},{label:"删除",role:"delete"},{type:"separator"},{label:"全选",role:"selectAll"}]},{label:"视图",submenu:[{label:"重新加载",accelerator:"CmdOrCtrl+R",role:"reload"},{label:"强制重载",accelerator:"CmdOrCtrl+Shift+R",role:"forceReload"},{type:"separator"},{label:"实际大小",role:"resetZoom"},{label:"放大",role:"zoomIn"},{label:"缩小",role:"zoomOut"},{type:"separator"},{label:"全屏",role:"togglefullscreen"},{label:"开发者工具",accelerator:"F12",click:()=>{const t=n.BrowserWindow.getFocusedWindow();t&&t.webContents.toggleDevTools()}}]},{label:"帮助",submenu:[{label:"关于",click:()=>{n.shell.openExternal("https://your-website.com/about")}}]}],e=n.Menu.buildFromTemplate(t);n.Menu.setApplicationMenu(e)})}]);
|