diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8cda9c5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules +lib +*.swp +/compile.sh diff --git a/README.md b/README.md new file mode 100644 index 0000000..09ef24b --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +# Authenticode cloud signer + +This action signs files that are supported by `signtool.exe` with a key hosted on google KMS. This enables EV code-signing certificates to be used in a CI pipeline. It only works on Windows and should run on `windows-latest`. + +This is a forked/cloudified version of dlemstra/code-sign-action/ + +## Inputs + +### `certificate` + +**Required** The base64 encoded certificate chain in PEM format. + +### `key-uri` + +**Required** The google KMS resource ID to use. + +### `credentials` + +**Required** The base64 encoded JSON credentials to use. + +### `folder` + +**Required** The folder that contains the libraries to sign. + +### `recursive` + +**Optional** Recursively search for DLL files. + +## Example usage + +``` +runs-on: windows-latest +steps: + uses: nextgens/authenticode-sign-action@v1 + with: + certificate: '${{ secrets.CERTIFICATES }}' + key-uri: 'projects/myProject/locations/europe-west2/keyRings/code-signing/cryptoKeys/ev/cryptoKeyVersions/1' + credentials: '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}' + folder: 'files' + recursive: true +``` diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..b797a1c --- /dev/null +++ b/action.yml @@ -0,0 +1,24 @@ +name: 'Authenticode cloud signer' +description: 'Code-sign files using a key hosted on google KMS.' +branding: + icon: 'award' + color: 'green' +inputs: + key-uri: + description: 'The google KMS resource ID to use.' + required: true + certificate: + description: 'The base64 encoded certificate chain to use (PEM).' + required: true + credentials: + description: 'The base64 encoded JSON credentials to use.' + required: true + folder: + description: 'The folder that contains the files to sign.' + required: true + recursive: + description: 'Recursively search for supported files.' + required: false +runs: + using: 'node12' + main: 'dist/index.js' diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 0000000..e4395d3 --- /dev/null +++ b/dist/index.js @@ -0,0 +1 @@ +module.exports=function(e,a){"use strict";var n={};function __webpack_require__(a){if(n[a]){return n[a].exports}var i=n[a]={i:a,l:false,exports:{}};var r=true;try{e[a].call(i.exports,i,i.exports,__webpack_require__);r=false}finally{if(r)delete n[a]}i.l=true;return i.exports}__webpack_require__.ab=__dirname+"/";function startup(){return __webpack_require__(187)}return startup()}({8:function(e,a,n){"use strict";e.exports={copy:copy,checkDataType:checkDataType,checkDataTypes:checkDataTypes,coerceToTypes:coerceToTypes,toHash:toHash,getProperty:getProperty,escapeQuotes:escapeQuotes,equal:n(695),ucs2length:n(216),varOccurences:varOccurences,varReplace:varReplace,schemaHasRules:schemaHasRules,schemaHasRulesExcept:schemaHasRulesExcept,schemaUnknownRules:schemaUnknownRules,toQuotedString:toQuotedString,getPathExpr:getPathExpr,getPath:getPath,getData:getData,unescapeFragment:unescapeFragment,unescapeJsonPointer:unescapeJsonPointer,escapeFragment:escapeFragment,escapeJsonPointer:escapeJsonPointer};function copy(e,a){a=a||{};for(var n in e)a[n]=e[n];return a}function checkDataType(e,a,n,i){var r=i?" !== ":" === ",s=i?" || ":" && ",o=i?"!":"",t=i?"":"!";switch(e){case"null":return a+r+"null";case"array":return o+"Array.isArray("+a+")";case"object":return"("+o+a+s+"typeof "+a+r+'"object"'+s+t+"Array.isArray("+a+"))";case"integer":return"(typeof "+a+r+'"number"'+s+t+"("+a+" % 1)"+s+a+r+a+(n?s+o+"isFinite("+a+")":"")+")";case"number":return"(typeof "+a+r+'"'+e+'"'+(n?s+o+"isFinite("+a+")":"")+")";default:return"typeof "+a+r+'"'+e+'"'}}function checkDataTypes(e,a,n){switch(e.length){case 1:return checkDataType(e[0],a,n,true);default:var i="";var r=toHash(e);if(r.array&&r.object){i=r.null?"(":"(!"+a+" || ";i+="typeof "+a+' !== "object")';delete r.null;delete r.array;delete r.object}if(r.number)delete r.integer;for(var s in r)i+=(i?" && ":"")+checkDataType(s,a,n,true);return i}}var i=toHash(["string","number","integer","boolean","null"]);function coerceToTypes(e,a){if(Array.isArray(a)){var n=[];for(var r=0;r=a)throw new Error("Cannot access property/index "+i+" levels up, current level is "+a);return n[a-i]}if(i>a)throw new Error("Cannot access data "+i+" levels up, current level is "+a);s="data"+(a-i||"");if(!r)return s}var p=s;var l=r.split("/");for(var u=0;u0:e.util.schemaHasRules(k,e.RULES.all)))){h[h.length]=g}}}}else{var h=o}}if(f||h.length){var x=e.errorPath,w=f||h.length>=e.opts.loopRequired,j=e.opts.ownProperties;if(p){i+=" var missing"+r+"; ";if(w){if(!f){i+=" var "+d+" = validate.schema"+t+"; "}var F="i"+r,E="schema"+r+"["+F+"]",z="' + "+E+" + '";if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPathExpr(x,E,e.opts.jsonPointers)}i+=" var "+u+" = true; ";if(f){i+=" if (schema"+r+" === undefined) "+u+" = true; else if (!Array.isArray(schema"+r+")) "+u+" = false; else {"}i+=" for (var "+F+" = 0; "+F+" < "+d+".length; "+F+"++) { "+u+" = "+l+"["+d+"["+F+"]] !== undefined ";if(j){i+=" && Object.prototype.hasOwnProperty.call("+l+", "+d+"["+F+"]) "}i+="; if (!"+u+") break; } ";if(f){i+=" } "}i+=" if (!"+u+") { ";var A=A||[];A.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+z+"' } ";if(e.opts.messages!==false){i+=" , message: '";if(e.opts._errorDataPathProperty){i+="is a required property"}else{i+="should have required property \\'"+z+"\\'"}i+="' "}if(e.opts.verbose){i+=" , schema: validate.schema"+t+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}var C=i;i=A.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+C+"]); "}else{i+=" validate.errors = ["+C+"]; return false; "}}else{i+=" var err = "+C+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" } else { "}else{i+=" if ( ";var S=h;if(S){var B,F=-1,q=S.length-1;while(F0;n-=2){e[1]^=F(this.S,a,0)^this.P[n];e[0]^=F(this.S,a,4)^this.P[n-1]}var i=e[0];e[0]=e[1]^this.P[0];e[1]=i};function stream2word(e,a){var n,i=0;for(n=0;n<4;n++,r++){if(r>=a)r=0;i=i<<8|e[r]}return i}s.prototype.expand0state=function(e,a){var n=new Uint32Array(2),i,s;var o=new Uint8Array(n.buffer);for(i=0,r=0;i<18;i++){this.P[i]^=stream2word(e,a)}r=0;for(i=0;i<18;i+=2){this.encipher(n,o);this.P[i]=n[0];this.P[i+1]=n[1]}for(i=0;i<4;i++){for(s=0;s<256;s+=2){this.encipher(n,o);this.S[i][s]=n[0];this.S[i][s+1]=n[1]}}};s.prototype.expandstate=function(e,a,n,i){var s=new Uint32Array(2),o,t;for(o=0,r=0;o<18;o++){this.P[o]^=stream2word(n,i)}for(o=0,r=0;o<18;o+=2){s[0]^=stream2word(e,a);s[1]^=stream2word(e,a);this.encipher(s);this.P[o]=s[0];this.P[o+1]=s[1]}for(o=0;o<4;o++){for(t=0;t<256;t+=2){s[0]^=stream2word(e,a);s[1]^=stream2word(e,a);this.encipher(s);this.S[o][t]=s[0];this.S[o][t+1]=s[1]}}r=0};s.prototype.enc=function(e,a){for(var n=0;n>>24;n[4*t+2]=r[t]>>>16;n[4*t+1]=r[t]>>>8;n[4*t+0]=r[t]}}function bcrypt_pbkdf(e,a,n,r,s,o,c){var p=new Uint8Array(64),l=new Uint8Array(64),u=new Uint8Array(t),f=new Uint8Array(t),m=new Uint8Array(r+4),d,h,v,g,b,y,k=o;if(c<1)return-1;if(a===0||r===0||o===0||o>u.byteLength*u.byteLength||r>1<<20)return-1;g=Math.floor((o+u.byteLength-1)/u.byteLength);v=Math.floor((o+g-1)/g);for(d=0;d0;y++){m[r+0]=y>>>24;m[r+1]=y>>>16;m[r+2]=y>>>8;m[r+3]=y;i(l,m,r+4);bcrypt_hash(p,l,f);for(d=u.byteLength;d--;)u[d]=f[d];for(d=1;d=k)break;s[b]=u[d]}o-=d}return 0}e.exports={BLOCKS:o,HASHSIZE:t,hash:bcrypt_hash,pbkdf:bcrypt_pbkdf}},67:function(e){e.exports={$id:"content.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["size","mimeType"],properties:{size:{type:"integer"},compression:{type:"integer"},mimeType:{type:"string"},text:{type:"string"},encoding:{type:"string"},comment:{type:"string"}}}},82:function(e,a,n){var i=n(293);var r=i.Buffer;function copyProps(e,a){for(var n in e){a[n]=e[n]}}if(r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow){e.exports=i}else{copyProps(i,a);a.Buffer=SafeBuffer}function SafeBuffer(e,a,n){return r(e,a,n)}SafeBuffer.prototype=Object.create(r.prototype);copyProps(r,SafeBuffer);SafeBuffer.from=function(e,a,n){if(typeof e==="number"){throw new TypeError("Argument must not be a number")}return r(e,a,n)};SafeBuffer.alloc=function(e,a,n){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}var i=r(e);if(a!==undefined){if(typeof n==="string"){i.fill(a,n)}else{i.fill(a)}}else{i.fill(0)}return i};SafeBuffer.allocUnsafe=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return r(e)};SafeBuffer.allocUnsafeSlow=function(e){if(typeof e!=="number"){throw new TypeError("Argument must be a number")}return i.SlowBuffer(e)}},83:function(e){"use strict";e.exports=function generate__limitLength(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l;var u="data"+(s||"");var f=e.opts.$data&&o&&o.$data,m;if(f){i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ";m="schema"+r}else{m=o}if(!(f||typeof o=="number")){throw new Error(a+" must be number")}var d=a=="maxLength"?">":"<";i+="if ( ";if(f){i+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}if(e.opts.unicode===false){i+=" "+u+".length "}else{i+=" ucs2length("+u+") "}i+=" "+d+" "+m+") { ";var l=a;var h=h||[];h.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+(l||"_limitLength")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+m+" } ";if(e.opts.messages!==false){i+=" , message: 'should NOT be ";if(a=="maxLength"){i+="longer"}else{i+="shorter"}i+=" than ";if(f){i+="' + "+m+" + '"}else{i+=""+o}i+=" characters' "}if(e.opts.verbose){i+=" , schema: ";if(f){i+="validate.schema"+t}else{i+=""+o}i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}i+=" } "}else{i+=" {} "}var v=i;i=h.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+v+"]); "}else{i+=" validate.errors = ["+v+"]; return false; "}}else{i+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+="} ";if(p){i+=" else { "}return i}},84:function(e,a,n){e.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,write:write};var i=n(521);var r=n(119);var s=n(108).Buffer;var o=n(556);var t=n(372);var c=n(866);var p=n(381);var l=n(925);var u=n(274);var f=n(186);var m=n(730);var d=n(945);function readMPInt(e,a){i.strictEqual(e.peek(),r.Ber.Integer,a+" is not an Integer");return t.mpNormalize(e.readString(r.Ber.Integer,true))}function verify(e,a){var n=e.signatures.x509;i.object(n,"x509 signature");var s=n.algo.split("-");if(s[0]!==a.type)return false;var o=n.cache;if(o===undefined){var t=new r.BerWriter;writeTBSCert(e,t);o=t.buffer}var c=a.createVerify(s[1]);c.write(o);return c.verify(n.signature)}function Local(e){return r.Ber.Context|r.Ber.Constructor|e}function Context(e){return r.Ber.Context|e}var h={"rsa-md5":"1.2.840.113549.1.1.4","rsa-sha1":"1.2.840.113549.1.1.5","rsa-sha256":"1.2.840.113549.1.1.11","rsa-sha384":"1.2.840.113549.1.1.12","rsa-sha512":"1.2.840.113549.1.1.13","dsa-sha1":"1.2.840.10040.4.3","dsa-sha256":"2.16.840.1.101.3.4.3.2","ecdsa-sha1":"1.2.840.10045.4.1","ecdsa-sha256":"1.2.840.10045.4.3.2","ecdsa-sha384":"1.2.840.10045.4.3.3","ecdsa-sha512":"1.2.840.10045.4.3.4","ed25519-sha512":"1.3.101.112"};Object.keys(h).forEach(function(e){h[h[e]]=e});h["1.3.14.3.2.3"]="rsa-md5";h["1.3.14.3.2.29"]="rsa-sha1";var v={issuerKeyId:"2.5.29.35",altName:"2.5.29.17",basicConstraints:"2.5.29.19",keyUsage:"2.5.29.15",extKeyUsage:"2.5.29.37"};function read(e,a){if(typeof e==="string"){e=s.from(e,"binary")}i.buffer(e,"buf");var n=new r.BerReader(e);n.readSequence();if(Math.abs(n.length-n.remain)>1){throw new Error("DER sequence does not contain whole byte "+"stream")}var o=n.offset;n.readSequence();var t=n.offset+n.length;var c=t;if(n.peek()===Local(0)){n.readSequence(Local(0));var p=n.readInt();i.ok(p<=3,"only x.509 versions up to v3 supported")}var l={};l.signatures={};var v=l.signatures.x509={};v.extras={};l.serial=readMPInt(n,"serial");n.readSequence();var g=n.offset+n.length;var b=n.readOID();var y=h[b];if(y===undefined)throw new Error("unknown signature algorithm "+b);n._offset=g;l.issuer=u.parseAsn1(n);n.readSequence();l.validFrom=readDate(n);l.validUntil=readDate(n);l.subjects=[u.parseAsn1(n)];n.readSequence();g=n.offset+n.length;l.subjectKey=d.readPkcs8(undefined,"public",n);n._offset=g;if(n.peek()===Local(1)){n.readSequence(Local(1));v.extras.issuerUniqueID=e.slice(n.offset,n.offset+n.length);n._offset+=n.length}if(n.peek()===Local(2)){n.readSequence(Local(2));v.extras.subjectUniqueID=e.slice(n.offset,n.offset+n.length);n._offset+=n.length}if(n.peek()===Local(3)){n.readSequence(Local(3));var k=n.offset+n.length;n.readSequence();while(n.offset=2050||a.getUTCFullYear()<1950){e.writeString(dateToGTime(a),r.Ber.GeneralizedTime)}else{e.writeString(dateToUTCTime(a),r.Ber.UTCTime)}}var g={OtherName:Local(0),RFC822Name:Context(1),DNSName:Context(2),X400Address:Local(3),DirectoryName:Local(4),EDIPartyName:Local(5),URI:Context(6),IPAddress:Context(7),OID:Context(8)};var b={serverAuth:"1.3.6.1.5.5.7.3.1",clientAuth:"1.3.6.1.5.5.7.3.2",codeSigning:"1.3.6.1.5.5.7.3.3",joyentDocker:"1.3.6.1.4.1.38678.1.4.1",joyentCmon:"1.3.6.1.4.1.38678.1.4.2"};var y={};Object.keys(b).forEach(function(e){y[b[e]]=e});var k=["signature","identity","keyEncryption","encryption","keyAgreement","ca","crl"];function readExtension(e,a,n){n.readSequence();var i=n.offset+n.length;var s=n.readOID();var o;var t=e.signatures.x509;if(!t.extras.exts)t.extras.exts=[];var c;if(n.peek()===r.Ber.Boolean)c=n.readBoolean();switch(s){case v.basicConstraints:n.readSequence(r.Ber.OctetString);n.readSequence();var p=n.offset+n.length;var l=false;if(n.peek()===r.Ber.Boolean)l=n.readBoolean();if(e.purposes===undefined)e.purposes=[];if(l===true)e.purposes.push("ca");var f={oid:s,critical:c};if(n.offset=60)o+=s-1;else o+=s;n.setUTCFullYear(o,parseInt(a[2],10)-1,parseInt(a[3],10));n.setUTCHours(parseInt(a[4],10),parseInt(a[5],10));if(a[6]&&a[6].length>0)n.setUTCSeconds(parseInt(a[6],10));return n}var w=/^([0-9]{4})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})([0-9]{2})?Z$/;function gTimeToDate(e){var a=e.match(w);i.ok(a);var n=new Date;n.setUTCFullYear(parseInt(a[1],10),parseInt(a[2],10)-1,parseInt(a[3],10));n.setUTCHours(parseInt(a[4],10),parseInt(a[5],10));if(a[6]&&a[6].length>0)n.setUTCSeconds(parseInt(a[6],10));return n}function zeroPad(e,a){if(a===undefined)a=2;var n=""+e;while(n.length0||s.type==="host"||e.purposes!==undefined&&e.purposes.length>0||n.extras&&n.extras.exts){a.startSequence(Local(3));a.startSequence();var c=[];if(e.purposes!==undefined&&e.purposes.length>0){c.push({oid:v.basicConstraints,critical:true});c.push({oid:v.keyUsage,critical:true});c.push({oid:v.extKeyUsage,critical:true})}c.push({oid:v.altName});if(n.extras&&n.extras.exts)c=n.extras.exts;for(var p=0;p32)a=a.slice(1);var n=this._priv;i.strictEqual(a.length,32);i.strictEqual(n.length,32);var r=c.box.before(new Uint8Array(a),new Uint8Array(n));return s.from(r)}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKey=function(){var e=[];var a,n;if(this._algo==="dsa"){this._dh.generateKeys();e.push({name:"p",data:this._p.data});e.push({name:"q",data:this._key.part.q.data});e.push({name:"g",data:this._g.data});e.push({name:"y",data:this._dh.getPublicKey()});e.push({name:"x",data:this._dh.getPrivateKey()});this._key=new l({type:"dsa",parts:e});this._isPriv=true;return this._key}else if(this._algo==="ecdsa"){if(u){this._dh.generateKeys();e.push({name:"curve",data:s.from(this._curve)});e.push({name:"Q",data:this._dh.getPublicKey()});e.push({name:"d",data:this._dh.getPrivateKey()});this._key=new l({type:"ecdsa",curve:this._curve,parts:e});this._isPriv=true;return this._key}else{var o=this._ecParams.getN();var t=new d(r.randomBytes(o.bitLength()));var p=o.subtract(d.ONE);a=t.mod(p).add(d.ONE);n=this._ecParams.getG().multiply(a);a=s.from(a.toByteArray());n=s.from(this._ecParams.getCurve().encodePointHex(n),"hex");this._priv=new ECPrivate(this._ecParams,a);e.push({name:"curve",data:s.from(this._curve)});e.push({name:"Q",data:n});e.push({name:"d",data:a});this._key=new l({type:"ecdsa",curve:this._curve,parts:e});this._isPriv=true;return this._key}}else if(this._algo==="curve25519"){var f=c.box.keyPair();a=s.from(f.secretKey);n=s.from(f.publicKey);a=s.concat([a,n]);i.strictEqual(a.length,64);i.strictEqual(n.length,32);e.push({name:"A",data:n});e.push({name:"k",data:a});this._key=new l({type:"curve25519",parts:e});this._isPriv=true;return this._key}throw new Error("Invalid algorithm: "+this._algo)};DiffieHellman.prototype.generateKeys=DiffieHellman.prototype.generateKey;function X9ECParameters(e){var a=o.curves[e];i.object(a);var n=new d(a.p);var r=new d(a.a);var s=new d(a.b);var t=new d(a.n);var c=d.ONE;var p=new m.ECCurveFp(n,r,s);var l=p.decodePointHex(a.G.toString("hex"));this.curve=p;this.g=l;this.n=t;this.h=c}X9ECParameters.prototype.getCurve=function(){return this.curve};X9ECParameters.prototype.getG=function(){return this.g};X9ECParameters.prototype.getN=function(){return this.n};X9ECParameters.prototype.getH=function(){return this.h};function ECPublic(e,a){this._params=e;if(a[0]===0)a=a.slice(1);this._pub=e.getCurve().decodePointHex(a.toString("hex"))}function ECPrivate(e,a){this._params=e;this._priv=new d(t.mpNormalize(a))}ECPrivate.prototype.deriveSharedSecret=function(e){i.ok(e instanceof ECPublic);var a=e._pub.multiply(this._priv);return s.from(a.getX().toBigInteger().toByteArray())};function generateED25519(){var e=c.sign.keyPair();var a=s.from(e.secretKey);var n=s.from(e.publicKey);i.strictEqual(a.length,64);i.strictEqual(n.length,32);var r=[];r.push({name:"A",data:n});r.push({name:"k",data:a.slice(0,32)});var o=new l({type:"ed25519",parts:r});return o}function generateECDSA(e){var a=[];var n;if(u){var i={nistp256:"prime256v1",nistp384:"secp384r1",nistp521:"secp521r1"}[e];var o=r.createECDH(i);o.generateKeys();a.push({name:"curve",data:s.from(e)});a.push({name:"Q",data:o.getPublicKey()});a.push({name:"d",data:o.getPrivateKey()});n=new l({type:"ecdsa",curve:e,parts:a});return n}else{var t=new X9ECParameters(e);var c=t.getN();var p=Math.ceil((c.bitLength()+64)/8);var f=new d(r.randomBytes(p));var m=c.subtract(d.ONE);var h=f.mod(m).add(d.ONE);var v=t.getG().multiply(h);h=s.from(h.toByteArray());v=s.from(t.getCurve().encodePointHex(v),"hex");a.push({name:"curve",data:s.from(e)});a.push({name:"Q",data:v});a.push({name:"d",data:h});n=new l({type:"ecdsa",curve:e,parts:a});return n}}},97:function(e){e.exports={$schema:"http://json-schema.org/draft-06/schema#",$id:"http://json-schema.org/draft-06/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:true,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},title:{type:"string"},description:{type:"string"},default:{},examples:{type:"array",items:{}},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:false},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:{},enum:{type:"array",minItems:1,uniqueItems:true},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:true}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:{}}},98:function(e,a,n){"use strict";var i=n(218),r=n(8),s=n(182),o=n(391);var t=n(434);var c=r.ucs2length;var p=n(695);var l=s.Validation;e.exports=compile;function compile(e,a,n,u){var f=this,m=this._opts,d=[undefined],h={},v=[],g={},b=[],y={},k=[];a=a||{schema:e,refVal:d,refs:h};var x=checkCompiling.call(this,e,a,u);var w=this._compilations[x.index];if(x.compiling)return w.callValidate=callValidate;var j=this._formats;var F=this.RULES;try{var E=localCompile(e,a,n,u);w.validate=E;var z=w.callValidate;if(z){z.schema=E.schema;z.errors=null;z.refs=E.refs;z.refVal=E.refVal;z.root=E.root;z.$async=E.$async;if(m.sourceCode)z.source=E.source}return E}finally{endCompiling.call(this,e,a,u)}function callValidate(){var e=w.validate;var a=e.apply(this,arguments);callValidate.errors=e.errors;return a}function localCompile(e,n,o,u){var g=!n||n&&n.schema==e;if(n.schema!=a.schema)return compile.call(f,e,n,o,u);var y=e.$async===true;var x=t({isTop:true,schema:e,isRoot:g,baseId:u,root:n,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:s.MissingRef,RULES:F,validate:t,util:r,resolve:i,resolveRef:resolveRef,usePattern:usePattern,useDefault:useDefault,useCustomRule:useCustomRule,opts:m,formats:j,logger:f.logger,self:f});x=vars(d,refValCode)+vars(v,patternCode)+vars(b,defaultCode)+vars(k,customRuleCode)+x;if(m.processCode)x=m.processCode(x,e);var w;try{var E=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",x);w=E(f,F,j,a,d,b,k,p,c,l);d[0]=w}catch(e){f.logger.error("Error compiling schema, function code:",x);throw e}w.schema=e;w.errors=null;w.refs=h;w.refVal=d;w.root=g?w:n;if(y)w.$async=true;if(m.sourceCode===true){w.source={code:x,patterns:v,defaults:b}}return w}function resolveRef(e,r,s){r=i.url(e,r);var o=h[r];var t,c;if(o!==undefined){t=d[o];c="refVal["+o+"]";return resolvedRef(t,c)}if(!s&&a.refs){var p=a.refs[r];if(p!==undefined){t=a.refVal[p];c=addLocalRef(r,t);return resolvedRef(t,c)}}c=addLocalRef(r);var l=i.call(f,localCompile,a,r);if(l===undefined){var u=n&&n[r];if(u){l=i.inlineRef(u,m.inlineRefs)?u:compile.call(f,u,a,n,e)}}if(l===undefined){removeLocalRef(r)}else{replaceLocalRef(r,l);return resolvedRef(l,c)}}function addLocalRef(e,a){var n=d.length;d[n]=a;h[e]=n;return"refVal"+n}function removeLocalRef(e){delete h[e]}function replaceLocalRef(e,a){var n=h[e];d[n]=a}function resolvedRef(e,a){return typeof e=="object"||typeof e=="boolean"?{code:a,schema:e,inline:true}:{code:a,$async:e&&!!e.$async}}function usePattern(e){var a=g[e];if(a===undefined){a=g[e]=v.length;v[a]=e}return"pattern"+a}function useDefault(e){switch(typeof e){case"boolean":case"number":return""+e;case"string":return r.toQuotedString(e);case"object":if(e===null)return"null";var a=o(e);var n=y[a];if(n===undefined){n=y[a]=b.length;b[n]=e}return"default"+n}}function useCustomRule(e,a,n,i){if(f._opts.validateSchema!==false){var r=e.definition.dependencies;if(r&&!r.every(function(e){return Object.prototype.hasOwnProperty.call(n,e)}))throw new Error("parent schema must have all required keywords: "+r.join(","));var s=e.definition.validateSchema;if(s){var o=s(a);if(!o){var t="keyword schema is invalid: "+f.errorsText(s.errors);if(f._opts.validateSchema=="log")f.logger.error(t);else throw new Error(t)}}}var c=e.definition.compile,p=e.definition.inline,l=e.definition.macro;var u;if(c){u=c.call(f,a,n,i)}else if(l){u=l.call(f,a,n,i);if(m.validateSchema!==false)f.validateSchema(u,true)}else if(p){u=p.call(f,i,e.keyword,a,n)}else{u=e.definition.validate;if(!u)return}if(u===undefined)throw new Error('custom keyword "'+e.keyword+'"failed to compile');var d=k.length;k[d]=u;return{code:"customRule"+d,validate:u}}}function checkCompiling(e,a,n){var i=compIndex.call(this,e,a,n);if(i>=0)return{index:i,compiling:true};i=this._compilations.length;this._compilations[i]={schema:e,root:a,baseId:n};return{index:i,compiling:false}}function endCompiling(e,a,n){var i=compIndex.call(this,e,a,n);if(i>=0)this._compilations.splice(i,1)}function compIndex(e,a,n){for(var i=0;i=2*(1<<30)){throw new RangeError('The value "'+e+'" is invalid for option "size"')}var i=r(e);if(!a||a.length===0){i.fill(0)}else if(typeof n==="string"){i.fill(a,n)}else{i.fill(a)}return i}}if(!s.kStringMaxLength){try{s.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch(e){}}if(!s.constants){s.constants={MAX_LENGTH:s.kMaxLength};if(s.kStringMaxLength){s.constants.MAX_STRING_LENGTH=s.kStringMaxLength}}e.exports=s},111:function(e,a,n){"use strict";e.exports={afterRequest:n(816),beforeRequest:n(687),browser:n(939),cache:n(131),content:n(67),cookie:n(11),creator:n(934),entry:n(48),har:n(296),header:n(331),log:n(507),page:n(872),pageTimings:n(375),postData:n(271),query:n(458),request:n(352),response:n(685),timings:n(991)}},115:function(e,a,n){"use strict";var i=n(610);var r=n(417);var s=n(82).Buffer;var o=typeof setImmediate==="undefined"?process.nextTick:setImmediate;function paramsHaveRequestBody(e){return e.body||e.requestBodyStream||e.json&&typeof e.json!=="boolean"||e.multipart}function safeStringify(e,a){var n;try{n=JSON.stringify(e,a)}catch(r){n=i(e,a)}return n}function md5(e){return r.createHash("md5").update(e).digest("hex")}function isReadStream(e){return e.readable&&e.path&&e.mode}function toBase64(e){return s.from(e||"","utf8").toString("base64")}function copy(e){var a={};Object.keys(e).forEach(function(n){a[n]=e[n]});return a}function version(){var e=process.version.replace("v","").split(".");return{major:parseInt(e[0],10),minor:parseInt(e[1],10),patch:parseInt(e[2],10)}}a.paramsHaveRequestBody=paramsHaveRequestBody;a.safeStringify=safeStringify;a.md5=md5;a.isReadStream=isReadStream;a.toBase64=toBase64;a.copy=copy;a.version=version;a.defer=o},117:function(e,a,n){var i=n(347).BigInteger;var r=i.prototype.Barrett;function ECFieldElementFp(e,a){this.x=a;this.q=e}function feFpEquals(e){if(e==this)return true;return this.q.equals(e.q)&&this.x.equals(e.x)}function feFpToBigInteger(){return this.x}function feFpNegate(){return new ECFieldElementFp(this.q,this.x.negate().mod(this.q))}function feFpAdd(e){return new ECFieldElementFp(this.q,this.x.add(e.toBigInteger()).mod(this.q))}function feFpSubtract(e){return new ECFieldElementFp(this.q,this.x.subtract(e.toBigInteger()).mod(this.q))}function feFpMultiply(e){return new ECFieldElementFp(this.q,this.x.multiply(e.toBigInteger()).mod(this.q))}function feFpSquare(){return new ECFieldElementFp(this.q,this.x.square().mod(this.q))}function feFpDivide(e){return new ECFieldElementFp(this.q,this.x.multiply(e.toBigInteger().modInverse(this.q)).mod(this.q))}ECFieldElementFp.prototype.equals=feFpEquals;ECFieldElementFp.prototype.toBigInteger=feFpToBigInteger;ECFieldElementFp.prototype.negate=feFpNegate;ECFieldElementFp.prototype.add=feFpAdd;ECFieldElementFp.prototype.subtract=feFpSubtract;ECFieldElementFp.prototype.multiply=feFpMultiply;ECFieldElementFp.prototype.square=feFpSquare;ECFieldElementFp.prototype.divide=feFpDivide;function ECPointFp(e,a,n,r){this.curve=e;this.x=a;this.y=n;if(r==null){this.z=i.ONE}else{this.z=r}this.zinv=null}function pointFpGetX(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var e=this.x.toBigInteger().multiply(this.zinv);this.curve.reduce(e);return this.curve.fromBigInteger(e)}function pointFpGetY(){if(this.zinv==null){this.zinv=this.z.modInverse(this.curve.q)}var e=this.y.toBigInteger().multiply(this.zinv);this.curve.reduce(e);return this.curve.fromBigInteger(e)}function pointFpEquals(e){if(e==this)return true;if(this.isInfinity())return e.isInfinity();if(e.isInfinity())return this.isInfinity();var a,n;a=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q);if(!a.equals(i.ZERO))return false;n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);return n.equals(i.ZERO)}function pointFpIsInfinity(){if(this.x==null&&this.y==null)return true;return this.z.equals(i.ZERO)&&!this.y.toBigInteger().equals(i.ZERO)}function pointFpNegate(){return new ECPointFp(this.curve,this.x,this.y.negate(),this.z)}function pointFpAdd(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var a=e.y.toBigInteger().multiply(this.z).subtract(this.y.toBigInteger().multiply(e.z)).mod(this.curve.q);var n=e.x.toBigInteger().multiply(this.z).subtract(this.x.toBigInteger().multiply(e.z)).mod(this.curve.q);if(i.ZERO.equals(n)){if(i.ZERO.equals(a)){return this.twice()}return this.curve.getInfinity()}var r=new i("3");var s=this.x.toBigInteger();var o=this.y.toBigInteger();var t=e.x.toBigInteger();var c=e.y.toBigInteger();var p=n.square();var l=p.multiply(n);var u=s.multiply(p);var f=a.square().multiply(this.z);var m=f.subtract(u.shiftLeft(1)).multiply(e.z).subtract(l).multiply(n).mod(this.curve.q);var d=u.multiply(r).multiply(a).subtract(o.multiply(l)).subtract(f.multiply(a)).multiply(e.z).add(a.multiply(l)).mod(this.curve.q);var h=l.multiply(this.z).multiply(e.z).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(m),this.curve.fromBigInteger(d),h)}function pointFpTwice(){if(this.isInfinity())return this;if(this.y.toBigInteger().signum()==0)return this.curve.getInfinity();var e=new i("3");var a=this.x.toBigInteger();var n=this.y.toBigInteger();var r=n.multiply(this.z);var s=r.multiply(n).mod(this.curve.q);var o=this.curve.a.toBigInteger();var t=a.square().multiply(e);if(!i.ZERO.equals(o)){t=t.add(this.z.square().multiply(o))}t=t.mod(this.curve.q);var c=t.square().subtract(a.shiftLeft(3).multiply(s)).shiftLeft(1).multiply(r).mod(this.curve.q);var p=t.multiply(e).multiply(a).subtract(s.shiftLeft(1)).shiftLeft(2).multiply(s).subtract(t.square().multiply(t)).mod(this.curve.q);var l=r.square().multiply(r).shiftLeft(3).mod(this.curve.q);return new ECPointFp(this.curve,this.curve.fromBigInteger(c),this.curve.fromBigInteger(p),l)}function pointFpMultiply(e){if(this.isInfinity())return this;if(e.signum()==0)return this.curve.getInfinity();var a=e;var n=a.multiply(new i("3"));var r=this.negate();var s=this;var o;for(o=n.bitLength()-2;o>0;--o){s=s.twice();var t=n.testBit(o);var c=a.testBit(o);if(t!=c){s=s.add(t?this:r)}}return s}function pointFpMultiplyTwo(e,a,n){var i;if(e.bitLength()>n.bitLength())i=e.bitLength()-1;else i=n.bitLength()-1;var r=this.curve.getInfinity();var s=this.add(a);while(i>=0){r=r.twice();if(e.testBit(i)){if(n.testBit(i)){r=r.add(s)}else{r=r.add(this)}}else{if(n.testBit(i)){r=r.add(a)}}--i}return r}ECPointFp.prototype.getX=pointFpGetX;ECPointFp.prototype.getY=pointFpGetY;ECPointFp.prototype.equals=pointFpEquals;ECPointFp.prototype.isInfinity=pointFpIsInfinity;ECPointFp.prototype.negate=pointFpNegate;ECPointFp.prototype.add=pointFpAdd;ECPointFp.prototype.twice=pointFpTwice;ECPointFp.prototype.multiply=pointFpMultiply;ECPointFp.prototype.multiplyTwo=pointFpMultiplyTwo;function ECCurveFp(e,a,n){this.q=e;this.a=this.fromBigInteger(a);this.b=this.fromBigInteger(n);this.infinity=new ECPointFp(this,null,null);this.reducer=new r(this.q)}function curveFpGetQ(){return this.q}function curveFpGetA(){return this.a}function curveFpGetB(){return this.b}function curveFpEquals(e){if(e==this)return true;return this.q.equals(e.q)&&this.a.equals(e.a)&&this.b.equals(e.b)}function curveFpGetInfinity(){return this.infinity}function curveFpFromBigInteger(e){return new ECFieldElementFp(this.q,e)}function curveReduce(e){this.reducer.reduce(e)}function curveFpDecodePointHex(e){switch(parseInt(e.substr(0,2),16)){case 0:return this.infinity;case 2:case 3:return null;case 4:case 6:case 7:var a=(e.length-2)/2;var n=e.substr(2,a);var r=e.substr(a+2,a);return new ECPointFp(this,this.fromBigInteger(new i(n,16)),this.fromBigInteger(new i(r,16)));default:return null}}function curveFpEncodePointHex(e){if(e.isInfinity())return"00";var a=e.getX().toBigInteger().toString(16);var n=e.getY().toBigInteger().toString(16);var i=this.getQ().toString(16).length;if(i%2!=0)i++;while(a.length128){var a=this.q.shiftRight(e-64);if(a.intValue()==-1){this.r=i.ONE.shiftLeft(e).subtract(this.q)}}return this.r};ECFieldElementFp.prototype.modMult=function(e,a){return this.modReduce(e.multiply(a))};ECFieldElementFp.prototype.modReduce=function(e){if(this.getR()!=null){var a=q.bitLength();while(e.bitLength()>a+1){var n=e.shiftRight(a);var r=e.subtract(n.shiftLeft(a));if(!this.getR().equals(i.ONE)){n=n.multiply(this.getR())}e=n.add(r)}while(e.compareTo(q)>=0){e=e.subtract(q)}}else{e=e.mod(q)}return e};ECFieldElementFp.prototype.sqrt=function(){if(!this.q.testBit(0))throw"unsupported";if(this.q.testBit(1)){var e=new ECFieldElementFp(this.q,this.x.modPow(this.q.shiftRight(2).add(i.ONE),this.q));return e.square().equals(this)?e:null}var a=this.q.subtract(i.ONE);var n=a.shiftRight(1);if(!this.x.modPow(n,this.q).equals(i.ONE)){return null}var r=a.shiftRight(2);var s=r.shiftLeft(1).add(i.ONE);var o=this.x;var t=modDouble(modDouble(o));var c,p;do{var l;do{l=new i(this.q.bitLength(),new SecureRandom)}while(l.compareTo(this.q)>=0||!l.multiply(l).subtract(t).modPow(n,this.q).equals(a));var u=this.lucasSequence(l,o,s);c=u[0];p=u[1];if(this.modMult(p,p).equals(t)){if(p.testBit(0)){p=p.add(q)}p=p.shiftRight(1);return new ECFieldElementFp(q,p)}}while(c.equals(i.ONE)||c.equals(a));return null};ECFieldElementFp.prototype.lucasSequence=function(e,a,n){var r=n.bitLength();var s=n.getLowestSetBit();var o=i.ONE;var t=i.TWO;var c=e;var p=i.ONE;var l=i.ONE;for(var u=r-1;u>=s+1;--u){p=this.modMult(p,l);if(n.testBit(u)){l=this.modMult(p,a);o=this.modMult(o,c);t=this.modReduce(c.multiply(t).subtract(e.multiply(p)));c=this.modReduce(c.multiply(c).subtract(l.shiftLeft(1)))}else{l=p;o=this.modReduce(o.multiply(t).subtract(p));c=this.modReduce(c.multiply(t).subtract(e.multiply(p)));t=this.modReduce(t.multiply(t).subtract(p.shiftLeft(1)))}}p=this.modMult(p,l);l=this.modMult(p,a);o=this.modReduce(o.multiply(t).subtract(p));t=this.modReduce(c.multiply(t).subtract(e.multiply(p)));p=this.modMult(p,l);for(var u=1;u<=s;++u){o=this.modMult(o,t);t=this.modReduce(t.multiply(t).subtract(p.shiftLeft(1)));p=this.modMult(p,p)}return[o,t]};var s={ECCurveFp:ECCurveFp,ECPointFp:ECPointFp,ECFieldElementFp:ECFieldElementFp};e.exports=s},119:function(e,a,n){var i=n(444);e.exports={Ber:i,BerReader:i.Reader,BerWriter:i.Writer}},129:function(e){e.exports=require("child_process")},131:function(e){e.exports={$id:"cache.json#",$schema:"http://json-schema.org/draft-06/schema#",properties:{beforeRequest:{oneOf:[{type:"null"},{$ref:"beforeRequest.json#"}]},afterRequest:{oneOf:[{type:"null"},{$ref:"afterRequest.json#"}]},comment:{type:"string"}}}},134:function(e,a,n){e.exports={Verifier:Verifier,Signer:Signer};var i=n(664);var r=n(413);var s=n(669);var o=n(521);var t=n(108).Buffer;var c=n(186);function Verifier(e,a){if(a.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=e;this.chunks=[];r.Writable.call(this,{})}s.inherits(Verifier,r.Writable);Verifier.prototype._write=function(e,a,n){this.chunks.push(e);n()};Verifier.prototype.update=function(e){if(typeof e==="string")e=t.from(e,"binary");this.chunks.push(e)};Verifier.prototype.verify=function(e,a){var n;if(c.isSignature(e,[2,0])){if(e.type!=="ed25519")return false;n=e.toBuffer("raw")}else if(typeof e==="string"){n=t.from(e,"base64")}else if(c.isSignature(e,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}o.buffer(n);return i.sign.detached.verify(new Uint8Array(t.concat(this.chunks)),new Uint8Array(n),new Uint8Array(this.key.part.A.data))};function Signer(e,a){if(a.toLowerCase()!=="sha512")throw new Error("ED25519 only supports the use of "+"SHA-512 hashes");this.key=e;this.chunks=[];r.Writable.call(this,{})}s.inherits(Signer,r.Writable);Signer.prototype._write=function(e,a,n){this.chunks.push(e);n()};Signer.prototype.update=function(e){if(typeof e==="string")e=t.from(e,"binary");this.chunks.push(e)};Signer.prototype.sign=function(){var e=i.sign.detached(new Uint8Array(t.concat(this.chunks)),new Uint8Array(t.concat([this.key.part.k.data,this.key.part.A.data])));var a=t.from(e);var n=c.parse(a,"ed25519","raw");n.hashAlgorithm="sha512";return n}},142:function(e,a,n){"use strict";var i=n(713);var r=Object.prototype.hasOwnProperty;var s={allowDots:false,allowPrototypes:false,arrayLimit:20,decoder:i.decode,delimiter:"&",depth:5,parameterLimit:1e3,plainObjects:false,strictNullHandling:false};var o=function parseQueryStringValues(e,a){var n={};var i=a.ignoreQueryPrefix?e.replace(/^\?/,""):e;var o=a.parameterLimit===Infinity?undefined:a.parameterLimit;var t=i.split(a.delimiter,o);for(var c=0;c=0;--r){var s;var o=e[r];if(o==="[]"){s=[];s=s.concat(i)}else{s=n.plainObjects?Object.create(null):{};var t=o.charAt(0)==="["&&o.charAt(o.length-1)==="]"?o.slice(1,-1):o;var c=parseInt(t,10);if(!isNaN(c)&&o!==t&&String(c)===t&&c>=0&&(n.parseArrays&&c<=n.arrayLimit)){s=[];s[c]=i}else{s[t]=i}}i=s}return i};var c=function parseQueryStringKeys(e,a,n){if(!e){return}var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;var s=/(\[[^[\]]*])/;var o=/(\[[^[\]]*])/g;var c=s.exec(i);var p=c?i.slice(0,c.index):i;var l=[];if(p){if(!n.plainObjects&&r.call(Object.prototype,p)){if(!n.allowPrototypes){return}}l.push(p)}var u=0;while((c=o.exec(i))!==null&&u=0);for(o in e){s=n.slice(0);s.push(o);doFlattenIter(e[o],a-1,s,r)}}function flattenObject(e,a){if(a===0)return[e];i.ok(e!==null);i.equal(typeof e,"object");i.equal(typeof a,"number");i.ok(a>=0);var n=[];var r;for(r in e){flattenObject(e[r],a-1).forEach(function(e){n.push([r].concat(e))})}return n}function startsWith(e,a){return e.substr(0,a.length)==a}function endsWith(e,a){return e.substr(e.length-a.length,a.length)==a}function iso8601(e){if(typeof e=="number")e=new Date(e);i.ok(e.constructor===Date);return s.sprintf("%4d-%02d-%02dT%02d:%02d:%02d.%03dZ",e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}var c=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var p=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function rfc1123(e){return s.sprintf("%s, %02d %s %04d %02d:%02d:%02d GMT",p[e.getUTCDay()],e.getUTCDate(),c[e.getUTCMonth()],e.getUTCFullYear(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())}function parseDateTime(e){var a=+e;if(!isNaN(a)){return new Date(a)}else{return new Date(e)}}var l=Number.MAX_SAFE_INTEGER||9007199254740991;var u=Number.MIN_SAFE_INTEGER||-9007199254740991;var f={base:10,allowSign:true,allowPrefix:false,allowTrailing:false,allowImprecise:false,trimWhitespace:false,leadingZeroIsOctal:false};var m=48;var d=57;var h=65;var v=66;var g=79;var b=84;var y=88;var k=90;var x=97;var w=98;var j=111;var F=116;var E=120;var z=122;var A=48;var C=55;var S=87;function parseInteger(e,a){i.string(e,"str");i.optionalObject(a,"options");var n=false;var r=f;if(a){n=hasKey(a,"base");r=mergeObjects(r,a);i.number(r.base,"options.base");i.ok(r.base>=2,"options.base >= 2");i.ok(r.base<=36,"options.base <= 36");i.bool(r.allowSign,"options.allowSign");i.bool(r.allowPrefix,"options.allowPrefix");i.bool(r.allowTrailing,"options.allowTrailing");i.bool(r.allowImprecise,"options.allowImprecise");i.bool(r.trimWhitespace,"options.trimWhitespace");i.bool(r.leadingZeroIsOctal,"options.leadingZeroIsOctal");if(r.leadingZeroIsOctal){i.ok(!n,'"base" and "leadingZeroIsOctal" are '+"mutually exclusive")}}var s;var o=-1;var t=r.base;var c;var p=1;var m=0;var d=0;var h=e.length;if(r.trimWhitespace){while(dl||v=m&&e<=d){return e-A}else if(e>=h&&e<=k){return e-C}else if(e>=x&&e<=z){return e-S}else{return-1}}function isSpace(e){return e===32||e>=9&&e<=13||e===160||e===5760||e===6158||e>=8192&&e<=8202||e===8232||e===8233||e===8239||e===8287||e===12288||e===65279}function prefixToBase(e){if(e===w||e===v){return 2}else if(e===j||e===g){return 8}else if(e===F||e===b){return 10}else if(e===E||e===y){return 16}else{return-1}}function validateJsonObjectJS(e,a){var n=t.validate(a,e);if(n.errors.length===0)return null;var i=n.errors[0];var r=i["property"];var s=i["message"].toLowerCase();var c,p;if((c=s.indexOf("the property "))!=-1&&(p=s.indexOf(" is not defined in the schema and the "+"schema does not allow additional properties"))!=-1){c+="the property ".length;if(r==="")r=s.substr(c,p-c);else r=r+"."+s.substr(c,p-c);s="unsupported property"}var l=new o.VError('property "%s": %s',r,s);l.jsv_details=i;return l}function randElt(e){i.ok(Array.isArray(e)&&e.length>0,"randElt argument must be a non-empty array");return e[Math.floor(Math.random()*e.length)]}function assertHrtime(e){i.ok(e[0]>=0&&e[1]>=0,"negative numbers not allowed in hrtimes");i.ok(e[1]<1e9,"nanoseconds column overflow")}function hrtimeDiff(e,a){assertHrtime(e);assertHrtime(a);i.ok(e[0]>a[0]||e[0]==a[0]&&e[1]>=a[1],"negative differences not allowed");var n=[e[0]-a[0],0];if(e[1]>=a[1]){n[1]=e[1]-a[1]}else{n[0]--;n[1]=1e9-(a[1]-e[1])}return n}function hrtimeNanosec(e){assertHrtime(e);return Math.floor(e[0]*1e9+e[1])}function hrtimeMicrosec(e){assertHrtime(e);return Math.floor(e[0]*1e6+e[1]/1e3)}function hrtimeMillisec(e){assertHrtime(e);return Math.floor(e[0]*1e3+e[1]/1e6)}function hrtimeAccum(e,a){assertHrtime(e);assertHrtime(a);e[1]+=a[1];if(e[1]>=1e9){e[0]++;e[1]-=1e9}e[0]+=a[0];return e}function hrtimeAdd(e,a){assertHrtime(e);var n=[e[0],e[1]];return hrtimeAccum(n,a)}function extraProperties(e,a){i.ok(typeof e==="object"&&e!==null,"obj argument must be a non-null object");i.ok(Array.isArray(a),"allowed argument must be an array of strings");for(var n=0;n8){i+=" || validate.schema"+t+".hasOwnProperty("+h+") "}else{var T=k;if(T){var O,R=-1,D=T.length-1;while(R0:e.util.schemaHasRules($,e.RULES.all)){var ee=e.util.getProperty(O),X=l+ee,ae=Z&&$.default!==undefined;f.schema=$;f.schemaPath=t+ee;f.errSchemaPath=c+"/"+e.util.escapeFragment(O);f.errorPath=e.util.getPath(e.errorPath,O,e.opts.jsonPointers);f.dataPathArr[g]=e.util.toQuotedString(O);var Y=e.validate(f);f.baseId=B;if(e.util.varOccurences(Y,b)<2){Y=e.util.varReplace(Y,b,X);var ne=X}else{var ne=b;i+=" var "+b+" = "+X+"; "}if(ae){i+=" "+Y+" "}else{if(I&&I[O]){i+=" if ( "+ne+" === undefined ";if(S){i+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "}i+=") { "+d+" = false; ";var L=e.errorPath,Q=c,ie=e.util.escapeQuotes(O);if(e.opts._errorDataPathProperty){e.errorPath=e.util.getPath(L,O,e.opts.jsonPointers)}c=e.errSchemaPath+"/required";var G=G||[];G.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+"required"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { missingProperty: '"+ie+"' } ";if(e.opts.messages!==false){i+=" , message: '";if(e.opts._errorDataPathProperty){i+="is a required property"}else{i+="should have required property \\'"+ie+"\\'"}i+="' "}if(e.opts.verbose){i+=" , schema: validate.schema"+t+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}var J=i;i=G.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+J+"]); "}else{i+=" validate.errors = ["+J+"]; return false; "}}else{i+=" var err = "+J+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}c=Q;e.errorPath=L;i+=" } else { "}else{if(p){i+=" if ( "+ne+" === undefined ";if(S){i+=" || ! Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "}i+=") { "+d+" = true; } else { "}else{i+=" if ("+ne+" !== undefined ";if(S){i+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(O)+"') "}i+=" ) { "}}i+=" "+Y+" } "}}if(p){i+=" if ("+d+") { ";m+="}"}}}}if(w.length){var re=w;if(re){var H,se=-1,oe=re.length-1;while(se0:e.util.schemaHasRules($,e.RULES.all)){f.schema=$;f.schemaPath=e.schemaPath+".patternProperties"+e.util.getProperty(H);f.errSchemaPath=e.errSchemaPath+"/patternProperties/"+e.util.escapeFragment(H);if(S){i+=" "+y+" = "+y+" || Object.keys("+l+"); for (var "+v+"=0; "+v+"<"+y+".length; "+v+"++) { var "+h+" = "+y+"["+v+"]; "}else{i+=" for (var "+h+" in "+l+") { "}i+=" if ("+e.usePattern(H)+".test("+h+")) { ";f.errorPath=e.util.getPathExpr(e.errorPath,h,e.opts.jsonPointers);var X=l+"["+h+"]";f.dataPathArr[g]=h;var Y=e.validate(f);f.baseId=B;if(e.util.varOccurences(Y,b)<2){i+=" "+e.util.varReplace(Y,b,X)+" "}else{i+=" var "+b+" = "+X+"; "+Y+" "}if(p){i+=" if (!"+d+") break; "}i+=" } ";if(p){i+=" else "+d+" = true; "}i+=" } ";if(p){i+=" if ("+d+") { ";m+="}"}}}}}if(p){i+=" "+m+" if ("+u+" == errors) {"}return i}},163:function(e,a,n){e.exports={read:read,readPkcs1:readPkcs1,write:write,writePkcs1:writePkcs1};var i=n(521);var r=n(119);var s=n(108).Buffer;var o=n(556);var t=n(372);var c=n(866);var p=n(381);var l=n(925);var u=n(945);var f=u.readECDSACurve;function read(e,a){return l.read(e,a,"pkcs1")}function write(e,a){return l.write(e,a,"pkcs1")}function readMPInt(e,a){i.strictEqual(e.peek(),r.Ber.Integer,a+" is not an Integer");return t.mpNormalize(e.readString(r.Ber.Integer,true))}function readPkcs1(e,a,n){switch(e){case"RSA":if(a==="public")return readPkcs1RSAPublic(n);else if(a==="private")return readPkcs1RSAPrivate(n);throw new Error("Unknown key type: "+a);case"DSA":if(a==="public")return readPkcs1DSAPublic(n);else if(a==="private")return readPkcs1DSAPrivate(n);throw new Error("Unknown key type: "+a);case"EC":case"ECDSA":if(a==="private")return readPkcs1ECDSAPrivate(n);else if(a==="public")return readPkcs1ECDSAPublic(n);throw new Error("Unknown key type: "+a);case"EDDSA":case"EdDSA":if(a==="private")return readPkcs1EdDSAPrivate(n);throw new Error(a+" keys not supported with EdDSA");default:throw new Error("Unknown key algo: "+e)}}function readPkcs1RSAPublic(e){var a=readMPInt(e,"modulus");var n=readMPInt(e,"exponent");var i={type:"rsa",parts:[{name:"e",data:n},{name:"n",data:a}]};return new c(i)}function readPkcs1RSAPrivate(e){var a=readMPInt(e,"version");i.strictEqual(a[0],0);var n=readMPInt(e,"modulus");var r=readMPInt(e,"public exponent");var s=readMPInt(e,"private exponent");var o=readMPInt(e,"prime1");var t=readMPInt(e,"prime2");var c=readMPInt(e,"exponent1");var l=readMPInt(e,"exponent2");var u=readMPInt(e,"iqmp");var f={type:"rsa",parts:[{name:"n",data:n},{name:"e",data:r},{name:"d",data:s},{name:"iqmp",data:u},{name:"p",data:o},{name:"q",data:t},{name:"dmodp",data:c},{name:"dmodq",data:l}]};return new p(f)}function readPkcs1DSAPrivate(e){var a=readMPInt(e,"version");i.strictEqual(a.readUInt8(0),0);var n=readMPInt(e,"p");var r=readMPInt(e,"q");var s=readMPInt(e,"g");var o=readMPInt(e,"y");var t=readMPInt(e,"x");var c={type:"dsa",parts:[{name:"p",data:n},{name:"q",data:r},{name:"g",data:s},{name:"y",data:o},{name:"x",data:t}]};return new p(c)}function readPkcs1EdDSAPrivate(e){var a=readMPInt(e,"version");i.strictEqual(a.readUInt8(0),1);var n=e.readString(r.Ber.OctetString,true);e.readSequence(160);var s=e.readOID();i.strictEqual(s,"1.3.101.112","the ed25519 curve identifier");e.readSequence(161);var o=t.readBitString(e);var c={type:"ed25519",parts:[{name:"A",data:t.zeroPadToLength(o,32)},{name:"k",data:n}]};return new p(c)}function readPkcs1DSAPublic(e){var a=readMPInt(e,"y");var n=readMPInt(e,"p");var i=readMPInt(e,"q");var r=readMPInt(e,"g");var s={type:"dsa",parts:[{name:"y",data:a},{name:"p",data:n},{name:"q",data:i},{name:"g",data:r}]};return new c(s)}function readPkcs1ECDSAPublic(e){e.readSequence();var a=e.readOID();i.strictEqual(a,"1.2.840.10045.2.1","must be ecPublicKey");var n=e.readOID();var p;var l=Object.keys(o.curves);for(var u=0;ua?1:0}function descending(e,a){return-1*ascending(e,a)}},181:function(e){"use strict";e.exports=function generate__limitProperties(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l;var u="data"+(s||"");var f=e.opts.$data&&o&&o.$data,m;if(f){i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ";m="schema"+r}else{m=o}if(!(f||typeof o=="number")){throw new Error(a+" must be number")}var d=a=="maxProperties"?">":"<";i+="if ( ";if(f){i+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}i+=" Object.keys("+u+").length "+d+" "+m+") { ";var l=a;var h=h||[];h.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+(l||"_limitProperties")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+m+" } ";if(e.opts.messages!==false){i+=" , message: 'should NOT have ";if(a=="maxProperties"){i+="more"}else{i+="fewer"}i+=" than ";if(f){i+="' + "+m+" + '"}else{i+=""+o}i+=" properties' "}if(e.opts.verbose){i+=" , schema: ";if(f){i+="validate.schema"+t}else{i+=""+o}i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}i+=" } "}else{i+=" {} "}var v=i;i=h.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+v+"]); "}else{i+=" validate.errors = ["+v+"]; return false; "}}else{i+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+="} ";if(p){i+=" else { "}return i}},182:function(e,a,n){"use strict";var i=n(218);e.exports={Validation:errorSubclass(ValidationError),MissingRef:errorSubclass(MissingRefError)};function ValidationError(e){this.message="validation failed";this.errors=e;this.ajv=this.validation=true}MissingRefError.message=function(e,a){return"can't resolve reference "+a+" from id "+e};function MissingRefError(e,a,n){this.message=n||MissingRefError.message(e,a);this.missingRef=i.url(e,a);this.missingSchema=i.normalizeId(i.fullPath(this.missingRef))}function errorSubclass(e){e.prototype=Object.create(Error.prototype);e.prototype.constructor=e;return e}},183:function(e,a,n){"use strict";var i=n(770);function getPublicSuffix(e){return i.get(e)}a.getPublicSuffix=getPublicSuffix},186:function(e,a,n){e.exports=Signature;var i=n(521);var r=n(108).Buffer;var s=n(556);var o=n(417);var t=n(295);var c=n(372);var p=n(119);var l=n(672);var u=t.InvalidAlgorithmError;var f=t.SignatureParseError;function Signature(e){i.object(e,"options");i.arrayOfObject(e.parts,"options.parts");i.string(e.type,"options.type");var a={};for(var n=0;n20&&s[0]===0)s=s.slice(1);o=this.part.s.data;if(o.length>20&&o[0]===0)o=o.slice(1);if(this.hashAlgorithm&&this.hashAlgorithm!=="sha1"||s.length+o.length!==40){throw new Error("OpenSSH only supports "+"DSA signatures with SHA1 hash")}a.writeBuffer(r.concat([s,o]));return a.toBuffer()}else if(e==="ssh"&&this.type==="ecdsa"){var u=new l({});s=this.part.r.data;u.writeBuffer(s);u.writePart(this.part.s);a=new l({});var f;if(s[0]===0)s=s.slice(1);var m=s.length*8;if(m===256)f="nistp256";else if(m===384)f="nistp384";else if(m===528)f="nistp521";a.writeString("ecdsa-sha2-"+f);a.writeBuffer(u.toBuffer());return a.toBuffer()}throw new Error("Invalid signature format");default:throw new Error("Invalid signature data")}};Signature.prototype.toString=function(e){i.optionalString(e,"format");return this.toBuffer(e).toString("base64")};Signature.parse=function(e,a,n){if(typeof e==="string")e=r.from(e,"base64");i.buffer(e,"data");i.string(n,"format");i.string(a,"type");var s={};s.type=a.toLowerCase();s.parts=[];try{i.ok(e.length>0,"signature must not be empty");switch(s.type){case"rsa":return parseOneNum(e,a,n,s);case"ed25519":return parseOneNum(e,a,n,s);case"dsa":case"ecdsa":if(n==="asn1")return parseDSAasn1(e,a,n,s);else if(s.type==="dsa")return parseDSA(e,a,n,s);else return parseECDSA(e,a,n,s);default:throw new u(a)}}catch(e){if(e instanceof u)throw e;throw new f(a,n,e)}};function parseOneNum(e,a,n,r){if(n==="ssh"){try{var s=new l({buffer:e});var o=s.readString()}catch(e){}if(s!==undefined){var t="SSH signature does not match expected "+"type (expected "+a+", got "+o+")";switch(o){case"ssh-rsa":i.strictEqual(a,"rsa",t);r.hashAlgo="sha1";break;case"rsa-sha2-256":i.strictEqual(a,"rsa",t);r.hashAlgo="sha256";break;case"rsa-sha2-512":i.strictEqual(a,"rsa",t);r.hashAlgo="sha512";break;case"ssh-ed25519":i.strictEqual(a,"ed25519",t);r.hashAlgo="sha512";break;default:throw new Error("Unknown SSH signature "+"type: "+o)}var c=s.readPart();i.ok(s.atEnd(),"extra trailing bytes");c.name="sig";r.parts.push(c);return new Signature(r)}}r.parts.push({name:"sig",data:e});return new Signature(r)}function parseDSAasn1(e,a,n,i){var r=new p.BerReader(e);r.readSequence();var s=r.readString(p.Ber.Integer,true);var o=r.readString(p.Ber.Integer,true);i.parts.push({name:"r",data:c.mpNormalize(s)});i.parts.push({name:"s",data:c.mpNormalize(o)});return new Signature(i)}function parseDSA(e,a,n,r){if(e.length!=40){var s=new l({buffer:e});var o=s.readBuffer();if(o.toString("ascii")==="ssh-dss")o=s.readBuffer();i.ok(s.atEnd(),"extra trailing bytes");i.strictEqual(o.length,40,"invalid inner length");e=o}r.parts.push({name:"r",data:e.slice(0,20)});r.parts.push({name:"s",data:e.slice(20,40)});return new Signature(r)}function parseECDSA(e,a,n,r){var s=new l({buffer:e});var o,t;var c=s.readBuffer();var p=c.toString("ascii");if(p.slice(0,6)==="ecdsa-"){var u=p.split("-");i.strictEqual(u[0],"ecdsa");i.strictEqual(u[1],"sha2");r.curve=u[2];switch(r.curve){case"nistp256":r.hashAlgo="sha256";break;case"nistp384":r.hashAlgo="sha384";break;case"nistp521":r.hashAlgo="sha512";break;default:throw new Error("Unsupported ECDSA curve: "+r.curve)}c=s.readBuffer();i.ok(s.atEnd(),"extra trailing bytes on outer");s=new l({buffer:c});o=s.readPart()}else{o={data:c}}t=s.readPart();i.ok(s.atEnd(),"extra trailing bytes");o.name="r";t.name="s";r.parts.push(o);r.parts.push(t);return new Signature(r)}Signature.isSignature=function(e,a){return c.isCompatible(e,Signature,a)};Signature.prototype._sshpkApiVersion=[2,1];Signature._oldVersionDetect=function(e){i.func(e.toBuffer);if(e.hasOwnProperty("hashAlgorithm"))return[2,0];return[1,0]}},187:function(e,a,n){"use strict";var i=this&&this.__await||function(e){return this instanceof i?(this.v=e,this):new i(e)};var r=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=e[Symbol.asyncIterator],n;return a?a.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),n={},verb("next"),verb("throw"),verb("return"),n[Symbol.asyncIterator]=function(){return this},n);function verb(a){n[a]=e[a]&&function(n){return new Promise(function(i,r){n=e[a](n),settle(i,r,n.done,n.value)})}}function settle(e,a,n,i){Promise.resolve(i).then(function(a){e({value:a,done:n})},a)}};var s=this&&this.__asyncDelegator||function(e){var a,n;return a={},verb("next"),verb("throw",function(e){throw e}),verb("return"),a[Symbol.iterator]=function(){return this},a;function verb(r,s){a[r]=e[r]?function(a){return(n=!n)?{value:i(e[r](a)),done:r==="return"}:s?s(a):a}:s}};var o=this&&this.__asyncGenerator||function(e,a,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=n.apply(e,a||[]),s,o=[];return s={},verb("next"),verb("throw"),verb("return"),s[Symbol.asyncIterator]=function(){return this},s;function verb(e){if(r[e])s[e]=function(a){return new Promise(function(n,i){o.push([e,a,n,i])>1||resume(e,a)})}}function resume(e,a){try{step(r[e](a))}catch(e){settle(o[0][3],e)}}function step(e){e.value instanceof i?Promise.resolve(e.value.v).then(fulfill,reject):settle(o[0][2],e)}function fulfill(e){resume("next",e)}function reject(e){resume("throw",e)}function settle(e,a){if(e(a),o.shift(),o.length)resume(o[0][0],o[0][1])}};var t=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))a[n]=e[n];a["default"]=e;return a};var c=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:true});const p=t(n(576));const l=n(747);const u=n(747);const f=c(n(622));const m=c(n(669));const d=n(129);const h=n(765);const v=n(937);const g=m.default.promisify(d.exec);const b=h.env["TEMP"]+"\\cert.pem";const y=h.env["TEMP"]+"\\signtool.exe";const k=h.env["TEMP"]+"\\creds.json";const x="http://timestamp.digicert.com";const w=h.env["TEMP"]+"\\tosign.txt";const j=[".dll",".exe",".sys",".vxd",".msix",".msixbundle",".appx",".appxbundle",".msi",".msp",".msm",".cab",".ps1",".psm1"];function sleep(e){if(e>0)console.log(`Waiting for ${e} seconds.`);return new Promise(a=>setTimeout(a,e*1e3))}async function createCertificate(){const e=p.getInput("certificate");const a=Buffer.from(e,"base64");if(a.length==0){console.log('The value for "certificate" is not set.');return false}console.log(`Writing ${a.length} bytes to ${b}.`);await l.promises.writeFile(b,a);return true}async function createCredentials(){const e=p.getInput("credentials");const a=Buffer.from(e,"base64");if(a.length==0){console.log('The value for "credentials" is not set.');return false}console.log(`Writing ${a.length} bytes to ${k}.`);await l.promises.writeFile(k,a);return true}function downloadCloudSignTool(){if(u.existsSync(y)){return}console.log(`Downloading signtool.exe.`);v("https://github.com/nextgens/CloudSignTool/releases/download/1.0.0/SignTool.exe").pipe(u.createWriteStream(y))}async function signWithCloudSigntool(){try{const{stdout:e}=await g(`"${y}" sign -kac "${k}" -ac "${b}" -tr "${x}" -k "${p.getInput("key-uri")}" -ph -ifl "${w}"`);console.log(e);return true}catch(e){console.log(e.stdout);console.log(e.stderr);return false}}function getFiles(e,a){return o(this,arguments,function*getFiles_1(){const n=yield i(l.promises.readdir(e));for(const o of n){const n=`${e}/${o}`;const t=yield i(l.promises.stat(n));if(t.isFile()){const e=f.default.extname(o);if(j.includes(e))yield yield i(n)}else if(t.isDirectory()&&a){yield i(yield*s(r(getFiles(n,a))))}}})}async function signFiles(){var e,a;const n=p.getInput("folder",{required:true});const i=p.getInput("recursive")=="true";console.log(`Getting ready to sign the following files:`);let s=[];try{for(var o=r(getFiles(n,i)),t;t=await o.next(),!t.done;){const e=t.value;console.log(` ${e}`);s.push(e)}}catch(a){e={error:a}}finally{try{if(t&&!t.done&&(a=o.return))await a.call(o)}finally{if(e)throw e.error}}if(s.length>0){await l.promises.writeFile(w,s.join("\r\n"));console.log(`Getting ready to talk to the cloud.`);for(let e=0;e<10;e++){await sleep(e);if(await signWithCloudSigntool()){return}}throw`Failed to sign`}}async function run(){try{await createCredentials();downloadCloudSignTool();if(await createCertificate())await signFiles()}catch(e){p.setFailed(`Action failed with error: ${e}`)}u.unlinkSync(k)}run()},190:function(e,a,n){e.exports={read:read,write:write};var i=n(521);var r=n(108).Buffer;var s=n(732);var o=n(866);var t=n(295);function read(e,a){var n=e.toString("ascii").split(/[\r\n]+/);var o=false;var t;var c=0;while(cn.length){throw new Error("Invalid public-lines count")}var f=r.from(n.slice(c,c+u).join(""),"base64");var m=s.algToKeyType(p);var d=s.read(f);if(d.type!==m){throw new Error("Outer key algorithm mismatch")}d.comment=l;return d}function splitHeader(e){var a=e.indexOf(":");if(a===-1)return null;var n=e.slice(0,a);++a;while(e[a]===" ")++a;var i=e.slice(a);return[n,i]}function write(e,a){i.object(e);if(!o.isKey(e))throw new Error("Must be a public key");var n=s.keyTypeToAlg(e);var t=s.write(e);var c=e.comment||"";var p=t.toString("base64");var l=wrap(p,64);l.unshift("Public-Lines: "+l.length);l.unshift("Comment: "+c);l.unshift("Encryption: none");l.unshift("PuTTY-User-Key-File-2: "+n);return r.from(l.join("\n")+"\n")}function wrap(e,a){var n=[];var i=0;while(i=0&&this.region==="us-east-1")return true;return["cloudfront","ls","route53","iam","importexport","sts"].indexOf(this.service)>=0};RequestSigner.prototype.createHost=function(){var e=this.isSingleRegion()?"":"."+this.region,a=this.service==="ses"?"email":this.service;return a+e+".amazonaws.com"};RequestSigner.prototype.prepareRequest=function(){this.parsePath();var e=this.request,a=e.headers,n;if(e.signQuery){this.parsedPath.query=n=this.parsedPath.query||{};if(this.credentials.sessionToken)n["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!n["X-Amz-Expires"])n["X-Amz-Expires"]=86400;if(n["X-Amz-Date"])this.datetime=n["X-Amz-Date"];else n["X-Amz-Date"]=this.getDateTime();n["X-Amz-Algorithm"]="AWS4-HMAC-SHA256";n["X-Amz-Credential"]=this.credentials.accessKeyId+"/"+this.credentialString();n["X-Amz-SignedHeaders"]=this.signedHeaders()}else{if(!e.doNotModifyHeaders&&!this.isCodeCommitGit){if(e.body&&!a["Content-Type"]&&!a["content-type"])a["Content-Type"]="application/x-www-form-urlencoded; charset=utf-8";if(e.body&&!a["Content-Length"]&&!a["content-length"])a["Content-Length"]=Buffer.byteLength(e.body);if(this.credentials.sessionToken&&!a["X-Amz-Security-Token"]&&!a["x-amz-security-token"])a["X-Amz-Security-Token"]=this.credentials.sessionToken;if(this.service==="s3"&&!a["X-Amz-Content-Sha256"]&&!a["x-amz-content-sha256"])a["X-Amz-Content-Sha256"]=hash(this.request.body||"","hex");if(a["X-Amz-Date"]||a["x-amz-date"])this.datetime=a["X-Amz-Date"]||a["x-amz-date"];else a["X-Amz-Date"]=this.getDateTime()}delete a.Authorization;delete a.authorization}};RequestSigner.prototype.sign=function(){if(!this.parsedPath)this.prepareRequest();if(this.request.signQuery){this.parsedPath.query["X-Amz-Signature"]=this.signature()}else{this.request.headers.Authorization=this.authHeader()}this.request.path=this.formatPath();return this.request};RequestSigner.prototype.getDateTime=function(){if(!this.datetime){var e=this.request.headers,a=new Date(e.Date||e.date||new Date);this.datetime=a.toISOString().replace(/[:\-]|\.\d{3}/g,"");if(this.isCodeCommitGit)this.datetime=this.datetime.slice(0,-1)}return this.datetime};RequestSigner.prototype.getDate=function(){return this.getDateTime().substr(0,8)};RequestSigner.prototype.authHeader=function(){return["AWS4-HMAC-SHA256 Credential="+this.credentials.accessKeyId+"/"+this.credentialString(),"SignedHeaders="+this.signedHeaders(),"Signature="+this.signature()].join(", ")};RequestSigner.prototype.signature=function(){var e=this.getDate(),a=[this.credentials.secretAccessKey,e,this.region,this.service].join(),n,i,r,s=c.get(a);if(!s){n=hmac("AWS4"+this.credentials.secretAccessKey,e);i=hmac(n,this.region);r=hmac(i,this.service);s=hmac(r,"aws4_request");c.set(a,s)}return hmac(s,this.stringToSign(),"hex")};RequestSigner.prototype.stringToSign=function(){return["AWS4-HMAC-SHA256",this.getDateTime(),this.credentialString(),hash(this.canonicalString(),"hex")].join("\n")};RequestSigner.prototype.canonicalString=function(){if(!this.parsedPath)this.prepareRequest();var e=this.parsedPath.path,a=this.parsedPath.query,n=this.request.headers,i="",r=this.service!=="s3",s=this.service==="s3"||this.request.doNotEncodePath,o=this.service==="s3",t=this.service==="s3",c;if(this.service==="s3"&&this.request.signQuery){c="UNSIGNED-PAYLOAD"}else if(this.isCodeCommitGit){c=""}else{c=n["X-Amz-Content-Sha256"]||n["x-amz-content-sha256"]||hash(this.request.body||"","hex")}if(a){var p=Object.keys(a).reduce(function(e,n){if(!n)return e;e[encodeRfc3986Full(n)]=!Array.isArray(a[n])?a[n]:t?a[n][0]:a[n];return e},{});var l=[];Object.keys(p).sort().forEach(function(e){if(!Array.isArray(p[e])){l.push(e+"="+encodeRfc3986Full(p[e]))}else{p[e].map(encodeRfc3986Full).sort().forEach(function(a){l.push(e+"="+a)})}});i=l.join("&")}if(e!=="/"){if(r)e=e.replace(/\/{2,}/g,"/");e=e.split("/").reduce(function(e,a){if(r&&a===".."){e.pop()}else if(!r||a!=="."){if(s)a=decodeURIComponent(a).replace(/\+/g," ");e.push(encodeRfc3986Full(a))}return e},[]).join("/");if(e[0]!=="/")e="/"+e;if(o)e=e.replace(/%2F/g,"/")}return[this.request.method||"GET",e,i,this.canonicalHeaders()+"\n",this.signedHeaders(),c].join("\n")};RequestSigner.prototype.canonicalHeaders=function(){var e=this.request.headers;function trimAll(e){return e.toString().trim().replace(/\s+/g," ")}return Object.keys(e).sort(function(e,a){return e.toLowerCase()=0){n=s.parse(e.slice(a+1));e=e.slice(0,a)}this.parsedPath={path:e,query:n}};RequestSigner.prototype.formatPath=function(){var e=this.parsedPath.path,a=this.parsedPath.query;if(!a)return e;if(a[""]!=null)delete a[""];return e+"?"+encodeRfc3986(s.stringify(a))};i.RequestSigner=RequestSigner;i.sign=function(e,a){return new RequestSigner(e,a).sign()}},206:function(e){"use strict";var a=e.exports=function(e,a,n){if(typeof a=="function"){n=a;a={}}n=a.cb||n;var i=typeof n=="function"?n:n.pre||function(){};var r=n.post||function(){};_traverse(a,i,r,e,"",e)};a.keywords={additionalItems:true,items:true,contains:true,additionalProperties:true,propertyNames:true,not:true};a.arrayKeywords={items:true,allOf:true,anyOf:true,oneOf:true};a.propsKeywords={definitions:true,properties:true,patternProperties:true,dependencies:true};a.skipKeywords={default:true,enum:true,const:true,required:true,maximum:true,minimum:true,exclusiveMaximum:true,exclusiveMinimum:true,multipleOf:true,maxLength:true,minLength:true,pattern:true,format:true,maxItems:true,minItems:true,uniqueItems:true,maxProperties:true,minProperties:true};function _traverse(e,n,i,r,s,o,t,c,p,l){if(r&&typeof r=="object"&&!Array.isArray(r)){n(r,s,o,t,c,p,l);for(var u in r){var f=r[u];if(Array.isArray(f)){if(u in a.arrayKeywords){for(var m=0;m=65&&v<=90||v>=97&&v<=122){t+=h}else if(h==="="){if(t.length===0)throw new InvalidHeaderError("bad param format");o=f.Quote}else{throw new InvalidHeaderError("bad param format")}break;case f.Quote:if(h==='"'){c="";o=f.Value}else{throw new InvalidHeaderError("bad param format")}break;case f.Value:if(h==='"'){m.params[t]=c;o=f.Comma}else{c+=h}break;case f.Comma:if(h===","){t="";o=f.Name}else{throw new InvalidHeaderError("bad param format")}break;default:throw new Error("Invalid substate")}break;default:throw new Error("Invalid substate")}}if(!m.params.headers||m.params.headers===""){if(e.headers["x-date"]){m.params.headers=["x-date"]}else{m.params.headers=["date"]}}else{m.params.headers=m.params.headers.split(" ")}if(!m.scheme||m.scheme!=="Signature")throw new InvalidHeaderError('scheme was not "Signature"');if(!m.params.keyId)throw new InvalidHeaderError("keyId was not specified");if(!m.params.algorithm)throw new InvalidHeaderError("algorithm was not specified");if(!m.params.signature)throw new InvalidHeaderError("signature was not specified");m.params.algorithm=m.params.algorithm.toLowerCase();try{l(m.params.algorithm)}catch(e){if(e instanceof p)throw new InvalidParamsError(m.params.algorithm+" is not "+"supported");else throw e}for(r=0;ra.clockSkew*1e3){throw new ExpiredRequestError("clock skew of "+x/1e3+"s was greater than "+a.clockSkew+"s")}}a.headers.forEach(function(e){if(m.params.headers.indexOf(e.toLowerCase())<0)throw new MissingHeaderError(e+" was not a signed header")});if(a.algorithms){if(a.algorithms.indexOf(m.params.algorithm)===-1)throw new InvalidParamsError(m.params.algorithm+" is not a supported algorithm")}m.algorithm=m.params.algorithm.toUpperCase();m.keyId=m.params.keyId;return m}}},210:function(e){"use strict";e.exports=function generate_dependencies(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l="data"+(s||"");var u="errs__"+r;var f=e.util.copy(e);var m="";f.level++;var d="valid"+f.level;var h={},v={},g=e.opts.ownProperties;for(x in o){if(x=="__proto__")continue;var b=o[x];var y=Array.isArray(b)?v:h;y[x]=b}i+="var "+u+" = errors;";var k=e.errorPath;i+="var missing"+r+";";for(var x in v){y=v[x];if(y.length){i+=" if ( "+l+e.util.getProperty(x)+" !== undefined ";if(g){i+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(x)+"') "}if(p){i+=" && ( ";var w=y;if(w){var j,F=-1,E=w.length-1;while(F0:e.util.schemaHasRules(b,e.RULES.all)){i+=" "+d+" = true; if ( "+l+e.util.getProperty(x)+" !== undefined ";if(g){i+=" && Object.prototype.hasOwnProperty.call("+l+", '"+e.util.escapeQuotes(x)+"') "}i+=") { ";f.schema=b;f.schemaPath=t+e.util.getProperty(x);f.errSchemaPath=c+"/"+e.util.escapeFragment(x);i+=" "+e.validate(f)+" ";f.baseId=R;i+=" } ";if(p){i+=" if ("+d+") { ";m+="}"}}}if(p){i+=" "+m+" if ("+u+" == errors) {"}return i}},211:function(e){e.exports=require("https")},213:function(e){e.exports=require("punycode")},216:function(e){"use strict";e.exports=function ucs2length(e){var a=0,n=e.length,i=0,r;while(i=55296&&r<=56319&&i0:e.util.schemaHasRules(x,e.RULES.all)){m.schema=x;m.schemaPath=t+"["+w+"]";m.errSchemaPath=c+"/"+w;i+=" "+e.validate(m)+" ";m.baseId=v}else{i+=" var "+h+" = true; "}if(w){i+=" if ("+h+" && "+g+") { "+u+" = false; "+b+" = ["+b+", "+w+"]; } else { ";d+="}"}i+=" if ("+h+") { "+u+" = "+g+" = true; "+b+" = "+w+"; }"}}e.compositeRule=m.compositeRule=y;i+=""+d+"if (!"+u+") { var err = ";if(e.createErrors!==false){i+=" { keyword: '"+"oneOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { passingSchemas: "+b+" } ";if(e.opts.messages!==false){i+=" , message: 'should match exactly one schema in oneOf' "}if(e.opts.verbose){i+=" , schema: validate.schema"+t+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(vErrors); "}else{i+=" validate.errors = vErrors; return false; "}}i+="} else { errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; }";if(e.opts.allErrors){i+=" } "}return i}},228:function(e){"use strict";e.exports=function generate_allOf(e,a,n){var i=" ";var r=e.schema[a];var s=e.schemaPath+e.util.getProperty(a);var o=e.errSchemaPath+"/"+a;var t=!e.opts.allErrors;var c=e.util.copy(e);var p="";c.level++;var l="valid"+c.level;var u=c.baseId,f=true;var m=r;if(m){var d,h=-1,v=m.length-1;while(h0:e.util.schemaHasRules(d,e.RULES.all)){f=false;c.schema=d;c.schemaPath=s+"["+h+"]";c.errSchemaPath=o+"/"+h;i+=" "+e.validate(c)+" ";c.baseId=u;if(t){i+=" if ("+l+") { ";p+="}"}}}}if(t){if(f){i+=" if (true) { "}else{i+=" "+p.slice(0,-1)+" "}}return i}},235:function(e,a,n){var i=n(996),r=n(739),s=n(37);e.exports=parallel;function parallel(e,a,n){var o=r(e);while(o.index<(o["keyedList"]||e).length){i(e,a,o,function(e,a){if(e){n(e,a);return}if(Object.keys(o.jobs).length===0){n(null,o.results);return}});o.index++}return s.bind(o,n)}},249:function(e,a,n){"use strict";var i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))a[n]=e[n];a["default"]=e;return a};Object.defineProperty(a,"__esModule",{value:true});const r=i(n(87));function issueCommand(e,a,n){const i=new Command(e,a,n);process.stdout.write(i.toString()+r.EOL)}a.issueCommand=issueCommand;function issue(e,a=""){issueCommand(e,{},a)}a.issue=issue;const s="::";class Command{constructor(e,a,n){if(!e){e="missing.command"}this.command=e;this.properties=a;this.message=n}toString(){let e=s+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let a=true;for(const n in this.properties){if(this.properties.hasOwnProperty(n)){const i=this.properties[n];if(i){if(a){a=false}else{e+=","}e+=`${n}=${escapeProperty(i)}`}}}}e+=`${s}${escapeData(this.message)}`;return e}}function toCommandValue(e){if(e===null||e===undefined){return""}else if(typeof e==="string"||e instanceof String){return e}return JSON.stringify(e)}a.toCommandValue=toCommandValue;function escapeData(e){return toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(e){return toCommandValue(e).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},250:function(e){"use strict";e.exports=function generate_pattern(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l="data"+(s||"");var u=e.opts.$data&&o&&o.$data,f;if(u){i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=o}var m=u?"(new RegExp("+f+"))":e.usePattern(o);i+="if ( ";if(u){i+=" ("+f+" !== undefined && typeof "+f+" != 'string') || "}i+=" !"+m+".test("+l+") ) { ";var d=d||[];d.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+"pattern"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { pattern: ";if(u){i+=""+f}else{i+=""+e.util.toQuotedString(o)}i+=" } ";if(e.opts.messages!==false){i+=" , message: 'should match pattern \"";if(u){i+="' + "+f+" + '"}else{i+=""+e.util.escapeQuotes(o)}i+="\"' "}if(e.opts.verbose){i+=" , schema: ";if(u){i+="validate.schema"+t}else{i+=""+e.util.toQuotedString(o)}i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}var h=i;i=d.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+h+"]); "}else{i+=" validate.errors = ["+h+"]; return false; "}}else{i+=" var err = "+h+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+="} ";if(p){i+=" else { "}return i}},255:function(e){"use strict";e.exports=function generate_format(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l="data"+(s||"");if(e.opts.format===false){if(p){i+=" if (true) { "}return i}var u=e.opts.$data&&o&&o.$data,f;if(u){i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=o}var m=e.opts.unknownFormats,d=Array.isArray(m);if(u){var h="format"+r,v="isObject"+r,g="formatType"+r;i+=" var "+h+" = formats["+f+"]; var "+v+" = typeof "+h+" == 'object' && !("+h+" instanceof RegExp) && "+h+".validate; var "+g+" = "+v+" && "+h+".type || 'string'; if ("+v+") { ";if(e.async){i+=" var async"+r+" = "+h+".async; "}i+=" "+h+" = "+h+".validate; } if ( ";if(u){i+=" ("+f+" !== undefined && typeof "+f+" != 'string') || "}i+=" (";if(m!="ignore"){i+=" ("+f+" && !"+h+" ";if(d){i+=" && self._opts.unknownFormats.indexOf("+f+") == -1 "}i+=") || "}i+=" ("+h+" && "+g+" == '"+n+"' && !(typeof "+h+" == 'function' ? ";if(e.async){i+=" (async"+r+" ? await "+h+"("+l+") : "+h+"("+l+")) "}else{i+=" "+h+"("+l+") "}i+=" : "+h+".test("+l+"))))) {"}else{var h=e.formats[o];if(!h){if(m=="ignore"){e.logger.warn('unknown format "'+o+'" ignored in schema at path "'+e.errSchemaPath+'"');if(p){i+=" if (true) { "}return i}else if(d&&m.indexOf(o)>=0){if(p){i+=" if (true) { "}return i}else{throw new Error('unknown format "'+o+'" is used in schema at path "'+e.errSchemaPath+'"')}}var v=typeof h=="object"&&!(h instanceof RegExp)&&h.validate;var g=v&&h.type||"string";if(v){var b=h.async===true;h=h.validate}if(g!=n){if(p){i+=" if (true) { "}return i}if(b){if(!e.async)throw new Error("async format in sync schema");var y="formats"+e.util.getProperty(o)+".validate";i+=" if (!(await "+y+"("+l+"))) { "}else{i+=" if (! ";var y="formats"+e.util.getProperty(o);if(v)y+=".validate";if(typeof h=="function"){i+=" "+y+"("+l+") "}else{i+=" "+y+".test("+l+") "}i+=") { "}}var k=k||[];k.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+"format"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { format: ";if(u){i+=""+f}else{i+=""+e.util.toQuotedString(o)}i+=" } ";if(e.opts.messages!==false){i+=" , message: 'should match format \"";if(u){i+="' + "+f+" + '"}else{i+=""+e.util.escapeQuotes(o)}i+="\"' "}if(e.opts.verbose){i+=" , schema: ";if(u){i+="validate.schema"+t}else{i+=""+e.util.toQuotedString(o)}i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}var x=i;i=k.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+x+"]); "}else{i+=" validate.errors = ["+x+"]; return false; "}}else{i+=" var err = "+x+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" } ";if(p){i+=" else { "}return i}},261:function(e,a){function isArray(e){if(Array.isArray){return Array.isArray(e)}return objectToString(e)==="[object Array]"}a.isArray=isArray;function isBoolean(e){return typeof e==="boolean"}a.isBoolean=isBoolean;function isNull(e){return e===null}a.isNull=isNull;function isNullOrUndefined(e){return e==null}a.isNullOrUndefined=isNullOrUndefined;function isNumber(e){return typeof e==="number"}a.isNumber=isNumber;function isString(e){return typeof e==="string"}a.isString=isString;function isSymbol(e){return typeof e==="symbol"}a.isSymbol=isSymbol;function isUndefined(e){return e===void 0}a.isUndefined=isUndefined;function isRegExp(e){return objectToString(e)==="[object RegExp]"}a.isRegExp=isRegExp;function isObject(e){return typeof e==="object"&&e!==null}a.isObject=isObject;function isDate(e){return objectToString(e)==="[object Date]"}a.isDate=isDate;function isError(e){return objectToString(e)==="[object Error]"||e instanceof Error}a.isError=isError;function isFunction(e){return typeof e==="function"}a.isFunction=isFunction;function isPrimitive(e){return e===null||typeof e==="boolean"||typeof e==="number"||typeof e==="string"||typeof e==="symbol"||typeof e==="undefined"}a.isPrimitive=isPrimitive;a.isBuffer=Buffer.isBuffer;function objectToString(e){return Object.prototype.toString.call(e)}},265:function(e,a,n){var i=n(357);var r=n(108).Buffer;var s=n(603);var o=n(700);var t=o.newInvalidAsn1Error;function Reader(e){if(!e||!r.isBuffer(e))throw new TypeError("data must be a node Buffer");this._buf=e;this._size=e.length;this._len=0;this._offset=0}Object.defineProperty(Reader.prototype,"length",{enumerable:true,get:function(){return this._len}});Object.defineProperty(Reader.prototype,"offset",{enumerable:true,get:function(){return this._offset}});Object.defineProperty(Reader.prototype,"remain",{get:function(){return this._size-this._offset}});Object.defineProperty(Reader.prototype,"buffer",{get:function(){return this._buf.slice(this._offset)}});Reader.prototype.readByte=function(e){if(this._size-this._offset<1)return null;var a=this._buf[this._offset]&255;if(!e)this._offset+=1;return a};Reader.prototype.peek=function(){return this.readByte(true)};Reader.prototype.readLength=function(e){if(e===undefined)e=this._offset;if(e>=this._size)return null;var a=this._buf[e++]&255;if(a===null)return null;if((a&128)===128){a&=127;if(a===0)throw t("Indefinite length not supported");if(a>4)throw t("encoding too long");if(this._size-ethis._size-i)return null;this._offset=i;if(this.length===0)return a?r.alloc(0):"";var o=this._buf.slice(this._offset,this._offset+this.length);this._offset+=this.length;return a?o:o.toString("utf8")};Reader.prototype.readOID=function(e){if(!e)e=s.OID;var a=this.readString(e,true);if(a===null)return null;var n=[];var i=0;for(var r=0;r>0);return n.join(".")};Reader.prototype._readTag=function(e){i.ok(e!==undefined);var a=this.peek();if(a===null)return null;if(a!==e)throw t("Expected 0x"+e.toString(16)+": got 0x"+a.toString(16));var n=this.readLength(this._offset+1);if(n===null)return null;if(this.length>4)throw t("Integer too long: "+this.length);if(this.length>this._size-n)return null;this._offset=n;var r=this._buf[this._offset];var s=0;for(var o=0;o>0};e.exports=Reader},271:function(e){e.exports={$id:"postData.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,required:["mimeType"],properties:{mimeType:{type:"string"},text:{type:"string"},params:{type:"array",required:["name"],properties:{name:{type:"string"},value:{type:"string"},fileName:{type:"string"},contentType:{type:"string"},comment:{type:"string"}}},comment:{type:"string"}}}},273:function(e,a,n){var i=n(413).Stream;var r=n(669);e.exports=DelayedStream;function DelayedStream(){this.source=null;this.dataSize=0;this.maxDataSize=1024*1024;this.pauseStream=true;this._maxDataSizeExceeded=false;this._released=false;this._bufferedEvents=[]}r.inherits(DelayedStream,i);DelayedStream.create=function(e,a){var n=new this;a=a||{};for(var i in a){n[i]=a[i]}n.source=e;var r=e.emit;e.emit=function(){n._handleEmit(arguments);return r.apply(e,arguments)};e.on("error",function(){});if(n.pauseStream){e.pause()}return n};Object.defineProperty(DelayedStream.prototype,"readable",{configurable:true,enumerable:true,get:function(){return this.source.readable}});DelayedStream.prototype.setEncoding=function(){return this.source.setEncoding.apply(this.source,arguments)};DelayedStream.prototype.resume=function(){if(!this._released){this.release()}this.source.resume()};DelayedStream.prototype.pause=function(){this.source.pause()};DelayedStream.prototype.release=function(){this._released=true;this._bufferedEvents.forEach(function(e){this.emit.apply(this,e)}.bind(this));this._bufferedEvents=[]};DelayedStream.prototype.pipe=function(){var e=i.prototype.pipe.apply(this,arguments);this.resume();return e};DelayedStream.prototype._handleEmit=function(e){if(this._released){this.emit.apply(this,e);return}if(e[0]==="data"){this.dataSize+=e[1].length;this._checkIfMaxDataSizeExceeded()}this._bufferedEvents.push(e)};DelayedStream.prototype._checkIfMaxDataSizeExceeded=function(){if(this._maxDataSizeExceeded){return}if(this.dataSize<=this.maxDataSize){return}this._maxDataSizeExceeded=true;var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this.emit("error",new Error(e))}},274:function(e,a,n){e.exports=Identity;var i=n(521);var r=n(556);var s=n(417);var o=n(299);var t=n(186);var c=n(295);var p=n(669);var l=n(372);var u=n(119);var f=n(108).Buffer;var m=/^([*]|[a-z0-9][a-z0-9\-]{0,62})(?:\.([*]|[a-z0-9][a-z0-9\-]{0,62}))*$/i;var d={};d.cn="2.5.4.3";d.o="2.5.4.10";d.ou="2.5.4.11";d.l="2.5.4.7";d.s="2.5.4.8";d.c="2.5.4.6";d.sn="2.5.4.4";d.postalCode="2.5.4.17";d.serialNumber="2.5.4.5";d.street="2.5.4.9";d.x500UniqueIdentifier="2.5.4.45";d.role="2.5.4.72";d.telephoneNumber="2.5.4.20";d.description="2.5.4.13";d.dc="0.9.2342.19200300.100.1.25";d.uid="0.9.2342.19200300.100.1.1";d.mail="0.9.2342.19200300.100.1.3";d.title="2.5.4.12";d.gn="2.5.4.42";d.initials="2.5.4.43";d.pseudonym="2.5.4.65";d.emailAddress="1.2.840.113549.1.9.1";var h={};Object.keys(d).forEach(function(e){h[d[e]]=e});function Identity(e){var a=this;i.object(e,"options");i.arrayOfObject(e.components,"options.components");this.components=e.components;this.componentLookup={};this.components.forEach(function(e){if(e.name&&!e.oid)e.oid=d[e.name];if(e.oid&&!e.name)e.name=h[e.oid];if(a.componentLookup[e.name]===undefined)a.componentLookup[e.name]=[];a.componentLookup[e.name].push(e)});if(this.componentLookup.cn&&this.componentLookup.cn.length>0){this.cn=this.componentLookup.cn[0].value}i.optionalString(e.type,"options.type");if(e.type===undefined){if(this.components.length===1&&this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(m)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.dc&&this.components.length===this.componentLookup.dc.length){this.type="host";this.hostname=this.componentLookup.dc.map(function(e){return e.value}).join(".")}else if(this.componentLookup.uid&&this.components.length===this.componentLookup.uid.length){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1&&this.componentLookup.cn[0].value.match(m)){this.type="host";this.hostname=this.componentLookup.cn[0].value}else if(this.componentLookup.uid&&this.componentLookup.uid.length===1){this.type="user";this.uid=this.componentLookup.uid[0].value}else if(this.componentLookup.mail&&this.componentLookup.mail.length===1){this.type="email";this.email=this.componentLookup.mail[0].value}else if(this.componentLookup.cn&&this.componentLookup.cn.length===1){this.type="user";this.uid=this.componentLookup.cn[0].value}else{this.type="unknown"}}else{this.type=e.type;if(this.type==="host")this.hostname=e.hostname;else if(this.type==="user")this.uid=e.uid;else if(this.type==="email")this.email=e.email;else throw new Error("Unknown type "+this.type)}}Identity.prototype.toString=function(){return this.components.map(function(e){var a=e.name.toUpperCase();a=a.replace(/=/g,"\\=");var n=e.value;n=n.replace(/,/g,"\\,");return a+"="+n}).join(", ")};Identity.prototype.get=function(e,a){i.string(e,"name");var n=this.componentLookup[e];if(n===undefined||n.length===0)return undefined;if(!a&&n.length>1)throw new Error("Multiple values for attribute "+e);if(!a)return n[0].value;return n.map(function(e){return e.value})};Identity.prototype.toArray=function(e){return this.components.map(function(e){return{name:e.name,value:e.value}})};var v=/[^a-zA-Z0-9 '(),+.\/:=?-]/;var g=/[^\x00-\x7f]/;Identity.prototype.toAsn1=function(e,a){e.startSequence(a);this.components.forEach(function(a){e.startSequence(u.Ber.Constructor|u.Ber.Set);e.startSequence();e.writeOID(a.oid);if(a.asn1type===u.Ber.Utf8String||a.value.match(g)){var n=f.from(a.value,"utf8");e.writeBuffer(n,u.Ber.Utf8String)}else if(a.asn1type===u.Ber.IA5String||a.value.match(v)){e.writeString(a.value,u.Ber.IA5String)}else{var i=u.Ber.PrintableString;if(a.asn1type!==undefined)i=a.asn1type;e.writeString(a.value,i)}e.endSequence();e.endSequence()});e.endSequence()};function globMatch(e,a){if(e==="**"||a==="**")return true;var n=e.split(".");var i=a.split(".");if(n.length!==i.length)return false;for(var r=0;r0){var s;if((s=/^,/.exec(r))!==null){a[++n]="";r=r.slice(s[0].length)}else if((s=/^\\,/.exec(r))!==null){a[n]+=",";r=r.slice(s[0].length)}else if((s=/^\\./.exec(r))!==null){a[n]+=s[0];r=r.slice(s[0].length)}else if((s=/^[^\\,]+/.exec(r))!==null){a[n]+=s[0];r=r.slice(s[0].length)}else{throw new Error("Failed to parse DN")}}var o=a.map(function(e){e=e.trim();var a=e.indexOf("=");while(a>0&&e.charAt(a-1)==="\\")a=e.indexOf("=",a+1);if(a===-1){throw new Error("Failed to parse DN")}var n=e.slice(0,a).toLowerCase().replace(/\\=/g,"=");var i=e.slice(a+1);return{name:n,value:i}});return new Identity({components:o})};Identity.fromArray=function(e){i.arrayOfObject(e,"components");e.forEach(function(e){i.object(e,"component");i.string(e.name,"component.name");if(!f.isBuffer(e.value)&&!(typeof e.value==="string")){throw new Error("Invalid component value")}});return new Identity({components:e})};Identity.parseAsn1=function(e,a){var n=[];e.readSequence(a);var i=e.offset+e.length;while(e.offseta.maxItems){addError("There must be a maximum of "+a.maxItems+" in the array")}}else if(a.properties||a.additionalProperties){s.concat(checkObj(e,a.properties,n,a.additionalProperties))}if(a.pattern&&typeof e=="string"&&!e.match(a.pattern)){addError("does not match the regex pattern "+a.pattern)}if(a.maxLength&&typeof e=="string"&&e.length>a.maxLength){addError("may only be "+a.maxLength+" characters long")}if(a.minLength&&typeof e=="string"&&e.lengthe){addError("must have a minimum value of "+a.minimum)}if(typeof a.maximum!==undefined&&typeof e==typeof a.maximum&&a.maximuml||p===l&&a[c].substr(0,12)==="application/")){continue}}a[c]=r}})}},295:function(e,a,n){var i=n(521);var r=n(669);function FingerprintFormatError(e,a){if(Error.captureStackTrace)Error.captureStackTrace(this,FingerprintFormatError);this.name="FingerprintFormatError";this.fingerprint=e;this.format=a;this.message="Fingerprint format is not supported, or is invalid: ";if(e!==undefined)this.message+=" fingerprint = "+e;if(a!==undefined)this.message+=" format = "+a}r.inherits(FingerprintFormatError,Error);function InvalidAlgorithmError(e){if(Error.captureStackTrace)Error.captureStackTrace(this,InvalidAlgorithmError);this.name="InvalidAlgorithmError";this.algorithm=e;this.message='Algorithm "'+e+'" is not supported'}r.inherits(InvalidAlgorithmError,Error);function KeyParseError(e,a,n){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyParseError);this.name="KeyParseError";this.format=a;this.keyName=e;this.innerErr=n;this.message="Failed to parse "+e+" as a valid "+a+" format key: "+n.message}r.inherits(KeyParseError,Error);function SignatureParseError(e,a,n){if(Error.captureStackTrace)Error.captureStackTrace(this,SignatureParseError);this.name="SignatureParseError";this.type=e;this.format=a;this.innerErr=n;this.message="Failed to parse the given data as a "+e+" signature in "+a+" format: "+n.message}r.inherits(SignatureParseError,Error);function CertificateParseError(e,a,n){if(Error.captureStackTrace)Error.captureStackTrace(this,CertificateParseError);this.name="CertificateParseError";this.format=a;this.certName=e;this.innerErr=n;this.message="Failed to parse "+e+" as a valid "+a+" format certificate: "+n.message}r.inherits(CertificateParseError,Error);function KeyEncryptedError(e,a){if(Error.captureStackTrace)Error.captureStackTrace(this,KeyEncryptedError);this.name="KeyEncryptedError";this.format=a;this.keyName=e;this.message="The "+a+" format key "+e+" is "+"encrypted (password-protected), and no passphrase was "+"provided in `options`"}r.inherits(KeyEncryptedError,Error);e.exports={FingerprintFormatError:FingerprintFormatError,InvalidAlgorithmError:InvalidAlgorithmError,KeyParseError:KeyParseError,SignatureParseError:SignatureParseError,KeyEncryptedError:KeyEncryptedError,CertificateParseError:CertificateParseError}},296:function(e){e.exports={$id:"har.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["log"],properties:{log:{$ref:"log.json#"}}}},299:function(e,a,n){e.exports=Fingerprint;var i=n(521);var r=n(108).Buffer;var s=n(556);var o=n(417);var t=n(295);var c=n(866);var p=n(381);var l=n(730);var u=n(372);var f=t.FingerprintFormatError;var m=t.InvalidAlgorithmError;function Fingerprint(e){i.object(e,"options");i.string(e.type,"options.type");i.buffer(e.hash,"options.hash");i.string(e.algorithm,"options.algorithm");this.algorithm=e.algorithm.toLowerCase();if(s.hashAlgs[this.algorithm]!==true)throw new m(this.algorithm);this.hash=e.hash;this.type=e.type;this.hashType=e.hashType}Fingerprint.prototype.toString=function(e){if(e===undefined){if(this.algorithm==="md5"||this.hashType==="spki")e="hex";else e="base64"}i.string(e);switch(e){case"hex":if(this.hashType==="spki")return this.hash.toString("hex");return addColons(this.hash.toString("hex"));case"base64":if(this.hashType==="spki")return this.hash.toString("base64");return sshBase64Format(this.algorithm,this.hash.toString("base64"));default:throw new f(undefined,e)}};Fingerprint.prototype.matches=function(e){i.object(e,"key or certificate");if(this.type==="key"&&this.hashType!=="ssh"){u.assertCompatible(e,c,[1,7],"key with spki");if(p.isPrivateKey(e)){u.assertCompatible(e,p,[1,6],"privatekey with spki support")}}else if(this.type==="key"){u.assertCompatible(e,c,[1,0],"key")}else{u.assertCompatible(e,l,[1,0],"certificate")}var a=e.hash(this.algorithm,this.hashType);var n=o.createHash(this.algorithm).update(a).digest("base64");if(this.hash2===undefined)this.hash2=o.createHash(this.algorithm).update(this.hash).digest("base64");return this.hash2===n};var d=/^[A-Za-z0-9+\/=]+$/;var h=/^[a-fA-F0-9]+$/;Fingerprint.parse=function(e,a){i.string(e,"fingerprint");var n,o,t;if(Array.isArray(a)){t=a;a={}}i.optionalObject(a,"options");if(a===undefined)a={};if(a.enAlgs!==undefined)t=a.enAlgs;if(a.algorithms!==undefined)t=a.algorithms;i.optionalArrayOfString(t,"algorithms");var c="ssh";if(a.hashType!==undefined)c=a.hashType;i.string(c,"options.hashType");var p=e.split(":");if(p.length==2){n=p[0].toLowerCase();if(!d.test(p[1]))throw new f(e);try{o=r.from(p[1],"base64")}catch(a){throw new f(e)}}else if(p.length>2){n="md5";if(p[0].toLowerCase()==="md5")p=p.slice(1);p=p.map(function(a){while(a.length<2)a="0"+a;if(a.length>2)throw new f(e);return a});p=p.join("");if(!h.test(p)||p.length%2!==0)throw new f(e);try{o=r.from(p,"hex")}catch(a){throw new f(e)}}else{if(h.test(e)){o=r.from(e,"hex")}else if(d.test(e)){o=r.from(e,"base64")}else{throw new f(e)}switch(o.length){case 32:n="sha256";break;case 16:n="md5";break;case 20:n="sha1";break;case 64:n="sha512";break;default:throw new f(e)}if(a.hashType===undefined)c="spki"}if(n===undefined)throw new f(e);if(s.hashAlgs[n]===undefined)throw new m(n);if(t!==undefined){t=t.map(function(e){return e.toLowerCase()});if(t.indexOf(n)===-1)throw new m(n)}return new Fingerprint({algorithm:n,hash:o,type:a.type||"key",hashType:c})};function addColons(e){return e.replace(/(.{2})(?=.)/g,"$1:")}function base64Strip(e){return e.replace(/=*$/,"")}function sshBase64Format(e,a){return e.toUpperCase()+":"+base64Strip(a)}Fingerprint.isFingerprint=function(e,a){return u.isCompatible(e,Fingerprint,a)};Fingerprint.prototype._sshpkApiVersion=[1,2];Fingerprint._oldVersionDetect=function(e){i.func(e.toString);i.func(e.matches);return[1,0]}},306:function(e){"use strict";e.exports=function generate_anyOf(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l="data"+(s||"");var u="valid"+r;var f="errs__"+r;var m=e.util.copy(e);var d="";m.level++;var h="valid"+m.level;var v=o.every(function(a){return e.opts.strictKeywords?typeof a=="object"&&Object.keys(a).length>0:e.util.schemaHasRules(a,e.RULES.all)});if(v){var g=m.baseId;i+=" var "+f+" = errors; var "+u+" = false; ";var b=e.compositeRule;e.compositeRule=m.compositeRule=true;var y=o;if(y){var k,x=-1,w=y.length-1;while(x0:e.util.schemaHasRules(E,e.RULES.all)){i+=" "+h+" = true; if ("+l+".length > "+z+") { ";var C=l+"["+z+"]";m.schema=E;m.schemaPath=t+"["+z+"]";m.errSchemaPath=c+"/"+z;m.errorPath=e.util.getPathExpr(e.errorPath,z,e.opts.jsonPointers,true);m.dataPathArr[g]=z;var S=e.validate(m);m.baseId=y;if(e.util.varOccurences(S,b)<2){i+=" "+e.util.varReplace(S,b,C)+" "}else{i+=" var "+b+" = "+C+"; "+S+" "}i+=" } ";if(p){i+=" if ("+h+") { ";d+="}"}}}}if(typeof k=="object"&&(e.opts.strictKeywords?typeof k=="object"&&Object.keys(k).length>0:e.util.schemaHasRules(k,e.RULES.all))){m.schema=k;m.schemaPath=e.schemaPath+".additionalItems";m.errSchemaPath=e.errSchemaPath+"/additionalItems";i+=" "+h+" = true; if ("+l+".length > "+o.length+") { for (var "+v+" = "+o.length+"; "+v+" < "+l+".length; "+v+"++) { ";m.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,true);var C=l+"["+v+"]";m.dataPathArr[g]=v;var S=e.validate(m);m.baseId=y;if(e.util.varOccurences(S,b)<2){i+=" "+e.util.varReplace(S,b,C)+" "}else{i+=" var "+b+" = "+C+"; "+S+" "}if(p){i+=" if (!"+h+") break; "}i+=" } } ";if(p){i+=" if ("+h+") { ";d+="}"}}}else if(e.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0:e.util.schemaHasRules(o,e.RULES.all)){m.schema=o;m.schemaPath=t;m.errSchemaPath=c;i+=" for (var "+v+" = "+0+"; "+v+" < "+l+".length; "+v+"++) { ";m.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,true);var C=l+"["+v+"]";m.dataPathArr[g]=v;var S=e.validate(m);m.baseId=y;if(e.util.varOccurences(S,b)<2){i+=" "+e.util.varReplace(S,b,C)+" "}else{i+=" var "+b+" = "+C+"; "+S+" "}if(p){i+=" if (!"+h+") break; "}i+=" }"}if(p){i+=" "+d+" if ("+f+" == errors) {"}return i}},347:function(e,a){(function(){var n;var i=0xdeadbeefcafe;var r=(i&16777215)==15715070;function BigInteger(e,a,n){if(e!=null)if("number"==typeof e)this.fromNumber(e,a,n);else if(a==null&&"string"!=typeof e)this.fromString(e,256);else this.fromString(e,a)}function nbi(){return new BigInteger(null)}function am1(e,a,n,i,r,s){while(--s>=0){var o=a*this[e++]+n[i]+r;r=Math.floor(o/67108864);n[i++]=o&67108863}return r}function am2(e,a,n,i,r,s){var o=a&32767,t=a>>15;while(--s>=0){var c=this[e]&32767;var p=this[e++]>>15;var l=t*c+p*o;c=o*c+((l&32767)<<15)+n[i]+(r&1073741823);r=(c>>>30)+(l>>>15)+t*p+(r>>>30);n[i++]=c&1073741823}return r}function am3(e,a,n,i,r,s){var o=a&16383,t=a>>14;while(--s>=0){var c=this[e]&16383;var p=this[e++]>>14;var l=t*c+p*o;c=o*c+((l&16383)<<14)+n[i]+r;r=(c>>28)+(l>>14)+t*p;n[i++]=c&268435455}return r}var s=typeof navigator!=="undefined";if(s&&r&&navigator.appName=="Microsoft Internet Explorer"){BigInteger.prototype.am=am2;n=30}else if(s&&r&&navigator.appName!="Netscape"){BigInteger.prototype.am=am1;n=26}else{BigInteger.prototype.am=am3;n=28}BigInteger.prototype.DB=n;BigInteger.prototype.DM=(1<=0;--a)e[a]=this[a];e.t=this.t;e.s=this.s}function bnpFromInt(e){this.t=1;this.s=e<0?-1:0;if(e>0)this[0]=e;else if(e<-1)this[0]=e+this.DV;else this.t=0}function nbv(e){var a=nbi();a.fromInt(e);return a}function bnpFromString(e,a){var n;if(a==16)n=4;else if(a==8)n=3;else if(a==256)n=8;else if(a==2)n=1;else if(a==32)n=5;else if(a==4)n=2;else{this.fromRadix(e,a);return}this.t=0;this.s=0;var i=e.length,r=false,s=0;while(--i>=0){var o=n==8?e[i]&255:intAt(e,i);if(o<0){if(e.charAt(i)=="-")r=true;continue}r=false;if(s==0)this[this.t++]=o;else if(s+n>this.DB){this[this.t-1]|=(o&(1<>this.DB-s}else this[this.t-1]|=o<=this.DB)s-=this.DB}if(n==8&&(e[0]&128)!=0){this.s=-1;if(s>0)this[this.t-1]|=(1<0&&this[this.t-1]==e)--this.t}function bnToString(e){if(this.s<0)return"-"+this.negate().toString(e);var a;if(e==16)a=4;else if(e==8)a=3;else if(e==2)a=1;else if(e==32)a=5;else if(e==4)a=2;else return this.toRadix(e);var n=(1<0){if(t>t)>0){r=true;s=int2char(i)}while(o>=0){if(t>(t+=this.DB-a)}else{i=this[o]>>(t-=a)&n;if(t<=0){t+=this.DB;--o}}if(i>0)r=true;if(r)s+=int2char(i)}}return r?s:"0"}function bnNegate(){var e=nbi();BigInteger.ZERO.subTo(this,e);return e}function bnAbs(){return this.s<0?this.negate():this}function bnCompareTo(e){var a=this.s-e.s;if(a!=0)return a;var n=this.t;a=n-e.t;if(a!=0)return this.s<0?-a:a;while(--n>=0)if((a=this[n]-e[n])!=0)return a;return 0}function nbits(e){var a=1,n;if((n=e>>>16)!=0){e=n;a+=16}if((n=e>>8)!=0){e=n;a+=8}if((n=e>>4)!=0){e=n;a+=4}if((n=e>>2)!=0){e=n;a+=2}if((n=e>>1)!=0){e=n;a+=1}return a}function bnBitLength(){if(this.t<=0)return 0;return this.DB*(this.t-1)+nbits(this[this.t-1]^this.s&this.DM)}function bnpDLShiftTo(e,a){var n;for(n=this.t-1;n>=0;--n)a[n+e]=this[n];for(n=e-1;n>=0;--n)a[n]=0;a.t=this.t+e;a.s=this.s}function bnpDRShiftTo(e,a){for(var n=e;n=0;--t){a[t+s+1]=this[t]>>i|o;o=(this[t]&r)<=0;--t)a[t]=0;a[s]=o;a.t=this.t+s+1;a.s=this.s;a.clamp()}function bnpRShiftTo(e,a){a.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t){a.t=0;return}var i=e%this.DB;var r=this.DB-i;var s=(1<>i;for(var o=n+1;o>i}if(i>0)a[this.t-n-1]|=(this.s&s)<>=this.DB}if(e.t>=this.DB}i+=this.s}else{i+=this.s;while(n>=this.DB}i-=e.s}a.s=i<0?-1:0;if(i<-1)a[n++]=this.DV+i;else if(i>0)a[n++]=i;a.t=n;a.clamp()}function bnpMultiplyTo(e,a){var n=this.abs(),i=e.abs();var r=n.t;a.t=r+i.t;while(--r>=0)a[r]=0;for(r=0;r=0)e[n]=0;for(n=0;n=a.DV){e[n+a.t]-=a.DV;e[n+a.t+1]=1}}if(e.t>0)e[e.t-1]+=a.am(n,a[n],e,2*n,0,1);e.s=0;e.clamp()}function bnpDivRemTo(e,a,n){var i=e.abs();if(i.t<=0)return;var r=this.abs();if(r.t0){i.lShiftTo(c,s);r.lShiftTo(c,n)}else{i.copyTo(s);r.copyTo(n)}var p=s.t;var l=s[p-1];if(l==0)return;var u=l*(1<1?s[p-2]>>this.F2:0);var f=this.FV/u,m=(1<=0){n[n.t++]=1;n.subTo(g,n)}BigInteger.ONE.dlShiftTo(p,g);g.subTo(s,s);while(s.t=0){var b=n[--h]==l?this.DM:Math.floor(n[h]*f+(n[h-1]+d)*m);if((n[h]+=s.am(0,b,n,v,0,p))0)n.rShiftTo(c,n);if(o<0)BigInteger.ZERO.subTo(n,n)}function bnMod(e){var a=nbi();this.abs().divRemTo(e,null,a);if(this.s<0&&a.compareTo(BigInteger.ZERO)>0)e.subTo(a,a);return a}function Classic(e){this.m=e}function cConvert(e){if(e.s<0||e.compareTo(this.m)>=0)return e.mod(this.m);else return e}function cRevert(e){return e}function cReduce(e){e.divRemTo(this.m,null,e)}function cMulTo(e,a,n){e.multiplyTo(a,n);this.reduce(n)}function cSqrTo(e,a){e.squareTo(a);this.reduce(a)}Classic.prototype.convert=cConvert;Classic.prototype.revert=cRevert;Classic.prototype.reduce=cReduce;Classic.prototype.mulTo=cMulTo;Classic.prototype.sqrTo=cSqrTo;function bnpInvDigit(){if(this.t<1)return 0;var e=this[0];if((e&1)==0)return 0;var a=e&3;a=a*(2-(e&15)*a)&15;a=a*(2-(e&255)*a)&255;a=a*(2-((e&65535)*a&65535))&65535;a=a*(2-e*a%this.DV)%this.DV;return a>0?this.DV-a:-a}function Montgomery(e){this.m=e;this.mp=e.invDigit();this.mpl=this.mp&32767;this.mph=this.mp>>15;this.um=(1<0)this.m.subTo(a,a);return a}function montRevert(e){var a=nbi();e.copyTo(a);this.reduce(a);return a}function montReduce(e){while(e.t<=this.mt2)e[e.t++]=0;for(var a=0;a>15)*this.mpl&this.um)<<15)&e.DM;n=a+this.m.t;e[n]+=this.m.am(0,i,e,a,0,this.m.t);while(e[n]>=e.DV){e[n]-=e.DV;e[++n]++}}e.clamp();e.drShiftTo(this.m.t,e);if(e.compareTo(this.m)>=0)e.subTo(this.m,e)}function montSqrTo(e,a){e.squareTo(a);this.reduce(a)}function montMulTo(e,a,n){e.multiplyTo(a,n);this.reduce(n)}Montgomery.prototype.convert=montConvert;Montgomery.prototype.revert=montRevert;Montgomery.prototype.reduce=montReduce;Montgomery.prototype.mulTo=montMulTo;Montgomery.prototype.sqrTo=montSqrTo;function bnpIsEven(){return(this.t>0?this[0]&1:this.s)==0}function bnpExp(e,a){if(e>4294967295||e<1)return BigInteger.ONE;var n=nbi(),i=nbi(),r=a.convert(this),s=nbits(e)-1;r.copyTo(n);while(--s>=0){a.sqrTo(n,i);if((e&1<0)a.mulTo(i,r,n);else{var o=n;n=i;i=o}}return a.revert(n)}function bnModPowInt(e,a){var n;if(e<256||a.isEven())n=new Classic(a);else n=new Montgomery(a);return this.exp(e,n)}BigInteger.prototype.copyTo=bnpCopyTo;BigInteger.prototype.fromInt=bnpFromInt;BigInteger.prototype.fromString=bnpFromString;BigInteger.prototype.clamp=bnpClamp;BigInteger.prototype.dlShiftTo=bnpDLShiftTo;BigInteger.prototype.drShiftTo=bnpDRShiftTo;BigInteger.prototype.lShiftTo=bnpLShiftTo;BigInteger.prototype.rShiftTo=bnpRShiftTo;BigInteger.prototype.subTo=bnpSubTo;BigInteger.prototype.multiplyTo=bnpMultiplyTo;BigInteger.prototype.squareTo=bnpSquareTo;BigInteger.prototype.divRemTo=bnpDivRemTo;BigInteger.prototype.invDigit=bnpInvDigit;BigInteger.prototype.isEven=bnpIsEven;BigInteger.prototype.exp=bnpExp;BigInteger.prototype.toString=bnToString;BigInteger.prototype.negate=bnNegate;BigInteger.prototype.abs=bnAbs;BigInteger.prototype.compareTo=bnCompareTo;BigInteger.prototype.bitLength=bnBitLength;BigInteger.prototype.mod=bnMod;BigInteger.prototype.modPowInt=bnModPowInt;BigInteger.ZERO=nbv(0);BigInteger.ONE=nbv(1);function bnClone(){var e=nbi();this.copyTo(e);return e}function bnIntValue(){if(this.s<0){if(this.t==1)return this[0]-this.DV;else if(this.t==0)return-1}else if(this.t==1)return this[0];else if(this.t==0)return 0;return(this[1]&(1<<32-this.DB)-1)<>24}function bnShortValue(){return this.t==0?this.s:this[0]<<16>>16}function bnpChunkSize(e){return Math.floor(Math.LN2*this.DB/Math.log(e))}function bnSigNum(){if(this.s<0)return-1;else if(this.t<=0||this.t==1&&this[0]<=0)return 0;else return 1}function bnpToRadix(e){if(e==null)e=10;if(this.signum()==0||e<2||e>36)return"0";var a=this.chunkSize(e);var n=Math.pow(e,a);var i=nbv(n),r=nbi(),s=nbi(),o="";this.divRemTo(i,r,s);while(r.signum()>0){o=(n+s.intValue()).toString(e).substr(1)+o;r.divRemTo(i,r,s)}return s.intValue().toString(e)+o}function bnpFromRadix(e,a){this.fromInt(0);if(a==null)a=10;var n=this.chunkSize(a);var i=Math.pow(a,n),r=false,s=0,o=0;for(var t=0;t=n){this.dMultiply(i);this.dAddOffset(o,0);s=0;o=0}}if(s>0){this.dMultiply(Math.pow(a,s));this.dAddOffset(o,0)}if(r)BigInteger.ZERO.subTo(this,this)}function bnpFromNumber(e,a,n){if("number"==typeof a){if(e<2)this.fromInt(1);else{this.fromNumber(e,n);if(!this.testBit(e-1))this.bitwiseTo(BigInteger.ONE.shiftLeft(e-1),op_or,this);if(this.isEven())this.dAddOffset(1,0);while(!this.isProbablePrime(a)){this.dAddOffset(2,0);if(this.bitLength()>e)this.subTo(BigInteger.ONE.shiftLeft(e-1),this)}}}else{var i=new Array,r=e&7;i.length=(e>>3)+1;a.nextBytes(i);if(r>0)i[0]&=(1<0){if(n>n)!=(this.s&this.DM)>>n)a[r++]=i|this.s<=0){if(n<8){i=(this[e]&(1<>(n+=this.DB-8)}else{i=this[e]>>(n-=8)&255;if(n<=0){n+=this.DB;--e}}if((i&128)!=0)i|=-256;if(r==0&&(this.s&128)!=(i&128))++r;if(r>0||i!=this.s)a[r++]=i}}return a}function bnEquals(e){return this.compareTo(e)==0}function bnMin(e){return this.compareTo(e)<0?this:e}function bnMax(e){return this.compareTo(e)>0?this:e}function bnpBitwiseTo(e,a,n){var i,r,s=Math.min(e.t,this.t);for(i=0;i>=16;a+=16}if((e&255)==0){e>>=8;a+=8}if((e&15)==0){e>>=4;a+=4}if((e&3)==0){e>>=2;a+=2}if((e&1)==0)++a;return a}function bnGetLowestSetBit(){for(var e=0;e=this.t)return this.s!=0;return(this[a]&1<>=this.DB}if(e.t>=this.DB}i+=this.s}else{i+=this.s;while(n>=this.DB}i+=e.s}a.s=i<0?-1:0;if(i>0)a[n++]=i;else if(i<-1)a[n++]=this.DV+i;a.t=n;a.clamp()}function bnAdd(e){var a=nbi();this.addTo(e,a);return a}function bnSubtract(e){var a=nbi();this.subTo(e,a);return a}function bnMultiply(e){var a=nbi();this.multiplyTo(e,a);return a}function bnSquare(){var e=nbi();this.squareTo(e);return e}function bnDivide(e){var a=nbi();this.divRemTo(e,a,null);return a}function bnRemainder(e){var a=nbi();this.divRemTo(e,null,a);return a}function bnDivideAndRemainder(e){var a=nbi(),n=nbi();this.divRemTo(e,a,n);return new Array(a,n)}function bnpDMultiply(e){this[this.t]=this.am(0,e-1,this,0,0,this.t);++this.t;this.clamp()}function bnpDAddOffset(e,a){if(e==0)return;while(this.t<=a)this[this.t++]=0;this[a]+=e;while(this[a]>=this.DV){this[a]-=this.DV;if(++a>=this.t)this[this.t++]=0;++this[a]}}function NullExp(){}function nNop(e){return e}function nMulTo(e,a,n){e.multiplyTo(a,n)}function nSqrTo(e,a){e.squareTo(a)}NullExp.prototype.convert=nNop;NullExp.prototype.revert=nNop;NullExp.prototype.mulTo=nMulTo;NullExp.prototype.sqrTo=nSqrTo;function bnPow(e){return this.exp(e,new NullExp)}function bnpMultiplyLowerTo(e,a,n){var i=Math.min(this.t+e.t,a);n.s=0;n.t=i;while(i>0)n[--i]=0;var r;for(r=n.t-this.t;i=0)n[i]=0;for(i=Math.max(a-this.t,0);i2*this.m.t)return e.mod(this.m);else if(e.compareTo(this.m)<0)return e;else{var a=nbi();e.copyTo(a);this.reduce(a);return a}}function barrettRevert(e){return e}function barrettReduce(e){e.drShiftTo(this.m.t-1,this.r2);if(e.t>this.m.t+1){e.t=this.m.t+1;e.clamp()}this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3);this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(e.compareTo(this.r2)<0)e.dAddOffset(1,this.m.t+1);e.subTo(this.r2,e);while(e.compareTo(this.m)>=0)e.subTo(this.m,e)}function barrettSqrTo(e,a){e.squareTo(a);this.reduce(a)}function barrettMulTo(e,a,n){e.multiplyTo(a,n);this.reduce(n)}Barrett.prototype.convert=barrettConvert;Barrett.prototype.revert=barrettRevert;Barrett.prototype.reduce=barrettReduce;Barrett.prototype.mulTo=barrettMulTo;Barrett.prototype.sqrTo=barrettSqrTo;function bnModPow(e,a){var n=e.bitLength(),i,r=nbv(1),s;if(n<=0)return r;else if(n<18)i=1;else if(n<48)i=3;else if(n<144)i=4;else if(n<768)i=5;else i=6;if(n<8)s=new Classic(a);else if(a.isEven())s=new Barrett(a);else s=new Montgomery(a);var o=new Array,t=3,c=i-1,p=(1<1){var l=nbi();s.sqrTo(o[1],l);while(t<=p){o[t]=nbi();s.mulTo(l,o[t-2],o[t]);t+=2}}var u=e.t-1,f,m=true,d=nbi(),h;n=nbits(e[u])-1;while(u>=0){if(n>=c)f=e[u]>>n-c&p;else{f=(e[u]&(1<0)f|=e[u-1]>>this.DB+n-c}t=i;while((f&1)==0){f>>=1;--t}if((n-=t)<0){n+=this.DB;--u}if(m){o[f].copyTo(r);m=false}else{while(t>1){s.sqrTo(r,d);s.sqrTo(d,r);t-=2}if(t>0)s.sqrTo(r,d);else{h=r;r=d;d=h}s.mulTo(d,o[f],r)}while(u>=0&&(e[u]&1<0){a.rShiftTo(s,a);n.rShiftTo(s,n)}while(a.signum()>0){if((r=a.getLowestSetBit())>0)a.rShiftTo(r,a);if((r=n.getLowestSetBit())>0)n.rShiftTo(r,n);if(a.compareTo(n)>=0){a.subTo(n,a);a.rShiftTo(1,a)}else{n.subTo(a,n);n.rShiftTo(1,n)}}if(s>0)n.lShiftTo(s,n);return n}function bnpModInt(e){if(e<=0)return 0;var a=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(a==0)n=this[0]%e;else for(var i=this.t-1;i>=0;--i)n=(a*n+this[i])%e;return n}function bnModInverse(e){var a=e.isEven();if(this.isEven()&&a||e.signum()==0)return BigInteger.ZERO;var n=e.clone(),i=this.clone();var r=nbv(1),s=nbv(0),o=nbv(0),t=nbv(1);while(n.signum()!=0){while(n.isEven()){n.rShiftTo(1,n);if(a){if(!r.isEven()||!s.isEven()){r.addTo(this,r);s.subTo(e,s)}r.rShiftTo(1,r)}else if(!s.isEven())s.subTo(e,s);s.rShiftTo(1,s)}while(i.isEven()){i.rShiftTo(1,i);if(a){if(!o.isEven()||!t.isEven()){o.addTo(this,o);t.subTo(e,t)}o.rShiftTo(1,o)}else if(!t.isEven())t.subTo(e,t);t.rShiftTo(1,t)}if(n.compareTo(i)>=0){n.subTo(i,n);if(a)r.subTo(o,r);s.subTo(t,s)}else{i.subTo(n,i);if(a)o.subTo(r,o);t.subTo(s,t)}}if(i.compareTo(BigInteger.ONE)!=0)return BigInteger.ZERO;if(t.compareTo(e)>=0)return t.subtract(e);if(t.signum()<0)t.addTo(e,t);else return t;if(t.signum()<0)return t.add(e);else return t}var u=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997];var f=(1<<26)/u[u.length-1];function bnIsProbablePrime(e){var a,n=this.abs();if(n.t==1&&n[0]<=u[u.length-1]){for(a=0;a>1;if(e>u.length)e=u.length;var r=nbi();for(var s=0;s>8&255;d[h++]^=e>>16&255;d[h++]^=e>>24&255;if(h>=y)h-=y}function rng_seed_time(){rng_seed_int((new Date).getTime())}if(d==null){d=new Array;h=0;var v;if(typeof window!=="undefined"&&window.crypto){if(window.crypto.getRandomValues){var g=new Uint8Array(32);window.crypto.getRandomValues(g);for(v=0;v<32;++v)d[h++]=g[v]}else if(navigator.appName=="Netscape"&&navigator.appVersion<"5"){var b=window.crypto.random(32);for(v=0;v>>8;d[h++]=v&255}h=0;rng_seed_time()}function rng_get_byte(){if(m==null){rng_seed_time();m=prng_newstate();m.init(d);for(h=0;he.length||e.slice(a,a+5).toString("ascii")!=="BEGIN")return false;return true}function findDNSSECHeader(e){if(e.length<=m.length)return false;var a=e.slice(0,m.length);if(a.toString("ascii")===m)return true;if(typeof e!=="string"){e=e.toString("ascii")}var n=e.split("\n");var i=0;while(n[i].match(/^\;/))i++;if(n[i].toString("ascii").match(/\. IN KEY /))return true;if(n[i].toString("ascii").match(/\. IN DNSKEY /))return true;return false}function write(e,a){throw new Error('"auto" format cannot be used for writing')}},372:function(e,a,n){e.exports={bufferSplit:bufferSplit,addRSAMissing:addRSAMissing,calculateDSAPublic:calculateDSAPublic,calculateED25519Public:calculateED25519Public,calculateX25519Public:calculateX25519Public,mpNormalize:mpNormalize,mpDenormalize:mpDenormalize,ecNormalize:ecNormalize,countZeros:countZeros,assertCompatible:assertCompatible,isCompatible:isCompatible,opensslKeyDeriv:opensslKeyDeriv,opensshCipherInfo:opensshCipherInfo,publicFromPrivateECDSA:publicFromPrivateECDSA,zeroPadToLength:zeroPadToLength,writeBitString:writeBitString,readBitString:readBitString,pbkdf2:pbkdf2};var i=n(521);var r=n(108).Buffer;var s=n(381);var o=n(866);var t=n(417);var c=n(556);var p=n(119);var l=n(117);var u=n(347).BigInteger;var f=n(664);var m=3;function isCompatible(e,a,n){if(e===null||typeof e!=="object")return false;if(n===undefined)n=a.prototype._sshpkApiVersion;if(e instanceof a&&a.prototype._sshpkApiVersion[0]==n[0])return true;var i=Object.getPrototypeOf(e);var r=0;while(i.constructor.name!==a.name){i=Object.getPrototypeOf(i);if(!i||++r>m)return false}if(i.constructor.name!==a.name)return false;var s=i._sshpkApiVersion;if(s===undefined)s=a._oldVersionDetect(e);if(s[0]!=n[0]||s[1]=n[1],r+" must be compatible with "+a.name+" klass "+"version "+n[0]+"."+n[1])}var d={"des-ede3-cbc":{key:24,iv:8},"aes-128-cbc":{key:16,iv:16},"aes-256-cbc":{key:32,iv:16}};var h=8;function opensslKeyDeriv(e,a,n,s){i.buffer(a,"salt");i.buffer(n,"passphrase");i.number(s,"iteration count");var o=d[e];i.object(o,"supported cipher");a=a.slice(0,h);var c,p,l;var u=r.alloc(0);while(u.length=a.length){var t=o+1;n.push(e.slice(r,t-s));r=t;s=0}}if(r<=e.length)n.push(e.slice(r,e.length));return n}function ecNormalize(e,a){i.buffer(e);if(e[0]===0&&e[1]===4){if(a)return e;return e.slice(1)}else if(e[0]===4){if(!a)return e}else{while(e[0]===0)e=e.slice(1);if(e[0]===2||e[0]===3)throw new Error("Compressed elliptic curve points "+"are not supported");if(e[0]!==4)throw new Error("Not a valid elliptic curve point");if(!a)return e}var n=r.alloc(e.length+1);n[0]=0;e.copy(n,1);return n}function readBitString(e,a){if(a===undefined)a=p.Ber.BitString;var n=e.readString(a,true);i.strictEqual(n[0],0,"bit strings with unused bits are "+"not supported (0x"+n[0].toString(16)+")");return n.slice(1)}function writeBitString(e,a,n){if(n===undefined)n=p.Ber.BitString;var i=r.alloc(a.length+1);i[0]=0;a.copy(i,1);e.writeBuffer(i,n)}function mpNormalize(e){i.buffer(e);while(e.length>1&&e[0]===0&&(e[1]&128)===0)e=e.slice(1);if((e[0]&128)===128){var a=r.alloc(e.length+1);a[0]=0;e.copy(a,1);e=a}return e}function mpDenormalize(e){i.buffer(e);while(e.length>1&&e[0]===0)e=e.slice(1);return e}function zeroPadToLength(e,a){i.buffer(e);i.number(a);while(e.length>a){i.equal(e[0],0);e=e.slice(1)}while(e.length0:e.util.schemaHasRules(o,e.RULES.all)){f.schema=o;f.schemaPath=t;f.errSchemaPath=c;i+=" var "+u+" = errors; ";var d=e.compositeRule;e.compositeRule=f.compositeRule=true;f.createErrors=false;var h;if(f.opts.allErrors){h=f.opts.allErrors;f.opts.allErrors=false}i+=" "+e.validate(f)+" ";f.createErrors=true;if(h)f.opts.allErrors=h;e.compositeRule=f.compositeRule=d;i+=" if ("+m+") { ";var v=v||[];v.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ";if(e.opts.messages!==false){i+=" , message: 'should NOT be valid' "}if(e.opts.verbose){i+=" , schema: validate.schema"+t+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}var g=i;i=v.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+g+"]); "}else{i+=" validate.errors = ["+g+"]; return false; "}}else{i+=" var err = "+g+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" } else { errors = "+u+"; if (vErrors !== null) { if ("+u+") vErrors.length = "+u+"; else vErrors = null; } ";if(e.opts.allErrors){i+=" } "}}else{i+=" var err = ";if(e.createErrors!==false){i+=" { keyword: '"+"not"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ";if(e.opts.messages!==false){i+=" , message: 'should NOT be valid' "}if(e.opts.verbose){i+=" , schema: validate.schema"+t+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(p){i+=" if (false) { "}}return i}},394:function(e,a,n){var i=n(417);var r=n(347).BigInteger;var s=n(117).ECPointFp;var o=n(108).Buffer;a.ECCurves=n(863);function unstupid(e,a){return e.length>=a?e:unstupid("0"+e,a)}a.ECKey=function(e,a,n){var s;var t=e();var c=t.getN();var p=Math.floor(c.bitLength()/8);if(a){if(n){var e=t.getCurve();this.P=e.decodePointHex(a.toString("hex"))}else{if(a.length!=p)return false;s=new r(a.toString("hex"),16)}}else{var l=c.subtract(r.ONE);var u=new r(i.randomBytes(c.bitLength()));s=u.mod(l).add(r.ONE);this.P=t.getG().multiply(s)}if(this.P){this.PublicKey=o.from(t.getCurve().encodeCompressedPointHex(this.P),"hex")}if(s){this.PrivateKey=o.from(unstupid(s.toString(16),p*2),"hex");this.deriveSharedSecret=function(e){if(!e||!e.P)return false;var a=e.P.multiply(s);return o.from(unstupid(a.getX().toBigInteger().toString(16),p*2),"hex")}}}},404:function(e,a,n){"use strict";var i=n(466);var r=n(142);var s=n(573);e.exports={formats:s,parse:r,stringify:i}},413:function(e){e.exports=require("stream")},414:function(e){"use strict";function formatHostname(e){return e.replace(/^\.*/,".").toLowerCase()}function parseNoProxyZone(e){e=e.trim().toLowerCase();var a=e.split(":",2);var n=formatHostname(a[0]);var i=a[1];var r=e.indexOf(":")>-1;return{hostname:n,port:i,hasPort:r}}function uriInNoProxy(e,a){var n=e.port||(e.protocol==="https:"?"443":"80");var i=formatHostname(e.hostname);var r=a.split(",");return r.map(parseNoProxyZone).some(function(e){var a=i.indexOf(e.hostname);var r=a>-1&&a===i.length-e.hostname.length;if(e.hasPort){return n===e.port&&r}return r})}function getProxyFromURI(e){var a=process.env.NO_PROXY||process.env.no_proxy||"";if(a==="*"){return null}if(a!==""&&uriInNoProxy(e,a)){return null}if(e.protocol==="http:"){return process.env.HTTP_PROXY||process.env.http_proxy||null}if(e.protocol==="https:"){return process.env.HTTPS_PROXY||process.env.https_proxy||process.env.HTTP_PROXY||process.env.http_proxy||null}return null}e.exports=getProxyFromURI},417:function(e){e.exports=require("crypto")},433:function(e){e.exports=function(e,a){Object.keys(a).forEach(function(n){e[n]=e[n]||a[n]});return e}},434:function(e){"use strict";e.exports=function generate_validate(e,a,n){var i="";var r=e.schema.$async===true,s=e.util.schemaHasRulesExcept(e.schema,e.RULES.all,"$ref"),o=e.self._getId(e.schema);if(e.opts.strictKeywords){var t=e.util.schemaUnknownRules(e.schema,e.RULES.keywords);if(t){var c="unknown keyword: "+t;if(e.opts.strictKeywords==="log")e.logger.warn(c);else throw new Error(c)}}if(e.isTop){i+=" var validate = ";if(r){e.async=true;i+="async "}i+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ";if(o&&(e.opts.sourceCode||e.opts.processCode)){i+=" "+("/*# sourceURL="+o+" */")+" "}}if(typeof e.schema=="boolean"||!(s||e.schema.$ref)){var a="false schema";var p=e.level;var l=e.dataLevel;var u=e.schema[a];var f=e.schemaPath+e.util.getProperty(a);var m=e.errSchemaPath+"/"+a;var d=!e.opts.allErrors;var h;var v="data"+(l||"");var g="valid"+p;if(e.schema===false){if(e.isTop){d=true}else{i+=" var "+g+" = false; "}var b=b||[];b.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+(h||"false schema")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(m)+" , params: {} ";if(e.opts.messages!==false){i+=" , message: 'boolean schema is false' "}if(e.opts.verbose){i+=" , schema: false , parentSchema: validate.schema"+e.schemaPath+" , data: "+v+" "}i+=" } "}else{i+=" {} "}var y=i;i=b.pop();if(!e.compositeRule&&d){if(e.async){i+=" throw new ValidationError(["+y+"]); "}else{i+=" validate.errors = ["+y+"]; return false; "}}else{i+=" var err = "+y+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}}else{if(e.isTop){if(r){i+=" return data; "}else{i+=" validate.errors = null; return true; "}}else{i+=" var "+g+" = true; "}}if(e.isTop){i+=" }; return validate; "}return i}if(e.isTop){var k=e.isTop,p=e.level=0,l=e.dataLevel=0,v="data";e.rootId=e.resolve.fullPath(e.self._getId(e.root.schema));e.baseId=e.baseId||e.rootId;delete e.isTop;e.dataPathArr=[undefined];if(e.schema.default!==undefined&&e.opts.useDefaults&&e.opts.strictDefaults){var x="default is ignored in the schema root";if(e.opts.strictDefaults==="log")e.logger.warn(x);else throw new Error(x)}i+=" var vErrors = null; ";i+=" var errors = 0; ";i+=" if (rootData === undefined) rootData = data; "}else{var p=e.level,l=e.dataLevel,v="data"+(l||"");if(o)e.baseId=e.resolve.url(e.baseId,o);if(r&&!e.async)throw new Error("async schema in sync schema");i+=" var errs_"+p+" = errors;"}var g="valid"+p,d=!e.opts.allErrors,w="",j="";var h;var F=e.schema.type,E=Array.isArray(F);if(F&&e.opts.nullable&&e.schema.nullable===true){if(E){if(F.indexOf("null")==-1)F=F.concat("null")}else if(F!="null"){F=[F,"null"];E=true}}if(E&&F.length==1){F=F[0];E=false}if(e.schema.$ref&&s){if(e.opts.extendRefs=="fail"){throw new Error('$ref: validation keywords used in schema at path "'+e.errSchemaPath+'" (see option extendRefs)')}else if(e.opts.extendRefs!==true){s=false;e.logger.warn('$ref: keywords ignored in schema at path "'+e.errSchemaPath+'"')}}if(e.schema.$comment&&e.opts.$comment){i+=" "+e.RULES.all.$comment.code(e,"$comment")}if(F){if(e.opts.coerceTypes){var z=e.util.coerceToTypes(e.opts.coerceTypes,F)}var A=e.RULES.types[F];if(z||E||A===true||A&&!$shouldUseGroup(A)){var f=e.schemaPath+".type",m=e.errSchemaPath+"/type";var f=e.schemaPath+".type",m=e.errSchemaPath+"/type",C=E?"checkDataTypes":"checkDataType";i+=" if ("+e.util[C](F,v,e.opts.strictNumbers,true)+") { ";if(z){var S="dataType"+p,B="coerced"+p;i+=" var "+S+" = typeof "+v+"; ";if(e.opts.coerceTypes=="array"){i+=" if ("+S+" == 'object' && Array.isArray("+v+")) "+S+" = 'array'; "}i+=" var "+B+" = undefined; ";var q="";var I=z;if(I){var T,O=-1,R=I.length-1;while(O0:e.util.schemaHasRules(o,e.RULES.all)){f.schema=o;f.schemaPath=t;f.errSchemaPath=c;var h="key"+r,v="idx"+r,g="i"+r,b="' + "+h+" + '",y=f.dataLevel=e.dataLevel+1,k="data"+y,x="dataProperties"+r,w=e.opts.ownProperties,j=e.baseId;if(w){i+=" var "+x+" = undefined; "}if(w){i+=" "+x+" = "+x+" || Object.keys("+l+"); for (var "+v+"=0; "+v+"<"+x+".length; "+v+"++) { var "+h+" = "+x+"["+v+"]; "}else{i+=" for (var "+h+" in "+l+") { "}i+=" var startErrs"+r+" = errors; ";var F=h;var E=e.compositeRule;e.compositeRule=f.compositeRule=true;var z=e.validate(f);f.baseId=j;if(e.util.varOccurences(z,k)<2){i+=" "+e.util.varReplace(z,k,F)+" "}else{i+=" var "+k+" = "+F+"; "+z+" "}e.compositeRule=f.compositeRule=E;i+=" if (!"+d+") { for (var "+g+"=startErrs"+r+"; "+g+"0?A+z:""}},477:function(e,a,n){var i=n(357);var r=n(108).Buffer;var s=n(603);var o=n(700);var t=o.newInvalidAsn1Error;var c={size:1024,growthFactor:8};function merge(e,a){i.ok(e);i.equal(typeof e,"object");i.ok(a);i.equal(typeof a,"object");var n=Object.getOwnPropertyNames(e);n.forEach(function(n){if(a[n])return;var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(a,n,i)});return a}function Writer(e){e=merge(c,e||{});this._buf=r.alloc(e.size||1024);this._size=this._buf.length;this._offset=0;this._options=e;this._seq=[]}Object.defineProperty(Writer.prototype,"buffer",{get:function(){if(this._seq.length)throw t(this._seq.length+" unended sequence(s)");return this._buf.slice(0,this._offset)}});Writer.prototype.writeByte=function(e){if(typeof e!=="number")throw new TypeError("argument must be a Number");this._ensure(1);this._buf[this._offset++]=e};Writer.prototype.writeInt=function(e,a){if(typeof e!=="number")throw new TypeError("argument must be a Number");if(typeof a!=="number")a=s.Integer;var n=4;while(((e&4286578688)===0||(e&4286578688)===4286578688>>0)&&n>1){n--;e<<=8}if(n>4)throw t("BER ints cannot be > 0xffffffff");this._ensure(2+n);this._buf[this._offset++]=a;this._buf[this._offset++]=n;while(n-- >0){this._buf[this._offset++]=(e&4278190080)>>>24;e<<=8}};Writer.prototype.writeNull=function(){this.writeByte(s.Null);this.writeByte(0)};Writer.prototype.writeEnumeration=function(e,a){if(typeof e!=="number")throw new TypeError("argument must be a Number");if(typeof a!=="number")a=s.Enumeration;return this.writeInt(e,a)};Writer.prototype.writeBoolean=function(e,a){if(typeof e!=="boolean")throw new TypeError("argument must be a Boolean");if(typeof a!=="number")a=s.Boolean;this._ensure(3);this._buf[this._offset++]=a;this._buf[this._offset++]=1;this._buf[this._offset++]=e?255:0};Writer.prototype.writeString=function(e,a){if(typeof e!=="string")throw new TypeError("argument must be a string (was: "+typeof e+")");if(typeof a!=="number")a=s.OctetString;var n=r.byteLength(e);this.writeByte(a);this.writeLength(n);if(n){this._ensure(n);this._buf.write(e,this._offset);this._offset+=n}};Writer.prototype.writeBuffer=function(e,a){if(typeof a!=="number")throw new TypeError("tag must be a number");if(!r.isBuffer(e))throw new TypeError("argument must be a buffer");this.writeByte(a);this.writeLength(e.length);this._ensure(e.length);e.copy(this._buf,this._offset,0,e.length);this._offset+=e.length};Writer.prototype.writeStringArray=function(e){if(!e instanceof Array)throw new TypeError("argument must be an Array[String]");var a=this;e.forEach(function(e){a.writeString(e)})};Writer.prototype.writeOID=function(e,a){if(typeof e!=="string")throw new TypeError("argument must be a string");if(typeof a!=="number")a=s.OID;if(!/^([0-9]+\.){3,}[0-9]+$/.test(e))throw new Error("argument is not a valid OID string");function encodeOctet(e,a){if(a<128){e.push(a)}else if(a<16384){e.push(a>>>7|128);e.push(a&127)}else if(a<2097152){e.push(a>>>14|128);e.push((a>>>7|128)&255);e.push(a&127)}else if(a<268435456){e.push(a>>>21|128);e.push((a>>>14|128)&255);e.push((a>>>7|128)&255);e.push(a&127)}else{e.push((a>>>28|128)&255);e.push((a>>>21|128)&255);e.push((a>>>14|128)&255);e.push((a>>>7|128)&255);e.push(a&127)}}var n=e.split(".");var i=[];i.push(parseInt(n[0],10)*40+parseInt(n[1],10));n.slice(2).forEach(function(e){encodeOctet(i,parseInt(e,10))});var r=this;this._ensure(2+i.length);this.writeByte(a);this.writeLength(i.length);i.forEach(function(e){r.writeByte(e)})};Writer.prototype.writeLength=function(e){if(typeof e!=="number")throw new TypeError("argument must be a Number");this._ensure(4);if(e<=127){this._buf[this._offset++]=e}else if(e<=255){this._buf[this._offset++]=129;this._buf[this._offset++]=e}else if(e<=65535){this._buf[this._offset++]=130;this._buf[this._offset++]=e>>8;this._buf[this._offset++]=e}else if(e<=16777215){this._buf[this._offset++]=131;this._buf[this._offset++]=e>>16;this._buf[this._offset++]=e>>8;this._buf[this._offset++]=e}else{throw t("Length too long (> 4 bytes)")}};Writer.prototype.startSequence=function(e){if(typeof e!=="number")e=s.Sequence|s.Constructor;this.writeByte(e);this._seq.push(this._offset);this._ensure(3);this._offset+=3};Writer.prototype.endSequence=function(){var e=this._seq.pop();var a=e+3;var n=this._offset-a;if(n<=127){this._shift(a,n,-2);this._buf[e]=n}else if(n<=255){this._shift(a,n,-1);this._buf[e]=129;this._buf[e+1]=n}else if(n<=65535){this._buf[e]=130;this._buf[e+1]=n>>8;this._buf[e+2]=n}else if(n<=16777215){this._shift(a,n,1);this._buf[e]=131;this._buf[e+1]=n>>16;this._buf[e+2]=n>>8;this._buf[e+3]=n}else{throw t("Sequence too long")}};Writer.prototype._shift=function(e,a,n){i.ok(e!==undefined);i.ok(a!==undefined);i.ok(n);this._buf.copy(this._buf,e+n,e,e+a);this._offset+=n};Writer.prototype._ensure=function(e){i.ok(e);if(this._size-this._offseta?1:e",y=d?">":"<",l=undefined;if(!(f||typeof o=="number"||o===undefined)){throw new Error(a+" must be number")}if(!(g||v===undefined||typeof v=="number"||typeof v=="boolean")){throw new Error(h+" must be number or boolean")}if(g){var k=e.util.getData(v.$data,s,e.dataPathArr),x="exclusive"+r,w="exclType"+r,j="exclIsNumber"+r,F="op"+r,E="' + "+F+" + '";i+=" var schemaExcl"+r+" = "+k+"; ";k="schemaExcl"+r;i+=" var "+x+"; var "+w+" = typeof "+k+"; if ("+w+" != 'boolean' && "+w+" != 'undefined' && "+w+" != 'number') { ";var l=h;var z=z||[];z.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+(l||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ";if(e.opts.messages!==false){i+=" , message: '"+h+" should be boolean' "}if(e.opts.verbose){i+=" , schema: validate.schema"+t+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}i+=" } "}else{i+=" {} "}var A=i;i=z.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+A+"]); "}else{i+=" validate.errors = ["+A+"]; return false; "}}else{i+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" } else if ( ";if(f){i+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}i+=" "+w+" == 'number' ? ( ("+x+" = "+m+" === undefined || "+k+" "+b+"= "+m+") ? "+u+" "+y+"= "+k+" : "+u+" "+y+" "+m+" ) : ( ("+x+" = "+k+" === true) ? "+u+" "+y+"= "+m+" : "+u+" "+y+" "+m+" ) || "+u+" !== "+u+") { var op"+r+" = "+x+" ? '"+b+"' : '"+b+"='; ";if(o===undefined){l=h;c=e.errSchemaPath+"/"+h;m=k;f=g}}else{var j=typeof v=="number",E=b;if(j&&f){var F="'"+E+"'";i+=" if ( ";if(f){i+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}i+=" ( "+m+" === undefined || "+v+" "+b+"= "+m+" ? "+u+" "+y+"= "+v+" : "+u+" "+y+" "+m+" ) || "+u+" !== "+u+") { "}else{if(j&&o===undefined){x=true;l=h;c=e.errSchemaPath+"/"+h;m=v;y+="="}else{if(j)m=Math[d?"min":"max"](v,o);if(v===(j?m:true)){x=true;l=h;c=e.errSchemaPath+"/"+h;y+="="}else{x=false;E+="="}}var F="'"+E+"'";i+=" if ( ";if(f){i+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}i+=" "+u+" "+y+" "+m+" || "+u+" !== "+u+") { "}}l=l||a;var z=z||[];z.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+(l||"_limit")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { comparison: "+F+", limit: "+m+", exclusive: "+x+" } ";if(e.opts.messages!==false){i+=" , message: 'should be "+E+" ";if(f){i+="' + "+m}else{i+=""+m+"'"}}if(e.opts.verbose){i+=" , schema: ";if(f){i+="validate.schema"+t}else{i+=""+o}i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}i+=" } "}else{i+=" {} "}var A=i;i=z.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+A+"]); "}else{i+=" validate.errors = ["+A+"]; return false; "}}else{i+=" var err = "+A+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" } ";if(p){i+=" else { "}return i}},521:function(e,a,n){var i=n(357);var r=n(413).Stream;var s=n(669);var o=/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;function _capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}function _toss(e,a,n,r,o){throw new i.AssertionError({message:s.format("%s (%s) is required",e,a),actual:o===undefined?typeof r:o(r),expected:a,operator:n||"===",stackStartFunction:_toss.caller})}function _getClass(e){return Object.prototype.toString.call(e).slice(8,-1)}function noop(){}var t={bool:{check:function(e){return typeof e==="boolean"}},func:{check:function(e){return typeof e==="function"}},string:{check:function(e){return typeof e==="string"}},object:{check:function(e){return typeof e==="object"&&e!==null}},number:{check:function(e){return typeof e==="number"&&!isNaN(e)}},finite:{check:function(e){return typeof e==="number"&&!isNaN(e)&&isFinite(e)}},buffer:{check:function(e){return Buffer.isBuffer(e)},operator:"Buffer.isBuffer"},array:{check:function(e){return Array.isArray(e)},operator:"Array.isArray"},stream:{check:function(e){return e instanceof r},operator:"instanceof",actual:_getClass},date:{check:function(e){return e instanceof Date},operator:"instanceof",actual:_getClass},regexp:{check:function(e){return e instanceof RegExp},operator:"instanceof",actual:_getClass},uuid:{check:function(e){return typeof e==="string"&&o.test(e)},operator:"isUUID"}};function _setExports(e){var a=Object.keys(t);var n;if(process.env.NODE_NDEBUG){n=noop}else{n=function(e,a){if(!e){_toss(a,"true",e)}}}a.forEach(function(a){if(e){n[a]=noop;return}var i=t[a];n[a]=function(e,n){if(!i.check(e)){_toss(n,a,i.operator,e,i.actual)}}});a.forEach(function(a){var i="optional"+_capitalize(a);if(e){n[i]=noop;return}var r=t[a];n[i]=function(e,n){if(e===undefined||e===null){return}if(!r.check(e)){_toss(n,a,r.operator,e,r.actual)}}});a.forEach(function(a){var i="arrayOf"+_capitalize(a);if(e){n[i]=noop;return}var r=t[a];var s="["+a+"]";n[i]=function(e,a){if(!Array.isArray(e)){_toss(a,s,r.operator,e,r.actual)}var n;for(n=0;n1){a[0]=a[0].slice(0,-1);var i=a.length-1;for(var r=1;r= 0x80 (not a basic code point)","invalid-input":"Invalid input"};var b=o-t;var y=Math.floor;var k=String.fromCharCode;function error$1(e){throw new RangeError(g[e])}function map(e,a){var n=[];var i=e.length;while(i--){n[i]=a(e[i])}return n}function mapDomain(e,a){var n=e.split("@");var i="";if(n.length>1){i=n[0]+"@";e=n[1]}e=e.replace(v,".");var r=e.split(".");var s=map(r,a).join(".");return i+s}function ucs2decode(e){var a=[];var n=0;var i=e.length;while(n=55296&&r<=56319&&n>1;e+=y(e/a);for(;e>b*c>>1;i+=o){e=y(e/b)}return y(i+(b+1)*e/(e+p))};var E=function decode(e){var a=[];var n=e.length;var i=0;var r=f;var p=u;var l=e.lastIndexOf(m);if(l<0){l=0}for(var d=0;d=128){error$1("not-basic")}a.push(e.charCodeAt(d))}for(var h=l>0?l+1:0;h=n){error$1("invalid-input")}var k=w(e.charCodeAt(h++));if(k>=o||k>y((s-i)/g)){error$1("overflow")}i+=k*g;var x=b<=p?t:b>=p+c?c:b-p;if(ky(s/j)){error$1("overflow")}g*=j}var E=a.length+1;p=F(i-v,E,v==0);if(y(i/E)>s-r){error$1("overflow")}r+=y(i/E);i%=E;a.splice(i++,0,r)}return String.fromCodePoint.apply(String,a)};var z=function encode(e){var a=[];e=ucs2decode(e);var n=e.length;var i=f;var r=0;var p=u;var l=true;var d=false;var h=undefined;try{for(var v=e[Symbol.iterator](),g;!(l=(g=v.next()).done);l=true){var b=g.value;if(b<128){a.push(k(b))}}}catch(e){d=true;h=e}finally{try{if(!l&&v.return){v.return()}}finally{if(d){throw h}}}var x=a.length;var w=x;if(x){a.push(m)}while(w=i&&qy((s-r)/I)){error$1("overflow")}r+=(E-i)*I;i=E;var T=true;var O=false;var R=undefined;try{for(var D=e[Symbol.iterator](),U;!(T=(U=D.next()).done);T=true){var H=U.value;if(Hs){error$1("overflow")}if(H==i){var N=r;for(var M=o;;M+=o){var L=M<=p?t:M>=p+c?c:M-p;if(N>6|192).toString(16).toUpperCase()+"%"+(a&63|128).toString(16).toUpperCase();else n="%"+(a>>12|224).toString(16).toUpperCase()+"%"+(a>>6&63|128).toString(16).toUpperCase()+"%"+(a&63|128).toString(16).toUpperCase();return n}function pctDecChars(e){var a="";var n=0;var i=e.length;while(n=194&&r<224){if(i-n>=6){var s=parseInt(e.substr(n+4,2),16);a+=String.fromCharCode((r&31)<<6|s&63)}else{a+=e.substr(n,6)}n+=6}else if(r>=224){if(i-n>=9){var o=parseInt(e.substr(n+4,2),16);var t=parseInt(e.substr(n+7,2),16);a+=String.fromCharCode((r&15)<<12|(o&63)<<6|t&63)}else{a+=e.substr(n,9)}n+=9}else{a+=e.substr(n,3);n+=3}}return a}function _normalizeComponentEncoding(e,a){function decodeUnreserved(e){var n=pctDecChars(e);return!n.match(a.UNRESERVED)?e:n}if(e.scheme)e.scheme=String(e.scheme).replace(a.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(a.NOT_SCHEME,"");if(e.userinfo!==undefined)e.userinfo=String(e.userinfo).replace(a.PCT_ENCODED,decodeUnreserved).replace(a.NOT_USERINFO,pctEncChar).replace(a.PCT_ENCODED,toUpperCase);if(e.host!==undefined)e.host=String(e.host).replace(a.PCT_ENCODED,decodeUnreserved).toLowerCase().replace(a.NOT_HOST,pctEncChar).replace(a.PCT_ENCODED,toUpperCase);if(e.path!==undefined)e.path=String(e.path).replace(a.PCT_ENCODED,decodeUnreserved).replace(e.scheme?a.NOT_PATH:a.NOT_PATH_NOSCHEME,pctEncChar).replace(a.PCT_ENCODED,toUpperCase);if(e.query!==undefined)e.query=String(e.query).replace(a.PCT_ENCODED,decodeUnreserved).replace(a.NOT_QUERY,pctEncChar).replace(a.PCT_ENCODED,toUpperCase);if(e.fragment!==undefined)e.fragment=String(e.fragment).replace(a.PCT_ENCODED,decodeUnreserved).replace(a.NOT_FRAGMENT,pctEncChar).replace(a.PCT_ENCODED,toUpperCase);return e}function _stripLeadingZeros(e){return e.replace(/^0*(.*)/,"$1")||"0"}function _normalizeIPv4(e,a){var n=e.match(a.IPV4ADDRESS)||[];var r=i(n,2),s=r[1];if(s){return s.split(".").map(_stripLeadingZeros).join(".")}else{return e}}function _normalizeIPv6(e,a){var n=e.match(a.IPV6ADDRESS)||[];var r=i(n,3),s=r[1],o=r[2];if(s){var t=s.toLowerCase().split("::").reverse(),c=i(t,2),p=c[0],l=c[1];var u=l?l.split(":").map(_stripLeadingZeros):[];var f=p.split(":").map(_stripLeadingZeros);var m=a.IPV4ADDRESS.test(f[f.length-1]);var d=m?7:8;var h=f.length-d;var v=Array(d);for(var g=0;g1){var x=v.slice(0,y.index);var w=v.slice(y.index+y.length);k=x.join(":")+"::"+w.join(":")}else{k=v.join(":")}if(o){k+="%"+o}return k}else{return e}}var q=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i;var I="".match(/(){0}/)[1]===undefined;function parse(e){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r={};var s=i.iri!==false?n:a;if(i.reference==="suffix")e=(i.scheme?i.scheme+":":"")+"//"+e;var o=e.match(q);if(o){if(I){r.scheme=o[1];r.userinfo=o[3];r.host=o[4];r.port=parseInt(o[5],10);r.path=o[6]||"";r.query=o[7];r.fragment=o[8];if(isNaN(r.port)){r.port=o[5]}}else{r.scheme=o[1]||undefined;r.userinfo=e.indexOf("@")!==-1?o[3]:undefined;r.host=e.indexOf("//")!==-1?o[4]:undefined;r.port=parseInt(o[5],10);r.path=o[6]||"";r.query=e.indexOf("?")!==-1?o[7]:undefined;r.fragment=e.indexOf("#")!==-1?o[8]:undefined;if(isNaN(r.port)){r.port=e.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?o[4]:undefined}}if(r.host){r.host=_normalizeIPv6(_normalizeIPv4(r.host,s),s)}if(r.scheme===undefined&&r.userinfo===undefined&&r.host===undefined&&r.port===undefined&&!r.path&&r.query===undefined){r.reference="same-document"}else if(r.scheme===undefined){r.reference="relative"}else if(r.fragment===undefined){r.reference="absolute"}else{r.reference="uri"}if(i.reference&&i.reference!=="suffix"&&i.reference!==r.reference){r.error=r.error||"URI is not a "+i.reference+" reference."}var t=B[(i.scheme||r.scheme||"").toLowerCase()];if(!i.unicodeSupport&&(!t||!t.unicodeSupport)){if(r.host&&(i.domainHost||t&&t.domainHost)){try{r.host=S.toASCII(r.host.replace(s.PCT_ENCODED,pctDecChars).toLowerCase())}catch(e){r.error=r.error||"Host's domain name can not be converted to ASCII via punycode: "+e}}_normalizeComponentEncoding(r,a)}else{_normalizeComponentEncoding(r,s)}if(t&&t.parse){t.parse(r,i)}}else{r.error=r.error||"URI can not be parsed."}return r}function _recomposeAuthority(e,i){var r=i.iri!==false?n:a;var s=[];if(e.userinfo!==undefined){s.push(e.userinfo);s.push("@")}if(e.host!==undefined){s.push(_normalizeIPv6(_normalizeIPv4(String(e.host),r),r).replace(r.IPV6ADDRESS,function(e,a,n){return"["+a+(n?"%25"+n:"")+"]"}))}if(typeof e.port==="number"){s.push(":");s.push(e.port.toString(10))}return s.length?s.join(""):undefined}var T=/^\.\.?\//;var O=/^\/\.(\/|$)/;var R=/^\/\.\.(\/|$)/;var D=/^\/?(?:.|\n)*?(?=\/|$)/;function removeDotSegments(e){var a=[];while(e.length){if(e.match(T)){e=e.replace(T,"")}else if(e.match(O)){e=e.replace(O,"/")}else if(e.match(R)){e=e.replace(R,"/");a.pop()}else if(e==="."||e===".."){e=""}else{var n=e.match(D);if(n){var i=n[0];e=e.slice(i.length);a.push(i)}else{throw new Error("Unexpected dot segment condition")}}}return a.join("")}function serialize(e){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};var r=i.iri?n:a;var s=[];var o=B[(i.scheme||e.scheme||"").toLowerCase()];if(o&&o.serialize)o.serialize(e,i);if(e.host){if(r.IPV6ADDRESS.test(e.host)){}else if(i.domainHost||o&&o.domainHost){try{e.host=!i.iri?S.toASCII(e.host.replace(r.PCT_ENCODED,pctDecChars).toLowerCase()):S.toUnicode(e.host)}catch(a){e.error=e.error||"Host's domain name can not be converted to "+(!i.iri?"ASCII":"Unicode")+" via punycode: "+a}}}_normalizeComponentEncoding(e,r);if(i.reference!=="suffix"&&e.scheme){s.push(e.scheme);s.push(":")}var t=_recomposeAuthority(e,i);if(t!==undefined){if(i.reference!=="suffix"){s.push("//")}s.push(t);if(e.path&&e.path.charAt(0)!=="/"){s.push("/")}}if(e.path!==undefined){var c=e.path;if(!i.absolutePath&&(!o||!o.absolutePath)){c=removeDotSegments(c)}if(t===undefined){c=c.replace(/^\/\//,"/%2F")}s.push(c)}if(e.query!==undefined){s.push("?");s.push(e.query)}if(e.fragment!==undefined){s.push("#");s.push(e.fragment)}return s.join("")}function resolveComponents(e,a){var n=arguments.length>2&&arguments[2]!==undefined?arguments[2]:{};var i=arguments[3];var r={};if(!i){e=parse(serialize(e,n),n);a=parse(serialize(a,n),n)}n=n||{};if(!n.tolerant&&a.scheme){r.scheme=a.scheme;r.userinfo=a.userinfo;r.host=a.host;r.port=a.port;r.path=removeDotSegments(a.path||"");r.query=a.query}else{if(a.userinfo!==undefined||a.host!==undefined||a.port!==undefined){r.userinfo=a.userinfo;r.host=a.host;r.port=a.port;r.path=removeDotSegments(a.path||"");r.query=a.query}else{if(!a.path){r.path=e.path;if(a.query!==undefined){r.query=a.query}else{r.query=e.query}}else{if(a.path.charAt(0)==="/"){r.path=removeDotSegments(a.path)}else{if((e.userinfo!==undefined||e.host!==undefined||e.port!==undefined)&&!e.path){r.path="/"+a.path}else if(!e.path){r.path=a.path}else{r.path=e.path.slice(0,e.path.lastIndexOf("/")+1)+a.path}r.path=removeDotSegments(r.path)}r.query=a.query}r.userinfo=e.userinfo;r.host=e.host;r.port=e.port}r.scheme=e.scheme}r.fragment=a.fragment;return r}function resolve(e,a,n){var i=assign({scheme:"null"},n);return serialize(resolveComponents(parse(e,i),parse(a,i),i,true),i)}function normalize(e,a){if(typeof e==="string"){e=serialize(parse(e,a),a)}else if(typeOf(e)==="object"){e=parse(serialize(e,a),a)}return e}function equal(e,a,n){if(typeof e==="string"){e=serialize(parse(e,n),n)}else if(typeOf(e)==="object"){e=serialize(e,n)}if(typeof a==="string"){a=serialize(parse(a,n),n)}else if(typeOf(a)==="object"){a=serialize(a,n)}return e===a}function escapeComponent(e,i){return e&&e.toString().replace(!i||!i.iri?a.ESCAPE:n.ESCAPE,pctEncChar)}function unescapeComponent(e,i){return e&&e.toString().replace(!i||!i.iri?a.PCT_ENCODED:n.PCT_ENCODED,pctDecChars)}var U={scheme:"http",domainHost:true,parse:function parse(e,a){if(!e.host){e.error=e.error||"HTTP URIs must have a host."}return e},serialize:function serialize(e,a){if(e.port===(String(e.scheme).toLowerCase()!=="https"?80:443)||e.port===""){e.port=undefined}if(!e.path){e.path="/"}return e}};var H={scheme:"https",domainHost:U.domainHost,parse:U.parse,serialize:U.serialize};var N={};var M=true;var L="[A-Za-z0-9\\-\\.\\_\\~"+(M?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]";var K="[0-9A-Fa-f]";var Q=subexp(subexp("%[EFef]"+K+"%"+K+K+"%"+K+K)+"|"+subexp("%[89A-Fa-f]"+K+"%"+K+K)+"|"+subexp("%"+K+K));var G="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]";var J="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]";var W=merge(J,'[\\"\\\\]');var X="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]";var Y=new RegExp(L,"g");var Z=new RegExp(Q,"g");var P=new RegExp(merge("[^]",G,"[\\.]",'[\\"]',W),"g");var V=new RegExp(merge("[^]",L,X),"g");var _=V;function decodeUnreserved(e){var a=pctDecChars(e);return!a.match(Y)?e:a}var $={scheme:"mailto",parse:function parse$$1(e,a){var n=e;var i=n.to=n.path?n.path.split(","):[];n.path=undefined;if(n.query){var r=false;var s={};var o=n.query.split("&");for(var t=0,c=o.length;t0&&!e.useChunkedEncodingByDefault){var s=this.freeSockets[i].pop();s.removeListener("error",s._onIdleError);delete s._onIdleError;e._reusedSocket=true;e.onSocket(s)}else{this.addRequestNoreuse(e,a,n)}};ForeverAgent.prototype.removeSocket=function(e,a,n,i){if(this.sockets[a]){var r=this.sockets[a].indexOf(e);if(r!==-1){this.sockets[a].splice(r,1)}}else if(this.sockets[a]&&this.sockets[a].length===0){delete this.sockets[a];delete this.requests[a]}if(this.freeSockets[a]){var r=this.freeSockets[a].indexOf(e);if(r!==-1){this.freeSockets[a].splice(r,1);if(this.freeSockets[a].length===0){delete this.freeSockets[a]}}}if(this.requests[a]&&this.requests[a].length){this.createSocket(a,n,i).emit("free")}};function ForeverAgentSSL(e){ForeverAgent.call(this,e)}i.inherits(ForeverAgentSSL,ForeverAgent);ForeverAgentSSL.prototype.createConnection=createConnectionSSL;ForeverAgentSSL.prototype.addRequestNoreuse=t.prototype.addRequest;function createConnectionSSL(e,a,n){if(typeof e==="object"){n=e}else if(typeof a==="object"){n=a}else if(typeof n==="object"){n=n}else{n={}}if(typeof e==="number"){n.port=e}if(typeof a==="string"){n.host=a}return o.connect(n)}},539:function(e){"use strict";e.exports=function generate_multipleOf(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l="data"+(s||"");var u=e.opts.$data&&o&&o.$data,f;if(u){i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ";f="schema"+r}else{f=o}if(!(u||typeof o=="number")){throw new Error(a+" must be number")}i+="var division"+r+";if (";if(u){i+=" "+f+" !== undefined && ( typeof "+f+" != 'number' || "}i+=" (division"+r+" = "+l+" / "+f+", ";if(e.opts.multipleOfPrecision){i+=" Math.abs(Math.round(division"+r+") - division"+r+") > 1e-"+e.opts.multipleOfPrecision+" "}else{i+=" division"+r+" !== parseInt(division"+r+") "}i+=" ) ";if(u){i+=" ) "}i+=" ) { ";var m=m||[];m.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+"multipleOf"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { multipleOf: "+f+" } ";if(e.opts.messages!==false){i+=" , message: 'should be multiple of ";if(u){i+="' + "+f}else{i+=""+f+"'"}}if(e.opts.verbose){i+=" , schema: ";if(u){i+="validate.schema"+t}else{i+=""+o}i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}var d=i;i=m.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+d+"]); "}else{i+=" validate.errors = ["+d+"]; return false; "}}else{i+=" var err = "+d+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+="} ";if(p){i+=" else { "}return i}},547:function(e){"use strict";e.exports=function generate_uniqueItems(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l="data"+(s||"");var u="valid"+r;var f=e.opts.$data&&o&&o.$data,m;if(f){i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ";m="schema"+r}else{m=o}if((o||f)&&e.opts.uniqueItems!==false){if(f){i+=" var "+u+"; if ("+m+" === false || "+m+" === undefined) "+u+" = true; else if (typeof "+m+" != 'boolean') "+u+" = false; else { "}i+=" var i = "+l+".length , "+u+" = true , j; if (i > 1) { ";var d=e.schema.items&&e.schema.items.type,h=Array.isArray(d);if(!d||d=="object"||d=="array"||h&&(d.indexOf("object")>=0||d.indexOf("array")>=0)){i+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+l+"[i], "+l+"[j])) { "+u+" = false; break outer; } } } "}else{i+=" var itemIndices = {}, item; for (;i--;) { var item = "+l+"[i]; ";var v="checkDataType"+(h?"s":"");i+=" if ("+e.util[v](d,"item",e.opts.strictNumbers,true)+") continue; ";if(h){i+=" if (typeof item == 'string') item = '\"' + item; "}i+=" if (typeof itemIndices[item] == 'number') { "+u+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}i+=" } ";if(f){i+=" } "}i+=" if (!"+u+") { ";var g=g||[];g.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+"uniqueItems"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { i: i, j: j } ";if(e.opts.messages!==false){i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "}if(e.opts.verbose){i+=" , schema: ";if(f){i+="validate.schema"+t}else{i+=""+o}i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}var b=i;i=g.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+b+"]); "}else{i+=" validate.errors = ["+b+"]; return false; "}}else{i+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" } ";if(p){i+=" else { "}}else{if(p){i+=" if (true) { "}}return i}},553:function(e,a,n){"use strict";var i=n(417);function randomString(e){var a=(e+1)*6;var n=i.randomBytes(Math.ceil(a/8));var r=n.toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return r.slice(0,e)}function calculatePayloadHash(e,a,n){var r=i.createHash(a);r.update("hawk.1.payload\n");r.update((n?n.split(";")[0].trim().toLowerCase():"")+"\n");r.update(e||"");r.update("\n");return r.digest("base64")}a.calculateMac=function(e,a){var n="hawk.1.header\n"+a.ts+"\n"+a.nonce+"\n"+(a.method||"").toUpperCase()+"\n"+a.resource+"\n"+a.host.toLowerCase()+"\n"+a.port+"\n"+(a.hash||"")+"\n";if(a.ext){n=n+a.ext.replace("\\","\\\\").replace("\n","\\n")}n=n+"\n";if(a.app){n=n+a.app+"\n"+(a.dlg||"")+"\n"}var r=i.createHmac(e.algorithm,e.key).update(n);var s=r.digest("base64");return s};a.header=function(e,n,i){var r=i.timestamp||Math.floor((Date.now()+(i.localtimeOffsetMsec||0))/1e3);var s=i.credentials;if(!s||!s.id||!s.key||!s.algorithm){return""}if(["sha1","sha256"].indexOf(s.algorithm)===-1){return""}var o={ts:r,nonce:i.nonce||randomString(6),method:n,resource:e.pathname+(e.search||""),host:e.hostname,port:e.port||(e.protocol==="http:"?80:443),hash:i.hash,ext:i.ext,app:i.app,dlg:i.dlg};if(!o.hash&&(i.payload||i.payload==="")){o.hash=calculatePayloadHash(i.payload,s.algorithm,i.contentType)}var t=a.calculateMac(s,o);var c=o.ext!==null&&o.ext!==undefined&&o.ext!=="";var p='Hawk id="'+s.id+'", ts="'+o.ts+'", nonce="'+o.nonce+(o.hash?'", hash="'+o.hash:"")+(c?'", ext="'+o.ext.replace(/\\/g,"\\\\").replace(/"/g,'\\"'):"")+'", mac="'+t+'"';if(o.app){p=p+', app="'+o.app+(o.dlg?'", dlg="'+o.dlg:"")+'"'}return p}},554:function(e,a,n){"use strict";var i=n(835);var r=n(404);var s=n(453);var o=n(709);var t=n(493);var c=n(417);var p=n(82).Buffer;function OAuth(e){this.request=e;this.params=null}OAuth.prototype.buildParams=function(e,a,n,i,r,s){var c={};for(var p in e){c["oauth_"+p]=e[p]}if(!c.oauth_version){c.oauth_version="1.0"}if(!c.oauth_timestamp){c.oauth_timestamp=Math.floor(Date.now()/1e3).toString()}if(!c.oauth_nonce){c.oauth_nonce=o().replace(/-/g,"")}if(!c.oauth_signature_method){c.oauth_signature_method="HMAC-SHA1"}var l=c.oauth_consumer_secret||c.oauth_private_key;delete c.oauth_consumer_secret;delete c.oauth_private_key;var u=c.oauth_token_secret;delete c.oauth_token_secret;var f=c.oauth_realm;delete c.oauth_realm;delete c.oauth_transport_method;var m=a.protocol+"//"+a.host+a.pathname;var d=s.parse([].concat(i,r,s.stringify(c)).join("&"));c.oauth_signature=t.sign(c.oauth_signature_method,n,m,d,l,u);if(f){c.realm=f}return c};OAuth.prototype.buildBodyHash=function(e,a){if(["HMAC-SHA1","RSA-SHA1"].indexOf(e.signature_method||"HMAC-SHA1")<0){this.request.emit("error",new Error("oauth: "+e.signature_method+" signature_method not supported with body_hash signing."))}var n=c.createHash("sha1");n.update(a||"");var i=n.digest("hex");return p.from(i,"hex").toString("base64")};OAuth.prototype.concatParams=function(e,a,n){n=n||"";var i=Object.keys(e).filter(function(e){return e!=="realm"&&e!=="oauth_signature"}).sort();if(e.realm){i.splice(0,0,"realm")}i.push("oauth_signature");return i.map(function(a){return a+"="+n+t.rfc3986(e[a])+n}).join(a)};OAuth.prototype.onRequest=function(e){var a=this;a.params=e;var n=a.request.uri||{};var o=a.request.method||"";var t=s(a.request.headers);var c=a.request.body||"";var p=a.request.qsLib||r;var l;var u;var f=t.get("content-type")||"";var m="application/x-www-form-urlencoded";var d=e.transport_method||"header";if(f.slice(0,m.length)===m){f=m;l=c}if(n.query){u=n.query}if(d==="body"&&(o!=="POST"||f!==m)){a.request.emit("error",new Error("oauth: transport_method of body requires POST "+"and content-type "+m))}if(!l&&typeof e.body_hash==="boolean"){e.body_hash=a.buildBodyHash(e,a.request.body.toString())}var h=a.buildParams(e,n,o,u,l,p);switch(d){case"header":a.request.setHeader("Authorization","OAuth "+a.concatParams(h,",",'"'));break;case"query":var v=a.request.uri.href+=(u?"&":"?")+a.concatParams(h,"&");a.request.uri=i.parse(v);a.request.path=a.request.uri.path;break;case"body":a.request.body=(l?l+"&":"")+a.concatParams(h,"&");break;default:a.request.emit("error",new Error("oauth: transport_method invalid"))}};a.OAuth=OAuth},556:function(e,a,n){var i=n(108).Buffer;var r={dsa:{parts:["p","q","g","y"],sizePart:"p"},rsa:{parts:["e","n"],sizePart:"n"},ecdsa:{parts:["curve","Q"],sizePart:"Q"},ed25519:{parts:["A"],sizePart:"A"}};r["curve25519"]=r["ed25519"];var s={dsa:{parts:["p","q","g","y","x"]},rsa:{parts:["n","e","d","iqmp","p","q"]},ecdsa:{parts:["curve","Q","d"]},ed25519:{parts:["A","k"]}};s["curve25519"]=s["ed25519"];var o={md5:true,sha1:true,sha256:true,sha384:true,sha512:true};var t={nistp256:{size:256,pkcs8oid:"1.2.840.10045.3.1.7",p:i.from(("00"+"ffffffff 00000001 00000000 00000000"+"00000000 ffffffff ffffffff ffffffff").replace(/ /g,""),"hex"),a:i.from(("00"+"FFFFFFFF 00000001 00000000 00000000"+"00000000 FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:i.from(("5ac635d8 aa3a93e7 b3ebbd55 769886bc"+"651d06b0 cc53b0f6 3bce3c3e 27d2604b").replace(/ /g,""),"hex"),s:i.from(("00"+"c49d3608 86e70493 6a6678e1 139d26b7"+"819f7e90").replace(/ /g,""),"hex"),n:i.from(("00"+"ffffffff 00000000 ffffffff ffffffff"+"bce6faad a7179e84 f3b9cac2 fc632551").replace(/ /g,""),"hex"),G:i.from(("04"+"6b17d1f2 e12c4247 f8bce6e5 63a440f2"+"77037d81 2deb33a0 f4a13945 d898c296"+"4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16"+"2bce3357 6b315ece cbb64068 37bf51f5").replace(/ /g,""),"hex")},nistp384:{size:384,pkcs8oid:"1.3.132.0.34",p:i.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffe"+"ffffffff 00000000 00000000 ffffffff").replace(/ /g,""),"hex"),a:i.from(("00"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE"+"FFFFFFFF 00000000 00000000 FFFFFFFC").replace(/ /g,""),"hex"),b:i.from(("b3312fa7 e23ee7e4 988e056b e3f82d19"+"181d9c6e fe814112 0314088f 5013875a"+"c656398d 8a2ed19d 2a85c8ed d3ec2aef").replace(/ /g,""),"hex"),s:i.from(("00"+"a335926a a319a27a 1d00896a 6773a482"+"7acdac73").replace(/ /g,""),"hex"),n:i.from(("00"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff c7634d81 f4372ddf"+"581a0db2 48b0a77a ecec196a ccc52973").replace(/ /g,""),"hex"),G:i.from(("04"+"aa87ca22 be8b0537 8eb1c71e f320ad74"+"6e1d3b62 8ba79b98 59f741e0 82542a38"+"5502f25d bf55296c 3a545e38 72760ab7"+"3617de4a 96262c6f 5d9e98bf 9292dc29"+"f8f41dbd 289a147c e9da3113 b5f0b8c0"+"0a60b1ce 1d7e819d 7a431d7c 90ea0e5f").replace(/ /g,""),"hex")},nistp521:{size:521,pkcs8oid:"1.3.132.0.35",p:i.from(("01ffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff ffffffff"+"ffff").replace(/ /g,""),"hex"),a:i.from(("01FF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF"+"FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFC").replace(/ /g,""),"hex"),b:i.from(("51"+"953eb961 8e1c9a1f 929a21a0 b68540ee"+"a2da725b 99b315f3 b8b48991 8ef109e1"+"56193951 ec7e937b 1652c0bd 3bb1bf07"+"3573df88 3d2c34f1 ef451fd4 6b503f00").replace(/ /g,""),"hex"),s:i.from(("00"+"d09e8800 291cb853 96cc6717 393284aa"+"a0da64ba").replace(/ /g,""),"hex"),n:i.from(("01ff"+"ffffffff ffffffff ffffffff ffffffff"+"ffffffff ffffffff ffffffff fffffffa"+"51868783 bf2f966b 7fcc0148 f709a5d0"+"3bb5c9b8 899c47ae bb6fb71e 91386409").replace(/ /g,""),"hex"),G:i.from(("04"+"00c6 858e06b7 0404e9cd 9e3ecb66 2395b442"+"9c648139 053fb521 f828af60 6b4d3dba"+"a14b5e77 efe75928 fe1dc127 a2ffa8de"+"3348b3c1 856a429b f97e7e31 c2e5bd66"+"0118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9"+"98f54449 579b4468 17afbd17 273e662c"+"97ee7299 5ef42640 c550b901 3fad0761"+"353c7086 a272c240 88be9476 9fd16650").replace(/ /g,""),"hex")}};e.exports={info:r,privInfo:s,hashAlgs:o,curves:t}},557:function(e){"use strict";e.exports=function generate_contains(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l="data"+(s||"");var u="valid"+r;var f="errs__"+r;var m=e.util.copy(e);var d="";m.level++;var h="valid"+m.level;var v="i"+r,g=m.dataLevel=e.dataLevel+1,b="data"+g,y=e.baseId,k=e.opts.strictKeywords?typeof o=="object"&&Object.keys(o).length>0:e.util.schemaHasRules(o,e.RULES.all);i+="var "+f+" = errors;var "+u+";";if(k){var x=e.compositeRule;e.compositeRule=m.compositeRule=true;m.schema=o;m.schemaPath=t;m.errSchemaPath=c;i+=" var "+h+" = false; for (var "+v+" = 0; "+v+" < "+l+".length; "+v+"++) { ";m.errorPath=e.util.getPathExpr(e.errorPath,v,e.opts.jsonPointers,true);var w=l+"["+v+"]";m.dataPathArr[g]=v;var j=e.validate(m);m.baseId=y;if(e.util.varOccurences(j,b)<2){i+=" "+e.util.varReplace(j,b,w)+" "}else{i+=" var "+b+" = "+w+"; "+j+" "}i+=" if ("+h+") break; } ";e.compositeRule=m.compositeRule=x;i+=" "+d+" if (!"+h+") {"}else{i+=" if ("+l+".length == 0) {"}var F=F||[];F.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+"contains"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: {} ";if(e.opts.messages!==false){i+=" , message: 'should contain a valid item' "}if(e.opts.verbose){i+=" , schema: validate.schema"+t+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}var E=i;i=F.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+E+"]); "}else{i+=" validate.errors = ["+E+"]; return false; "}}else{i+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+=" } else { ";if(k){i+=" errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } "}if(e.opts.allErrors){i+=" } "}return i}},573:function(e){"use strict";var a=String.prototype.replace;var n=/%20/g;e.exports={default:"RFC3986",formatters:{RFC1738:function(e){return a.call(e,n,"+")},RFC3986:function(e){return e}},RFC1738:"RFC1738",RFC3986:"RFC3986"}},576:function(e,a,n){"use strict";var i=this&&this.__awaiter||function(e,a,n,i){function adopt(e){return e instanceof n?e:new n(function(a){a(e)})}return new(n||(n=Promise))(function(n,r){function fulfilled(e){try{step(i.next(e))}catch(e){r(e)}}function rejected(e){try{step(i["throw"](e))}catch(e){r(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((i=i.apply(e,a||[])).next())})};var r=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var a={};if(e!=null)for(var n in e)if(Object.hasOwnProperty.call(e,n))a[n]=e[n];a["default"]=e;return a};Object.defineProperty(a,"__esModule",{value:true});const s=n(249);const o=r(n(87));const t=r(n(622));var c;(function(e){e[e["Success"]=0]="Success";e[e["Failure"]=1]="Failure"})(c=a.ExitCode||(a.ExitCode={}));function exportVariable(e,a){const n=s.toCommandValue(a);process.env[e]=n;s.issueCommand("set-env",{name:e},n)}a.exportVariable=exportVariable;function setSecret(e){s.issueCommand("add-mask",{},e)}a.setSecret=setSecret;function addPath(e){s.issueCommand("add-path",{},e);process.env["PATH"]=`${e}${t.delimiter}${process.env["PATH"]}`}a.addPath=addPath;function getInput(e,a){const n=process.env[`INPUT_${e.replace(/ /g,"_").toUpperCase()}`]||"";if(a&&a.required&&!n){throw new Error(`Input required and not supplied: ${e}`)}return n.trim()}a.getInput=getInput;function setOutput(e,a){s.issueCommand("set-output",{name:e},a)}a.setOutput=setOutput;function setCommandEcho(e){s.issue("echo",e?"on":"off")}a.setCommandEcho=setCommandEcho;function setFailed(e){process.exitCode=c.Failure;error(e)}a.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}a.isDebug=isDebug;function debug(e){s.issueCommand("debug",{},e)}a.debug=debug;function error(e){s.issue("error",e instanceof Error?e.toString():e)}a.error=error;function warning(e){s.issue("warning",e instanceof Error?e.toString():e)}a.warning=warning;function info(e){process.stdout.write(e+o.EOL)}a.info=info;function startGroup(e){s.issue("group",e)}a.startGroup=startGroup;function endGroup(){s.issue("endgroup")}a.endGroup=endGroup;function group(e,a){return i(this,void 0,void 0,function*(){startGroup(e);let n;try{n=yield a()}finally{endGroup()}return n})}a.group=group;function saveState(e,a){s.issueCommand("save-state",{name:e},a)}a.saveState=saveState;function getState(e){return process.env[`STATE_${e}`]||""}a.getState=getState},578:function(e,a,n){"use strict";var i=n(858);e.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:i.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:i.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}},582:function(e,a,n){"use strict";var i=n(605);var r=n(211);var s=n(835);var o=n(669);var t=n(413);var c=n(761);var p=n(31);var l=n(195);var u=n(309);var f=n(294);var m=n(453);var d=n(535);var h=n(337);var v=n(962);var g=n(510);var b=n(929).strict;var y=n(115);var k=n(885);var x=n(414);var w=n(501).Querystring;var j=n(684).Har;var F=n(987).Auth;var E=n(554).OAuth;var z=n(553);var A=n(351).Multipart;var C=n(681).Redirect;var S=n(490).Tunnel;var B=n(707);var q=n(82).Buffer;var I=y.safeStringify;var T=y.isReadStream;var O=y.toBase64;var R=y.defer;var D=y.copy;var U=y.version;var H=k.jar();var N={};function filterForNonReserved(e,a){var n={};for(var i in a){var r=e.indexOf(i)===-1;if(r){n[i]=a[i]}}return n}function filterOutReservedFunctions(e,a){var n={};for(var i in a){var r=!(e.indexOf(i)===-1);var s=typeof a[i]==="function";if(!(r&&s)){n[i]=a[i]}}return n}function requestToJSON(){var e=this;return{uri:e.uri,method:e.method,headers:e.headers}}function responseToJSON(){var e=this;return{statusCode:e.statusCode,body:e.body,headers:e.headers,request:requestToJSON.call(e.request)}}function Request(e){var a=this;if(e.har){a._har=new j(a);e=a._har.options(e)}t.Stream.call(a);var n=Object.keys(Request.prototype);var i=filterForNonReserved(n,e);v(a,i);e=filterOutReservedFunctions(n,e);a.readable=true;a.writable=true;if(e.method){a.explicitMethod=true}a._qs=new w(a);a._auth=new F(a);a._oauth=new E(a);a._multipart=new A(a);a._redirect=new C(a);a._tunnel=new S(a);a.init(e)}o.inherits(Request,t.Stream);Request.debug=process.env.NODE_DEBUG&&/\brequest\b/.test(process.env.NODE_DEBUG);function debug(){if(Request.debug){console.error("REQUEST %s",o.format.apply(o,arguments))}}Request.prototype.debug=debug;Request.prototype.init=function(e){var a=this;if(!e){e={}}a.headers=a.headers?D(a.headers):{};for(var n in a.headers){if(typeof a.headers[n]==="undefined"){delete a.headers[n]}}m.httpify(a,a.headers);if(!a.method){a.method=e.method||"GET"}if(!a.localAddress){a.localAddress=e.localAddress}a._qs.init(e);debug(e);if(!a.pool&&a.pool!==false){a.pool=N}a.dests=a.dests||[];a.__isRequestRequest=true;if(!a._callback&&a.callback){a._callback=a.callback;a.callback=function(){if(a._callbackCalled){return}a._callbackCalled=true;a._callback.apply(a,arguments)};a.on("error",a.callback.bind());a.on("complete",a.callback.bind(a,null))}if(!a.uri&&a.url){a.uri=a.url;delete a.url}if(a.baseUrl){if(typeof a.baseUrl!=="string"){return a.emit("error",new Error("options.baseUrl must be a string"))}if(typeof a.uri!=="string"){return a.emit("error",new Error("options.uri must be a string when using options.baseUrl"))}if(a.uri.indexOf("//")===0||a.uri.indexOf("://")!==-1){return a.emit("error",new Error("options.uri must be a path when using options.baseUrl"))}var o=a.baseUrl.lastIndexOf("/")===a.baseUrl.length-1;var t=a.uri.indexOf("/")===0;if(o&&t){a.uri=a.baseUrl+a.uri.slice(1)}else if(o||t){a.uri=a.baseUrl+a.uri}else if(a.uri===""){a.uri=a.baseUrl}else{a.uri=a.baseUrl+"/"+a.uri}delete a.baseUrl}if(!a.uri){return a.emit("error",new Error("options.uri is a required argument"))}if(typeof a.uri==="string"){a.uri=s.parse(a.uri)}if(!a.uri.href){a.uri.href=s.format(a.uri)}if(a.uri.protocol==="unix:"){return a.emit("error",new Error("`unix://` URL scheme is no longer supported. Please use the format `http://unix:SOCKET:PATH`"))}if(a.uri.host==="unix"){a.enableUnixSocket()}if(a.strictSSL===false){a.rejectUnauthorized=false}if(!a.uri.pathname){a.uri.pathname="/"}if(!(a.uri.host||a.uri.hostname&&a.uri.port)&&!a.uri.isUnix){var c=s.format(a.uri);var p='Invalid URI "'+c+'"';if(Object.keys(e).length===0){p+=". This can be caused by a crappy redirection."}a.abort();return a.emit("error",new Error(p))}if(!a.hasOwnProperty("proxy")){a.proxy=x(a.uri)}a.tunnel=a._tunnel.isEnabled();if(a.proxy){a._tunnel.setup(e)}a._redirect.onRequest(e);a.setHost=false;if(!a.hasHeader("host")){var l=a.originalHostHeaderName||"host";a.setHeader(l,a.uri.host);if(a.uri.port){if(a.uri.port==="80"&&a.uri.protocol==="http:"||a.uri.port==="443"&&a.uri.protocol==="https:"){a.setHeader(l,a.uri.hostname)}}a.setHost=true}a.jar(a._jar||e.jar);if(!a.uri.port){if(a.uri.protocol==="http:"){a.uri.port=80}else if(a.uri.protocol==="https:"){a.uri.port=443}}if(a.proxy&&!a.tunnel){a.port=a.proxy.port;a.host=a.proxy.hostname}else{a.port=a.uri.port;a.host=a.uri.hostname}if(e.form){a.form(e.form)}if(e.formData){var u=e.formData;var h=a.form();var v=function(e,a){if(a&&a.hasOwnProperty("value")&&a.hasOwnProperty("options")){h.append(e,a.value,a.options)}else{h.append(e,a)}};for(var y in u){if(u.hasOwnProperty(y)){var k=u[y];if(k instanceof Array){for(var w=0;w=100&&e<200||e===204||e===304};var p;if(a.gzip&&!t(e.statusCode)){var l=e.headers["content-encoding"]||"identity";l=l.trim().toLowerCase();var u={flush:c.Z_SYNC_FLUSH,finishFlush:c.Z_SYNC_FLUSH};if(l==="gzip"){p=c.createGunzip(u);e.pipe(p)}else if(l==="deflate"){p=c.createInflate(u);e.pipe(p)}else{if(l!=="identity"){debug("ignoring unrecognized Content-Encoding "+l)}p=e}}else{p=e}if(a.encoding){if(a.dests.length!==0){console.error("Ignoring encoding parameter as this stream is being piped to another stream which makes the encoding option invalid.")}else{p.setEncoding(a.encoding)}}if(a._paused){p.pause()}a.responseContent=p;a.emit("response",e);a.dests.forEach(function(e){a.pipeDest(e)});p.on("data",function(n){if(a.timing&&!a.responseStarted){a.responseStartTime=(new Date).getTime();e.responseStartTime=a.responseStartTime}a._destdata=true;a.emit("data",n)});p.once("end",function(e){a.emit("end",e)});p.on("error",function(e){a.emit("error",e)});p.on("close",function(){a.emit("close")});if(a.callback){a.readResponseBody(e)}else{a.on("end",function(){if(a._aborted){debug("aborted",a.uri.href);return}a.emit("complete",e)})}}debug("finish init function",a.uri.href)};Request.prototype.readResponseBody=function(e){var a=this;debug("reading response's body");var n=[];var i=0;var r=[];a.on("data",function(e){if(!q.isBuffer(e)){r.push(e)}else if(e.length){i+=e.length;n.push(e)}});a.on("end",function(){debug("end event",a.uri.href);if(a._aborted){debug("aborted",a.uri.href);n=[];i=0;return}if(i){debug("has body",a.uri.href,i);e.body=q.concat(n,i);if(a.encoding!==null){e.body=e.body.toString(a.encoding)}n=[];i=0}else if(r.length){if(a.encoding==="utf8"&&r[0].length>0&&r[0][0]==="\ufeff"){r[0]=r[0].substring(1)}e.body=r.join("")}if(a._json){try{e.body=JSON.parse(e.body,a._jsonReviver)}catch(e){debug("invalid JSON received",a.uri.href)}}debug("emitting complete",a.uri.href);if(typeof e.body==="undefined"&&!a._json){e.body=a.encoding===null?q.alloc(0):""}a.emit("complete",e,e.body)})};Request.prototype.abort=function(){var e=this;e._aborted=true;if(e.req){e.req.abort()}else if(e.response){e.response.destroy()}e.clearTimeout();e.emit("abort")};Request.prototype.pipeDest=function(e){var a=this;var n=a.response;if(e.headers&&!e.headersSent){if(n.caseless.has("content-type")){var i=n.caseless.has("content-type");if(e.setHeader){e.setHeader(i,n.headers[i])}else{e.headers[i]=n.headers[i]}}if(n.caseless.has("content-length")){var r=n.caseless.has("content-length");if(e.setHeader){e.setHeader(r,n.headers[r])}else{e.headers[r]=n.headers[r]}}}if(e.setHeader&&!e.headersSent){for(var s in n.headers){if(!a.gzip||s!=="content-encoding"){e.setHeader(s,n.headers[s])}}e.statusCode=n.statusCode}if(a.pipefilter){a.pipefilter(n,e)}};Request.prototype.qs=function(e,a){var n=this;var i;if(!a&&n.uri.query){i=n._qs.parse(n.uri.query)}else{i={}}for(var r in e){i[r]=e[r]}var o=n._qs.stringify(i);if(o===""){return n}n.uri=s.parse(n.uri.href.split("?")[0]+"?"+o);n.url=n.uri;n.path=n.uri.path;if(n.uri.host==="unix"){n.enableUnixSocket()}return n};Request.prototype.form=function(e){var a=this;if(e){if(!/^application\/x-www-form-urlencoded\b/.test(a.getHeader("content-type"))){a.setHeader("content-type","application/x-www-form-urlencoded")}a.body=typeof e==="string"?a._qs.rfc3986(e.toString("utf8")):a._qs.stringify(e).toString("utf8");return a}a._form=new h;a._form.on("error",function(e){e.message="form-data: "+e.message;a.emit("error",e);a.abort()});return a._form};Request.prototype.multipart=function(e){var a=this;a._multipart.onRequest(e);if(!a._multipart.chunked){a.body=a._multipart.body}return a};Request.prototype.json=function(e){var a=this;if(!a.hasHeader("accept")){a.setHeader("accept","application/json")}if(typeof a.jsonReplacer==="function"){a._jsonReplacer=a.jsonReplacer}a._json=true;if(typeof e==="boolean"){if(a.body!==undefined){if(!/^application\/x-www-form-urlencoded\b/.test(a.getHeader("content-type"))){a.body=I(a.body,a._jsonReplacer)}else{a.body=a._qs.rfc3986(a.body)}if(!a.hasHeader("content-type")){a.setHeader("content-type","application/json")}}}else{a.body=I(e,a._jsonReplacer);if(!a.hasHeader("content-type")){a.setHeader("content-type","application/json")}}if(typeof a.jsonReviver==="function"){a._jsonReviver=a.jsonReviver}return a};Request.prototype.getHeader=function(e,a){var n=this;var i,r,s;if(!a){a=n.headers}Object.keys(a).forEach(function(n){if(n.length!==e.length){return}r=new RegExp(e,"i");s=n.match(r);if(s){i=a[n]}});return i};Request.prototype.enableUnixSocket=function(){var e=this.uri.path.split(":");var a=e[0];var n=e[1];this.socketPath=a;this.uri.pathname=n;this.uri.path=n;this.uri.host=a;this.uri.hostname=a;this.uri.isUnix=true};Request.prototype.auth=function(e,a,n,i){var r=this;r._auth.onRequest(e,a,n,i);return r};Request.prototype.aws=function(e,a){var n=this;if(!a){n._aws=e;return n}if(e.sign_version===4||e.sign_version==="4"){var i={host:n.uri.host,path:n.uri.path,method:n.method,headers:n.headers,body:n.body};if(e.service){i.service=e.service}var r=l.sign(i,{accessKeyId:e.key,secretAccessKey:e.secret,sessionToken:e.session});n.setHeader("authorization",r.headers.Authorization);n.setHeader("x-amz-date",r.headers["X-Amz-Date"]);if(r.headers["X-Amz-Security-Token"]){n.setHeader("x-amz-security-token",r.headers["X-Amz-Security-Token"])}}else{var s=new Date;n.setHeader("date",s.toUTCString());var o={key:e.key,secret:e.secret,verb:n.method.toUpperCase(),date:s,contentType:n.getHeader("content-type")||"",md5:n.getHeader("content-md5")||"",amazonHeaders:p.canonicalizeHeaders(n.headers)};var t=n.uri.path;if(e.bucket&&t){o.resource="/"+e.bucket+t}else if(e.bucket&&!t){o.resource="/"+e.bucket}else if(!e.bucket&&t){o.resource=t}else if(!e.bucket&&!t){o.resource="/"}o.resource=p.canonicalizeResource(o.resource);n.setHeader("authorization",p.authorization(o))}return n};Request.prototype.httpSignature=function(e){var a=this;u.signRequest({getHeader:function(e){return a.getHeader(e,a.headers)},setHeader:function(e,n){a.setHeader(e,n)},method:a.method,path:a.path},e);debug("httpSignature authorization",a.getHeader("authorization"));return a};Request.prototype.hawk=function(e){var a=this;a.setHeader("Authorization",z.header(a.uri,a.method,e))};Request.prototype.oauth=function(e){var a=this;a._oauth.onRequest(e);return a};Request.prototype.jar=function(e){var a=this;var n;if(a._redirect.redirectsFollowed===0){a.originalCookieHeader=a.getHeader("cookie")}if(!e){n=false;a._disableCookies=true}else{var i=e.getCookieString?e:H;var r=a.uri.href;if(i){n=i.getCookieString(r)}}if(n&&n.length){if(a.originalCookieHeader){a.setHeader("cookie",a.originalCookieHeader+"; "+n)}else{a.setHeader("cookie",n)}}a._jar=e;return a};Request.prototype.pipe=function(e,a){var n=this;if(n.response){if(n._destdata){n.emit("error",new Error("You cannot pipe after data has been emitted from the response."))}else if(n._ended){n.emit("error",new Error("You cannot pipe after the response has been ended."))}else{t.Stream.prototype.pipe.call(n,e,a);n.pipeDest(e);return e}}else{n.dests.push(e);t.Stream.prototype.pipe.call(n,e,a);return e}};Request.prototype.write=function(){var e=this;if(e._aborted){return}if(!e._started){e.start()}if(e.req){return e.req.write.apply(e.req,arguments)}};Request.prototype.end=function(e){var a=this;if(a._aborted){return}if(e){a.write(e)}if(!a._started){a.start()}if(a.req){a.req.end()}};Request.prototype.pause=function(){var e=this;if(!e.responseContent){e._paused=true}else{e.responseContent.pause.apply(e.responseContent,arguments)}};Request.prototype.resume=function(){var e=this;if(!e.responseContent){e._paused=false}else{e.responseContent.resume.apply(e.responseContent,arguments)}};Request.prototype.destroy=function(){var e=this;this.clearTimeout();if(!e._ended){e.end()}else if(e.response){e.response.destroy()}};Request.prototype.clearTimeout=function(){if(this.timeoutTimer){clearTimeout(this.timeoutTimer);this.timeoutTimer=null}};Request.defaultProxyHeaderWhiteList=S.defaultProxyHeaderWhiteList.slice();Request.defaultProxyHeaderExclusiveList=S.defaultProxyHeaderExclusiveList.slice();Request.prototype.toJSON=requestToJSON;e.exports=Request},603:function(e){e.exports={EOC:0,Boolean:1,Integer:2,BitString:3,OctetString:4,Null:5,OID:6,ObjectDescriptor:7,External:8,Real:9,Enumeration:10,PDV:11,Utf8String:12,RelativeOID:13,Sequence:16,Set:17,NumericString:18,PrintableString:19,T61String:20,VideotexString:21,IA5String:22,UTCTime:23,GeneralizedTime:24,GraphicString:25,VisibleString:26,GeneralString:28,UniversalString:29,CharacterString:30,BMPString:31,Constructor:32,Context:128}},605:function(e){e.exports=require("http")},610:function(e,a){a=e.exports=stringify;a.getSerialize=serializer;function stringify(e,a,n,i){return JSON.stringify(e,serializer(a,i),n)}function serializer(e,a){var n=[],i=[];if(a==null)a=function(e,a){if(n[0]===a)return"[Circular ~]";return"[Circular ~."+i.slice(0,n.indexOf(a)).join(".")+"]"};return function(r,s){if(n.length>0){var o=n.indexOf(this);~o?n.splice(o+1):n.push(this);~o?i.splice(o,Infinity,r):i.push(r);if(~n.indexOf(s))s=a.call(this,r,s)}else n.push(s);return e==null?s:e.call(this,r,s)}}},612:function(e){e.exports="2.5.0"},613:function(e,a,n){e.exports={parallel:n(235),serial:n(815),serialOrdered:n(178)}},614:function(e){e.exports=require("events")},621:function(e){"use strict";e.exports=function generate_if(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l="data"+(s||"");var u="valid"+r;var f="errs__"+r;var m=e.util.copy(e);m.level++;var d="valid"+m.level;var h=e.schema["then"],v=e.schema["else"],g=h!==undefined&&(e.opts.strictKeywords?typeof h=="object"&&Object.keys(h).length>0:e.util.schemaHasRules(h,e.RULES.all)),b=v!==undefined&&(e.opts.strictKeywords?typeof v=="object"&&Object.keys(v).length>0:e.util.schemaHasRules(v,e.RULES.all)),y=m.baseId;if(g||b){var k;m.createErrors=false;m.schema=o;m.schemaPath=t;m.errSchemaPath=c;i+=" var "+f+" = errors; var "+u+" = true; ";var x=e.compositeRule;e.compositeRule=m.compositeRule=true;i+=" "+e.validate(m)+" ";m.baseId=y;m.createErrors=true;i+=" errors = "+f+"; if (vErrors !== null) { if ("+f+") vErrors.length = "+f+"; else vErrors = null; } ";e.compositeRule=m.compositeRule=x;if(g){i+=" if ("+d+") { ";m.schema=e.schema["then"];m.schemaPath=e.schemaPath+".then";m.errSchemaPath=e.errSchemaPath+"/then";i+=" "+e.validate(m)+" ";m.baseId=y;i+=" "+u+" = "+d+"; ";if(g&&b){k="ifClause"+r;i+=" var "+k+" = 'then'; "}else{k="'then'"}i+=" } ";if(b){i+=" else { "}}else{i+=" if (!"+d+") { "}if(b){m.schema=e.schema["else"];m.schemaPath=e.schemaPath+".else";m.errSchemaPath=e.errSchemaPath+"/else";i+=" "+e.validate(m)+" ";m.baseId=y;i+=" "+u+" = "+d+"; ";if(g&&b){k="ifClause"+r;i+=" var "+k+" = 'else'; "}else{k="'else'"}i+=" } "}i+=" if (!"+u+") { var err = ";if(e.createErrors!==false){i+=" { keyword: '"+"if"+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { failingKeyword: "+k+" } ";if(e.opts.messages!==false){i+=" , message: 'should match \"' + "+k+" + '\" schema' "}if(e.opts.verbose){i+=" , schema: validate.schema"+t+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+l+" "}i+=" } "}else{i+=" {} "}i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(vErrors); "}else{i+=" validate.errors = vErrors; return false; "}}i+=" } ";if(p){i+=" else { "}}else{if(p){i+=" if (true) { "}}return i}},622:function(e){e.exports=require("path")},624:function(e){e.exports=defer;function defer(e){var a=typeof setImmediate=="function"?setImmediate:typeof process=="object"&&typeof process.nextTick=="function"?process.nextTick:null;if(a){a(e)}else{setTimeout(e,0)}}},631:function(e){e.exports=require("net")},642:function(e){"use strict";var a=e.exports=function Cache(){this._cache={}};a.prototype.put=function Cache_put(e,a){this._cache[e]=a};a.prototype.get=function Cache_get(e){return this._cache[e]};a.prototype.del=function Cache_del(e){delete this._cache[e]};a.prototype.clear=function Cache_clear(){this._cache={}}},646:function(e,a,n){var i=n(84);e.exports={read:read,verify:i.verify,sign:i.sign,write:write};var r=n(521);var s=n(119);var o=n(108).Buffer;var t=n(556);var c=n(372);var p=n(866);var l=n(381);var u=n(925);var f=n(274);var m=n(186);var d=n(730);function read(e,a){if(typeof e!=="string"){r.buffer(e,"buf");e=e.toString("ascii")}var n=e.trim().split(/[\r\n]+/g);var s;var t=-1;while(!s&&t0){c=n[--p].match(/[-]+[ ]*END CERTIFICATE[ ]*[-]+/)}r.ok(c,"invalid PEM footer");n=n.slice(t,p+1);var l={};while(true){n=n.slice(1);s=n[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!s)break;l[s[1].toLowerCase()]=s[2]}n=n.slice(0,-1).join("");e=o.from(n,"base64");return i.read(e,a)}function write(e,a){var n=i.write(e,a);var r="CERTIFICATE";var s=n.toString("base64");var t=s.length+s.length/64+18+16+r.length*2+10;var c=o.alloc(t);var p=0;p+=c.write("-----BEGIN "+r+"-----\n",p);for(var l=0;ls.length)u=s.length;p+=c.write(s.slice(l,u),p);c[p++]=10;l=u}p+=c.write("-----END "+r+"-----\n",p);return c.slice(0,p)}},650:function(e){"use strict";e.exports=function generate_comment(e,a,n){var i=" ";var r=e.schema[a];var s=e.errSchemaPath+"/"+a;var o=!e.opts.allErrors;var t=e.util.toQuotedString(r);if(e.opts.$comment===true){i+=" console.log("+t+");"}else if(typeof e.opts.$comment=="function"){i+=" self._opts.$comment("+t+", "+e.util.toQuotedString(s)+", validate.root.schema);"}return i}},664:function(e,a,n){(function(e){"use strict";var a=function(e){var a,n=new Float64Array(16);if(e)for(a=0;a>24&255;e[a+1]=n>>16&255;e[a+2]=n>>8&255;e[a+3]=n&255;e[a+4]=i>>24&255;e[a+5]=i>>16&255;e[a+6]=i>>8&255;e[a+7]=i&255}function vn(e,a,n,i,r){var s,o=0;for(s=0;s>>8)-1}function crypto_verify_16(e,a,n,i){return vn(e,a,n,i,16)}function crypto_verify_32(e,a,n,i){return vn(e,a,n,i,32)}function core_salsa20(e,a,n,i){var r=i[0]&255|(i[1]&255)<<8|(i[2]&255)<<16|(i[3]&255)<<24,s=n[0]&255|(n[1]&255)<<8|(n[2]&255)<<16|(n[3]&255)<<24,o=n[4]&255|(n[5]&255)<<8|(n[6]&255)<<16|(n[7]&255)<<24,t=n[8]&255|(n[9]&255)<<8|(n[10]&255)<<16|(n[11]&255)<<24,c=n[12]&255|(n[13]&255)<<8|(n[14]&255)<<16|(n[15]&255)<<24,p=i[4]&255|(i[5]&255)<<8|(i[6]&255)<<16|(i[7]&255)<<24,l=a[0]&255|(a[1]&255)<<8|(a[2]&255)<<16|(a[3]&255)<<24,u=a[4]&255|(a[5]&255)<<8|(a[6]&255)<<16|(a[7]&255)<<24,f=a[8]&255|(a[9]&255)<<8|(a[10]&255)<<16|(a[11]&255)<<24,m=a[12]&255|(a[13]&255)<<8|(a[14]&255)<<16|(a[15]&255)<<24,d=i[8]&255|(i[9]&255)<<8|(i[10]&255)<<16|(i[11]&255)<<24,h=n[16]&255|(n[17]&255)<<8|(n[18]&255)<<16|(n[19]&255)<<24,v=n[20]&255|(n[21]&255)<<8|(n[22]&255)<<16|(n[23]&255)<<24,g=n[24]&255|(n[25]&255)<<8|(n[26]&255)<<16|(n[27]&255)<<24,b=n[28]&255|(n[29]&255)<<8|(n[30]&255)<<16|(n[31]&255)<<24,y=i[12]&255|(i[13]&255)<<8|(i[14]&255)<<16|(i[15]&255)<<24;var k=r,x=s,w=o,j=t,F=c,E=p,z=l,A=u,C=f,S=m,B=d,q=h,I=v,T=g,O=b,R=y,D;for(var U=0;U<20;U+=2){D=k+I|0;F^=D<<7|D>>>32-7;D=F+k|0;C^=D<<9|D>>>32-9;D=C+F|0;I^=D<<13|D>>>32-13;D=I+C|0;k^=D<<18|D>>>32-18;D=E+x|0;S^=D<<7|D>>>32-7;D=S+E|0;T^=D<<9|D>>>32-9;D=T+S|0;x^=D<<13|D>>>32-13;D=x+T|0;E^=D<<18|D>>>32-18;D=B+z|0;O^=D<<7|D>>>32-7;D=O+B|0;w^=D<<9|D>>>32-9;D=w+O|0;z^=D<<13|D>>>32-13;D=z+w|0;B^=D<<18|D>>>32-18;D=R+q|0;j^=D<<7|D>>>32-7;D=j+R|0;A^=D<<9|D>>>32-9;D=A+j|0;q^=D<<13|D>>>32-13;D=q+A|0;R^=D<<18|D>>>32-18;D=k+j|0;x^=D<<7|D>>>32-7;D=x+k|0;w^=D<<9|D>>>32-9;D=w+x|0;j^=D<<13|D>>>32-13;D=j+w|0;k^=D<<18|D>>>32-18;D=E+F|0;z^=D<<7|D>>>32-7;D=z+E|0;A^=D<<9|D>>>32-9;D=A+z|0;F^=D<<13|D>>>32-13;D=F+A|0;E^=D<<18|D>>>32-18;D=B+S|0;q^=D<<7|D>>>32-7;D=q+B|0;C^=D<<9|D>>>32-9;D=C+q|0;S^=D<<13|D>>>32-13;D=S+C|0;B^=D<<18|D>>>32-18;D=R+O|0;I^=D<<7|D>>>32-7;D=I+R|0;T^=D<<9|D>>>32-9;D=T+I|0;O^=D<<13|D>>>32-13;D=O+T|0;R^=D<<18|D>>>32-18}k=k+r|0;x=x+s|0;w=w+o|0;j=j+t|0;F=F+c|0;E=E+p|0;z=z+l|0;A=A+u|0;C=C+f|0;S=S+m|0;B=B+d|0;q=q+h|0;I=I+v|0;T=T+g|0;O=O+b|0;R=R+y|0;e[0]=k>>>0&255;e[1]=k>>>8&255;e[2]=k>>>16&255;e[3]=k>>>24&255;e[4]=x>>>0&255;e[5]=x>>>8&255;e[6]=x>>>16&255;e[7]=x>>>24&255;e[8]=w>>>0&255;e[9]=w>>>8&255;e[10]=w>>>16&255;e[11]=w>>>24&255;e[12]=j>>>0&255;e[13]=j>>>8&255;e[14]=j>>>16&255;e[15]=j>>>24&255;e[16]=F>>>0&255;e[17]=F>>>8&255;e[18]=F>>>16&255;e[19]=F>>>24&255;e[20]=E>>>0&255;e[21]=E>>>8&255;e[22]=E>>>16&255;e[23]=E>>>24&255;e[24]=z>>>0&255;e[25]=z>>>8&255;e[26]=z>>>16&255;e[27]=z>>>24&255;e[28]=A>>>0&255;e[29]=A>>>8&255;e[30]=A>>>16&255;e[31]=A>>>24&255;e[32]=C>>>0&255;e[33]=C>>>8&255;e[34]=C>>>16&255;e[35]=C>>>24&255;e[36]=S>>>0&255;e[37]=S>>>8&255;e[38]=S>>>16&255;e[39]=S>>>24&255;e[40]=B>>>0&255;e[41]=B>>>8&255;e[42]=B>>>16&255;e[43]=B>>>24&255;e[44]=q>>>0&255;e[45]=q>>>8&255;e[46]=q>>>16&255;e[47]=q>>>24&255;e[48]=I>>>0&255;e[49]=I>>>8&255;e[50]=I>>>16&255;e[51]=I>>>24&255;e[52]=T>>>0&255;e[53]=T>>>8&255;e[54]=T>>>16&255;e[55]=T>>>24&255;e[56]=O>>>0&255;e[57]=O>>>8&255;e[58]=O>>>16&255;e[59]=O>>>24&255;e[60]=R>>>0&255;e[61]=R>>>8&255;e[62]=R>>>16&255;e[63]=R>>>24&255}function core_hsalsa20(e,a,n,i){var r=i[0]&255|(i[1]&255)<<8|(i[2]&255)<<16|(i[3]&255)<<24,s=n[0]&255|(n[1]&255)<<8|(n[2]&255)<<16|(n[3]&255)<<24,o=n[4]&255|(n[5]&255)<<8|(n[6]&255)<<16|(n[7]&255)<<24,t=n[8]&255|(n[9]&255)<<8|(n[10]&255)<<16|(n[11]&255)<<24,c=n[12]&255|(n[13]&255)<<8|(n[14]&255)<<16|(n[15]&255)<<24,p=i[4]&255|(i[5]&255)<<8|(i[6]&255)<<16|(i[7]&255)<<24,l=a[0]&255|(a[1]&255)<<8|(a[2]&255)<<16|(a[3]&255)<<24,u=a[4]&255|(a[5]&255)<<8|(a[6]&255)<<16|(a[7]&255)<<24,f=a[8]&255|(a[9]&255)<<8|(a[10]&255)<<16|(a[11]&255)<<24,m=a[12]&255|(a[13]&255)<<8|(a[14]&255)<<16|(a[15]&255)<<24,d=i[8]&255|(i[9]&255)<<8|(i[10]&255)<<16|(i[11]&255)<<24,h=n[16]&255|(n[17]&255)<<8|(n[18]&255)<<16|(n[19]&255)<<24,v=n[20]&255|(n[21]&255)<<8|(n[22]&255)<<16|(n[23]&255)<<24,g=n[24]&255|(n[25]&255)<<8|(n[26]&255)<<16|(n[27]&255)<<24,b=n[28]&255|(n[29]&255)<<8|(n[30]&255)<<16|(n[31]&255)<<24,y=i[12]&255|(i[13]&255)<<8|(i[14]&255)<<16|(i[15]&255)<<24;var k=r,x=s,w=o,j=t,F=c,E=p,z=l,A=u,C=f,S=m,B=d,q=h,I=v,T=g,O=b,R=y,D;for(var U=0;U<20;U+=2){D=k+I|0;F^=D<<7|D>>>32-7;D=F+k|0;C^=D<<9|D>>>32-9;D=C+F|0;I^=D<<13|D>>>32-13;D=I+C|0;k^=D<<18|D>>>32-18;D=E+x|0;S^=D<<7|D>>>32-7;D=S+E|0;T^=D<<9|D>>>32-9;D=T+S|0;x^=D<<13|D>>>32-13;D=x+T|0;E^=D<<18|D>>>32-18;D=B+z|0;O^=D<<7|D>>>32-7;D=O+B|0;w^=D<<9|D>>>32-9;D=w+O|0;z^=D<<13|D>>>32-13;D=z+w|0;B^=D<<18|D>>>32-18;D=R+q|0;j^=D<<7|D>>>32-7;D=j+R|0;A^=D<<9|D>>>32-9;D=A+j|0;q^=D<<13|D>>>32-13;D=q+A|0;R^=D<<18|D>>>32-18;D=k+j|0;x^=D<<7|D>>>32-7;D=x+k|0;w^=D<<9|D>>>32-9;D=w+x|0;j^=D<<13|D>>>32-13;D=j+w|0;k^=D<<18|D>>>32-18;D=E+F|0;z^=D<<7|D>>>32-7;D=z+E|0;A^=D<<9|D>>>32-9;D=A+z|0;F^=D<<13|D>>>32-13;D=F+A|0;E^=D<<18|D>>>32-18;D=B+S|0;q^=D<<7|D>>>32-7;D=q+B|0;C^=D<<9|D>>>32-9;D=C+q|0;S^=D<<13|D>>>32-13;D=S+C|0;B^=D<<18|D>>>32-18;D=R+O|0;I^=D<<7|D>>>32-7;D=I+R|0;T^=D<<9|D>>>32-9;D=T+I|0;O^=D<<13|D>>>32-13;D=O+T|0;R^=D<<18|D>>>32-18}e[0]=k>>>0&255;e[1]=k>>>8&255;e[2]=k>>>16&255;e[3]=k>>>24&255;e[4]=E>>>0&255;e[5]=E>>>8&255;e[6]=E>>>16&255;e[7]=E>>>24&255;e[8]=B>>>0&255;e[9]=B>>>8&255;e[10]=B>>>16&255;e[11]=B>>>24&255;e[12]=R>>>0&255;e[13]=R>>>8&255;e[14]=R>>>16&255;e[15]=R>>>24&255;e[16]=z>>>0&255;e[17]=z>>>8&255;e[18]=z>>>16&255;e[19]=z>>>24&255;e[20]=A>>>0&255;e[21]=A>>>8&255;e[22]=A>>>16&255;e[23]=A>>>24&255;e[24]=C>>>0&255;e[25]=C>>>8&255;e[26]=C>>>16&255;e[27]=C>>>24&255;e[28]=S>>>0&255;e[29]=S>>>8&255;e[30]=S>>>16&255;e[31]=S>>>24&255}function crypto_core_salsa20(e,a,n,i){core_salsa20(e,a,n,i)}function crypto_core_hsalsa20(e,a,n,i){core_hsalsa20(e,a,n,i)}var d=new Uint8Array([101,120,112,97,110,100,32,51,50,45,98,121,116,101,32,107]);function crypto_stream_salsa20_xor(e,a,n,i,r,s,o){var t=new Uint8Array(16),c=new Uint8Array(64);var p,l;for(l=0;l<16;l++)t[l]=0;for(l=0;l<8;l++)t[l]=s[l];while(r>=64){crypto_core_salsa20(c,t,o,d);for(l=0;l<64;l++)e[a+l]=n[i+l]^c[l];p=1;for(l=8;l<16;l++){p=p+(t[l]&255)|0;t[l]=p&255;p>>>=8}r-=64;a+=64;i+=64}if(r>0){crypto_core_salsa20(c,t,o,d);for(l=0;l=64){crypto_core_salsa20(o,s,r,d);for(c=0;c<64;c++)e[a+c]=o[c];t=1;for(c=8;c<16;c++){t=t+(s[c]&255)|0;s[c]=t&255;t>>>=8}n-=64;a+=64}if(n>0){crypto_core_salsa20(o,s,r,d);for(c=0;c>>13|n<<3)&8191;i=e[4]&255|(e[5]&255)<<8;this.r[2]=(n>>>10|i<<6)&7939;r=e[6]&255|(e[7]&255)<<8;this.r[3]=(i>>>7|r<<9)&8191;s=e[8]&255|(e[9]&255)<<8;this.r[4]=(r>>>4|s<<12)&255;this.r[5]=s>>>1&8190;o=e[10]&255|(e[11]&255)<<8;this.r[6]=(s>>>14|o<<2)&8191;t=e[12]&255|(e[13]&255)<<8;this.r[7]=(o>>>11|t<<5)&8065;c=e[14]&255|(e[15]&255)<<8;this.r[8]=(t>>>8|c<<8)&8191;this.r[9]=c>>>5&127;this.pad[0]=e[16]&255|(e[17]&255)<<8;this.pad[1]=e[18]&255|(e[19]&255)<<8;this.pad[2]=e[20]&255|(e[21]&255)<<8;this.pad[3]=e[22]&255|(e[23]&255)<<8;this.pad[4]=e[24]&255|(e[25]&255)<<8;this.pad[5]=e[26]&255|(e[27]&255)<<8;this.pad[6]=e[28]&255|(e[29]&255)<<8;this.pad[7]=e[30]&255|(e[31]&255)<<8};h.prototype.blocks=function(e,a,n){var i=this.fin?0:1<<11;var r,s,o,t,c,p,l,u,f;var m,d,h,v,g,b,y,k,x,w;var j=this.h[0],F=this.h[1],E=this.h[2],z=this.h[3],A=this.h[4],C=this.h[5],S=this.h[6],B=this.h[7],q=this.h[8],I=this.h[9];var T=this.r[0],O=this.r[1],R=this.r[2],D=this.r[3],U=this.r[4],H=this.r[5],N=this.r[6],M=this.r[7],L=this.r[8],K=this.r[9];while(n>=16){r=e[a+0]&255|(e[a+1]&255)<<8;j+=r&8191;s=e[a+2]&255|(e[a+3]&255)<<8;F+=(r>>>13|s<<3)&8191;o=e[a+4]&255|(e[a+5]&255)<<8;E+=(s>>>10|o<<6)&8191;t=e[a+6]&255|(e[a+7]&255)<<8;z+=(o>>>7|t<<9)&8191;c=e[a+8]&255|(e[a+9]&255)<<8;A+=(t>>>4|c<<12)&8191;C+=c>>>1&8191;p=e[a+10]&255|(e[a+11]&255)<<8;S+=(c>>>14|p<<2)&8191;l=e[a+12]&255|(e[a+13]&255)<<8;B+=(p>>>11|l<<5)&8191;u=e[a+14]&255|(e[a+15]&255)<<8;q+=(l>>>8|u<<8)&8191;I+=u>>>5|i;f=0;m=f;m+=j*T;m+=F*(5*K);m+=E*(5*L);m+=z*(5*M);m+=A*(5*N);f=m>>>13;m&=8191;m+=C*(5*H);m+=S*(5*U);m+=B*(5*D);m+=q*(5*R);m+=I*(5*O);f+=m>>>13;m&=8191;d=f;d+=j*O;d+=F*T;d+=E*(5*K);d+=z*(5*L);d+=A*(5*M);f=d>>>13;d&=8191;d+=C*(5*N);d+=S*(5*H);d+=B*(5*U);d+=q*(5*D);d+=I*(5*R);f+=d>>>13;d&=8191;h=f;h+=j*R;h+=F*O;h+=E*T;h+=z*(5*K);h+=A*(5*L);f=h>>>13;h&=8191;h+=C*(5*M);h+=S*(5*N);h+=B*(5*H);h+=q*(5*U);h+=I*(5*D);f+=h>>>13;h&=8191;v=f;v+=j*D;v+=F*R;v+=E*O;v+=z*T;v+=A*(5*K);f=v>>>13;v&=8191;v+=C*(5*L);v+=S*(5*M);v+=B*(5*N);v+=q*(5*H);v+=I*(5*U);f+=v>>>13;v&=8191;g=f;g+=j*U;g+=F*D;g+=E*R;g+=z*O;g+=A*T;f=g>>>13;g&=8191;g+=C*(5*K);g+=S*(5*L);g+=B*(5*M);g+=q*(5*N);g+=I*(5*H);f+=g>>>13;g&=8191;b=f;b+=j*H;b+=F*U;b+=E*D;b+=z*R;b+=A*O;f=b>>>13;b&=8191;b+=C*T;b+=S*(5*K);b+=B*(5*L);b+=q*(5*M);b+=I*(5*N);f+=b>>>13;b&=8191;y=f;y+=j*N;y+=F*H;y+=E*U;y+=z*D;y+=A*R;f=y>>>13;y&=8191;y+=C*O;y+=S*T;y+=B*(5*K);y+=q*(5*L);y+=I*(5*M);f+=y>>>13;y&=8191;k=f;k+=j*M;k+=F*N;k+=E*H;k+=z*U;k+=A*D;f=k>>>13;k&=8191;k+=C*R;k+=S*O;k+=B*T;k+=q*(5*K);k+=I*(5*L);f+=k>>>13;k&=8191;x=f;x+=j*L;x+=F*M;x+=E*N;x+=z*H;x+=A*U;f=x>>>13;x&=8191;x+=C*D;x+=S*R;x+=B*O;x+=q*T;x+=I*(5*K);f+=x>>>13;x&=8191;w=f;w+=j*K;w+=F*L;w+=E*M;w+=z*N;w+=A*H;f=w>>>13;w&=8191;w+=C*U;w+=S*D;w+=B*R;w+=q*O;w+=I*T;f+=w>>>13;w&=8191;f=(f<<2)+f|0;f=f+m|0;m=f&8191;f=f>>>13;d+=f;j=m;F=d;E=h;z=v;A=g;C=b;S=y;B=k;q=x;I=w;a+=16;n-=16}this.h[0]=j;this.h[1]=F;this.h[2]=E;this.h[3]=z;this.h[4]=A;this.h[5]=C;this.h[6]=S;this.h[7]=B;this.h[8]=q;this.h[9]=I};h.prototype.finish=function(e,a){var n=new Uint16Array(10);var i,r,s,o;if(this.leftover){o=this.leftover;this.buffer[o++]=1;for(;o<16;o++)this.buffer[o]=0;this.fin=1;this.blocks(this.buffer,0,16)}i=this.h[1]>>>13;this.h[1]&=8191;for(o=2;o<10;o++){this.h[o]+=i;i=this.h[o]>>>13;this.h[o]&=8191}this.h[0]+=i*5;i=this.h[0]>>>13;this.h[0]&=8191;this.h[1]+=i;i=this.h[1]>>>13;this.h[1]&=8191;this.h[2]+=i;n[0]=this.h[0]+5;i=n[0]>>>13;n[0]&=8191;for(o=1;o<10;o++){n[o]=this.h[o]+i;i=n[o]>>>13;n[o]&=8191}n[9]-=1<<13;r=(i^1)-1;for(o=0;o<10;o++)n[o]&=r;r=~r;for(o=0;o<10;o++)this.h[o]=this.h[o]&r|n[o];this.h[0]=(this.h[0]|this.h[1]<<13)&65535;this.h[1]=(this.h[1]>>>3|this.h[2]<<10)&65535;this.h[2]=(this.h[2]>>>6|this.h[3]<<7)&65535;this.h[3]=(this.h[3]>>>9|this.h[4]<<4)&65535;this.h[4]=(this.h[4]>>>12|this.h[5]<<1|this.h[6]<<14)&65535;this.h[5]=(this.h[6]>>>2|this.h[7]<<11)&65535;this.h[6]=(this.h[7]>>>5|this.h[8]<<8)&65535;this.h[7]=(this.h[8]>>>8|this.h[9]<<5)&65535;s=this.h[0]+this.pad[0];this.h[0]=s&65535;for(o=1;o<8;o++){s=(this.h[o]+this.pad[o]|0)+(s>>>16)|0;this.h[o]=s&65535}e[a+0]=this.h[0]>>>0&255;e[a+1]=this.h[0]>>>8&255;e[a+2]=this.h[1]>>>0&255;e[a+3]=this.h[1]>>>8&255;e[a+4]=this.h[2]>>>0&255;e[a+5]=this.h[2]>>>8&255;e[a+6]=this.h[3]>>>0&255;e[a+7]=this.h[3]>>>8&255;e[a+8]=this.h[4]>>>0&255;e[a+9]=this.h[4]>>>8&255;e[a+10]=this.h[5]>>>0&255;e[a+11]=this.h[5]>>>8&255;e[a+12]=this.h[6]>>>0&255;e[a+13]=this.h[6]>>>8&255;e[a+14]=this.h[7]>>>0&255;e[a+15]=this.h[7]>>>8&255};h.prototype.update=function(e,a,n){var i,r;if(this.leftover){r=16-this.leftover;if(r>n)r=n;for(i=0;i=16){r=n-n%16;this.blocks(e,a,r);a+=r;n-=r}if(n){for(i=0;i>16&1);o[i-1]&=65535}o[15]=t[15]-32767-(o[14]>>16&1);s=o[15]>>16&1;o[14]&=65535;sel25519(t,o,1-s)}for(i=0;i<16;i++){e[2*i]=t[i]&255;e[2*i+1]=t[i]>>8}}function neq25519(e,a){var n=new Uint8Array(32),i=new Uint8Array(32);pack25519(n,e);pack25519(i,a);return crypto_verify_32(n,0,i,0)}function par25519(e){var a=new Uint8Array(32);pack25519(a,e);return a[0]&1}function unpack25519(e,a){var n;for(n=0;n<16;n++)e[n]=a[2*n]+(a[2*n+1]<<8);e[15]&=32767}function A(e,a,n){for(var i=0;i<16;i++)e[i]=a[i]+n[i]}function Z(e,a,n){for(var i=0;i<16;i++)e[i]=a[i]-n[i]}function M(e,a,n){var i,r,s=0,o=0,t=0,c=0,p=0,l=0,u=0,f=0,m=0,d=0,h=0,v=0,g=0,b=0,y=0,k=0,x=0,w=0,j=0,F=0,E=0,z=0,A=0,C=0,S=0,B=0,q=0,I=0,T=0,O=0,R=0,D=n[0],U=n[1],H=n[2],N=n[3],M=n[4],L=n[5],K=n[6],Q=n[7],G=n[8],J=n[9],W=n[10],X=n[11],Y=n[12],Z=n[13],P=n[14],V=n[15];i=a[0];s+=i*D;o+=i*U;t+=i*H;c+=i*N;p+=i*M;l+=i*L;u+=i*K;f+=i*Q;m+=i*G;d+=i*J;h+=i*W;v+=i*X;g+=i*Y;b+=i*Z;y+=i*P;k+=i*V;i=a[1];o+=i*D;t+=i*U;c+=i*H;p+=i*N;l+=i*M;u+=i*L;f+=i*K;m+=i*Q;d+=i*G;h+=i*J;v+=i*W;g+=i*X;b+=i*Y;y+=i*Z;k+=i*P;x+=i*V;i=a[2];t+=i*D;c+=i*U;p+=i*H;l+=i*N;u+=i*M;f+=i*L;m+=i*K;d+=i*Q;h+=i*G;v+=i*J;g+=i*W;b+=i*X;y+=i*Y;k+=i*Z;x+=i*P;w+=i*V;i=a[3];c+=i*D;p+=i*U;l+=i*H;u+=i*N;f+=i*M;m+=i*L;d+=i*K;h+=i*Q;v+=i*G;g+=i*J;b+=i*W;y+=i*X;k+=i*Y;x+=i*Z;w+=i*P;j+=i*V;i=a[4];p+=i*D;l+=i*U;u+=i*H;f+=i*N;m+=i*M;d+=i*L;h+=i*K;v+=i*Q;g+=i*G;b+=i*J;y+=i*W;k+=i*X;x+=i*Y;w+=i*Z;j+=i*P;F+=i*V;i=a[5];l+=i*D;u+=i*U;f+=i*H;m+=i*N;d+=i*M;h+=i*L;v+=i*K;g+=i*Q;b+=i*G;y+=i*J;k+=i*W;x+=i*X;w+=i*Y;j+=i*Z;F+=i*P;E+=i*V;i=a[6];u+=i*D;f+=i*U;m+=i*H;d+=i*N;h+=i*M;v+=i*L;g+=i*K;b+=i*Q;y+=i*G;k+=i*J;x+=i*W;w+=i*X;j+=i*Y;F+=i*Z;E+=i*P;z+=i*V;i=a[7];f+=i*D;m+=i*U;d+=i*H;h+=i*N;v+=i*M;g+=i*L;b+=i*K;y+=i*Q;k+=i*G;x+=i*J;w+=i*W;j+=i*X;F+=i*Y;E+=i*Z;z+=i*P;A+=i*V;i=a[8];m+=i*D;d+=i*U;h+=i*H;v+=i*N;g+=i*M;b+=i*L;y+=i*K;k+=i*Q;x+=i*G;w+=i*J;j+=i*W;F+=i*X;E+=i*Y;z+=i*Z;A+=i*P;C+=i*V;i=a[9];d+=i*D;h+=i*U;v+=i*H;g+=i*N;b+=i*M;y+=i*L;k+=i*K;x+=i*Q;w+=i*G;j+=i*J;F+=i*W;E+=i*X;z+=i*Y;A+=i*Z;C+=i*P;S+=i*V;i=a[10];h+=i*D;v+=i*U;g+=i*H;b+=i*N;y+=i*M;k+=i*L;x+=i*K;w+=i*Q;j+=i*G;F+=i*J;E+=i*W;z+=i*X;A+=i*Y;C+=i*Z;S+=i*P;B+=i*V;i=a[11];v+=i*D;g+=i*U;b+=i*H;y+=i*N;k+=i*M;x+=i*L;w+=i*K;j+=i*Q;F+=i*G;E+=i*J;z+=i*W;A+=i*X;C+=i*Y;S+=i*Z;B+=i*P;q+=i*V;i=a[12];g+=i*D;b+=i*U;y+=i*H;k+=i*N;x+=i*M;w+=i*L;j+=i*K;F+=i*Q;E+=i*G;z+=i*J;A+=i*W;C+=i*X;S+=i*Y;B+=i*Z;q+=i*P;I+=i*V;i=a[13];b+=i*D;y+=i*U;k+=i*H;x+=i*N;w+=i*M;j+=i*L;F+=i*K;E+=i*Q;z+=i*G;A+=i*J;C+=i*W;S+=i*X;B+=i*Y;q+=i*Z;I+=i*P;T+=i*V;i=a[14];y+=i*D;k+=i*U;x+=i*H;w+=i*N;j+=i*M;F+=i*L;E+=i*K;z+=i*Q;A+=i*G;C+=i*J;S+=i*W;B+=i*X;q+=i*Y;I+=i*Z;T+=i*P;O+=i*V;i=a[15];k+=i*D;x+=i*U;w+=i*H;j+=i*N;F+=i*M;E+=i*L;z+=i*K;A+=i*Q;C+=i*G;S+=i*J;B+=i*W;q+=i*X;I+=i*Y;T+=i*Z;O+=i*P;R+=i*V;s+=38*x;o+=38*w;t+=38*j;c+=38*F;p+=38*E;l+=38*z;u+=38*A;f+=38*C;m+=38*S;d+=38*B;h+=38*q;v+=38*I;g+=38*T;b+=38*O;y+=38*R;r=1;i=s+r+65535;r=Math.floor(i/65536);s=i-r*65536;i=o+r+65535;r=Math.floor(i/65536);o=i-r*65536;i=t+r+65535;r=Math.floor(i/65536);t=i-r*65536;i=c+r+65535;r=Math.floor(i/65536);c=i-r*65536;i=p+r+65535;r=Math.floor(i/65536);p=i-r*65536;i=l+r+65535;r=Math.floor(i/65536);l=i-r*65536;i=u+r+65535;r=Math.floor(i/65536);u=i-r*65536;i=f+r+65535;r=Math.floor(i/65536);f=i-r*65536;i=m+r+65535;r=Math.floor(i/65536);m=i-r*65536;i=d+r+65535;r=Math.floor(i/65536);d=i-r*65536;i=h+r+65535;r=Math.floor(i/65536);h=i-r*65536;i=v+r+65535;r=Math.floor(i/65536);v=i-r*65536;i=g+r+65535;r=Math.floor(i/65536);g=i-r*65536;i=b+r+65535;r=Math.floor(i/65536);b=i-r*65536;i=y+r+65535;r=Math.floor(i/65536);y=i-r*65536;i=k+r+65535;r=Math.floor(i/65536);k=i-r*65536;s+=r-1+37*(r-1);r=1;i=s+r+65535;r=Math.floor(i/65536);s=i-r*65536;i=o+r+65535;r=Math.floor(i/65536);o=i-r*65536;i=t+r+65535;r=Math.floor(i/65536);t=i-r*65536;i=c+r+65535;r=Math.floor(i/65536);c=i-r*65536;i=p+r+65535;r=Math.floor(i/65536);p=i-r*65536;i=l+r+65535;r=Math.floor(i/65536);l=i-r*65536;i=u+r+65535;r=Math.floor(i/65536);u=i-r*65536;i=f+r+65535;r=Math.floor(i/65536);f=i-r*65536;i=m+r+65535;r=Math.floor(i/65536);m=i-r*65536;i=d+r+65535;r=Math.floor(i/65536);d=i-r*65536;i=h+r+65535;r=Math.floor(i/65536);h=i-r*65536;i=v+r+65535;r=Math.floor(i/65536);v=i-r*65536;i=g+r+65535;r=Math.floor(i/65536);g=i-r*65536;i=b+r+65535;r=Math.floor(i/65536);b=i-r*65536;i=y+r+65535;r=Math.floor(i/65536);y=i-r*65536;i=k+r+65535;r=Math.floor(i/65536);k=i-r*65536;s+=r-1+37*(r-1);e[0]=s;e[1]=o;e[2]=t;e[3]=c;e[4]=p;e[5]=l;e[6]=u;e[7]=f;e[8]=m;e[9]=d;e[10]=h;e[11]=v;e[12]=g;e[13]=b;e[14]=y;e[15]=k}function S(e,a){M(e,a,a)}function inv25519(e,n){var i=a();var r;for(r=0;r<16;r++)i[r]=n[r];for(r=253;r>=0;r--){S(i,i);if(r!==2&&r!==4)M(i,i,n)}for(r=0;r<16;r++)e[r]=i[r]}function pow2523(e,n){var i=a();var r;for(r=0;r<16;r++)i[r]=n[r];for(r=250;r>=0;r--){S(i,i);if(r!==1)M(i,i,n)}for(r=0;r<16;r++)e[r]=i[r]}function crypto_scalarmult(e,n,i){var r=new Uint8Array(32);var s=new Float64Array(80),o,t;var p=a(),l=a(),u=a(),f=a(),m=a(),d=a();for(t=0;t<31;t++)r[t]=n[t];r[31]=n[31]&127|64;r[0]&=248;unpack25519(s,i);for(t=0;t<16;t++){l[t]=s[t];f[t]=p[t]=u[t]=0}p[0]=f[0]=1;for(t=254;t>=0;--t){o=r[t>>>3]>>>(t&7)&1;sel25519(p,l,o);sel25519(u,f,o);A(m,p,u);Z(p,p,u);A(u,l,f);Z(l,l,f);S(f,m);S(d,p);M(p,u,p);M(u,l,m);A(m,p,u);Z(p,p,u);S(l,p);Z(u,f,d);M(p,u,c);A(p,p,f);M(u,u,p);M(p,f,d);M(f,l,s);S(l,m);sel25519(p,l,o);sel25519(u,f,o)}for(t=0;t<16;t++){s[t+16]=p[t];s[t+32]=u[t];s[t+48]=l[t];s[t+64]=f[t]}var h=s.subarray(32);var v=s.subarray(16);inv25519(h,h);M(v,v,h);pack25519(e,v);return 0}function crypto_scalarmult_base(e,a){return crypto_scalarmult(e,a,s)}function crypto_box_keypair(e,a){i(a,32);return crypto_scalarmult_base(e,a)}function crypto_box_beforenm(e,a,n){var i=new Uint8Array(32);crypto_scalarmult(i,n,a);return crypto_core_hsalsa20(e,r,i,d)}var v=crypto_secretbox;var g=crypto_secretbox_open;function crypto_box(e,a,n,i,r,s){var o=new Uint8Array(32);crypto_box_beforenm(o,r,s);return v(e,a,n,i,o)}function crypto_box_open(e,a,n,i,r,s){var o=new Uint8Array(32);crypto_box_beforenm(o,r,s);return g(e,a,n,i,o)}var b=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function crypto_hashblocks_hl(e,a,n,i){var r=new Int32Array(16),s=new Int32Array(16),o,t,c,p,l,u,f,m,d,h,v,g,y,k,x,w,j,F,E,z,A,C,S,B,q,I;var T=e[0],O=e[1],R=e[2],D=e[3],U=e[4],H=e[5],N=e[6],M=e[7],L=a[0],K=a[1],Q=a[2],G=a[3],J=a[4],W=a[5],X=a[6],Y=a[7];var Z=0;while(i>=128){for(E=0;E<16;E++){z=8*E+Z;r[E]=n[z+0]<<24|n[z+1]<<16|n[z+2]<<8|n[z+3];s[E]=n[z+4]<<24|n[z+5]<<16|n[z+6]<<8|n[z+7]}for(E=0;E<80;E++){o=T;t=O;c=R;p=D;l=U;u=H;f=N;m=M;d=L;h=K;v=Q;g=G;y=J;k=W;x=X;w=Y;A=M;C=Y;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=(U>>>14|J<<32-14)^(U>>>18|J<<32-18)^(J>>>41-32|U<<32-(41-32));C=(J>>>14|U<<32-14)^(J>>>18|U<<32-18)^(U>>>41-32|J<<32-(41-32));S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;A=U&H^~U&N;C=J&W^~J&X;S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;A=b[E*2];C=b[E*2+1];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;A=r[E%16];C=s[E%16];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;j=q&65535|I<<16;F=S&65535|B<<16;A=j;C=F;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=(T>>>28|L<<32-28)^(L>>>34-32|T<<32-(34-32))^(L>>>39-32|T<<32-(39-32));C=(L>>>28|T<<32-28)^(T>>>34-32|L<<32-(34-32))^(T>>>39-32|L<<32-(39-32));S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;A=T&O^T&R^O&R;C=L&K^L&Q^K&Q;S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;m=q&65535|I<<16;w=S&65535|B<<16;A=p;C=g;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=j;C=F;S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;p=q&65535|I<<16;g=S&65535|B<<16;O=o;R=t;D=c;U=p;H=l;N=u;M=f;T=m;K=d;Q=h;G=v;J=g;W=y;X=k;Y=x;L=w;if(E%16===15){for(z=0;z<16;z++){A=r[z];C=s[z];S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=r[(z+9)%16];C=s[(z+9)%16];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;j=r[(z+1)%16];F=s[(z+1)%16];A=(j>>>1|F<<32-1)^(j>>>8|F<<32-8)^j>>>7;C=(F>>>1|j<<32-1)^(F>>>8|j<<32-8)^(F>>>7|j<<32-7);S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;j=r[(z+14)%16];F=s[(z+14)%16];A=(j>>>19|F<<32-19)^(F>>>61-32|j<<32-(61-32))^j>>>6;C=(F>>>19|j<<32-19)^(j>>>61-32|F<<32-(61-32))^(F>>>6|j<<32-6);S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;r[z]=q&65535|I<<16;s[z]=S&65535|B<<16}}}A=T;C=L;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=e[0];C=a[0];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;e[0]=T=q&65535|I<<16;a[0]=L=S&65535|B<<16;A=O;C=K;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=e[1];C=a[1];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;e[1]=O=q&65535|I<<16;a[1]=K=S&65535|B<<16;A=R;C=Q;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=e[2];C=a[2];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;e[2]=R=q&65535|I<<16;a[2]=Q=S&65535|B<<16;A=D;C=G;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=e[3];C=a[3];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;e[3]=D=q&65535|I<<16;a[3]=G=S&65535|B<<16;A=U;C=J;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=e[4];C=a[4];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;e[4]=U=q&65535|I<<16;a[4]=J=S&65535|B<<16;A=H;C=W;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=e[5];C=a[5];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;e[5]=H=q&65535|I<<16;a[5]=W=S&65535|B<<16;A=N;C=X;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=e[6];C=a[6];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;e[6]=N=q&65535|I<<16;a[6]=X=S&65535|B<<16;A=M;C=Y;S=C&65535;B=C>>>16;q=A&65535;I=A>>>16;A=e[7];C=a[7];S+=C&65535;B+=C>>>16;q+=A&65535;I+=A>>>16;B+=S>>>16;q+=B>>>16;I+=q>>>16;e[7]=M=q&65535|I<<16;a[7]=Y=S&65535|B<<16;Z+=128;i-=128}return i}function crypto_hash(e,a,n){var i=new Int32Array(8),r=new Int32Array(8),s=new Uint8Array(256),o,t=n;i[0]=1779033703;i[1]=3144134277;i[2]=1013904242;i[3]=2773480762;i[4]=1359893119;i[5]=2600822924;i[6]=528734635;i[7]=1541459225;r[0]=4089235720;r[1]=2227873595;r[2]=4271175723;r[3]=1595750129;r[4]=2917565137;r[5]=725511199;r[6]=4215389547;r[7]=327033209;crypto_hashblocks_hl(i,r,a,n);n%=128;for(o=0;o=0;--r){i=n[r/8|0]>>(r&7)&1;cswap(e,a,i);add(a,e);add(e,e);cswap(e,a,i)}}function scalarbase(e,n){var i=[a(),a(),a(),a()];set25519(i[0],u);set25519(i[1],f);set25519(i[2],t);M(i[3],u,f);scalarmult(e,i,n)}function crypto_sign_keypair(e,n,r){var s=new Uint8Array(64);var o=[a(),a(),a(),a()];var t;if(!r)i(n,32);crypto_hash(s,n,32);s[0]&=248;s[31]&=127;s[31]|=64;scalarbase(o,s);pack(e,o);for(t=0;t<32;t++)n[t+32]=e[t];return 0}var y=new Float64Array([237,211,245,92,26,99,18,88,214,156,247,162,222,249,222,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,16]);function modL(e,a){var n,i,r,s;for(i=63;i>=32;--i){n=0;for(r=i-32,s=i-12;r>8;a[r]-=n*256}a[r]+=n;a[i]=0}n=0;for(r=0;r<32;r++){a[r]+=n-(a[31]>>4)*y[r];n=a[r]>>8;a[r]&=255}for(r=0;r<32;r++)a[r]-=n*y[r];for(i=0;i<32;i++){a[i+1]+=a[i]>>8;e[i]=a[i]&255}}function reduce(e){var a=new Float64Array(64),n;for(n=0;n<64;n++)a[n]=e[n];for(n=0;n<64;n++)e[n]=0;modL(e,a)}function crypto_sign(e,n,i,r){var s=new Uint8Array(64),o=new Uint8Array(64),t=new Uint8Array(64);var c,p,l=new Float64Array(64);var u=[a(),a(),a(),a()];crypto_hash(s,r,32);s[0]&=248;s[31]&=127;s[31]|=64;var f=i+64;for(c=0;c>7)Z(e[0],o,e[0]);M(e[3],e[0],e[1]);return 0}function crypto_sign_open(e,n,i,r){var s,o;var t=new Uint8Array(32),c=new Uint8Array(64);var p=[a(),a(),a(),a()],l=[a(),a(),a(),a()];o=-1;if(i<64)return-1;if(unpackneg(l,r))return-1;for(s=0;s=0};e.sign.keyPair=function(){var e=new Uint8Array(R);var a=new Uint8Array(D);crypto_sign_keypair(e,a);return{publicKey:e,secretKey:a}};e.sign.keyPair.fromSecretKey=function(e){checkArrayTypes(e);if(e.length!==D)throw new Error("bad secret key size");var a=new Uint8Array(R);for(var n=0;n0)throw new Error("non-zero precision not supported");if(o.match(/-/))l=true;if(o.match(/0/))u="0";if(o.match(/\+/))f=true;switch(p){case"s":if(m===undefined||m===null)throw new Error("argument "+v+": attempted to print undefined or null "+"as a string");h+=doPad(u,t,l,m.toString());break;case"d":m=Math.floor(m);case"f":f=f&&m>0?"+":"";h+=f+doPad(u,t,l,m.toString());break;case"x":h+=doPad(u,t,l,m.toString(16));break;case"j":if(t===0)t=10;h+=r.inspect(m,false,t);break;case"r":h+=dumpException(m);break;default:throw new Error("unsupported conversion: "+p)}}h+=e;return h}function jsPrintf(){var e=Array.prototype.slice.call(arguments);e.unshift(process.stdout);jsFprintf.apply(null,e)}function jsFprintf(e){var a=Array.prototype.slice.call(arguments,1);return e.write(jsSprintf.apply(this,a))}function doPad(e,a,n,i){var r=i;while(r.length=this._buffer.length};SSHBuffer.prototype.remainder=function(){return this._buffer.slice(this._offset)};SSHBuffer.prototype.skip=function(e){this._offset+=e};SSHBuffer.prototype.expand=function(){this._size*=2;var e=r.alloc(this._size);this._buffer.copy(e,0);this._buffer=e};SSHBuffer.prototype.readPart=function(){return{data:this.readBuffer()}};SSHBuffer.prototype.readBuffer=function(){var e=this._buffer.readUInt32BE(this._offset);this._offset+=4;i.ok(this._offset+e<=this._buffer.length,"length out of bounds at +0x"+this._offset.toString(16)+" (data truncated?)");var a=this._buffer.slice(this._offset,this._offset+e);this._offset+=e;return a};SSHBuffer.prototype.readString=function(){return this.readBuffer().toString()};SSHBuffer.prototype.readCString=function(){var e=this._offset;while(ethis._size)this.expand();this._buffer.writeUInt32BE(e.length,this._offset);this._offset+=4;e.copy(this._buffer,this._offset);this._offset+=e.length};SSHBuffer.prototype.writeString=function(e){this.writeBuffer(r.from(e,"utf8"))};SSHBuffer.prototype.writeCString=function(e){while(this._offset+1+e.length>this._size)this.expand();this._buffer.write(e,this._offset);this._offset+=e.length;this._buffer[this._offset++]=0};SSHBuffer.prototype.writeInt=function(e){while(this._offset+4>this._size)this.expand();this._buffer.writeUInt32BE(e,this._offset);this._offset+=4};SSHBuffer.prototype.writeInt64=function(e){i.buffer(e,"value");if(e.length>8){var a=e.slice(0,e.length-8);for(var n=0;nthis._size)this.expand();e.copy(this._buffer,this._offset);this._offset+=8};SSHBuffer.prototype.writeChar=function(e){while(this._offset+1>this._size)this.expand();this._buffer[this._offset++]=e};SSHBuffer.prototype.writePart=function(e){this.writeBuffer(e.data)};SSHBuffer.prototype.write=function(e){while(this._offset+e.length>this._size)this.expand();e.copy(this._buffer,this._offset);this._offset+=e.length}},680:function(e,a,n){var i=n(417);e.exports=function nodeRNG(){return i.randomBytes(16)}},681:function(e,a,n){"use strict";var i=n(835);var r=/^https?:/;function Redirect(e){this.request=e;this.followRedirect=true;this.followRedirects=true;this.followAllRedirects=false;this.followOriginalHttpMethod=false;this.allowRedirect=function(){return true};this.maxRedirects=10;this.redirects=[];this.redirectsFollowed=0;this.removeRefererHeader=false}Redirect.prototype.onRequest=function(e){var a=this;if(e.maxRedirects!==undefined){a.maxRedirects=e.maxRedirects}if(typeof e.followRedirect==="function"){a.allowRedirect=e.followRedirect}if(e.followRedirect!==undefined){a.followRedirects=!!e.followRedirect}if(e.followAllRedirects!==undefined){a.followAllRedirects=e.followAllRedirects}if(a.followRedirects||a.followAllRedirects){a.redirects=a.redirects||[]}if(e.removeRefererHeader!==undefined){a.removeRefererHeader=e.removeRefererHeader}if(e.followOriginalHttpMethod!==undefined){a.followOriginalHttpMethod=e.followOriginalHttpMethod}};Redirect.prototype.redirectTo=function(e){var a=this;var n=a.request;var i=null;if(e.statusCode>=300&&e.statusCode<400&&e.caseless.has("location")){var r=e.caseless.get("location");n.debug("redirect",r);if(a.followAllRedirects){i=r}else if(a.followRedirects){switch(n.method){case"PATCH":case"PUT":case"POST":case"DELETE":break;default:i=r;break}}}else if(e.statusCode===401){var s=n._auth.onResponse(e);if(s){n.setHeader("authorization",s);i=n.uri}}return i};Redirect.prototype.onResponse=function(e){var a=this;var n=a.request;var s=a.redirectTo(e);if(!s||!a.allowRedirect.call(n,e)){return false}n.debug("redirect to",s);if(e.resume){e.resume()}if(a.redirectsFollowed>=a.maxRedirects){n.emit("error",new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+n.uri.href));return false}a.redirectsFollowed+=1;if(!r.test(s)){s=i.resolve(n.uri.href,s)}var o=n.uri;n.uri=i.parse(s);if(n.uri.protocol!==o.protocol){delete n.agent}a.redirects.push({statusCode:e.statusCode,redirectUri:s});if(a.followAllRedirects&&n.method!=="HEAD"&&e.statusCode!==401&&e.statusCode!==307){n.method=a.followOriginalHttpMethod?n.method:"GET"}delete n.src;delete n.req;delete n._started;if(e.statusCode!==401&&e.statusCode!==307){delete n.body;delete n._form;if(n.headers){n.removeHeader("host");n.removeHeader("content-type");n.removeHeader("content-length");if(n.uri.hostname!==n.originalHost.split(":")[0]){n.removeHeader("authorization")}}}if(!a.removeRefererHeader){n.setHeader("referer",o.href)}n.emit("redirect");n.init();return true};a.Redirect=Redirect},684:function(e,a,n){"use strict";var i=n(747);var r=n(191);var s=n(286);var o=n(962);function Har(e){this.request=e}Har.prototype.reducer=function(e,a){if(e[a.name]===undefined){e[a.name]=a.value;return e}var n=[e[a.name],a.value];e[a.name]=n;return e};Har.prototype.prep=function(e){e.queryObj={};e.headersObj={};e.postData.jsonObj=false;e.postData.paramsObj=false;if(e.queryString&&e.queryString.length){e.queryObj=e.queryString.reduce(this.reducer,{})}if(e.headers&&e.headers.length){e.headersObj=e.headers.reduceRight(function(e,a){e[a.name]=a.value;return e},{})}if(e.cookies&&e.cookies.length){var a=e.cookies.map(function(e){return e.name+"="+e.value});if(a.length){e.headersObj.cookie=a.join("; ")}}function some(a){return a.some(function(a){return e.postData.mimeType.indexOf(a)===0})}if(some(["multipart/mixed","multipart/related","multipart/form-data","multipart/alternative"])){e.postData.mimeType="multipart/form-data"}else if(some(["application/x-www-form-urlencoded"])){if(!e.postData.params){e.postData.text=""}else{e.postData.paramsObj=e.postData.params.reduce(this.reducer,{});e.postData.text=r.stringify(e.postData.paramsObj)}}else if(some(["text/json","text/x-json","application/json","application/x-json"])){e.postData.mimeType="application/json";if(e.postData.text){try{e.postData.jsonObj=JSON.parse(e.postData.text)}catch(a){this.request.debug(a);e.postData.mimeType="text/plain"}}}return e};Har.prototype.options=function(e){if(!e.har){return e}var a={};o(a,e.har);if(a.log&&a.log.entries){a=a.log.entries[0]}a.url=a.url||e.url||e.uri||e.baseUrl||"/";a.httpVersion=a.httpVersion||"HTTP/1.1";a.queryString=a.queryString||[];a.headers=a.headers||[];a.cookies=a.cookies||[];a.postData=a.postData||{};a.postData.mimeType=a.postData.mimeType||"application/octet-stream";a.bodySize=0;a.headersSize=0;a.postData.size=0;if(!s.request(a)){return e}var n=this.prep(a);if(n.url){e.url=n.url}if(n.method){e.method=n.method}if(Object.keys(n.queryObj).length){e.qs=n.queryObj}if(Object.keys(n.headersObj).length){e.headers=n.headersObj}function test(e){return n.postData.mimeType.indexOf(e)===0}if(test("application/x-www-form-urlencoded")){e.form=n.postData.paramsObj}else if(test("application/json")){if(n.postData.jsonObj){e.body=n.postData.jsonObj;e.json=true}}else if(test("multipart/form-data")){e.formData={};n.postData.params.forEach(function(a){var n={};if(!a.fileName&&!a.contentType){e.formData[a.name]=a.value;return}if(a.fileName&&!a.value){n.value=i.createReadStream(a.fileName)}else if(a.value){n.value=a.value}if(a.fileName){n.options={filename:a.fileName,contentType:a.contentType?a.contentType:null}}e.formData[a.name]=n})}else{if(n.postData.text){e.body=n.postData.text}}return e};a.Har=Har},685:function(e){e.exports={$id:"response.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["status","statusText","httpVersion","cookies","headers","content","redirectURL","headersSize","bodySize"],properties:{status:{type:"integer"},statusText:{type:"string"},httpVersion:{type:"string"},cookies:{type:"array",items:{$ref:"cookie.json#"}},headers:{type:"array",items:{$ref:"header.json#"}},content:{$ref:"content.json#"},redirectURL:{type:"string"},headersSize:{type:"integer"},bodySize:{type:"integer"},comment:{type:"string"}}}},687:function(e){e.exports={$id:"beforeRequest.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,required:["lastAccess","eTag","hitCount"],properties:{expires:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},lastAccess:{type:"string",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))?"},eTag:{type:"string"},hitCount:{type:"integer"},comment:{type:"string"}}}},691:function(e,a,n){var i=n(624);e.exports=async;function async(e){var a=false;i(function(){a=true});return function async_callback(n,r){if(a){e(n,r)}else{i(function nextTick_callback(){e(n,r)})}}}},695:function(e){"use strict";e.exports=function equal(e,a){if(e===a)return true;if(e&&a&&typeof e=="object"&&typeof a=="object"){if(e.constructor!==a.constructor)return false;var n,i,r;if(Array.isArray(e)){n=e.length;if(n!=a.length)return false;for(i=n;i--!==0;)if(!equal(e[i],a[i]))return false;return true}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();r=Object.keys(e);n=r.length;if(n!==Object.keys(a).length)return false;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(a,r[i]))return false;for(i=n;i--!==0;){var s=r[i];if(!equal(e[s],a[s]))return false}return true}return e!==e&&a!==a}},700:function(e){e.exports={newInvalidAsn1Error:function(e){var a=new Error;a.name="InvalidAsn1Error";a.message=e||"";return a}}},707:function(e){(function(){var a,n,i,r,s,o;if(typeof performance!=="undefined"&&performance!==null&&performance.now){e.exports=function(){return performance.now()}}else if(typeof process!=="undefined"&&process!==null&&process.hrtime){e.exports=function(){return(a()-s)/1e6};n=process.hrtime;a=function(){var e;e=n();return e[0]*1e9+e[1]};r=a();o=process.uptime()*1e9;s=r-o}else if(Date.now){e.exports=function(){return Date.now()-i};i=Date.now()}else{e.exports=function(){return(new Date).getTime()-i};i=(new Date).getTime()}}).call(this)},709:function(e,a,n){var i=n(680);var r=n(361);function v4(e,a,n){var s=a&&n||0;if(typeof e=="string"){a=e==="binary"?new Array(16):null;e=null}e=e||{};var o=e.random||(e.rng||i)();o[6]=o[6]&15|64;o[8]=o[8]&63|128;if(a){for(var t=0;t<16;++t){a[s+t]=o[t]}}return a||r(o)}e.exports=v4},713:function(e){"use strict";var a=Object.prototype.hasOwnProperty;var n=function(){var e=[];for(var a=0;a<256;++a){e.push("%"+((a<16?"0":"")+a.toString(16)).toUpperCase())}return e}();var i=function compactQueue(e){var a;while(e.length){var n=e.pop();a=n.obj[n.prop];if(Array.isArray(a)){var i=[];for(var r=0;r=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122){i+=a.charAt(r);continue}if(s<128){i=i+n[s];continue}if(s<2048){i=i+(n[192|s>>6]+n[128|s&63]);continue}if(s<55296||s>=57344){i=i+(n[224|s>>12]+n[128|s>>6&63]+n[128|s&63]);continue}r+=1;s=65536+((s&1023)<<10|a.charCodeAt(r)&1023);i+=n[240|s>>18]+n[128|s>>12&63]+n[128|s>>6&63]+n[128|s&63]}return i};var p=function compact(e){var a=[{obj:{o:e},prop:"o"}];var n=[];for(var r=0;r=this.validFrom.getTime()&&e.getTime()0&&this.issuer.purposes.indexOf("ca")===-1){return false}return this.isSignedByKey(e.subjectKey)};Certificate.prototype.getExtension=function(e){i.string(e,"keyOrOid");var a=this.getExtensions().filter(function(a){if(a.format==="x509")return a.oid===e;if(a.format==="openssh")return a.name===e;return false})[0];return a};Certificate.prototype.getExtensions=function(){var e=[];var a=this.signatures.x509;if(a&&a.extras&&a.extras.exts){a.extras.exts.forEach(function(a){a.format="x509";e.push(a)})}var n=this.signatures.openssh;if(n&&n.exts){n.exts.forEach(function(a){a.format="openssh";e.push(a)})}return e};Certificate.prototype.isSignedByKey=function(e){u.assertCompatible(e,f,[1,2],"issuerKey");if(this.issuerKey!==undefined){return this.issuerKey.fingerprint("sha512").matches(e)}var a=Object.keys(this.signatures)[0];var n=h[a].verify(this,e);if(n)this.issuerKey=e;return n};Certificate.prototype.signWith=function(e){u.assertCompatible(e,m,[1,2],"key");var a=Object.keys(h);var n=false;for(var i=0;i0){if(l.indexOf("serverAuth")===-1)l.push("serverAuth")}if(h.length>0){if(l.indexOf("clientAuth")===-1)l.push("clientAuth")}if(h.length>0||f.length>0){if(l.indexOf("keyAgreement")===-1)l.push("keyAgreement");if(a.type==="rsa"&&l.indexOf("encryption")===-1)l.push("encryption")}}var v=new Certificate({subjects:s,issuer:s[0],subjectKey:a.toPublic(),issuerKey:a.toPublic(),signatures:{},serial:p,validFrom:o,validUntil:t,purposes:l});v.signWith(a);return v};Certificate.create=function(e,a,n,s,o){var t;if(Array.isArray(e))t=e;else t=[e];i.arrayOfObject(t);t.forEach(function(e){u.assertCompatible(e,d,[1,0],"subject")});u.assertCompatible(a,f,[1,0],"key");if(m.isPrivateKey(a))a=a.toPublic();u.assertCompatible(n,d,[1,0],"issuer");u.assertCompatible(s,m,[1,2],"issuer key");i.optionalObject(o,"options");if(o===undefined)o={};i.optionalObject(o.validFrom,"options.validFrom");i.optionalObject(o.validUntil,"options.validUntil");var c=o.validFrom;var p=o.validUntil;if(c===undefined)c=new Date;if(p===undefined){i.optionalNumber(o.lifetime,"options.lifetime");var l=o.lifetime;if(l===undefined)l=10*365*24*3600;p=new Date;p.setTime(p.getTime()+l*1e3)}i.optionalBuffer(o.serial,"options.serial");var h=o.serial;if(h===undefined)h=r.from("0000000000000001","hex");var v=o.purposes;if(v===undefined)v=[];if(v.indexOf("signature")===-1)v.push("signature");if(o.ca===true){if(v.indexOf("ca")===-1)v.push("ca");if(v.indexOf("crl")===-1)v.push("crl")}var g=t.filter(function(e){return e.type==="host"});var b=t.filter(function(e){return e.type==="user"});if(g.length>0){if(v.indexOf("serverAuth")===-1)v.push("serverAuth")}if(b.length>0){if(v.indexOf("clientAuth")===-1)v.push("clientAuth")}if(b.length>0||g.length>0){if(v.indexOf("keyAgreement")===-1)v.push("keyAgreement");if(a.type==="rsa"&&v.indexOf("encryption")===-1)v.push("encryption")}var y=new Certificate({subjects:t,issuer:n,subjectKey:a,issuerKey:s.toPublic(),signatures:{},serial:h,validFrom:c,validUntil:p,purposes:v});y.signWith(s);return y};Certificate.parse=function(e,a,n){if(typeof e!=="string")i.buffer(e,"data");if(a===undefined)a="auto";i.string(a,"format");if(typeof n==="string")n={filename:n};i.optionalObject(n,"options");if(n===undefined)n={};i.optionalString(n.filename,"options.filename");if(n.filename===undefined)n.filename="(unnamed)";i.object(h[a],"formats[format]");try{var r=h[a].read(e,n);return r}catch(e){throw new v(n.filename,a,e)}};Certificate.isCertificate=function(e,a){return u.isCompatible(e,Certificate,a)};Certificate.prototype._sshpkApiVersion=[1,1];Certificate._oldVersionDetect=function(e){return[1,0]}},732:function(e,a,n){e.exports={read:read.bind(undefined,false,undefined),readType:read.bind(undefined,false),write:write,readPartial:read.bind(undefined,true),readInternal:read,keyTypeToAlg:keyTypeToAlg,algToKeyType:algToKeyType};var i=n(521);var r=n(108).Buffer;var s=n(556);var o=n(372);var t=n(866);var c=n(381);var p=n(672);function algToKeyType(e){i.string(e);if(e==="ssh-dss")return"dsa";else if(e==="ssh-rsa")return"rsa";else if(e==="ssh-ed25519")return"ed25519";else if(e==="ssh-curve25519")return"curve25519";else if(e.match(/^ecdsa-sha2-/))return"ecdsa";else throw new Error("Unknown algorithm "+e)}function keyTypeToAlg(e){i.object(e);if(e.type==="dsa")return"ssh-dss";else if(e.type==="rsa")return"ssh-rsa";else if(e.type==="ed25519")return"ssh-ed25519";else if(e.type==="curve25519")return"ssh-curve25519";else if(e.type==="ecdsa")return"ecdsa-sha2-"+e.part.curve.data.toString();else throw new Error("Unknown key type "+e.type)}function read(e,a,n,l){if(typeof n==="string")n=r.from(n);i.buffer(n,"buf");var u={};var f=u.parts=[];var m=new p({buffer:n});var d=m.readString();i.ok(!m.atEnd(),"key must have at least one part");u.type=algToKeyType(d);var h=s.info[u.type].parts.length;if(a&&a==="private")h=s.privInfo[u.type].parts.length;while(!m.atEnd()&&f.length=1,"key must have at least one part");i.ok(e||m.atEnd(),"leftover bytes at end of key");var v=t;var g=s.info[u.type];if(a==="private"||g.parts.length!==f.length){g=s.privInfo[u.type];v=c}i.strictEqual(g.parts.length,f.length);if(u.type==="ecdsa"){var b=/^ecdsa-sha2-(.+)$/.exec(d);i.ok(b!==null);i.strictEqual(b[1],f[0].data.toString())}var y=true;for(var k=0;k255){return"DOMAIN_TOO_LONG"}var n=a.split(".");var r;for(var s=0;s63){return"LABEL_TOO_LONG"}if(r.charAt(0)==="-"){return"LABEL_STARTS_WITH_DASH"}if(r.charAt(r.length-1)==="-"){return"LABEL_ENDS_WITH_DASH"}if(!/^[a-z0-9\-]+$/.test(r)){return"LABEL_INVALID_CHARS"}}};a.parse=function(e){if(typeof e!=="string"){throw new TypeError("Domain name must be a string.")}var n=e.slice(0).toLowerCase();if(n.charAt(n.length-1)==="."){n=n.slice(0,n.length-1)}var s=r.validate(n);if(s){return{input:e,error:{message:a.errorCodes[s],code:s}}}var o={input:e,tld:null,sld:null,domain:null,subdomain:null,listed:false};var t=n.split(".");if(t[t.length-1]==="local"){return o}var c=function(){if(!/xn--/.test(n)){return o}if(o.domain){o.domain=i.toASCII(o.domain)}if(o.subdomain){o.subdomain=i.toASCII(o.subdomain)}return o};var p=r.findRule(n);if(!p){if(t.length<2){return o}o.tld=t.pop();o.sld=t.pop();o.domain=[o.sld,o.tld].join(".");if(t.length){o.subdomain=t.pop()}return c()}o.listed=true;var l=p.suffix.split(".");var u=t.slice(0,t.length-l.length);if(p.exception){u.push(l.shift())}o.tld=l.join(".");if(!u.length){return c()}if(p.wildcard){l.unshift(u.pop());o.tld=l.join(".")}if(!u.length){return c()}o.sld=u.pop();o.domain=[o.sld,o.tld].join(".");if(u.length){o.subdomain=u.join(".")}return c()};a.get=function(e){if(!e){return null}return a.parse(e).domain||null};a.isValid=function(e){var n=a.parse(e);return Boolean(n.domain&&n.listed)}},777:function(e,a,n){var i=n(521);var r=n(417);var s=n(605);var o=n(669);var t=n(279);var c=n(147);var p=n(326);var l=n(669).format;var u=p.HASH_ALGOS;var f=p.PK_ALGOS;var m=p.InvalidAlgorithmError;var d=p.HttpSignatureError;var h=p.validateAlgorithm;var v='Signature keyId="%s",algorithm="%s",headers="%s",signature="%s"';function MissingHeaderError(e){d.call(this,e,MissingHeaderError)}o.inherits(MissingHeaderError,d);function StrictParsingError(e){d.call(this,e,StrictParsingError)}o.inherits(StrictParsingError,d);function RequestSigner(e){i.object(e,"options");var a=[];if(e.algorithm!==undefined){i.string(e.algorithm,"options.algorithm");a=h(e.algorithm)}this.rs_alg=a;if(e.sign!==undefined){i.func(e.sign,"options.sign");this.rs_signFunc=e.sign}else if(a[0]==="hmac"&&e.key!==undefined){i.string(e.keyId,"options.keyId");this.rs_keyId=e.keyId;if(typeof e.key!=="string"&&!Buffer.isBuffer(e.key))throw new TypeError("options.key for HMAC must be a string or Buffer");this.rs_signer=r.createHmac(a[1].toUpperCase(),e.key);this.rs_signer.sign=function(){var e=this.digest("base64");return{hashAlgorithm:a[1],toString:function(){return e}}}}else if(e.key!==undefined){var n=e.key;if(typeof n==="string"||Buffer.isBuffer(n))n=t.parsePrivateKey(n);i.ok(t.PrivateKey.isPrivateKey(n,[1,2]),"options.key must be a sshpk.PrivateKey");this.rs_key=n;i.string(e.keyId,"options.keyId");this.rs_keyId=e.keyId;if(!f[n.type]){throw new m(n.type.toUpperCase()+" type "+"keys are not supported")}if(a[0]!==undefined&&n.type!==a[0]){throw new m("options.key must be a "+a[0].toUpperCase()+" key, was given a "+n.type.toUpperCase()+" key instead")}this.rs_signer=n.createSign(a[1])}else{throw new TypeError("options.sign (func) or options.key is required")}this.rs_headers=[];this.rs_lines=[]}RequestSigner.prototype.writeHeader=function(e,a){i.string(e,"header");e=e.toLowerCase();i.string(a,"value");this.rs_headers.push(e);if(this.rs_signFunc){this.rs_lines.push(e+": "+a)}else{var n=e+": "+a;if(this.rs_headers.length>0)n="\n"+n;this.rs_signer.update(n)}return a};RequestSigner.prototype.writeDateHeader=function(){return this.writeHeader("date",c.rfc1123(new Date))};RequestSigner.prototype.writeTarget=function(e,a){i.string(e,"method");i.string(a,"path");e=e.toLowerCase();this.writeHeader("(request-target)",e+" "+a)};RequestSigner.prototype.sign=function(e){i.func(e,"callback");if(this.rs_headers.length<1)throw new Error("At least one header must be signed");var a,n;if(this.rs_signFunc){var r=this.rs_lines.join("\n");var s=this;this.rs_signFunc(r,function(r,o){if(r){e(r);return}try{i.object(o,"signature");i.string(o.keyId,"signature.keyId");i.string(o.algorithm,"signature.algorithm");i.string(o.signature,"signature.signature");a=h(o.algorithm);n=l(v,o.keyId,o.algorithm,s.rs_headers.join(" "),o.signature)}catch(a){e(a);return}e(null,n)})}else{try{var o=this.rs_signer.sign()}catch(a){e(a);return}a=(this.rs_alg[0]||this.rs_key.type)+"-"+o.hashAlgorithm;var t=o.toString();n=l(v,this.rs_keyId,a,this.rs_headers.join(" "),t);e(null,n)}};e.exports={isSigner:function(e){if(typeof e==="object"&&e instanceof RequestSigner)return true;return false},createSigner:function createSigner(e){return new RequestSigner(e)},signRequest:function signRequest(e,a){i.object(e,"request");i.object(a,"options");i.optionalString(a.algorithm,"options.algorithm");i.string(a.keyId,"options.keyId");i.optionalArrayOfString(a.headers,"options.headers");i.optionalString(a.httpVersion,"options.httpVersion");if(!e.getHeader("Date"))e.setHeader("Date",c.rfc1123(new Date));if(!a.headers)a.headers=["date"];if(!a.httpVersion)a.httpVersion="1.1";var n=[];if(a.algorithm){a.algorithm=a.algorithm.toLowerCase();n=h(a.algorithm)}var s;var o="";for(s=0;s0){p.comment=o[4]}else if(f.consumed){var m=o[2]+(o[3]?o[3]:"");var d=Math.ceil(f.consumed/3)*4;m=m.slice(0,d-2).replace(/[^a-zA-Z0-9+\/=]/g,"")+m.slice(d-2);var h=f.consumed%3;if(h>0&&m.slice(d-1,d)!=="=")d--;while(m.slice(d,d+1)==="=")d++;var v=m.slice(d);v=v.replace(/[\r\n]/g," ").replace(/^\s+/,"");if(v.match(/^[a-zA-Z0-9]/))p.comment=v}return p}function write(e,a){i.object(e);if(!t.isKey(e))throw new Error("Must be a public key");var n=[];var o=s.keyTypeToAlg(e);n.push(o);var c=s.write(e);n.push(c.toString("base64"));if(e.comment)n.push(e.comment);return r.from(n.join(" "))}},813:function(e){"use strict";e.exports=function generate_custom(e,a,n){var i=" ";var r=e.level;var s=e.dataLevel;var o=e.schema[a];var t=e.schemaPath+e.util.getProperty(a);var c=e.errSchemaPath+"/"+a;var p=!e.opts.allErrors;var l;var u="data"+(s||"");var f="valid"+r;var m="errs__"+r;var d=e.opts.$data&&o&&o.$data,h;if(d){i+=" var schema"+r+" = "+e.util.getData(o.$data,s,e.dataPathArr)+"; ";h="schema"+r}else{h=o}var v=this,g="definition"+r,b=v.definition,y="";var k,x,w,j,F;if(d&&b.$data){F="keywordValidate"+r;var E=b.validateSchema;i+=" var "+g+" = RULES.custom['"+a+"'].definition; var "+F+" = "+g+".validate;"}else{j=e.useCustomRule(v,o,e.schema,e);if(!j)return;h="validate.schema"+t;F=j.code;k=b.compile;x=b.inline;w=b.macro}var z=F+".errors",A="i"+r,C="ruleErr"+r,S=b.async;if(S&&!e.async)throw new Error("async keyword in sync schema");if(!(x||w)){i+=""+z+" = null;"}i+="var "+m+" = errors;var "+f+";";if(d&&b.$data){y+="}";i+=" if ("+h+" === undefined) { "+f+" = true; } else { ";if(E){y+="}";i+=" "+f+" = "+g+".validateSchema("+h+"); if ("+f+") { "}}if(x){if(b.statements){i+=" "+j.validate+" "}else{i+=" "+f+" = "+j.validate+"; "}}else if(w){var B=e.util.copy(e);var y="";B.level++;var q="valid"+B.level;B.schema=j.validate;B.schemaPath="";var I=e.compositeRule;e.compositeRule=B.compositeRule=true;var T=e.validate(B).replace(/validate\.schema/g,F);e.compositeRule=B.compositeRule=I;i+=" "+T}else{var O=O||[];O.push(i);i="";i+=" "+F+".call( ";if(e.opts.passContext){i+="this"}else{i+="self"}if(k||b.schema===false){i+=" , "+u+" "}else{i+=" , "+h+" , "+u+" , validate.schema"+e.schemaPath+" "}i+=" , (dataPath || '')";if(e.errorPath!='""'){i+=" + "+e.errorPath}var R=s?"data"+(s-1||""):"parentData",D=s?e.dataPathArr[s]:"parentDataProperty";i+=" , "+R+" , "+D+" , rootData ) ";var U=i;i=O.pop();if(b.errors===false){i+=" "+f+" = ";if(S){i+="await "}i+=""+U+"; "}else{if(S){z="customErrors"+r;i+=" var "+z+" = null; try { "+f+" = await "+U+"; } catch (e) { "+f+" = false; if (e instanceof ValidationError) "+z+" = e.errors; else throw e; } "}else{i+=" "+z+" = null; "+f+" = "+U+"; "}}}if(b.modifying){i+=" if ("+R+") "+u+" = "+R+"["+D+"];"}i+=""+y;if(b.valid){if(p){i+=" if (true) { "}}else{i+=" if ( ";if(b.valid===undefined){i+=" !";if(w){i+=""+q}else{i+=""+f}}else{i+=" "+!b.valid+" "}i+=") { ";l=v.keyword;var O=O||[];O.push(i);i="";var O=O||[];O.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+(l||"custom")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { keyword: '"+v.keyword+"' } ";if(e.opts.messages!==false){i+=" , message: 'should pass \""+v.keyword+"\" keyword validation' "}if(e.opts.verbose){i+=" , schema: validate.schema"+t+" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}i+=" } "}else{i+=" {} "}var H=i;i=O.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+H+"]); "}else{i+=" validate.errors = ["+H+"]; return false; "}}else{i+=" var err = "+H+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}var N=i;i=O.pop();if(x){if(b.errors){if(b.errors!="full"){i+=" for (var "+A+"="+m+"; "+A+"":"<";i+="if ( ";if(f){i+=" ("+m+" !== undefined && typeof "+m+" != 'number') || "}i+=" "+u+".length "+d+" "+m+") { ";var l=a;var h=h||[];h.push(i);i="";if(e.createErrors!==false){i+=" { keyword: '"+(l||"_limitItems")+"' , dataPath: (dataPath || '') + "+e.errorPath+" , schemaPath: "+e.util.toQuotedString(c)+" , params: { limit: "+m+" } ";if(e.opts.messages!==false){i+=" , message: 'should NOT have ";if(a=="maxItems"){i+="more"}else{i+="fewer"}i+=" than ";if(f){i+="' + "+m+" + '"}else{i+=""+o}i+=" items' "}if(e.opts.verbose){i+=" , schema: ";if(f){i+="validate.schema"+t}else{i+=""+o}i+=" , parentSchema: validate.schema"+e.schemaPath+" , data: "+u+" "}i+=" } "}else{i+=" {} "}var v=i;i=h.pop();if(!e.compositeRule&&p){if(e.async){i+=" throw new ValidationError(["+v+"]); "}else{i+=" validate.errors = ["+v+"]; return false; "}}else{i+=" var err = "+v+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}i+="} ";if(p){i+=" else { "}return i}},831:function(e,a,n){var i=n(521);var r=n(669);var s=n(666);var o=n(261).isError;var t=s.sprintf;e.exports=VError;VError.VError=VError;VError.SError=SError;VError.WError=WError;VError.MultiError=MultiError;function parseConstructorArguments(e){var a,n,r,s,c;i.object(e,"args");i.bool(e.strict,"args.strict");i.array(e.argv,"args.argv");a=e.argv;if(a.length===0){n={};r=[]}else if(o(a[0])){n={cause:a[0]};r=a.slice(1)}else if(typeof a[0]==="object"){n={};for(c in a[0]){n[c]=a[0][c]}r=a.slice(1)}else{i.string(a[0],"first argument to VError, SError, or WError "+"constructor must be a string, object, or Error");n={};r=a}i.object(n);if(!n.strict&&!e.strict){r=r.map(function(e){return e===null?"null":e===undefined?"undefined":e})}if(r.length===0){s=""}else{s=t.apply(null,r)}return{options:n,shortmessage:s}}function VError(){var e,a,n,r,s,t,c;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof VError)){a=Object.create(VError.prototype);VError.apply(a,arguments);return a}n=parseConstructorArguments({argv:e,strict:false});if(n.options.name){i.string(n.options.name,'error\'s "name" must be a string');this.name=n.options.name}this.jse_shortmsg=n.shortmessage;t=n.shortmessage;r=n.options.cause;if(r){i.ok(o(r),"cause is not an Error");this.jse_cause=r;if(!n.options.skipCauseMessage){t+=": "+r.message}}this.jse_info={};if(n.options.info){for(c in n.options.info){this.jse_info[c]=n.options.info[c]}}this.message=t;Error.call(this,t);if(Error.captureStackTrace){s=n.options.constructorOpt||this.constructor;Error.captureStackTrace(this,s)}return this}r.inherits(VError,Error);VError.prototype.name="VError";VError.prototype.toString=function ve_toString(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)e+=": "+this.message;return e};VError.prototype.cause=function ve_cause(){var e=VError.cause(this);return e===null?undefined:e};VError.cause=function(e){i.ok(o(e),"err must be an Error");return o(e.jse_cause)?e.jse_cause:null};VError.info=function(e){var a,n,r;i.ok(o(e),"err must be an Error");n=VError.cause(e);if(n!==null){a=VError.info(n)}else{a={}}if(typeof e.jse_info=="object"&&e.jse_info!==null){for(r in e.jse_info){a[r]=e.jse_info[r]}}return a};VError.findCauseByName=function(e,a){var n;i.ok(o(e),"err must be an Error");i.string(a,"name");i.ok(a.length>0,"name cannot be empty");for(n=e;n!==null;n=VError.cause(n)){i.ok(o(n));if(n.name==a){return n}}return null};VError.hasCauseWithName=function(e,a){return VError.findCauseByName(e,a)!==null};VError.fullStack=function(e){i.ok(o(e),"err must be an Error");var a=VError.cause(e);if(a){return e.stack+"\ncaused by: "+VError.fullStack(a)}return e.stack};VError.errorFromList=function(e){i.arrayOfObject(e,"errors");if(e.length===0){return null}e.forEach(function(e){i.ok(o(e))});if(e.length==1){return e[0]}return new MultiError(e)};VError.errorForEach=function(e,a){i.ok(o(e),"err must be an Error");i.func(a,"func");if(e instanceof MultiError){e.errors().forEach(function iterError(e){a(e)})}else{a(e)}};function SError(){var e,a,n,i;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof SError)){a=Object.create(SError.prototype);SError.apply(a,arguments);return a}n=parseConstructorArguments({argv:e,strict:true});i=n.options;VError.call(this,i,"%s",n.shortmessage);return this}r.inherits(SError,VError);function MultiError(e){i.array(e,"list of errors");i.ok(e.length>0,"must be at least one error");this.ase_errors=e;VError.call(this,{cause:e[0]},"first of %d error%s",e.length,e.length==1?"":"s")}r.inherits(MultiError,VError);MultiError.prototype.name="MultiError";MultiError.prototype.errors=function me_errors(){return this.ase_errors.slice(0)};function WError(){var e,a,n,i;e=Array.prototype.slice.call(arguments,0);if(!(this instanceof WError)){a=Object.create(WError.prototype);WError.apply(a,e);return a}n=parseConstructorArguments({argv:e,strict:false});i=n.options;i["skipCauseMessage"]=true;VError.call(this,i,"%s",n.shortmessage);return this}r.inherits(WError,VError);WError.prototype.name="WError";WError.prototype.toString=function we_toString(){var e=this.hasOwnProperty("name")&&this.name||this.constructor.name||this.constructor.prototype.name;if(this.message)e+=": "+this.message;if(this.jse_cause&&this.jse_cause.message)e+="; caused by "+this.jse_cause.toString();return e};WError.prototype.cause=function we_cause(e){if(o(e))this.jse_cause=e;return this.jse_cause}},832:function(e){function HARError(e){var a="validation failed";this.name="HARError";this.message=a;this.errors=e;if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,this.constructor)}else{this.stack=new Error(a).stack}}HARError.prototype=Error.prototype;e.exports=HARError},834:function(e,a,n){var i=n(669);var r=n(413).Stream;var s=n(273);e.exports=CombinedStream;function CombinedStream(){this.writable=false;this.readable=true;this.dataSize=0;this.maxDataSize=2*1024*1024;this.pauseStreams=true;this._released=false;this._streams=[];this._currentStream=null;this._insideLoop=false;this._pendingNext=false}i.inherits(CombinedStream,r);CombinedStream.create=function(e){var a=new this;e=e||{};for(var n in e){a[n]=e[n]}return a};CombinedStream.isStreamLike=function(e){return typeof e!=="function"&&typeof e!=="string"&&typeof e!=="boolean"&&typeof e!=="number"&&!Buffer.isBuffer(e)};CombinedStream.prototype.append=function(e){var a=CombinedStream.isStreamLike(e);if(a){if(!(e instanceof s)){var n=s.create(e,{maxDataSize:Infinity,pauseStream:this.pauseStreams});e.on("data",this._checkDataSize.bind(this));e=n}this._handleErrors(e);if(this.pauseStreams){e.pause()}}this._streams.push(e);return this};CombinedStream.prototype.pipe=function(e,a){r.prototype.pipe.call(this,e,a);this.resume();return e};CombinedStream.prototype._getNext=function(){this._currentStream=null;if(this._insideLoop){this._pendingNext=true;return}this._insideLoop=true;try{do{this._pendingNext=false;this._realGetNext()}while(this._pendingNext)}finally{this._insideLoop=false}};CombinedStream.prototype._realGetNext=function(){var e=this._streams.shift();if(typeof e=="undefined"){this.end();return}if(typeof e!=="function"){this._pipeNext(e);return}var a=e;a(function(e){var a=CombinedStream.isStreamLike(e);if(a){e.on("data",this._checkDataSize.bind(this));this._handleErrors(e)}this._pipeNext(e)}.bind(this))};CombinedStream.prototype._pipeNext=function(e){this._currentStream=e;var a=CombinedStream.isStreamLike(e);if(a){e.on("end",this._getNext.bind(this));e.pipe(this,{end:false});return}var n=e;this.write(n);this._getNext()};CombinedStream.prototype._handleErrors=function(e){var a=this;e.on("error",function(e){a._emitError(e)})};CombinedStream.prototype.write=function(e){this.emit("data",e)};CombinedStream.prototype.pause=function(){if(!this.pauseStreams){return}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.pause=="function")this._currentStream.pause();this.emit("pause")};CombinedStream.prototype.resume=function(){if(!this._released){this._released=true;this.writable=true;this._getNext()}if(this.pauseStreams&&this._currentStream&&typeof this._currentStream.resume=="function")this._currentStream.resume();this.emit("resume")};CombinedStream.prototype.end=function(){this._reset();this.emit("end")};CombinedStream.prototype.destroy=function(){this._reset();this.emit("close")};CombinedStream.prototype._reset=function(){this.writable=false;this._streams=[];this._currentStream=null};CombinedStream.prototype._checkDataSize=function(){this._updateDataSize();if(this.dataSize<=this.maxDataSize){return}var e="DelayedStream#maxDataSize of "+this.maxDataSize+" bytes exceeded.";this._emitError(new Error(e))};CombinedStream.prototype._updateDataSize=function(){this.dataSize=0;var e=this;this._streams.forEach(function(a){if(!a.dataSize){return}e.dataSize+=a.dataSize});if(this._currentStream&&this._currentStream.dataSize){this.dataSize+=this._currentStream.dataSize}};CombinedStream.prototype._emitError=function(e){this._reset();this.emit("error",e)}},835:function(e){e.exports=require("url")},838:function(e){e.exports=function(e){return new LruCache(e)};function LruCache(e){this.capacity=e|0;this.map=Object.create(null);this.list=new DoublyLinkedList}LruCache.prototype.get=function(e){var a=this.map[e];if(a==null)return undefined;this.used(a);return a.val};LruCache.prototype.set=function(e,a){var n=this.map[e];if(n!=null){n.val=a}else{if(!this.capacity)this.prune();if(!this.capacity)return false;n=new DoublyLinkedNode(e,a);this.map[e]=n;this.capacity--}this.used(n);return true};LruCache.prototype.used=function(e){this.list.moveToFront(e)};LruCache.prototype.prune=function(){var e=this.list.pop();if(e!=null){delete this.map[e.key];this.capacity++}};function DoublyLinkedList(){this.firstNode=null;this.lastNode=null}DoublyLinkedList.prototype.moveToFront=function(e){if(this.firstNode==e)return;this.remove(e);if(this.firstNode==null){this.firstNode=e;this.lastNode=e;e.prev=null;e.next=null}else{e.prev=null;e.next=this.firstNode;e.next.prev=e;this.firstNode=e}};DoublyLinkedList.prototype.pop=function(){var e=this.lastNode;if(e!=null){this.remove(e)}return e};DoublyLinkedList.prototype.remove=function(e){if(this.firstNode==e){this.firstNode=e.next}else if(e.prev!=null){e.prev.next=e.next}if(this.lastNode==e){this.lastNode=e.prev}else if(e.next!=null){e.next.prev=e.prev}};function DoublyLinkedNode(e,a){this.key=e;this.val=a;this.prev=null;this.next=null}},857:function(e,a,n){"use strict";e.exports={$ref:n(177),allOf:n(228),anyOf:n(306),$comment:n(650),const:n(157),contains:n(557),dependencies:n(210),enum:n(670),format:n(255),if:n(621),items:n(338),maximum:n(520),minimum:n(520),maxItems:n(825),minItems:n(825),maxLength:n(83),minLength:n(83),maxProperties:n(181),minProperties:n(181),multipleOf:n(539),not:n(393),oneOf:n(225),pattern:n(250),properties:n(158),propertyNames:n(465),required:n(15),uniqueItems:n(547),validate:n(434)}},858:function(e){e.exports={$schema:"http://json-schema.org/draft-07/schema#",$id:"http://json-schema.org/draft-07/schema#",title:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},nonNegativeInteger:{type:"integer",minimum:0},nonNegativeIntegerDefault0:{allOf:[{$ref:"#/definitions/nonNegativeInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},uniqueItems:true,default:[]}},type:["object","boolean"],properties:{$id:{type:"string",format:"uri-reference"},$schema:{type:"string",format:"uri"},$ref:{type:"string",format:"uri-reference"},$comment:{type:"string"},title:{type:"string"},description:{type:"string"},default:true,readOnly:{type:"boolean",default:false},examples:{type:"array",items:true},multipleOf:{type:"number",exclusiveMinimum:0},maximum:{type:"number"},exclusiveMaximum:{type:"number"},minimum:{type:"number"},exclusiveMinimum:{type:"number"},maxLength:{$ref:"#/definitions/nonNegativeInteger"},minLength:{$ref:"#/definitions/nonNegativeIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{$ref:"#"},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:true},maxItems:{$ref:"#/definitions/nonNegativeInteger"},minItems:{$ref:"#/definitions/nonNegativeIntegerDefault0"},uniqueItems:{type:"boolean",default:false},contains:{$ref:"#"},maxProperties:{$ref:"#/definitions/nonNegativeInteger"},minProperties:{$ref:"#/definitions/nonNegativeIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{$ref:"#"},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},propertyNames:{format:"regex"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},propertyNames:{$ref:"#"},const:true,enum:{type:"array",items:true,minItems:1,uniqueItems:true},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:true}]},format:{type:"string"},contentMediaType:{type:"string"},contentEncoding:{type:"string"},if:{$ref:"#"},then:{$ref:"#"},else:{$ref:"#"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},default:true}},863:function(e,a,n){var i=n(347).BigInteger;var r=n(117).ECCurveFp;function X9ECParameters(e,a,n,i){this.curve=e;this.g=a;this.n=n;this.h=i}function x9getCurve(){return this.curve}function x9getG(){return this.g}function x9getN(){return this.n}function x9getH(){return this.h}X9ECParameters.prototype.getCurve=x9getCurve;X9ECParameters.prototype.getG=x9getG;X9ECParameters.prototype.getN=x9getN;X9ECParameters.prototype.getH=x9getH;function fromHex(e){return new i(e,16)}function secp128r1(){var e=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF");var a=fromHex("FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC");var n=fromHex("E87579C11079F43DD824993C2CEE5ED3");var s=fromHex("FFFFFFFE0000000075A30D1B9038A115");var o=i.ONE;var t=new r(e,a,n);var c=t.decodePointHex("04"+"161FF7528B899B2D0C28607CA52C5B86"+"CF5AC8395BAFEB13C02DA292DDED7A83");return new X9ECParameters(t,c,s,o)}function secp160k1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73");var a=i.ZERO;var n=fromHex("7");var s=fromHex("0100000000000000000001B8FA16DFAB9ACA16B6B3");var o=i.ONE;var t=new r(e,a,n);var c=t.decodePointHex("04"+"3B4C382CE37AA192A4019E763036F4F5DD4D7EBB"+"938CF935318FDCED6BC28286531733C3F03C4FEE");return new X9ECParameters(t,c,s,o)}function secp160r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFF");var a=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFC");var n=fromHex("1C97BEFC54BD7A8B65ACF89F81D4D4ADC565FA45");var s=fromHex("0100000000000000000001F4C8F927AED3CA752257");var o=i.ONE;var t=new r(e,a,n);var c=t.decodePointHex("04"+"4A96B5688EF573284664698968C38BB913CBFC82"+"23A628553168947D59DCC912042351377AC5FB32");return new X9ECParameters(t,c,s,o)}function secp192k1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37");var a=i.ZERO;var n=fromHex("3");var s=fromHex("FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D");var o=i.ONE;var t=new r(e,a,n);var c=t.decodePointHex("04"+"DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D"+"9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D");return new X9ECParameters(t,c,s,o)}function secp192r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF");var a=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC");var n=fromHex("64210519E59C80E70FA7E9AB72243049FEB8DEECC146B9B1");var s=fromHex("FFFFFFFFFFFFFFFFFFFFFFFF99DEF836146BC9B1B4D22831");var o=i.ONE;var t=new r(e,a,n);var c=t.decodePointHex("04"+"188DA80EB03090F67CBF20EB43A18800F4FF0AFD82FF1012"+"07192B95FFC8DA78631011ED6B24CDD573F977A11E794811");return new X9ECParameters(t,c,s,o)}function secp224r1(){var e=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001");var a=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE");var n=fromHex("B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4");var s=fromHex("FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D");var o=i.ONE;var t=new r(e,a,n);var c=t.decodePointHex("04"+"B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21"+"BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34");return new X9ECParameters(t,c,s,o)}function secp256r1(){var e=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF");var a=fromHex("FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC");var n=fromHex("5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B");var s=fromHex("FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551");var o=i.ONE;var t=new r(e,a,n);var c=t.decodePointHex("04"+"6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296"+"4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5");return new X9ECParameters(t,c,s,o)}function getSECCurveByName(e){if(e=="secp128r1")return secp128r1();if(e=="secp160k1")return secp160k1();if(e=="secp160r1")return secp160r1();if(e=="secp192k1")return secp192k1();if(e=="secp192r1")return secp192r1();if(e=="secp224r1")return secp224r1();if(e=="secp256r1")return secp256r1();return null}e.exports={secp128r1:secp128r1,secp160k1:secp160k1,secp160r1:secp160r1,secp192k1:secp192k1,secp192r1:secp192r1,secp224r1:secp224r1,secp256r1:secp256r1}},866:function(e,a,n){e.exports=Key;var i=n(521);var r=n(556);var s=n(417);var o=n(299);var t=n(186);var c=n(96).DiffieHellman;var p=n(295);var l=n(372);var u=n(381);var f;try{f=n(134)}catch(e){}var m=p.InvalidAlgorithmError;var d=p.KeyParseError;var h={};h["auto"]=n(364);h["pem"]=n(925);h["pkcs1"]=n(163);h["pkcs8"]=n(945);h["rfc4253"]=n(732);h["ssh"]=n(802);h["ssh-private"]=n(994);h["openssh"]=h["ssh-private"];h["dnssec"]=n(315);h["putty"]=n(190);h["ppk"]=h["putty"];function Key(e){i.object(e,"options");i.arrayOfObject(e.parts,"options.parts");i.string(e.type,"options.type");i.optionalString(e.comment,"options.comment");var a=r.info[e.type];if(typeof a!=="object")throw new m(e.type);var n={};for(var s=0;s1024)e="sha256";if(this.type==="ed25519")e="sha512";if(this.type==="ecdsa"){if(this.size<=256)e="sha256";else if(this.size<=384)e="sha384";else e="sha512"}return e};Key.prototype.createVerify=function(e){if(e===undefined)e=this.defaultHashAlgorithm();i.string(e,"hash algorithm");if(this.type==="ed25519"&&f!==undefined)return new f.Verifier(this,e);if(this.type==="curve25519")throw new Error("Curve25519 keys are not suitable for "+"signing or verification");var a,n,r;try{n=e.toUpperCase();a=s.createVerify(n)}catch(e){r=e}if(a===undefined||r instanceof Error&&r.message.match(/Unknown message digest/)){n="RSA-";n+=e.toUpperCase();a=s.createVerify(n)}i.ok(a,"failed to create verifier");var o=a.verify.bind(a);var c=this.toBuffer("pkcs8");var p=this.curve;var l=this;a.verify=function(a,n){if(t.isSignature(a,[2,0])){if(a.type!==l.type)return false;if(a.hashAlgorithm&&a.hashAlgorithm!==e)return false;if(a.curve&&l.type==="ecdsa"&&a.curve!==p)return false;return o(c,a.toBuffer("asn1"))}else if(typeof a==="string"||Buffer.isBuffer(a)){return o(c,a,n)}else if(t.isSignature(a,[1,0])){throw new Error("signature was created by too old "+"a version of sshpk and cannot be verified")}else{throw new TypeError("signature must be a string, "+"Buffer, or Signature object")}};return a};Key.prototype.createDiffieHellman=function(){if(this.type==="rsa")throw new Error("RSA keys do not support Diffie-Hellman");return new c(this)};Key.prototype.createDH=Key.prototype.createDiffieHellman;Key.parse=function(e,a,n){if(typeof e!=="string")i.buffer(e,"data");if(a===undefined)a="auto";i.string(a,"format");if(typeof n==="string")n={filename:n};i.optionalObject(n,"options");if(n===undefined)n={};i.optionalString(n.filename,"options.filename");if(n.filename===undefined)n.filename="(unnamed)";i.object(h[a],"formats[format]");try{var r=h[a].read(e,n);if(r instanceof u)r=r.toPublic();if(!r.comment)r.comment=n.filename;return r}catch(e){if(e.name==="KeyEncryptedError")throw e;throw new d(n.filename,a,e)}};Key.isKey=function(e,a){return l.isCompatible(e,Key,a)};Key.prototype._sshpkApiVersion=[1,7];Key._oldVersionDetect=function(e){i.func(e.toBuffer);i.func(e.fingerprint);if(e.createDH)return[1,4];if(e.defaultHashAlgorithm)return[1,3];if(e.formats["auto"])return[1,2];if(e.formats["pkcs1"])return[1,1];return[1,0]}},872:function(e){e.exports={$id:"page.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",optional:true,required:["startedDateTime","id","title","pageTimings"],properties:{startedDateTime:{type:"string",format:"date-time",pattern:"^(\\d{4})(-)?(\\d\\d)(-)?(\\d\\d)(T)?(\\d\\d)(:)?(\\d\\d)(:)?(\\d\\d)(\\.\\d+)?(Z|([+-])(\\d\\d)(:)?(\\d\\d))"},id:{type:"string",unique:true},title:{type:"string"},pageTimings:{$ref:"pageTimings.json#"},comment:{type:"string"}}}},873:function(e,a){"use strict";function pathMatch(e,a){if(a===e){return true}var n=e.indexOf(a);if(n===0){if(a.substr(-1)==="/"){return true}if(e.substr(a.length,1)==="/"){return true}}return false}a.pathMatch=pathMatch},885:function(e,a,n){"use strict";var i=n(895);var r=i.Cookie;var s=i.CookieJar;a.parse=function(e){if(e&&e.uri){e=e.uri}if(typeof e!=="string"){throw new Error("The cookie function only accepts STRING as param")}return r.parse(e,{loose:true})};function RequestJar(e){var a=this;a._jar=new s(e,{looseMode:true})}RequestJar.prototype.setCookie=function(e,a,n){var i=this;return i._jar.setCookieSync(e,a,n||{})};RequestJar.prototype.getCookieString=function(e){var a=this;return a._jar.getCookieStringSync(e)};RequestJar.prototype.getCookies=function(e){var a=this;return a._jar.getCookiesSync(e)};a.jar=function(e){return new RequestJar(e)}},890:function(e,a,n){"use strict";var i=n(8);e.exports=SchemaObject;function SchemaObject(e){i.copy(e,this)}},895:function(e,a,n){"use strict";var i=n(631);var r=n(835).parse;var s=n(669);var o=n(183);var t=n(930).Store;var c=n(998).MemoryCookieStore;var p=n(873).pathMatch;var l=n(612);var u;try{u=n(213)}catch(e){console.warn("tough-cookie: can't load punycode; won't use punycode for domain normalization")}var f=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/;var m=/[\x00-\x1F]/;var d=["\n","\r","\0"];var h=/[\x20-\x3A\x3C-\x7E]+/;var v=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/;var g={jan:0,feb:1,mar:2,apr:3,may:4,jun:5,jul:6,aug:7,sep:8,oct:9,nov:10,dec:11};var b=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];var y=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];var k=2147483647e3;var x=0;function parseDigits(e,a,n,i){var r=0;while(r=58){break}r++}if(rn){return null}if(!i&&r!=e.length){return null}return parseInt(e.substr(0,r),10)}function parseTime(e){var a=e.split(":");var n=[0,0,0];if(a.length!==3){return null}for(var i=0;i<3;i++){var r=i==2;var s=parseDigits(a[i],1,2,r);if(s===null){return null}n[i]=s}return n}function parseMonth(e){e=String(e).substr(0,3).toLowerCase();var a=g[e];return a>=0?a:null}function parseDate(e){if(!e){return}var a=e.split(v);if(!a){return}var n=null;var i=null;var r=null;var s=null;var o=null;var t=null;for(var c=0;c=70&&t<=99){t+=1900}else if(t>=0&&t<=69){t+=2e3}}}}if(s===null||o===null||t===null||r===null||s<1||s>31||t<1601||n>23||i>59||r>59){return}return new Date(Date.UTC(t,o,s,n,i,r))}function formatDate(e){var a=e.getUTCDate();a=a>=10?a:"0"+a;var n=e.getUTCHours();n=n>=10?n:"0"+n;var i=e.getUTCMinutes();i=i>=10?i:"0"+i;var r=e.getUTCSeconds();r=r>=10?r:"0"+r;return y[e.getUTCDay()]+", "+a+" "+b[e.getUTCMonth()]+" "+e.getUTCFullYear()+" "+n+":"+i+":"+r+" GMT"}function canonicalDomain(e){if(e==null){return null}e=e.trim().replace(/^\./,"");if(u&&/[^\u0001-\u007f]/.test(e)){e=u.toASCII(e)}return e.toLowerCase()}function domainMatch(e,a,n){if(e==null||a==null){return null}if(n!==false){e=canonicalDomain(e);a=canonicalDomain(a)}if(e==a){return true}if(i.isIP(e)){return false}var r=e.indexOf(a);if(r<=0){return false}if(e.length!==a.length+r){return false}if(e.substr(r-1,1)!=="."){return false}return true}function defaultPath(e){if(!e||e.substr(0,1)!=="/"){return"/"}if(e==="/"){return e}var a=e.lastIndexOf("/");if(a===0){return"/"}return e.slice(0,a)}function trimTerminator(e){for(var a=0;a1){var n=e.lastIndexOf("/");if(n===0){break}e=e.substr(0,n);a.push(e)}a.push("/");return a}function getCookieContext(e){if(e instanceof Object){return e}try{e=decodeURI(e)}catch(e){}return r(e)}function Cookie(e){e=e||{};Object.keys(e).forEach(function(a){if(Cookie.prototype.hasOwnProperty(a)&&Cookie.prototype[a]!==e[a]&&a.substr(0,1)!=="_"){this[a]=e[a]}},this);this.creation=this.creation||new Date;Object.defineProperty(this,"creationIndex",{configurable:false,enumerable:false,writable:true,value:++Cookie.cookiesCreated})}Cookie.cookiesCreated=0;Cookie.parse=parse;Cookie.fromJSON=fromJSON;Cookie.prototype.key="";Cookie.prototype.value="";Cookie.prototype.expires="Infinity";Cookie.prototype.maxAge=null;Cookie.prototype.domain=null;Cookie.prototype.path=null;Cookie.prototype.secure=false;Cookie.prototype.httpOnly=false;Cookie.prototype.extensions=null;Cookie.prototype.hostOnly=null;Cookie.prototype.pathIsDefault=null;Cookie.prototype.creation=null;Cookie.prototype.lastAccessed=null;Object.defineProperty(Cookie.prototype,"creationIndex",{configurable:true,enumerable:false,writable:true,value:0});Cookie.serializableProperties=Object.keys(Cookie.prototype).filter(function(e){return!(Cookie.prototype[e]instanceof Function||e==="creationIndex"||e.substr(0,1)==="_")});Cookie.prototype.inspect=function inspect(){var e=Date.now();return'Cookie="'+this.toString()+"; hostOnly="+(this.hostOnly!=null?this.hostOnly:"?")+"; aAge="+(this.lastAccessed?e-this.lastAccessed.getTime()+"ms":"?")+"; cAge="+(this.creation?e-this.creation.getTime()+"ms":"?")+'"'};if(s.inspect.custom){Cookie.prototype[s.inspect.custom]=Cookie.prototype.inspect}Cookie.prototype.toJSON=function(){var e={};var a=Cookie.serializableProperties;for(var n=0;n0){x=p[--w].match(/[-]+[ ]*END ([A-Z0-9][A-Za-z0-9]+ )?(PUBLIC|PRIVATE) KEY[ ]*[-]+/)}i.ok(x,"invalid PEM footer");i.equal(l[2],x[2]);var j=l[2].toLowerCase();var F;if(l[1]){i.equal(l[1],x[1],"PEM header and footer mismatch");F=l[1].trim()}p=p.slice(y,w+1);var E={};while(true){p=p.slice(1);l=p[0].match(/^([A-Za-z0-9-]+): (.+)$/);if(!l)break;E[l[1].toLowerCase()]=l[2]}p=p.slice(0,-1).join("");e=o.from(p,"base64");var z,A,C;if(E["proc-type"]){var S=E["proc-type"].split(",");if(S[0]==="4"&&S[1]==="ENCRYPTED"){if(typeof a.passphrase==="string"){a.passphrase=o.from(a.passphrase,"utf-8")}if(!o.isBuffer(a.passphrase)){throw new h.KeyEncryptedError(a.filename,"PEM")}else{S=E["dek-info"].split(",");i.ok(S.length===2);z=S[0].toLowerCase();C=o.from(S[1],"hex");A=c.opensslKeyDeriv(z,C,a.passphrase,1).key}}}if(F&&F.toLowerCase()==="encrypted"){var B=new r.BerReader(e);var q;B.readSequence();B.readSequence();q=B.offset+B.length;var I=B.readOID();if(I!==v){throw new Error("Unsupported PEM/PKCS8 encryption "+"scheme: "+I)}B.readSequence();B.readSequence();var T=B.offset+B.length;var O=B.readOID();if(O!==g)throw new Error("Unsupported PBES2 KDF: "+O);B.readSequence();var R=B.readString(r.Ber.OctetString,true);var D=B.readInt();var U="sha1";if(B.offsetm.length)b=m.length;v+=h.write(m.slice(g,b),v);h[v++]=10;g=b}v+=h.write("-----END "+t+"-----\n",v);return h.slice(0,v)}},926:function(e){e.exports={"application/1d-interleaved-parityfec":{source:"iana"},"application/3gpdash-qoe-report+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/3gpp-ims+xml":{source:"iana",compressible:true},"application/a2l":{source:"iana"},"application/activemessage":{source:"iana"},"application/activity+json":{source:"iana",compressible:true},"application/alto-costmap+json":{source:"iana",compressible:true},"application/alto-costmapfilter+json":{source:"iana",compressible:true},"application/alto-directory+json":{source:"iana",compressible:true},"application/alto-endpointcost+json":{source:"iana",compressible:true},"application/alto-endpointcostparams+json":{source:"iana",compressible:true},"application/alto-endpointprop+json":{source:"iana",compressible:true},"application/alto-endpointpropparams+json":{source:"iana",compressible:true},"application/alto-error+json":{source:"iana",compressible:true},"application/alto-networkmap+json":{source:"iana",compressible:true},"application/alto-networkmapfilter+json":{source:"iana",compressible:true},"application/alto-updatestreamcontrol+json":{source:"iana",compressible:true},"application/alto-updatestreamparams+json":{source:"iana",compressible:true},"application/aml":{source:"iana"},"application/andrew-inset":{source:"iana",extensions:["ez"]},"application/applefile":{source:"iana"},"application/applixware":{source:"apache",extensions:["aw"]},"application/atf":{source:"iana"},"application/atfx":{source:"iana"},"application/atom+xml":{source:"iana",compressible:true,extensions:["atom"]},"application/atomcat+xml":{source:"iana",compressible:true,extensions:["atomcat"]},"application/atomdeleted+xml":{source:"iana",compressible:true,extensions:["atomdeleted"]},"application/atomicmail":{source:"iana"},"application/atomsvc+xml":{source:"iana",compressible:true,extensions:["atomsvc"]},"application/atsc-dwd+xml":{source:"iana",compressible:true,extensions:["dwd"]},"application/atsc-dynamic-event-message":{source:"iana"},"application/atsc-held+xml":{source:"iana",compressible:true,extensions:["held"]},"application/atsc-rdt+json":{source:"iana",compressible:true},"application/atsc-rsat+xml":{source:"iana",compressible:true,extensions:["rsat"]},"application/atxml":{source:"iana"},"application/auth-policy+xml":{source:"iana",compressible:true},"application/bacnet-xdd+zip":{source:"iana",compressible:false},"application/batch-smtp":{source:"iana"},"application/bdoc":{compressible:false,extensions:["bdoc"]},"application/beep+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/calendar+json":{source:"iana",compressible:true},"application/calendar+xml":{source:"iana",compressible:true,extensions:["xcs"]},"application/call-completion":{source:"iana"},"application/cals-1840":{source:"iana"},"application/cap+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/cbor":{source:"iana"},"application/cbor-seq":{source:"iana"},"application/cccex":{source:"iana"},"application/ccmp+xml":{source:"iana",compressible:true},"application/ccxml+xml":{source:"iana",compressible:true,extensions:["ccxml"]},"application/cdfx+xml":{source:"iana",compressible:true,extensions:["cdfx"]},"application/cdmi-capability":{source:"iana",extensions:["cdmia"]},"application/cdmi-container":{source:"iana",extensions:["cdmic"]},"application/cdmi-domain":{source:"iana",extensions:["cdmid"]},"application/cdmi-object":{source:"iana",extensions:["cdmio"]},"application/cdmi-queue":{source:"iana",extensions:["cdmiq"]},"application/cdni":{source:"iana"},"application/cea":{source:"iana"},"application/cea-2018+xml":{source:"iana",compressible:true},"application/cellml+xml":{source:"iana",compressible:true},"application/cfw":{source:"iana"},"application/clue+xml":{source:"iana",compressible:true},"application/clue_info+xml":{source:"iana",compressible:true},"application/cms":{source:"iana"},"application/cnrp+xml":{source:"iana",compressible:true},"application/coap-group+json":{source:"iana",compressible:true},"application/coap-payload":{source:"iana"},"application/commonground":{source:"iana"},"application/conference-info+xml":{source:"iana",compressible:true},"application/cose":{source:"iana"},"application/cose-key":{source:"iana"},"application/cose-key-set":{source:"iana"},"application/cpl+xml":{source:"iana",compressible:true},"application/csrattrs":{source:"iana"},"application/csta+xml":{source:"iana",compressible:true},"application/cstadata+xml":{source:"iana",compressible:true},"application/csvm+json":{source:"iana",compressible:true},"application/cu-seeme":{source:"apache",extensions:["cu"]},"application/cwt":{source:"iana"},"application/cybercash":{source:"iana"},"application/dart":{compressible:true},"application/dash+xml":{source:"iana",compressible:true,extensions:["mpd"]},"application/dashdelta":{source:"iana"},"application/davmount+xml":{source:"iana",compressible:true,extensions:["davmount"]},"application/dca-rft":{source:"iana"},"application/dcd":{source:"iana"},"application/dec-dx":{source:"iana"},"application/dialog-info+xml":{source:"iana",compressible:true},"application/dicom":{source:"iana"},"application/dicom+json":{source:"iana",compressible:true},"application/dicom+xml":{source:"iana",compressible:true},"application/dii":{source:"iana"},"application/dit":{source:"iana"},"application/dns":{source:"iana"},"application/dns+json":{source:"iana",compressible:true},"application/dns-message":{source:"iana"},"application/docbook+xml":{source:"apache",compressible:true,extensions:["dbk"]},"application/dots+cbor":{source:"iana"},"application/dskpp+xml":{source:"iana",compressible:true},"application/dssc+der":{source:"iana",extensions:["dssc"]},"application/dssc+xml":{source:"iana",compressible:true,extensions:["xdssc"]},"application/dvcs":{source:"iana"},"application/ecmascript":{source:"iana",compressible:true,extensions:["ecma","es"]},"application/edi-consent":{source:"iana"},"application/edi-x12":{source:"iana",compressible:false},"application/edifact":{source:"iana",compressible:false},"application/efi":{source:"iana"},"application/emergencycalldata.comment+xml":{source:"iana",compressible:true},"application/emergencycalldata.control+xml":{source:"iana",compressible:true},"application/emergencycalldata.deviceinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.ecall.msd":{source:"iana"},"application/emergencycalldata.providerinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.serviceinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.subscriberinfo+xml":{source:"iana",compressible:true},"application/emergencycalldata.veds+xml":{source:"iana",compressible:true},"application/emma+xml":{source:"iana",compressible:true,extensions:["emma"]},"application/emotionml+xml":{source:"iana",compressible:true,extensions:["emotionml"]},"application/encaprtp":{source:"iana"},"application/epp+xml":{source:"iana",compressible:true},"application/epub+zip":{source:"iana",compressible:false,extensions:["epub"]},"application/eshop":{source:"iana"},"application/exi":{source:"iana",extensions:["exi"]},"application/expect-ct-report+json":{source:"iana",compressible:true},"application/fastinfoset":{source:"iana"},"application/fastsoap":{source:"iana"},"application/fdt+xml":{source:"iana",compressible:true,extensions:["fdt"]},"application/fhir+json":{source:"iana",charset:"UTF-8",compressible:true},"application/fhir+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/fido.trusted-apps+json":{compressible:true},"application/fits":{source:"iana"},"application/flexfec":{source:"iana"},"application/font-sfnt":{source:"iana"},"application/font-tdpfr":{source:"iana",extensions:["pfr"]},"application/font-woff":{source:"iana",compressible:false},"application/framework-attributes+xml":{source:"iana",compressible:true},"application/geo+json":{source:"iana",compressible:true,extensions:["geojson"]},"application/geo+json-seq":{source:"iana"},"application/geopackage+sqlite3":{source:"iana"},"application/geoxacml+xml":{source:"iana",compressible:true},"application/gltf-buffer":{source:"iana"},"application/gml+xml":{source:"iana",compressible:true,extensions:["gml"]},"application/gpx+xml":{source:"apache",compressible:true,extensions:["gpx"]},"application/gxf":{source:"apache",extensions:["gxf"]},"application/gzip":{source:"iana",compressible:false,extensions:["gz"]},"application/h224":{source:"iana"},"application/held+xml":{source:"iana",compressible:true},"application/hjson":{extensions:["hjson"]},"application/http":{source:"iana"},"application/hyperstudio":{source:"iana",extensions:["stk"]},"application/ibe-key-request+xml":{source:"iana",compressible:true},"application/ibe-pkg-reply+xml":{source:"iana",compressible:true},"application/ibe-pp-data":{source:"iana"},"application/iges":{source:"iana"},"application/im-iscomposing+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/index":{source:"iana"},"application/index.cmd":{source:"iana"},"application/index.obj":{source:"iana"},"application/index.response":{source:"iana"},"application/index.vnd":{source:"iana"},"application/inkml+xml":{source:"iana",compressible:true,extensions:["ink","inkml"]},"application/iotp":{source:"iana"},"application/ipfix":{source:"iana",extensions:["ipfix"]},"application/ipp":{source:"iana"},"application/isup":{source:"iana"},"application/its+xml":{source:"iana",compressible:true,extensions:["its"]},"application/java-archive":{source:"apache",compressible:false,extensions:["jar","war","ear"]},"application/java-serialized-object":{source:"apache",compressible:false,extensions:["ser"]},"application/java-vm":{source:"apache",compressible:false,extensions:["class"]},"application/javascript":{source:"iana",charset:"UTF-8",compressible:true,extensions:["js","mjs"]},"application/jf2feed+json":{source:"iana",compressible:true},"application/jose":{source:"iana"},"application/jose+json":{source:"iana",compressible:true},"application/jrd+json":{source:"iana",compressible:true},"application/json":{source:"iana",charset:"UTF-8",compressible:true,extensions:["json","map"]},"application/json-patch+json":{source:"iana",compressible:true},"application/json-seq":{source:"iana"},"application/json5":{extensions:["json5"]},"application/jsonml+json":{source:"apache",compressible:true,extensions:["jsonml"]},"application/jwk+json":{source:"iana",compressible:true},"application/jwk-set+json":{source:"iana",compressible:true},"application/jwt":{source:"iana"},"application/kpml-request+xml":{source:"iana",compressible:true},"application/kpml-response+xml":{source:"iana",compressible:true},"application/ld+json":{source:"iana",compressible:true,extensions:["jsonld"]},"application/lgr+xml":{source:"iana",compressible:true,extensions:["lgr"]},"application/link-format":{source:"iana"},"application/load-control+xml":{source:"iana",compressible:true},"application/lost+xml":{source:"iana",compressible:true,extensions:["lostxml"]},"application/lostsync+xml":{source:"iana",compressible:true},"application/lpf+zip":{source:"iana",compressible:false},"application/lxf":{source:"iana"},"application/mac-binhex40":{source:"iana",extensions:["hqx"]},"application/mac-compactpro":{source:"apache",extensions:["cpt"]},"application/macwriteii":{source:"iana"},"application/mads+xml":{source:"iana",compressible:true,extensions:["mads"]},"application/manifest+json":{charset:"UTF-8",compressible:true,extensions:["webmanifest"]},"application/marc":{source:"iana",extensions:["mrc"]},"application/marcxml+xml":{source:"iana",compressible:true,extensions:["mrcx"]},"application/mathematica":{source:"iana",extensions:["ma","nb","mb"]},"application/mathml+xml":{source:"iana",compressible:true,extensions:["mathml"]},"application/mathml-content+xml":{source:"iana",compressible:true},"application/mathml-presentation+xml":{source:"iana",compressible:true},"application/mbms-associated-procedure-description+xml":{source:"iana",compressible:true},"application/mbms-deregister+xml":{source:"iana",compressible:true},"application/mbms-envelope+xml":{source:"iana",compressible:true},"application/mbms-msk+xml":{source:"iana",compressible:true},"application/mbms-msk-response+xml":{source:"iana",compressible:true},"application/mbms-protection-description+xml":{source:"iana",compressible:true},"application/mbms-reception-report+xml":{source:"iana",compressible:true},"application/mbms-register+xml":{source:"iana",compressible:true},"application/mbms-register-response+xml":{source:"iana",compressible:true},"application/mbms-schedule+xml":{source:"iana",compressible:true},"application/mbms-user-service-description+xml":{source:"iana",compressible:true},"application/mbox":{source:"iana",extensions:["mbox"]},"application/media-policy-dataset+xml":{source:"iana",compressible:true},"application/media_control+xml":{source:"iana",compressible:true},"application/mediaservercontrol+xml":{source:"iana",compressible:true,extensions:["mscml"]},"application/merge-patch+json":{source:"iana",compressible:true},"application/metalink+xml":{source:"apache",compressible:true,extensions:["metalink"]},"application/metalink4+xml":{source:"iana",compressible:true,extensions:["meta4"]},"application/mets+xml":{source:"iana",compressible:true,extensions:["mets"]},"application/mf4":{source:"iana"},"application/mikey":{source:"iana"},"application/mipc":{source:"iana"},"application/mmt-aei+xml":{source:"iana",compressible:true,extensions:["maei"]},"application/mmt-usd+xml":{source:"iana",compressible:true,extensions:["musd"]},"application/mods+xml":{source:"iana",compressible:true,extensions:["mods"]},"application/moss-keys":{source:"iana"},"application/moss-signature":{source:"iana"},"application/mosskey-data":{source:"iana"},"application/mosskey-request":{source:"iana"},"application/mp21":{source:"iana",extensions:["m21","mp21"]},"application/mp4":{source:"iana",extensions:["mp4s","m4p"]},"application/mpeg4-generic":{source:"iana"},"application/mpeg4-iod":{source:"iana"},"application/mpeg4-iod-xmt":{source:"iana"},"application/mrb-consumer+xml":{source:"iana",compressible:true,extensions:["xdf"]},"application/mrb-publish+xml":{source:"iana",compressible:true,extensions:["xdf"]},"application/msc-ivr+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/msc-mixer+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/msword":{source:"iana",compressible:false,extensions:["doc","dot"]},"application/mud+json":{source:"iana",compressible:true},"application/multipart-core":{source:"iana"},"application/mxf":{source:"iana",extensions:["mxf"]},"application/n-quads":{source:"iana",extensions:["nq"]},"application/n-triples":{source:"iana",extensions:["nt"]},"application/nasdata":{source:"iana"},"application/news-checkgroups":{source:"iana",charset:"US-ASCII"},"application/news-groupinfo":{source:"iana",charset:"US-ASCII"},"application/news-transmission":{source:"iana"},"application/nlsml+xml":{source:"iana",compressible:true},"application/node":{source:"iana",extensions:["cjs"]},"application/nss":{source:"iana"},"application/ocsp-request":{source:"iana"},"application/ocsp-response":{source:"iana"},"application/octet-stream":{source:"iana",compressible:false,extensions:["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"]},"application/oda":{source:"iana",extensions:["oda"]},"application/odm+xml":{source:"iana",compressible:true},"application/odx":{source:"iana"},"application/oebps-package+xml":{source:"iana",compressible:true,extensions:["opf"]},"application/ogg":{source:"iana",compressible:false,extensions:["ogx"]},"application/omdoc+xml":{source:"apache",compressible:true,extensions:["omdoc"]},"application/onenote":{source:"apache",extensions:["onetoc","onetoc2","onetmp","onepkg"]},"application/oscore":{source:"iana"},"application/oxps":{source:"iana",extensions:["oxps"]},"application/p2p-overlay+xml":{source:"iana",compressible:true,extensions:["relo"]},"application/parityfec":{source:"iana"},"application/passport":{source:"iana"},"application/patch-ops-error+xml":{source:"iana",compressible:true,extensions:["xer"]},"application/pdf":{source:"iana",compressible:false,extensions:["pdf"]},"application/pdx":{source:"iana"},"application/pem-certificate-chain":{source:"iana"},"application/pgp-encrypted":{source:"iana",compressible:false,extensions:["pgp"]},"application/pgp-keys":{source:"iana"},"application/pgp-signature":{source:"iana",extensions:["asc","sig"]},"application/pics-rules":{source:"apache",extensions:["prf"]},"application/pidf+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/pidf-diff+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/pkcs10":{source:"iana",extensions:["p10"]},"application/pkcs12":{source:"iana"},"application/pkcs7-mime":{source:"iana",extensions:["p7m","p7c"]},"application/pkcs7-signature":{source:"iana",extensions:["p7s"]},"application/pkcs8":{source:"iana",extensions:["p8"]},"application/pkcs8-encrypted":{source:"iana"},"application/pkix-attr-cert":{source:"iana",extensions:["ac"]},"application/pkix-cert":{source:"iana",extensions:["cer"]},"application/pkix-crl":{source:"iana",extensions:["crl"]},"application/pkix-pkipath":{source:"iana",extensions:["pkipath"]},"application/pkixcmp":{source:"iana",extensions:["pki"]},"application/pls+xml":{source:"iana",compressible:true,extensions:["pls"]},"application/poc-settings+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/postscript":{source:"iana",compressible:true,extensions:["ai","eps","ps"]},"application/ppsp-tracker+json":{source:"iana",compressible:true},"application/problem+json":{source:"iana",compressible:true},"application/problem+xml":{source:"iana",compressible:true},"application/provenance+xml":{source:"iana",compressible:true,extensions:["provx"]},"application/prs.alvestrand.titrax-sheet":{source:"iana"},"application/prs.cww":{source:"iana",extensions:["cww"]},"application/prs.hpub+zip":{source:"iana",compressible:false},"application/prs.nprend":{source:"iana"},"application/prs.plucker":{source:"iana"},"application/prs.rdf-xml-crypt":{source:"iana"},"application/prs.xsf+xml":{source:"iana",compressible:true},"application/pskc+xml":{source:"iana",compressible:true,extensions:["pskcxml"]},"application/pvd+json":{source:"iana",compressible:true},"application/qsig":{source:"iana"},"application/raml+yaml":{compressible:true,extensions:["raml"]},"application/raptorfec":{source:"iana"},"application/rdap+json":{source:"iana",compressible:true},"application/rdf+xml":{source:"iana",compressible:true,extensions:["rdf","owl"]},"application/reginfo+xml":{source:"iana",compressible:true,extensions:["rif"]},"application/relax-ng-compact-syntax":{source:"iana",extensions:["rnc"]},"application/remote-printing":{source:"iana"},"application/reputon+json":{source:"iana",compressible:true},"application/resource-lists+xml":{source:"iana",compressible:true,extensions:["rl"]},"application/resource-lists-diff+xml":{source:"iana",compressible:true,extensions:["rld"]},"application/rfc+xml":{source:"iana",compressible:true},"application/riscos":{source:"iana"},"application/rlmi+xml":{source:"iana",compressible:true},"application/rls-services+xml":{source:"iana",compressible:true,extensions:["rs"]},"application/route-apd+xml":{source:"iana",compressible:true,extensions:["rapd"]},"application/route-s-tsid+xml":{source:"iana",compressible:true,extensions:["sls"]},"application/route-usd+xml":{source:"iana",compressible:true,extensions:["rusd"]},"application/rpki-ghostbusters":{source:"iana",extensions:["gbr"]},"application/rpki-manifest":{source:"iana",extensions:["mft"]},"application/rpki-publication":{source:"iana"},"application/rpki-roa":{source:"iana",extensions:["roa"]},"application/rpki-updown":{source:"iana"},"application/rsd+xml":{source:"apache",compressible:true,extensions:["rsd"]},"application/rss+xml":{source:"apache",compressible:true,extensions:["rss"]},"application/rtf":{source:"iana",compressible:true,extensions:["rtf"]},"application/rtploopback":{source:"iana"},"application/rtx":{source:"iana"},"application/samlassertion+xml":{source:"iana",compressible:true},"application/samlmetadata+xml":{source:"iana",compressible:true},"application/sbe":{source:"iana"},"application/sbml+xml":{source:"iana",compressible:true,extensions:["sbml"]},"application/scaip+xml":{source:"iana",compressible:true},"application/scim+json":{source:"iana",compressible:true},"application/scvp-cv-request":{source:"iana",extensions:["scq"]},"application/scvp-cv-response":{source:"iana",extensions:["scs"]},"application/scvp-vp-request":{source:"iana",extensions:["spq"]},"application/scvp-vp-response":{source:"iana",extensions:["spp"]},"application/sdp":{source:"iana",extensions:["sdp"]},"application/secevent+jwt":{source:"iana"},"application/senml+cbor":{source:"iana"},"application/senml+json":{source:"iana",compressible:true},"application/senml+xml":{source:"iana",compressible:true,extensions:["senmlx"]},"application/senml-etch+cbor":{source:"iana"},"application/senml-etch+json":{source:"iana",compressible:true},"application/senml-exi":{source:"iana"},"application/sensml+cbor":{source:"iana"},"application/sensml+json":{source:"iana",compressible:true},"application/sensml+xml":{source:"iana",compressible:true,extensions:["sensmlx"]},"application/sensml-exi":{source:"iana"},"application/sep+xml":{source:"iana",compressible:true},"application/sep-exi":{source:"iana"},"application/session-info":{source:"iana"},"application/set-payment":{source:"iana"},"application/set-payment-initiation":{source:"iana",extensions:["setpay"]},"application/set-registration":{source:"iana"},"application/set-registration-initiation":{source:"iana",extensions:["setreg"]},"application/sgml":{source:"iana"},"application/sgml-open-catalog":{source:"iana"},"application/shf+xml":{source:"iana",compressible:true,extensions:["shf"]},"application/sieve":{source:"iana",extensions:["siv","sieve"]},"application/simple-filter+xml":{source:"iana",compressible:true},"application/simple-message-summary":{source:"iana"},"application/simplesymbolcontainer":{source:"iana"},"application/sipc":{source:"iana"},"application/slate":{source:"iana"},"application/smil":{source:"iana"},"application/smil+xml":{source:"iana",compressible:true,extensions:["smi","smil"]},"application/smpte336m":{source:"iana"},"application/soap+fastinfoset":{source:"iana"},"application/soap+xml":{source:"iana",compressible:true},"application/sparql-query":{source:"iana",extensions:["rq"]},"application/sparql-results+xml":{source:"iana",compressible:true,extensions:["srx"]},"application/spirits-event+xml":{source:"iana",compressible:true},"application/sql":{source:"iana"},"application/srgs":{source:"iana",extensions:["gram"]},"application/srgs+xml":{source:"iana",compressible:true,extensions:["grxml"]},"application/sru+xml":{source:"iana",compressible:true,extensions:["sru"]},"application/ssdl+xml":{source:"apache",compressible:true,extensions:["ssdl"]},"application/ssml+xml":{source:"iana",compressible:true,extensions:["ssml"]},"application/stix+json":{source:"iana",compressible:true},"application/swid+xml":{source:"iana",compressible:true,extensions:["swidtag"]},"application/tamp-apex-update":{source:"iana"},"application/tamp-apex-update-confirm":{source:"iana"},"application/tamp-community-update":{source:"iana"},"application/tamp-community-update-confirm":{source:"iana"},"application/tamp-error":{source:"iana"},"application/tamp-sequence-adjust":{source:"iana"},"application/tamp-sequence-adjust-confirm":{source:"iana"},"application/tamp-status-query":{source:"iana"},"application/tamp-status-response":{source:"iana"},"application/tamp-update":{source:"iana"},"application/tamp-update-confirm":{source:"iana"},"application/tar":{compressible:true},"application/taxii+json":{source:"iana",compressible:true},"application/td+json":{source:"iana",compressible:true},"application/tei+xml":{source:"iana",compressible:true,extensions:["tei","teicorpus"]},"application/tetra_isi":{source:"iana"},"application/thraud+xml":{source:"iana",compressible:true,extensions:["tfi"]},"application/timestamp-query":{source:"iana"},"application/timestamp-reply":{source:"iana"},"application/timestamped-data":{source:"iana",extensions:["tsd"]},"application/tlsrpt+gzip":{source:"iana"},"application/tlsrpt+json":{source:"iana",compressible:true},"application/tnauthlist":{source:"iana"},"application/toml":{compressible:true,extensions:["toml"]},"application/trickle-ice-sdpfrag":{source:"iana"},"application/trig":{source:"iana"},"application/ttml+xml":{source:"iana",compressible:true,extensions:["ttml"]},"application/tve-trigger":{source:"iana"},"application/tzif":{source:"iana"},"application/tzif-leap":{source:"iana"},"application/ulpfec":{source:"iana"},"application/urc-grpsheet+xml":{source:"iana",compressible:true},"application/urc-ressheet+xml":{source:"iana",compressible:true,extensions:["rsheet"]},"application/urc-targetdesc+xml":{source:"iana",compressible:true},"application/urc-uisocketdesc+xml":{source:"iana",compressible:true},"application/vcard+json":{source:"iana",compressible:true},"application/vcard+xml":{source:"iana",compressible:true},"application/vemmi":{source:"iana"},"application/vividence.scriptfile":{source:"apache"},"application/vnd.1000minds.decision-model+xml":{source:"iana",compressible:true,extensions:["1km"]},"application/vnd.3gpp-prose+xml":{source:"iana",compressible:true},"application/vnd.3gpp-prose-pc3ch+xml":{source:"iana",compressible:true},"application/vnd.3gpp-v2x-local-service-information":{source:"iana"},"application/vnd.3gpp.access-transfer-events+xml":{source:"iana",compressible:true},"application/vnd.3gpp.bsf+xml":{source:"iana",compressible:true},"application/vnd.3gpp.gmop+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mc-signalling-ear":{source:"iana"},"application/vnd.3gpp.mcdata-affiliation-command+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-payload":{source:"iana"},"application/vnd.3gpp.mcdata-service-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-signalling":{source:"iana"},"application/vnd.3gpp.mcdata-ue-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcdata-user-profile+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-affiliation-command+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-floor-request+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-location-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-mbms-usage-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-service-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-signed+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-ue-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-ue-init-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcptt-user-profile+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-affiliation-command+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-affiliation-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-location-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-mbms-usage-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-service-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-transmission-request+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-ue-config+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mcvideo-user-profile+xml":{source:"iana",compressible:true},"application/vnd.3gpp.mid-call+xml":{source:"iana",compressible:true},"application/vnd.3gpp.pic-bw-large":{source:"iana",extensions:["plb"]},"application/vnd.3gpp.pic-bw-small":{source:"iana",extensions:["psb"]},"application/vnd.3gpp.pic-bw-var":{source:"iana",extensions:["pvb"]},"application/vnd.3gpp.sms":{source:"iana"},"application/vnd.3gpp.sms+xml":{source:"iana",compressible:true},"application/vnd.3gpp.srvcc-ext+xml":{source:"iana",compressible:true},"application/vnd.3gpp.srvcc-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.state-and-event-info+xml":{source:"iana",compressible:true},"application/vnd.3gpp.ussd+xml":{source:"iana",compressible:true},"application/vnd.3gpp2.bcmcsinfo+xml":{source:"iana",compressible:true},"application/vnd.3gpp2.sms":{source:"iana"},"application/vnd.3gpp2.tcap":{source:"iana",extensions:["tcap"]},"application/vnd.3lightssoftware.imagescal":{source:"iana"},"application/vnd.3m.post-it-notes":{source:"iana",extensions:["pwn"]},"application/vnd.accpac.simply.aso":{source:"iana",extensions:["aso"]},"application/vnd.accpac.simply.imp":{source:"iana",extensions:["imp"]},"application/vnd.acucobol":{source:"iana",extensions:["acu"]},"application/vnd.acucorp":{source:"iana",extensions:["atc","acutc"]},"application/vnd.adobe.air-application-installer-package+zip":{source:"apache",compressible:false,extensions:["air"]},"application/vnd.adobe.flash.movie":{source:"iana"},"application/vnd.adobe.formscentral.fcdt":{source:"iana",extensions:["fcdt"]},"application/vnd.adobe.fxp":{source:"iana",extensions:["fxp","fxpl"]},"application/vnd.adobe.partial-upload":{source:"iana"},"application/vnd.adobe.xdp+xml":{source:"iana",compressible:true,extensions:["xdp"]},"application/vnd.adobe.xfdf":{source:"iana",extensions:["xfdf"]},"application/vnd.aether.imp":{source:"iana"},"application/vnd.afpc.afplinedata":{source:"iana"},"application/vnd.afpc.afplinedata-pagedef":{source:"iana"},"application/vnd.afpc.foca-charset":{source:"iana"},"application/vnd.afpc.foca-codedfont":{source:"iana"},"application/vnd.afpc.foca-codepage":{source:"iana"},"application/vnd.afpc.modca":{source:"iana"},"application/vnd.afpc.modca-formdef":{source:"iana"},"application/vnd.afpc.modca-mediummap":{source:"iana"},"application/vnd.afpc.modca-objectcontainer":{source:"iana"},"application/vnd.afpc.modca-overlay":{source:"iana"},"application/vnd.afpc.modca-pagesegment":{source:"iana"},"application/vnd.ah-barcode":{source:"iana"},"application/vnd.ahead.space":{source:"iana",extensions:["ahead"]},"application/vnd.airzip.filesecure.azf":{source:"iana",extensions:["azf"]},"application/vnd.airzip.filesecure.azs":{source:"iana",extensions:["azs"]},"application/vnd.amadeus+json":{source:"iana",compressible:true},"application/vnd.amazon.ebook":{source:"apache",extensions:["azw"]},"application/vnd.amazon.mobi8-ebook":{source:"iana"},"application/vnd.americandynamics.acc":{source:"iana",extensions:["acc"]},"application/vnd.amiga.ami":{source:"iana",extensions:["ami"]},"application/vnd.amundsen.maze+xml":{source:"iana",compressible:true},"application/vnd.android.ota":{source:"iana"},"application/vnd.android.package-archive":{source:"apache",compressible:false,extensions:["apk"]},"application/vnd.anki":{source:"iana"},"application/vnd.anser-web-certificate-issue-initiation":{source:"iana",extensions:["cii"]},"application/vnd.anser-web-funds-transfer-initiation":{source:"apache",extensions:["fti"]},"application/vnd.antix.game-component":{source:"iana",extensions:["atx"]},"application/vnd.apache.thrift.binary":{source:"iana"},"application/vnd.apache.thrift.compact":{source:"iana"},"application/vnd.apache.thrift.json":{source:"iana"},"application/vnd.api+json":{source:"iana",compressible:true},"application/vnd.aplextor.warrp+json":{source:"iana",compressible:true},"application/vnd.apothekende.reservation+json":{source:"iana",compressible:true},"application/vnd.apple.installer+xml":{source:"iana",compressible:true,extensions:["mpkg"]},"application/vnd.apple.keynote":{source:"iana",extensions:["keynote"]},"application/vnd.apple.mpegurl":{source:"iana",extensions:["m3u8"]},"application/vnd.apple.numbers":{source:"iana",extensions:["numbers"]},"application/vnd.apple.pages":{source:"iana",extensions:["pages"]},"application/vnd.apple.pkpass":{compressible:false,extensions:["pkpass"]},"application/vnd.arastra.swi":{source:"iana"},"application/vnd.aristanetworks.swi":{source:"iana",extensions:["swi"]},"application/vnd.artisan+json":{source:"iana",compressible:true},"application/vnd.artsquare":{source:"iana"},"application/vnd.astraea-software.iota":{source:"iana",extensions:["iota"]},"application/vnd.audiograph":{source:"iana",extensions:["aep"]},"application/vnd.autopackage":{source:"iana"},"application/vnd.avalon+json":{source:"iana",compressible:true},"application/vnd.avistar+xml":{source:"iana",compressible:true},"application/vnd.balsamiq.bmml+xml":{source:"iana",compressible:true,extensions:["bmml"]},"application/vnd.balsamiq.bmpr":{source:"iana"},"application/vnd.banana-accounting":{source:"iana"},"application/vnd.bbf.usp.error":{source:"iana"},"application/vnd.bbf.usp.msg":{source:"iana"},"application/vnd.bbf.usp.msg+json":{source:"iana",compressible:true},"application/vnd.bekitzur-stech+json":{source:"iana",compressible:true},"application/vnd.bint.med-content":{source:"iana"},"application/vnd.biopax.rdf+xml":{source:"iana",compressible:true},"application/vnd.blink-idb-value-wrapper":{source:"iana"},"application/vnd.blueice.multipass":{source:"iana",extensions:["mpm"]},"application/vnd.bluetooth.ep.oob":{source:"iana"},"application/vnd.bluetooth.le.oob":{source:"iana"},"application/vnd.bmi":{source:"iana",extensions:["bmi"]},"application/vnd.bpf":{source:"iana"},"application/vnd.bpf3":{source:"iana"},"application/vnd.businessobjects":{source:"iana",extensions:["rep"]},"application/vnd.byu.uapi+json":{source:"iana",compressible:true},"application/vnd.cab-jscript":{source:"iana"},"application/vnd.canon-cpdl":{source:"iana"},"application/vnd.canon-lips":{source:"iana"},"application/vnd.capasystems-pg+json":{source:"iana",compressible:true},"application/vnd.cendio.thinlinc.clientconf":{source:"iana"},"application/vnd.century-systems.tcp_stream":{source:"iana"},"application/vnd.chemdraw+xml":{source:"iana",compressible:true,extensions:["cdxml"]},"application/vnd.chess-pgn":{source:"iana"},"application/vnd.chipnuts.karaoke-mmd":{source:"iana",extensions:["mmd"]},"application/vnd.ciedi":{source:"iana"},"application/vnd.cinderella":{source:"iana",extensions:["cdy"]},"application/vnd.cirpack.isdn-ext":{source:"iana"},"application/vnd.citationstyles.style+xml":{source:"iana",compressible:true,extensions:["csl"]},"application/vnd.claymore":{source:"iana",extensions:["cla"]},"application/vnd.cloanto.rp9":{source:"iana",extensions:["rp9"]},"application/vnd.clonk.c4group":{source:"iana",extensions:["c4g","c4d","c4f","c4p","c4u"]},"application/vnd.cluetrust.cartomobile-config":{source:"iana",extensions:["c11amc"]},"application/vnd.cluetrust.cartomobile-config-pkg":{source:"iana",extensions:["c11amz"]},"application/vnd.coffeescript":{source:"iana"},"application/vnd.collabio.xodocuments.document":{source:"iana"},"application/vnd.collabio.xodocuments.document-template":{source:"iana"},"application/vnd.collabio.xodocuments.presentation":{source:"iana"},"application/vnd.collabio.xodocuments.presentation-template":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet":{source:"iana"},"application/vnd.collabio.xodocuments.spreadsheet-template":{source:"iana"},"application/vnd.collection+json":{source:"iana",compressible:true},"application/vnd.collection.doc+json":{source:"iana",compressible:true},"application/vnd.collection.next+json":{source:"iana",compressible:true},"application/vnd.comicbook+zip":{source:"iana",compressible:false},"application/vnd.comicbook-rar":{source:"iana"},"application/vnd.commerce-battelle":{source:"iana"},"application/vnd.commonspace":{source:"iana",extensions:["csp"]},"application/vnd.contact.cmsg":{source:"iana",extensions:["cdbcmsg"]},"application/vnd.coreos.ignition+json":{source:"iana",compressible:true},"application/vnd.cosmocaller":{source:"iana",extensions:["cmc"]},"application/vnd.crick.clicker":{source:"iana",extensions:["clkx"]},"application/vnd.crick.clicker.keyboard":{source:"iana",extensions:["clkk"]},"application/vnd.crick.clicker.palette":{source:"iana",extensions:["clkp"]},"application/vnd.crick.clicker.template":{source:"iana",extensions:["clkt"]},"application/vnd.crick.clicker.wordbank":{source:"iana",extensions:["clkw"]},"application/vnd.criticaltools.wbs+xml":{source:"iana",compressible:true,extensions:["wbs"]},"application/vnd.cryptii.pipe+json":{source:"iana",compressible:true},"application/vnd.crypto-shade-file":{source:"iana"},"application/vnd.ctc-posml":{source:"iana",extensions:["pml"]},"application/vnd.ctct.ws+xml":{source:"iana",compressible:true},"application/vnd.cups-pdf":{source:"iana"},"application/vnd.cups-postscript":{source:"iana"},"application/vnd.cups-ppd":{source:"iana",extensions:["ppd"]},"application/vnd.cups-raster":{source:"iana"},"application/vnd.cups-raw":{source:"iana"},"application/vnd.curl":{source:"iana"},"application/vnd.curl.car":{source:"apache",extensions:["car"]},"application/vnd.curl.pcurl":{source:"apache",extensions:["pcurl"]},"application/vnd.cyan.dean.root+xml":{source:"iana",compressible:true},"application/vnd.cybank":{source:"iana"},"application/vnd.d2l.coursepackage1p0+zip":{source:"iana",compressible:false},"application/vnd.dart":{source:"iana",compressible:true,extensions:["dart"]},"application/vnd.data-vision.rdz":{source:"iana",extensions:["rdz"]},"application/vnd.datapackage+json":{source:"iana",compressible:true},"application/vnd.dataresource+json":{source:"iana",compressible:true},"application/vnd.dbf":{source:"iana"},"application/vnd.debian.binary-package":{source:"iana"},"application/vnd.dece.data":{source:"iana",extensions:["uvf","uvvf","uvd","uvvd"]},"application/vnd.dece.ttml+xml":{source:"iana",compressible:true,extensions:["uvt","uvvt"]},"application/vnd.dece.unspecified":{source:"iana",extensions:["uvx","uvvx"]},"application/vnd.dece.zip":{source:"iana",extensions:["uvz","uvvz"]},"application/vnd.denovo.fcselayout-link":{source:"iana",extensions:["fe_launch"]},"application/vnd.desmume.movie":{source:"iana"},"application/vnd.dir-bi.plate-dl-nosuffix":{source:"iana"},"application/vnd.dm.delegation+xml":{source:"iana",compressible:true},"application/vnd.dna":{source:"iana",extensions:["dna"]},"application/vnd.document+json":{source:"iana",compressible:true},"application/vnd.dolby.mlp":{source:"apache",extensions:["mlp"]},"application/vnd.dolby.mobile.1":{source:"iana"},"application/vnd.dolby.mobile.2":{source:"iana"},"application/vnd.doremir.scorecloud-binary-document":{source:"iana"},"application/vnd.dpgraph":{source:"iana",extensions:["dpg"]},"application/vnd.dreamfactory":{source:"iana",extensions:["dfac"]},"application/vnd.drive+json":{source:"iana",compressible:true},"application/vnd.ds-keypoint":{source:"apache",extensions:["kpxx"]},"application/vnd.dtg.local":{source:"iana"},"application/vnd.dtg.local.flash":{source:"iana"},"application/vnd.dtg.local.html":{source:"iana"},"application/vnd.dvb.ait":{source:"iana",extensions:["ait"]},"application/vnd.dvb.dvbisl+xml":{source:"iana",compressible:true},"application/vnd.dvb.dvbj":{source:"iana"},"application/vnd.dvb.esgcontainer":{source:"iana"},"application/vnd.dvb.ipdcdftnotifaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess":{source:"iana"},"application/vnd.dvb.ipdcesgaccess2":{source:"iana"},"application/vnd.dvb.ipdcesgpdd":{source:"iana"},"application/vnd.dvb.ipdcroaming":{source:"iana"},"application/vnd.dvb.iptv.alfec-base":{source:"iana"},"application/vnd.dvb.iptv.alfec-enhancement":{source:"iana"},"application/vnd.dvb.notif-aggregate-root+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-container+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-generic+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-ia-msglist+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-ia-registration-request+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-ia-registration-response+xml":{source:"iana",compressible:true},"application/vnd.dvb.notif-init+xml":{source:"iana",compressible:true},"application/vnd.dvb.pfr":{source:"iana"},"application/vnd.dvb.service":{source:"iana",extensions:["svc"]},"application/vnd.dxr":{source:"iana"},"application/vnd.dynageo":{source:"iana",extensions:["geo"]},"application/vnd.dzr":{source:"iana"},"application/vnd.easykaraoke.cdgdownload":{source:"iana"},"application/vnd.ecdis-update":{source:"iana"},"application/vnd.ecip.rlp":{source:"iana"},"application/vnd.ecowin.chart":{source:"iana",extensions:["mag"]},"application/vnd.ecowin.filerequest":{source:"iana"},"application/vnd.ecowin.fileupdate":{source:"iana"},"application/vnd.ecowin.series":{source:"iana"},"application/vnd.ecowin.seriesrequest":{source:"iana"},"application/vnd.ecowin.seriesupdate":{source:"iana"},"application/vnd.efi.img":{source:"iana"},"application/vnd.efi.iso":{source:"iana"},"application/vnd.emclient.accessrequest+xml":{source:"iana",compressible:true},"application/vnd.enliven":{source:"iana",extensions:["nml"]},"application/vnd.enphase.envoy":{source:"iana"},"application/vnd.eprints.data+xml":{source:"iana",compressible:true},"application/vnd.epson.esf":{source:"iana",extensions:["esf"]},"application/vnd.epson.msf":{source:"iana",extensions:["msf"]},"application/vnd.epson.quickanime":{source:"iana",extensions:["qam"]},"application/vnd.epson.salt":{source:"iana",extensions:["slt"]},"application/vnd.epson.ssf":{source:"iana",extensions:["ssf"]},"application/vnd.ericsson.quickcall":{source:"iana"},"application/vnd.espass-espass+zip":{source:"iana",compressible:false},"application/vnd.eszigno3+xml":{source:"iana",compressible:true,extensions:["es3","et3"]},"application/vnd.etsi.aoc+xml":{source:"iana",compressible:true},"application/vnd.etsi.asic-e+zip":{source:"iana",compressible:false},"application/vnd.etsi.asic-s+zip":{source:"iana",compressible:false},"application/vnd.etsi.cug+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvcommand+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvdiscovery+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvprofile+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsad-bc+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsad-cod+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsad-npvr+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvservice+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvsync+xml":{source:"iana",compressible:true},"application/vnd.etsi.iptvueprofile+xml":{source:"iana",compressible:true},"application/vnd.etsi.mcid+xml":{source:"iana",compressible:true},"application/vnd.etsi.mheg5":{source:"iana"},"application/vnd.etsi.overload-control-policy-dataset+xml":{source:"iana",compressible:true},"application/vnd.etsi.pstn+xml":{source:"iana",compressible:true},"application/vnd.etsi.sci+xml":{source:"iana",compressible:true},"application/vnd.etsi.simservs+xml":{source:"iana",compressible:true},"application/vnd.etsi.timestamp-token":{source:"iana"},"application/vnd.etsi.tsl+xml":{source:"iana",compressible:true},"application/vnd.etsi.tsl.der":{source:"iana"},"application/vnd.eudora.data":{source:"iana"},"application/vnd.evolv.ecig.profile":{source:"iana"},"application/vnd.evolv.ecig.settings":{source:"iana"},"application/vnd.evolv.ecig.theme":{source:"iana"},"application/vnd.exstream-empower+zip":{source:"iana",compressible:false},"application/vnd.exstream-package":{source:"iana"},"application/vnd.ezpix-album":{source:"iana",extensions:["ez2"]},"application/vnd.ezpix-package":{source:"iana",extensions:["ez3"]},"application/vnd.f-secure.mobile":{source:"iana"},"application/vnd.fastcopy-disk-image":{source:"iana"},"application/vnd.fdf":{source:"iana",extensions:["fdf"]},"application/vnd.fdsn.mseed":{source:"iana",extensions:["mseed"]},"application/vnd.fdsn.seed":{source:"iana",extensions:["seed","dataless"]},"application/vnd.ffsns":{source:"iana"},"application/vnd.ficlab.flb+zip":{source:"iana",compressible:false},"application/vnd.filmit.zfc":{source:"iana"},"application/vnd.fints":{source:"iana"},"application/vnd.firemonkeys.cloudcell":{source:"iana"},"application/vnd.flographit":{source:"iana",extensions:["gph"]},"application/vnd.fluxtime.clip":{source:"iana",extensions:["ftc"]},"application/vnd.font-fontforge-sfd":{source:"iana"},"application/vnd.framemaker":{source:"iana",extensions:["fm","frame","maker","book"]},"application/vnd.frogans.fnc":{source:"iana",extensions:["fnc"]},"application/vnd.frogans.ltf":{source:"iana",extensions:["ltf"]},"application/vnd.fsc.weblaunch":{source:"iana",extensions:["fsc"]},"application/vnd.fujitsu.oasys":{source:"iana",extensions:["oas"]},"application/vnd.fujitsu.oasys2":{source:"iana",extensions:["oa2"]},"application/vnd.fujitsu.oasys3":{source:"iana",extensions:["oa3"]},"application/vnd.fujitsu.oasysgp":{source:"iana",extensions:["fg5"]},"application/vnd.fujitsu.oasysprs":{source:"iana",extensions:["bh2"]},"application/vnd.fujixerox.art-ex":{source:"iana"},"application/vnd.fujixerox.art4":{source:"iana"},"application/vnd.fujixerox.ddd":{source:"iana",extensions:["ddd"]},"application/vnd.fujixerox.docuworks":{source:"iana",extensions:["xdw"]},"application/vnd.fujixerox.docuworks.binder":{source:"iana",extensions:["xbd"]},"application/vnd.fujixerox.docuworks.container":{source:"iana"},"application/vnd.fujixerox.hbpl":{source:"iana"},"application/vnd.fut-misnet":{source:"iana"},"application/vnd.futoin+cbor":{source:"iana"},"application/vnd.futoin+json":{source:"iana",compressible:true},"application/vnd.fuzzysheet":{source:"iana",extensions:["fzs"]},"application/vnd.genomatix.tuxedo":{source:"iana",extensions:["txd"]},"application/vnd.gentics.grd+json":{source:"iana",compressible:true},"application/vnd.geo+json":{source:"iana",compressible:true},"application/vnd.geocube+xml":{source:"iana",compressible:true},"application/vnd.geogebra.file":{source:"iana",extensions:["ggb"]},"application/vnd.geogebra.tool":{source:"iana",extensions:["ggt"]},"application/vnd.geometry-explorer":{source:"iana",extensions:["gex","gre"]},"application/vnd.geonext":{source:"iana",extensions:["gxt"]},"application/vnd.geoplan":{source:"iana",extensions:["g2w"]},"application/vnd.geospace":{source:"iana",extensions:["g3w"]},"application/vnd.gerber":{source:"iana"},"application/vnd.globalplatform.card-content-mgt":{source:"iana"},"application/vnd.globalplatform.card-content-mgt-response":{source:"iana"},"application/vnd.gmx":{source:"iana",extensions:["gmx"]},"application/vnd.google-apps.document":{compressible:false,extensions:["gdoc"]},"application/vnd.google-apps.presentation":{compressible:false,extensions:["gslides"]},"application/vnd.google-apps.spreadsheet":{compressible:false,extensions:["gsheet"]},"application/vnd.google-earth.kml+xml":{source:"iana",compressible:true,extensions:["kml"]},"application/vnd.google-earth.kmz":{source:"iana",compressible:false,extensions:["kmz"]},"application/vnd.gov.sk.e-form+xml":{source:"iana",compressible:true},"application/vnd.gov.sk.e-form+zip":{source:"iana",compressible:false},"application/vnd.gov.sk.xmldatacontainer+xml":{source:"iana",compressible:true},"application/vnd.grafeq":{source:"iana",extensions:["gqf","gqs"]},"application/vnd.gridmp":{source:"iana"},"application/vnd.groove-account":{source:"iana",extensions:["gac"]},"application/vnd.groove-help":{source:"iana",extensions:["ghf"]},"application/vnd.groove-identity-message":{source:"iana",extensions:["gim"]},"application/vnd.groove-injector":{source:"iana",extensions:["grv"]},"application/vnd.groove-tool-message":{source:"iana",extensions:["gtm"]},"application/vnd.groove-tool-template":{source:"iana",extensions:["tpl"]},"application/vnd.groove-vcard":{source:"iana",extensions:["vcg"]},"application/vnd.hal+json":{source:"iana",compressible:true},"application/vnd.hal+xml":{source:"iana",compressible:true,extensions:["hal"]},"application/vnd.handheld-entertainment+xml":{source:"iana",compressible:true,extensions:["zmm"]},"application/vnd.hbci":{source:"iana",extensions:["hbci"]},"application/vnd.hc+json":{source:"iana",compressible:true},"application/vnd.hcl-bireports":{source:"iana"},"application/vnd.hdt":{source:"iana"},"application/vnd.heroku+json":{source:"iana",compressible:true},"application/vnd.hhe.lesson-player":{source:"iana",extensions:["les"]},"application/vnd.hp-hpgl":{source:"iana",extensions:["hpgl"]},"application/vnd.hp-hpid":{source:"iana",extensions:["hpid"]},"application/vnd.hp-hps":{source:"iana",extensions:["hps"]},"application/vnd.hp-jlyt":{source:"iana",extensions:["jlt"]},"application/vnd.hp-pcl":{source:"iana",extensions:["pcl"]},"application/vnd.hp-pclxl":{source:"iana",extensions:["pclxl"]},"application/vnd.httphone":{source:"iana"},"application/vnd.hydrostatix.sof-data":{source:"iana",extensions:["sfd-hdstx"]},"application/vnd.hyper+json":{source:"iana",compressible:true},"application/vnd.hyper-item+json":{source:"iana",compressible:true},"application/vnd.hyperdrive+json":{source:"iana",compressible:true},"application/vnd.hzn-3d-crossword":{source:"iana"},"application/vnd.ibm.afplinedata":{source:"iana"},"application/vnd.ibm.electronic-media":{source:"iana"},"application/vnd.ibm.minipay":{source:"iana",extensions:["mpy"]},"application/vnd.ibm.modcap":{source:"iana",extensions:["afp","listafp","list3820"]},"application/vnd.ibm.rights-management":{source:"iana",extensions:["irm"]},"application/vnd.ibm.secure-container":{source:"iana",extensions:["sc"]},"application/vnd.iccprofile":{source:"iana",extensions:["icc","icm"]},"application/vnd.ieee.1905":{source:"iana"},"application/vnd.igloader":{source:"iana",extensions:["igl"]},"application/vnd.imagemeter.folder+zip":{source:"iana",compressible:false},"application/vnd.imagemeter.image+zip":{source:"iana",compressible:false},"application/vnd.immervision-ivp":{source:"iana",extensions:["ivp"]},"application/vnd.immervision-ivu":{source:"iana",extensions:["ivu"]},"application/vnd.ims.imsccv1p1":{source:"iana"},"application/vnd.ims.imsccv1p2":{source:"iana"},"application/vnd.ims.imsccv1p3":{source:"iana"},"application/vnd.ims.lis.v2.result+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolconsumerprofile+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolproxy+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolproxy.id+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolsettings+json":{source:"iana",compressible:true},"application/vnd.ims.lti.v2.toolsettings.simple+json":{source:"iana",compressible:true},"application/vnd.informedcontrol.rms+xml":{source:"iana",compressible:true},"application/vnd.informix-visionary":{source:"iana"},"application/vnd.infotech.project":{source:"iana"},"application/vnd.infotech.project+xml":{source:"iana",compressible:true},"application/vnd.innopath.wamp.notification":{source:"iana"},"application/vnd.insors.igm":{source:"iana",extensions:["igm"]},"application/vnd.intercon.formnet":{source:"iana",extensions:["xpw","xpx"]},"application/vnd.intergeo":{source:"iana",extensions:["i2g"]},"application/vnd.intertrust.digibox":{source:"iana"},"application/vnd.intertrust.nncp":{source:"iana"},"application/vnd.intu.qbo":{source:"iana",extensions:["qbo"]},"application/vnd.intu.qfx":{source:"iana",extensions:["qfx"]},"application/vnd.iptc.g2.catalogitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.conceptitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.knowledgeitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.newsitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.newsmessage+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.packageitem+xml":{source:"iana",compressible:true},"application/vnd.iptc.g2.planningitem+xml":{source:"iana",compressible:true},"application/vnd.ipunplugged.rcprofile":{source:"iana",extensions:["rcprofile"]},"application/vnd.irepository.package+xml":{source:"iana",compressible:true,extensions:["irp"]},"application/vnd.is-xpr":{source:"iana",extensions:["xpr"]},"application/vnd.isac.fcs":{source:"iana",extensions:["fcs"]},"application/vnd.iso11783-10+zip":{source:"iana",compressible:false},"application/vnd.jam":{source:"iana",extensions:["jam"]},"application/vnd.japannet-directory-service":{source:"iana"},"application/vnd.japannet-jpnstore-wakeup":{source:"iana"},"application/vnd.japannet-payment-wakeup":{source:"iana"},"application/vnd.japannet-registration":{source:"iana"},"application/vnd.japannet-registration-wakeup":{source:"iana"},"application/vnd.japannet-setstore-wakeup":{source:"iana"},"application/vnd.japannet-verification":{source:"iana"},"application/vnd.japannet-verification-wakeup":{source:"iana"},"application/vnd.jcp.javame.midlet-rms":{source:"iana",extensions:["rms"]},"application/vnd.jisp":{source:"iana",extensions:["jisp"]},"application/vnd.joost.joda-archive":{source:"iana",extensions:["joda"]},"application/vnd.jsk.isdn-ngn":{source:"iana"},"application/vnd.kahootz":{source:"iana",extensions:["ktz","ktr"]},"application/vnd.kde.karbon":{source:"iana",extensions:["karbon"]},"application/vnd.kde.kchart":{source:"iana",extensions:["chrt"]},"application/vnd.kde.kformula":{source:"iana",extensions:["kfo"]},"application/vnd.kde.kivio":{source:"iana",extensions:["flw"]},"application/vnd.kde.kontour":{source:"iana",extensions:["kon"]},"application/vnd.kde.kpresenter":{source:"iana",extensions:["kpr","kpt"]},"application/vnd.kde.kspread":{source:"iana",extensions:["ksp"]},"application/vnd.kde.kword":{source:"iana",extensions:["kwd","kwt"]},"application/vnd.kenameaapp":{source:"iana",extensions:["htke"]},"application/vnd.kidspiration":{source:"iana",extensions:["kia"]},"application/vnd.kinar":{source:"iana",extensions:["kne","knp"]},"application/vnd.koan":{source:"iana",extensions:["skp","skd","skt","skm"]},"application/vnd.kodak-descriptor":{source:"iana",extensions:["sse"]},"application/vnd.las":{source:"iana"},"application/vnd.las.las+json":{source:"iana",compressible:true},"application/vnd.las.las+xml":{source:"iana",compressible:true,extensions:["lasxml"]},"application/vnd.laszip":{source:"iana"},"application/vnd.leap+json":{source:"iana",compressible:true},"application/vnd.liberty-request+xml":{source:"iana",compressible:true},"application/vnd.llamagraphics.life-balance.desktop":{source:"iana",extensions:["lbd"]},"application/vnd.llamagraphics.life-balance.exchange+xml":{source:"iana",compressible:true,extensions:["lbe"]},"application/vnd.logipipe.circuit+zip":{source:"iana",compressible:false},"application/vnd.loom":{source:"iana"},"application/vnd.lotus-1-2-3":{source:"iana",extensions:["123"]},"application/vnd.lotus-approach":{source:"iana",extensions:["apr"]},"application/vnd.lotus-freelance":{source:"iana",extensions:["pre"]},"application/vnd.lotus-notes":{source:"iana",extensions:["nsf"]},"application/vnd.lotus-organizer":{source:"iana",extensions:["org"]},"application/vnd.lotus-screencam":{source:"iana",extensions:["scm"]},"application/vnd.lotus-wordpro":{source:"iana",extensions:["lwp"]},"application/vnd.macports.portpkg":{source:"iana",extensions:["portpkg"]},"application/vnd.mapbox-vector-tile":{source:"iana"},"application/vnd.marlin.drm.actiontoken+xml":{source:"iana",compressible:true},"application/vnd.marlin.drm.conftoken+xml":{source:"iana",compressible:true},"application/vnd.marlin.drm.license+xml":{source:"iana",compressible:true},"application/vnd.marlin.drm.mdcf":{source:"iana"},"application/vnd.mason+json":{source:"iana",compressible:true},"application/vnd.maxmind.maxmind-db":{source:"iana"},"application/vnd.mcd":{source:"iana",extensions:["mcd"]},"application/vnd.medcalcdata":{source:"iana",extensions:["mc1"]},"application/vnd.mediastation.cdkey":{source:"iana",extensions:["cdkey"]},"application/vnd.meridian-slingshot":{source:"iana"},"application/vnd.mfer":{source:"iana",extensions:["mwf"]},"application/vnd.mfmp":{source:"iana",extensions:["mfm"]},"application/vnd.micro+json":{source:"iana",compressible:true},"application/vnd.micrografx.flo":{source:"iana",extensions:["flo"]},"application/vnd.micrografx.igx":{source:"iana",extensions:["igx"]},"application/vnd.microsoft.portable-executable":{source:"iana"},"application/vnd.microsoft.windows.thumbnail-cache":{source:"iana"},"application/vnd.miele+json":{source:"iana",compressible:true},"application/vnd.mif":{source:"iana",extensions:["mif"]},"application/vnd.minisoft-hp3000-save":{source:"iana"},"application/vnd.mitsubishi.misty-guard.trustweb":{source:"iana"},"application/vnd.mobius.daf":{source:"iana",extensions:["daf"]},"application/vnd.mobius.dis":{source:"iana",extensions:["dis"]},"application/vnd.mobius.mbk":{source:"iana",extensions:["mbk"]},"application/vnd.mobius.mqy":{source:"iana",extensions:["mqy"]},"application/vnd.mobius.msl":{source:"iana",extensions:["msl"]},"application/vnd.mobius.plc":{source:"iana",extensions:["plc"]},"application/vnd.mobius.txf":{source:"iana",extensions:["txf"]},"application/vnd.mophun.application":{source:"iana",extensions:["mpn"]},"application/vnd.mophun.certificate":{source:"iana",extensions:["mpc"]},"application/vnd.motorola.flexsuite":{source:"iana"},"application/vnd.motorola.flexsuite.adsi":{source:"iana"},"application/vnd.motorola.flexsuite.fis":{source:"iana"},"application/vnd.motorola.flexsuite.gotap":{source:"iana"},"application/vnd.motorola.flexsuite.kmr":{source:"iana"},"application/vnd.motorola.flexsuite.ttc":{source:"iana"},"application/vnd.motorola.flexsuite.wem":{source:"iana"},"application/vnd.motorola.iprm":{source:"iana"},"application/vnd.mozilla.xul+xml":{source:"iana",compressible:true,extensions:["xul"]},"application/vnd.ms-3mfdocument":{source:"iana"},"application/vnd.ms-artgalry":{source:"iana",extensions:["cil"]},"application/vnd.ms-asf":{source:"iana"},"application/vnd.ms-cab-compressed":{source:"iana",extensions:["cab"]},"application/vnd.ms-color.iccprofile":{source:"apache"},"application/vnd.ms-excel":{source:"iana",compressible:false,extensions:["xls","xlm","xla","xlc","xlt","xlw"]},"application/vnd.ms-excel.addin.macroenabled.12":{source:"iana",extensions:["xlam"]},"application/vnd.ms-excel.sheet.binary.macroenabled.12":{source:"iana",extensions:["xlsb"]},"application/vnd.ms-excel.sheet.macroenabled.12":{source:"iana",extensions:["xlsm"]},"application/vnd.ms-excel.template.macroenabled.12":{source:"iana",extensions:["xltm"]},"application/vnd.ms-fontobject":{source:"iana",compressible:true,extensions:["eot"]},"application/vnd.ms-htmlhelp":{source:"iana",extensions:["chm"]},"application/vnd.ms-ims":{source:"iana",extensions:["ims"]},"application/vnd.ms-lrm":{source:"iana",extensions:["lrm"]},"application/vnd.ms-office.activex+xml":{source:"iana",compressible:true},"application/vnd.ms-officetheme":{source:"iana",extensions:["thmx"]},"application/vnd.ms-opentype":{source:"apache",compressible:true},"application/vnd.ms-outlook":{compressible:false,extensions:["msg"]},"application/vnd.ms-package.obfuscated-opentype":{source:"apache"},"application/vnd.ms-pki.seccat":{source:"apache",extensions:["cat"]},"application/vnd.ms-pki.stl":{source:"apache",extensions:["stl"]},"application/vnd.ms-playready.initiator+xml":{source:"iana",compressible:true},"application/vnd.ms-powerpoint":{source:"iana",compressible:false,extensions:["ppt","pps","pot"]},"application/vnd.ms-powerpoint.addin.macroenabled.12":{source:"iana",extensions:["ppam"]},"application/vnd.ms-powerpoint.presentation.macroenabled.12":{source:"iana",extensions:["pptm"]},"application/vnd.ms-powerpoint.slide.macroenabled.12":{source:"iana",extensions:["sldm"]},"application/vnd.ms-powerpoint.slideshow.macroenabled.12":{source:"iana",extensions:["ppsm"]},"application/vnd.ms-powerpoint.template.macroenabled.12":{source:"iana",extensions:["potm"]},"application/vnd.ms-printdevicecapabilities+xml":{source:"iana",compressible:true},"application/vnd.ms-printing.printticket+xml":{source:"apache",compressible:true},"application/vnd.ms-printschematicket+xml":{source:"iana",compressible:true},"application/vnd.ms-project":{source:"iana",extensions:["mpp","mpt"]},"application/vnd.ms-tnef":{source:"iana"},"application/vnd.ms-windows.devicepairing":{source:"iana"},"application/vnd.ms-windows.nwprinting.oob":{source:"iana"},"application/vnd.ms-windows.printerpairing":{source:"iana"},"application/vnd.ms-windows.wsd.oob":{source:"iana"},"application/vnd.ms-wmdrm.lic-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.lic-resp":{source:"iana"},"application/vnd.ms-wmdrm.meter-chlg-req":{source:"iana"},"application/vnd.ms-wmdrm.meter-resp":{source:"iana"},"application/vnd.ms-word.document.macroenabled.12":{source:"iana",extensions:["docm"]},"application/vnd.ms-word.template.macroenabled.12":{source:"iana",extensions:["dotm"]},"application/vnd.ms-works":{source:"iana",extensions:["wps","wks","wcm","wdb"]},"application/vnd.ms-wpl":{source:"iana",extensions:["wpl"]},"application/vnd.ms-xpsdocument":{source:"iana",compressible:false,extensions:["xps"]},"application/vnd.msa-disk-image":{source:"iana"},"application/vnd.mseq":{source:"iana",extensions:["mseq"]},"application/vnd.msign":{source:"iana"},"application/vnd.multiad.creator":{source:"iana"},"application/vnd.multiad.creator.cif":{source:"iana"},"application/vnd.music-niff":{source:"iana"},"application/vnd.musician":{source:"iana",extensions:["mus"]},"application/vnd.muvee.style":{source:"iana",extensions:["msty"]},"application/vnd.mynfc":{source:"iana",extensions:["taglet"]},"application/vnd.ncd.control":{source:"iana"},"application/vnd.ncd.reference":{source:"iana"},"application/vnd.nearst.inv+json":{source:"iana",compressible:true},"application/vnd.nervana":{source:"iana"},"application/vnd.netfpx":{source:"iana"},"application/vnd.neurolanguage.nlu":{source:"iana",extensions:["nlu"]},"application/vnd.nimn":{source:"iana"},"application/vnd.nintendo.nitro.rom":{source:"iana"},"application/vnd.nintendo.snes.rom":{source:"iana"},"application/vnd.nitf":{source:"iana",extensions:["ntf","nitf"]},"application/vnd.noblenet-directory":{source:"iana",extensions:["nnd"]},"application/vnd.noblenet-sealer":{source:"iana",extensions:["nns"]},"application/vnd.noblenet-web":{source:"iana",extensions:["nnw"]},"application/vnd.nokia.catalogs":{source:"iana"},"application/vnd.nokia.conml+wbxml":{source:"iana"},"application/vnd.nokia.conml+xml":{source:"iana",compressible:true},"application/vnd.nokia.iptv.config+xml":{source:"iana",compressible:true},"application/vnd.nokia.isds-radio-presets":{source:"iana"},"application/vnd.nokia.landmark+wbxml":{source:"iana"},"application/vnd.nokia.landmark+xml":{source:"iana",compressible:true},"application/vnd.nokia.landmarkcollection+xml":{source:"iana",compressible:true},"application/vnd.nokia.n-gage.ac+xml":{source:"iana",compressible:true,extensions:["ac"]},"application/vnd.nokia.n-gage.data":{source:"iana",extensions:["ngdat"]},"application/vnd.nokia.n-gage.symbian.install":{source:"iana",extensions:["n-gage"]},"application/vnd.nokia.ncd":{source:"iana"},"application/vnd.nokia.pcd+wbxml":{source:"iana"},"application/vnd.nokia.pcd+xml":{source:"iana",compressible:true},"application/vnd.nokia.radio-preset":{source:"iana",extensions:["rpst"]},"application/vnd.nokia.radio-presets":{source:"iana",extensions:["rpss"]},"application/vnd.novadigm.edm":{source:"iana",extensions:["edm"]},"application/vnd.novadigm.edx":{source:"iana",extensions:["edx"]},"application/vnd.novadigm.ext":{source:"iana",extensions:["ext"]},"application/vnd.ntt-local.content-share":{source:"iana"},"application/vnd.ntt-local.file-transfer":{source:"iana"},"application/vnd.ntt-local.ogw_remote-access":{source:"iana"},"application/vnd.ntt-local.sip-ta_remote":{source:"iana"},"application/vnd.ntt-local.sip-ta_tcp_stream":{source:"iana"},"application/vnd.oasis.opendocument.chart":{source:"iana",extensions:["odc"]},"application/vnd.oasis.opendocument.chart-template":{source:"iana",extensions:["otc"]},"application/vnd.oasis.opendocument.database":{source:"iana",extensions:["odb"]},"application/vnd.oasis.opendocument.formula":{source:"iana",extensions:["odf"]},"application/vnd.oasis.opendocument.formula-template":{source:"iana",extensions:["odft"]},"application/vnd.oasis.opendocument.graphics":{source:"iana",compressible:false,extensions:["odg"]},"application/vnd.oasis.opendocument.graphics-template":{source:"iana",extensions:["otg"]},"application/vnd.oasis.opendocument.image":{source:"iana",extensions:["odi"]},"application/vnd.oasis.opendocument.image-template":{source:"iana",extensions:["oti"]},"application/vnd.oasis.opendocument.presentation":{source:"iana",compressible:false,extensions:["odp"]},"application/vnd.oasis.opendocument.presentation-template":{source:"iana",extensions:["otp"]},"application/vnd.oasis.opendocument.spreadsheet":{source:"iana",compressible:false,extensions:["ods"]},"application/vnd.oasis.opendocument.spreadsheet-template":{source:"iana",extensions:["ots"]},"application/vnd.oasis.opendocument.text":{source:"iana",compressible:false,extensions:["odt"]},"application/vnd.oasis.opendocument.text-master":{source:"iana",extensions:["odm"]},"application/vnd.oasis.opendocument.text-template":{source:"iana",extensions:["ott"]},"application/vnd.oasis.opendocument.text-web":{source:"iana",extensions:["oth"]},"application/vnd.obn":{source:"iana"},"application/vnd.ocf+cbor":{source:"iana"},"application/vnd.oci.image.manifest.v1+json":{source:"iana",compressible:true},"application/vnd.oftn.l10n+json":{source:"iana",compressible:true},"application/vnd.oipf.contentaccessdownload+xml":{source:"iana",compressible:true},"application/vnd.oipf.contentaccessstreaming+xml":{source:"iana",compressible:true},"application/vnd.oipf.cspg-hexbinary":{source:"iana"},"application/vnd.oipf.dae.svg+xml":{source:"iana",compressible:true},"application/vnd.oipf.dae.xhtml+xml":{source:"iana",compressible:true},"application/vnd.oipf.mippvcontrolmessage+xml":{source:"iana",compressible:true},"application/vnd.oipf.pae.gem":{source:"iana"},"application/vnd.oipf.spdiscovery+xml":{source:"iana",compressible:true},"application/vnd.oipf.spdlist+xml":{source:"iana",compressible:true},"application/vnd.oipf.ueprofile+xml":{source:"iana",compressible:true},"application/vnd.oipf.userprofile+xml":{source:"iana",compressible:true},"application/vnd.olpc-sugar":{source:"iana",extensions:["xo"]},"application/vnd.oma-scws-config":{source:"iana"},"application/vnd.oma-scws-http-request":{source:"iana"},"application/vnd.oma-scws-http-response":{source:"iana"},"application/vnd.oma.bcast.associated-procedure-parameter+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.drm-trigger+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.imd+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.ltkm":{source:"iana"},"application/vnd.oma.bcast.notification+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.provisioningtrigger":{source:"iana"},"application/vnd.oma.bcast.sgboot":{source:"iana"},"application/vnd.oma.bcast.sgdd+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.sgdu":{source:"iana"},"application/vnd.oma.bcast.simple-symbol-container":{source:"iana"},"application/vnd.oma.bcast.smartcard-trigger+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.sprov+xml":{source:"iana",compressible:true},"application/vnd.oma.bcast.stkm":{source:"iana"},"application/vnd.oma.cab-address-book+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-feature-handler+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-pcc+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-subs-invite+xml":{source:"iana",compressible:true},"application/vnd.oma.cab-user-prefs+xml":{source:"iana",compressible:true},"application/vnd.oma.dcd":{source:"iana"},"application/vnd.oma.dcdc":{source:"iana"},"application/vnd.oma.dd2+xml":{source:"iana",compressible:true,extensions:["dd2"]},"application/vnd.oma.drm.risd+xml":{source:"iana",compressible:true},"application/vnd.oma.group-usage-list+xml":{source:"iana",compressible:true},"application/vnd.oma.lwm2m+json":{source:"iana",compressible:true},"application/vnd.oma.lwm2m+tlv":{source:"iana"},"application/vnd.oma.pal+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.detailed-progress-report+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.final-report+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.groups+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.invocation-descriptor+xml":{source:"iana",compressible:true},"application/vnd.oma.poc.optimized-progress-report+xml":{source:"iana",compressible:true},"application/vnd.oma.push":{source:"iana"},"application/vnd.oma.scidm.messages+xml":{source:"iana",compressible:true},"application/vnd.oma.xcap-directory+xml":{source:"iana",compressible:true},"application/vnd.omads-email+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.omads-file+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.omads-folder+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.omaloc-supl-init":{source:"iana"},"application/vnd.onepager":{source:"iana"},"application/vnd.onepagertamp":{source:"iana"},"application/vnd.onepagertamx":{source:"iana"},"application/vnd.onepagertat":{source:"iana"},"application/vnd.onepagertatp":{source:"iana"},"application/vnd.onepagertatx":{source:"iana"},"application/vnd.openblox.game+xml":{source:"iana",compressible:true,extensions:["obgx"]},"application/vnd.openblox.game-binary":{source:"iana"},"application/vnd.openeye.oeb":{source:"iana"},"application/vnd.openofficeorg.extension":{source:"apache",extensions:["oxt"]},"application/vnd.openstreetmap.data+xml":{source:"iana",compressible:true,extensions:["osm"]},"application/vnd.openxmlformats-officedocument.custom-properties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.customxmlproperties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawing+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.chart+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramcolors+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramdata+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramlayout+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.drawingml.diagramstyle+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.extended-properties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.commentauthors+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.comments+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.handoutmaster+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.notesmaster+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.notesslide+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.presentation":{source:"iana",compressible:false,extensions:["pptx"]},"application/vnd.openxmlformats-officedocument.presentationml.presentation.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.presprops+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slide":{source:"iana",extensions:["sldx"]},"application/vnd.openxmlformats-officedocument.presentationml.slide+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slidelayout+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slidemaster+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slideshow":{source:"iana",extensions:["ppsx"]},"application/vnd.openxmlformats-officedocument.presentationml.slideshow.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.slideupdateinfo+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.tablestyles+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.tags+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.template":{source:"iana",extensions:["potx"]},"application/vnd.openxmlformats-officedocument.presentationml.template.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.presentationml.viewprops+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.calcchain+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.externallink+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcachedefinition+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotcacherecords+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.pivottable+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.querytable+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionheaders+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionlog+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedstrings+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":{source:"iana",compressible:false,extensions:["xlsx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetmetadata+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.tablesinglecells+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.template":{source:"iana",extensions:["xltx"]},"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.usernames+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.volatiledependencies+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.theme+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.themeoverride+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.vmldrawing":{source:"iana"},"application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document":{source:"iana",compressible:false,extensions:["docx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.glossary+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.document.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.endnotes+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.fonttable+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footer+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.footnotes+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.numbering+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.settings+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.styles+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.template":{source:"iana",extensions:["dotx"]},"application/vnd.openxmlformats-officedocument.wordprocessingml.template.main+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-officedocument.wordprocessingml.websettings+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-package.core-properties+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-package.digital-signature-xmlsignature+xml":{source:"iana",compressible:true},"application/vnd.openxmlformats-package.relationships+xml":{source:"iana",compressible:true},"application/vnd.oracle.resource+json":{source:"iana",compressible:true},"application/vnd.orange.indata":{source:"iana"},"application/vnd.osa.netdeploy":{source:"iana"},"application/vnd.osgeo.mapguide.package":{source:"iana",extensions:["mgp"]},"application/vnd.osgi.bundle":{source:"iana"},"application/vnd.osgi.dp":{source:"iana",extensions:["dp"]},"application/vnd.osgi.subsystem":{source:"iana",extensions:["esa"]},"application/vnd.otps.ct-kip+xml":{source:"iana",compressible:true},"application/vnd.oxli.countgraph":{source:"iana"},"application/vnd.pagerduty+json":{source:"iana",compressible:true},"application/vnd.palm":{source:"iana",extensions:["pdb","pqa","oprc"]},"application/vnd.panoply":{source:"iana"},"application/vnd.paos.xml":{source:"iana"},"application/vnd.patentdive":{source:"iana"},"application/vnd.patientecommsdoc":{source:"iana"},"application/vnd.pawaafile":{source:"iana",extensions:["paw"]},"application/vnd.pcos":{source:"iana"},"application/vnd.pg.format":{source:"iana",extensions:["str"]},"application/vnd.pg.osasli":{source:"iana",extensions:["ei6"]},"application/vnd.piaccess.application-licence":{source:"iana"},"application/vnd.picsel":{source:"iana",extensions:["efif"]},"application/vnd.pmi.widget":{source:"iana",extensions:["wg"]},"application/vnd.poc.group-advertisement+xml":{source:"iana",compressible:true},"application/vnd.pocketlearn":{source:"iana",extensions:["plf"]},"application/vnd.powerbuilder6":{source:"iana",extensions:["pbd"]},"application/vnd.powerbuilder6-s":{source:"iana"},"application/vnd.powerbuilder7":{source:"iana"},"application/vnd.powerbuilder7-s":{source:"iana"},"application/vnd.powerbuilder75":{source:"iana"},"application/vnd.powerbuilder75-s":{source:"iana"},"application/vnd.preminet":{source:"iana"},"application/vnd.previewsystems.box":{source:"iana",extensions:["box"]},"application/vnd.proteus.magazine":{source:"iana",extensions:["mgz"]},"application/vnd.psfs":{source:"iana"},"application/vnd.publishare-delta-tree":{source:"iana",extensions:["qps"]},"application/vnd.pvi.ptid1":{source:"iana",extensions:["ptid"]},"application/vnd.pwg-multiplexed":{source:"iana"},"application/vnd.pwg-xhtml-print+xml":{source:"iana",compressible:true},"application/vnd.qualcomm.brew-app-res":{source:"iana"},"application/vnd.quarantainenet":{source:"iana"},"application/vnd.quark.quarkxpress":{source:"iana",extensions:["qxd","qxt","qwd","qwt","qxl","qxb"]},"application/vnd.quobject-quoxdocument":{source:"iana"},"application/vnd.radisys.moml+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-conf+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-conn+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-dialog+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-audit-stream+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-conf+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-base+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-fax-detect+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-fax-sendrecv+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-group+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-speech+xml":{source:"iana",compressible:true},"application/vnd.radisys.msml-dialog-transform+xml":{source:"iana",compressible:true},"application/vnd.rainstor.data":{source:"iana"},"application/vnd.rapid":{source:"iana"},"application/vnd.rar":{source:"iana"},"application/vnd.realvnc.bed":{source:"iana",extensions:["bed"]},"application/vnd.recordare.musicxml":{source:"iana",extensions:["mxl"]},"application/vnd.recordare.musicxml+xml":{source:"iana",compressible:true,extensions:["musicxml"]},"application/vnd.renlearn.rlprint":{source:"iana"},"application/vnd.restful+json":{source:"iana",compressible:true},"application/vnd.rig.cryptonote":{source:"iana",extensions:["cryptonote"]},"application/vnd.rim.cod":{source:"apache",extensions:["cod"]},"application/vnd.rn-realmedia":{source:"apache",extensions:["rm"]},"application/vnd.rn-realmedia-vbr":{source:"apache",extensions:["rmvb"]},"application/vnd.route66.link66+xml":{source:"iana",compressible:true,extensions:["link66"]},"application/vnd.rs-274x":{source:"iana"},"application/vnd.ruckus.download":{source:"iana"},"application/vnd.s3sms":{source:"iana"},"application/vnd.sailingtracker.track":{source:"iana",extensions:["st"]},"application/vnd.sar":{source:"iana"},"application/vnd.sbm.cid":{source:"iana"},"application/vnd.sbm.mid2":{source:"iana"},"application/vnd.scribus":{source:"iana"},"application/vnd.sealed.3df":{source:"iana"},"application/vnd.sealed.csf":{source:"iana"},"application/vnd.sealed.doc":{source:"iana"},"application/vnd.sealed.eml":{source:"iana"},"application/vnd.sealed.mht":{source:"iana"},"application/vnd.sealed.net":{source:"iana"},"application/vnd.sealed.ppt":{source:"iana"},"application/vnd.sealed.tiff":{source:"iana"},"application/vnd.sealed.xls":{source:"iana"},"application/vnd.sealedmedia.softseal.html":{source:"iana"},"application/vnd.sealedmedia.softseal.pdf":{source:"iana"},"application/vnd.seemail":{source:"iana",extensions:["see"]},"application/vnd.sema":{source:"iana",extensions:["sema"]},"application/vnd.semd":{source:"iana",extensions:["semd"]},"application/vnd.semf":{source:"iana",extensions:["semf"]},"application/vnd.shade-save-file":{source:"iana"},"application/vnd.shana.informed.formdata":{source:"iana",extensions:["ifm"]},"application/vnd.shana.informed.formtemplate":{source:"iana",extensions:["itp"]},"application/vnd.shana.informed.interchange":{source:"iana",extensions:["iif"]},"application/vnd.shana.informed.package":{source:"iana",extensions:["ipk"]},"application/vnd.shootproof+json":{source:"iana",compressible:true},"application/vnd.shopkick+json":{source:"iana",compressible:true},"application/vnd.shp":{source:"iana"},"application/vnd.shx":{source:"iana"},"application/vnd.sigrok.session":{source:"iana"},"application/vnd.simtech-mindmapper":{source:"iana",extensions:["twd","twds"]},"application/vnd.siren+json":{source:"iana",compressible:true},"application/vnd.smaf":{source:"iana",extensions:["mmf"]},"application/vnd.smart.notebook":{source:"iana"},"application/vnd.smart.teacher":{source:"iana",extensions:["teacher"]},"application/vnd.snesdev-page-table":{source:"iana"},"application/vnd.software602.filler.form+xml":{source:"iana",compressible:true,extensions:["fo"]},"application/vnd.software602.filler.form-xml-zip":{source:"iana"},"application/vnd.solent.sdkm+xml":{source:"iana",compressible:true,extensions:["sdkm","sdkd"]},"application/vnd.spotfire.dxp":{source:"iana",extensions:["dxp"]},"application/vnd.spotfire.sfs":{source:"iana",extensions:["sfs"]},"application/vnd.sqlite3":{source:"iana"},"application/vnd.sss-cod":{source:"iana"},"application/vnd.sss-dtf":{source:"iana"},"application/vnd.sss-ntf":{source:"iana"},"application/vnd.stardivision.calc":{source:"apache",extensions:["sdc"]},"application/vnd.stardivision.draw":{source:"apache",extensions:["sda"]},"application/vnd.stardivision.impress":{source:"apache",extensions:["sdd"]},"application/vnd.stardivision.math":{source:"apache",extensions:["smf"]},"application/vnd.stardivision.writer":{source:"apache",extensions:["sdw","vor"]},"application/vnd.stardivision.writer-global":{source:"apache",extensions:["sgl"]},"application/vnd.stepmania.package":{source:"iana",extensions:["smzip"]},"application/vnd.stepmania.stepchart":{source:"iana",extensions:["sm"]},"application/vnd.street-stream":{source:"iana"},"application/vnd.sun.wadl+xml":{source:"iana",compressible:true,extensions:["wadl"]},"application/vnd.sun.xml.calc":{source:"apache",extensions:["sxc"]},"application/vnd.sun.xml.calc.template":{source:"apache",extensions:["stc"]},"application/vnd.sun.xml.draw":{source:"apache",extensions:["sxd"]},"application/vnd.sun.xml.draw.template":{source:"apache",extensions:["std"]},"application/vnd.sun.xml.impress":{source:"apache",extensions:["sxi"]},"application/vnd.sun.xml.impress.template":{source:"apache",extensions:["sti"]},"application/vnd.sun.xml.math":{source:"apache",extensions:["sxm"]},"application/vnd.sun.xml.writer":{source:"apache",extensions:["sxw"]},"application/vnd.sun.xml.writer.global":{source:"apache",extensions:["sxg"]},"application/vnd.sun.xml.writer.template":{source:"apache",extensions:["stw"]},"application/vnd.sus-calendar":{source:"iana",extensions:["sus","susp"]},"application/vnd.svd":{source:"iana",extensions:["svd"]},"application/vnd.swiftview-ics":{source:"iana"},"application/vnd.symbian.install":{source:"apache",extensions:["sis","sisx"]},"application/vnd.syncml+xml":{source:"iana",charset:"UTF-8",compressible:true,extensions:["xsm"]},"application/vnd.syncml.dm+wbxml":{source:"iana",charset:"UTF-8",extensions:["bdm"]},"application/vnd.syncml.dm+xml":{source:"iana",charset:"UTF-8",compressible:true,extensions:["xdm"]},"application/vnd.syncml.dm.notification":{source:"iana"},"application/vnd.syncml.dmddf+wbxml":{source:"iana"},"application/vnd.syncml.dmddf+xml":{source:"iana",charset:"UTF-8",compressible:true,extensions:["ddf"]},"application/vnd.syncml.dmtnds+wbxml":{source:"iana"},"application/vnd.syncml.dmtnds+xml":{source:"iana",charset:"UTF-8",compressible:true},"application/vnd.syncml.ds.notification":{source:"iana"},"application/vnd.tableschema+json":{source:"iana",compressible:true},"application/vnd.tao.intent-module-archive":{source:"iana",extensions:["tao"]},"application/vnd.tcpdump.pcap":{source:"iana",extensions:["pcap","cap","dmp"]},"application/vnd.think-cell.ppttc+json":{source:"iana",compressible:true},"application/vnd.tmd.mediaflex.api+xml":{source:"iana",compressible:true},"application/vnd.tml":{source:"iana"},"application/vnd.tmobile-livetv":{source:"iana",extensions:["tmo"]},"application/vnd.tri.onesource":{source:"iana"},"application/vnd.trid.tpt":{source:"iana",extensions:["tpt"]},"application/vnd.triscape.mxs":{source:"iana",extensions:["mxs"]},"application/vnd.trueapp":{source:"iana",extensions:["tra"]},"application/vnd.truedoc":{source:"iana"},"application/vnd.ubisoft.webplayer":{source:"iana"},"application/vnd.ufdl":{source:"iana",extensions:["ufd","ufdl"]},"application/vnd.uiq.theme":{source:"iana",extensions:["utz"]},"application/vnd.umajin":{source:"iana",extensions:["umj"]},"application/vnd.unity":{source:"iana",extensions:["unityweb"]},"application/vnd.uoml+xml":{source:"iana",compressible:true,extensions:["uoml"]},"application/vnd.uplanet.alert":{source:"iana"},"application/vnd.uplanet.alert-wbxml":{source:"iana"},"application/vnd.uplanet.bearer-choice":{source:"iana"},"application/vnd.uplanet.bearer-choice-wbxml":{source:"iana"},"application/vnd.uplanet.cacheop":{source:"iana"},"application/vnd.uplanet.cacheop-wbxml":{source:"iana"},"application/vnd.uplanet.channel":{source:"iana"},"application/vnd.uplanet.channel-wbxml":{source:"iana"},"application/vnd.uplanet.list":{source:"iana"},"application/vnd.uplanet.list-wbxml":{source:"iana"},"application/vnd.uplanet.listcmd":{source:"iana"},"application/vnd.uplanet.listcmd-wbxml":{source:"iana"},"application/vnd.uplanet.signal":{source:"iana"},"application/vnd.uri-map":{source:"iana"},"application/vnd.valve.source.material":{source:"iana"},"application/vnd.vcx":{source:"iana",extensions:["vcx"]},"application/vnd.vd-study":{source:"iana"},"application/vnd.vectorworks":{source:"iana"},"application/vnd.vel+json":{source:"iana",compressible:true},"application/vnd.verimatrix.vcas":{source:"iana"},"application/vnd.veryant.thin":{source:"iana"},"application/vnd.ves.encrypted":{source:"iana"},"application/vnd.vidsoft.vidconference":{source:"iana"},"application/vnd.visio":{source:"iana",extensions:["vsd","vst","vss","vsw"]},"application/vnd.visionary":{source:"iana",extensions:["vis"]},"application/vnd.vividence.scriptfile":{source:"iana"},"application/vnd.vsf":{source:"iana",extensions:["vsf"]},"application/vnd.wap.sic":{source:"iana"},"application/vnd.wap.slc":{source:"iana"},"application/vnd.wap.wbxml":{source:"iana",charset:"UTF-8",extensions:["wbxml"]},"application/vnd.wap.wmlc":{source:"iana",extensions:["wmlc"]},"application/vnd.wap.wmlscriptc":{source:"iana",extensions:["wmlsc"]},"application/vnd.webturbo":{source:"iana",extensions:["wtb"]},"application/vnd.wfa.p2p":{source:"iana"},"application/vnd.wfa.wsc":{source:"iana"},"application/vnd.windows.devicepairing":{source:"iana"},"application/vnd.wmc":{source:"iana"},"application/vnd.wmf.bootstrap":{source:"iana"},"application/vnd.wolfram.mathematica":{source:"iana"},"application/vnd.wolfram.mathematica.package":{source:"iana"},"application/vnd.wolfram.player":{source:"iana",extensions:["nbp"]},"application/vnd.wordperfect":{source:"iana",extensions:["wpd"]},"application/vnd.wqd":{source:"iana",extensions:["wqd"]},"application/vnd.wrq-hp3000-labelled":{source:"iana"},"application/vnd.wt.stf":{source:"iana",extensions:["stf"]},"application/vnd.wv.csp+wbxml":{source:"iana"},"application/vnd.wv.csp+xml":{source:"iana",compressible:true},"application/vnd.wv.ssp+xml":{source:"iana",compressible:true},"application/vnd.xacml+json":{source:"iana",compressible:true},"application/vnd.xara":{source:"iana",extensions:["xar"]},"application/vnd.xfdl":{source:"iana",extensions:["xfdl"]},"application/vnd.xfdl.webform":{source:"iana"},"application/vnd.xmi+xml":{source:"iana",compressible:true},"application/vnd.xmpie.cpkg":{source:"iana"},"application/vnd.xmpie.dpkg":{source:"iana"},"application/vnd.xmpie.plan":{source:"iana"},"application/vnd.xmpie.ppkg":{source:"iana"},"application/vnd.xmpie.xlim":{source:"iana"},"application/vnd.yamaha.hv-dic":{source:"iana",extensions:["hvd"]},"application/vnd.yamaha.hv-script":{source:"iana",extensions:["hvs"]},"application/vnd.yamaha.hv-voice":{source:"iana",extensions:["hvp"]},"application/vnd.yamaha.openscoreformat":{source:"iana",extensions:["osf"]},"application/vnd.yamaha.openscoreformat.osfpvg+xml":{source:"iana",compressible:true,extensions:["osfpvg"]},"application/vnd.yamaha.remote-setup":{source:"iana"},"application/vnd.yamaha.smaf-audio":{source:"iana",extensions:["saf"]},"application/vnd.yamaha.smaf-phrase":{source:"iana",extensions:["spf"]},"application/vnd.yamaha.through-ngn":{source:"iana"},"application/vnd.yamaha.tunnel-udpencap":{source:"iana"},"application/vnd.yaoweme":{source:"iana"},"application/vnd.yellowriver-custom-menu":{source:"iana",extensions:["cmp"]},"application/vnd.youtube.yt":{source:"iana"},"application/vnd.zul":{source:"iana",extensions:["zir","zirz"]},"application/vnd.zzazz.deck+xml":{source:"iana",compressible:true,extensions:["zaz"]},"application/voicexml+xml":{source:"iana",compressible:true,extensions:["vxml"]},"application/voucher-cms+json":{source:"iana",compressible:true},"application/vq-rtcpxr":{source:"iana"},"application/wasm":{compressible:true,extensions:["wasm"]},"application/watcherinfo+xml":{source:"iana",compressible:true},"application/webpush-options+json":{source:"iana",compressible:true},"application/whoispp-query":{source:"iana"},"application/whoispp-response":{source:"iana"},"application/widget":{source:"iana",extensions:["wgt"]},"application/winhlp":{source:"apache",extensions:["hlp"]},"application/wita":{source:"iana"},"application/wordperfect5.1":{source:"iana"},"application/wsdl+xml":{source:"iana",compressible:true,extensions:["wsdl"]},"application/wspolicy+xml":{source:"iana",compressible:true,extensions:["wspolicy"]},"application/x-7z-compressed":{source:"apache",compressible:false,extensions:["7z"]},"application/x-abiword":{source:"apache",extensions:["abw"]},"application/x-ace-compressed":{source:"apache",extensions:["ace"]},"application/x-amf":{source:"apache"},"application/x-apple-diskimage":{source:"apache",extensions:["dmg"]},"application/x-arj":{compressible:false,extensions:["arj"]},"application/x-authorware-bin":{source:"apache",extensions:["aab","x32","u32","vox"]},"application/x-authorware-map":{source:"apache",extensions:["aam"]},"application/x-authorware-seg":{source:"apache",extensions:["aas"]},"application/x-bcpio":{source:"apache",extensions:["bcpio"]},"application/x-bdoc":{compressible:false,extensions:["bdoc"]},"application/x-bittorrent":{source:"apache",extensions:["torrent"]},"application/x-blorb":{source:"apache",extensions:["blb","blorb"]},"application/x-bzip":{source:"apache",compressible:false,extensions:["bz"]},"application/x-bzip2":{source:"apache",compressible:false,extensions:["bz2","boz"]},"application/x-cbr":{source:"apache",extensions:["cbr","cba","cbt","cbz","cb7"]},"application/x-cdlink":{source:"apache",extensions:["vcd"]},"application/x-cfs-compressed":{source:"apache",extensions:["cfs"]},"application/x-chat":{source:"apache",extensions:["chat"]},"application/x-chess-pgn":{source:"apache",extensions:["pgn"]},"application/x-chrome-extension":{extensions:["crx"]},"application/x-cocoa":{source:"nginx",extensions:["cco"]},"application/x-compress":{source:"apache"},"application/x-conference":{source:"apache",extensions:["nsc"]},"application/x-cpio":{source:"apache",extensions:["cpio"]},"application/x-csh":{source:"apache",extensions:["csh"]},"application/x-deb":{compressible:false},"application/x-debian-package":{source:"apache",extensions:["deb","udeb"]},"application/x-dgc-compressed":{source:"apache",extensions:["dgc"]},"application/x-director":{source:"apache",extensions:["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"]},"application/x-doom":{source:"apache",extensions:["wad"]},"application/x-dtbncx+xml":{source:"apache",compressible:true,extensions:["ncx"]},"application/x-dtbook+xml":{source:"apache",compressible:true,extensions:["dtb"]},"application/x-dtbresource+xml":{source:"apache",compressible:true,extensions:["res"]},"application/x-dvi":{source:"apache",compressible:false,extensions:["dvi"]},"application/x-envoy":{source:"apache",extensions:["evy"]},"application/x-eva":{source:"apache",extensions:["eva"]},"application/x-font-bdf":{source:"apache",extensions:["bdf"]},"application/x-font-dos":{source:"apache"},"application/x-font-framemaker":{source:"apache"},"application/x-font-ghostscript":{source:"apache",extensions:["gsf"]},"application/x-font-libgrx":{source:"apache"},"application/x-font-linux-psf":{source:"apache",extensions:["psf"]},"application/x-font-pcf":{source:"apache",extensions:["pcf"]},"application/x-font-snf":{source:"apache",extensions:["snf"]},"application/x-font-speedo":{source:"apache"},"application/x-font-sunos-news":{source:"apache"},"application/x-font-type1":{source:"apache",extensions:["pfa","pfb","pfm","afm"]},"application/x-font-vfont":{source:"apache"},"application/x-freearc":{source:"apache",extensions:["arc"]},"application/x-futuresplash":{source:"apache",extensions:["spl"]},"application/x-gca-compressed":{source:"apache",extensions:["gca"]},"application/x-glulx":{source:"apache",extensions:["ulx"]},"application/x-gnumeric":{source:"apache",extensions:["gnumeric"]},"application/x-gramps-xml":{source:"apache",extensions:["gramps"]},"application/x-gtar":{source:"apache",extensions:["gtar"]},"application/x-gzip":{source:"apache"},"application/x-hdf":{source:"apache",extensions:["hdf"]},"application/x-httpd-php":{compressible:true,extensions:["php"]},"application/x-install-instructions":{source:"apache",extensions:["install"]},"application/x-iso9660-image":{source:"apache",extensions:["iso"]},"application/x-java-archive-diff":{source:"nginx",extensions:["jardiff"]},"application/x-java-jnlp-file":{source:"apache",compressible:false,extensions:["jnlp"]},"application/x-javascript":{compressible:true},"application/x-keepass2":{extensions:["kdbx"]},"application/x-latex":{source:"apache",compressible:false,extensions:["latex"]},"application/x-lua-bytecode":{extensions:["luac"]},"application/x-lzh-compressed":{source:"apache",extensions:["lzh","lha"]},"application/x-makeself":{source:"nginx",extensions:["run"]},"application/x-mie":{source:"apache",extensions:["mie"]},"application/x-mobipocket-ebook":{source:"apache",extensions:["prc","mobi"]},"application/x-mpegurl":{compressible:false},"application/x-ms-application":{source:"apache",extensions:["application"]},"application/x-ms-shortcut":{source:"apache",extensions:["lnk"]},"application/x-ms-wmd":{source:"apache",extensions:["wmd"]},"application/x-ms-wmz":{source:"apache",extensions:["wmz"]},"application/x-ms-xbap":{source:"apache",extensions:["xbap"]},"application/x-msaccess":{source:"apache",extensions:["mdb"]},"application/x-msbinder":{source:"apache",extensions:["obd"]},"application/x-mscardfile":{source:"apache",extensions:["crd"]},"application/x-msclip":{source:"apache",extensions:["clp"]},"application/x-msdos-program":{extensions:["exe"]},"application/x-msdownload":{source:"apache",extensions:["exe","dll","com","bat","msi"]},"application/x-msmediaview":{source:"apache",extensions:["mvb","m13","m14"]},"application/x-msmetafile":{source:"apache",extensions:["wmf","wmz","emf","emz"]},"application/x-msmoney":{source:"apache",extensions:["mny"]},"application/x-mspublisher":{source:"apache",extensions:["pub"]},"application/x-msschedule":{source:"apache",extensions:["scd"]},"application/x-msterminal":{source:"apache",extensions:["trm"]},"application/x-mswrite":{source:"apache",extensions:["wri"]},"application/x-netcdf":{source:"apache",extensions:["nc","cdf"]},"application/x-ns-proxy-autoconfig":{compressible:true,extensions:["pac"]},"application/x-nzb":{source:"apache",extensions:["nzb"]},"application/x-perl":{source:"nginx",extensions:["pl","pm"]},"application/x-pilot":{source:"nginx",extensions:["prc","pdb"]},"application/x-pkcs12":{source:"apache",compressible:false,extensions:["p12","pfx"]},"application/x-pkcs7-certificates":{source:"apache",extensions:["p7b","spc"]},"application/x-pkcs7-certreqresp":{source:"apache",extensions:["p7r"]},"application/x-pki-message":{source:"iana"},"application/x-rar-compressed":{source:"apache",compressible:false,extensions:["rar"]},"application/x-redhat-package-manager":{source:"nginx",extensions:["rpm"]},"application/x-research-info-systems":{source:"apache",extensions:["ris"]},"application/x-sea":{source:"nginx",extensions:["sea"]},"application/x-sh":{source:"apache",compressible:true,extensions:["sh"]},"application/x-shar":{source:"apache",extensions:["shar"]},"application/x-shockwave-flash":{source:"apache",compressible:false,extensions:["swf"]},"application/x-silverlight-app":{source:"apache",extensions:["xap"]},"application/x-sql":{source:"apache",extensions:["sql"]},"application/x-stuffit":{source:"apache",compressible:false,extensions:["sit"]},"application/x-stuffitx":{source:"apache",extensions:["sitx"]},"application/x-subrip":{source:"apache",extensions:["srt"]},"application/x-sv4cpio":{source:"apache",extensions:["sv4cpio"]},"application/x-sv4crc":{source:"apache",extensions:["sv4crc"]},"application/x-t3vm-image":{source:"apache",extensions:["t3"]},"application/x-tads":{source:"apache",extensions:["gam"]},"application/x-tar":{source:"apache",compressible:true,extensions:["tar"]},"application/x-tcl":{source:"apache",extensions:["tcl","tk"]},"application/x-tex":{source:"apache",extensions:["tex"]},"application/x-tex-tfm":{source:"apache",extensions:["tfm"]},"application/x-texinfo":{source:"apache",extensions:["texinfo","texi"]},"application/x-tgif":{source:"apache",extensions:["obj"]},"application/x-ustar":{source:"apache",extensions:["ustar"]},"application/x-virtualbox-hdd":{compressible:true,extensions:["hdd"]},"application/x-virtualbox-ova":{compressible:true,extensions:["ova"]},"application/x-virtualbox-ovf":{compressible:true,extensions:["ovf"]},"application/x-virtualbox-vbox":{compressible:true,extensions:["vbox"]},"application/x-virtualbox-vbox-extpack":{compressible:false,extensions:["vbox-extpack"]},"application/x-virtualbox-vdi":{compressible:true,extensions:["vdi"]},"application/x-virtualbox-vhd":{compressible:true,extensions:["vhd"]},"application/x-virtualbox-vmdk":{compressible:true,extensions:["vmdk"]},"application/x-wais-source":{source:"apache",extensions:["src"]},"application/x-web-app-manifest+json":{compressible:true,extensions:["webapp"]},"application/x-www-form-urlencoded":{source:"iana",compressible:true},"application/x-x509-ca-cert":{source:"iana",extensions:["der","crt","pem"]},"application/x-x509-ca-ra-cert":{source:"iana"},"application/x-x509-next-ca-cert":{source:"iana"},"application/x-xfig":{source:"apache",extensions:["fig"]},"application/x-xliff+xml":{source:"apache",compressible:true,extensions:["xlf"]},"application/x-xpinstall":{source:"apache",compressible:false,extensions:["xpi"]},"application/x-xz":{source:"apache",extensions:["xz"]},"application/x-zmachine":{source:"apache",extensions:["z1","z2","z3","z4","z5","z6","z7","z8"]},"application/x400-bp":{source:"iana"},"application/xacml+xml":{source:"iana",compressible:true},"application/xaml+xml":{source:"apache",compressible:true,extensions:["xaml"]},"application/xcap-att+xml":{source:"iana",compressible:true,extensions:["xav"]},"application/xcap-caps+xml":{source:"iana",compressible:true,extensions:["xca"]},"application/xcap-diff+xml":{source:"iana",compressible:true,extensions:["xdf"]},"application/xcap-el+xml":{source:"iana",compressible:true,extensions:["xel"]},"application/xcap-error+xml":{source:"iana",compressible:true,extensions:["xer"]},"application/xcap-ns+xml":{source:"iana",compressible:true,extensions:["xns"]},"application/xcon-conference-info+xml":{source:"iana",compressible:true},"application/xcon-conference-info-diff+xml":{source:"iana",compressible:true},"application/xenc+xml":{source:"iana",compressible:true,extensions:["xenc"]},"application/xhtml+xml":{source:"iana",compressible:true,extensions:["xhtml","xht"]},"application/xhtml-voice+xml":{source:"apache",compressible:true},"application/xliff+xml":{source:"iana",compressible:true,extensions:["xlf"]},"application/xml":{source:"iana",compressible:true,extensions:["xml","xsl","xsd","rng"]},"application/xml-dtd":{source:"iana",compressible:true,extensions:["dtd"]},"application/xml-external-parsed-entity":{source:"iana"},"application/xml-patch+xml":{source:"iana",compressible:true},"application/xmpp+xml":{source:"iana",compressible:true},"application/xop+xml":{source:"iana",compressible:true,extensions:["xop"]},"application/xproc+xml":{source:"apache",compressible:true,extensions:["xpl"]},"application/xslt+xml":{source:"iana",compressible:true,extensions:["xslt"]},"application/xspf+xml":{source:"apache",compressible:true,extensions:["xspf"]},"application/xv+xml":{source:"iana",compressible:true,extensions:["mxml","xhvml","xvml","xvm"]},"application/yang":{source:"iana",extensions:["yang"]},"application/yang-data+json":{source:"iana",compressible:true},"application/yang-data+xml":{source:"iana",compressible:true},"application/yang-patch+json":{source:"iana",compressible:true},"application/yang-patch+xml":{source:"iana",compressible:true},"application/yin+xml":{source:"iana",compressible:true,extensions:["yin"]},"application/zip":{source:"iana",compressible:false,extensions:["zip"]},"application/zlib":{source:"iana"},"application/zstd":{source:"iana"},"audio/1d-interleaved-parityfec":{source:"iana"},"audio/32kadpcm":{source:"iana"},"audio/3gpp":{source:"iana",compressible:false,extensions:["3gpp"]},"audio/3gpp2":{source:"iana"},"audio/aac":{source:"iana"},"audio/ac3":{source:"iana"},"audio/adpcm":{source:"apache",extensions:["adp"]},"audio/amr":{source:"iana"},"audio/amr-wb":{source:"iana"},"audio/amr-wb+":{source:"iana"},"audio/aptx":{source:"iana"},"audio/asc":{source:"iana"},"audio/atrac-advanced-lossless":{source:"iana"},"audio/atrac-x":{source:"iana"},"audio/atrac3":{source:"iana"},"audio/basic":{source:"iana",compressible:false,extensions:["au","snd"]},"audio/bv16":{source:"iana"},"audio/bv32":{source:"iana"},"audio/clearmode":{source:"iana"},"audio/cn":{source:"iana"},"audio/dat12":{source:"iana"},"audio/dls":{source:"iana"},"audio/dsr-es201108":{source:"iana"},"audio/dsr-es202050":{source:"iana"},"audio/dsr-es202211":{source:"iana"},"audio/dsr-es202212":{source:"iana"},"audio/dv":{source:"iana"},"audio/dvi4":{source:"iana"},"audio/eac3":{source:"iana"},"audio/encaprtp":{source:"iana"},"audio/evrc":{source:"iana"},"audio/evrc-qcp":{source:"iana"},"audio/evrc0":{source:"iana"},"audio/evrc1":{source:"iana"},"audio/evrcb":{source:"iana"},"audio/evrcb0":{source:"iana"},"audio/evrcb1":{source:"iana"},"audio/evrcnw":{source:"iana"},"audio/evrcnw0":{source:"iana"},"audio/evrcnw1":{source:"iana"},"audio/evrcwb":{source:"iana"},"audio/evrcwb0":{source:"iana"},"audio/evrcwb1":{source:"iana"},"audio/evs":{source:"iana"},"audio/flexfec":{source:"iana"},"audio/fwdred":{source:"iana"},"audio/g711-0":{source:"iana"},"audio/g719":{source:"iana"},"audio/g722":{source:"iana"},"audio/g7221":{source:"iana"},"audio/g723":{source:"iana"},"audio/g726-16":{source:"iana"},"audio/g726-24":{source:"iana"},"audio/g726-32":{source:"iana"},"audio/g726-40":{source:"iana"},"audio/g728":{source:"iana"},"audio/g729":{source:"iana"},"audio/g7291":{source:"iana"},"audio/g729d":{source:"iana"},"audio/g729e":{source:"iana"},"audio/gsm":{source:"iana"},"audio/gsm-efr":{source:"iana"},"audio/gsm-hr-08":{source:"iana"},"audio/ilbc":{source:"iana"},"audio/ip-mr_v2.5":{source:"iana"},"audio/isac":{source:"apache"},"audio/l16":{source:"iana"},"audio/l20":{source:"iana"},"audio/l24":{source:"iana",compressible:false},"audio/l8":{source:"iana"},"audio/lpc":{source:"iana"},"audio/melp":{source:"iana"},"audio/melp1200":{source:"iana"},"audio/melp2400":{source:"iana"},"audio/melp600":{source:"iana"},"audio/mhas":{source:"iana"},"audio/midi":{source:"apache",extensions:["mid","midi","kar","rmi"]},"audio/mobile-xmf":{source:"iana",extensions:["mxmf"]},"audio/mp3":{compressible:false,extensions:["mp3"]},"audio/mp4":{source:"iana",compressible:false,extensions:["m4a","mp4a"]},"audio/mp4a-latm":{source:"iana"},"audio/mpa":{source:"iana"},"audio/mpa-robust":{source:"iana"},"audio/mpeg":{source:"iana",compressible:false,extensions:["mpga","mp2","mp2a","mp3","m2a","m3a"]},"audio/mpeg4-generic":{source:"iana"},"audio/musepack":{source:"apache"},"audio/ogg":{source:"iana",compressible:false,extensions:["oga","ogg","spx"]},"audio/opus":{source:"iana"},"audio/parityfec":{source:"iana"},"audio/pcma":{source:"iana"},"audio/pcma-wb":{source:"iana"},"audio/pcmu":{source:"iana"},"audio/pcmu-wb":{source:"iana"},"audio/prs.sid":{source:"iana"},"audio/qcelp":{source:"iana"},"audio/raptorfec":{source:"iana"},"audio/red":{source:"iana"},"audio/rtp-enc-aescm128":{source:"iana"},"audio/rtp-midi":{source:"iana"},"audio/rtploopback":{source:"iana"},"audio/rtx":{source:"iana"},"audio/s3m":{source:"apache",extensions:["s3m"]},"audio/silk":{source:"apache",extensions:["sil"]},"audio/smv":{source:"iana"},"audio/smv-qcp":{source:"iana"},"audio/smv0":{source:"iana"},"audio/sp-midi":{source:"iana"},"audio/speex":{source:"iana"},"audio/t140c":{source:"iana"},"audio/t38":{source:"iana"},"audio/telephone-event":{source:"iana"},"audio/tetra_acelp":{source:"iana"},"audio/tetra_acelp_bb":{source:"iana"},"audio/tone":{source:"iana"},"audio/uemclip":{source:"iana"},"audio/ulpfec":{source:"iana"},"audio/usac":{source:"iana"},"audio/vdvi":{source:"iana"},"audio/vmr-wb":{source:"iana"},"audio/vnd.3gpp.iufp":{source:"iana"},"audio/vnd.4sb":{source:"iana"},"audio/vnd.audiokoz":{source:"iana"},"audio/vnd.celp":{source:"iana"},"audio/vnd.cisco.nse":{source:"iana"},"audio/vnd.cmles.radio-events":{source:"iana"},"audio/vnd.cns.anp1":{source:"iana"},"audio/vnd.cns.inf1":{source:"iana"},"audio/vnd.dece.audio":{source:"iana",extensions:["uva","uvva"]},"audio/vnd.digital-winds":{source:"iana",extensions:["eol"]},"audio/vnd.dlna.adts":{source:"iana"},"audio/vnd.dolby.heaac.1":{source:"iana"},"audio/vnd.dolby.heaac.2":{source:"iana"},"audio/vnd.dolby.mlp":{source:"iana"},"audio/vnd.dolby.mps":{source:"iana"},"audio/vnd.dolby.pl2":{source:"iana"},"audio/vnd.dolby.pl2x":{source:"iana"},"audio/vnd.dolby.pl2z":{source:"iana"},"audio/vnd.dolby.pulse.1":{source:"iana"},"audio/vnd.dra":{source:"iana",extensions:["dra"]},"audio/vnd.dts":{source:"iana",extensions:["dts"]},"audio/vnd.dts.hd":{source:"iana",extensions:["dtshd"]},"audio/vnd.dts.uhd":{source:"iana"},"audio/vnd.dvb.file":{source:"iana"},"audio/vnd.everad.plj":{source:"iana"},"audio/vnd.hns.audio":{source:"iana"},"audio/vnd.lucent.voice":{source:"iana",extensions:["lvp"]},"audio/vnd.ms-playready.media.pya":{source:"iana",extensions:["pya"]},"audio/vnd.nokia.mobile-xmf":{source:"iana"},"audio/vnd.nortel.vbk":{source:"iana"},"audio/vnd.nuera.ecelp4800":{source:"iana",extensions:["ecelp4800"]},"audio/vnd.nuera.ecelp7470":{source:"iana",extensions:["ecelp7470"]},"audio/vnd.nuera.ecelp9600":{source:"iana",extensions:["ecelp9600"]},"audio/vnd.octel.sbc":{source:"iana"},"audio/vnd.presonus.multitrack":{source:"iana"},"audio/vnd.qcelp":{source:"iana"},"audio/vnd.rhetorex.32kadpcm":{source:"iana"},"audio/vnd.rip":{source:"iana",extensions:["rip"]},"audio/vnd.rn-realaudio":{compressible:false},"audio/vnd.sealedmedia.softseal.mpeg":{source:"iana"},"audio/vnd.vmx.cvsd":{source:"iana"},"audio/vnd.wave":{compressible:false},"audio/vorbis":{source:"iana",compressible:false},"audio/vorbis-config":{source:"iana"},"audio/wav":{compressible:false,extensions:["wav"]},"audio/wave":{compressible:false,extensions:["wav"]},"audio/webm":{source:"apache",compressible:false,extensions:["weba"]},"audio/x-aac":{source:"apache",compressible:false,extensions:["aac"]},"audio/x-aiff":{source:"apache",extensions:["aif","aiff","aifc"]},"audio/x-caf":{source:"apache",compressible:false,extensions:["caf"]},"audio/x-flac":{source:"apache",extensions:["flac"]},"audio/x-m4a":{source:"nginx",extensions:["m4a"]},"audio/x-matroska":{source:"apache",extensions:["mka"]},"audio/x-mpegurl":{source:"apache",extensions:["m3u"]},"audio/x-ms-wax":{source:"apache",extensions:["wax"]},"audio/x-ms-wma":{source:"apache",extensions:["wma"]},"audio/x-pn-realaudio":{source:"apache",extensions:["ram","ra"]},"audio/x-pn-realaudio-plugin":{source:"apache",extensions:["rmp"]},"audio/x-realaudio":{source:"nginx",extensions:["ra"]},"audio/x-tta":{source:"apache"},"audio/x-wav":{source:"apache",extensions:["wav"]},"audio/xm":{source:"apache",extensions:["xm"]},"chemical/x-cdx":{source:"apache",extensions:["cdx"]},"chemical/x-cif":{source:"apache",extensions:["cif"]},"chemical/x-cmdf":{source:"apache",extensions:["cmdf"]},"chemical/x-cml":{source:"apache",extensions:["cml"]},"chemical/x-csml":{source:"apache",extensions:["csml"]},"chemical/x-pdb":{source:"apache"},"chemical/x-xyz":{source:"apache",extensions:["xyz"]},"font/collection":{source:"iana",extensions:["ttc"]},"font/otf":{source:"iana",compressible:true,extensions:["otf"]},"font/sfnt":{source:"iana"},"font/ttf":{source:"iana",compressible:true,extensions:["ttf"]},"font/woff":{source:"iana",extensions:["woff"]},"font/woff2":{source:"iana",extensions:["woff2"]},"image/aces":{source:"iana",extensions:["exr"]},"image/apng":{compressible:false,extensions:["apng"]},"image/avci":{source:"iana"},"image/avcs":{source:"iana"},"image/bmp":{source:"iana",compressible:true,extensions:["bmp"]},"image/cgm":{source:"iana",extensions:["cgm"]},"image/dicom-rle":{source:"iana",extensions:["drle"]},"image/emf":{source:"iana",extensions:["emf"]},"image/fits":{source:"iana",extensions:["fits"]},"image/g3fax":{source:"iana",extensions:["g3"]},"image/gif":{source:"iana",compressible:false,extensions:["gif"]},"image/heic":{source:"iana",extensions:["heic"]},"image/heic-sequence":{source:"iana",extensions:["heics"]},"image/heif":{source:"iana",extensions:["heif"]},"image/heif-sequence":{source:"iana",extensions:["heifs"]},"image/hej2k":{source:"iana",extensions:["hej2"]},"image/hsj2":{source:"iana",extensions:["hsj2"]},"image/ief":{source:"iana",extensions:["ief"]},"image/jls":{source:"iana",extensions:["jls"]},"image/jp2":{source:"iana",compressible:false,extensions:["jp2","jpg2"]},"image/jpeg":{source:"iana",compressible:false,extensions:["jpeg","jpg","jpe"]},"image/jph":{source:"iana",extensions:["jph"]},"image/jphc":{source:"iana",extensions:["jhc"]},"image/jpm":{source:"iana",compressible:false,extensions:["jpm"]},"image/jpx":{source:"iana",compressible:false,extensions:["jpx","jpf"]},"image/jxr":{source:"iana",extensions:["jxr"]},"image/jxra":{source:"iana",extensions:["jxra"]},"image/jxrs":{source:"iana",extensions:["jxrs"]},"image/jxs":{source:"iana",extensions:["jxs"]},"image/jxsc":{source:"iana",extensions:["jxsc"]},"image/jxsi":{source:"iana",extensions:["jxsi"]},"image/jxss":{source:"iana",extensions:["jxss"]},"image/ktx":{source:"iana",extensions:["ktx"]},"image/naplps":{source:"iana"},"image/pjpeg":{compressible:false},"image/png":{source:"iana",compressible:false,extensions:["png"]},"image/prs.btif":{source:"iana",extensions:["btif"]},"image/prs.pti":{source:"iana",extensions:["pti"]},"image/pwg-raster":{source:"iana"},"image/sgi":{source:"apache",extensions:["sgi"]},"image/svg+xml":{source:"iana",compressible:true,extensions:["svg","svgz"]},"image/t38":{source:"iana",extensions:["t38"]},"image/tiff":{source:"iana",compressible:false,extensions:["tif","tiff"]},"image/tiff-fx":{source:"iana",extensions:["tfx"]},"image/vnd.adobe.photoshop":{source:"iana",compressible:true,extensions:["psd"]},"image/vnd.airzip.accelerator.azv":{source:"iana",extensions:["azv"]},"image/vnd.cns.inf2":{source:"iana"},"image/vnd.dece.graphic":{source:"iana",extensions:["uvi","uvvi","uvg","uvvg"]},"image/vnd.djvu":{source:"iana",extensions:["djvu","djv"]},"image/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"image/vnd.dwg":{source:"iana",extensions:["dwg"]},"image/vnd.dxf":{source:"iana",extensions:["dxf"]},"image/vnd.fastbidsheet":{source:"iana",extensions:["fbs"]},"image/vnd.fpx":{source:"iana",extensions:["fpx"]},"image/vnd.fst":{source:"iana",extensions:["fst"]},"image/vnd.fujixerox.edmics-mmr":{source:"iana",extensions:["mmr"]},"image/vnd.fujixerox.edmics-rlc":{source:"iana",extensions:["rlc"]},"image/vnd.globalgraphics.pgb":{source:"iana"},"image/vnd.microsoft.icon":{source:"iana",extensions:["ico"]},"image/vnd.mix":{source:"iana"},"image/vnd.mozilla.apng":{source:"iana"},"image/vnd.ms-dds":{extensions:["dds"]},"image/vnd.ms-modi":{source:"iana",extensions:["mdi"]},"image/vnd.ms-photo":{source:"apache",extensions:["wdp"]},"image/vnd.net-fpx":{source:"iana",extensions:["npx"]},"image/vnd.radiance":{source:"iana"},"image/vnd.sealed.png":{source:"iana"},"image/vnd.sealedmedia.softseal.gif":{source:"iana"},"image/vnd.sealedmedia.softseal.jpg":{source:"iana"},"image/vnd.svf":{source:"iana"},"image/vnd.tencent.tap":{source:"iana",extensions:["tap"]},"image/vnd.valve.source.texture":{source:"iana",extensions:["vtf"]},"image/vnd.wap.wbmp":{source:"iana",extensions:["wbmp"]},"image/vnd.xiff":{source:"iana",extensions:["xif"]},"image/vnd.zbrush.pcx":{source:"iana",extensions:["pcx"]},"image/webp":{source:"apache",extensions:["webp"]},"image/wmf":{source:"iana",extensions:["wmf"]},"image/x-3ds":{source:"apache",extensions:["3ds"]},"image/x-cmu-raster":{source:"apache",extensions:["ras"]},"image/x-cmx":{source:"apache",extensions:["cmx"]},"image/x-freehand":{source:"apache",extensions:["fh","fhc","fh4","fh5","fh7"]},"image/x-icon":{source:"apache",compressible:true,extensions:["ico"]},"image/x-jng":{source:"nginx",extensions:["jng"]},"image/x-mrsid-image":{source:"apache",extensions:["sid"]},"image/x-ms-bmp":{source:"nginx",compressible:true,extensions:["bmp"]},"image/x-pcx":{source:"apache",extensions:["pcx"]},"image/x-pict":{source:"apache",extensions:["pic","pct"]},"image/x-portable-anymap":{source:"apache",extensions:["pnm"]},"image/x-portable-bitmap":{source:"apache",extensions:["pbm"]},"image/x-portable-graymap":{source:"apache",extensions:["pgm"]},"image/x-portable-pixmap":{source:"apache",extensions:["ppm"]},"image/x-rgb":{source:"apache",extensions:["rgb"]},"image/x-tga":{source:"apache",extensions:["tga"]},"image/x-xbitmap":{source:"apache",extensions:["xbm"]},"image/x-xcf":{compressible:false},"image/x-xpixmap":{source:"apache",extensions:["xpm"]},"image/x-xwindowdump":{source:"apache",extensions:["xwd"]},"message/cpim":{source:"iana"},"message/delivery-status":{source:"iana"},"message/disposition-notification":{source:"iana",extensions:["disposition-notification"]},"message/external-body":{source:"iana"},"message/feedback-report":{source:"iana"},"message/global":{source:"iana",extensions:["u8msg"]},"message/global-delivery-status":{source:"iana",extensions:["u8dsn"]},"message/global-disposition-notification":{source:"iana",extensions:["u8mdn"]},"message/global-headers":{source:"iana",extensions:["u8hdr"]},"message/http":{source:"iana",compressible:false},"message/imdn+xml":{source:"iana",compressible:true},"message/news":{source:"iana"},"message/partial":{source:"iana",compressible:false},"message/rfc822":{source:"iana",compressible:true,extensions:["eml","mime"]},"message/s-http":{source:"iana"},"message/sip":{source:"iana"},"message/sipfrag":{source:"iana"},"message/tracking-status":{source:"iana"},"message/vnd.si.simp":{source:"iana"},"message/vnd.wfa.wsc":{source:"iana",extensions:["wsc"]},"model/3mf":{source:"iana",extensions:["3mf"]},"model/gltf+json":{source:"iana",compressible:true,extensions:["gltf"]},"model/gltf-binary":{source:"iana",compressible:true,extensions:["glb"]},"model/iges":{source:"iana",compressible:false,extensions:["igs","iges"]},"model/mesh":{source:"iana",compressible:false,extensions:["msh","mesh","silo"]},"model/mtl":{source:"iana",extensions:["mtl"]},"model/obj":{source:"iana",extensions:["obj"]},"model/stl":{source:"iana",extensions:["stl"]},"model/vnd.collada+xml":{source:"iana",compressible:true,extensions:["dae"]},"model/vnd.dwf":{source:"iana",extensions:["dwf"]},"model/vnd.flatland.3dml":{source:"iana"},"model/vnd.gdl":{source:"iana",extensions:["gdl"]},"model/vnd.gs-gdl":{source:"apache"},"model/vnd.gs.gdl":{source:"iana"},"model/vnd.gtw":{source:"iana",extensions:["gtw"]},"model/vnd.moml+xml":{source:"iana",compressible:true},"model/vnd.mts":{source:"iana",extensions:["mts"]},"model/vnd.opengex":{source:"iana",extensions:["ogex"]},"model/vnd.parasolid.transmit.binary":{source:"iana",extensions:["x_b"]},"model/vnd.parasolid.transmit.text":{source:"iana",extensions:["x_t"]},"model/vnd.rosette.annotated-data-model":{source:"iana"},"model/vnd.usdz+zip":{source:"iana",compressible:false,extensions:["usdz"]},"model/vnd.valve.source.compiled-map":{source:"iana",extensions:["bsp"]},"model/vnd.vtu":{source:"iana",extensions:["vtu"]},"model/vrml":{source:"iana",compressible:false,extensions:["wrl","vrml"]},"model/x3d+binary":{source:"apache",compressible:false,extensions:["x3db","x3dbz"]},"model/x3d+fastinfoset":{source:"iana",extensions:["x3db"]},"model/x3d+vrml":{source:"apache",compressible:false,extensions:["x3dv","x3dvz"]},"model/x3d+xml":{source:"iana",compressible:true,extensions:["x3d","x3dz"]},"model/x3d-vrml":{source:"iana",extensions:["x3dv"]},"multipart/alternative":{source:"iana",compressible:false},"multipart/appledouble":{source:"iana"},"multipart/byteranges":{source:"iana"},"multipart/digest":{source:"iana"},"multipart/encrypted":{source:"iana",compressible:false},"multipart/form-data":{source:"iana",compressible:false},"multipart/header-set":{source:"iana"},"multipart/mixed":{source:"iana"},"multipart/multilingual":{source:"iana"},"multipart/parallel":{source:"iana"},"multipart/related":{source:"iana",compressible:false},"multipart/report":{source:"iana"},"multipart/signed":{source:"iana",compressible:false},"multipart/vnd.bint.med-plus":{source:"iana"},"multipart/voice-message":{source:"iana"},"multipart/x-mixed-replace":{source:"iana"},"text/1d-interleaved-parityfec":{source:"iana"},"text/cache-manifest":{source:"iana",compressible:true,extensions:["appcache","manifest"]},"text/calendar":{source:"iana",extensions:["ics","ifb"]},"text/calender":{compressible:true},"text/cmd":{compressible:true},"text/coffeescript":{extensions:["coffee","litcoffee"]},"text/css":{source:"iana",charset:"UTF-8",compressible:true,extensions:["css"]},"text/csv":{source:"iana",compressible:true,extensions:["csv"]},"text/csv-schema":{source:"iana"},"text/directory":{source:"iana"},"text/dns":{source:"iana"},"text/ecmascript":{source:"iana"},"text/encaprtp":{source:"iana"},"text/enriched":{source:"iana"},"text/flexfec":{source:"iana"},"text/fwdred":{source:"iana"},"text/grammar-ref-list":{source:"iana"},"text/html":{source:"iana",compressible:true,extensions:["html","htm","shtml"]},"text/jade":{extensions:["jade"]},"text/javascript":{source:"iana",compressible:true},"text/jcr-cnd":{source:"iana"},"text/jsx":{compressible:true,extensions:["jsx"]},"text/less":{compressible:true,extensions:["less"]},"text/markdown":{source:"iana",compressible:true,extensions:["markdown","md"]},"text/mathml":{source:"nginx",extensions:["mml"]},"text/mdx":{compressible:true,extensions:["mdx"]},"text/mizar":{source:"iana"},"text/n3":{source:"iana",charset:"UTF-8",compressible:true,extensions:["n3"]},"text/parameters":{source:"iana",charset:"UTF-8"},"text/parityfec":{source:"iana"},"text/plain":{source:"iana",compressible:true,extensions:["txt","text","conf","def","list","log","in","ini"]},"text/provenance-notation":{source:"iana",charset:"UTF-8"},"text/prs.fallenstein.rst":{source:"iana"},"text/prs.lines.tag":{source:"iana",extensions:["dsc"]},"text/prs.prop.logic":{source:"iana"},"text/raptorfec":{source:"iana"},"text/red":{source:"iana"},"text/rfc822-headers":{source:"iana"},"text/richtext":{source:"iana",compressible:true,extensions:["rtx"]},"text/rtf":{source:"iana",compressible:true,extensions:["rtf"]},"text/rtp-enc-aescm128":{source:"iana"},"text/rtploopback":{source:"iana"},"text/rtx":{source:"iana"},"text/sgml":{source:"iana",extensions:["sgml","sgm"]},"text/shex":{extensions:["shex"]},"text/slim":{extensions:["slim","slm"]},"text/strings":{source:"iana"},"text/stylus":{extensions:["stylus","styl"]},"text/t140":{source:"iana"},"text/tab-separated-values":{source:"iana",compressible:true,extensions:["tsv"]},"text/troff":{source:"iana",extensions:["t","tr","roff","man","me","ms"]},"text/turtle":{source:"iana",charset:"UTF-8",extensions:["ttl"]},"text/ulpfec":{source:"iana"},"text/uri-list":{source:"iana",compressible:true,extensions:["uri","uris","urls"]},"text/vcard":{source:"iana",compressible:true,extensions:["vcard"]},"text/vnd.a":{source:"iana"},"text/vnd.abc":{source:"iana"},"text/vnd.ascii-art":{source:"iana"},"text/vnd.curl":{source:"iana",extensions:["curl"]},"text/vnd.curl.dcurl":{source:"apache",extensions:["dcurl"]},"text/vnd.curl.mcurl":{source:"apache",extensions:["mcurl"]},"text/vnd.curl.scurl":{source:"apache",extensions:["scurl"]},"text/vnd.debian.copyright":{source:"iana",charset:"UTF-8"},"text/vnd.dmclientscript":{source:"iana"},"text/vnd.dvb.subtitle":{source:"iana",extensions:["sub"]},"text/vnd.esmertec.theme-descriptor":{source:"iana",charset:"UTF-8"},"text/vnd.ficlab.flt":{source:"iana"},"text/vnd.fly":{source:"iana",extensions:["fly"]},"text/vnd.fmi.flexstor":{source:"iana",extensions:["flx"]},"text/vnd.gml":{source:"iana"},"text/vnd.graphviz":{source:"iana",extensions:["gv"]},"text/vnd.hgl":{source:"iana"},"text/vnd.in3d.3dml":{source:"iana",extensions:["3dml"]},"text/vnd.in3d.spot":{source:"iana",extensions:["spot"]},"text/vnd.iptc.newsml":{source:"iana"},"text/vnd.iptc.nitf":{source:"iana"},"text/vnd.latex-z":{source:"iana"},"text/vnd.motorola.reflex":{source:"iana"},"text/vnd.ms-mediapackage":{source:"iana"},"text/vnd.net2phone.commcenter.command":{source:"iana"},"text/vnd.radisys.msml-basic-layout":{source:"iana"},"text/vnd.senx.warpscript":{source:"iana"},"text/vnd.si.uricatalogue":{source:"iana"},"text/vnd.sosi":{source:"iana"},"text/vnd.sun.j2me.app-descriptor":{source:"iana",charset:"UTF-8",extensions:["jad"]},"text/vnd.trolltech.linguist":{source:"iana",charset:"UTF-8"},"text/vnd.wap.si":{source:"iana"},"text/vnd.wap.sl":{source:"iana"},"text/vnd.wap.wml":{source:"iana",extensions:["wml"]},"text/vnd.wap.wmlscript":{source:"iana",extensions:["wmls"]},"text/vtt":{source:"iana",charset:"UTF-8",compressible:true,extensions:["vtt"]},"text/x-asm":{source:"apache",extensions:["s","asm"]},"text/x-c":{source:"apache",extensions:["c","cc","cxx","cpp","h","hh","dic"]},"text/x-component":{source:"nginx",extensions:["htc"]},"text/x-fortran":{source:"apache",extensions:["f","for","f77","f90"]},"text/x-gwt-rpc":{compressible:true},"text/x-handlebars-template":{extensions:["hbs"]},"text/x-java-source":{source:"apache",extensions:["java"]},"text/x-jquery-tmpl":{compressible:true},"text/x-lua":{extensions:["lua"]},"text/x-markdown":{compressible:true,extensions:["mkd"]},"text/x-nfo":{source:"apache",extensions:["nfo"]},"text/x-opml":{source:"apache",extensions:["opml"]},"text/x-org":{compressible:true,extensions:["org"]},"text/x-pascal":{source:"apache",extensions:["p","pas"]},"text/x-processing":{compressible:true,extensions:["pde"]},"text/x-sass":{extensions:["sass"]},"text/x-scss":{extensions:["scss"]},"text/x-setext":{source:"apache",extensions:["etx"]},"text/x-sfv":{source:"apache",extensions:["sfv"]},"text/x-suse-ymp":{compressible:true,extensions:["ymp"]},"text/x-uuencode":{source:"apache",extensions:["uu"]},"text/x-vcalendar":{source:"apache",extensions:["vcs"]},"text/x-vcard":{source:"apache",extensions:["vcf"]},"text/xml":{source:"iana",compressible:true,extensions:["xml"]},"text/xml-external-parsed-entity":{source:"iana"},"text/yaml":{extensions:["yaml","yml"]},"video/1d-interleaved-parityfec":{source:"iana"},"video/3gpp":{source:"iana",extensions:["3gp","3gpp"]},"video/3gpp-tt":{source:"iana"},"video/3gpp2":{source:"iana",extensions:["3g2"]},"video/bmpeg":{source:"iana"},"video/bt656":{source:"iana"},"video/celb":{source:"iana"},"video/dv":{source:"iana"},"video/encaprtp":{source:"iana"},"video/flexfec":{source:"iana"},"video/h261":{source:"iana",extensions:["h261"]},"video/h263":{source:"iana",extensions:["h263"]},"video/h263-1998":{source:"iana"},"video/h263-2000":{source:"iana"},"video/h264":{source:"iana",extensions:["h264"]},"video/h264-rcdo":{source:"iana"},"video/h264-svc":{source:"iana"},"video/h265":{source:"iana"},"video/iso.segment":{source:"iana"},"video/jpeg":{source:"iana",extensions:["jpgv"]},"video/jpeg2000":{source:"iana"},"video/jpm":{source:"apache",extensions:["jpm","jpgm"]},"video/mj2":{source:"iana",extensions:["mj2","mjp2"]},"video/mp1s":{source:"iana"},"video/mp2p":{source:"iana"},"video/mp2t":{source:"iana",extensions:["ts"]},"video/mp4":{source:"iana",compressible:false,extensions:["mp4","mp4v","mpg4"]},"video/mp4v-es":{source:"iana"},"video/mpeg":{source:"iana",compressible:false,extensions:["mpeg","mpg","mpe","m1v","m2v"]},"video/mpeg4-generic":{source:"iana"},"video/mpv":{source:"iana"},"video/nv":{source:"iana"},"video/ogg":{source:"iana",compressible:false,extensions:["ogv"]},"video/parityfec":{source:"iana"},"video/pointer":{source:"iana"},"video/quicktime":{source:"iana",compressible:false,extensions:["qt","mov"]},"video/raptorfec":{source:"iana"},"video/raw":{source:"iana"},"video/rtp-enc-aescm128":{source:"iana"},"video/rtploopback":{source:"iana"},"video/rtx":{source:"iana"},"video/smpte291":{source:"iana"},"video/smpte292m":{source:"iana"},"video/ulpfec":{source:"iana"},"video/vc1":{source:"iana"},"video/vc2":{source:"iana"},"video/vnd.cctv":{source:"iana"},"video/vnd.dece.hd":{source:"iana",extensions:["uvh","uvvh"]},"video/vnd.dece.mobile":{source:"iana",extensions:["uvm","uvvm"]},"video/vnd.dece.mp4":{source:"iana"},"video/vnd.dece.pd":{source:"iana",extensions:["uvp","uvvp"]},"video/vnd.dece.sd":{source:"iana",extensions:["uvs","uvvs"]},"video/vnd.dece.video":{source:"iana",extensions:["uvv","uvvv"]},"video/vnd.directv.mpeg":{source:"iana"},"video/vnd.directv.mpeg-tts":{source:"iana"},"video/vnd.dlna.mpeg-tts":{source:"iana"},"video/vnd.dvb.file":{source:"iana",extensions:["dvb"]},"video/vnd.fvt":{source:"iana",extensions:["fvt"]},"video/vnd.hns.video":{source:"iana"},"video/vnd.iptvforum.1dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.1dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.2dparityfec-1010":{source:"iana"},"video/vnd.iptvforum.2dparityfec-2005":{source:"iana"},"video/vnd.iptvforum.ttsavc":{source:"iana"},"video/vnd.iptvforum.ttsmpeg2":{source:"iana"},"video/vnd.motorola.video":{source:"iana"},"video/vnd.motorola.videop":{source:"iana"},"video/vnd.mpegurl":{source:"iana",extensions:["mxu","m4u"]},"video/vnd.ms-playready.media.pyv":{source:"iana",extensions:["pyv"]},"video/vnd.nokia.interleaved-multimedia":{source:"iana"},"video/vnd.nokia.mp4vr":{source:"iana"},"video/vnd.nokia.videovoip":{source:"iana"},"video/vnd.objectvideo":{source:"iana"},"video/vnd.radgamettools.bink":{source:"iana"},"video/vnd.radgamettools.smacker":{source:"iana"},"video/vnd.sealed.mpeg1":{source:"iana"},"video/vnd.sealed.mpeg4":{source:"iana"},"video/vnd.sealed.swf":{source:"iana"},"video/vnd.sealedmedia.softseal.mov":{source:"iana"},"video/vnd.uvvu.mp4":{source:"iana",extensions:["uvu","uvvu"]},"video/vnd.vivo":{source:"iana",extensions:["viv"]},"video/vnd.youtube.yt":{source:"iana"},"video/vp8":{source:"iana"},"video/webm":{source:"apache",compressible:false,extensions:["webm"]},"video/x-f4v":{source:"apache",extensions:["f4v"]},"video/x-fli":{source:"apache",extensions:["fli"]},"video/x-flv":{source:"apache",compressible:false,extensions:["flv"]},"video/x-m4v":{source:"apache",extensions:["m4v"]},"video/x-matroska":{source:"apache",compressible:false,extensions:["mkv","mk3d","mks"]},"video/x-mng":{source:"apache",extensions:["mng"]},"video/x-ms-asf":{source:"apache",extensions:["asf","asx"]},"video/x-ms-vob":{source:"apache",extensions:["vob"]},"video/x-ms-wm":{source:"apache",extensions:["wm"]},"video/x-ms-wmv":{source:"apache",compressible:false,extensions:["wmv"]},"video/x-ms-wmx":{source:"apache",extensions:["wmx"]},"video/x-ms-wvx":{source:"apache",extensions:["wvx"]},"video/x-msvideo":{source:"apache",extensions:["avi"]},"video/x-sgi-movie":{source:"apache",extensions:["movie"]},"video/x-smv":{source:"apache",extensions:["smv"]},"x-conference/x-cooltalk":{source:"apache",extensions:["ice"]},"x-shader/x-fragment":{compressible:true},"x-shader/x-vertex":{compressible:true}}},929:function(e){e.exports=isTypedArray;isTypedArray.strict=isStrictTypedArray;isTypedArray.loose=isLooseTypedArray;var a=Object.prototype.toString;var n={"[object Int8Array]":true,"[object Int16Array]":true,"[object Int32Array]":true,"[object Uint8Array]":true,"[object Uint8ClampedArray]":true,"[object Uint16Array]":true,"[object Uint32Array]":true,"[object Float32Array]":true,"[object Float64Array]":true};function isTypedArray(e){return isStrictTypedArray(e)||isLooseTypedArray(e)}function isStrictTypedArray(e){return e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}function isLooseTypedArray(e){return n[a.call(e)]}},930:function(e,a){"use strict";function Store(){}a.Store=Store;Store.prototype.synchronous=false;Store.prototype.findCookie=function(e,a,n,i){throw new Error("findCookie is not implemented")};Store.prototype.findCookies=function(e,a,n){throw new Error("findCookies is not implemented")};Store.prototype.putCookie=function(e,a){throw new Error("putCookie is not implemented")};Store.prototype.updateCookie=function(e,a,n){throw new Error("updateCookie is not implemented")};Store.prototype.removeCookie=function(e,a,n,i){throw new Error("removeCookie is not implemented")};Store.prototype.removeCookies=function(e,a,n){throw new Error("removeCookies is not implemented")};Store.prototype.removeAllCookies=function(e){throw new Error("removeAllCookies is not implemented")};Store.prototype.getAllCookies=function(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},934:function(e){e.exports={$id:"creator.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","version"],properties:{name:{type:"string"},version:{type:"string"},comment:{type:"string"}}}},937:function(e,a,n){"use strict";var i=n(962);var r=n(885);var s=n(115);var o=s.paramsHaveRequestBody;function initParams(e,a,n){if(typeof a==="function"){n=a}var r={};if(a!==null&&typeof a==="object"){i(r,a,{uri:e})}else if(typeof e==="string"){i(r,{uri:e})}else{i(r,e)}r.callback=n||r.callback;return r}function request(e,a,n){if(typeof e==="undefined"){throw new Error("undefined is not a valid uri or options object.")}var i=initParams(e,a,n);if(i.method==="HEAD"&&o(i)){throw new Error("HTTP HEAD requests MUST NOT include a request body.")}return new request.Request(i)}function verbFunc(e){var a=e.toUpperCase();return function(e,n,i){var r=initParams(e,n,i);r.method=a;return request(r,r.callback)}}request.get=verbFunc("get");request.head=verbFunc("head");request.options=verbFunc("options");request.post=verbFunc("post");request.put=verbFunc("put");request.patch=verbFunc("patch");request.del=verbFunc("delete");request["delete"]=verbFunc("delete");request.jar=function(e){return r.jar(e)};request.cookie=function(e){return r.parse(e)};function wrapRequestMethod(e,a,n,r){return function(s,o,t){var c=initParams(s,o,t);var p={};i(true,p,a,c);p.pool=c.pool||a.pool;if(r){p.method=r.toUpperCase()}if(typeof n==="function"){e=n}return e(p,p.callback)}}request.defaults=function(e,a){var n=this;e=e||{};if(typeof e==="function"){a=e;e={}}var i=wrapRequestMethod(n,e,a);var r=["get","head","post","put","patch","del","delete"];r.forEach(function(r){i[r]=wrapRequestMethod(n[r],e,a,r)});i.cookie=wrapRequestMethod(n.cookie,e,a);i.jar=n.jar;i.defaults=n.defaults;return i};request.forever=function(e,a){var n={};if(a){i(n,a)}if(e){n.agentOptions=e}n.forever=true;return request.defaults(n)};e.exports=request;request.Request=n(582);request.initParams=initParams;Object.defineProperty(request,"debug",{enumerable:true,get:function(){return request.Request.debug},set:function(e){request.Request.debug=e}})},939:function(e){e.exports={$id:"browser.json#",$schema:"http://json-schema.org/draft-06/schema#",type:"object",required:["name","version"],properties:{name:{type:"string"},version:{type:"string"},comment:{type:"string"}}}},941:function(e,a,n){e.exports={read:read,verify:verify,sign:sign,signAsync:signAsync,write:write,fromBuffer:fromBuffer,toBuffer:toBuffer};var i=n(521);var r=n(672);var s=n(417);var o=n(108).Buffer;var t=n(556);var c=n(866);var p=n(381);var l=n(274);var u=n(732);var f=n(186);var m=n(372);var d=n(730);function verify(e,a){return false}var h={user:1,host:2};Object.keys(h).forEach(function(e){h[h[e]]=e});var v=/^ecdsa-sha2-([^@-]+)-cert-v01@openssh.com$/;function read(e,a){if(o.isBuffer(e))e=e.toString("ascii");var n=e.trim().split(/[ \t\n]+/g);if(n.length<2||n.length>3)throw new Error("Not a valid SSH certificate line");var i=n[0];var r=n[1];r=o.from(r,"base64");return fromBuffer(r,i)}function fromBuffer(e,a,n){var s=new r({buffer:e});var o=s.readString();if(a!==undefined&&o!==a)throw new Error("SSH certificate algorithm mismatch");if(a===undefined)a=o;var p={};p.signatures={};p.signatures.openssh={};p.signatures.openssh.nonce=s.readBuffer();var g={};var b=g.parts=[];g.type=getAlg(a);var y=t.info[g.type].parts.length;while(b.length=1,"key must have at least one part");var k=t.info[g.type];if(g.type==="ecdsa"){var x=v.exec(a);i.ok(x!==null);i.strictEqual(x[1],b[0].data.toString())}for(var w=0;w%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i;var u=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-?)*(?:[0-9KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[KSa-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i;var f=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i;var m=/^(?:\/(?:[^~/]|~0|~1)*)*$/;var d=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i;var h=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;e.exports=formats;function formats(e){e=e=="full"?"full":"fast";return i.copy(formats[e])}formats.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":l,url:u,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:t,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:f,"json-pointer":m,"json-pointer-uri-fragment":d,"relative-json-pointer":h};formats.full={date:date,time:time,"date-time":date_time,uri:uri,"uri-reference":p,"uri-template":l,url:u,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:t,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:regex,uuid:f,"json-pointer":m,"json-pointer-uri-fragment":d,"relative-json-pointer":h};function isLeapYear(e){return e%4===0&&(e%100!==0||e%400===0)}function date(e){var a=e.match(r);if(!a)return false;var n=+a[1];var i=+a[2];var o=+a[3];return i>=1&&i<=12&&o>=1&&o<=(i==2&&isLeapYear(n)?29:s[i])}function time(e,a){var n=e.match(o);if(!n)return false;var i=n[1];var r=n[2];var s=n[3];var t=n[5];return(i<=23&&r<=59&&s<=59||i==23&&r==59&&s==60)&&(!a||t)}var v=/t|\s/i;function date_time(e){var a=e.split(v);return a.length==2&&date(a[0])&&time(a[1],true)}var g=/\/|:/;function uri(e){return g.test(e)&&c.test(e)}var b=/[^\\]\\Z/;function regex(e){if(b.test(e))return false;try{new RegExp(e);return true}catch(e){return false}}},961:function(e,a,n){"use strict";var i=n(631),r=n(16),s=n(605),o=n(211),t=n(614),c=n(357),p=n(669),l=n(82).Buffer;a.httpOverHttp=httpOverHttp;a.httpsOverHttp=httpsOverHttp;a.httpOverHttps=httpOverHttps;a.httpsOverHttps=httpsOverHttps;function httpOverHttp(e){var a=new TunnelingAgent(e);a.request=s.request;return a}function httpsOverHttp(e){var a=new TunnelingAgent(e);a.request=s.request;a.createSocket=createSecureSocket;a.defaultPort=443;return a}function httpOverHttps(e){var a=new TunnelingAgent(e);a.request=o.request;return a}function httpsOverHttps(e){var a=new TunnelingAgent(e);a.request=o.request;a.createSocket=createSecureSocket;a.defaultPort=443;return a}function TunnelingAgent(e){var a=this;a.options=e||{};a.proxyOptions=a.options.proxy||{};a.maxSockets=a.options.maxSockets||s.Agent.defaultMaxSockets;a.requests=[];a.sockets=[];a.on("free",function onFree(e,n,i){for(var r=0,s=a.requests.length;r=this.maxSockets){n.requests.push({host:a.host,port:a.port,request:e});return}n.createConnection({host:a.host,port:a.port,request:e})};TunnelingAgent.prototype.createConnection=function createConnection(e){var a=this;a.createSocket(e,function(n){n.on("free",onFree);n.on("close",onCloseOrRemove);n.on("agentRemove",onCloseOrRemove);e.request.onSocket(n);function onFree(){a.emit("free",n,e.host,e.port)}function onCloseOrRemove(e){a.removeSocket(n);n.removeListener("free",onFree);n.removeListener("close",onCloseOrRemove);n.removeListener("agentRemove",onCloseOrRemove)}})};TunnelingAgent.prototype.createSocket=function createSocket(e,a){var n=this;var i={};n.sockets.push(i);var r=mergeOptions({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:false});if(r.proxyAuth){r.headers=r.headers||{};r.headers["Proxy-Authorization"]="Basic "+l.from(r.proxyAuth).toString("base64")}u("making CONNECT request");var s=n.request(r);s.useChunkedEncodingByDefault=false;s.once("response",onResponse);s.once("upgrade",onUpgrade);s.once("connect",onConnect);s.once("error",onError);s.end();function onResponse(e){e.upgrade=true}function onUpgrade(e,a,n){process.nextTick(function(){onConnect(e,a,n)})}function onConnect(r,o,t){s.removeAllListeners();o.removeAllListeners();if(r.statusCode===200){c.equal(t.length,0);u("tunneling connection has established");n.sockets[n.sockets.indexOf(i)]=o;a(o)}else{u("tunneling socket could not be established, statusCode=%d",r.statusCode);var p=new Error("tunneling socket could not be established, "+"statusCode="+r.statusCode);p.code="ECONNRESET";e.request.emit("error",p);n.removeSocket(i)}}function onError(a){s.removeAllListeners();u("tunneling socket could not be established, cause=%s\n",a.message,a.stack);var r=new Error("tunneling socket could not be established, "+"cause="+a.message);r.code="ECONNRESET";e.request.emit("error",r);n.removeSocket(i)}};TunnelingAgent.prototype.removeSocket=function removeSocket(e){var a=this.sockets.indexOf(e);if(a===-1)return;this.sockets.splice(a,1);var n=this.requests.shift();if(n){this.createConnection(n)}};function createSecureSocket(e,a){var n=this;TunnelingAgent.prototype.createSocket.call(n,e,function(i){var s=r.connect(0,mergeOptions({},n.options,{servername:e.host,socket:i}));n.sockets[n.sockets.indexOf(i)]=s;a(s)})}function mergeOptions(e){for(var a=1,n=arguments.length;aO.length)H=O.length;D+=I.write(O.slice(U,H),D);I[D++]=10;U=H}D+=I.write("-----END "+T+"-----\n",D);return I.slice(0,D)}},996:function(e,a,n){var i=n(691),r=n(725);e.exports=iterate;function iterate(e,a,n,i){var s=n["keyedList"]?n["keyedList"][n.index]:n.index;n.jobs[s]=runJob(a,s,e[s],function(e,a){if(!(s in n.jobs)){return}delete n.jobs[s];if(e){r(n)}else{n.results[s]=a}i(e,n.results)})}function runJob(e,a,n,r){var s;if(e.length==2){s=e(n,i(r))}else{s=e(n,a,i(r))}return s}},998:function(e,a,n){"use strict";var i=n(930).Store;var r=n(88).permuteDomain;var s=n(873).pathMatch;var o=n(669);function MemoryCookieStore(){i.call(this);this.idx={}}o.inherits(MemoryCookieStore,i);a.MemoryCookieStore=MemoryCookieStore;MemoryCookieStore.prototype.idx=null;MemoryCookieStore.prototype.synchronous=true;MemoryCookieStore.prototype.inspect=function(){return"{ idx: "+o.inspect(this.idx,false,2)+" }"};if(o.inspect.custom){MemoryCookieStore.prototype[o.inspect.custom]=MemoryCookieStore.prototype.inspect}MemoryCookieStore.prototype.findCookie=function(e,a,n,i){if(!this.idx[e]){return i(null,undefined)}if(!this.idx[e][a]){return i(null,undefined)}return i(null,this.idx[e][a][n]||null)};MemoryCookieStore.prototype.findCookies=function(e,a,n){var i=[];if(!e){return n(null,[])}var o;if(!a){o=function matchAll(e){for(var a in e){var n=e[a];for(var r in n){i.push(n[r])}}}}else{o=function matchRFC(e){Object.keys(e).forEach(function(n){if(s(a,n)){var r=e[n];for(var o in r){i.push(r[o])}}})}}var t=r(e)||[e];var c=this.idx;t.forEach(function(e){var a=c[e];if(!a){return}o(a)});n(null,i)};MemoryCookieStore.prototype.putCookie=function(e,a){if(!this.idx[e.domain]){this.idx[e.domain]={}}if(!this.idx[e.domain][e.path]){this.idx[e.domain][e.path]={}}this.idx[e.domain][e.path][e.key]=e;a(null)};MemoryCookieStore.prototype.updateCookie=function(e,a,n){this.putCookie(a,n)};MemoryCookieStore.prototype.removeCookie=function(e,a,n,i){if(this.idx[e]&&this.idx[e][a]&&this.idx[e][a][n]){delete this.idx[e][a][n]}i(null)};MemoryCookieStore.prototype.removeCookies=function(e,a,n){if(this.idx[e]){if(a){delete this.idx[e][a]}else{delete this.idx[e]}}return n(null)};MemoryCookieStore.prototype.removeAllCookies=function(e){this.idx={};return e(null)};MemoryCookieStore.prototype.getAllCookies=function(e){var a=[];var n=this.idx;var i=Object.keys(n);i.forEach(function(e){var i=Object.keys(n[e]);i.forEach(function(i){var r=Object.keys(n[e][i]);r.forEach(function(r){if(r!==null){a.push(n[e][i][r])}})})});a.sort(function(e,a){return(e.creationIndex||0)-(a.creationIndex||0)});e(null,a)}}}); \ No newline at end of file diff --git a/index.ts b/index.ts new file mode 100644 index 0000000..61833f6 --- /dev/null +++ b/index.ts @@ -0,0 +1,126 @@ +import * as core from '@actions/core'; +import { promises as fs } from 'fs'; +import { unlinkSync, existsSync, createWriteStream } from 'fs'; +import path from 'path'; +import util from 'util'; +import { exec } from 'child_process'; +import { env } from 'process'; +const request = require('request'); + +const asyncExec = util.promisify(exec); +const certificateFileName = env['TEMP'] + '\\cert.pem'; +const signtool = env['TEMP'] + '\\signtool.exe'; +const credentialsFileName = env['TEMP'] + '\\creds.json'; +const timestampUrl = 'http://timestamp.digicert.com'; +const toSignFileName = env['TEMP'] + '\\tosign.txt'; + +const signtoolFileExtensions = [ + '.dll', '.exe', '.sys', '.vxd', + '.msix', '.msixbundle', '.appx', + '.appxbundle', '.msi', '.msp', + '.msm', '.cab', '.ps1', '.psm1' +]; + +function sleep(seconds: number) { + if (seconds > 0) + console.log(`Waiting for ${seconds} seconds.`); + return new Promise(resolve => setTimeout(resolve, seconds * 1000)); +} + +async function createCertificate() { + const base64Certificate = core.getInput('certificate'); + const certificate = Buffer.from(base64Certificate, 'base64'); + if (certificate.length == 0) { + console.log('The value for "certificate" is not set.'); + return false; + } + console.log(`Writing ${certificate.length} bytes to ${certificateFileName}.`); + await fs.writeFile(certificateFileName, certificate); + return true; +} + +async function createCredentials() { + const base64Certificate = core.getInput('credentials'); + const credentials = Buffer.from(base64Certificate, 'base64'); + if (credentials.length == 0) { + console.log('The value for "credentials" is not set.'); + return false; + } + console.log(`Writing ${credentials.length} bytes to ${credentialsFileName}.`); + await fs.writeFile(credentialsFileName, credentials); + return true; +} + +function downloadCloudSignTool() { + if (existsSync(signtool)) { + return; + } + + console.log(`Downloading signtool.exe.`); + + request('https://github.com/nextgens/CloudSignTool/releases/download/1.0.0/SignTool.exe').pipe(createWriteStream(signtool)); +} + +async function signWithCloudSigntool() { + try { + const { stdout } = await asyncExec(`"${signtool}" sign -kac "${credentialsFileName}" -ac "${certificateFileName}" -tr "${timestampUrl}" -k "${core.getInput('key-uri')}" -ph -ifl "${toSignFileName}"`); + console.log(stdout); + return true; + } catch(err) { + console.log(err.stdout); + console.log(err.stderr); + return false; + } +} + +async function* getFiles(folder: string, recursive: boolean): any { + const files = await fs.readdir(folder); + for (const file of files) { + const fullPath = `${folder}/${file}`; + const stat = await fs.stat(fullPath); + if (stat.isFile()) { + const extension = path.extname(file); + if (signtoolFileExtensions.includes(extension)) + yield fullPath; + } + else if (stat.isDirectory() && recursive) { + yield* getFiles(fullPath, recursive); + } + } +} + +async function signFiles() { + const folder = core.getInput('folder', { required: true }); + const recursive = core.getInput('recursive') == 'true'; + + console.log(`Getting ready to sign the following files:`); + let buffer: string[] = []; + for await (const file of getFiles(folder, recursive)) { + console.log(` ${file}`); + buffer.push(file); + } + if(buffer.length > 0) { + await fs.writeFile(toSignFileName, buffer.join("\r\n")); + console.log(`Getting ready to talk to the cloud.`); + for (let i=0;i<10;i++) { + await sleep(i); + if(await signWithCloudSigntool()) { return; } + } + throw `Failed to sign`; + } +} + +async function run() { + try { + await createCredentials(); + downloadCloudSignTool(); + if (await createCertificate()) + await signFiles(); + } + catch (err) { + core.setFailed(`Action failed with error: ${err}`); + } + unlinkSync(credentialsFileName); +} + +run(); diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..be85b50 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,362 @@ +{ + "name": "authenticode-sign-action", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@actions/core": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@actions/core/-/core-1.2.4.tgz", + "integrity": "sha512-YJCEq8BE3CdN8+7HPZ/4DxJjk/OkZV2FFIf+DlZTC/4iBlzYCD5yjRR6eiOS5llO11zbRltIRuKAjMKaWTE6cg==" + }, + "@types/node": { + "version": "12.12.53", + "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.53.tgz", + "integrity": "sha512-51MYTDTyCziHb70wtGNFRwB4l+5JNvdqzFSkbDvpbftEgVUBEE+T5f7pROhWMp/fxp07oNIEQZd5bbfAH22ohQ==", + "dev": true + }, + "@zeit/ncc": { + "version": "0.20.5", + "resolved": "https://registry.npmjs.org/@zeit/ncc/-/ncc-0.20.5.tgz", + "integrity": "sha512-XU6uzwvv95DqxciQx+aOLhbyBx/13ky+RK1y88Age9Du3BlA4mMPCy13BGjayOrrumOzlq1XV3SD/BWiZENXlw==", + "dev": true + }, + "ajv": { + "version": "6.12.3", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.3.tgz", + "integrity": "sha512-4K0cK3L1hsqk9xIb2z9vs/XU+PGJZ9PNpJRDS9YLzmNdX6jmVPfamLvTJr0aDAusnHyCHO6MjzlkAsgtqp9teA==", + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, + "asn1": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", + "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", + "requires": { + "safer-buffer": "~2.1.0" + } + }, + "assert-plus": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", + "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=" + }, + "asynckit": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", + "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" + }, + "aws-sign2": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", + "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=" + }, + "aws4": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.10.0.tgz", + "integrity": "sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA==" + }, + "bcrypt-pbkdf": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", + "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", + "requires": { + "tweetnacl": "^0.14.3" + } + }, + "caseless": { + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", + "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" + }, + "combined-stream": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", + "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", + "requires": { + "delayed-stream": "~1.0.0" + } + }, + "core-util-is": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", + "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" + }, + "dashdash": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", + "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "delayed-stream": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", + "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" + }, + "ecc-jsbn": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", + "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", + "requires": { + "jsbn": "~0.1.0", + "safer-buffer": "^2.1.0" + } + }, + "extend": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", + "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" + }, + "extsprintf": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", + "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=" + }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" + }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" + }, + "forever-agent": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" + }, + "form-data": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", + "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.6", + "mime-types": "^2.1.12" + } + }, + "getpass": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", + "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", + "requires": { + "assert-plus": "^1.0.0" + } + }, + "har-schema": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", + "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=" + }, + "har-validator": { + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", + "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", + "requires": { + "ajv": "^6.12.3", + "har-schema": "^2.0.0" + } + }, + "http-signature": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", + "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", + "requires": { + "assert-plus": "^1.0.0", + "jsprim": "^1.2.2", + "sshpk": "^1.7.0" + } + }, + "is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" + }, + "isstream": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", + "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" + }, + "jsbn": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", + "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" + }, + "json-schema": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", + "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" + }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", + "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" + }, + "json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" + }, + "jsprim": { + "version": "1.4.1", + "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", + "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", + "requires": { + "assert-plus": "1.0.0", + "extsprintf": "1.3.0", + "json-schema": "0.2.3", + "verror": "1.10.0" + } + }, + "mime-db": { + "version": "1.44.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz", + "integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" + }, + "mime-types": { + "version": "2.1.27", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz", + "integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==", + "requires": { + "mime-db": "1.44.0" + } + }, + "oauth-sign": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", + "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==" + }, + "performance-now": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", + "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" + }, + "psl": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", + "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" + }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", + "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" + }, + "qs": { + "version": "6.5.2", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", + "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==" + }, + "request": { + "version": "2.88.2", + "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", + "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", + "requires": { + "aws-sign2": "~0.7.0", + "aws4": "^1.8.0", + "caseless": "~0.12.0", + "combined-stream": "~1.0.6", + "extend": "~3.0.2", + "forever-agent": "~0.6.1", + "form-data": "~2.3.2", + "har-validator": "~5.1.3", + "http-signature": "~1.2.0", + "is-typedarray": "~1.0.0", + "isstream": "~0.1.2", + "json-stringify-safe": "~5.0.1", + "mime-types": "~2.1.19", + "oauth-sign": "~0.9.0", + "performance-now": "^2.1.0", + "qs": "~6.5.2", + "safe-buffer": "^5.1.2", + "tough-cookie": "~2.5.0", + "tunnel-agent": "^0.6.0", + "uuid": "^3.3.2" + } + }, + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + }, + "safer-buffer": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", + "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" + }, + "sshpk": { + "version": "1.16.1", + "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", + "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", + "requires": { + "asn1": "~0.2.3", + "assert-plus": "^1.0.0", + "bcrypt-pbkdf": "^1.0.0", + "dashdash": "^1.12.0", + "ecc-jsbn": "~0.1.1", + "getpass": "^0.1.1", + "jsbn": "~0.1.0", + "safer-buffer": "^2.0.2", + "tweetnacl": "~0.14.0" + } + }, + "tough-cookie": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", + "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", + "requires": { + "psl": "^1.1.28", + "punycode": "^2.1.1" + } + }, + "tunnel-agent": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", + "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", + "requires": { + "safe-buffer": "^5.0.1" + } + }, + "tweetnacl": { + "version": "0.14.5", + "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", + "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" + }, + "typescript": { + "version": "3.9.7", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.9.7.tgz", + "integrity": "sha512-BLbiRkiBzAwsjut4x/dsibSTB6yWpwT5qWmC2OfuCg3GgVQCSgMs4vEctYPhsaGtd0AeuuHMkjZ2h2WG8MSzRw==", + "dev": true + }, + "uri-js": { + "version": "4.2.2", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", + "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "requires": { + "punycode": "^2.1.0" + } + }, + "uuid": { + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + }, + "verror": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", + "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", + "requires": { + "assert-plus": "^1.0.0", + "core-util-is": "1.0.2", + "extsprintf": "^1.2.0" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..8eeb590 --- /dev/null +++ b/package.json @@ -0,0 +1,29 @@ +{ + "name": "authenticode-sign-action", + "version": "1.0.0", + "description": "Sign files with a key hosted on google KMS.", + "main": "index.js", + "scripts": { + "build": "tsc && ncc build lib/index.js -m" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/nextgens/authenticode-sign-action.git" + }, + "keywords": [], + "author": "", + "license": "ISC", + "bugs": { + "url": "https://github.com/nextgens/authenticode-sign-action/issues" + }, + "homepage": "https://github.com/nextgens/authenticode-sign-action#readme", + "dependencies": { + "@actions/core": "^1.2.0", + "request": "^2.88.2" + }, + "devDependencies": { + "@types/node": "^12.11.1", + "@zeit/ncc": "^0.20.5", + "typescript": "^3.6.4" + } +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..1d4efa6 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,12 @@ +{ + "compilerOptions": { + "target": "es2017", + "module": "commonjs", + "outDir": "lib", + "declaration": true, + "removeComments": true, + "strict": true, + "esModuleInterop": true, + "stripInternal": true + } +}